draftify-react 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,241 +1,20 @@
1
- (function(Ot,Pd){typeof exports=="object"&&typeof module<"u"?module.exports=Pd(require("react"),require("react-dom"),require("draftify")):typeof define=="function"&&define.amd?define(["react","react-dom","draftify"],Pd):(Ot=typeof globalThis<"u"?globalThis:Ot||self,Ot.DraftifyReact=Pd(Ot.React,Ot.ReactDOM,Ot.Draftify))})(this,(function(Ot,Pd,$e){"use strict";function u8(i){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const d in i)if(d!=="default"){const f=Object.getOwnPropertyDescriptor(i,d);Object.defineProperty(s,d,f.get?f:{enumerable:!0,get:()=>i[d]})}}return s.default=i,Object.freeze(s)}const c1=u8(Ot);var f1={exports:{}},qp={};var Z4;function s8(){if(Z4)return qp;Z4=1;var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function d(f,m,p){var g=null;if(p!==void 0&&(g=""+p),m.key!==void 0&&(g=""+m.key),"key"in m){p={};for(var b in m)b!=="key"&&(p[b]=m[b])}else p=m;return m=p.ref,{$$typeof:i,type:f,key:g,ref:m!==void 0?m:null,props:p}}return qp.Fragment=s,qp.jsx=d,qp.jsxs=d,qp}var Gp={};var k4;function r8(){return k4||(k4=1,process.env.NODE_ENV!=="production"&&(function(){function i(ut){if(ut==null)return null;if(typeof ut=="function")return ut.$$typeof===at?null:ut.displayName||ut.name||null;if(typeof ut=="string")return ut;switch(ut){case L:return"Fragment";case it:return"Profiler";case B:return"StrictMode";case Y:return"Suspense";case rt:return"SuspenseList";case q:return"Activity"}if(typeof ut=="object")switch(typeof ut.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),ut.$$typeof){case V:return"Portal";case P:return ut.displayName||"Context";case k:return(ut._context.displayName||"Context")+".Consumer";case tt:var pt=ut.render;return ut=ut.displayName,ut||(ut=pt.displayName||pt.name||"",ut=ut!==""?"ForwardRef("+ut+")":"ForwardRef"),ut;case j:return pt=ut.displayName||null,pt!==null?pt:i(ut.type)||"Memo";case H:pt=ut._payload,ut=ut._init;try{return i(ut(pt))}catch{}}return null}function s(ut){return""+ut}function d(ut){try{s(ut);var pt=!1}catch{pt=!0}if(pt){pt=console;var Et=pt.error,ht=typeof Symbol=="function"&&Symbol.toStringTag&&ut[Symbol.toStringTag]||ut.constructor.name||"Object";return Et.call(pt,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ht),s(ut)}}function f(ut){if(ut===L)return"<>";if(typeof ut=="object"&&ut!==null&&ut.$$typeof===H)return"<...>";try{var pt=i(ut);return pt?"<"+pt+">":"<...>"}catch{return"<...>"}}function m(){var ut=K.A;return ut===null?null:ut.getOwner()}function p(){return Error("react-stack-top-frame")}function g(ut){if(lt.call(ut,"key")){var pt=Object.getOwnPropertyDescriptor(ut,"key").get;if(pt&&pt.isReactWarning)return!1}return ut.key!==void 0}function b(ut,pt){function Et(){R||(R=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",pt))}Et.isReactWarning=!0,Object.defineProperty(ut,"key",{get:Et,configurable:!0})}function x(){var ut=i(this.type);return w[ut]||(w[ut]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),ut=this.props.ref,ut!==void 0?ut:null}function M(ut,pt,Et,ht,bt,zt){var Rt=Et.ref;return ut={$$typeof:_,type:ut,key:pt,props:Et,_owner:ht},(Rt!==void 0?Rt:null)!==null?Object.defineProperty(ut,"ref",{enumerable:!1,get:x}):Object.defineProperty(ut,"ref",{enumerable:!1,value:null}),ut._store={},Object.defineProperty(ut._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(ut,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(ut,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:bt}),Object.defineProperty(ut,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:zt}),Object.freeze&&(Object.freeze(ut.props),Object.freeze(ut)),ut}function A(ut,pt,Et,ht,bt,zt){var Rt=pt.children;if(Rt!==void 0)if(ht)if(et(Rt)){for(ht=0;ht<Rt.length;ht++)E(Rt[ht]);Object.freeze&&Object.freeze(Rt)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else E(Rt);if(lt.call(pt,"key")){Rt=i(ut);var wt=Object.keys(pt).filter(function(ye){return ye!=="key"});ht=0<wt.length?"{key: someKey, "+wt.join(": ..., ")+": ...}":"{key: someKey}",dt[Rt+ht]||(wt=0<wt.length?"{"+wt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
1
+ (function(Ne,z){typeof exports=="object"&&typeof module<"u"?z(exports,require("react"),require("draftify")):typeof define=="function"&&define.amd?define(["exports","react","draftify"],z):(Ne=typeof globalThis<"u"?globalThis:Ne||self,z(Ne.DraftifyReact={},Ne.React,Ne.Draftify))})(this,(function(Ne,z,Z){"use strict";function pc(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const Sn=pc(z);var Tn={exports:{}},Kt={};var fa;function gc(){if(fa)return Kt;fa=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,a){var s=null;if(a!==void 0&&(s=""+a),i.key!==void 0&&(s=""+i.key),"key"in i){a={};for(var o in i)o!=="key"&&(a[o]=i[o])}else a=i;return i=a.ref,{$$typeof:e,type:r,key:s,ref:i!==void 0?i:null,props:a}}return Kt.Fragment=t,Kt.jsx=n,Kt.jsxs=n,Kt}var Xt={};var da;function yc(){return da||(da=1,process.env.NODE_ENV!=="production"&&(function(){function e(N){if(N==null)return null;if(typeof N=="function")return N.$$typeof===D?null:N.displayName||N.name||null;if(typeof N=="string")return N;switch(N){case A:return"Fragment";case I:return"Profiler";case v:return"StrictMode";case w:return"Suspense";case L:return"SuspenseList";case S:return"Activity"}if(typeof N=="object")switch(typeof N.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),N.$$typeof){case b:return"Portal";case C:return N.displayName||"Context";case T:return(N._context.displayName||"Context")+".Consumer";case P:var _=N.render;return N=N.displayName,N||(N=_.displayName||_.name||"",N=N!==""?"ForwardRef("+N+")":"ForwardRef"),N;case p:return _=N.displayName||null,_!==null?_:e(N.type)||"Memo";case y:_=N._payload,N=N._init;try{return e(N(_))}catch{}}return null}function t(N){return""+N}function n(N){try{t(N);var _=!1}catch{_=!0}if(_){_=console;var W=_.error,$=typeof Symbol=="function"&&Symbol.toStringTag&&N[Symbol.toStringTag]||N.constructor.name||"Object";return W.call(_,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",$),t(N)}}function r(N){if(N===A)return"<>";if(typeof N=="object"&&N!==null&&N.$$typeof===y)return"<...>";try{var _=e(N);return _?"<"+_+">":"<...>"}catch{return"<...>"}}function i(){var N=j.A;return N===null?null:N.getOwner()}function a(){return Error("react-stack-top-frame")}function s(N){if(F.call(N,"key")){var _=Object.getOwnPropertyDescriptor(N,"key").get;if(_&&_.isReactWarning)return!1}return N.key!==void 0}function o(N,_){function W(){x||(x=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",_))}W.isReactWarning=!0,Object.defineProperty(N,"key",{get:W,configurable:!0})}function u(){var N=e(this.type);return g[N]||(g[N]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),N=this.props.ref,N!==void 0?N:null}function d(N,_,W,$,M,H){var B=W.ref;return N={$$typeof:m,type:N,key:_,props:W,_owner:$},(B!==void 0?B:null)!==null?Object.defineProperty(N,"ref",{enumerable:!1,get:u}):Object.defineProperty(N,"ref",{enumerable:!1,value:null}),N._store={},Object.defineProperty(N._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(N,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(N,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:M}),Object.defineProperty(N,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:H}),Object.freeze&&(Object.freeze(N.props),Object.freeze(N)),N}function l(N,_,W,$,M,H){var B=_.children;if(B!==void 0)if($)if(E(B)){for($=0;$<B.length;$++)c(B[$]);Object.freeze&&Object.freeze(B)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else c(B);if(F.call(_,"key")){B=e(N);var G=Object.keys(_).filter(function(J){return J!=="key"});$=0<G.length?"{key: someKey, "+G.join(": ..., ")+": ...}":"{key: someKey}",U[B+$]||(G=0<G.length?"{"+G.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
2
  let props = %s;
3
3
  <%s {...props} />
4
4
  React keys must be passed directly to JSX without using spread:
5
5
  let props = %s;
6
- <%s key={someKey} {...props} />`,ht,Rt,wt,Rt),dt[Rt+ht]=!0)}if(Rt=null,Et!==void 0&&(d(Et),Rt=""+Et),g(pt)&&(d(pt.key),Rt=""+pt.key),"key"in pt){Et={};for(var Ht in pt)Ht!=="key"&&(Et[Ht]=pt[Ht])}else Et=pt;return Rt&&b(Et,typeof ut=="function"?ut.displayName||ut.name||"Unknown":ut),M(ut,Rt,Et,m(),bt,zt)}function E(ut){D(ut)?ut._store&&(ut._store.validated=1):typeof ut=="object"&&ut!==null&&ut.$$typeof===H&&(ut._payload.status==="fulfilled"?D(ut._payload.value)&&ut._payload.value._store&&(ut._payload.value._store.validated=1):ut._store&&(ut._store.validated=1))}function D(ut){return typeof ut=="object"&&ut!==null&&ut.$$typeof===_}var z=Ot,_=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),it=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),P=Symbol.for("react.context"),tt=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),rt=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),at=Symbol.for("react.client.reference"),K=z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,lt=Object.prototype.hasOwnProperty,et=Array.isArray,ct=console.createTask?console.createTask:function(){return null};z={react_stack_bottom_frame:function(ut){return ut()}};var R,w={},J=z.react_stack_bottom_frame.bind(z,p)(),F=ct(f(p)),dt={};Gp.Fragment=L,Gp.jsx=function(ut,pt,Et){var ht=1e4>K.recentlyCreatedOwnerStacks++;return A(ut,pt,Et,!1,ht?Error("react-stack-top-frame"):J,ht?ct(f(ut)):F)},Gp.jsxs=function(ut,pt,Et){var ht=1e4>K.recentlyCreatedOwnerStacks++;return A(ut,pt,Et,!0,ht?Error("react-stack-top-frame"):J,ht?ct(f(ut)):F)}})()),Gp}var J4;function c8(){return J4||(J4=1,process.env.NODE_ENV==="production"?f1.exports=s8():f1.exports=r8()),f1.exports}var ot=c8(),d1={exports:{}},Xp={},h1={exports:{}},vb={};var K4;function f8(){return K4||(K4=1,(function(i){function s(R,w){var J=R.length;R.push(w);t:for(;0<J;){var F=J-1>>>1,dt=R[F];if(0<m(dt,w))R[F]=w,R[J]=dt,J=F;else break t}}function d(R){return R.length===0?null:R[0]}function f(R){if(R.length===0)return null;var w=R[0],J=R.pop();if(J!==w){R[0]=J;t:for(var F=0,dt=R.length,ut=dt>>>1;F<ut;){var pt=2*(F+1)-1,Et=R[pt],ht=pt+1,bt=R[ht];if(0>m(Et,J))ht<dt&&0>m(bt,Et)?(R[F]=bt,R[ht]=J,F=ht):(R[F]=Et,R[pt]=J,F=pt);else if(ht<dt&&0>m(bt,J))R[F]=bt,R[ht]=J,F=ht;else break t}}return w}function m(R,w){var J=R.sortIndex-w.sortIndex;return J!==0?J:R.id-w.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var p=performance;i.unstable_now=function(){return p.now()}}else{var g=Date,b=g.now();i.unstable_now=function(){return g.now()-b}}var x=[],M=[],A=1,E=null,D=3,z=!1,_=!1,V=!1,L=!1,B=typeof setTimeout=="function"?setTimeout:null,it=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function P(R){for(var w=d(M);w!==null;){if(w.callback===null)f(M);else if(w.startTime<=R)f(M),w.sortIndex=w.expirationTime,s(x,w);else break;w=d(M)}}function tt(R){if(V=!1,P(R),!_)if(d(x)!==null)_=!0,Y||(Y=!0,K());else{var w=d(M);w!==null&&ct(tt,w.startTime-R)}}var Y=!1,rt=-1,j=5,H=-1;function q(){return L?!0:!(i.unstable_now()-H<j)}function at(){if(L=!1,Y){var R=i.unstable_now();H=R;var w=!0;try{t:{_=!1,V&&(V=!1,it(rt),rt=-1),z=!0;var J=D;try{e:{for(P(R),E=d(x);E!==null&&!(E.expirationTime>R&&q());){var F=E.callback;if(typeof F=="function"){E.callback=null,D=E.priorityLevel;var dt=F(E.expirationTime<=R);if(R=i.unstable_now(),typeof dt=="function"){E.callback=dt,P(R),w=!0;break e}E===d(x)&&f(x),P(R)}else f(x);E=d(x)}if(E!==null)w=!0;else{var ut=d(M);ut!==null&&ct(tt,ut.startTime-R),w=!1}}break t}finally{E=null,D=J,z=!1}w=void 0}}finally{w?K():Y=!1}}}var K;if(typeof k=="function")K=function(){k(at)};else if(typeof MessageChannel<"u"){var lt=new MessageChannel,et=lt.port2;lt.port1.onmessage=at,K=function(){et.postMessage(null)}}else K=function(){B(at,0)};function ct(R,w){rt=B(function(){R(i.unstable_now())},w)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(R){R.callback=null},i.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<R?Math.floor(1e3/R):5},i.unstable_getCurrentPriorityLevel=function(){return D},i.unstable_next=function(R){switch(D){case 1:case 2:case 3:var w=3;break;default:w=D}var J=D;D=w;try{return R()}finally{D=J}},i.unstable_requestPaint=function(){L=!0},i.unstable_runWithPriority=function(R,w){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var J=D;D=R;try{return w()}finally{D=J}},i.unstable_scheduleCallback=function(R,w,J){var F=i.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?F+J:F):J=F,R){case 1:var dt=-1;break;case 2:dt=250;break;case 5:dt=1073741823;break;case 4:dt=1e4;break;default:dt=5e3}return dt=J+dt,R={id:A++,callback:w,priorityLevel:R,startTime:J,expirationTime:dt,sortIndex:-1},J>F?(R.sortIndex=J,s(M,R),d(x)===null&&R===d(M)&&(V?(it(rt),rt=-1):V=!0,ct(tt,J-F))):(R.sortIndex=dt,s(x,R),_||z||(_=!0,Y||(Y=!0,K()))),R},i.unstable_shouldYield=q,i.unstable_wrapCallback=function(R){var w=D;return function(){var J=D;D=w;try{return R.apply(this,arguments)}finally{D=J}}}})(vb)),vb}var bb={};var F4;function d8(){return F4||(F4=1,(function(i){process.env.NODE_ENV!=="production"&&(function(){function s(){if(tt=!1,H){var R=i.unstable_now();K=R;var w=!0;try{t:{k=!1,P&&(P=!1,rt(q),q=-1),it=!0;var J=B;try{e:{for(g(R),L=f(z);L!==null&&!(L.expirationTime>R&&x());){var F=L.callback;if(typeof F=="function"){L.callback=null,B=L.priorityLevel;var dt=F(L.expirationTime<=R);if(R=i.unstable_now(),typeof dt=="function"){L.callback=dt,g(R),w=!0;break e}L===f(z)&&m(z),g(R)}else m(z);L=f(z)}if(L!==null)w=!0;else{var ut=f(_);ut!==null&&M(b,ut.startTime-R),w=!1}}break t}finally{L=null,B=J,it=!1}w=void 0}}finally{w?lt():H=!1}}}function d(R,w){var J=R.length;R.push(w);t:for(;0<J;){var F=J-1>>>1,dt=R[F];if(0<p(dt,w))R[F]=w,R[J]=dt,J=F;else break t}}function f(R){return R.length===0?null:R[0]}function m(R){if(R.length===0)return null;var w=R[0],J=R.pop();if(J!==w){R[0]=J;t:for(var F=0,dt=R.length,ut=dt>>>1;F<ut;){var pt=2*(F+1)-1,Et=R[pt],ht=pt+1,bt=R[ht];if(0>p(Et,J))ht<dt&&0>p(bt,Et)?(R[F]=bt,R[ht]=J,F=ht):(R[F]=Et,R[pt]=J,F=pt);else if(ht<dt&&0>p(bt,J))R[F]=bt,R[ht]=J,F=ht;else break t}}return w}function p(R,w){var J=R.sortIndex-w.sortIndex;return J!==0?J:R.id-w.id}function g(R){for(var w=f(_);w!==null;){if(w.callback===null)m(_);else if(w.startTime<=R)m(_),w.sortIndex=w.expirationTime,d(z,w);else break;w=f(_)}}function b(R){if(P=!1,g(R),!k)if(f(z)!==null)k=!0,H||(H=!0,lt());else{var w=f(_);w!==null&&M(b,w.startTime-R)}}function x(){return tt?!0:!(i.unstable_now()-K<at)}function M(R,w){q=Y(function(){R(i.unstable_now())},w)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var A=performance;i.unstable_now=function(){return A.now()}}else{var E=Date,D=E.now();i.unstable_now=function(){return E.now()-D}}var z=[],_=[],V=1,L=null,B=3,it=!1,k=!1,P=!1,tt=!1,Y=typeof setTimeout=="function"?setTimeout:null,rt=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null,H=!1,q=-1,at=5,K=-1;if(typeof j=="function")var lt=function(){j(s)};else if(typeof MessageChannel<"u"){var et=new MessageChannel,ct=et.port2;et.port1.onmessage=s,lt=function(){ct.postMessage(null)}}else lt=function(){Y(s,0)};i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(R){R.callback=null},i.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):at=0<R?Math.floor(1e3/R):5},i.unstable_getCurrentPriorityLevel=function(){return B},i.unstable_next=function(R){switch(B){case 1:case 2:case 3:var w=3;break;default:w=B}var J=B;B=w;try{return R()}finally{B=J}},i.unstable_requestPaint=function(){tt=!0},i.unstable_runWithPriority=function(R,w){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var J=B;B=R;try{return w()}finally{B=J}},i.unstable_scheduleCallback=function(R,w,J){var F=i.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?F+J:F):J=F,R){case 1:var dt=-1;break;case 2:dt=250;break;case 5:dt=1073741823;break;case 4:dt=1e4;break;default:dt=5e3}return dt=J+dt,R={id:V++,callback:w,priorityLevel:R,startTime:J,expirationTime:dt,sortIndex:-1},J>F?(R.sortIndex=J,d(_,R),f(z)===null&&R===f(_)&&(P?(rt(q),q=-1):P=!0,M(b,J-F))):(R.sortIndex=dt,d(z,R),k||it||(k=!0,H||(H=!0,lt()))),R},i.unstable_shouldYield=x,i.unstable_wrapCallback=function(R){var w=B;return function(){var J=B;B=w;try{return R.apply(this,arguments)}finally{B=J}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(bb)),bb}var $4;function I4(){return $4||($4=1,process.env.NODE_ENV==="production"?h1.exports=f8():h1.exports=d8()),h1.exports}var W4;function h8(){if(W4)return Xp;W4=1;var i=I4(),s=Ot,d=Pd;function f(n){var l="https://react.dev/errors/"+n;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)l+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+n+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function m(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function p(n){var l=n,o=n;if(n.alternate)for(;l.return;)l=l.return;else{n=l;do l=n,(l.flags&4098)!==0&&(o=l.return),n=l.return;while(n)}return l.tag===3?o:null}function g(n){if(n.tag===13){var l=n.memoizedState;if(l===null&&(n=n.alternate,n!==null&&(l=n.memoizedState)),l!==null)return l.dehydrated}return null}function b(n){if(n.tag===31){var l=n.memoizedState;if(l===null&&(n=n.alternate,n!==null&&(l=n.memoizedState)),l!==null)return l.dehydrated}return null}function x(n){if(p(n)!==n)throw Error(f(188))}function M(n){var l=n.alternate;if(!l){if(l=p(n),l===null)throw Error(f(188));return l!==n?null:n}for(var o=n,r=l;;){var y=o.return;if(y===null)break;var v=y.alternate;if(v===null){if(r=y.return,r!==null){o=r;continue}break}if(y.child===v.child){for(v=y.child;v;){if(v===o)return x(y),n;if(v===r)return x(y),l;v=v.sibling}throw Error(f(188))}if(o.return!==r.return)o=y,r=v;else{for(var C=!1,N=y.child;N;){if(N===o){C=!0,o=y,r=v;break}if(N===r){C=!0,r=y,o=v;break}N=N.sibling}if(!C){for(N=v.child;N;){if(N===o){C=!0,o=v,r=y;break}if(N===r){C=!0,r=v,o=y;break}N=N.sibling}if(!C)throw Error(f(189))}}if(o.alternate!==r)throw Error(f(190))}if(o.tag!==3)throw Error(f(188));return o.stateNode.current===o?n:l}function A(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n;for(n=n.child;n!==null;){if(l=A(n),l!==null)return l;n=n.sibling}return null}var E=Object.assign,D=Symbol.for("react.element"),z=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),it=Symbol.for("react.consumer"),k=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),tt=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),rt=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),q=Symbol.for("react.memo_cache_sentinel"),at=Symbol.iterator;function K(n){return n===null||typeof n!="object"?null:(n=at&&n[at]||n["@@iterator"],typeof n=="function"?n:null)}var lt=Symbol.for("react.client.reference");function et(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===lt?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case V:return"Fragment";case B:return"Profiler";case L:return"StrictMode";case tt:return"Suspense";case Y:return"SuspenseList";case H:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case _:return"Portal";case k:return n.displayName||"Context";case it:return(n._context.displayName||"Context")+".Consumer";case P:var l=n.render;return n=n.displayName,n||(n=l.displayName||l.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case rt:return l=n.displayName||null,l!==null?l:et(n.type)||"Memo";case j:l=n._payload,n=n._init;try{return et(n(l))}catch{}}return null}var ct=Array.isArray,R=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,w=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},F=[],dt=-1;function ut(n){return{current:n}}function pt(n){0>dt||(n.current=F[dt],F[dt]=null,dt--)}function Et(n,l){dt++,F[dt]=n.current,n.current=l}var ht=ut(null),bt=ut(null),zt=ut(null),Rt=ut(null);function wt(n,l){switch(Et(zt,l),Et(bt,n),Et(ht,null),l.nodeType){case 9:case 11:n=(n=l.documentElement)&&(n=n.namespaceURI)?r2(n):0;break;default:if(n=l.tagName,l=l.namespaceURI)l=r2(l),n=ig(l,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}pt(ht),Et(ht,n)}function Ht(){pt(ht),pt(bt),pt(zt)}function ye(n){n.memoizedState!==null&&Et(Rt,n);var l=ht.current,o=ig(l,n.type);l!==o&&(Et(bt,n),Et(ht,o))}function Ut(n){bt.current===n&&(pt(ht),pt(bt)),Rt.current===n&&(pt(Rt),Md._currentValue=J)}var Ie,fl;function Dn(n){if(Ie===void 0)try{throw Error()}catch(o){var l=o.stack.trim().match(/\n( *(at )?)/);Ie=l&&l[1]||"",fl=-1<o.stack.indexOf(`
7
- at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
8
- `+Ie+n+fl}var Re=!1;function te(n,l){if(!n||Re)return"";Re=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(l){var Mt=function(){throw Error()};if(Object.defineProperty(Mt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Mt,[])}catch(At){var yt=At}Reflect.construct(n,[],Mt)}else{try{Mt.call()}catch(At){yt=At}n.call(Mt.prototype)}}else{try{throw Error()}catch(At){yt=At}(Mt=n())&&typeof Mt.catch=="function"&&Mt.catch(function(){})}}catch(At){if(At&&yt&&typeof At.stack=="string")return[At.stack,yt.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var y=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");y&&y.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=r.DetermineComponentFrameRoot(),C=v[0],N=v[1];if(C&&N){var Z=C.split(`
9
- `),mt=N.split(`
10
- `);for(y=r=0;r<Z.length&&!Z[r].includes("DetermineComponentFrameRoot");)r++;for(;y<mt.length&&!mt[y].includes("DetermineComponentFrameRoot");)y++;if(r===Z.length||y===mt.length)for(r=Z.length-1,y=mt.length-1;1<=r&&0<=y&&Z[r]!==mt[y];)y--;for(;1<=r&&0<=y;r--,y--)if(Z[r]!==mt[y]){if(r!==1||y!==1)do if(r--,y--,0>y||Z[r]!==mt[y]){var Tt=`
11
- `+Z[r].replace(" at new "," at ");return n.displayName&&Tt.includes("<anonymous>")&&(Tt=Tt.replace("<anonymous>",n.displayName)),Tt}while(1<=r&&0<=y);break}}}finally{Re=!1,Error.prepareStackTrace=o}return(o=n?n.displayName||n.name:"")?Dn(o):""}function Be(n,l){switch(n.tag){case 26:case 27:case 5:return Dn(n.type);case 16:return Dn("Lazy");case 13:return n.child!==l&&l!==null?Dn("Suspense Fallback"):Dn("Suspense");case 19:return Dn("SuspenseList");case 0:case 15:return te(n.type,!1);case 11:return te(n.type.render,!1);case 1:return te(n.type,!0);case 31:return Dn("Activity");default:return""}}function we(n){try{var l="",o=null;do l+=Be(n,o),o=n,n=n.return;while(n);return l}catch(r){return`
12
- Error generating stack: `+r.message+`
13
- `+r.stack}}var Mn=Object.prototype.hasOwnProperty,le=i.unstable_scheduleCallback,an=i.unstable_cancelCallback,Cn=i.unstable_shouldYield,We=i.unstable_requestPaint,ne=i.unstable_now,wa=i.unstable_getCurrentPriorityLevel,dl=i.unstable_ImmediatePriority,No=i.unstable_UserBlockingPriority,Pe=i.unstable_NormalPriority,jo=i.unstable_LowPriority,Ln=i.unstable_IdlePriority,tl=i.log,Ua=i.unstable_setDisableYieldValue,fa=null,tn=null;function da(n){if(typeof tl=="function"&&Ua(n),tn&&typeof tn.setStrictMode=="function")try{tn.setStrictMode(fa,n)}catch{}}var Yn=Math.clz32?Math.clz32:Dr,Sh=Math.log,xr=Math.LN2;function Dr(n){return n>>>=0,n===0?32:31-(Sh(n)/xr|0)|0}var _a=256,hl=262144,ha=4194304;function On(n){var l=n&42;if(l!==0)return l;switch(n&-n){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function Ve(n,l,o){var r=n.pendingLanes;if(r===0)return 0;var y=0,v=n.suspendedLanes,C=n.pingedLanes;n=n.warmLanes;var N=r&134217727;return N!==0?(r=N&~v,r!==0?y=On(r):(C&=N,C!==0?y=On(C):o||(o=N&~n,o!==0&&(y=On(o))))):(N=r&~v,N!==0?y=On(N):C!==0?y=On(C):o||(o=r&~n,o!==0&&(y=On(o)))),y===0?0:l!==0&&l!==y&&(l&v)===0&&(v=y&-y,o=l&-l,v>=o||v===32&&(o&4194048)!==0)?l:y}function ma(n,l){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&l)===0}function Ho(n,l){switch(n){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32: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 l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Na(){var n=ha;return ha<<=1,(ha&62914560)===0&&(ha=4194304),n}function ml(n){for(var l=[],o=0;31>o;o++)l.push(n);return l}function Mr(n,l){n.pendingLanes|=l,l!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Ah(n,l,o,r,y,v){var C=n.pendingLanes;n.pendingLanes=o,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=o,n.entangledLanes&=o,n.errorRecoveryDisabledLanes&=o,n.shellSuspendCounter=0;var N=n.entanglements,Z=n.expirationTimes,mt=n.hiddenUpdates;for(o=C&~o;0<o;){var Tt=31-Yn(o),Mt=1<<Tt;N[Tt]=0,Z[Tt]=-1;var yt=mt[Tt];if(yt!==null)for(mt[Tt]=null,Tt=0;Tt<yt.length;Tt++){var At=yt[Tt];At!==null&&(At.lane&=-536870913)}o&=~Mt}r!==0&&mf(n,r,0),v!==0&&y===0&&n.tag!==0&&(n.suspendedLanes|=v&~(C&~l))}function mf(n,l,o){n.pendingLanes|=l,n.suspendedLanes&=~l;var r=31-Yn(l);n.entangledLanes|=l,n.entanglements[r]=n.entanglements[r]|1073741824|o&261930}function Bi(n,l){var o=n.entangledLanes|=l;for(n=n.entanglements;o;){var r=31-Yn(o),y=1<<r;y&l|n[r]&l&&(n[r]|=l),o&=~y}}function pl(n,l){var o=l&-l;return o=(o&42)!==0?1:Th(o),(o&(n.suspendedLanes|l))!==0?0:o}function Th(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function p0(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Eh(){var n=w.p;return n!==0?n:(n=window.event,n===void 0?32:Cd(n.type))}function y0(n,l){var o=w.p;try{return w.p=n,l()}finally{w.p=o}}var ii=Math.random().toString(36).slice(2),Le="__reactFiber$"+ii,ja="__reactProps$"+ii,pu="__reactContainer$"+ii,xh="__reactEvents$"+ii,g0="__reactListeners$"+ii,I1="__reactHandles$"+ii,v0="__reactResources$"+ii,Vi="__reactMarker$"+ii;function Dh(n){delete n[Le],delete n[ja],delete n[xh],delete n[g0],delete n[I1]}function rs(n){var l=n[Le];if(l)return l;for(var o=n.parentNode;o;){if(l=o[pu]||o[Le]){if(o=l.alternate,l.child!==null||o!==null&&o.child!==null)for(n=Mi(n);n!==null;){if(o=n[Le])return o;n=Mi(n)}return l}n=o,o=n.parentNode}return null}function cs(n){if(n=n[Le]||n[pu]){var l=n.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return n}return null}function Cr(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n.stateNode;throw Error(f(33))}function fs(n){var l=n[v0];return l||(l=n[v0]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Ue(n){n[Vi]=!0}var ds=new Set,yu={};function gu(n,l){Li(n,l),Li(n+"Capture",l)}function Li(n,l){for(yu[n]=l,n=0;n<l.length;n++)ds.add(l[n])}var Mh=RegExp("^[: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]*$"),Ch={},Or={};function zr(n){return Mn.call(Or,n)?!0:Mn.call(Ch,n)?!1:Mh.test(n)?Or[n]=!0:(Ch[n]=!0,!1)}function Rr(n,l,o){if(zr(l))if(o===null)n.removeAttribute(l);else{switch(typeof o){case"undefined":case"function":case"symbol":n.removeAttribute(l);return;case"boolean":var r=l.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){n.removeAttribute(l);return}}n.setAttribute(l,""+o)}}function Oh(n,l,o){if(o===null)n.removeAttribute(l);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(l);return}n.setAttribute(l,""+o)}}function Bo(n,l,o,r){if(r===null)n.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(o);return}n.setAttributeNS(l,o,""+r)}}function yl(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function zh(n){var l=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function b0(n,l,o){var r=Object.getOwnPropertyDescriptor(n.constructor.prototype,l);if(!n.hasOwnProperty(l)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var y=r.get,v=r.set;return Object.defineProperty(n,l,{configurable:!0,get:function(){return y.call(this)},set:function(C){o=""+C,v.call(this,C)}}),Object.defineProperty(n,l,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(C){o=""+C},stopTracking:function(){n._valueTracker=null,delete n[l]}}}}function Rh(n){if(!n._valueTracker){var l=zh(n)?"checked":"value";n._valueTracker=b0(n,l,""+n[l])}}function S0(n){if(!n)return!1;var l=n._valueTracker;if(!l)return!0;var o=l.getValue(),r="";return n&&(r=zh(n)?n.checked?"true":"false":n.value),n=r,n!==o?(l.setValue(n),!0):!1}function pf(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var S3=/[\n"\\]/g;function gl(n){return n.replace(S3,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function yf(n,l,o,r,y,v,C,N){n.name="",C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?n.type=C:n.removeAttribute("type"),l!=null?C==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+yl(l)):n.value!==""+yl(l)&&(n.value=""+yl(l)):C!=="submit"&&C!=="reset"||n.removeAttribute("value"),l!=null?hs(n,C,yl(l)):o!=null?hs(n,C,yl(o)):r!=null&&n.removeAttribute("value"),y==null&&v!=null&&(n.defaultChecked=!!v),y!=null&&(n.checked=y&&typeof y!="function"&&typeof y!="symbol"),N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?n.name=""+yl(N):n.removeAttribute("name")}function gf(n,l,o,r,y,v,C,N){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(n.type=v),l!=null||o!=null){if(!(v!=="submit"&&v!=="reset"||l!=null)){Rh(n);return}o=o!=null?""+yl(o):"",l=l!=null?""+yl(l):o,N||l===n.value||(n.value=l),n.defaultValue=l}r=r??y,r=typeof r!="function"&&typeof r!="symbol"&&!!r,n.checked=N?n.checked:!!r,n.defaultChecked=!!r,C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"&&(n.name=C),Rh(n)}function hs(n,l,o){l==="number"&&pf(n.ownerDocument)===n||n.defaultValue===""+o||(n.defaultValue=""+o)}function wr(n,l,o,r){if(n=n.options,l){l={};for(var y=0;y<o.length;y++)l["$"+o[y]]=!0;for(o=0;o<n.length;o++)y=l.hasOwnProperty("$"+n[o].value),n[o].selected!==y&&(n[o].selected=y),y&&r&&(n[o].defaultSelected=!0)}else{for(o=""+yl(o),l=null,y=0;y<n.length;y++){if(n[y].value===o){n[y].selected=!0,r&&(n[y].defaultSelected=!0);return}l!==null||n[y].disabled||(l=n[y])}l!==null&&(l.selected=!0)}}function A0(n,l,o){if(l!=null&&(l=""+yl(l),l!==n.value&&(n.value=l),o==null)){n.defaultValue!==l&&(n.defaultValue=l);return}n.defaultValue=o!=null?""+yl(o):""}function T0(n,l,o,r){if(l==null){if(r!=null){if(o!=null)throw Error(f(92));if(ct(r)){if(1<r.length)throw Error(f(93));r=r[0]}o=r}o==null&&(o=""),l=o}o=yl(l),n.defaultValue=o,r=n.textContent,r===o&&r!==""&&r!==null&&(n.value=r),Rh(n)}function Yi(n,l){if(l){var o=n.firstChild;if(o&&o===n.lastChild&&o.nodeType===3){o.nodeValue=l;return}}n.textContent=l}var W1=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function P1(n,l,o){var r=l.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?r?n.setProperty(l,""):l==="float"?n.cssFloat="":n[l]="":r?n.setProperty(l,o):typeof o!="number"||o===0||W1.has(l)?l==="float"?n.cssFloat=o:n[l]=(""+o).trim():n[l]=o+"px"}function tv(n,l,o){if(l!=null&&typeof l!="object")throw Error(f(62));if(n=n.style,o!=null){for(var r in o)!o.hasOwnProperty(r)||l!=null&&l.hasOwnProperty(r)||(r.indexOf("--")===0?n.setProperty(r,""):r==="float"?n.cssFloat="":n[r]="");for(var y in l)r=l[y],l.hasOwnProperty(y)&&o[y]!==r&&P1(n,y,r)}else for(var v in l)l.hasOwnProperty(v)&&P1(n,v,l[v])}function E0(n){if(n.indexOf("-")===-1)return!1;switch(n){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 A3=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),vf=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ql(n){return vf.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function oi(){}var wh=null;function Uh(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var qi=null,ms=null;function bf(n){var l=cs(n);if(l&&(n=l.stateNode)){var o=n[ja]||null;t:switch(n=l.stateNode,l.type){case"input":if(yf(n,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),l=o.name,o.type==="radio"&&l!=null){for(o=n;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+gl(""+l)+'"][type="radio"]'),l=0;l<o.length;l++){var r=o[l];if(r!==n&&r.form===n.form){var y=r[ja]||null;if(!y)throw Error(f(90));yf(r,y.value,y.defaultValue,y.defaultValue,y.checked,y.defaultChecked,y.type,y.name)}}for(l=0;l<o.length;l++)r=o[l],r.form===n.form&&S0(r)}break t;case"textarea":A0(n,o.value,o.defaultValue);break t;case"select":l=o.value,l!=null&&wr(n,!!o.multiple,l,!1)}}}var Ur=!1;function x0(n,l,o){if(Ur)return n(l,o);Ur=!0;try{var r=n(l);return r}finally{if(Ur=!1,(qi!==null||ms!==null)&&(mc(),qi&&(l=qi,n=ms,ms=qi=null,bf(l),n)))for(l=0;l<n.length;l++)bf(n[l])}}function Fn(n,l){var o=n.stateNode;if(o===null)return null;var r=o[ja]||null;if(r===null)return null;o=r[l];t:switch(l){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)||(n=n.type,r=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!r;break t;default:n=!1}if(n)return null;if(o&&typeof o!="function")throw Error(f(231,l,typeof o));return o}var Vo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Sf=!1;if(Vo)try{var _r={};Object.defineProperty(_r,"passive",{get:function(){Sf=!0}}),window.addEventListener("test",_r,_r),window.removeEventListener("test",_r,_r)}catch{Sf=!1}var Lo=null,D0=null,_h=null;function M0(){if(_h)return _h;var n,l=D0,o=l.length,r,y="value"in Lo?Lo.value:Lo.textContent,v=y.length;for(n=0;n<o&&l[n]===y[n];n++);var C=o-n;for(r=1;r<=C&&l[o-r]===y[v-r];r++);return _h=y.slice(n,1<r?1-r:void 0)}function Nh(n){var l=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&l===13&&(n=13)):n=l,n===10&&(n=13),32<=n||n===13?n:0}function Af(){return!0}function ev(){return!1}function pa(n){function l(o,r,y,v,C){this._reactName=o,this._targetInst=y,this.type=r,this.nativeEvent=v,this.target=C,this.currentTarget=null;for(var N in n)n.hasOwnProperty(N)&&(o=n[N],this[N]=o?o(v):v[N]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?Af:ev,this.isPropagationStopped=ev,this}return E(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Af)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Af)},persist:function(){},isPersistent:Af}),l}var vu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tf=pa(vu),Nr=E({},vu,{view:0,detail:0}),T3=pa(Nr),C0,O0,Ef,jh=E({},Nr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gl,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Ef&&(Ef&&n.type==="mousemove"?(C0=n.screenX-Ef.screenX,O0=n.screenY-Ef.screenY):O0=C0=0,Ef=n),C0)},movementY:function(n){return"movementY"in n?n.movementY:O0}}),jr=pa(jh),nv=E({},jh,{dataTransfer:0}),av=pa(nv),lv=E({},Nr,{relatedTarget:0}),Hh=pa(lv),z0=E({},vu,{animationName:0,elapsedTime:0,pseudoElement:0}),iv=pa(z0),ps=E({},vu,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),ys=pa(ps),ui=E({},vu,{data:0}),ov=pa(ui),R0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Gi={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"},uv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function si(n){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(n):(n=uv[n])?!!l[n]:!1}function Gl(){return si}var Bh=E({},Nr,{key:function(n){if(n.key){var l=R0[n.key]||n.key;if(l!=="Unidentified")return l}return n.type==="keypress"?(n=Nh(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Gi[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gl,charCode:function(n){return n.type==="keypress"?Nh(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Nh(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Vh=pa(Bh),w0=E({},jh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ri=pa(w0),E3=E({},Nr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gl}),sv=pa(E3),rv=E({},vu,{propertyName:0,elapsedTime:0,pseudoElement:0}),x3=pa(rv),U0=E({},jh,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),D3=pa(U0),cv=E({},vu,{newState:0,oldState:0}),_0=pa(cv),Lh=[9,13,27,32],Hr=Vo&&"CompositionEvent"in window,gs=null;Vo&&"documentMode"in document&&(gs=document.documentMode);var Aa=Vo&&"TextEvent"in window&&!gs,N0=Vo&&(!Hr||gs&&8<gs&&11>=gs),xf=" ",bu=!1;function Yh(n,l){switch(n){case"keyup":return Lh.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function j0(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var vs=!1;function fv(n,l){switch(n){case"compositionend":return j0(l);case"keypress":return l.which!==32?null:(bu=!0,xf);case"textInput":return n=l.data,n===xf&&bu?null:n;default:return null}}function M3(n,l){if(vs)return n==="compositionend"||!Hr&&Yh(n,l)?(n=M0(),_h=D0=Lo=null,vs=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return N0&&l.locale!=="ko"?null:l.data;default:return null}}var H0={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 Xi(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l==="input"?!!H0[n.type]:l==="textarea"}function B0(n,l,o,r){qi?ms?ms.push(r):ms=[r]:qi=r,l=Sd(l,"onChange"),0<l.length&&(o=new Tf("onChange","change",null,o,r),n.push({event:o,listeners:l}))}var bs=null,Su=null;function Ss(n){o2(n,0)}function Br(n){var l=Cr(n);if(S0(l))return n}function V0(n,l){if(n==="change")return l}var qh=!1;if(Vo){var Ha;if(Vo){var ci="oninput"in document;if(!ci){var L0=document.createElement("div");L0.setAttribute("oninput","return;"),ci=typeof L0.oninput=="function"}Ha=ci}else Ha=!1;qh=Ha&&(!document.documentMode||9<document.documentMode)}function Gh(){bs&&(bs.detachEvent("onpropertychange",Xh),Su=bs=null)}function Xh(n){if(n.propertyName==="value"&&Br(Su)){var l=[];B0(l,Su,n,Uh(n)),x0(Ss,l)}}function dv(n,l,o){n==="focusin"?(Gh(),bs=l,Su=o,bs.attachEvent("onpropertychange",Xh)):n==="focusout"&&Gh()}function hv(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Br(Su)}function Au(n,l){if(n==="click")return Br(l)}function As(n,l){if(n==="input"||n==="change")return Br(l)}function mv(n,l){return n===l&&(n!==0||1/n===1/l)||n!==n&&l!==l}var Ta=typeof Object.is=="function"?Object.is:mv;function Xl(n,l){if(Ta(n,l))return!0;if(typeof n!="object"||n===null||typeof l!="object"||l===null)return!1;var o=Object.keys(n),r=Object.keys(l);if(o.length!==r.length)return!1;for(r=0;r<o.length;r++){var y=o[r];if(!Mn.call(l,y)||!Ta(n[y],l[y]))return!1}return!0}function Y0(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function q0(n,l){var o=Y0(n);n=0;for(var r;o;){if(o.nodeType===3){if(r=n+o.textContent.length,n<=l&&r>=l)return{node:o,offset:l-n};n=r}t:{for(;o;){if(o.nextSibling){o=o.nextSibling;break t}o=o.parentNode}o=void 0}o=Y0(o)}}function Ts(n,l){return n&&l?n===l?!0:n&&n.nodeType===3?!1:l&&l.nodeType===3?Ts(n,l.parentNode):"contains"in n?n.contains(l):n.compareDocumentPosition?!!(n.compareDocumentPosition(l)&16):!1:!1}function Tu(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var l=pf(n.document);l instanceof n.HTMLIFrameElement;){try{var o=typeof l.contentWindow.location.href=="string"}catch{o=!1}if(o)n=l.contentWindow;else break;l=pf(n.document)}return l}function Df(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l&&(l==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||l==="textarea"||n.contentEditable==="true")}var Mf=Vo&&"documentMode"in document&&11>=document.documentMode,Eu=null,Vr=null,Ql=null,fi=!1;function Qh(n,l,o){var r=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;fi||Eu==null||Eu!==pf(r)||(r=Eu,"selectionStart"in r&&Df(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}),Ql&&Xl(Ql,r)||(Ql=r,r=Sd(Vr,"onSelect"),0<r.length&&(l=new Tf("onSelect","select",null,l,o),n.push({event:l,listeners:r}),l.target=Eu)))}function Yo(n,l){var o={};return o[n.toLowerCase()]=l.toLowerCase(),o["Webkit"+n]="webkit"+l,o["Moz"+n]="moz"+l,o}var di={animationend:Yo("Animation","AnimationEnd"),animationiteration:Yo("Animation","AnimationIteration"),animationstart:Yo("Animation","AnimationStart"),transitionrun:Yo("Transition","TransitionRun"),transitionstart:Yo("Transition","TransitionStart"),transitioncancel:Yo("Transition","TransitionCancel"),transitionend:Yo("Transition","TransitionEnd")},Lr={},xu={};Vo&&(xu=document.createElement("div").style,"AnimationEvent"in window||(delete di.animationend.animation,delete di.animationiteration.animation,delete di.animationstart.animation),"TransitionEvent"in window||delete di.transitionend.transition);function Ce(n){if(Lr[n])return Lr[n];if(!di[n])return n;var l=di[n],o;for(o in l)if(l.hasOwnProperty(o)&&o in xu)return Lr[n]=l[o];return n}var Cf=Ce("animationend"),G0=Ce("animationiteration"),Zh=Ce("animationstart"),Es=Ce("transitionrun"),Of=Ce("transitionstart"),Qi=Ce("transitioncancel"),pv=Ce("transitionend"),Zi=new Map,Yr="abort auxClick beforeToggle 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(" ");Yr.push("scrollEnd");function Ba(n,l){Zi.set(n,l),gu(l,[n])}var xs=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},ln=[],$n=0,Zl=0;function vl(){for(var n=$n,l=Zl=$n=0;l<n;){var o=ln[l];ln[l++]=null;var r=ln[l];ln[l++]=null;var y=ln[l];ln[l++]=null;var v=ln[l];if(ln[l++]=null,r!==null&&y!==null){var C=r.pending;C===null?y.next=y:(y.next=C.next,C.next=y),r.pending=y}v!==0&&kh(o,y,v)}}function bl(n,l,o,r){ln[$n++]=n,ln[$n++]=l,ln[$n++]=o,ln[$n++]=r,Zl|=r,n.lanes|=r,n=n.alternate,n!==null&&(n.lanes|=r)}function kl(n,l,o,r){return bl(n,l,o,r),zf(n)}function qo(n,l){return bl(n,null,null,l),zf(n)}function kh(n,l,o){n.lanes|=o;var r=n.alternate;r!==null&&(r.lanes|=o);for(var y=!1,v=n.return;v!==null;)v.childLanes|=o,r=v.alternate,r!==null&&(r.childLanes|=o),v.tag===22&&(n=v.stateNode,n===null||n._visibility&1||(y=!0)),n=v,v=v.return;return n.tag===3?(v=n.stateNode,y&&l!==null&&(y=31-Yn(o),n=v.hiddenUpdates,r=n[y],r===null?n[y]=[l]:r.push(l),l.lane=o|536870912),v):null}function zf(n){if(50<hc)throw hc=0,fd=null,Error(f(185));for(var l=n.return;l!==null;)n=l,l=n.return;return n.tag===3?n.stateNode:null}var Va={};function yv(n,l,o,r){this.tag=n,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,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 vn(n,l,o,r){return new yv(n,l,o,r)}function Ds(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Go(n,l){var o=n.alternate;return o===null?(o=vn(n.tag,l,n.key,n.mode),o.elementType=n.elementType,o.type=n.type,o.stateNode=n.stateNode,o.alternate=n,n.alternate=o):(o.pendingProps=l,o.type=n.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=n.flags&65011712,o.childLanes=n.childLanes,o.lanes=n.lanes,o.child=n.child,o.memoizedProps=n.memoizedProps,o.memoizedState=n.memoizedState,o.updateQueue=n.updateQueue,l=n.dependencies,o.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},o.sibling=n.sibling,o.index=n.index,o.ref=n.ref,o.refCleanup=n.refCleanup,o}function X0(n,l){n.flags&=65011714;var o=n.alternate;return o===null?(n.childLanes=0,n.lanes=l,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=o.childLanes,n.lanes=o.lanes,n.child=o.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=o.memoizedProps,n.memoizedState=o.memoizedState,n.updateQueue=o.updateQueue,n.type=o.type,l=o.dependencies,n.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),n}function Jh(n,l,o,r,y,v){var C=0;if(r=n,typeof n=="function")Ds(n)&&(C=1);else if(typeof n=="string")C=dg(n,o,ht.current)?26:n==="html"||n==="head"||n==="body"?27:5;else t:switch(n){case H:return n=vn(31,o,l,y),n.elementType=H,n.lanes=v,n;case V:return Xo(o.children,y,v,l);case L:C=8,y|=24;break;case B:return n=vn(12,o,l,y|2),n.elementType=B,n.lanes=v,n;case tt:return n=vn(13,o,l,y),n.elementType=tt,n.lanes=v,n;case Y:return n=vn(19,o,l,y),n.elementType=Y,n.lanes=v,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case k:C=10;break t;case it:C=9;break t;case P:C=11;break t;case rt:C=14;break t;case j:C=16,r=null;break t}C=29,o=Error(f(130,n===null?"null":typeof n,"")),r=null}return l=vn(C,o,l,y),l.elementType=n,l.type=r,l.lanes=v,l}function Xo(n,l,o,r){return n=vn(7,n,r,l),n.lanes=o,n}function qr(n,l,o){return n=vn(6,n,null,l),n.lanes=o,n}function Q0(n){var l=vn(18,null,null,0);return l.stateNode=n,l}function Kh(n,l,o){return l=vn(4,n.children!==null?n.children:[],n.key,l),l.lanes=o,l.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},l}var Z0=new WeakMap;function Sl(n,l){if(typeof n=="object"&&n!==null){var o=Z0.get(n);return o!==void 0?o:(l={value:n,source:l,stack:we(l)},Z0.set(n,l),l)}return{value:n,source:l,stack:we(l)}}var Al=[],Ms=0,Rf=null,zn=0,el=[],La=0,hi=null,nl=1,mi="";function Jl(n,l){Al[Ms++]=zn,Al[Ms++]=Rf,Rf=n,zn=l}function k0(n,l,o){el[La++]=nl,el[La++]=mi,el[La++]=hi,hi=n;var r=nl;n=mi;var y=32-Yn(r)-1;r&=~(1<<y),o+=1;var v=32-Yn(l)+y;if(30<v){var C=y-y%5;v=(r&(1<<C)-1).toString(32),r>>=C,y-=C,nl=1<<32-Yn(l)+y|o<<y|r,mi=v+n}else nl=1<<v|o<<y|r,mi=n}function Gr(n){n.return!==null&&(Jl(n,1),k0(n,1,0))}function Fh(n){for(;n===Rf;)Rf=Al[--Ms],Al[Ms]=null,zn=Al[--Ms],Al[Ms]=null;for(;n===hi;)hi=el[--La],el[La]=null,mi=el[--La],el[La]=null,nl=el[--La],el[La]=null}function wf(n,l){el[La++]=nl,el[La++]=mi,el[La++]=hi,nl=l.id,mi=l.overflow,hi=n}var In=null,Ze=null,ge=!1,ki=null,qn=!1,Ji=Error(f(519));function Kl(n){var l=Error(f(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Qr(Sl(l,n)),Ji}function Uf(n){var l=n.stateNode,o=n.type,r=n.memoizedProps;switch(l[Le]=n,l[ja]=r,o){case"dialog":pe("cancel",l),pe("close",l);break;case"iframe":case"object":case"embed":pe("load",l);break;case"video":case"audio":for(o=0;o<bc.length;o++)pe(bc[o],l);break;case"source":pe("error",l);break;case"img":case"image":case"link":pe("error",l),pe("load",l);break;case"details":pe("toggle",l);break;case"input":pe("invalid",l),gf(l,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":pe("invalid",l);break;case"textarea":pe("invalid",l),T0(l,r.value,r.defaultValue,r.children)}o=r.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||l.textContent===""+o||r.suppressHydrationWarning===!0||eg(l.textContent,o)?(r.popover!=null&&(pe("beforetoggle",l),pe("toggle",l)),r.onScroll!=null&&pe("scroll",l),r.onScrollEnd!=null&&pe("scrollend",l),r.onClick!=null&&(l.onclick=oi),l=!0):l=!1,l||Kl(n,!0)}function Xr(n){for(In=n.return;In;)switch(In.tag){case 5:case 31:case 13:qn=!1;return;case 27:case 3:qn=!0;return;default:In=In.return}}function Ki(n){if(n!==In)return!1;if(!ge)return Xr(n),ge=!0,!1;var l=n.tag,o;if((o=l!==3&&l!==27)&&((o=l===5)&&(o=n.type,o=!(o!=="form"&&o!=="button")||Ac(n.type,n.memoizedProps)),o=!o),o&&Ze&&Kl(n),Xr(n),l===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(f(317));Ze=Wm(n)}else if(l===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(f(317));Ze=Wm(n)}else l===27?(l=Ze,Di(n.type)?(n=Ed,Ed=null,Ze=n):Ze=l):Ze=In?Fa(n.stateNode.nextSibling):null;return!0}function Du(){Ze=In=null,ge=!1}function J0(){var n=ki;return n!==null&&(pn===null?pn=n:pn.push.apply(pn,n),ki=null),n}function Qr(n){ki===null?ki=[n]:ki.push(n)}var $h=ut(null),Qo=null,pi=null;function Ya(n,l,o){Et($h,l._currentValue),l._currentValue=o}function yi(n){n._currentValue=$h.current,pt($h)}function Ih(n,l,o){for(;n!==null;){var r=n.alternate;if((n.childLanes&l)!==l?(n.childLanes|=l,r!==null&&(r.childLanes|=l)):r!==null&&(r.childLanes&l)!==l&&(r.childLanes|=l),n===o)break;n=n.return}}function Fi(n,l,o,r){var y=n.child;for(y!==null&&(y.return=n);y!==null;){var v=y.dependencies;if(v!==null){var C=y.child;v=v.firstContext;t:for(;v!==null;){var N=v;v=y;for(var Z=0;Z<l.length;Z++)if(N.context===l[Z]){v.lanes|=o,N=v.alternate,N!==null&&(N.lanes|=o),Ih(v.return,o,n),r||(C=null);break t}v=N.next}}else if(y.tag===18){if(C=y.return,C===null)throw Error(f(341));C.lanes|=o,v=C.alternate,v!==null&&(v.lanes|=o),Ih(C,o,n),C=null}else C=y.child;if(C!==null)C.return=y;else for(C=y;C!==null;){if(C===n){C=null;break}if(y=C.sibling,y!==null){y.return=C.return,C=y;break}C=C.return}y=C}}function Wn(n,l,o,r){n=null;for(var y=l,v=!1;y!==null;){if(!v){if((y.flags&524288)!==0)v=!0;else if((y.flags&262144)!==0)break}if(y.tag===10){var C=y.alternate;if(C===null)throw Error(f(387));if(C=C.memoizedProps,C!==null){var N=y.type;Ta(y.pendingProps.value,C.value)||(n!==null?n.push(N):n=[N])}}else if(y===Rt.current){if(C=y.alternate,C===null)throw Error(f(387));C.memoizedState.memoizedState!==y.memoizedState.memoizedState&&(n!==null?n.push(Md):n=[Md])}y=y.return}n!==null&&Fi(l,n,o,r),l.flags|=262144}function Cs(n){for(n=n.firstContext;n!==null;){if(!Ta(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function It(n){Qo=n,pi=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Ct(n){return _f(Qo,n)}function Zo(n,l){return Qo===null&&It(n),_f(n,l)}function _f(n,l){var o=l._currentValue;if(l={context:l,memoizedValue:o,next:null},pi===null){if(n===null)throw Error(f(308));pi=l,n.dependencies={lanes:0,firstContext:l},n.flags|=524288}else pi=pi.next=l;return o}var bn=typeof AbortController<"u"?AbortController:function(){var n=[],l=this.signal={aborted:!1,addEventListener:function(o,r){n.push(r)}};this.abort=function(){l.aborted=!0,n.forEach(function(o){return o()})}},K0=i.unstable_scheduleCallback,F0=i.unstable_NormalPriority,Rn={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Nf(){return{controller:new bn,data:new Map,refCount:0}}function jf(n){n.refCount--,n.refCount===0&&K0(F0,function(){n.controller.abort()})}var Os=null,Hf=0,Mu=0,jn=null;function _e(n,l){if(Os===null){var o=Os=[];Hf=0,Mu=Qm(),jn={status:"pending",value:void 0,then:function(r){o.push(r)}}}return Hf++,l.then(Bf,Bf),l}function Bf(){if(--Hf===0&&Os!==null){jn!==null&&(jn.status="fulfilled");var n=Os;Os=null,Mu=0,jn=null;for(var l=0;l<n.length;l++)(0,n[l])()}}function Vf(n,l){var o=[],r={status:"pending",value:null,reason:null,then:function(y){o.push(y)}};return n.then(function(){r.status="fulfilled",r.value=l;for(var y=0;y<o.length;y++)(0,o[y])(l)},function(y){for(r.status="rejected",r.reason=y,y=0;y<o.length;y++)(0,o[y])(void 0)}),r}var ko=R.S;R.S=function(n,l){Gy=ne(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&_e(n,l),ko!==null&&ko(n,l)};var Tl=ut(null);function El(){var n=Tl.current;return n!==null?n:qe.pooledCache}function Zr(n,l){l===null?Et(Tl,Tl.current):Et(Tl,l.pool)}function zs(){var n=El();return n===null?null:{parent:Rn._currentValue,pool:n}}var Cu=Error(f(460)),Rs=Error(f(474)),kr=Error(f(542)),ws={then:function(){}};function $0(n){return n=n.status,n==="fulfilled"||n==="rejected"}function I0(n,l,o){switch(o=n[o],o===void 0?n.push(l):o!==l&&(l.then(oi,oi),l=o),l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Wh(n),n;default:if(typeof l.status=="string")l.then(oi,oi);else{if(n=qe,n!==null&&100<n.shellSuspendCounter)throw Error(f(482));n=l,n.status="pending",n.then(function(r){if(l.status==="pending"){var y=l;y.status="fulfilled",y.value=r}},function(r){if(l.status==="pending"){var y=l;y.status="rejected",y.reason=r}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Wh(n),n}throw zu=l,Cu}}function Ou(n){try{var l=n._init;return l(n._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(zu=o,Cu):o}}var zu=null;function W0(){if(zu===null)throw Error(f(459));var n=zu;return zu=null,n}function Wh(n){if(n===Cu||n===kr)throw Error(f(483))}var Ru=null,Us=0;function Lf(n){var l=Us;return Us+=1,Ru===null&&(Ru=[]),I0(Ru,n,l)}function Jr(n,l){l=l.props.ref,n.ref=l!==void 0?l:null}function Yf(n,l){throw l.$$typeof===D?Error(f(525)):(n=Object.prototype.toString.call(l),Error(f(31,n==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":n)))}function gv(n){function l(st,W){if(n){var ft=st.deletions;ft===null?(st.deletions=[W],st.flags|=16):ft.push(W)}}function o(st,W){if(!n)return null;for(;W!==null;)l(st,W),W=W.sibling;return null}function r(st){for(var W=new Map;st!==null;)st.key!==null?W.set(st.key,st):W.set(st.index,st),st=st.sibling;return W}function y(st,W){return st=Go(st,W),st.index=0,st.sibling=null,st}function v(st,W,ft){return st.index=ft,n?(ft=st.alternate,ft!==null?(ft=ft.index,ft<W?(st.flags|=67108866,W):ft):(st.flags|=67108866,W)):(st.flags|=1048576,W)}function C(st){return n&&st.alternate===null&&(st.flags|=67108866),st}function N(st,W,ft,Dt){return W===null||W.tag!==6?(W=qr(ft,st.mode,Dt),W.return=st,W):(W=y(W,ft),W.return=st,W)}function Z(st,W,ft,Dt){var qt=ft.type;return qt===V?Tt(st,W,ft.props.children,Dt,ft.key):W!==null&&(W.elementType===qt||typeof qt=="object"&&qt!==null&&qt.$$typeof===j&&Ou(qt)===W.type)?(W=y(W,ft.props),Jr(W,ft),W.return=st,W):(W=Jh(ft.type,ft.key,ft.props,null,st.mode,Dt),Jr(W,ft),W.return=st,W)}function mt(st,W,ft,Dt){return W===null||W.tag!==4||W.stateNode.containerInfo!==ft.containerInfo||W.stateNode.implementation!==ft.implementation?(W=Kh(ft,st.mode,Dt),W.return=st,W):(W=y(W,ft.children||[]),W.return=st,W)}function Tt(st,W,ft,Dt,qt){return W===null||W.tag!==7?(W=Xo(ft,st.mode,Dt,qt),W.return=st,W):(W=y(W,ft),W.return=st,W)}function Mt(st,W,ft){if(typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint")return W=qr(""+W,st.mode,ft),W.return=st,W;if(typeof W=="object"&&W!==null){switch(W.$$typeof){case z:return ft=Jh(W.type,W.key,W.props,null,st.mode,ft),Jr(ft,W),ft.return=st,ft;case _:return W=Kh(W,st.mode,ft),W.return=st,W;case j:return W=Ou(W),Mt(st,W,ft)}if(ct(W)||K(W))return W=Xo(W,st.mode,ft,null),W.return=st,W;if(typeof W.then=="function")return Mt(st,Lf(W),ft);if(W.$$typeof===k)return Mt(st,Zo(st,W),ft);Yf(st,W)}return null}function yt(st,W,ft,Dt){var qt=W!==null?W.key:null;if(typeof ft=="string"&&ft!==""||typeof ft=="number"||typeof ft=="bigint")return qt!==null?null:N(st,W,""+ft,Dt);if(typeof ft=="object"&&ft!==null){switch(ft.$$typeof){case z:return ft.key===qt?Z(st,W,ft,Dt):null;case _:return ft.key===qt?mt(st,W,ft,Dt):null;case j:return ft=Ou(ft),yt(st,W,ft,Dt)}if(ct(ft)||K(ft))return qt!==null?null:Tt(st,W,ft,Dt,null);if(typeof ft.then=="function")return yt(st,W,Lf(ft),Dt);if(ft.$$typeof===k)return yt(st,W,Zo(st,ft),Dt);Yf(st,ft)}return null}function At(st,W,ft,Dt,qt){if(typeof Dt=="string"&&Dt!==""||typeof Dt=="number"||typeof Dt=="bigint")return st=st.get(ft)||null,N(W,st,""+Dt,qt);if(typeof Dt=="object"&&Dt!==null){switch(Dt.$$typeof){case z:return st=st.get(Dt.key===null?ft:Dt.key)||null,Z(W,st,Dt,qt);case _:return st=st.get(Dt.key===null?ft:Dt.key)||null,mt(W,st,Dt,qt);case j:return Dt=Ou(Dt),At(st,W,ft,Dt,qt)}if(ct(Dt)||K(Dt))return st=st.get(ft)||null,Tt(W,st,Dt,qt,null);if(typeof Dt.then=="function")return At(st,W,ft,Lf(Dt),qt);if(Dt.$$typeof===k)return At(st,W,ft,Zo(W,Dt),qt);Yf(W,Dt)}return null}function Vt(st,W,ft,Dt){for(var qt=null,Ee=null,Lt=W,ee=W=0,oe=null;Lt!==null&&ee<ft.length;ee++){Lt.index>ee?(oe=Lt,Lt=null):oe=Lt.sibling;var Me=yt(st,Lt,ft[ee],Dt);if(Me===null){Lt===null&&(Lt=oe);break}n&&Lt&&Me.alternate===null&&l(st,Lt),W=v(Me,W,ee),Ee===null?qt=Me:Ee.sibling=Me,Ee=Me,Lt=oe}if(ee===ft.length)return o(st,Lt),ge&&Jl(st,ee),qt;if(Lt===null){for(;ee<ft.length;ee++)Lt=Mt(st,ft[ee],Dt),Lt!==null&&(W=v(Lt,W,ee),Ee===null?qt=Lt:Ee.sibling=Lt,Ee=Lt);return ge&&Jl(st,ee),qt}for(Lt=r(Lt);ee<ft.length;ee++)oe=At(Lt,st,ee,ft[ee],Dt),oe!==null&&(n&&oe.alternate!==null&&Lt.delete(oe.key===null?ee:oe.key),W=v(oe,W,ee),Ee===null?qt=oe:Ee.sibling=oe,Ee=oe);return n&&Lt.forEach(function(Oi){return l(st,Oi)}),ge&&Jl(st,ee),qt}function Zt(st,W,ft,Dt){if(ft==null)throw Error(f(151));for(var qt=null,Ee=null,Lt=W,ee=W=0,oe=null,Me=ft.next();Lt!==null&&!Me.done;ee++,Me=ft.next()){Lt.index>ee?(oe=Lt,Lt=null):oe=Lt.sibling;var Oi=yt(st,Lt,Me.value,Dt);if(Oi===null){Lt===null&&(Lt=oe);break}n&&Lt&&Oi.alternate===null&&l(st,Lt),W=v(Oi,W,ee),Ee===null?qt=Oi:Ee.sibling=Oi,Ee=Oi,Lt=oe}if(Me.done)return o(st,Lt),ge&&Jl(st,ee),qt;if(Lt===null){for(;!Me.done;ee++,Me=ft.next())Me=Mt(st,Me.value,Dt),Me!==null&&(W=v(Me,W,ee),Ee===null?qt=Me:Ee.sibling=Me,Ee=Me);return ge&&Jl(st,ee),qt}for(Lt=r(Lt);!Me.done;ee++,Me=ft.next())Me=At(Lt,st,ee,Me.value,Dt),Me!==null&&(n&&Me.alternate!==null&&Lt.delete(Me.key===null?ee:Me.key),W=v(Me,W,ee),Ee===null?qt=Me:Ee.sibling=Me,Ee=Me);return n&&Lt.forEach(function(A2){return l(st,A2)}),ge&&Jl(st,ee),qt}function Xe(st,W,ft,Dt){if(typeof ft=="object"&&ft!==null&&ft.type===V&&ft.key===null&&(ft=ft.props.children),typeof ft=="object"&&ft!==null){switch(ft.$$typeof){case z:t:{for(var qt=ft.key;W!==null;){if(W.key===qt){if(qt=ft.type,qt===V){if(W.tag===7){o(st,W.sibling),Dt=y(W,ft.props.children),Dt.return=st,st=Dt;break t}}else if(W.elementType===qt||typeof qt=="object"&&qt!==null&&qt.$$typeof===j&&Ou(qt)===W.type){o(st,W.sibling),Dt=y(W,ft.props),Jr(Dt,ft),Dt.return=st,st=Dt;break t}o(st,W);break}else l(st,W);W=W.sibling}ft.type===V?(Dt=Xo(ft.props.children,st.mode,Dt,ft.key),Dt.return=st,st=Dt):(Dt=Jh(ft.type,ft.key,ft.props,null,st.mode,Dt),Jr(Dt,ft),Dt.return=st,st=Dt)}return C(st);case _:t:{for(qt=ft.key;W!==null;){if(W.key===qt)if(W.tag===4&&W.stateNode.containerInfo===ft.containerInfo&&W.stateNode.implementation===ft.implementation){o(st,W.sibling),Dt=y(W,ft.children||[]),Dt.return=st,st=Dt;break t}else{o(st,W);break}else l(st,W);W=W.sibling}Dt=Kh(ft,st.mode,Dt),Dt.return=st,st=Dt}return C(st);case j:return ft=Ou(ft),Xe(st,W,ft,Dt)}if(ct(ft))return Vt(st,W,ft,Dt);if(K(ft)){if(qt=K(ft),typeof qt!="function")throw Error(f(150));return ft=qt.call(ft),Zt(st,W,ft,Dt)}if(typeof ft.then=="function")return Xe(st,W,Lf(ft),Dt);if(ft.$$typeof===k)return Xe(st,W,Zo(st,ft),Dt);Yf(st,ft)}return typeof ft=="string"&&ft!==""||typeof ft=="number"||typeof ft=="bigint"?(ft=""+ft,W!==null&&W.tag===6?(o(st,W.sibling),Dt=y(W,ft),Dt.return=st,st=Dt):(o(st,W),Dt=qr(ft,st.mode,Dt),Dt.return=st,st=Dt),C(st)):o(st,W)}return function(st,W,ft,Dt){try{Us=0;var qt=Xe(st,W,ft,Dt);return Ru=null,qt}catch(Lt){if(Lt===Cu||Lt===kr)throw Lt;var Ee=vn(29,Lt,null,st.mode);return Ee.lanes=Dt,Ee.return=st,Ee}}}var wu=gv(!0),P0=gv(!1),Jo=!1;function qf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ph(n,l){n=n.updateQueue,l.updateQueue===n&&(l.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Ko(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function xl(n,l,o){var r=n.updateQueue;if(r===null)return null;if(r=r.shared,(De&2)!==0){var y=r.pending;return y===null?l.next=l:(l.next=y.next,y.next=l),r.pending=l,l=zf(n),kh(n,null,o),l}return bl(n,r,l,o),zf(n)}function Uu(n,l,o){if(l=l.updateQueue,l!==null&&(l=l.shared,(o&4194048)!==0)){var r=l.lanes;r&=n.pendingLanes,o|=r,l.lanes=o,Bi(n,o)}}function tm(n,l){var o=n.updateQueue,r=n.alternate;if(r!==null&&(r=r.updateQueue,o===r)){var y=null,v=null;if(o=o.firstBaseUpdate,o!==null){do{var C={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};v===null?y=v=C:v=v.next=C,o=o.next}while(o!==null);v===null?y=v=l:v=v.next=l}else y=v=l;o={baseState:r.baseState,firstBaseUpdate:y,lastBaseUpdate:v,shared:r.shared,callbacks:r.callbacks},n.updateQueue=o;return}n=o.lastBaseUpdate,n===null?o.firstBaseUpdate=l:n.next=l,o.lastBaseUpdate=l}var ty=!1;function _u(){if(ty){var n=jn;if(n!==null)throw n}}function $i(n,l,o,r){ty=!1;var y=n.updateQueue;Jo=!1;var v=y.firstBaseUpdate,C=y.lastBaseUpdate,N=y.shared.pending;if(N!==null){y.shared.pending=null;var Z=N,mt=Z.next;Z.next=null,C===null?v=mt:C.next=mt,C=Z;var Tt=n.alternate;Tt!==null&&(Tt=Tt.updateQueue,N=Tt.lastBaseUpdate,N!==C&&(N===null?Tt.firstBaseUpdate=mt:N.next=mt,Tt.lastBaseUpdate=Z))}if(v!==null){var Mt=y.baseState;C=0,Tt=mt=Z=null,N=v;do{var yt=N.lane&-536870913,At=yt!==N.lane;if(At?(he&yt)===yt:(r&yt)===yt){yt!==0&&yt===Mu&&(ty=!0),Tt!==null&&(Tt=Tt.next={lane:0,tag:N.tag,payload:N.payload,callback:null,next:null});t:{var Vt=n,Zt=N;yt=l;var Xe=o;switch(Zt.tag){case 1:if(Vt=Zt.payload,typeof Vt=="function"){Mt=Vt.call(Xe,Mt,yt);break t}Mt=Vt;break t;case 3:Vt.flags=Vt.flags&-65537|128;case 0:if(Vt=Zt.payload,yt=typeof Vt=="function"?Vt.call(Xe,Mt,yt):Vt,yt==null)break t;Mt=E({},Mt,yt);break t;case 2:Jo=!0}}yt=N.callback,yt!==null&&(n.flags|=64,At&&(n.flags|=8192),At=y.callbacks,At===null?y.callbacks=[yt]:At.push(yt))}else At={lane:yt,tag:N.tag,payload:N.payload,callback:N.callback,next:null},Tt===null?(mt=Tt=At,Z=Mt):Tt=Tt.next=At,C|=yt;if(N=N.next,N===null){if(N=y.shared.pending,N===null)break;At=N,N=At.next,At.next=null,y.lastBaseUpdate=At,y.shared.pending=null}}while(!0);Tt===null&&(Z=Mt),y.baseState=Z,y.firstBaseUpdate=mt,y.lastBaseUpdate=Tt,v===null&&(y.shared.lanes=0),Ei|=C,n.lanes=C,n.memoizedState=Mt}}function em(n,l){if(typeof n!="function")throw Error(f(191,n));n.call(l)}function Nu(n,l){var o=n.callbacks;if(o!==null)for(n.callbacks=null,n=0;n<o.length;n++)em(o[n],l)}var Gn=ut(null),_s=ut(0);function vv(n,l){n=Ti,Et(_s,n),Et(Gn,l),Ti=n|l.baseLanes}function Gf(){Et(_s,Ti),Et(Gn,Gn.current)}function Kr(){Ti=_s.current,pt(Gn),pt(_s)}var qa=ut(null),Dl=null;function Ii(n){var l=n.alternate;Et(on,on.current&1),Et(qa,n),Dl===null&&(l===null||Gn.current!==null||l.memoizedState!==null)&&(Dl=n)}function Fr(n){Et(on,on.current),Et(qa,n),Dl===null&&(Dl=n)}function nm(n){n.tag===22?(Et(on,on.current),Et(qa,n),Dl===null&&(Dl=n)):gi()}function gi(){Et(on,on.current),Et(qa,qa.current)}function Ga(n){pt(qa),Dl===n&&(Dl=null),pt(on)}var on=ut(0);function $r(n){for(var l=n;l!==null;){if(l.tag===13){var o=l.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||Wl(o)||ku(o)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Wi=0,ae=null,Ne=null,wn=null,Ns=!1,js=!1,Fo=!1,Xf=0,Ir=0,ju=null,bv=0;function hn(){throw Error(f(321))}function $o(n,l){if(l===null)return!1;for(var o=0;o<l.length&&o<n.length;o++)if(!Ta(n[o],l[o]))return!1;return!0}function Qf(n,l,o,r,y,v){return Wi=v,ae=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,R.H=n===null||n.memoizedState===null?Cv:bm,Fo=!1,v=o(r,y),Fo=!1,js&&(v=Sv(l,o,r,y)),am(n),v}function am(n){R.H=Pf;var l=Ne!==null&&Ne.next!==null;if(Wi=0,wn=Ne=ae=null,Ns=!1,Ir=0,ju=null,l)throw Error(f(300));n===null||Un||(n=n.dependencies,n!==null&&Cs(n)&&(Un=!0))}function Sv(n,l,o,r){ae=n;var y=0;do{if(js&&(ju=null),Ir=0,js=!1,25<=y)throw Error(f(301));if(y+=1,wn=Ne=null,n.updateQueue!=null){var v=n.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}R.H=Ov,v=l(o,r)}while(js);return v}function C3(){var n=R.H,l=n.useState()[0];return l=typeof l.then=="function"?Bs(l):l,n=n.useState()[0],(Ne!==null?Ne.memoizedState:null)!==n&&(ae.flags|=1024),l}function lm(){var n=Xf!==0;return Xf=0,n}function Hs(n,l,o){l.updateQueue=n.updateQueue,l.flags&=-2053,n.lanes&=~o}function Zf(n){if(Ns){for(n=n.memoizedState;n!==null;){var l=n.queue;l!==null&&(l.pending=null),n=n.next}Ns=!1}Wi=0,wn=Ne=ae=null,js=!1,Ir=Xf=0,ju=null}function Pn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wn===null?ae.memoizedState=wn=n:wn=wn.next=n,wn}function Sn(){if(Ne===null){var n=ae.alternate;n=n!==null?n.memoizedState:null}else n=Ne.next;var l=wn===null?ae.memoizedState:wn.next;if(l!==null)wn=l,Ne=n;else{if(n===null)throw ae.alternate===null?Error(f(467)):Error(f(310));Ne=n,n={memoizedState:Ne.memoizedState,baseState:Ne.baseState,baseQueue:Ne.baseQueue,queue:Ne.queue,next:null},wn===null?ae.memoizedState=wn=n:wn=wn.next=n}return wn}function kf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bs(n){var l=Ir;return Ir+=1,ju===null&&(ju=[]),n=I0(ju,n,l),l=ae,(wn===null?l.memoizedState:wn.next)===null&&(l=l.alternate,R.H=l===null||l.memoizedState===null?Cv:bm),n}function Wr(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Bs(n);if(n.$$typeof===k)return Ct(n)}throw Error(f(438,String(n)))}function im(n){var l=null,o=ae.updateQueue;if(o!==null&&(l=o.memoCache),l==null){var r=ae.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(l={data:r.data.map(function(y){return y.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),o===null&&(o=kf(),ae.updateQueue=o),o.memoCache=l,o=l.data[l.index],o===void 0)for(o=l.data[l.index]=Array(n),r=0;r<n;r++)o[r]=q;return l.index++,o}function Pi(n,l){return typeof l=="function"?l(n):l}function to(n){var l=Sn();return om(l,Ne,n)}function om(n,l,o){var r=n.queue;if(r===null)throw Error(f(311));r.lastRenderedReducer=o;var y=n.baseQueue,v=r.pending;if(v!==null){if(y!==null){var C=y.next;y.next=v.next,v.next=C}l.baseQueue=y=v,r.pending=null}if(v=n.baseState,y===null)n.memoizedState=v;else{l=y.next;var N=C=null,Z=null,mt=l,Tt=!1;do{var Mt=mt.lane&-536870913;if(Mt!==mt.lane?(he&Mt)===Mt:(Wi&Mt)===Mt){var yt=mt.revertLane;if(yt===0)Z!==null&&(Z=Z.next={lane:0,revertLane:0,gesture:null,action:mt.action,hasEagerState:mt.hasEagerState,eagerState:mt.eagerState,next:null}),Mt===Mu&&(Tt=!0);else if((Wi&yt)===yt){mt=mt.next,yt===Mu&&(Tt=!0);continue}else Mt={lane:0,revertLane:mt.revertLane,gesture:null,action:mt.action,hasEagerState:mt.hasEagerState,eagerState:mt.eagerState,next:null},Z===null?(N=Z=Mt,C=v):Z=Z.next=Mt,ae.lanes|=yt,Ei|=yt;Mt=mt.action,Fo&&o(v,Mt),v=mt.hasEagerState?mt.eagerState:o(v,Mt)}else yt={lane:Mt,revertLane:mt.revertLane,gesture:mt.gesture,action:mt.action,hasEagerState:mt.hasEagerState,eagerState:mt.eagerState,next:null},Z===null?(N=Z=yt,C=v):Z=Z.next=yt,ae.lanes|=Mt,Ei|=Mt;mt=mt.next}while(mt!==null&&mt!==l);if(Z===null?C=v:Z.next=N,!Ta(v,n.memoizedState)&&(Un=!0,Tt&&(o=jn,o!==null)))throw o;n.memoizedState=v,n.baseState=C,n.baseQueue=Z,r.lastRenderedState=v}return y===null&&(r.lanes=0),[n.memoizedState,r.dispatch]}function um(n){var l=Sn(),o=l.queue;if(o===null)throw Error(f(311));o.lastRenderedReducer=n;var r=o.dispatch,y=o.pending,v=l.memoizedState;if(y!==null){o.pending=null;var C=y=y.next;do v=n(v,C.action),C=C.next;while(C!==y);Ta(v,l.memoizedState)||(Un=!0),l.memoizedState=v,l.baseQueue===null&&(l.baseState=v),o.lastRenderedState=v}return[v,r]}function ey(n,l,o){var r=ae,y=Sn(),v=ge;if(v){if(o===void 0)throw Error(f(407));o=o()}else o=l();var C=!Ta((Ne||y).memoizedState,o);if(C&&(y.memoizedState=o,Un=!0),y=y.queue,dm(sm.bind(null,r,y,n),[n]),y.getSnapshot!==l||C||wn!==null&&wn.memoizedState.tag&1){if(r.flags|=2048,Ls(9,{destroy:void 0},ny.bind(null,r,y,o,l),null),qe===null)throw Error(f(349));v||(Wi&127)!==0||Jf(r,l,o)}return o}function Jf(n,l,o){n.flags|=16384,n={getSnapshot:l,value:o},l=ae.updateQueue,l===null?(l=kf(),ae.updateQueue=l,l.stores=[n]):(o=l.stores,o===null?l.stores=[n]:o.push(n))}function ny(n,l,o,r){l.value=o,l.getSnapshot=r,rm(l)&&cm(n)}function sm(n,l,o){return o(function(){rm(l)&&cm(n)})}function rm(n){var l=n.getSnapshot;n=n.value;try{var o=l();return!Ta(n,o)}catch{return!0}}function cm(n){var l=qo(n,2);l!==null&&Ka(l,n,2)}function ay(n){var l=Pn();if(typeof n=="function"){var o=n;if(n=o(),Fo){da(!0);try{o()}finally{da(!1)}}}return l.memoizedState=l.baseState=n,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pi,lastRenderedState:n},l}function ta(n,l,o,r){return n.baseState=o,om(n,Ne,typeof r=="function"?r:Pi)}function Av(n,l,o,r,y){if(Wf(n))throw Error(f(485));if(n=l.action,n!==null){var v={payload:y,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(C){v.listeners.push(C)}};R.T!==null?o(!0):v.isTransition=!1,r(v),o=l.pending,o===null?(v.next=l.pending=v,ly(l,v)):(v.next=o.next,l.pending=o.next=v)}}function ly(n,l){var o=l.action,r=l.payload,y=n.state;if(l.isTransition){var v=R.T,C={};R.T=C;try{var N=o(y,r),Z=R.S;Z!==null&&Z(C,N),iy(n,l,N)}catch(mt){Vs(n,l,mt)}finally{v!==null&&C.types!==null&&(v.types=C.types),R.T=v}}else try{v=o(y,r),iy(n,l,v)}catch(mt){Vs(n,l,mt)}}function iy(n,l,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(r){oy(n,l,r)},function(r){return Vs(n,l,r)}):oy(n,l,o)}function oy(n,l,o){l.status="fulfilled",l.value=o,uy(l),n.state=o,l=n.pending,l!==null&&(o=l.next,o===l?n.pending=null:(o=o.next,l.next=o,ly(n,o)))}function Vs(n,l,o){var r=n.pending;if(n.pending=null,r!==null){r=r.next;do l.status="rejected",l.reason=o,uy(l),l=l.next;while(l!==r)}n.action=null}function uy(n){n=n.listeners;for(var l=0;l<n.length;l++)(0,n[l])()}function Kf(n,l){return l}function sy(n,l){if(ge){var o=qe.formState;if(o!==null){t:{var r=ae;if(ge){if(Ze){e:{for(var y=Ze,v=qn;y.nodeType!==8;){if(!v){y=null;break e}if(y=Fa(y.nextSibling),y===null){y=null;break e}}v=y.data,y=v==="F!"||v==="F"?y:null}if(y){Ze=Fa(y.nextSibling),r=y.data==="F!";break t}}Kl(r)}r=!1}r&&(l=o[0])}}return o=Pn(),o.memoizedState=o.baseState=l,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kf,lastRenderedState:l},o.queue=r,o=gm.bind(null,ae,r),r.dispatch=o,r=ay(!1),v=Hu.bind(null,ae,!1,r.queue),r=Pn(),y={state:l,dispatch:null,action:n,pending:null},r.queue=y,o=Av.bind(null,ae,y,v,o),y.dispatch=o,r.memoizedState=n,[l,o,!1]}function Tv(n){var l=Sn();return Ff(l,Ne,n)}function Ff(n,l,o){if(l=om(n,l,Kf)[0],n=to(Pi)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var r=Bs(l)}catch(C){throw C===Cu?kr:C}else r=l;l=Sn();var y=l.queue,v=y.dispatch;return o!==l.memoizedState&&(ae.flags|=2048,Ls(9,{destroy:void 0},ry.bind(null,y,o),null)),[r,v,n]}function ry(n,l){n.action=l}function cy(n){var l=Sn(),o=Ne;if(o!==null)return Ff(l,o,n);Sn(),l=l.memoizedState,o=Sn();var r=o.queue.dispatch;return o.memoizedState=n,[l,r,!1]}function Ls(n,l,o,r){return n={tag:n,create:o,deps:r,inst:l,next:null},l=ae.updateQueue,l===null&&(l=kf(),ae.updateQueue=l),o=l.lastEffect,o===null?l.lastEffect=n.next=n:(r=o.next,o.next=n,n.next=r,l.lastEffect=n),n}function fy(){return Sn().memoizedState}function Pr(n,l,o,r){var y=Pn();ae.flags|=n,y.memoizedState=Ls(1|l,{destroy:void 0},o,r===void 0?null:r)}function tc(n,l,o,r){var y=Sn();r=r===void 0?null:r;var v=y.memoizedState.inst;Ne!==null&&r!==null&&$o(r,Ne.memoizedState.deps)?y.memoizedState=Ls(l,v,o,r):(ae.flags|=n,y.memoizedState=Ls(1|l,v,o,r))}function fm(n,l){Pr(8390656,8,n,l)}function dm(n,l){tc(2048,8,n,l)}function dy(n){ae.flags|=4;var l=ae.updateQueue;if(l===null)l=kf(),ae.updateQueue=l,l.events=[n];else{var o=l.events;o===null?l.events=[n]:o.push(n)}}function $f(n){var l=Sn().memoizedState;return dy({ref:l,nextImpl:n}),function(){if((De&2)!==0)throw Error(f(440));return l.impl.apply(void 0,arguments)}}function hm(n,l){return tc(4,2,n,l)}function hy(n,l){return tc(4,4,n,l)}function mm(n,l){if(typeof l=="function"){n=n();var o=l(n);return function(){typeof o=="function"?o():l(null)}}if(l!=null)return n=n(),l.current=n,function(){l.current=null}}function my(n,l,o){o=o!=null?o.concat([n]):null,tc(4,4,mm.bind(null,l,n),o)}function vi(){}function pm(n,l){var o=Sn();l=l===void 0?null:l;var r=o.memoizedState;return l!==null&&$o(l,r[1])?r[0]:(o.memoizedState=[n,l],n)}function Ev(n,l){var o=Sn();l=l===void 0?null:l;var r=o.memoizedState;if(l!==null&&$o(l,r[1]))return r[0];if(r=n(),Fo){da(!0);try{n()}finally{da(!1)}}return o.memoizedState=[r,l],r}function If(n,l,o){return o===void 0||(Wi&1073741824)!==0&&(he&261930)===0?n.memoizedState=l:(n.memoizedState=o,n=Vv(),ae.lanes|=n,Ei|=n,o)}function eo(n,l,o,r){return Ta(o,l)?o:Gn.current!==null?(n=If(n,o,r),Ta(n,l)||(Un=!0),n):(Wi&42)===0||(Wi&1073741824)!==0&&(he&261930)===0?(Un=!0,n.memoizedState=o):(n=Vv(),ae.lanes|=n,Ei|=n,l)}function ym(n,l,o,r,y){var v=w.p;w.p=v!==0&&8>v?v:8;var C=R.T,N={};R.T=N,Hu(n,!1,l,o);try{var Z=y(),mt=R.S;if(mt!==null&&mt(N,Z),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var Tt=Vf(Z,r);Io(n,l,Tt,ol(n))}else Io(n,l,r,ol(n))}catch(Mt){Io(n,l,{then:function(){},status:"rejected",reason:Mt},ol())}finally{w.p=v,C!==null&&N.types!==null&&(C.types=N.types),R.T=C}}function xv(){}function ec(n,l,o,r){if(n.tag!==5)throw Error(f(476));var y=nc(n).queue;ym(n,y,l,J,o===null?xv:function(){return Ye(n),o(r)})}function nc(n){var l=n.memoizedState;if(l!==null)return l;l={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pi,lastRenderedState:J},next:null};var o={};return l.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pi,lastRenderedState:o},next:null},n.memoizedState=l,n=n.alternate,n!==null&&(n.memoizedState=l),l}function Ye(n){var l=nc(n);l.next===null&&(l=n.alternate.memoizedState),Io(n,l.next.queue,{},ol())}function py(){return Ct(Md)}function Dv(){return Sn().memoizedState}function yy(){return Sn().memoizedState}function no(n){for(var l=n.return;l!==null;){switch(l.tag){case 24:case 3:var o=ol();n=Ko(o);var r=xl(l,n,o);r!==null&&(Ka(r,l,o),Uu(r,l,o)),l={cache:Nf()},n.payload=l;return}l=l.return}}function Mv(n,l,o){var r=ol();o={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Wf(n)?vm(l,o):(o=kl(n,l,o,r),o!==null&&(Ka(o,n,r),gy(o,l,r)))}function gm(n,l,o){var r=ol();Io(n,l,o,r)}function Io(n,l,o,r){var y={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(Wf(n))vm(l,y);else{var v=n.alternate;if(n.lanes===0&&(v===null||v.lanes===0)&&(v=l.lastRenderedReducer,v!==null))try{var C=l.lastRenderedState,N=v(C,o);if(y.hasEagerState=!0,y.eagerState=N,Ta(N,C))return bl(n,l,y,0),qe===null&&vl(),!1}catch{}if(o=kl(n,l,y,r),o!==null)return Ka(o,n,r),gy(o,l,r),!0}return!1}function Hu(n,l,o,r){if(r={lane:2,revertLane:Qm(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Wf(n)){if(l)throw Error(f(479))}else l=kl(n,o,r,2),l!==null&&Ka(l,n,2)}function Wf(n){var l=n.alternate;return n===ae||l!==null&&l===ae}function vm(n,l){js=Ns=!0;var o=n.pending;o===null?l.next=l:(l.next=o.next,o.next=l),n.pending=l}function gy(n,l,o){if((o&4194048)!==0){var r=l.lanes;r&=n.pendingLanes,o|=r,l.lanes=o,Bi(n,o)}}var Pf={readContext:Ct,use:Wr,useCallback:hn,useContext:hn,useEffect:hn,useImperativeHandle:hn,useLayoutEffect:hn,useInsertionEffect:hn,useMemo:hn,useReducer:hn,useRef:hn,useState:hn,useDebugValue:hn,useDeferredValue:hn,useTransition:hn,useSyncExternalStore:hn,useId:hn,useHostTransitionStatus:hn,useFormState:hn,useActionState:hn,useOptimistic:hn,useMemoCache:hn,useCacheRefresh:hn};Pf.useEffectEvent=hn;var Cv={readContext:Ct,use:Wr,useCallback:function(n,l){return Pn().memoizedState=[n,l===void 0?null:l],n},useContext:Ct,useEffect:fm,useImperativeHandle:function(n,l,o){o=o!=null?o.concat([n]):null,Pr(4194308,4,mm.bind(null,l,n),o)},useLayoutEffect:function(n,l){return Pr(4194308,4,n,l)},useInsertionEffect:function(n,l){Pr(4,2,n,l)},useMemo:function(n,l){var o=Pn();l=l===void 0?null:l;var r=n();if(Fo){da(!0);try{n()}finally{da(!1)}}return o.memoizedState=[r,l],r},useReducer:function(n,l,o){var r=Pn();if(o!==void 0){var y=o(l);if(Fo){da(!0);try{o(l)}finally{da(!1)}}}else y=l;return r.memoizedState=r.baseState=y,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:y},r.queue=n,n=n.dispatch=Mv.bind(null,ae,n),[r.memoizedState,n]},useRef:function(n){var l=Pn();return n={current:n},l.memoizedState=n},useState:function(n){n=ay(n);var l=n.queue,o=gm.bind(null,ae,l);return l.dispatch=o,[n.memoizedState,o]},useDebugValue:vi,useDeferredValue:function(n,l){var o=Pn();return If(o,n,l)},useTransition:function(){var n=ay(!1);return n=ym.bind(null,ae,n.queue,!0,!1),Pn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,l,o){var r=ae,y=Pn();if(ge){if(o===void 0)throw Error(f(407));o=o()}else{if(o=l(),qe===null)throw Error(f(349));(he&127)!==0||Jf(r,l,o)}y.memoizedState=o;var v={value:o,getSnapshot:l};return y.queue=v,fm(sm.bind(null,r,v,n),[n]),r.flags|=2048,Ls(9,{destroy:void 0},ny.bind(null,r,v,o,l),null),o},useId:function(){var n=Pn(),l=qe.identifierPrefix;if(ge){var o=mi,r=nl;o=(r&~(1<<32-Yn(r)-1)).toString(32)+o,l="_"+l+"R_"+o,o=Xf++,0<o&&(l+="H"+o.toString(32)),l+="_"}else o=bv++,l="_"+l+"r_"+o.toString(32)+"_";return n.memoizedState=l},useHostTransitionStatus:py,useFormState:sy,useActionState:sy,useOptimistic:function(n){var l=Pn();l.memoizedState=l.baseState=n;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=o,l=Hu.bind(null,ae,!0,o),o.dispatch=l,[n,l]},useMemoCache:im,useCacheRefresh:function(){return Pn().memoizedState=no.bind(null,ae)},useEffectEvent:function(n){var l=Pn(),o={impl:n};return l.memoizedState=o,function(){if((De&2)!==0)throw Error(f(440));return o.impl.apply(void 0,arguments)}}},bm={readContext:Ct,use:Wr,useCallback:pm,useContext:Ct,useEffect:dm,useImperativeHandle:my,useInsertionEffect:hm,useLayoutEffect:hy,useMemo:Ev,useReducer:to,useRef:fy,useState:function(){return to(Pi)},useDebugValue:vi,useDeferredValue:function(n,l){var o=Sn();return eo(o,Ne.memoizedState,n,l)},useTransition:function(){var n=to(Pi)[0],l=Sn().memoizedState;return[typeof n=="boolean"?n:Bs(n),l]},useSyncExternalStore:ey,useId:Dv,useHostTransitionStatus:py,useFormState:Tv,useActionState:Tv,useOptimistic:function(n,l){var o=Sn();return ta(o,Ne,n,l)},useMemoCache:im,useCacheRefresh:yy};bm.useEffectEvent=$f;var Ov={readContext:Ct,use:Wr,useCallback:pm,useContext:Ct,useEffect:dm,useImperativeHandle:my,useInsertionEffect:hm,useLayoutEffect:hy,useMemo:Ev,useReducer:um,useRef:fy,useState:function(){return um(Pi)},useDebugValue:vi,useDeferredValue:function(n,l){var o=Sn();return Ne===null?If(o,n,l):eo(o,Ne.memoizedState,n,l)},useTransition:function(){var n=um(Pi)[0],l=Sn().memoizedState;return[typeof n=="boolean"?n:Bs(n),l]},useSyncExternalStore:ey,useId:Dv,useHostTransitionStatus:py,useFormState:cy,useActionState:cy,useOptimistic:function(n,l){var o=Sn();return Ne!==null?ta(o,Ne,n,l):(o.baseState=n,[n,o.queue.dispatch])},useMemoCache:im,useCacheRefresh:yy};Ov.useEffectEvent=$f;function Ys(n,l,o,r){l=n.memoizedState,o=o(r,l),o=o==null?l:E({},l,o),n.memoizedState=o,n.lanes===0&&(n.updateQueue.baseState=o)}var Fl={enqueueSetState:function(n,l,o){n=n._reactInternals;var r=ol(),y=Ko(r);y.payload=l,o!=null&&(y.callback=o),l=xl(n,y,r),l!==null&&(Ka(l,n,r),Uu(l,n,r))},enqueueReplaceState:function(n,l,o){n=n._reactInternals;var r=ol(),y=Ko(r);y.tag=1,y.payload=l,o!=null&&(y.callback=o),l=xl(n,y,r),l!==null&&(Ka(l,n,r),Uu(l,n,r))},enqueueForceUpdate:function(n,l){n=n._reactInternals;var o=ol(),r=Ko(o);r.tag=2,l!=null&&(r.callback=l),l=xl(n,r,o),l!==null&&(Ka(l,n,o),Uu(l,n,o))}};function vy(n,l,o,r,y,v,C){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(r,v,C):l.prototype&&l.prototype.isPureReactComponent?!Xl(o,r)||!Xl(y,v):!0}function zv(n,l,o,r){n=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(o,r),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(o,r),l.state!==n&&Fl.enqueueReplaceState(l,l.state,null)}function Bu(n,l){var o=l;if("ref"in l){o={};for(var r in l)r!=="ref"&&(o[r]=l[r])}if(n=n.defaultProps){o===l&&(o=E({},o));for(var y in n)o[y]===void 0&&(o[y]=n[y])}return o}function Sm(n){xs(n)}function by(n){console.error(n)}function Am(n){xs(n)}function ac(n,l){try{var o=n.onUncaughtError;o(l.value,{componentStack:l.stack})}catch(r){setTimeout(function(){throw r})}}function td(n,l,o){try{var r=n.onCaughtError;r(o.value,{componentStack:o.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(y){setTimeout(function(){throw y})}}function Sy(n,l,o){return o=Ko(o),o.tag=3,o.payload={element:null},o.callback=function(){ac(n,l)},o}function Ay(n){return n=Ko(n),n.tag=3,n}function Ty(n,l,o,r){var y=o.type.getDerivedStateFromError;if(typeof y=="function"){var v=r.value;n.payload=function(){return y(v)},n.callback=function(){td(l,o,r)}}var C=o.stateNode;C!==null&&typeof C.componentDidCatch=="function"&&(n.callback=function(){td(l,o,r),typeof y!="function"&&(un===null?un=new Set([this]):un.add(this));var N=r.stack;this.componentDidCatch(r.value,{componentStack:N!==null?N:""})})}function O3(n,l,o,r,y){if(o.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(l=o.alternate,l!==null&&Wn(l,o,y,!0),o=qa.current,o!==null){switch(o.tag){case 31:case 13:return Dl===null?Ym():o.alternate===null&&Je===0&&(Je=3),o.flags&=-257,o.flags|=65536,o.lanes=y,r===ws?o.flags|=16384:(l=o.updateQueue,l===null?o.updateQueue=new Set([r]):l.add(r),md(n,r,y)),!1;case 22:return o.flags|=65536,r===ws?o.flags|=16384:(l=o.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([r])},o.updateQueue=l):(o=l.retryQueue,o===null?l.retryQueue=new Set([r]):o.add(r)),md(n,r,y)),!1}throw Error(f(435,o.tag))}return md(n,r,y),Ym(),!1}if(ge)return l=qa.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=y,r!==Ji&&(n=Error(f(422),{cause:r}),Qr(Sl(n,o)))):(r!==Ji&&(l=Error(f(423),{cause:r}),Qr(Sl(l,o))),n=n.current.alternate,n.flags|=65536,y&=-y,n.lanes|=y,r=Sl(r,o),y=Sy(n.stateNode,r,y),tm(n,y),Je!==4&&(Je=2)),!1;var v=Error(f(520),{cause:r});if(v=Sl(v,o),cd===null?cd=[v]:cd.push(v),Je!==4&&(Je=2),l===null)return!0;r=Sl(r,o),o=l;do{switch(o.tag){case 3:return o.flags|=65536,n=y&-y,o.lanes|=n,n=Sy(o.stateNode,r,n),tm(o,n),!1;case 1:if(l=o.type,v=o.stateNode,(o.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(un===null||!un.has(v))))return o.flags|=65536,y&=-y,o.lanes|=y,y=Ay(y),Ty(y,n,o,r),tm(o,y),!1}o=o.return}while(o!==null);return!1}var Tm=Error(f(461)),Un=!1;function en(n,l,o,r){l.child=n===null?P0(l,null,o,r):wu(l,n.child,o,r)}function Ey(n,l,o,r,y){o=o.render;var v=l.ref;if("ref"in r){var C={};for(var N in r)N!=="ref"&&(C[N]=r[N])}else C=r;return It(l),r=Qf(n,l,o,C,v,y),N=lm(),n!==null&&!Un?(Hs(n,l,y),Ol(n,l,y)):(ge&&N&&Gr(l),l.flags|=1,en(n,l,r,y),l.child)}function xy(n,l,o,r,y){if(n===null){var v=o.type;return typeof v=="function"&&!Ds(v)&&v.defaultProps===void 0&&o.compare===null?(l.tag=15,l.type=v,Dy(n,l,v,r,y)):(n=Jh(o.type,null,r,l,l.mode,y),n.ref=l.ref,n.return=l,l.child=n)}if(v=n.child,!Dm(n,y)){var C=v.memoizedProps;if(o=o.compare,o=o!==null?o:Xl,o(C,r)&&n.ref===l.ref)return Ol(n,l,y)}return l.flags|=1,n=Go(v,r),n.ref=l.ref,n.return=l,l.child=n}function Dy(n,l,o,r,y){if(n!==null){var v=n.memoizedProps;if(Xl(v,r)&&n.ref===l.ref)if(Un=!1,l.pendingProps=r=v,Dm(n,y))(n.flags&131072)!==0&&(Un=!0);else return l.lanes=n.lanes,Ol(n,l,y)}return Em(n,l,o,r,y)}function Rv(n,l,o,r){var y=r.children,v=n!==null?n.memoizedState:null;if(n===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((l.flags&128)!==0){if(v=v!==null?v.baseLanes|o:o,n!==null){for(r=l.child=n.child,y=0;r!==null;)y=y|r.lanes|r.childLanes,r=r.sibling;r=y&~v}else r=0,l.child=null;return Xa(n,l,v,o,r)}if((o&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},n!==null&&Zr(l,v!==null?v.cachePool:null),v!==null?vv(l,v):Gf(),nm(l);else return r=l.lanes=536870912,Xa(n,l,v!==null?v.baseLanes|o:o,o,r)}else v!==null?(Zr(l,v.cachePool),vv(l,v),gi(),l.memoizedState=null):(n!==null&&Zr(l,null),Gf(),gi());return en(n,l,y,o),l.child}function Vu(n,l){return n!==null&&n.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function Xa(n,l,o,r,y){var v=El();return v=v===null?null:{parent:Rn._currentValue,pool:v},l.memoizedState={baseLanes:o,cachePool:v},n!==null&&Zr(l,null),Gf(),nm(l),n!==null&&Wn(n,l,r,!0),l.childLanes=y,null}function ed(n,l){return l=ld({mode:l.mode,children:l.children},n.mode),l.ref=n.ref,n.child=l,l.return=n,l}function Qa(n,l,o){return wu(l,n.child,null,o),n=ed(l,l.pendingProps),n.flags|=2,Ga(l),l.memoizedState=null,n}function wv(n,l,o){var r=l.pendingProps,y=(l.flags&128)!==0;if(l.flags&=-129,n===null){if(ge){if(r.mode==="hidden")return n=ed(l,r),l.lanes=536870912,Vu(null,n);if(Fr(l),(n=Ze)?(n=d2(n,qn),n=n!==null&&n.data==="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:hi!==null?{id:nl,overflow:mi}:null,retryLane:536870912,hydrationErrors:null},o=Q0(n),o.return=l,l.child=o,In=l,Ze=null)):n=null,n===null)throw Kl(l);return l.lanes=536870912,null}return ed(l,r)}var v=n.memoizedState;if(v!==null){var C=v.dehydrated;if(Fr(l),y)if(l.flags&256)l.flags&=-257,l=Qa(n,l,o);else if(l.memoizedState!==null)l.child=n.child,l.flags|=128,l=null;else throw Error(f(558));else if(Un||Wn(n,l,o,!1),y=(o&n.childLanes)!==0,Un||y){if(r=qe,r!==null&&(C=pl(r,o),C!==0&&C!==v.retryLane))throw v.retryLane=C,qo(n,C),Ka(r,n,C),Tm;Ym(),l=Qa(n,l,o)}else n=v.treeContext,Ze=Fa(C.nextSibling),In=l,ge=!0,ki=null,qn=!1,n!==null&&wf(l,n),l=ed(l,r),l.flags|=4096;return l}return n=Go(n.child,{mode:r.mode,children:r.children}),n.ref=l.ref,l.child=n,n.return=l,n}function Ml(n,l){var o=l.ref;if(o===null)n!==null&&n.ref!==null&&(l.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(f(284));(n===null||n.ref!==o)&&(l.flags|=4194816)}}function Em(n,l,o,r,y){return It(l),o=Qf(n,l,o,r,void 0,y),r=lm(),n!==null&&!Un?(Hs(n,l,y),Ol(n,l,y)):(ge&&r&&Gr(l),l.flags|=1,en(n,l,o,y),l.child)}function Lu(n,l,o,r,y,v){return It(l),l.updateQueue=null,o=Sv(l,r,o,y),am(n),r=lm(),n!==null&&!Un?(Hs(n,l,v),Ol(n,l,v)):(ge&&r&&Gr(l),l.flags|=1,en(n,l,o,v),l.child)}function My(n,l,o,r,y){if(It(l),l.stateNode===null){var v=Va,C=o.contextType;typeof C=="object"&&C!==null&&(v=Ct(C)),v=new o(r,v),l.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=Fl,l.stateNode=v,v._reactInternals=l,v=l.stateNode,v.props=r,v.state=l.memoizedState,v.refs={},qf(l),C=o.contextType,v.context=typeof C=="object"&&C!==null?Ct(C):Va,v.state=l.memoizedState,C=o.getDerivedStateFromProps,typeof C=="function"&&(Ys(l,o,C,r),v.state=l.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(C=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),C!==v.state&&Fl.enqueueReplaceState(v,v.state,null),$i(l,r,v,y),_u(),v.state=l.memoizedState),typeof v.componentDidMount=="function"&&(l.flags|=4194308),r=!0}else if(n===null){v=l.stateNode;var N=l.memoizedProps,Z=Bu(o,N);v.props=Z;var mt=v.context,Tt=o.contextType;C=Va,typeof Tt=="object"&&Tt!==null&&(C=Ct(Tt));var Mt=o.getDerivedStateFromProps;Tt=typeof Mt=="function"||typeof v.getSnapshotBeforeUpdate=="function",N=l.pendingProps!==N,Tt||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(N||mt!==C)&&zv(l,v,r,C),Jo=!1;var yt=l.memoizedState;v.state=yt,$i(l,r,v,y),_u(),mt=l.memoizedState,N||yt!==mt||Jo?(typeof Mt=="function"&&(Ys(l,o,Mt,r),mt=l.memoizedState),(Z=Jo||vy(l,o,Z,r,yt,mt,C))?(Tt||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(l.flags|=4194308)):(typeof v.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=r,l.memoizedState=mt),v.props=r,v.state=mt,v.context=C,r=Z):(typeof v.componentDidMount=="function"&&(l.flags|=4194308),r=!1)}else{v=l.stateNode,Ph(n,l),C=l.memoizedProps,Tt=Bu(o,C),v.props=Tt,Mt=l.pendingProps,yt=v.context,mt=o.contextType,Z=Va,typeof mt=="object"&&mt!==null&&(Z=Ct(mt)),N=o.getDerivedStateFromProps,(mt=typeof N=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(C!==Mt||yt!==Z)&&zv(l,v,r,Z),Jo=!1,yt=l.memoizedState,v.state=yt,$i(l,r,v,y),_u();var At=l.memoizedState;C!==Mt||yt!==At||Jo||n!==null&&n.dependencies!==null&&Cs(n.dependencies)?(typeof N=="function"&&(Ys(l,o,N,r),At=l.memoizedState),(Tt=Jo||vy(l,o,Tt,r,yt,At,Z)||n!==null&&n.dependencies!==null&&Cs(n.dependencies))?(mt||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(r,At,Z),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(r,At,Z)),typeof v.componentDidUpdate=="function"&&(l.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof v.componentDidUpdate!="function"||C===n.memoizedProps&&yt===n.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&yt===n.memoizedState||(l.flags|=1024),l.memoizedProps=r,l.memoizedState=At),v.props=r,v.state=At,v.context=Z,r=Tt):(typeof v.componentDidUpdate!="function"||C===n.memoizedProps&&yt===n.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&yt===n.memoizedState||(l.flags|=1024),r=!1)}return v=r,Ml(n,l),r=(l.flags&128)!==0,v||r?(v=l.stateNode,o=r&&typeof o.getDerivedStateFromError!="function"?null:v.render(),l.flags|=1,n!==null&&r?(l.child=wu(l,n.child,null,y),l.child=wu(l,null,o,y)):en(n,l,o,y),l.memoizedState=v.state,n=l.child):n=Ol(n,l,y),n}function bi(n,l,o,r){return Du(),l.flags|=256,en(n,l,o,r),l.child}var nd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ad(n){return{baseLanes:n,cachePool:zs()}}function Cl(n,l,o){return n=n!==null?n.childLanes&~o:0,l&&(n|=Ja),n}function Cy(n,l,o){var r=l.pendingProps,y=!1,v=(l.flags&128)!==0,C;if((C=v)||(C=n!==null&&n.memoizedState===null?!1:(on.current&2)!==0),C&&(y=!0,l.flags&=-129),C=(l.flags&32)!==0,l.flags&=-33,n===null){if(ge){if(y?Ii(l):gi(),(n=Ze)?(n=d2(n,qn),n=n!==null&&n.data!=="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:hi!==null?{id:nl,overflow:mi}:null,retryLane:536870912,hydrationErrors:null},o=Q0(n),o.return=l,l.child=o,In=l,Ze=null)):n=null,n===null)throw Kl(l);return ku(n)?l.lanes=32:l.lanes=536870912,null}var N=r.children;return r=r.fallback,y?(gi(),y=l.mode,N=ld({mode:"hidden",children:N},y),r=Xo(r,y,o,null),N.return=l,r.return=l,N.sibling=r,l.child=N,r=l.child,r.memoizedState=ad(o),r.childLanes=Cl(n,C,o),l.memoizedState=nd,Vu(null,r)):(Ii(l),Yu(l,N))}var Z=n.memoizedState;if(Z!==null&&(N=Z.dehydrated,N!==null)){if(v)l.flags&256?(Ii(l),l.flags&=-257,l=qs(n,l,o)):l.memoizedState!==null?(gi(),l.child=n.child,l.flags|=128,l=null):(gi(),N=r.fallback,y=l.mode,r=ld({mode:"visible",children:r.children},y),N=Xo(N,y,o,null),N.flags|=2,r.return=l,N.return=l,r.sibling=N,l.child=r,wu(l,n.child,null,o),r=l.child,r.memoizedState=ad(o),r.childLanes=Cl(n,C,o),l.memoizedState=nd,l=Vu(null,r));else if(Ii(l),ku(N)){if(C=N.nextSibling&&N.nextSibling.dataset,C)var mt=C.dgst;C=mt,r=Error(f(419)),r.stack="",r.digest=C,Qr({value:r,source:null,stack:null}),l=qs(n,l,o)}else if(Un||Wn(n,l,o,!1),C=(o&n.childLanes)!==0,Un||C){if(C=qe,C!==null&&(r=pl(C,o),r!==0&&r!==Z.retryLane))throw Z.retryLane=r,qo(n,r),Ka(C,n,r),Tm;Wl(N)||Ym(),l=qs(n,l,o)}else Wl(N)?(l.flags|=192,l.child=n.child,l=null):(n=Z.treeContext,Ze=Fa(N.nextSibling),In=l,ge=!0,ki=null,qn=!1,n!==null&&wf(l,n),l=Yu(l,r.children),l.flags|=4096);return l}return y?(gi(),N=r.fallback,y=l.mode,Z=n.child,mt=Z.sibling,r=Go(Z,{mode:"hidden",children:r.children}),r.subtreeFlags=Z.subtreeFlags&65011712,mt!==null?N=Go(mt,N):(N=Xo(N,y,o,null),N.flags|=2),N.return=l,r.return=l,r.sibling=N,l.child=r,Vu(null,r),r=l.child,N=n.child.memoizedState,N===null?N=ad(o):(y=N.cachePool,y!==null?(Z=Rn._currentValue,y=y.parent!==Z?{parent:Z,pool:Z}:y):y=zs(),N={baseLanes:N.baseLanes|o,cachePool:y}),r.memoizedState=N,r.childLanes=Cl(n,C,o),l.memoizedState=nd,Vu(n.child,r)):(Ii(l),o=n.child,n=o.sibling,o=Go(o,{mode:"visible",children:r.children}),o.return=l,o.sibling=null,n!==null&&(C=l.deletions,C===null?(l.deletions=[n],l.flags|=16):C.push(n)),l.child=o,l.memoizedState=null,o)}function Yu(n,l){return l=ld({mode:"visible",children:l},n.mode),l.return=n,n.child=l}function ld(n,l){return n=vn(22,n,null,l),n.lanes=0,n}function qs(n,l,o){return wu(l,n.child,null,o),n=Yu(l,l.pendingProps.children),n.flags|=2,l.memoizedState=null,n}function Gs(n,l,o){n.lanes|=l;var r=n.alternate;r!==null&&(r.lanes|=l),Ih(n.return,l,o)}function xm(n,l,o,r,y,v){var C=n.memoizedState;C===null?n.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:r,tail:o,tailMode:y,treeForkCount:v}:(C.isBackwards=l,C.rendering=null,C.renderingStartTime=0,C.last=r,C.tail=o,C.tailMode=y,C.treeForkCount=v)}function Oy(n,l,o){var r=l.pendingProps,y=r.revealOrder,v=r.tail;r=r.children;var C=on.current,N=(C&2)!==0;if(N?(C=C&1|2,l.flags|=128):C&=1,Et(on,C),en(n,l,r,o),r=ge?zn:0,!N&&n!==null&&(n.flags&128)!==0)t:for(n=l.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Gs(n,o,l);else if(n.tag===19)Gs(n,o,l);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break t;for(;n.sibling===null;){if(n.return===null||n.return===l)break t;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(y){case"forwards":for(o=l.child,y=null;o!==null;)n=o.alternate,n!==null&&$r(n)===null&&(y=o),o=o.sibling;o=y,o===null?(y=l.child,l.child=null):(y=o.sibling,o.sibling=null),xm(l,!1,y,o,v,r);break;case"backwards":case"unstable_legacy-backwards":for(o=null,y=l.child,l.child=null;y!==null;){if(n=y.alternate,n!==null&&$r(n)===null){l.child=y;break}n=y.sibling,y.sibling=o,o=y,y=n}xm(l,!0,o,null,v,r);break;case"together":xm(l,!1,null,null,void 0,r);break;default:l.memoizedState=null}return l.child}function Ol(n,l,o){if(n!==null&&(l.dependencies=n.dependencies),Ei|=l.lanes,(o&l.childLanes)===0)if(n!==null){if(Wn(n,l,o,!1),(o&l.childLanes)===0)return null}else return null;if(n!==null&&l.child!==n.child)throw Error(f(153));if(l.child!==null){for(n=l.child,o=Go(n,n.pendingProps),l.child=o,o.return=l;n.sibling!==null;)n=n.sibling,o=o.sibling=Go(n,n.pendingProps),o.return=l;o.sibling=null}return l.child}function Dm(n,l){return(n.lanes&l)!==0?!0:(n=n.dependencies,!!(n!==null&&Cs(n)))}function Mm(n,l,o){switch(l.tag){case 3:wt(l,l.stateNode.containerInfo),Ya(l,Rn,n.memoizedState.cache),Du();break;case 27:case 5:ye(l);break;case 4:wt(l,l.stateNode.containerInfo);break;case 10:Ya(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,Fr(l),null;break;case 13:var r=l.memoizedState;if(r!==null)return r.dehydrated!==null?(Ii(l),l.flags|=128,null):(o&l.child.childLanes)!==0?Cy(n,l,o):(Ii(l),n=Ol(n,l,o),n!==null?n.sibling:null);Ii(l);break;case 19:var y=(n.flags&128)!==0;if(r=(o&l.childLanes)!==0,r||(Wn(n,l,o,!1),r=(o&l.childLanes)!==0),y){if(r)return Oy(n,l,o);l.flags|=128}if(y=l.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),Et(on,on.current),r)break;return null;case 22:return l.lanes=0,Rv(n,l,o,l.pendingProps);case 24:Ya(l,Rn,n.memoizedState.cache)}return Ol(n,l,o)}function zy(n,l,o){if(n!==null)if(n.memoizedProps!==l.pendingProps)Un=!0;else{if(!Dm(n,o)&&(l.flags&128)===0)return Un=!1,Mm(n,l,o);Un=(n.flags&131072)!==0}else Un=!1,ge&&(l.flags&1048576)!==0&&k0(l,zn,l.index);switch(l.lanes=0,l.tag){case 16:t:{var r=l.pendingProps;if(n=Ou(l.elementType),l.type=n,typeof n=="function")Ds(n)?(r=Bu(n,r),l.tag=1,l=My(null,l,n,r,o)):(l.tag=0,l=Em(null,l,n,r,o));else{if(n!=null){var y=n.$$typeof;if(y===P){l.tag=11,l=Ey(null,l,n,r,o);break t}else if(y===rt){l.tag=14,l=xy(null,l,n,r,o);break t}}throw l=et(n)||n,Error(f(306,l,""))}}return l;case 0:return Em(n,l,l.type,l.pendingProps,o);case 1:return r=l.type,y=Bu(r,l.pendingProps),My(n,l,r,y,o);case 3:t:{if(wt(l,l.stateNode.containerInfo),n===null)throw Error(f(387));r=l.pendingProps;var v=l.memoizedState;y=v.element,Ph(n,l),$i(l,r,null,o);var C=l.memoizedState;if(r=C.cache,Ya(l,Rn,r),r!==v.cache&&Fi(l,[Rn],o,!0),_u(),r=C.element,v.isDehydrated)if(v={element:r,isDehydrated:!1,cache:C.cache},l.updateQueue.baseState=v,l.memoizedState=v,l.flags&256){l=bi(n,l,r,o);break t}else if(r!==y){y=Sl(Error(f(424)),l),Qr(y),l=bi(n,l,r,o);break t}else for(n=l.stateNode.containerInfo,n.nodeType===9?n=n.body:n=n.nodeName==="HTML"?n.ownerDocument.body:n,Ze=Fa(n.firstChild),In=l,ge=!0,ki=null,qn=!0,o=P0(l,null,r,o),l.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(Du(),r===y){l=Ol(n,l,o);break t}en(n,l,r,o)}l=l.child}return l;case 26:return Ml(n,l),n===null?(o=Dc(l.type,null,l.pendingProps,null))?l.memoizedState=o:ge||(o=l.type,n=l.pendingProps,r=Zu(zt.current).createElement(o),r[Le]=l,r[ja]=n,ya(r,o,n),Ue(r),l.stateNode=r):l.memoizedState=Dc(l.type,n.memoizedProps,l.pendingProps,n.memoizedState),null;case 27:return ye(l),n===null&&ge&&(r=l.stateNode=Ec(l.type,l.pendingProps,zt.current),In=l,qn=!0,y=Ze,Di(l.type)?(Ed=y,Ze=Fa(r.firstChild)):Ze=y),en(n,l,l.pendingProps.children,o),Ml(n,l),n===null&&(l.flags|=4194304),l.child;case 5:return n===null&&ge&&((y=r=Ze)&&(r=w3(r,l.type,l.pendingProps,qn),r!==null?(l.stateNode=r,In=l,Ze=Fa(r.firstChild),qn=!1,y=!0):y=!1),y||Kl(l)),ye(l),y=l.type,v=l.pendingProps,C=n!==null?n.memoizedProps:null,r=v.children,Ac(y,v)?r=null:C!==null&&Ac(y,C)&&(l.flags|=32),l.memoizedState!==null&&(y=Qf(n,l,C3,null,null,o),Md._currentValue=y),Ml(n,l),en(n,l,r,o),l.child;case 6:return n===null&&ge&&((n=o=Ze)&&(o=se(o,l.pendingProps,qn),o!==null?(l.stateNode=o,In=l,Ze=null,n=!0):n=!1),n||Kl(l)),null;case 13:return Cy(n,l,o);case 4:return wt(l,l.stateNode.containerInfo),r=l.pendingProps,n===null?l.child=wu(l,null,r,o):en(n,l,r,o),l.child;case 11:return Ey(n,l,l.type,l.pendingProps,o);case 7:return en(n,l,l.pendingProps,o),l.child;case 8:return en(n,l,l.pendingProps.children,o),l.child;case 12:return en(n,l,l.pendingProps.children,o),l.child;case 10:return r=l.pendingProps,Ya(l,l.type,r.value),en(n,l,r.children,o),l.child;case 9:return y=l.type._context,r=l.pendingProps.children,It(l),y=Ct(y),r=r(y),l.flags|=1,en(n,l,r,o),l.child;case 14:return xy(n,l,l.type,l.pendingProps,o);case 15:return Dy(n,l,l.type,l.pendingProps,o);case 19:return Oy(n,l,o);case 31:return wv(n,l,o);case 22:return Rv(n,l,o,l.pendingProps);case 24:return It(l),r=Ct(Rn),n===null?(y=El(),y===null&&(y=qe,v=Nf(),y.pooledCache=v,v.refCount++,v!==null&&(y.pooledCacheLanes|=o),y=v),l.memoizedState={parent:r,cache:y},qf(l),Ya(l,Rn,y)):((n.lanes&o)!==0&&(Ph(n,l),$i(l,null,null,o),_u()),y=n.memoizedState,v=l.memoizedState,y.parent!==r?(y={parent:r,cache:r},l.memoizedState=y,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=y),Ya(l,Rn,r)):(r=v.cache,Ya(l,Rn,r),r!==y.cache&&Fi(l,[Rn],o,!0))),en(n,l,l.pendingProps.children,o),l.child;case 29:throw l.pendingProps}throw Error(f(156,l.tag))}function ao(n){n.flags|=4}function Ry(n,l,o,r,y){if((l=(n.mode&32)!==0)&&(l=!1),l){if(n.flags|=16777216,(y&335544128)===y)if(n.stateNode.complete)n.flags|=8192;else if(qv())n.flags|=8192;else throw zu=ws,Rs}else n.flags&=-16777217}function wy(n,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!sl(l))if(qv())n.flags|=8192;else throw zu=ws,Rs}function Ea(n,l){l!==null&&(n.flags|=4),n.flags&16384&&(l=n.tag!==22?Na():536870912,n.lanes|=l,mn|=l)}function lc(n,l){if(!ge)switch(n.tailMode){case"hidden":l=n.tail;for(var o=null;l!==null;)l.alternate!==null&&(o=l),l=l.sibling;o===null?n.tail=null:o.sibling=null;break;case"collapsed":o=n.tail;for(var r=null;o!==null;)o.alternate!==null&&(r=o),o=o.sibling;r===null?l||n.tail===null?n.tail=null:n.tail.sibling=null:r.sibling=null}}function Ft(n){var l=n.alternate!==null&&n.alternate.child===n.child,o=0,r=0;if(l)for(var y=n.child;y!==null;)o|=y.lanes|y.childLanes,r|=y.subtreeFlags&65011712,r|=y.flags&65011712,y.return=n,y=y.sibling;else for(y=n.child;y!==null;)o|=y.lanes|y.childLanes,r|=y.subtreeFlags,r|=y.flags,y.return=n,y=y.sibling;return n.subtreeFlags|=r,n.childLanes=o,l}function Uv(n,l,o){var r=l.pendingProps;switch(Fh(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ft(l),null;case 1:return Ft(l),null;case 3:return o=l.stateNode,r=null,n!==null&&(r=n.memoizedState.cache),l.memoizedState.cache!==r&&(l.flags|=2048),yi(Rn),Ht(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(n===null||n.child===null)&&(Ki(l)?ao(l):n===null||n.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,J0())),Ft(l),null;case 26:var y=l.type,v=l.memoizedState;return n===null?(ao(l),v!==null?(Ft(l),wy(l,v)):(Ft(l),Ry(l,y,null,r,o))):v?v!==n.memoizedState?(ao(l),Ft(l),wy(l,v)):(Ft(l),l.flags&=-16777217):(n=n.memoizedProps,n!==r&&ao(l),Ft(l),Ry(l,y,n,r,o)),null;case 27:if(Ut(l),o=zt.current,y=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==r&&ao(l);else{if(!r){if(l.stateNode===null)throw Error(f(166));return Ft(l),null}n=ht.current,Ki(l)?Uf(l):(n=Ec(y,r,o),l.stateNode=n,ao(l))}return Ft(l),null;case 5:if(Ut(l),y=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==r&&ao(l);else{if(!r){if(l.stateNode===null)throw Error(f(166));return Ft(l),null}if(v=ht.current,Ki(l))Uf(l);else{var C=Zu(zt.current);switch(v){case 1:v=C.createElementNS("http://www.w3.org/2000/svg",y);break;case 2:v=C.createElementNS("http://www.w3.org/1998/Math/MathML",y);break;default:switch(y){case"svg":v=C.createElementNS("http://www.w3.org/2000/svg",y);break;case"math":v=C.createElementNS("http://www.w3.org/1998/Math/MathML",y);break;case"script":v=C.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild);break;case"select":v=typeof r.is=="string"?C.createElement("select",{is:r.is}):C.createElement("select"),r.multiple?v.multiple=!0:r.size&&(v.size=r.size);break;default:v=typeof r.is=="string"?C.createElement(y,{is:r.is}):C.createElement(y)}}v[Le]=l,v[ja]=r;t:for(C=l.child;C!==null;){if(C.tag===5||C.tag===6)v.appendChild(C.stateNode);else if(C.tag!==4&&C.tag!==27&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===l)break t;for(;C.sibling===null;){if(C.return===null||C.return===l)break t;C=C.return}C.sibling.return=C.return,C=C.sibling}l.stateNode=v;t:switch(ya(v,y,r),y){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break t;case"img":r=!0;break t;default:r=!1}r&&ao(l)}}return Ft(l),Ry(l,l.type,n===null?null:n.memoizedProps,l.pendingProps,o),null;case 6:if(n&&l.stateNode!=null)n.memoizedProps!==r&&ao(l);else{if(typeof r!="string"&&l.stateNode===null)throw Error(f(166));if(n=zt.current,Ki(l)){if(n=l.stateNode,o=l.memoizedProps,r=null,y=In,y!==null)switch(y.tag){case 27:case 5:r=y.memoizedProps}n[Le]=l,n=!!(n.nodeValue===o||r!==null&&r.suppressHydrationWarning===!0||eg(n.nodeValue,o)),n||Kl(l,!0)}else n=Zu(n).createTextNode(r),n[Le]=l,l.stateNode=n}return Ft(l),null;case 31:if(o=l.memoizedState,n===null||n.memoizedState!==null){if(r=Ki(l),o!==null){if(n===null){if(!r)throw Error(f(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(f(557));n[Le]=l}else Du(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Ft(l),n=!1}else o=J0(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=o),n=!0;if(!n)return l.flags&256?(Ga(l),l):(Ga(l),null);if((l.flags&128)!==0)throw Error(f(558))}return Ft(l),null;case 13:if(r=l.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(y=Ki(l),r!==null&&r.dehydrated!==null){if(n===null){if(!y)throw Error(f(318));if(y=l.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(f(317));y[Le]=l}else Du(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Ft(l),y=!1}else y=J0(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=y),y=!0;if(!y)return l.flags&256?(Ga(l),l):(Ga(l),null)}return Ga(l),(l.flags&128)!==0?(l.lanes=o,l):(o=r!==null,n=n!==null&&n.memoizedState!==null,o&&(r=l.child,y=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(y=r.alternate.memoizedState.cachePool.pool),v=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(v=r.memoizedState.cachePool.pool),v!==y&&(r.flags|=2048)),o!==n&&o&&(l.child.flags|=8192),Ea(l,l.updateQueue),Ft(l),null);case 4:return Ht(),n===null&&Sc(l.stateNode.containerInfo),Ft(l),null;case 10:return yi(l.type),Ft(l),null;case 19:if(pt(on),r=l.memoizedState,r===null)return Ft(l),null;if(y=(l.flags&128)!==0,v=r.rendering,v===null)if(y)lc(r,!1);else{if(Je!==0||n!==null&&(n.flags&128)!==0)for(n=l.child;n!==null;){if(v=$r(n),v!==null){for(l.flags|=128,lc(r,!1),n=v.updateQueue,l.updateQueue=n,Ea(l,n),l.subtreeFlags=0,n=o,o=l.child;o!==null;)X0(o,n),o=o.sibling;return Et(on,on.current&1|2),ge&&Jl(l,r.treeForkCount),l.child}n=n.sibling}r.tail!==null&&ne()>Oe&&(l.flags|=128,y=!0,lc(r,!1),l.lanes=4194304)}else{if(!y)if(n=$r(v),n!==null){if(l.flags|=128,y=!0,n=n.updateQueue,l.updateQueue=n,Ea(l,n),lc(r,!0),r.tail===null&&r.tailMode==="hidden"&&!v.alternate&&!ge)return Ft(l),null}else 2*ne()-r.renderingStartTime>Oe&&o!==536870912&&(l.flags|=128,y=!0,lc(r,!1),l.lanes=4194304);r.isBackwards?(v.sibling=l.child,l.child=v):(n=r.last,n!==null?n.sibling=v:l.child=v,r.last=v)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.renderingStartTime=ne(),n.sibling=null,o=on.current,Et(on,y?o&1|2:o&1),ge&&Jl(l,r.treeForkCount),n):(Ft(l),null);case 22:case 23:return Ga(l),Kr(),r=l.memoizedState!==null,n!==null?n.memoizedState!==null!==r&&(l.flags|=8192):r&&(l.flags|=8192),r?(o&536870912)!==0&&(l.flags&128)===0&&(Ft(l),l.subtreeFlags&6&&(l.flags|=8192)):Ft(l),o=l.updateQueue,o!==null&&Ea(l,o.retryQueue),o=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),r=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(r=l.memoizedState.cachePool.pool),r!==o&&(l.flags|=2048),n!==null&&pt(Tl),null;case 24:return o=null,n!==null&&(o=n.memoizedState.cache),l.memoizedState.cache!==o&&(l.flags|=2048),yi(Rn),Ft(l),null;case 25:return null;case 30:return null}throw Error(f(156,l.tag))}function _v(n,l){switch(Fh(l),l.tag){case 1:return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 3:return yi(Rn),Ht(),n=l.flags,(n&65536)!==0&&(n&128)===0?(l.flags=n&-65537|128,l):null;case 26:case 27:case 5:return Ut(l),null;case 31:if(l.memoizedState!==null){if(Ga(l),l.alternate===null)throw Error(f(340));Du()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 13:if(Ga(l),n=l.memoizedState,n!==null&&n.dehydrated!==null){if(l.alternate===null)throw Error(f(340));Du()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 19:return pt(on),null;case 4:return Ht(),null;case 10:return yi(l.type),null;case 22:case 23:return Ga(l),Kr(),n!==null&&pt(Tl),n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 24:return yi(Rn),null;case 25:return null;default:return null}}function Nv(n,l){switch(Fh(l),l.tag){case 3:yi(Rn),Ht();break;case 26:case 27:case 5:Ut(l);break;case 4:Ht();break;case 31:l.memoizedState!==null&&Ga(l);break;case 13:Ga(l);break;case 19:pt(on);break;case 10:yi(l.type);break;case 22:case 23:Ga(l),Kr(),n!==null&&pt(Tl);break;case 24:yi(Rn)}}function $l(n,l){try{var o=l.updateQueue,r=o!==null?o.lastEffect:null;if(r!==null){var y=r.next;o=y;do{if((o.tag&n)===n){r=void 0;var v=o.create,C=o.inst;r=v(),C.destroy=r}o=o.next}while(o!==y)}}catch(N){He(l,l.return,N)}}function zl(n,l,o){try{var r=l.updateQueue,y=r!==null?r.lastEffect:null;if(y!==null){var v=y.next;r=v;do{if((r.tag&n)===n){var C=r.inst,N=C.destroy;if(N!==void 0){C.destroy=void 0,y=l;var Z=o,mt=N;try{mt()}catch(Tt){He(y,Z,Tt)}}}r=r.next}while(r!==v)}}catch(Tt){He(l,l.return,Tt)}}function Cm(n){var l=n.updateQueue;if(l!==null){var o=n.stateNode;try{Nu(l,o)}catch(r){He(n,n.return,r)}}}function qu(n,l,o){o.props=Bu(n.type,n.memoizedProps),o.state=n.memoizedState;try{o.componentWillUnmount()}catch(r){He(n,l,r)}}function lo(n,l){try{var o=n.ref;if(o!==null){switch(n.tag){case 26:case 27:case 5:var r=n.stateNode;break;case 30:r=n.stateNode;break;default:r=n.stateNode}typeof o=="function"?n.refCleanup=o(r):o.current=r}}catch(y){He(n,l,y)}}function Si(n,l){var o=n.ref,r=n.refCleanup;if(o!==null)if(typeof r=="function")try{r()}catch(y){He(n,l,y)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(y){He(n,l,y)}else o.current=null}function Uy(n){var l=n.type,o=n.memoizedProps,r=n.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":o.autoFocus&&r.focus();break t;case"img":o.src?r.src=o.src:o.srcSet&&(r.srcset=o.srcSet)}}catch(y){He(n,n.return,y)}}function Om(n,l,o){try{var r=n.stateNode;ag(r,n.type,o,l),r[ja]=l}catch(y){He(n,n.return,y)}}function _y(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Di(n.type)||n.tag===4}function ic(n){t:for(;;){for(;n.sibling===null;){if(n.return===null||_y(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Di(n.type)||n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function oc(n,l,o){var r=n.tag;if(r===5||r===6)n=n.stateNode,l?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(n,l):(l=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,l.appendChild(n),o=o._reactRootContainer,o!=null||l.onclick!==null||(l.onclick=oi));else if(r!==4&&(r===27&&Di(n.type)&&(o=n.stateNode,l=null),n=n.child,n!==null))for(oc(n,l,o),n=n.sibling;n!==null;)oc(n,l,o),n=n.sibling}function uc(n,l,o){var r=n.tag;if(r===5||r===6)n=n.stateNode,l?o.insertBefore(n,l):o.appendChild(n);else if(r!==4&&(r===27&&Di(n.type)&&(o=n.stateNode),n=n.child,n!==null))for(uc(n,l,o),n=n.sibling;n!==null;)uc(n,l,o),n=n.sibling}function Ny(n){var l=n.stateNode,o=n.memoizedProps;try{for(var r=n.type,y=l.attributes;y.length;)l.removeAttributeNode(y[0]);ya(l,r,o),l[Le]=n,l[ja]=o}catch(v){He(n,n.return,v)}}var Wo=!1,Hn=!1,zm=!1,jy=typeof WeakSet=="function"?WeakSet:Set,ea=null;function sc(n,l){if(n=n.containerInfo,Fm=Qn,n=Tu(n),Df(n)){if("selectionStart"in n)var o={start:n.selectionStart,end:n.selectionEnd};else t:{o=(o=n.ownerDocument)&&o.defaultView||window;var r=o.getSelection&&o.getSelection();if(r&&r.rangeCount!==0){o=r.anchorNode;var y=r.anchorOffset,v=r.focusNode;r=r.focusOffset;try{o.nodeType,v.nodeType}catch{o=null;break t}var C=0,N=-1,Z=-1,mt=0,Tt=0,Mt=n,yt=null;e:for(;;){for(var At;Mt!==o||y!==0&&Mt.nodeType!==3||(N=C+y),Mt!==v||r!==0&&Mt.nodeType!==3||(Z=C+r),Mt.nodeType===3&&(C+=Mt.nodeValue.length),(At=Mt.firstChild)!==null;)yt=Mt,Mt=At;for(;;){if(Mt===n)break e;if(yt===o&&++mt===y&&(N=C),yt===v&&++Tt===r&&(Z=C),(At=Mt.nextSibling)!==null)break;Mt=yt,yt=Mt.parentNode}Mt=At}o=N===-1||Z===-1?null:{start:N,end:Z}}else o=null}o=o||{start:0,end:0}}else o=null;for($m={focusedElem:n,selectionRange:o},Qn=!1,ea=l;ea!==null;)if(l=ea,n=l.child,(l.subtreeFlags&1028)!==0&&n!==null)n.return=l,ea=n;else for(;ea!==null;){switch(l=ea,v=l.alternate,n=l.flags,l.tag){case 0:if((n&4)!==0&&(n=l.updateQueue,n=n!==null?n.events:null,n!==null))for(o=0;o<n.length;o++)y=n[o],y.ref.impl=y.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&v!==null){n=void 0,o=l,y=v.memoizedProps,v=v.memoizedState,r=o.stateNode;try{var Vt=Bu(o.type,y);n=r.getSnapshotBeforeUpdate(Vt,v),r.__reactInternalSnapshotBeforeUpdate=n}catch(Zt){He(o,o.return,Zt)}}break;case 3:if((n&1024)!==0){if(n=l.stateNode.containerInfo,o=n.nodeType,o===9)Td(n);else if(o===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Td(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(f(163))}if(n=l.sibling,n!==null){n.return=l.return,ea=n;break}ea=l.return}}function id(n,l,o){var r=o.flags;switch(o.tag){case 0:case 11:case 15:Po(n,o),r&4&&$l(5,o);break;case 1:if(Po(n,o),r&4)if(n=o.stateNode,l===null)try{n.componentDidMount()}catch(C){He(o,o.return,C)}else{var y=Bu(o.type,l.memoizedProps);l=l.memoizedState;try{n.componentDidUpdate(y,l,n.__reactInternalSnapshotBeforeUpdate)}catch(C){He(o,o.return,C)}}r&64&&Cm(o),r&512&&lo(o,o.return);break;case 3:if(Po(n,o),r&64&&(n=o.updateQueue,n!==null)){if(l=null,o.child!==null)switch(o.child.tag){case 27:case 5:l=o.child.stateNode;break;case 1:l=o.child.stateNode}try{Nu(n,l)}catch(C){He(o,o.return,C)}}break;case 27:l===null&&r&4&&Ny(o);case 26:case 5:Po(n,o),l===null&&r&4&&Uy(o),r&512&&lo(o,o.return);break;case 12:Po(n,o);break;case 31:Po(n,o),r&4&&jv(n,o);break;case 13:Po(n,o),r&4&&Vy(n,o),r&64&&(n=o.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(o=Rl.bind(null,o),Tc(n,o))));break;case 22:if(r=o.memoizedState!==null||Wo,!r){l=l!==null&&l.memoizedState!==null||Hn,y=Wo;var v=Hn;Wo=r,(Hn=l)&&!v?Ai(n,o,(o.subtreeFlags&8772)!==0):Po(n,o),Wo=y,Hn=v}break;case 30:break;default:Po(n,o)}}function Hy(n){var l=n.alternate;l!==null&&(n.alternate=null,Hy(l)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(l=n.stateNode,l!==null&&Dh(l)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var ke=null,Za=!1;function io(n,l,o){for(o=o.child;o!==null;)By(n,l,o),o=o.sibling}function By(n,l,o){if(tn&&typeof tn.onCommitFiberUnmount=="function")try{tn.onCommitFiberUnmount(fa,o)}catch{}switch(o.tag){case 26:Hn||Si(o,l),io(n,l,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:Hn||Si(o,l);var r=ke,y=Za;Di(o.type)&&(ke=o.stateNode,Za=!1),io(n,l,o),$s(o.stateNode),ke=r,Za=y;break;case 5:Hn||Si(o,l);case 6:if(r=ke,y=Za,ke=null,io(n,l,o),ke=r,Za=y,ke!==null)if(Za)try{(ke.nodeType===9?ke.body:ke.nodeName==="HTML"?ke.ownerDocument.body:ke).removeChild(o.stateNode)}catch(v){He(o,l,v)}else try{ke.removeChild(o.stateNode)}catch(v){He(o,l,v)}break;case 18:ke!==null&&(Za?(n=ke,ug(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,o.stateNode),_c(n)):ug(ke,o.stateNode));break;case 4:r=ke,y=Za,ke=o.stateNode.containerInfo,Za=!0,io(n,l,o),ke=r,Za=y;break;case 0:case 11:case 14:case 15:zl(2,o,l),Hn||zl(4,o,l),io(n,l,o);break;case 1:Hn||(Si(o,l),r=o.stateNode,typeof r.componentWillUnmount=="function"&&qu(o,l,r)),io(n,l,o);break;case 21:io(n,l,o);break;case 22:Hn=(r=Hn)||o.memoizedState!==null,io(n,l,o),Hn=r;break;default:io(n,l,o)}}function jv(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{_c(n)}catch(o){He(l,l.return,o)}}}function Vy(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{_c(n)}catch(o){He(l,l.return,o)}}function od(n){switch(n.tag){case 31:case 13:case 19:var l=n.stateNode;return l===null&&(l=n.stateNode=new jy),l;case 22:return n=n.stateNode,l=n._retryCache,l===null&&(l=n._retryCache=new jy),l;default:throw Error(f(435,n.tag))}}function ud(n,l){var o=od(n);l.forEach(function(r){if(!o.has(r)){o.add(r);var y=n2.bind(null,n,r);r.then(y,y)}})}function ka(n,l){var o=l.deletions;if(o!==null)for(var r=0;r<o.length;r++){var y=o[r],v=n,C=l,N=C;t:for(;N!==null;){switch(N.tag){case 27:if(Di(N.type)){ke=N.stateNode,Za=!1;break t}break;case 5:ke=N.stateNode,Za=!1;break t;case 3:case 4:ke=N.stateNode.containerInfo,Za=!0;break t}N=N.return}if(ke===null)throw Error(f(160));By(v,C,y),ke=null,Za=!1,v=y.alternate,v!==null&&(v.return=null),y.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)Rm(l,n),l=l.sibling}var ie=null;function Rm(n,l){var o=n.alternate,r=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:ka(l,n),al(n),r&4&&(zl(3,n,n.return),$l(3,n),zl(5,n,n.return));break;case 1:ka(l,n),al(n),r&512&&(Hn||o===null||Si(o,o.return)),r&64&&Wo&&(n=n.updateQueue,n!==null&&(r=n.callbacks,r!==null&&(o=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=o===null?r:o.concat(r))));break;case 26:var y=ie;if(ka(l,n),al(n),r&512&&(Hn||o===null||Si(o,o.return)),r&4){var v=o!==null?o.memoizedState:null;if(r=n.memoizedState,o===null)if(r===null)if(n.stateNode===null){t:{r=n.type,o=n.memoizedProps,y=y.ownerDocument||y;e:switch(r){case"title":v=y.getElementsByTagName("title")[0],(!v||v[Vi]||v[Le]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=y.createElement(r),y.head.insertBefore(v,y.querySelector("head > title"))),ya(v,r,o),v[Le]=n,Ue(v),r=v;break t;case"link":var C=fg("link","href",y).get(r+(o.href||""));if(C){for(var N=0;N<C.length;N++)if(v=C[N],v.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&v.getAttribute("rel")===(o.rel==null?null:o.rel)&&v.getAttribute("title")===(o.title==null?null:o.title)&&v.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){C.splice(N,1);break e}}v=y.createElement(r),ya(v,r,o),y.head.appendChild(v);break;case"meta":if(C=fg("meta","content",y).get(r+(o.content||""))){for(N=0;N<C.length;N++)if(v=C[N],v.getAttribute("content")===(o.content==null?null:""+o.content)&&v.getAttribute("name")===(o.name==null?null:o.name)&&v.getAttribute("property")===(o.property==null?null:o.property)&&v.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&v.getAttribute("charset")===(o.charSet==null?null:o.charSet)){C.splice(N,1);break e}}v=y.createElement(r),ya(v,r,o),y.head.appendChild(v);break;default:throw Error(f(468,r))}v[Le]=n,Ue(v),r=v}n.stateNode=r}else ep(y,n.type,n.stateNode);else n.stateNode=cg(y,r,n.memoizedProps);else v!==r?(v===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):v.count--,r===null?ep(y,n.type,n.stateNode):cg(y,r,n.memoizedProps)):r===null&&n.stateNode!==null&&Om(n,n.memoizedProps,o.memoizedProps)}break;case 27:ka(l,n),al(n),r&512&&(Hn||o===null||Si(o,o.return)),o!==null&&r&4&&Om(n,n.memoizedProps,o.memoizedProps);break;case 5:if(ka(l,n),al(n),r&512&&(Hn||o===null||Si(o,o.return)),n.flags&32){y=n.stateNode;try{Yi(y,"")}catch(Vt){He(n,n.return,Vt)}}r&4&&n.stateNode!=null&&(y=n.memoizedProps,Om(n,y,o!==null?o.memoizedProps:y)),r&1024&&(zm=!0);break;case 6:if(ka(l,n),al(n),r&4){if(n.stateNode===null)throw Error(f(162));r=n.memoizedProps,o=n.stateNode;try{o.nodeValue=r}catch(Vt){He(n,n.return,Vt)}}break;case 3:if(Oc=null,y=ie,ie=xa(l.containerInfo),ka(l,n),ie=y,al(n),r&4&&o!==null&&o.memoizedState.isDehydrated)try{_c(l.containerInfo)}catch(Vt){He(n,n.return,Vt)}zm&&(zm=!1,Ly(n));break;case 4:r=ie,ie=xa(n.stateNode.containerInfo),ka(l,n),al(n),ie=r;break;case 12:ka(l,n),al(n);break;case 31:ka(l,n),al(n),r&4&&(r=n.updateQueue,r!==null&&(n.updateQueue=null,ud(n,r)));break;case 13:ka(l,n),al(n),n.child.flags&8192&&n.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(xi=ne()),r&4&&(r=n.updateQueue,r!==null&&(n.updateQueue=null,ud(n,r)));break;case 22:y=n.memoizedState!==null;var Z=o!==null&&o.memoizedState!==null,mt=Wo,Tt=Hn;if(Wo=mt||y,Hn=Tt||Z,ka(l,n),Hn=Tt,Wo=mt,al(n),r&8192)t:for(l=n.stateNode,l._visibility=y?l._visibility&-2:l._visibility|1,y&&(o===null||Z||Wo||Hn||Xs(n)),o=null,l=n;;){if(l.tag===5||l.tag===26){if(o===null){Z=o=l;try{if(v=Z.stateNode,y)C=v.style,typeof C.setProperty=="function"?C.setProperty("display","none","important"):C.display="none";else{N=Z.stateNode;var Mt=Z.memoizedProps.style,yt=Mt!=null&&Mt.hasOwnProperty("display")?Mt.display:null;N.style.display=yt==null||typeof yt=="boolean"?"":(""+yt).trim()}}catch(Vt){He(Z,Z.return,Vt)}}}else if(l.tag===6){if(o===null){Z=l;try{Z.stateNode.nodeValue=y?"":Z.memoizedProps}catch(Vt){He(Z,Z.return,Vt)}}}else if(l.tag===18){if(o===null){Z=l;try{var At=Z.stateNode;y?_n(At,!0):_n(Z.stateNode,!1)}catch(Vt){He(Z,Z.return,Vt)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===n)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break t;for(;l.sibling===null;){if(l.return===null||l.return===n)break t;o===l&&(o=null),l=l.return}o===l&&(o=null),l.sibling.return=l.return,l=l.sibling}r&4&&(r=n.updateQueue,r!==null&&(o=r.retryQueue,o!==null&&(r.retryQueue=null,ud(n,o))));break;case 19:ka(l,n),al(n),r&4&&(r=n.updateQueue,r!==null&&(n.updateQueue=null,ud(n,r)));break;case 30:break;case 21:break;default:ka(l,n),al(n)}}function al(n){var l=n.flags;if(l&2){try{for(var o,r=n.return;r!==null;){if(_y(r)){o=r;break}r=r.return}if(o==null)throw Error(f(160));switch(o.tag){case 27:var y=o.stateNode,v=ic(n);uc(n,v,y);break;case 5:var C=o.stateNode;o.flags&32&&(Yi(C,""),o.flags&=-33);var N=ic(n);uc(n,N,C);break;case 3:case 4:var Z=o.stateNode.containerInfo,mt=ic(n);oc(n,mt,Z);break;default:throw Error(f(161))}}catch(Tt){He(n,n.return,Tt)}n.flags&=-3}l&4096&&(n.flags&=-4097)}function Ly(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var l=n;Ly(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),n=n.sibling}}function Po(n,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)id(n,l.alternate,l),l=l.sibling}function Xs(n){for(n=n.child;n!==null;){var l=n;switch(l.tag){case 0:case 11:case 14:case 15:zl(4,l,l.return),Xs(l);break;case 1:Si(l,l.return);var o=l.stateNode;typeof o.componentWillUnmount=="function"&&qu(l,l.return,o),Xs(l);break;case 27:$s(l.stateNode);case 26:case 5:Si(l,l.return),Xs(l);break;case 22:l.memoizedState===null&&Xs(l);break;case 30:Xs(l);break;default:Xs(l)}n=n.sibling}}function Ai(n,l,o){for(o=o&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var r=l.alternate,y=n,v=l,C=v.flags;switch(v.tag){case 0:case 11:case 15:Ai(y,v,o),$l(4,v);break;case 1:if(Ai(y,v,o),r=v,y=r.stateNode,typeof y.componentDidMount=="function")try{y.componentDidMount()}catch(mt){He(r,r.return,mt)}if(r=v,y=r.updateQueue,y!==null){var N=r.stateNode;try{var Z=y.shared.hiddenCallbacks;if(Z!==null)for(y.shared.hiddenCallbacks=null,y=0;y<Z.length;y++)em(Z[y],N)}catch(mt){He(r,r.return,mt)}}o&&C&64&&Cm(v),lo(v,v.return);break;case 27:Ny(v);case 26:case 5:Ai(y,v,o),o&&r===null&&C&4&&Uy(v),lo(v,v.return);break;case 12:Ai(y,v,o);break;case 31:Ai(y,v,o),o&&C&4&&jv(y,v);break;case 13:Ai(y,v,o),o&&C&4&&Vy(y,v);break;case 22:v.memoizedState===null&&Ai(y,v,o),lo(v,v.return);break;case 30:break;default:Ai(y,v,o)}l=l.sibling}}function wm(n,l){var o=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),n=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(n=l.memoizedState.cachePool.pool),n!==o&&(n!=null&&n.refCount++,o!=null&&jf(o))}function Um(n,l){n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&jf(n))}function Il(n,l,o,r){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)rc(n,l,o,r),l=l.sibling}function rc(n,l,o,r){var y=l.flags;switch(l.tag){case 0:case 11:case 15:Il(n,l,o,r),y&2048&&$l(9,l);break;case 1:Il(n,l,o,r);break;case 3:Il(n,l,o,r),y&2048&&(n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&jf(n)));break;case 12:if(y&2048){Il(n,l,o,r),n=l.stateNode;try{var v=l.memoizedProps,C=v.id,N=v.onPostCommit;typeof N=="function"&&N(C,l.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(Z){He(l,l.return,Z)}}else Il(n,l,o,r);break;case 31:Il(n,l,o,r);break;case 13:Il(n,l,o,r);break;case 23:break;case 22:v=l.stateNode,C=l.alternate,l.memoizedState!==null?v._visibility&2?Il(n,l,o,r):sd(n,l):v._visibility&2?Il(n,l,o,r):(v._visibility|=2,cc(n,l,o,r,(l.subtreeFlags&10256)!==0||!1)),y&2048&&wm(C,l);break;case 24:Il(n,l,o,r),y&2048&&Um(l.alternate,l);break;default:Il(n,l,o,r)}}function cc(n,l,o,r,y){for(y=y&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var v=n,C=l,N=o,Z=r,mt=C.flags;switch(C.tag){case 0:case 11:case 15:cc(v,C,N,Z,y),$l(8,C);break;case 23:break;case 22:var Tt=C.stateNode;C.memoizedState!==null?Tt._visibility&2?cc(v,C,N,Z,y):sd(v,C):(Tt._visibility|=2,cc(v,C,N,Z,y)),y&&mt&2048&&wm(C.alternate,C);break;case 24:cc(v,C,N,Z,y),y&&mt&2048&&Um(C.alternate,C);break;default:cc(v,C,N,Z,y)}l=l.sibling}}function sd(n,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var o=n,r=l,y=r.flags;switch(r.tag){case 22:sd(o,r),y&2048&&wm(r.alternate,r);break;case 24:sd(o,r),y&2048&&Um(r.alternate,r);break;default:sd(o,r)}l=l.sibling}}var ll=8192;function oo(n,l,o){if(n.subtreeFlags&ll)for(n=n.child;n!==null;)Hv(n,l,o),n=n.sibling}function Hv(n,l,o){switch(n.tag){case 26:oo(n,l,o),n.flags&ll&&n.memoizedState!==null&&fo(o,ie,n.memoizedState,n.memoizedProps);break;case 5:oo(n,l,o);break;case 3:case 4:var r=ie;ie=xa(n.stateNode.containerInfo),oo(n,l,o),ie=r;break;case 22:n.memoizedState===null&&(r=n.alternate,r!==null&&r.memoizedState!==null?(r=ll,ll=16777216,oo(n,l,o),ll=r):oo(n,l,o));break;default:oo(n,l,o)}}function _m(n){var l=n.alternate;if(l!==null&&(n=l.child,n!==null)){l.child=null;do l=n.sibling,n.sibling=null,n=l;while(n!==null)}}function fc(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var o=0;o<l.length;o++){var r=l[o];ea=r,Nm(r,n)}_m(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Yy(n),n=n.sibling}function Yy(n){switch(n.tag){case 0:case 11:case 15:fc(n),n.flags&2048&&zl(9,n,n.return);break;case 3:fc(n);break;case 12:fc(n);break;case 22:var l=n.stateNode;n.memoizedState!==null&&l._visibility&2&&(n.return===null||n.return.tag!==13)?(l._visibility&=-3,rd(n)):fc(n);break;default:fc(n)}}function rd(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var o=0;o<l.length;o++){var r=l[o];ea=r,Nm(r,n)}_m(n)}for(n=n.child;n!==null;){switch(l=n,l.tag){case 0:case 11:case 15:zl(8,l,l.return),rd(l);break;case 22:o=l.stateNode,o._visibility&2&&(o._visibility&=-3,rd(l));break;default:rd(l)}n=n.sibling}}function Nm(n,l){for(;ea!==null;){var o=ea;switch(o.tag){case 0:case 11:case 15:zl(8,o,l);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var r=o.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:jf(o.memoizedState.cache)}if(r=o.child,r!==null)r.return=o,ea=r;else t:for(o=n;ea!==null;){r=ea;var y=r.sibling,v=r.return;if(Hy(r),r===o){ea=null;break t}if(y!==null){y.return=v,ea=y;break t}ea=v}}}var Bv={getCacheForType:function(n){var l=Ct(Rn),o=l.data.get(n);return o===void 0&&(o=n(),l.data.set(n,o)),o},cacheSignal:function(){return Ct(Rn).controller.signal}},qy=typeof WeakMap=="function"?WeakMap:Map,De=0,qe=null,ve=null,he=0,je=0,Jt=null,uo=!1,Gu=!1,jm=!1,Ti=0,Je=0,Ei=0,Qs=0,Hm=0,Ja=0,mn=0,cd=null,pn=null,Bm=!1,xi=0,Gy=0,Oe=1/0,dc=null,un=null,Xn=0,tu=null,Xu=null,so=0,il=0,Vm=null,Lm=null,hc=0,fd=null;function ol(){return(De&2)!==0&&he!==0?he&-he:R.T!==null?Qm():Eh()}function Vv(){if(Ja===0)if((he&536870912)===0||ge){var n=hl;hl<<=1,(hl&3932160)===0&&(hl=262144),Ja=n}else Ja=536870912;return n=qa.current,n!==null&&(n.flags|=32),Ja}function Ka(n,l,o){(n===qe&&(je===2||je===9)||n.cancelPendingCommit!==null)&&(ro(n,0),eu(n,he,Ja,!1)),Mr(n,o),((De&2)===0||n!==qe)&&(n===qe&&((De&2)===0&&(Qs|=o),Je===4&&eu(n,he,Ja,!1)),co(n))}function Lv(n,l,o){if((De&6)!==0)throw Error(f(327));var r=!o&&(l&127)===0&&(l&n.expiredLanes)===0||ma(n,l),y=r?Qv(n,l):qm(n,l,!0),v=r;do{if(y===0){Gu&&!r&&eu(n,l,0,!1);break}else{if(o=n.current.alternate,v&&!Yv(o)){y=qm(n,l,!1),v=!1;continue}if(y===2){if(v=l,n.errorRecoveryDisabledLanes&v)var C=0;else C=n.pendingLanes&-536870913,C=C!==0?C:C&536870912?536870912:0;if(C!==0){l=C;t:{var N=n;y=cd;var Z=N.current.memoizedState.isDehydrated;if(Z&&(ro(N,C).flags|=256),C=qm(N,C,!1),C!==2){if(jm&&!Z){N.errorRecoveryDisabledLanes|=v,Qs|=v,y=4;break t}v=pn,pn=y,v!==null&&(pn===null?pn=v:pn.push.apply(pn,v))}y=C}if(v=!1,y!==2)continue}}if(y===1){ro(n,0),eu(n,l,0,!0);break}t:{switch(r=n,v=y,v){case 0:case 1:throw Error(f(345));case 4:if((l&4194048)!==l)break;case 6:eu(r,l,Ja,!uo);break t;case 2:pn=null;break;case 3:case 5:break;default:throw Error(f(329))}if((l&62914560)===l&&(y=xi+300-ne(),10<y)){if(eu(r,l,Ja,!uo),Ve(r,0,!0)!==0)break t;so=l,r.timeoutHandle=Ad(dd.bind(null,r,o,pn,dc,Bm,l,Ja,Qs,mn,uo,v,"Throttled",-0,0),y);break t}dd(r,o,pn,dc,Bm,l,Ja,Qs,mn,uo,v,null,-0,0)}}break}while(!0);co(n)}function dd(n,l,o,r,y,v,C,N,Z,mt,Tt,Mt,yt,At){if(n.timeoutHandle=-1,Mt=l.subtreeFlags,Mt&8192||(Mt&16785408)===16785408){Mt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:oi},Hv(l,v,Mt);var Vt=(v&62914560)===v?xi-ne():(v&4194048)===v?Gy-ne():0;if(Vt=hg(Mt,Vt),Vt!==null){so=v,n.cancelPendingCommit=Vt(Kv.bind(null,n,l,v,o,r,y,C,N,Z,Tt,Mt,null,yt,At)),eu(n,v,C,!mt);return}}Kv(n,l,v,o,r,y,C,N,Z)}function Yv(n){for(var l=n;;){var o=l.tag;if((o===0||o===11||o===15)&&l.flags&16384&&(o=l.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var r=0;r<o.length;r++){var y=o[r],v=y.getSnapshot;y=y.value;try{if(!Ta(v(),y))return!1}catch{return!1}}if(o=l.child,l.subtreeFlags&16384&&o!==null)o.return=l,l=o;else{if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function eu(n,l,o,r){l&=~Hm,l&=~Qs,n.suspendedLanes|=l,n.pingedLanes&=~l,r&&(n.warmLanes|=l),r=n.expirationTimes;for(var y=l;0<y;){var v=31-Yn(y),C=1<<v;r[v]=-1,y&=~C}o!==0&&mf(n,o,l)}function mc(){return(De&6)===0?(au(0),!1):!0}function Xy(){if(ve!==null){if(je===0)var n=ve.return;else n=ve,pi=Qo=null,Zf(n),Ru=null,Us=0,n=ve;for(;n!==null;)Nv(n.alternate,n),n=n.return;ve=null}}function ro(n,l){var o=n.timeoutHandle;o!==-1&&(n.timeoutHandle=-1,c2(o)),o=n.cancelPendingCommit,o!==null&&(n.cancelPendingCommit=null,o()),so=0,Xy(),qe=n,ve=o=Go(n.current,null),he=l,je=0,Jt=null,uo=!1,Gu=ma(n,l),jm=!1,mn=Ja=Hm=Qs=Ei=Je=0,pn=cd=null,Bm=!1,(l&8)!==0&&(l|=l&32);var r=n.entangledLanes;if(r!==0)for(n=n.entanglements,r&=l;0<r;){var y=31-Yn(r),v=1<<y;l|=n[y],r&=~v}return Ti=l,vl(),o}function pc(n,l){ae=null,R.H=Pf,l===Cu||l===kr?(l=W0(),je=3):l===Rs?(l=W0(),je=4):je=l===Tm?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Jt=l,ve===null&&(Je=1,ac(n,Sl(l,n.current)))}function qv(){var n=qa.current;return n===null?!0:(he&4194048)===he?Dl===null:(he&62914560)===he||(he&536870912)!==0?n===Dl:!1}function Gv(){var n=R.H;return R.H=Pf,n===null?Pf:n}function Xv(){var n=R.A;return R.A=Bv,n}function Ym(){Je=4,uo||(he&4194048)!==he&&qa.current!==null||(Gu=!0),(Ei&134217727)===0&&(Qs&134217727)===0||qe===null||eu(qe,he,Ja,!1)}function qm(n,l,o){var r=De;De|=2;var y=Gv(),v=Xv();(qe!==n||he!==l)&&(dc=null,ro(n,l)),l=!1;var C=Je;t:do try{if(je!==0&&ve!==null){var N=ve,Z=Jt;switch(je){case 8:Xy(),C=6;break t;case 3:case 2:case 9:case 6:qa.current===null&&(l=!0);var mt=je;if(je=0,Jt=null,Zs(n,N,Z,mt),o&&Gu){C=0;break t}break;default:mt=je,je=0,Jt=null,Zs(n,N,Z,mt)}}z3(),C=Je;break}catch(Tt){pc(n,Tt)}while(!0);return l&&n.shellSuspendCounter++,pi=Qo=null,De=r,R.H=y,R.A=v,ve===null&&(qe=null,he=0,vl()),C}function z3(){for(;ve!==null;)Zv(ve)}function Qv(n,l){var o=De;De|=2;var r=Gv(),y=Xv();qe!==n||he!==l?(dc=null,Oe=ne()+500,ro(n,l)):Gu=ma(n,l);t:do try{if(je!==0&&ve!==null){l=ve;var v=Jt;e:switch(je){case 1:je=0,Jt=null,Zs(n,l,v,1);break;case 2:case 9:if($0(v)){je=0,Jt=null,kv(l);break}l=function(){je!==2&&je!==9||qe!==n||(je=7),co(n)},v.then(l,l);break t;case 3:je=7;break t;case 4:je=5;break t;case 7:$0(v)?(je=0,Jt=null,kv(l)):(je=0,Jt=null,Zs(n,l,v,7));break;case 5:var C=null;switch(ve.tag){case 26:C=ve.memoizedState;case 5:case 27:var N=ve;if(C?sl(C):N.stateNode.complete){je=0,Jt=null;var Z=N.sibling;if(Z!==null)ve=Z;else{var mt=N.return;mt!==null?(ve=mt,hd(mt)):ve=null}break e}}je=0,Jt=null,Zs(n,l,v,5);break;case 6:je=0,Jt=null,Zs(n,l,v,6);break;case 8:Xy(),Je=6;break t;default:throw Error(f(462))}}Qu();break}catch(Tt){pc(n,Tt)}while(!0);return pi=Qo=null,R.H=r,R.A=y,De=o,ve!==null?0:(qe=null,he=0,vl(),Je)}function Qu(){for(;ve!==null&&!Cn();)Zv(ve)}function Zv(n){var l=zy(n.alternate,n,Ti);n.memoizedProps=n.pendingProps,l===null?hd(n):ve=l}function kv(n){var l=n,o=l.alternate;switch(l.tag){case 15:case 0:l=Lu(o,l,l.pendingProps,l.type,void 0,he);break;case 11:l=Lu(o,l,l.pendingProps,l.type.render,l.ref,he);break;case 5:Zf(l);default:Nv(o,l),l=ve=X0(l,Ti),l=zy(o,l,Ti)}n.memoizedProps=n.pendingProps,l===null?hd(n):ve=l}function Zs(n,l,o,r){pi=Qo=null,Zf(l),Ru=null,Us=0;var y=l.return;try{if(O3(n,y,l,o,he)){Je=1,ac(n,Sl(o,n.current)),ve=null;return}}catch(v){if(y!==null)throw ve=y,v;Je=1,ac(n,Sl(o,n.current)),ve=null;return}l.flags&32768?(ge||r===1?n=!0:Gu||(he&536870912)!==0?n=!1:(uo=n=!0,(r===2||r===9||r===3||r===6)&&(r=qa.current,r!==null&&r.tag===13&&(r.flags|=16384))),Jv(l,n)):hd(l)}function hd(n){var l=n;do{if((l.flags&32768)!==0){Jv(l,uo);return}n=l.return;var o=Uv(l.alternate,l,Ti);if(o!==null){ve=o;return}if(l=l.sibling,l!==null){ve=l;return}ve=l=n}while(l!==null);Je===0&&(Je=5)}function Jv(n,l){do{var o=_v(n.alternate,n);if(o!==null){o.flags&=32767,ve=o;return}if(o=n.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!l&&(n=n.sibling,n!==null)){ve=n;return}ve=n=o}while(n!==null);Je=6,ve=null}function Kv(n,l,o,r,y,v,C,N,Z){n.cancelPendingCommit=null;do yc();while(Xn!==0);if((De&6)!==0)throw Error(f(327));if(l!==null){if(l===n.current)throw Error(f(177));if(v=l.lanes|l.childLanes,v|=Zl,Ah(n,o,v,C,N,Z),n===qe&&(ve=qe=null,he=0),Xu=l,tu=n,so=o,il=v,Vm=y,Lm=r,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,a2(Pe,function(){return Pv(),null})):(n.callbackNode=null,n.callbackPriority=0),r=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||r){r=R.T,R.T=null,y=w.p,w.p=2,C=De,De|=4;try{sc(n,l,o)}finally{De=C,w.p=y,R.T=r}}Xn=1,Fv(),$v(),Iv()}}function Fv(){if(Xn===1){Xn=0;var n=tu,l=Xu,o=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||o){o=R.T,R.T=null;var r=w.p;w.p=2;var y=De;De|=4;try{Rm(l,n);var v=$m,C=Tu(n.containerInfo),N=v.focusedElem,Z=v.selectionRange;if(C!==N&&N&&N.ownerDocument&&Ts(N.ownerDocument.documentElement,N)){if(Z!==null&&Df(N)){var mt=Z.start,Tt=Z.end;if(Tt===void 0&&(Tt=mt),"selectionStart"in N)N.selectionStart=mt,N.selectionEnd=Math.min(Tt,N.value.length);else{var Mt=N.ownerDocument||document,yt=Mt&&Mt.defaultView||window;if(yt.getSelection){var At=yt.getSelection(),Vt=N.textContent.length,Zt=Math.min(Z.start,Vt),Xe=Z.end===void 0?Zt:Math.min(Z.end,Vt);!At.extend&&Zt>Xe&&(C=Xe,Xe=Zt,Zt=C);var st=q0(N,Zt),W=q0(N,Xe);if(st&&W&&(At.rangeCount!==1||At.anchorNode!==st.node||At.anchorOffset!==st.offset||At.focusNode!==W.node||At.focusOffset!==W.offset)){var ft=Mt.createRange();ft.setStart(st.node,st.offset),At.removeAllRanges(),Zt>Xe?(At.addRange(ft),At.extend(W.node,W.offset)):(ft.setEnd(W.node,W.offset),At.addRange(ft))}}}}for(Mt=[],At=N;At=At.parentNode;)At.nodeType===1&&Mt.push({element:At,left:At.scrollLeft,top:At.scrollTop});for(typeof N.focus=="function"&&N.focus(),N=0;N<Mt.length;N++){var Dt=Mt[N];Dt.element.scrollLeft=Dt.left,Dt.element.scrollTop=Dt.top}}Qn=!!Fm,$m=Fm=null}finally{De=y,w.p=r,R.T=o}}n.current=l,Xn=2}}function $v(){if(Xn===2){Xn=0;var n=tu,l=Xu,o=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||o){o=R.T,R.T=null;var r=w.p;w.p=2;var y=De;De|=4;try{id(n,l.alternate,l)}finally{De=y,w.p=r,R.T=o}}Xn=3}}function Iv(){if(Xn===4||Xn===3){Xn=0,We();var n=tu,l=Xu,o=so,r=Lm;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Xn=5:(Xn=0,Xu=tu=null,Wv(n,n.pendingLanes));var y=n.pendingLanes;if(y===0&&(un=null),p0(o),l=l.stateNode,tn&&typeof tn.onCommitFiberRoot=="function")try{tn.onCommitFiberRoot(fa,l,void 0,(l.current.flags&128)===128)}catch{}if(r!==null){l=R.T,y=w.p,w.p=2,R.T=null;try{for(var v=n.onRecoverableError,C=0;C<r.length;C++){var N=r[C];v(N.value,{componentStack:N.stack})}}finally{R.T=l,w.p=y}}(so&3)!==0&&yc(),co(n),y=n.pendingLanes,(o&261930)!==0&&(y&42)!==0?n===fd?hc++:(hc=0,fd=n):hc=0,au(0)}}function Wv(n,l){(n.pooledCacheLanes&=l)===0&&(l=n.pooledCache,l!=null&&(n.pooledCache=null,jf(l)))}function yc(){return Fv(),$v(),Iv(),Pv()}function Pv(){if(Xn!==5)return!1;var n=tu,l=il;il=0;var o=p0(so),r=R.T,y=w.p;try{w.p=32>o?32:o,R.T=null,o=Vm,Vm=null;var v=tu,C=so;if(Xn=0,Xu=tu=null,so=0,(De&6)!==0)throw Error(f(331));var N=De;if(De|=4,Yy(v.current),rc(v,v.current,C,o),De=N,au(0,!1),tn&&typeof tn.onPostCommitFiberRoot=="function")try{tn.onPostCommitFiberRoot(fa,v)}catch{}return!0}finally{w.p=y,R.T=r,Wv(n,l)}}function t2(n,l,o){l=Sl(o,l),l=Sy(n.stateNode,l,2),n=xl(n,l,2),n!==null&&(Mr(n,2),co(n))}function He(n,l,o){if(n.tag===3)t2(n,n,o);else for(;l!==null;){if(l.tag===3){t2(l,n,o);break}else if(l.tag===1){var r=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(un===null||!un.has(r))){n=Sl(o,n),o=Ay(2),r=xl(l,o,2),r!==null&&(Ty(o,r,l,n),Mr(r,2),co(r));break}}l=l.return}}function md(n,l,o){var r=n.pingCache;if(r===null){r=n.pingCache=new qy;var y=new Set;r.set(l,y)}else y=r.get(l),y===void 0&&(y=new Set,r.set(l,y));y.has(o)||(jm=!0,y.add(o),n=Qy.bind(null,n,l,o),l.then(n,n))}function Qy(n,l,o){var r=n.pingCache;r!==null&&r.delete(l),n.pingedLanes|=n.suspendedLanes&o,n.warmLanes&=~o,qe===n&&(he&o)===o&&(Je===4||Je===3&&(he&62914560)===he&&300>ne()-xi?(De&2)===0&&ro(n,0):Hm|=o,mn===he&&(mn=0)),co(n)}function e2(n,l){l===0&&(l=Na()),n=qo(n,l),n!==null&&(Mr(n,l),co(n))}function Rl(n){var l=n.memoizedState,o=0;l!==null&&(o=l.retryLane),e2(n,o)}function n2(n,l){var o=0;switch(n.tag){case 31:case 13:var r=n.stateNode,y=n.memoizedState;y!==null&&(o=y.retryLane);break;case 19:r=n.stateNode;break;case 22:r=n.stateNode._retryCache;break;default:throw Error(f(314))}r!==null&&r.delete(l),e2(n,o)}function a2(n,l){return le(n,l)}var gc=null,ks=null,Zy=!1,Gm=!1,ky=!1,nu=0;function co(n){n!==ks&&n.next===null&&(ks===null?gc=ks=n:ks=ks.next=n),Gm=!0,Zy||(Zy=!0,yd())}function au(n,l){if(!ky&&Gm){ky=!0;do for(var o=!1,r=gc;r!==null;){if(n!==0){var y=r.pendingLanes;if(y===0)var v=0;else{var C=r.suspendedLanes,N=r.pingedLanes;v=(1<<31-Yn(42|n)+1)-1,v&=y&~(C&~N),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(o=!0,Js(r,v))}else v=he,v=Ve(r,r===qe?v:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(v&3)===0||ma(r,v)||(o=!0,Js(r,v));r=r.next}while(o);ky=!1}}function Xm(){Jy()}function Jy(){Gm=Zy=!1;var n=0;nu!==0&&R3()&&(n=nu);for(var l=ne(),o=null,r=gc;r!==null;){var y=r.next,v=Ky(r,l);v===0?(r.next=null,o===null?gc=y:o.next=y,y===null&&(ks=o)):(o=r,(n!==0||(v&3)!==0)&&(Gm=!0)),r=y}Xn!==0&&Xn!==5||au(n),nu!==0&&(nu=0)}function Ky(n,l){for(var o=n.suspendedLanes,r=n.pingedLanes,y=n.expirationTimes,v=n.pendingLanes&-62914561;0<v;){var C=31-Yn(v),N=1<<C,Z=y[C];Z===-1?((N&o)===0||(N&r)!==0)&&(y[C]=Ho(N,l)):Z<=l&&(n.expiredLanes|=N),v&=~N}if(l=qe,o=he,o=Ve(n,n===l?o:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),r=n.callbackNode,o===0||n===l&&(je===2||je===9)||n.cancelPendingCommit!==null)return r!==null&&r!==null&&an(r),n.callbackNode=null,n.callbackPriority=0;if((o&3)===0||ma(n,o)){if(l=o&-o,l===n.callbackPriority)return l;switch(r!==null&&an(r),p0(o)){case 2:case 8:o=No;break;case 32:o=Pe;break;case 268435456:o=Ln;break;default:o=Pe}return r=pd.bind(null,n),o=le(o,r),n.callbackPriority=l,n.callbackNode=o,l}return r!==null&&r!==null&&an(r),n.callbackPriority=2,n.callbackNode=null,2}function pd(n,l){if(Xn!==0&&Xn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var o=n.callbackNode;if(yc()&&n.callbackNode!==o)return null;var r=he;return r=Ve(n,n===qe?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),r===0?null:(Lv(n,r,l),Ky(n,ne()),n.callbackNode!=null&&n.callbackNode===o?pd.bind(null,n):null)}function Js(n,l){if(yc())return null;Lv(n,l,!0)}function yd(){f2(function(){(De&6)!==0?le(dl,Xm):Jy()})}function Qm(){if(nu===0){var n=Mu;n===0&&(n=_a,_a<<=1,(_a&261888)===0&&(_a=256)),nu=n}return nu}function l2(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:ql(""+n)}function Ks(n,l){var o=l.ownerDocument.createElement("input");return o.name=l.name,o.value=l.value,n.id&&o.setAttribute("form",n.id),l.parentNode.insertBefore(o,l),n=new FormData(n),o.parentNode.removeChild(o),n}function gd(n,l,o,r,y){if(l==="submit"&&o&&o.stateNode===y){var v=l2((y[ja]||null).action),C=r.submitter;C&&(l=(l=C[ja]||null)?l2(l.formAction):C.getAttribute("formAction"),l!==null&&(v=l,C=null));var N=new Tf("action","action",null,r,y);n.push({event:N,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(nu!==0){var Z=C?Ks(y,C):new FormData(y);ec(o,{pending:!0,data:Z,method:y.method,action:v},null,Z)}}else typeof v=="function"&&(N.preventDefault(),Z=C?Ks(y,C):new FormData(y),ec(o,{pending:!0,data:Z,method:y.method,action:v},v,Z))},currentTarget:y}]})}}for(var Zm=0;Zm<Yr.length;Zm++){var vc=Yr[Zm],Fy=vc.toLowerCase(),$y=vc[0].toUpperCase()+vc.slice(1);Ba(Fy,"on"+$y)}Ba(Cf,"onAnimationEnd"),Ba(G0,"onAnimationIteration"),Ba(Zh,"onAnimationStart"),Ba("dblclick","onDoubleClick"),Ba("focusin","onFocus"),Ba("focusout","onBlur"),Ba(Es,"onTransitionRun"),Ba(Of,"onTransitionStart"),Ba(Qi,"onTransitionCancel"),Ba(pv,"onTransitionEnd"),Li("onMouseEnter",["mouseout","mouseover"]),Li("onMouseLeave",["mouseout","mouseover"]),Li("onPointerEnter",["pointerout","pointerover"]),Li("onPointerLeave",["pointerout","pointerover"]),gu("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),gu("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),gu("onBeforeInput",["compositionend","keypress","textInput","paste"]),gu("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),gu("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),gu("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bc="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(" "),i2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bc));function o2(n,l){l=(l&4)!==0;for(var o=0;o<n.length;o++){var r=n[o],y=r.event;r=r.listeners;t:{var v=void 0;if(l)for(var C=r.length-1;0<=C;C--){var N=r[C],Z=N.instance,mt=N.currentTarget;if(N=N.listener,Z!==v&&y.isPropagationStopped())break t;v=N,y.currentTarget=mt;try{v(y)}catch(Tt){xs(Tt)}y.currentTarget=null,v=Z}else for(C=0;C<r.length;C++){if(N=r[C],Z=N.instance,mt=N.currentTarget,N=N.listener,Z!==v&&y.isPropagationStopped())break t;v=N,y.currentTarget=mt;try{v(y)}catch(Tt){xs(Tt)}y.currentTarget=null,v=Z}}}}function pe(n,l){var o=l[xh];o===void 0&&(o=l[xh]=new Set);var r=n+"__bubble";o.has(r)||(vd(l,n,2,!1),o.add(r))}function Iy(n,l,o){var r=0;l&&(r|=4),vd(o,n,r,l)}var km="_reactListening"+Math.random().toString(36).slice(2);function Sc(n){if(!n[km]){n[km]=!0,ds.forEach(function(o){o!=="selectionchange"&&(i2.has(o)||Iy(o,!1,n),Iy(o,!0,n))});var l=n.nodeType===9?n:n.ownerDocument;l===null||l[km]||(l[km]=!0,Iy("selectionchange",!1,l))}}function vd(n,l,o,r){switch(Cd(l)){case 2:var y=ho;break;case 8:y=mo;break;default:y=ga}o=y.bind(null,l,o,n),y=void 0,!Sf||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(y=!0),r?y!==void 0?n.addEventListener(l,o,{capture:!0,passive:y}):n.addEventListener(l,o,!0):y!==void 0?n.addEventListener(l,o,{passive:y}):n.addEventListener(l,o,!1)}function Wy(n,l,o,r,y){var v=r;if((l&1)===0&&(l&2)===0&&r!==null)t:for(;;){if(r===null)return;var C=r.tag;if(C===3||C===4){var N=r.stateNode.containerInfo;if(N===y)break;if(C===4)for(C=r.return;C!==null;){var Z=C.tag;if((Z===3||Z===4)&&C.stateNode.containerInfo===y)return;C=C.return}for(;N!==null;){if(C=rs(N),C===null)return;if(Z=C.tag,Z===5||Z===6||Z===26||Z===27){r=v=C;continue t}N=N.parentNode}}r=r.return}x0(function(){var mt=v,Tt=Uh(o),Mt=[];t:{var yt=Zi.get(n);if(yt!==void 0){var At=Tf,Vt=n;switch(n){case"keypress":if(Nh(o)===0)break t;case"keydown":case"keyup":At=Vh;break;case"focusin":Vt="focus",At=Hh;break;case"focusout":Vt="blur",At=Hh;break;case"beforeblur":case"afterblur":At=Hh;break;case"click":if(o.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":At=jr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":At=av;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":At=sv;break;case Cf:case G0:case Zh:At=iv;break;case pv:At=x3;break;case"scroll":case"scrollend":At=T3;break;case"wheel":At=D3;break;case"copy":case"cut":case"paste":At=ys;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":At=ri;break;case"toggle":case"beforetoggle":At=_0}var Zt=(l&4)!==0,Xe=!Zt&&(n==="scroll"||n==="scrollend"),st=Zt?yt!==null?yt+"Capture":null:yt;Zt=[];for(var W=mt,ft;W!==null;){var Dt=W;if(ft=Dt.stateNode,Dt=Dt.tag,Dt!==5&&Dt!==26&&Dt!==27||ft===null||st===null||(Dt=Fn(W,st),Dt!=null&&Zt.push(bd(W,Dt,ft))),Xe)break;W=W.return}0<Zt.length&&(yt=new At(yt,Vt,null,o,Tt),Mt.push({event:yt,listeners:Zt}))}}if((l&7)===0){t:{if(yt=n==="mouseover"||n==="pointerover",At=n==="mouseout"||n==="pointerout",yt&&o!==wh&&(Vt=o.relatedTarget||o.fromElement)&&(rs(Vt)||Vt[pu]))break t;if((At||yt)&&(yt=Tt.window===Tt?Tt:(yt=Tt.ownerDocument)?yt.defaultView||yt.parentWindow:window,At?(Vt=o.relatedTarget||o.toElement,At=mt,Vt=Vt?rs(Vt):null,Vt!==null&&(Xe=p(Vt),Zt=Vt.tag,Vt!==Xe||Zt!==5&&Zt!==27&&Zt!==6)&&(Vt=null)):(At=null,Vt=mt),At!==Vt)){if(Zt=jr,Dt="onMouseLeave",st="onMouseEnter",W="mouse",(n==="pointerout"||n==="pointerover")&&(Zt=ri,Dt="onPointerLeave",st="onPointerEnter",W="pointer"),Xe=At==null?yt:Cr(At),ft=Vt==null?yt:Cr(Vt),yt=new Zt(Dt,W+"leave",At,o,Tt),yt.target=Xe,yt.relatedTarget=ft,Dt=null,rs(Tt)===mt&&(Zt=new Zt(st,W+"enter",Vt,o,Tt),Zt.target=ft,Zt.relatedTarget=Xe,Dt=Zt),Xe=Dt,At&&Vt)e:{for(Zt=u2,st=At,W=Vt,ft=0,Dt=st;Dt;Dt=Zt(Dt))ft++;Dt=0;for(var qt=W;qt;qt=Zt(qt))Dt++;for(;0<ft-Dt;)st=Zt(st),ft--;for(;0<Dt-ft;)W=Zt(W),Dt--;for(;ft--;){if(st===W||W!==null&&st===W.alternate){Zt=st;break e}st=Zt(st),W=Zt(W)}Zt=null}else Zt=null;At!==null&&Jm(Mt,yt,At,Zt,!1),Vt!==null&&Xe!==null&&Jm(Mt,Xe,Vt,Zt,!0)}}t:{if(yt=mt?Cr(mt):window,At=yt.nodeName&&yt.nodeName.toLowerCase(),At==="select"||At==="input"&&yt.type==="file")var Ee=V0;else if(Xi(yt))if(qh)Ee=As;else{Ee=hv;var Lt=dv}else At=yt.nodeName,!At||At.toLowerCase()!=="input"||yt.type!=="checkbox"&&yt.type!=="radio"?mt&&E0(mt.elementType)&&(Ee=V0):Ee=Au;if(Ee&&(Ee=Ee(n,mt))){B0(Mt,Ee,o,Tt);break t}Lt&&Lt(n,yt,mt),n==="focusout"&&mt&&yt.type==="number"&&mt.memoizedProps.value!=null&&hs(yt,"number",yt.value)}switch(Lt=mt?Cr(mt):window,n){case"focusin":(Xi(Lt)||Lt.contentEditable==="true")&&(Eu=Lt,Vr=mt,Ql=null);break;case"focusout":Ql=Vr=Eu=null;break;case"mousedown":fi=!0;break;case"contextmenu":case"mouseup":case"dragend":fi=!1,Qh(Mt,o,Tt);break;case"selectionchange":if(Mf)break;case"keydown":case"keyup":Qh(Mt,o,Tt)}var ee;if(Hr)t:{switch(n){case"compositionstart":var oe="onCompositionStart";break t;case"compositionend":oe="onCompositionEnd";break t;case"compositionupdate":oe="onCompositionUpdate";break t}oe=void 0}else vs?Yh(n,o)&&(oe="onCompositionEnd"):n==="keydown"&&o.keyCode===229&&(oe="onCompositionStart");oe&&(N0&&o.locale!=="ko"&&(vs||oe!=="onCompositionStart"?oe==="onCompositionEnd"&&vs&&(ee=M0()):(Lo=Tt,D0="value"in Lo?Lo.value:Lo.textContent,vs=!0)),Lt=Sd(mt,oe),0<Lt.length&&(oe=new ov(oe,n,null,o,Tt),Mt.push({event:oe,listeners:Lt}),ee?oe.data=ee:(ee=j0(o),ee!==null&&(oe.data=ee)))),(ee=Aa?fv(n,o):M3(n,o))&&(oe=Sd(mt,"onBeforeInput"),0<oe.length&&(Lt=new ov("onBeforeInput","beforeinput",null,o,Tt),Mt.push({event:Lt,listeners:oe}),Lt.data=ee)),gd(Mt,n,mt,o,Tt)}o2(Mt,l)})}function bd(n,l,o){return{instance:n,listener:l,currentTarget:o}}function Sd(n,l){for(var o=l+"Capture",r=[];n!==null;){var y=n,v=y.stateNode;if(y=y.tag,y!==5&&y!==26&&y!==27||v===null||(y=Fn(n,o),y!=null&&r.unshift(bd(n,y,v)),y=Fn(n,l),y!=null&&r.push(bd(n,y,v))),n.tag===3)return r;n=n.return}return[]}function u2(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Jm(n,l,o,r,y){for(var v=l._reactName,C=[];o!==null&&o!==r;){var N=o,Z=N.alternate,mt=N.stateNode;if(N=N.tag,Z!==null&&Z===r)break;N!==5&&N!==26&&N!==27||mt===null||(Z=mt,y?(mt=Fn(o,v),mt!=null&&C.unshift(bd(o,mt,Z))):y||(mt=Fn(o,v),mt!=null&&C.push(bd(o,mt,Z)))),o=o.return}C.length!==0&&n.push({event:l,listeners:C})}var s2=/\r\n?/g,Py=/\u0000|\uFFFD/g;function tg(n){return(typeof n=="string"?n:""+n).replace(s2,`
14
- `).replace(Py,"")}function eg(n,l){return l=tg(l),tg(n)===l}function Ge(n,l,o,r,y,v){switch(o){case"children":typeof r=="string"?l==="body"||l==="textarea"&&r===""||Yi(n,r):(typeof r=="number"||typeof r=="bigint")&&l!=="body"&&Yi(n,""+r);break;case"className":Oh(n,"class",r);break;case"tabIndex":Oh(n,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Oh(n,o,r);break;case"style":tv(n,r,v);break;case"data":if(l!=="object"){Oh(n,"data",r);break}case"src":case"href":if(r===""&&(l!=="a"||o!=="href")){n.removeAttribute(o);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){n.removeAttribute(o);break}r=ql(""+r),n.setAttribute(o,r);break;case"action":case"formAction":if(typeof r=="function"){n.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof v=="function"&&(o==="formAction"?(l!=="input"&&Ge(n,l,"name",y.name,y,null),Ge(n,l,"formEncType",y.formEncType,y,null),Ge(n,l,"formMethod",y.formMethod,y,null),Ge(n,l,"formTarget",y.formTarget,y,null)):(Ge(n,l,"encType",y.encType,y,null),Ge(n,l,"method",y.method,y,null),Ge(n,l,"target",y.target,y,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){n.removeAttribute(o);break}r=ql(""+r),n.setAttribute(o,r);break;case"onClick":r!=null&&(n.onclick=oi);break;case"onScroll":r!=null&&pe("scroll",n);break;case"onScrollEnd":r!=null&&pe("scrollend",n);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(f(61));if(o=r.__html,o!=null){if(y.children!=null)throw Error(f(60));n.innerHTML=o}}break;case"multiple":n.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":n.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){n.removeAttribute("xlink:href");break}o=ql(""+r),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?n.setAttribute(o,""+r):n.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?n.setAttribute(o,""):n.removeAttribute(o);break;case"capture":case"download":r===!0?n.setAttribute(o,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?n.setAttribute(o,r):n.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?n.setAttribute(o,r):n.removeAttribute(o);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?n.removeAttribute(o):n.setAttribute(o,r);break;case"popover":pe("beforetoggle",n),pe("toggle",n),Rr(n,"popover",r);break;case"xlinkActuate":Bo(n,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Bo(n,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Bo(n,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Bo(n,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Bo(n,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Bo(n,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Bo(n,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Bo(n,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Bo(n,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Rr(n,"is",r);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=A3.get(o)||o,Rr(n,o,r))}}function ng(n,l,o,r,y,v){switch(o){case"style":tv(n,r,v);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(f(61));if(o=r.__html,o!=null){if(y.children!=null)throw Error(f(60));n.innerHTML=o}}break;case"children":typeof r=="string"?Yi(n,r):(typeof r=="number"||typeof r=="bigint")&&Yi(n,""+r);break;case"onScroll":r!=null&&pe("scroll",n);break;case"onScrollEnd":r!=null&&pe("scrollend",n);break;case"onClick":r!=null&&(n.onclick=oi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!yu.hasOwnProperty(o))t:{if(o[0]==="o"&&o[1]==="n"&&(y=o.endsWith("Capture"),l=o.slice(2,y?o.length-7:void 0),v=n[ja]||null,v=v!=null?v[o]:null,typeof v=="function"&&n.removeEventListener(l,v,y),typeof r=="function")){typeof v!="function"&&v!==null&&(o in n?n[o]=null:n.hasAttribute(o)&&n.removeAttribute(o)),n.addEventListener(l,r,y);break t}o in n?n[o]=r:r===!0?n.setAttribute(o,""):Rr(n,o,r)}}}function ya(n,l,o){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":pe("error",n),pe("load",n);var r=!1,y=!1,v;for(v in o)if(o.hasOwnProperty(v)){var C=o[v];if(C!=null)switch(v){case"src":r=!0;break;case"srcSet":y=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(f(137,l));default:Ge(n,l,v,C,o,null)}}y&&Ge(n,l,"srcSet",o.srcSet,o,null),r&&Ge(n,l,"src",o.src,o,null);return;case"input":pe("invalid",n);var N=v=C=y=null,Z=null,mt=null;for(r in o)if(o.hasOwnProperty(r)){var Tt=o[r];if(Tt!=null)switch(r){case"name":y=Tt;break;case"type":C=Tt;break;case"checked":Z=Tt;break;case"defaultChecked":mt=Tt;break;case"value":v=Tt;break;case"defaultValue":N=Tt;break;case"children":case"dangerouslySetInnerHTML":if(Tt!=null)throw Error(f(137,l));break;default:Ge(n,l,r,Tt,o,null)}}gf(n,v,N,Z,mt,C,y,!1);return;case"select":pe("invalid",n),r=C=v=null;for(y in o)if(o.hasOwnProperty(y)&&(N=o[y],N!=null))switch(y){case"value":v=N;break;case"defaultValue":C=N;break;case"multiple":r=N;default:Ge(n,l,y,N,o,null)}l=v,o=C,n.multiple=!!r,l!=null?wr(n,!!r,l,!1):o!=null&&wr(n,!!r,o,!0);return;case"textarea":pe("invalid",n),v=y=r=null;for(C in o)if(o.hasOwnProperty(C)&&(N=o[C],N!=null))switch(C){case"value":r=N;break;case"defaultValue":y=N;break;case"children":v=N;break;case"dangerouslySetInnerHTML":if(N!=null)throw Error(f(91));break;default:Ge(n,l,C,N,o,null)}T0(n,r,y,v);return;case"option":for(Z in o)o.hasOwnProperty(Z)&&(r=o[Z],r!=null)&&(Z==="selected"?n.selected=r&&typeof r!="function"&&typeof r!="symbol":Ge(n,l,Z,r,o,null));return;case"dialog":pe("beforetoggle",n),pe("toggle",n),pe("cancel",n),pe("close",n);break;case"iframe":case"object":pe("load",n);break;case"video":case"audio":for(r=0;r<bc.length;r++)pe(bc[r],n);break;case"image":pe("error",n),pe("load",n);break;case"details":pe("toggle",n);break;case"embed":case"source":case"link":pe("error",n),pe("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(mt in o)if(o.hasOwnProperty(mt)&&(r=o[mt],r!=null))switch(mt){case"children":case"dangerouslySetInnerHTML":throw Error(f(137,l));default:Ge(n,l,mt,r,o,null)}return;default:if(E0(l)){for(Tt in o)o.hasOwnProperty(Tt)&&(r=o[Tt],r!==void 0&&ng(n,l,Tt,r,o,void 0));return}}for(N in o)o.hasOwnProperty(N)&&(r=o[N],r!=null&&Ge(n,l,N,r,o,null))}function ag(n,l,o,r){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var y=null,v=null,C=null,N=null,Z=null,mt=null,Tt=null;for(At in o){var Mt=o[At];if(o.hasOwnProperty(At)&&Mt!=null)switch(At){case"checked":break;case"value":break;case"defaultValue":Z=Mt;default:r.hasOwnProperty(At)||Ge(n,l,At,null,r,Mt)}}for(var yt in r){var At=r[yt];if(Mt=o[yt],r.hasOwnProperty(yt)&&(At!=null||Mt!=null))switch(yt){case"type":v=At;break;case"name":y=At;break;case"checked":mt=At;break;case"defaultChecked":Tt=At;break;case"value":C=At;break;case"defaultValue":N=At;break;case"children":case"dangerouslySetInnerHTML":if(At!=null)throw Error(f(137,l));break;default:At!==Mt&&Ge(n,l,yt,At,r,Mt)}}yf(n,C,N,Z,mt,Tt,v,y);return;case"select":At=C=N=yt=null;for(v in o)if(Z=o[v],o.hasOwnProperty(v)&&Z!=null)switch(v){case"value":break;case"multiple":At=Z;default:r.hasOwnProperty(v)||Ge(n,l,v,null,r,Z)}for(y in r)if(v=r[y],Z=o[y],r.hasOwnProperty(y)&&(v!=null||Z!=null))switch(y){case"value":yt=v;break;case"defaultValue":N=v;break;case"multiple":C=v;default:v!==Z&&Ge(n,l,y,v,r,Z)}l=N,o=C,r=At,yt!=null?wr(n,!!o,yt,!1):!!r!=!!o&&(l!=null?wr(n,!!o,l,!0):wr(n,!!o,o?[]:"",!1));return;case"textarea":At=yt=null;for(N in o)if(y=o[N],o.hasOwnProperty(N)&&y!=null&&!r.hasOwnProperty(N))switch(N){case"value":break;case"children":break;default:Ge(n,l,N,null,r,y)}for(C in r)if(y=r[C],v=o[C],r.hasOwnProperty(C)&&(y!=null||v!=null))switch(C){case"value":yt=y;break;case"defaultValue":At=y;break;case"children":break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(f(91));break;default:y!==v&&Ge(n,l,C,y,r,v)}A0(n,yt,At);return;case"option":for(var Vt in o)yt=o[Vt],o.hasOwnProperty(Vt)&&yt!=null&&!r.hasOwnProperty(Vt)&&(Vt==="selected"?n.selected=!1:Ge(n,l,Vt,null,r,yt));for(Z in r)yt=r[Z],At=o[Z],r.hasOwnProperty(Z)&&yt!==At&&(yt!=null||At!=null)&&(Z==="selected"?n.selected=yt&&typeof yt!="function"&&typeof yt!="symbol":Ge(n,l,Z,yt,r,At));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Zt in o)yt=o[Zt],o.hasOwnProperty(Zt)&&yt!=null&&!r.hasOwnProperty(Zt)&&Ge(n,l,Zt,null,r,yt);for(mt in r)if(yt=r[mt],At=o[mt],r.hasOwnProperty(mt)&&yt!==At&&(yt!=null||At!=null))switch(mt){case"children":case"dangerouslySetInnerHTML":if(yt!=null)throw Error(f(137,l));break;default:Ge(n,l,mt,yt,r,At)}return;default:if(E0(l)){for(var Xe in o)yt=o[Xe],o.hasOwnProperty(Xe)&&yt!==void 0&&!r.hasOwnProperty(Xe)&&ng(n,l,Xe,void 0,r,yt);for(Tt in r)yt=r[Tt],At=o[Tt],!r.hasOwnProperty(Tt)||yt===At||yt===void 0&&At===void 0||ng(n,l,Tt,yt,r,At);return}}for(var st in o)yt=o[st],o.hasOwnProperty(st)&&yt!=null&&!r.hasOwnProperty(st)&&Ge(n,l,st,null,r,yt);for(Mt in r)yt=r[Mt],At=o[Mt],!r.hasOwnProperty(Mt)||yt===At||yt==null&&At==null||Ge(n,l,Mt,yt,r,At)}function Km(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function lg(){if(typeof performance.getEntriesByType=="function"){for(var n=0,l=0,o=performance.getEntriesByType("resource"),r=0;r<o.length;r++){var y=o[r],v=y.transferSize,C=y.initiatorType,N=y.duration;if(v&&N&&Km(C)){for(C=0,N=y.responseEnd,r+=1;r<o.length;r++){var Z=o[r],mt=Z.startTime;if(mt>N)break;var Tt=Z.transferSize,Mt=Z.initiatorType;Tt&&Km(Mt)&&(Z=Z.responseEnd,C+=Tt*(Z<N?1:(N-mt)/(Z-mt)))}if(--r,l+=8*(v+C)/(y.duration/1e3),n++,10<n)break}}if(0<n)return l/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var Fm=null,$m=null;function Zu(n){return n.nodeType===9?n:n.ownerDocument}function r2(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ig(n,l){if(n===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&l==="foreignObject"?0:n}function Ac(n,l){return n==="textarea"||n==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Im=null;function R3(){var n=window.event;return n&&n.type==="popstate"?n===Im?!1:(Im=n,!0):(Im=null,!1)}var Ad=typeof setTimeout=="function"?setTimeout:void 0,c2=typeof clearTimeout=="function"?clearTimeout:void 0,Fs=typeof Promise=="function"?Promise:void 0,f2=typeof queueMicrotask=="function"?queueMicrotask:typeof Fs<"u"?function(n){return Fs.resolve(null).then(n).catch(og)}:Ad;function og(n){setTimeout(function(){throw n})}function Di(n){return n==="head"}function ug(n,l){var o=l,r=0;do{var y=o.nextSibling;if(n.removeChild(o),y&&y.nodeType===8)if(o=y.data,o==="/$"||o==="/&"){if(r===0){n.removeChild(y),_c(l);return}r--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")r++;else if(o==="html")$s(n.ownerDocument.documentElement);else if(o==="head"){o=n.ownerDocument.head,$s(o);for(var v=o.firstChild;v;){var C=v.nextSibling,N=v.nodeName;v[Vi]||N==="SCRIPT"||N==="STYLE"||N==="LINK"&&v.rel.toLowerCase()==="stylesheet"||o.removeChild(v),v=C}}else o==="body"&&$s(n.ownerDocument.body);o=y}while(o);_c(l)}function _n(n,l){var o=n;n=0;do{var r=o.nextSibling;if(o.nodeType===1?l?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(l?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),r&&r.nodeType===8)if(o=r.data,o==="/$"){if(n===0)break;n--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||n++;o=r}while(o)}function Td(n){var l=n.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var o=l;switch(l=l.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":Td(o),Dh(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}n.removeChild(o)}}function w3(n,l,o,r){for(;n.nodeType===1;){var y=o;if(n.nodeName.toLowerCase()!==l.toLowerCase()){if(!r&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(r){if(!n[Vi])switch(l){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(v=n.getAttribute("rel"),v==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(v!==y.rel||n.getAttribute("href")!==(y.href==null||y.href===""?null:y.href)||n.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin)||n.getAttribute("title")!==(y.title==null?null:y.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(v=n.getAttribute("src"),(v!==(y.src==null?null:y.src)||n.getAttribute("type")!==(y.type==null?null:y.type)||n.getAttribute("crossorigin")!==(y.crossOrigin==null?null:y.crossOrigin))&&v&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(l==="input"&&n.type==="hidden"){var v=y.name==null?null:""+y.name;if(y.type==="hidden"&&n.getAttribute("name")===v)return n}else return n;if(n=Fa(n.nextSibling),n===null)break}return null}function se(n,l,o){if(l==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!o||(n=Fa(n.nextSibling),n===null))return null;return n}function d2(n,l){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!l||(n=Fa(n.nextSibling),n===null))return null;return n}function Wl(n){return n.data==="$?"||n.data==="$~"}function ku(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function Tc(n,l){var o=n.ownerDocument;if(n.data==="$~")n._reactRetry=l;else if(n.data!=="$?"||o.readyState!=="loading")l();else{var r=function(){l(),o.removeEventListener("DOMContentLoaded",r)};o.addEventListener("DOMContentLoaded",r),n._reactRetry=r}}function Fa(n){for(;n!=null;n=n.nextSibling){var l=n.nodeType;if(l===1||l===3)break;if(l===8){if(l=n.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return n}var Ed=null;function Wm(n){n=n.nextSibling;for(var l=0;n;){if(n.nodeType===8){var o=n.data;if(o==="/$"||o==="/&"){if(l===0)return Fa(n.nextSibling);l--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||l++}n=n.nextSibling}return null}function Mi(n){n=n.previousSibling;for(var l=0;n;){if(n.nodeType===8){var o=n.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(l===0)return n;l--}else o!=="/$"&&o!=="/&"||l++}n=n.previousSibling}return null}function Ec(n,l,o){switch(l=Zu(o),n){case"html":if(n=l.documentElement,!n)throw Error(f(452));return n;case"head":if(n=l.head,!n)throw Error(f(453));return n;case"body":if(n=l.body,!n)throw Error(f(454));return n;default:throw Error(f(451))}}function $s(n){for(var l=n.attributes;l.length;)n.removeAttributeNode(l[0]);Dh(n)}var ul=new Map,xd=new Set;function xa(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var Ci=w.d;w.d={f:U3,r:h2,D:St,C:ze,L:_3,m:sg,X:lu,S:rg,M:Ju};function U3(){var n=Ci.f(),l=mc();return n||l}function h2(n){var l=cs(n);l!==null&&l.tag===5&&l.type==="form"?Ye(l):Ci.r(n)}var xc=typeof document>"u"?null:document;function Bn(n,l,o){var r=xc;if(r&&typeof l=="string"&&l){var y=gl(l);y='link[rel="'+n+'"][href="'+y+'"]',typeof o=="string"&&(y+='[crossorigin="'+o+'"]'),xd.has(y)||(xd.add(y),n={rel:n,crossOrigin:o,href:l},r.querySelector(y)===null&&(l=r.createElement("link"),ya(l,"link",n),Ue(l),r.head.appendChild(l)))}}function St(n){Ci.D(n),Bn("dns-prefetch",n,null)}function ze(n,l){Ci.C(n,l),Bn("preconnect",n,l)}function _3(n,l,o){Ci.L(n,l,o);var r=xc;if(r&&n&&l){var y='link[rel="preload"][as="'+gl(l)+'"]';l==="image"&&o&&o.imageSrcSet?(y+='[imagesrcset="'+gl(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(y+='[imagesizes="'+gl(o.imageSizes)+'"]')):y+='[href="'+gl(n)+'"]';var v=y;switch(l){case"style":v=wl(n);break;case"script":v=Is(n)}ul.has(v)||(n=E({rel:"preload",href:l==="image"&&o&&o.imageSrcSet?void 0:n,as:l},o),ul.set(v,n),r.querySelector(y)!==null||l==="style"&&r.querySelector(Ku(v))||l==="script"&&r.querySelector(Cc(v))||(l=r.createElement("link"),ya(l,"link",n),Ue(l),r.head.appendChild(l)))}}function sg(n,l){Ci.m(n,l);var o=xc;if(o&&n){var r=l&&typeof l.as=="string"?l.as:"script",y='link[rel="modulepreload"][as="'+gl(r)+'"][href="'+gl(n)+'"]',v=y;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=Is(n)}if(!ul.has(v)&&(n=E({rel:"modulepreload",href:n},l),ul.set(v,n),o.querySelector(y)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(Cc(v)))return}r=o.createElement("link"),ya(r,"link",n),Ue(r),o.head.appendChild(r)}}}function rg(n,l,o){Ci.S(n,l,o);var r=xc;if(r&&n){var y=fs(r).hoistableStyles,v=wl(n);l=l||"default";var C=y.get(v);if(!C){var N={loading:0,preload:null};if(C=r.querySelector(Ku(v)))N.loading=5;else{n=E({rel:"stylesheet",href:n,"data-precedence":l},o),(o=ul.get(v))&&Pm(n,o);var Z=C=r.createElement("link");Ue(Z),ya(Z,"link",n),Z._p=new Promise(function(mt,Tt){Z.onload=mt,Z.onerror=Tt}),Z.addEventListener("load",function(){N.loading|=1}),Z.addEventListener("error",function(){N.loading|=2}),N.loading|=4,Dd(C,l,r)}C={type:"stylesheet",instance:C,count:1,state:N},y.set(v,C)}}}function lu(n,l){Ci.X(n,l);var o=xc;if(o&&n){var r=fs(o).hoistableScripts,y=Is(n),v=r.get(y);v||(v=o.querySelector(Cc(y)),v||(n=E({src:n,async:!0},l),(l=ul.get(y))&&tp(n,l),v=o.createElement("script"),Ue(v),ya(v,"link",n),o.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},r.set(y,v))}}function Ju(n,l){Ci.M(n,l);var o=xc;if(o&&n){var r=fs(o).hoistableScripts,y=Is(n),v=r.get(y);v||(v=o.querySelector(Cc(y)),v||(n=E({src:n,async:!0,type:"module"},l),(l=ul.get(y))&&tp(n,l),v=o.createElement("script"),Ue(v),ya(v,"link",n),o.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},r.set(y,v))}}function Dc(n,l,o,r){var y=(y=zt.current)?xa(y):null;if(!y)throw Error(f(446));switch(n){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(l=wl(o.href),o=fs(y).hoistableStyles,r=o.get(l),r||(r={type:"style",instance:null,count:0,state:null},o.set(l,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){n=wl(o.href);var v=fs(y).hoistableStyles,C=v.get(n);if(C||(y=y.ownerDocument||y,C={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(n,C),(v=y.querySelector(Ku(n)))&&!v._p&&(C.instance=v,C.state.loading=5),ul.has(n)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},ul.set(n,o),v||m2(y,n,o,C.state))),l&&r===null)throw Error(f(528,""));return C}if(l&&r!==null)throw Error(f(529,""));return null;case"script":return l=o.async,o=o.src,typeof o=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Is(o),o=fs(y).hoistableScripts,r=o.get(l),r||(r={type:"script",instance:null,count:0,state:null},o.set(l,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(f(444,n))}}function wl(n){return'href="'+gl(n)+'"'}function Ku(n){return'link[rel="stylesheet"]['+n+"]"}function Mc(n){return E({},n,{"data-precedence":n.precedence,precedence:null})}function m2(n,l,o,r){n.querySelector('link[rel="preload"][as="style"]['+l+"]")?r.loading=1:(l=n.createElement("link"),r.preload=l,l.addEventListener("load",function(){return r.loading|=1}),l.addEventListener("error",function(){return r.loading|=2}),ya(l,"link",o),Ue(l),n.head.appendChild(l))}function Is(n){return'[src="'+gl(n)+'"]'}function Cc(n){return"script[async]"+n}function cg(n,l,o){if(l.count++,l.instance===null)switch(l.type){case"style":var r=n.querySelector('style[data-href~="'+gl(o.href)+'"]');if(r)return l.instance=r,Ue(r),r;var y=E({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return r=(n.ownerDocument||n).createElement("style"),Ue(r),ya(r,"style",y),Dd(r,o.precedence,n),l.instance=r;case"stylesheet":y=wl(o.href);var v=n.querySelector(Ku(y));if(v)return l.state.loading|=4,l.instance=v,Ue(v),v;r=Mc(o),(y=ul.get(y))&&Pm(r,y),v=(n.ownerDocument||n).createElement("link"),Ue(v);var C=v;return C._p=new Promise(function(N,Z){C.onload=N,C.onerror=Z}),ya(v,"link",r),l.state.loading|=4,Dd(v,o.precedence,n),l.instance=v;case"script":return v=Is(o.src),(y=n.querySelector(Cc(v)))?(l.instance=y,Ue(y),y):(r=o,(y=ul.get(v))&&(r=E({},o),tp(r,y)),n=n.ownerDocument||n,y=n.createElement("script"),Ue(y),ya(y,"link",r),n.head.appendChild(y),l.instance=y);case"void":return null;default:throw Error(f(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(r=l.instance,l.state.loading|=4,Dd(r,o.precedence,n));return l.instance}function Dd(n,l,o){for(var r=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),y=r.length?r[r.length-1]:null,v=y,C=0;C<r.length;C++){var N=r[C];if(N.dataset.precedence===l)v=N;else if(v!==y)break}v?v.parentNode.insertBefore(n,v.nextSibling):(l=o.nodeType===9?o.head:o,l.insertBefore(n,l.firstChild))}function Pm(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.title==null&&(n.title=l.title)}function tp(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.integrity==null&&(n.integrity=l.integrity)}var Oc=null;function fg(n,l,o){if(Oc===null){var r=new Map,y=Oc=new Map;y.set(o,r)}else y=Oc,r=y.get(o),r||(r=new Map,y.set(o,r));if(r.has(n))return r;for(r.set(n,null),o=o.getElementsByTagName(n),y=0;y<o.length;y++){var v=o[y];if(!(v[Vi]||v[Le]||n==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var C=v.getAttribute(l)||"";C=n+C;var N=r.get(C);N?N.push(v):r.set(C,[v])}}return r}function ep(n,l,o){n=n.ownerDocument||n,n.head.insertBefore(o,l==="title"?n.querySelector("head > title"):null)}function dg(n,l,o){if(o===1||l.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;return l.rel==="stylesheet"?(n=l.disabled,typeof l.precedence=="string"&&n==null):!0;case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function sl(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function fo(n,l,o,r){if(o.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var y=wl(r.href),v=l.querySelector(Ku(y));if(v){l=v._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(n.count++,n=np.bind(n),l.then(n,n)),o.state.loading|=4,o.instance=v,Ue(v);return}v=l.ownerDocument||l,r=Mc(r),(y=ul.get(y))&&Pm(r,y),v=v.createElement("link"),Ue(v);var C=v;C._p=new Promise(function(N,Z){C.onload=N,C.onerror=Z}),ya(v,"link",r),o.instance=v}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(o,l),(l=o.state.preload)&&(o.state.loading&3)===0&&(n.count++,o=np.bind(n),l.addEventListener("load",o),l.addEventListener("error",o))}}var Ul=0;function hg(n,l){return n.stylesheets&&n.count===0&&lp(n,n.stylesheets),0<n.count||0<n.imgCount?function(o){var r=setTimeout(function(){if(n.stylesheets&&lp(n,n.stylesheets),n.unsuspend){var v=n.unsuspend;n.unsuspend=null,v()}},6e4+l);0<n.imgBytes&&Ul===0&&(Ul=62500*lg());var y=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&lp(n,n.stylesheets),n.unsuspend)){var v=n.unsuspend;n.unsuspend=null,v()}},(n.imgBytes>Ul?50:800)+l);return n.unsuspend=o,function(){n.unsuspend=null,clearTimeout(r),clearTimeout(y)}}:null}function np(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)lp(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var ap=null;function lp(n,l){n.stylesheets=null,n.unsuspend!==null&&(n.count++,ap=new Map,l.forEach(na,n),ap=null,np.call(n))}function na(n,l){if(!(l.state.loading&4)){var o=ap.get(n);if(o)var r=o.get(null);else{o=new Map,ap.set(n,o);for(var y=n.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<y.length;v++){var C=y[v];(C.nodeName==="LINK"||C.getAttribute("media")!=="not all")&&(o.set(C.dataset.precedence,C),r=C)}r&&o.set(null,r)}y=l.instance,C=y.getAttribute("data-precedence"),v=o.get(C)||r,v===r&&o.set(null,y),o.set(C,y),this.count++,r=np.bind(this),y.addEventListener("load",r),y.addEventListener("error",r),v?v.parentNode.insertBefore(y,v.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(y,n.firstChild)),l.state.loading|=4}}var Md={$$typeof:k,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function mg(n,l,o,r,y,v,C,N,Z){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ml(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ml(0),this.hiddenUpdates=ml(null),this.identifierPrefix=r,this.onUncaughtError=y,this.onCaughtError=v,this.onRecoverableError=C,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Z,this.incompleteTransitions=new Map}function ip(n,l,o,r,y,v,C,N,Z,mt,Tt,Mt){return n=new mg(n,l,o,C,Z,mt,Tt,Mt,N),l=1,v===!0&&(l|=24),v=vn(3,null,null,l),n.current=v,v.stateNode=n,l=Nf(),l.refCount++,n.pooledCache=l,l.refCount++,v.memoizedState={element:r,isDehydrated:o,cache:l},qf(v),n}function Ws(n){return n?(n=Va,n):Va}function p2(n,l,o,r,y,v){y=Ws(y),r.context===null?r.context=y:r.pendingContext=y,r=Ko(l),r.payload={element:o},v=v===void 0?null:v,v!==null&&(r.callback=v),o=xl(n,r,l),o!==null&&(Ka(o,n,l),Uu(o,n,l))}function op(n,l){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var o=n.retryLane;n.retryLane=o!==0&&o<l?o:l}}function pg(n,l){op(n,l),(n=n.alternate)&&op(n,l)}function y2(n){if(n.tag===13||n.tag===31){var l=qo(n,67108864);l!==null&&Ka(l,n,67108864),pg(n,67108864)}}function Ps(n){if(n.tag===13||n.tag===31){var l=ol();l=Th(l);var o=qo(n,l);o!==null&&Ka(o,n,l),pg(n,l)}}var Qn=!0;function ho(n,l,o,r){var y=R.T;R.T=null;var v=w.p;try{w.p=2,ga(n,l,o,r)}finally{w.p=v,R.T=y}}function mo(n,l,o,r){var y=R.T;R.T=null;var v=w.p;try{w.p=8,ga(n,l,o,r)}finally{w.p=v,R.T=y}}function ga(n,l,o,r){if(Qn){var y=yg(r);if(y===null)Wy(n,l,r,up,o),iu(n,r);else if(N3(y,n,l,o,r))r.stopPropagation();else if(iu(n,r),l&4&&-1<$a.indexOf(n)){for(;y!==null;){var v=cs(y);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var C=On(v.pendingLanes);if(C!==0){var N=v;for(N.pendingLanes|=2,N.entangledLanes|=2;C;){var Z=1<<31-Yn(C);N.entanglements[1]|=Z,C&=~Z}co(v),(De&6)===0&&(Oe=ne()+500,au(0))}}break;case 31:case 13:N=qo(v,2),N!==null&&Ka(N,v,2),mc(),pg(v,2)}if(v=yg(r),v===null&&Wy(n,l,r,up,o),v===y)break;y=v}y!==null&&r.stopPropagation()}else Wy(n,l,r,null,o)}}function yg(n){return n=Uh(n),zc(n)}var up=null;function zc(n){if(up=null,n=rs(n),n!==null){var l=p(n);if(l===null)n=null;else{var o=l.tag;if(o===13){if(n=g(l),n!==null)return n;n=null}else if(o===31){if(n=b(l),n!==null)return n;n=null}else if(o===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;n=null}else l!==n&&(n=null)}}return up=n,null}function Cd(n){switch(n){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(wa()){case dl:return 2;case No:return 8;case Pe:case jo:return 32;case Ln:return 268435456;default:return 32}default:return 32}}var Rc=!1,Zn=null,va=null,Da=null,Fu=new Map,Pl=new Map,sn=[],$a="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".split(" ");function iu(n,l){switch(n){case"focusin":case"focusout":Zn=null;break;case"dragenter":case"dragleave":va=null;break;case"mouseover":case"mouseout":Da=null;break;case"pointerover":case"pointerout":Fu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pl.delete(l.pointerId)}}function tr(n,l,o,r,y,v){return n===null||n.nativeEvent!==v?(n={blockedOn:l,domEventName:o,eventSystemFlags:r,nativeEvent:v,targetContainers:[y]},l!==null&&(l=cs(l),l!==null&&y2(l)),n):(n.eventSystemFlags|=r,l=n.targetContainers,y!==null&&l.indexOf(y)===-1&&l.push(y),n)}function N3(n,l,o,r,y){switch(l){case"focusin":return Zn=tr(Zn,n,l,o,r,y),!0;case"dragenter":return va=tr(va,n,l,o,r,y),!0;case"mouseover":return Da=tr(Da,n,l,o,r,y),!0;case"pointerover":var v=y.pointerId;return Fu.set(v,tr(Fu.get(v)||null,n,l,o,r,y)),!0;case"gotpointercapture":return v=y.pointerId,Pl.set(v,tr(Pl.get(v)||null,n,l,o,r,y)),!0}return!1}function g2(n){var l=rs(n.target);if(l!==null){var o=p(l);if(o!==null){if(l=o.tag,l===13){if(l=g(o),l!==null){n.blockedOn=l,y0(n.priority,function(){Ps(o)});return}}else if(l===31){if(l=b(o),l!==null){n.blockedOn=l,y0(n.priority,function(){Ps(o)});return}}else if(l===3&&o.stateNode.current.memoizedState.isDehydrated){n.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Od(n){if(n.blockedOn!==null)return!1;for(var l=n.targetContainers;0<l.length;){var o=yg(n.nativeEvent);if(o===null){o=n.nativeEvent;var r=new o.constructor(o.type,o);wh=r,o.target.dispatchEvent(r),wh=null}else return l=cs(o),l!==null&&y2(l),n.blockedOn=o,!1;l.shift()}return!0}function wc(n,l,o){Od(n)&&o.delete(l)}function v2(){Rc=!1,Zn!==null&&Od(Zn)&&(Zn=null),va!==null&&Od(va)&&(va=null),Da!==null&&Od(Da)&&(Da=null),Fu.forEach(wc),Pl.forEach(wc)}function po(n,l){n.blockedOn===l&&(n.blockedOn=null,Rc||(Rc=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,v2)))}var Uc=null;function b2(n){Uc!==n&&(Uc=n,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){Uc===n&&(Uc=null);for(var l=0;l<n.length;l+=3){var o=n[l],r=n[l+1],y=n[l+2];if(typeof r!="function"){if(zc(r||o)===null)continue;break}var v=cs(o);v!==null&&(n.splice(l,3),l-=3,ec(v,{pending:!0,data:y,method:o.method,action:r},r,y))}}))}function _c(n){function l(Z){return po(Z,n)}Zn!==null&&po(Zn,n),va!==null&&po(va,n),Da!==null&&po(Da,n),Fu.forEach(l),Pl.forEach(l);for(var o=0;o<sn.length;o++){var r=sn[o];r.blockedOn===n&&(r.blockedOn=null)}for(;0<sn.length&&(o=sn[0],o.blockedOn===null);)g2(o),o.blockedOn===null&&sn.shift();if(o=(n.ownerDocument||n).$$reactFormReplay,o!=null)for(r=0;r<o.length;r+=3){var y=o[r],v=o[r+1],C=y[ja]||null;if(typeof v=="function")C||b2(o);else if(C){var N=null;if(v&&v.hasAttribute("formAction")){if(y=v,C=v[ja]||null)N=C.formAction;else if(zc(y)!==null)continue}else N=C.action;typeof N=="function"?o[r+1]=N:(o.splice(r,3),r-=3),b2(o)}}}function gg(){function n(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:function(){return new Promise(function(C){return y=C})},focusReset:"manual",scroll:"manual"})}function l(){y!==null&&(y(),y=null),r||setTimeout(o,20)}function o(){if(!r&&!navigation.transition){var v=navigation.currentEntry;v&&v.url!=null&&navigation.navigate(v.url,{state:v.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,y=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(o,100),function(){r=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),y!==null&&(y(),y=null)}}}function sp(n){this._internalRoot=n}rp.prototype.render=sp.prototype.render=function(n){var l=this._internalRoot;if(l===null)throw Error(f(409));var o=l.current,r=ol();p2(o,r,n,l,null,null)},rp.prototype.unmount=sp.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var l=n.containerInfo;p2(n.current,2,null,n,null,null),mc(),l[pu]=null}};function rp(n){this._internalRoot=n}rp.prototype.unstable_scheduleHydration=function(n){if(n){var l=Eh();n={blockedOn:null,target:n,priority:l};for(var o=0;o<sn.length&&l!==0&&l<sn[o].priority;o++);sn.splice(o,0,n),o===0&&g2(n)}};var vg=s.version;if(vg!=="19.2.3")throw Error(f(527,vg,"19.2.3"));w.findDOMNode=function(n){var l=n._reactInternals;if(l===void 0)throw typeof n.render=="function"?Error(f(188)):(n=Object.keys(n).join(","),Error(f(268,n)));return n=M(l),n=n!==null?A(n):null,n=n===null?null:n.stateNode,n};var S2={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var zd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zd.isDisabled&&zd.supportsFiber)try{fa=zd.inject(S2),tn=zd}catch{}}return Xp.createRoot=function(n,l){if(!m(n))throw Error(f(299));var o=!1,r="",y=Sm,v=by,C=Am;return l!=null&&(l.unstable_strictMode===!0&&(o=!0),l.identifierPrefix!==void 0&&(r=l.identifierPrefix),l.onUncaughtError!==void 0&&(y=l.onUncaughtError),l.onCaughtError!==void 0&&(v=l.onCaughtError),l.onRecoverableError!==void 0&&(C=l.onRecoverableError)),l=ip(n,1,!1,null,null,o,r,null,y,v,C,gg),n[pu]=l.current,Sc(n),new sp(l)},Xp.hydrateRoot=function(n,l,o){if(!m(n))throw Error(f(299));var r=!1,y="",v=Sm,C=by,N=Am,Z=null;return o!=null&&(o.unstable_strictMode===!0&&(r=!0),o.identifierPrefix!==void 0&&(y=o.identifierPrefix),o.onUncaughtError!==void 0&&(v=o.onUncaughtError),o.onCaughtError!==void 0&&(C=o.onCaughtError),o.onRecoverableError!==void 0&&(N=o.onRecoverableError),o.formState!==void 0&&(Z=o.formState)),l=ip(n,1,!0,l,o??null,r,y,Z,v,C,N,gg),l.context=Ws(null),o=l.current,r=ol(),r=Th(r),y=Ko(r),y.callback=null,xl(o,y,r),o=r,l.current.lanes=o,Mr(l,o),co(l),n[pu]=l.current,Sc(n),new rp(l)},Xp.version="19.2.3",Xp}var Qp={};var P4;function m8(){return P4||(P4=1,process.env.NODE_ENV!=="production"&&(function(){function i(t,e){for(t=t.memoizedState;t!==null&&0<e;)t=t.next,e--;return t}function s(t,e,a,u){if(a>=e.length)return u;var c=e[a],h=Bn(t)?t.slice():se({},t);return h[c]=s(t[c],e,a+1,u),h}function d(t,e,a){if(e.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var u=0;u<a.length-1;u++)if(e[u]!==a[u]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return f(t,e,a,0)}}function f(t,e,a,u){var c=e[u],h=Bn(t)?t.slice():se({},t);return u+1===e.length?(h[a[u]]=h[c],Bn(h)?h.splice(c,1):delete h[c]):h[c]=f(t[c],e,a,u+1),h}function m(t,e,a){var u=e[a],c=Bn(t)?t.slice():se({},t);return a+1===e.length?(Bn(c)?c.splice(u,1):delete c[u],c):(c[u]=m(t[u],e,a+1),c)}function p(){return!1}function g(){return null}function b(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function x(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function M(){}function A(){}function E(t){var e=[];return t.forEach(function(a){e.push(a)}),e.sort().join(", ")}function D(t,e,a,u){return new M3(t,e,a,u)}function z(t,e){t.context===Bc&&(Jm(t.current,2,e,t,null,null),zl())}function _(t,e){if(vo!==null){var a=e.staleFamilies;e=e.updatedFamilies,od(),fv(t.current,e,a),zl()}}function V(t){vo=t}function L(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function B(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function it(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function k(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function P(t){if(B(t)!==t)throw Error("Unable to find node on an unmounted component.")}function tt(t){var e=t.alternate;if(!e){if(e=B(t),e===null)throw Error("Unable to find node on an unmounted component.");return e!==t?null:t}for(var a=t,u=e;;){var c=a.return;if(c===null)break;var h=c.alternate;if(h===null){if(u=c.return,u!==null){a=u;continue}break}if(c.child===h.child){for(h=c.child;h;){if(h===a)return P(c),t;if(h===u)return P(c),e;h=h.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==u.return)a=c,u=h;else{for(var S=!1,T=c.child;T;){if(T===a){S=!0,a=c,u=h;break}if(T===u){S=!0,u=c,a=h;break}T=T.sibling}if(!S){for(T=h.child;T;){if(T===a){S=!0,a=h,u=c;break}if(T===u){S=!0,u=h,a=c;break}T=T.sibling}if(!S)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==u)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==3)throw Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?t:e}function Y(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=Y(t),e!==null)return e;t=t.sibling}return null}function rt(t){return t===null||typeof t!="object"?null:(t=h2&&t[h2]||t["@@iterator"],typeof t=="function"?t:null)}function j(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===xc?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Tc:return"Fragment";case Ed:return"Profiler";case Fa:return"StrictMode";case $s:return"Suspense";case ul:return"SuspenseList";case Ci:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case ku:return"Portal";case Mi:return t.displayName||"Context";case Wm:return(t._context.displayName||"Context")+".Consumer";case Ec:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case xd:return e=t.displayName||null,e!==null?e:j(t.type)||"Memo";case xa:e=t._payload,t=t._init;try{return j(t(e))}catch{}}return null}function H(t){return typeof t.tag=="number"?q(t):typeof t.name=="string"?t.name:null}function q(t){var e=t.type;switch(t.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(e._context.displayName||"Context")+".Consumer";case 10:return e.displayName||"Context";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return j(e);case 8:return e===Fa?"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 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;break;case 29:if(e=t._debugInfo,e!=null){for(var a=e.length-1;0<=a;a--)if(typeof e[a].name=="string")return e[a].name}if(t.return!==null)return q(t.return)}return null}function at(t){return{current:t}}function K(t,e){0>lu?console.error("Unexpected pop."):(e!==rg[lu]&&console.error("Unexpected Fiber popped."),t.current=sg[lu],sg[lu]=null,rg[lu]=null,lu--)}function lt(t,e,a){lu++,sg[lu]=t.current,rg[lu]=a,t.current=e}function et(t){return t===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),t}function ct(t,e){lt(wl,e,t),lt(Dc,t,t),lt(Ju,null,t);var a=e.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",e=(e=e.documentElement)&&(e=e.namespaceURI)?Yv(e):mr;break;default:if(a=e.tagName,e=e.namespaceURI)e=Yv(e),e=eu(e,a);else switch(a){case"svg":e=Lp;break;case"math":e=fb;break;default:e=mr}}a=a.toLowerCase(),a=S0(null,a),a={context:e,ancestorInfo:a},K(Ju,t),lt(Ju,a,t)}function R(t){K(Ju,t),K(Dc,t),K(wl,t)}function w(){return et(Ju.current)}function J(t){t.memoizedState!==null&&lt(Ku,t,t);var e=et(Ju.current),a=t.type,u=eu(e.context,a);a=S0(e.ancestorInfo,a),u={context:u,ancestorInfo:a},e!==u&&(lt(Dc,t,t),lt(Ju,u,t))}function F(t){Dc.current===t&&(K(Ju,t),K(Dc,t)),Ku.current===t&&(K(Ku,t),u1._currentValue=Wd)}function dt(){}function ut(){if(Mc===0){m2=console.log,Is=console.info,Cc=console.warn,cg=console.error,Dd=console.group,Pm=console.groupCollapsed,tp=console.groupEnd;var t={configurable:!0,enumerable:!0,value:dt,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}Mc++}function pt(){if(Mc--,Mc===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},t,{value:m2}),info:se({},t,{value:Is}),warn:se({},t,{value:Cc}),error:se({},t,{value:cg}),group:se({},t,{value:Dd}),groupCollapsed:se({},t,{value:Pm}),groupEnd:se({},t,{value:tp})})}0>Mc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Et(t){var e=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,t=t.stack,Error.prepareStackTrace=e,t.startsWith(`Error: react-stack-top-frame
15
- `)&&(t=t.slice(29)),e=t.indexOf(`
16
- `),e!==-1&&(t=t.slice(e+1)),e=t.indexOf("react_stack_bottom_frame"),e!==-1&&(e=t.lastIndexOf(`
17
- `,e)),e!==-1)t=t.slice(0,e);else return"";return t}function ht(t){if(Oc===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);Oc=e&&e[1]||"",fg=-1<a.stack.indexOf(`
18
- at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
19
- `+Oc+t+fg}function bt(t,e){if(!t||ep)return"";var a=dg.get(t);if(a!==void 0)return a;ep=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var u=null;u=St.H,St.H=null,ut();try{var c={DetermineComponentFrameRoot:function(){try{if(e){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(Nt){var gt=Nt}Reflect.construct(t,[],X)}else{try{X.call()}catch(Nt){gt=Nt}t.call(X.prototype)}}else{try{throw Error()}catch(Nt){gt=Nt}(X=t())&&typeof X.catch=="function"&&X.catch(function(){})}}catch(Nt){if(Nt&&gt&&typeof Nt.stack=="string")return[Nt.stack,gt.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var h=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");h&&h.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var S=c.DetermineComponentFrameRoot(),T=S[0],O=S[1];if(T&&O){var U=T.split(`
20
- `),I=O.split(`
21
- `);for(S=h=0;h<U.length&&!U[h].includes("DetermineComponentFrameRoot");)h++;for(;S<I.length&&!I[S].includes("DetermineComponentFrameRoot");)S++;if(h===U.length||S===I.length)for(h=U.length-1,S=I.length-1;1<=h&&0<=S&&U[h]!==I[S];)S--;for(;1<=h&&0<=S;h--,S--)if(U[h]!==I[S]){if(h!==1||S!==1)do if(h--,S--,0>S||U[h]!==I[S]){var nt=`
22
- `+U[h].replace(" at new "," at ");return t.displayName&&nt.includes("<anonymous>")&&(nt=nt.replace("<anonymous>",t.displayName)),typeof t=="function"&&dg.set(t,nt),nt}while(1<=h&&0<=S);break}}}finally{ep=!1,St.H=u,pt(),Error.prepareStackTrace=a}return U=(U=t?t.displayName||t.name:"")?ht(U):"",typeof t=="function"&&dg.set(t,U),U}function zt(t,e){switch(t.tag){case 26:case 27:case 5:return ht(t.type);case 16:return ht("Lazy");case 13:return t.child!==e&&e!==null?ht("Suspense Fallback"):ht("Suspense");case 19:return ht("SuspenseList");case 0:case 15:return bt(t.type,!1);case 11:return bt(t.type.render,!1);case 1:return bt(t.type,!0);case 31:return ht("Activity");default:return""}}function Rt(t){try{var e="",a=null;do{e+=zt(t,a);var u=t._debugInfo;if(u)for(var c=u.length-1;0<=c;c--){var h=u[c];if(typeof h.name=="string"){var S=e;t:{var T=h.name,O=h.env,U=h.debugLocation;if(U!=null){var I=Et(U),nt=I.lastIndexOf(`
23
- `),X=nt===-1?I:I.slice(nt+1);if(X.indexOf(T)!==-1){var gt=`
24
- `+X;break t}}gt=ht(T+(O?" ["+O+"]":""))}e=S+gt}}a=t,t=t.return}while(t);return e}catch(Nt){return`
25
- Error generating stack: `+Nt.message+`
26
- `+Nt.stack}}function wt(t){return(t=t?t.displayName||t.name:"")?ht(t):""}function Ht(){if(sl===null)return null;var t=sl._debugOwner;return t!=null?H(t):null}function ye(){if(sl===null)return"";var t=sl;try{var e="";switch(t.tag===6&&(t=t.return),t.tag){case 26:case 27:case 5:e+=ht(t.type);break;case 13:e+=ht("Suspense");break;case 19:e+=ht("SuspenseList");break;case 31:e+=ht("Activity");break;case 30:case 0:case 15:case 1:t._debugOwner||e!==""||(e+=wt(t.type));break;case 11:t._debugOwner||e!==""||(e+=wt(t.type.render))}for(;t;)if(typeof t.tag=="number"){var a=t;t=a._debugOwner;var u=a._debugStack;if(t&&u){var c=Et(u);c!==""&&(e+=`
27
- `+c)}}else if(t.debugStack!=null){var h=t.debugStack;(t=t.owner)&&h&&(e+=`
28
- `+Et(h))}else break;var S=e}catch(T){S=`
29
- Error generating stack: `+T.message+`
30
- `+T.stack}return S}function Ut(t,e,a,u,c,h,S){var T=sl;Ie(t);try{return t!==null&&t._debugTask?t._debugTask.run(e.bind(null,a,u,c,h,S)):e(a,u,c,h,S)}finally{Ie(T)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ie(t){St.getCurrentStack=t===null?null:ye,fo=!1,sl=t}function fl(t){return typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object"}function Dn(t){try{return Re(t),!1}catch{return!0}}function Re(t){return""+t}function te(t,e){if(Dn(t))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",e,fl(t)),Re(t)}function Be(t,e){if(Dn(t))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",e,fl(t)),Re(t)}function we(t){if(Dn(t))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",fl(t)),Re(t)}function Mn(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled)return!0;if(!e.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Ps=e.inject(t),Qn=e}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!e.checkDCE}function le(t){if(typeof pg=="function"&&y2(t),Qn&&typeof Qn.setStrictMode=="function")try{Qn.setStrictMode(Ps,t)}catch(e){ho||(ho=!0,console.error("React instrumentation encountered an error: %o",e))}}function an(t){return t>>>=0,t===0?32:31-(yg(t)/up|0)|0}function Cn(t){var e=t&42;if(e!==0)return e;switch(t&-t){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),t}}function We(t,e,a){var u=t.pendingLanes;if(u===0)return 0;var c=0,h=t.suspendedLanes,S=t.pingedLanes;t=t.warmLanes;var T=u&134217727;return T!==0?(u=T&~h,u!==0?c=Cn(u):(S&=T,S!==0?c=Cn(S):a||(a=T&~t,a!==0&&(c=Cn(a))))):(T=u&~h,T!==0?c=Cn(T):S!==0?c=Cn(S):a||(a=u&~t,a!==0&&(c=Cn(a)))),c===0?0:e!==0&&e!==c&&(e&h)===0&&(h=c&-c,a=e&-e,h>=a||h===32&&(a&4194048)!==0)?e:c}function ne(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function wa(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32: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+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function dl(){var t=Rc;return Rc<<=1,(Rc&62914560)===0&&(Rc=4194304),t}function No(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function Pe(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function jo(t,e,a,u,c,h){var S=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var T=t.entanglements,O=t.expirationTimes,U=t.hiddenUpdates;for(a=S&~a;0<a;){var I=31-ga(a),nt=1<<I;T[I]=0,O[I]=-1;var X=U[I];if(X!==null)for(U[I]=null,I=0;I<X.length;I++){var gt=X[I];gt!==null&&(gt.lane&=-536870913)}a&=~nt}u!==0&&Ln(t,u,0),h!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=h&~(S&~e))}function Ln(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var u=31-ga(e);t.entangledLanes|=e,t.entanglements[u]=t.entanglements[u]|1073741824|a&261930}function tl(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var u=31-ga(a),c=1<<u;c&e|t[u]&e&&(t[u]|=e),a&=~c}}function Ua(t,e){var a=e&-e;return a=(a&42)!==0?1:fa(a),(a&(t.suspendedLanes|e))!==0?0:a}function fa(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function tn(t,e,a){if(mo)for(t=t.pendingUpdatersLaneMap;0<a;){var u=31-ga(a),c=1<<u;t[u].add(e),a&=~c}}function da(t,e){if(mo)for(var a=t.pendingUpdatersLaneMap,u=t.memoizedUpdaters;0<e;){var c=31-ga(e);t=1<<c,c=a[c],0<c.size&&(c.forEach(function(h){var S=h.alternate;S!==null&&u.has(S)||u.add(h)}),c.clear()),e&=~t}}function Yn(t){return t&=-t,Zn<t?va<t?(t&134217727)!==0?Da:Fu:va:Zn}function Sh(){var t=ze.p;return t!==0?t:(t=window.event,t===void 0?Da:Fm(t.type))}function xr(t,e){var a=ze.p;try{return ze.p=t,e()}finally{ze.p=a}}function Dr(t){delete t[sn],delete t[$a],delete t[tr],delete t[N3],delete t[g2]}function _a(t){var e=t[sn];if(e)return e;for(var a=t.parentNode;a;){if(e=a[iu]||a[sn]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=ks(t);t!==null;){if(a=t[sn])return a;t=ks(t)}return e}t=a,a=t.parentNode}return null}function hl(t){if(t=t[sn]||t[iu]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function ha(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function On(t){var e=t[Od];return e||(e=t[Od]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Ve(t){t[wc]=!0}function ma(t,e){Ho(t,e),Ho(t+"Capture",e)}function Ho(t,e){po[t]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),po[t]=e;var a=t.toLowerCase();for(Uc[a]=t,t==="onDoubleClick"&&(Uc.ondblclick=t),t=0;t<e.length;t++)v2.add(e[t])}function Na(t,e){b2[e.type]||e.onChange||e.onInput||e.readOnly||e.disabled||e.value==null||console.error(t==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),e.onChange||e.readOnly||e.disabled||e.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function ml(t){return Ul.call(sp,t)?!0:Ul.call(gg,t)?!1:_c.test(t)?sp[t]=!0:(gg[t]=!0,console.error("Invalid attribute name: `%s`",t),!1)}function Mr(t,e,a){if(ml(e)){if(!t.hasAttribute(e)){switch(typeof a){case"symbol":case"object":return a;case"function":return a;case"boolean":if(a===!1)return a}return a===void 0?void 0:null}return t=t.getAttribute(e),t===""&&a===!0?!0:(te(a,e),t===""+a?a:t)}}function Ah(t,e,a){if(ml(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var u=e.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){t.removeAttribute(e);return}}te(a,e),t.setAttribute(e,""+a)}}function mf(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}te(a,e),t.setAttribute(e,""+a)}}function Bi(t,e,a,u){if(u===null)t.removeAttribute(a);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}te(u,a),t.setAttributeNS(e,a,""+u)}}function pl(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return we(t),t;default:return""}}function Th(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function p0(t,e,a){var u=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var c=u.get,h=u.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return c.call(this)},set:function(S){we(S),a=""+S,h.call(this,S)}}),Object.defineProperty(t,e,{enumerable:u.enumerable}),{getValue:function(){return a},setValue:function(S){we(S),a=""+S},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Eh(t){if(!t._valueTracker){var e=Th(t)?"checked":"value";t._valueTracker=p0(t,e,""+t[e])}}function y0(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),u="";return t&&(u=Th(t)?t.checked?"true":"false":t.value),t=u,t!==a?(e.setValue(t),!0):!1}function ii(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Le(t){return t.replace(rp,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function ja(t,e){e.checked===void 0||e.defaultChecked===void 0||S2||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Ht()||"A component",e.type),S2=!0),e.value===void 0||e.defaultValue===void 0||vg||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Ht()||"A component",e.type),vg=!0)}function pu(t,e,a,u,c,h,S,T){t.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?(te(S,"type"),t.type=S):t.removeAttribute("type"),e!=null?S==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+pl(e)):t.value!==""+pl(e)&&(t.value=""+pl(e)):S!=="submit"&&S!=="reset"||t.removeAttribute("value"),e!=null?g0(t,S,pl(e)):a!=null?g0(t,S,pl(a)):u!=null&&t.removeAttribute("value"),c==null&&h!=null&&(t.defaultChecked=!!h),c!=null&&(t.checked=c&&typeof c!="function"&&typeof c!="symbol"),T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?(te(T,"name"),t.name=""+pl(T)):t.removeAttribute("name")}function xh(t,e,a,u,c,h,S,T){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(te(h,"type"),t.type=h),e!=null||a!=null){if(!(h!=="submit"&&h!=="reset"||e!=null)){Eh(t);return}a=a!=null?""+pl(a):"",e=e!=null?""+pl(e):a,T||e===t.value||(t.value=e),t.defaultValue=e}u=u??c,u=typeof u!="function"&&typeof u!="symbol"&&!!u,t.checked=T?t.checked:!!u,t.defaultChecked=!!u,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(te(S,"name"),t.name=S),Eh(t)}function g0(t,e,a){e==="number"&&ii(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function I1(t,e){e.value==null&&(typeof e.children=="object"&&e.children!==null?Td.Children.forEach(e.children,function(a){a==null||typeof a=="string"||typeof a=="number"||typeof a=="bigint"||n||(n=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):e.dangerouslySetInnerHTML==null||l||(l=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),e.selected==null||zd||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),zd=!0)}function v0(){var t=Ht();return t?`
31
-
32
- Check the render method of \``+t+"`.":""}function Vi(t,e,a,u){if(t=t.options,e){e={};for(var c=0;c<a.length;c++)e["$"+a[c]]=!0;for(a=0;a<t.length;a++)c=e.hasOwnProperty("$"+t[a].value),t[a].selected!==c&&(t[a].selected=c),c&&u&&(t[a].defaultSelected=!0)}else{for(a=""+pl(a),e=null,c=0;c<t.length;c++){if(t[c].value===a){t[c].selected=!0,u&&(t[c].defaultSelected=!0);return}e!==null||t[c].disabled||(e=t[c])}e!==null&&(e.selected=!0)}}function Dh(t,e){for(t=0;t<r.length;t++){var a=r[t];if(e[a]!=null){var u=Bn(e[a]);e.multiple&&!u?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,v0()):!e.multiple&&u&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,v0())}}e.value===void 0||e.defaultValue===void 0||o||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),o=!0)}function rs(t,e){e.value===void 0||e.defaultValue===void 0||y||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",Ht()||"A component"),y=!0),e.children!=null&&e.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function cs(t,e,a){if(e!=null&&(e=""+pl(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+pl(a):""}function Cr(t,e,a,u){if(e==null){if(u!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Bn(u)){if(1<u.length)throw Error("<textarea> can only have at most one child.");u=u[0]}a=u}a==null&&(a=""),e=a}a=pl(e),t.defaultValue=a,u=t.textContent,u===a&&u!==""&&u!==null&&(t.value=u),Eh(t)}function fs(t,e){return t.serverProps===void 0&&t.serverTail.length===0&&t.children.length===1&&3<t.distanceFromLeaf&&t.distanceFromLeaf>15-e?fs(t.children[0],e):t}function Ue(t){return" "+" ".repeat(t)}function ds(t){return"+ "+" ".repeat(t)}function yu(t){return"- "+" ".repeat(t)}function gu(t){switch(t.tag){case 26:case 27:case 5:return t.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return t=t.type,t.displayName||t.name||null;case 11:return t=t.type.render,t.displayName||t.name||null;case 1:return t=t.type,t.displayName||t.name||null;default:return null}}function Li(t,e){return v.test(t)?(t=JSON.stringify(t),t.length>e-2?8>e?'{"..."}':"{"+t.slice(0,e-7)+'..."}':"{"+t+"}"):t.length>e?5>e?'{"..."}':t.slice(0,e-3)+"...":t}function Mh(t,e,a){var u=120-2*a;if(e===null)return ds(a)+Li(t,u)+`
33
- `;if(typeof e=="string"){for(var c=0;c<e.length&&c<t.length&&e.charCodeAt(c)===t.charCodeAt(c);c++);return c>u-8&&10<c&&(t="..."+t.slice(c-8),e="..."+e.slice(c-8)),ds(a)+Li(t,u)+`
34
- `+yu(a)+Li(e,u)+`
35
- `}return Ue(a)+Li(t,u)+`
36
- `}function Ch(t){return Object.prototype.toString.call(t).replace(/^\[object (.*)\]$/,function(e,a){return a})}function Or(t,e){switch(typeof t){case"string":return t=JSON.stringify(t),t.length>e?5>e?'"..."':t.slice(0,e-4)+'..."':t;case"object":if(t===null)return"null";if(Bn(t))return"[...]";if(t.$$typeof===Wl)return(e=j(t.type))?"<"+e+">":"<...>";var a=Ch(t);if(a==="Object"){a="",e-=2;for(var u in t)if(t.hasOwnProperty(u)){var c=JSON.stringify(u);if(c!=='"'+u+'"'&&(u=c),e-=u.length-2,c=Or(t[u],15>e?e:15),e-=c.length,0>e){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+u+":"+c}return"{"+a+"}"}return a;case"function":return(e=t.displayName||t.name)?"function "+e:"function";default:return String(t)}}function zr(t,e){return typeof t!="string"||v.test(t)?"{"+Or(t,e-2)+"}":t.length>e-2?5>e?'"..."':'"'+t.slice(0,e-5)+'..."':'"'+t+'"'}function Rr(t,e,a){var u=120-a.length-t.length,c=[],h;for(h in e)if(e.hasOwnProperty(h)&&h!=="children"){var S=zr(e[h],120-a.length-h.length-1);u-=h.length+S.length+2,c.push(h+"="+S)}return c.length===0?a+"<"+t+`>
37
- `:0<u?a+"<"+t+" "+c.join(" ")+`>
38
- `:a+"<"+t+`
39
- `+a+" "+c.join(`
40
- `+a+" ")+`
41
- `+a+`>
42
- `}function Oh(t,e,a){var u="",c=se({},e),h;for(h in t)if(t.hasOwnProperty(h)){delete c[h];var S=120-2*a-h.length-2,T=Or(t[h],S);e.hasOwnProperty(h)?(S=Or(e[h],S),u+=ds(a)+h+": "+T+`
43
- `,u+=yu(a)+h+": "+S+`
44
- `):u+=ds(a)+h+": "+T+`
45
- `}for(var O in c)c.hasOwnProperty(O)&&(t=Or(c[O],120-2*a-O.length-2),u+=yu(a)+O+": "+t+`
46
- `);return u}function Bo(t,e,a,u){var c="",h=new Map;for(U in a)a.hasOwnProperty(U)&&h.set(U.toLowerCase(),U);if(h.size===1&&h.has("children"))c+=Rr(t,e,Ue(u));else{for(var S in e)if(e.hasOwnProperty(S)&&S!=="children"){var T=120-2*(u+1)-S.length-1,O=h.get(S.toLowerCase());if(O!==void 0){h.delete(S.toLowerCase());var U=e[S];O=a[O];var I=zr(U,T);T=zr(O,T),typeof U=="object"&&U!==null&&typeof O=="object"&&O!==null&&Ch(U)==="Object"&&Ch(O)==="Object"&&(2<Object.keys(U).length||2<Object.keys(O).length||-1<I.indexOf("...")||-1<T.indexOf("..."))?c+=Ue(u+1)+S+`={{
47
- `+Oh(U,O,u+2)+Ue(u+1)+`}}
48
- `:(c+=ds(u+1)+S+"="+I+`
49
- `,c+=yu(u+1)+S+"="+T+`
50
- `)}else c+=Ue(u+1)+S+"="+zr(e[S],T)+`
51
- `}h.forEach(function(nt){if(nt!=="children"){var X=120-2*(u+1)-nt.length-1;c+=yu(u+1)+nt+"="+zr(a[nt],X)+`
52
- `}}),c=c===""?Ue(u)+"<"+t+`>
53
- `:Ue(u)+"<"+t+`
54
- `+c+Ue(u)+`>
55
- `}return t=a.children,e=e.children,typeof t=="string"||typeof t=="number"||typeof t=="bigint"?(h="",(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(h=""+e),c+=Mh(h,""+t,u+1)):(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(c=t==null?c+Mh(""+e,null,u+1):c+Mh(""+e,void 0,u+1)),c}function yl(t,e){var a=gu(t);if(a===null){for(a="",t=t.child;t;)a+=yl(t,e),t=t.sibling;return a}return Ue(e)+"<"+a+`>
56
- `}function zh(t,e){var a=fs(t,e);if(a!==t&&(t.children.length!==1||t.children[0]!==a))return Ue(e)+`...
57
- `+zh(a,e+1);a="";var u=t.fiber._debugInfo;if(u)for(var c=0;c<u.length;c++){var h=u[c].name;typeof h=="string"&&(a+=Ue(e)+"<"+h+`>
58
- `,e++)}if(u="",c=t.fiber.pendingProps,t.fiber.tag===6)u=Mh(c,t.serverProps,e),e++;else if(h=gu(t.fiber),h!==null)if(t.serverProps===void 0){u=e;var S=120-2*u-h.length-2,T="";for(U in c)if(c.hasOwnProperty(U)&&U!=="children"){var O=zr(c[U],15);if(S-=U.length+O.length+2,0>S){T+=" ...";break}T+=" "+U+"="+O}u=Ue(u)+"<"+h+T+`>
59
- `,e++}else t.serverProps===null?(u=Rr(h,c,ds(e)),e++):typeof t.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(u=Bo(h,c,t.serverProps,e),e++);var U="";for(c=t.fiber.child,h=0;c&&h<t.children.length;)S=t.children[h],S.fiber===c?(U+=zh(S,e),h++):U+=yl(c,e),c=c.sibling;for(c&&0<t.children.length&&(U+=Ue(e)+`...
60
- `),c=t.serverTail,t.serverProps===null&&e--,t=0;t<c.length;t++)h=c[t],U=typeof h=="string"?U+(yu(e)+Li(h,120-2*e)+`
61
- `):U+Rr(h.type,h.props,yu(e));return a+u+U}function b0(t){try{return`
62
-
63
- `+zh(t,0)}catch{return""}}function Rh(t,e,a){for(var u=e,c=null,h=0;u;)u===t&&(h=0),c={fiber:u,children:c!==null?[c]:[],serverProps:u===e?a:u===t?null:void 0,serverTail:[],distanceFromLeaf:h},h++,u=u.return;return c!==null?b0(c).replaceAll(/^[+-]/gm,">"):""}function S0(t,e){var a=se({},t||Tt),u={tag:e};return N.indexOf(e)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),Z.indexOf(e)!==-1&&(a.pTagInButtonScope=null),C.indexOf(e)!==-1&&e!=="address"&&e!=="div"&&e!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=u,e==="form"&&(a.formTag=u),e==="a"&&(a.aTagInScope=u),e==="button"&&(a.buttonTagInScope=u),e==="nobr"&&(a.nobrTagInScope=u),e==="p"&&(a.pTagInButtonScope=u),e==="li"&&(a.listItemTagAutoclosing=u),(e==="dd"||e==="dt")&&(a.dlItemTagAutoclosing=u),e==="#document"||e==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=u),t!==null||e!=="#document"&&e!=="html"&&e!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function pf(t,e,a){switch(e){case"select":return t==="hr"||t==="option"||t==="optgroup"||t==="script"||t==="template"||t==="#text";case"optgroup":return t==="option"||t==="#text";case"option":return t==="#text";case"tr":return t==="th"||t==="td"||t==="style"||t==="script"||t==="template";case"tbody":case"thead":case"tfoot":return t==="tr"||t==="style"||t==="script"||t==="template";case"colgroup":return t==="col"||t==="template";case"table":return t==="caption"||t==="colgroup"||t==="tbody"||t==="tfoot"||t==="thead"||t==="style"||t==="script"||t==="template";case"head":return t==="base"||t==="basefont"||t==="bgsound"||t==="link"||t==="meta"||t==="title"||t==="noscript"||t==="noframes"||t==="style"||t==="script"||t==="template";case"html":if(a)break;return t==="head"||t==="body"||t==="frameset";case"frameset":return t==="frame";case"#document":if(!a)return t==="html"}switch(t){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return e!=="h1"&&e!=="h2"&&e!=="h3"&&e!=="h4"&&e!=="h5"&&e!=="h6";case"rp":case"rt":return mt.indexOf(e)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return e==null;case"head":return a||e===null;case"html":return a&&e==="#document"||e===null;case"body":return a&&(e==="#document"||e==="html")||e===null}return!0}function S3(t,e){switch(t){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return e.pTagInButtonScope;case"form":return e.formTag||e.pTagInButtonScope;case"li":return e.listItemTagAutoclosing;case"dd":case"dt":return e.dlItemTagAutoclosing;case"button":return e.buttonTagInScope;case"a":return e.aTagInScope;case"nobr":return e.nobrTagInScope}return null}function gl(t,e){for(;t;){switch(t.tag){case 5:case 26:case 27:if(t.type===e)return t}t=t.return}return null}function yf(t,e){e=e||Tt;var a=e.current;if(e=(a=pf(t,a&&a.tag,e.implicitRootScope)?null:a)?null:S3(t,e),e=a||e,!e)return!0;var u=e.tag;if(e=String(!!a)+"|"+t+"|"+u,Mt[e])return!1;Mt[e]=!0;var c=(e=sl)?gl(e.return,u):null,h=e!==null&&c!==null?Rh(c,e,null):"",S="<"+t+">";return a?(a="",u==="table"&&t==="tr"&&(a+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
64
- This will cause a hydration error.%s`,S,u,a,h)):console.error(`In HTML, %s cannot be a descendant of <%s>.
65
- This will cause a hydration error.%s`,S,u,h),e&&(t=e.return,c===null||t===null||c===t&&t._debugOwner===e._debugOwner||Ut(c,function(){console.error(`<%s> cannot contain a nested %s.
66
- See this log for the ancestor stack trace.`,u,S)})),!1}function gf(t,e,a){if(a||pf("#text",e,!1))return!0;if(a="#text|"+e,Mt[a])return!1;Mt[a]=!0;var u=(a=sl)?gl(a,e):null;return a=a!==null&&u!==null?Rh(u,a,a.tag!==6?{children:null}:null):"",/\S/.test(t)?console.error(`In HTML, text nodes cannot be a child of <%s>.
67
- This will cause a hydration error.%s`,e,a):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
68
- This will cause a hydration error.%s`,e,a),!1}function hs(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}function wr(t){return t.replace(st,function(e,a){return a.toUpperCase()})}function A0(t,e,a){var u=e.indexOf("--")===0;u||(-1<e.indexOf("-")?ft.hasOwnProperty(e)&&ft[e]||(ft[e]=!0,console.error("Unsupported style property %s. Did you mean %s?",e,wr(e.replace(Xe,"ms-")))):Zt.test(e)?ft.hasOwnProperty(e)&&ft[e]||(ft[e]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1))):!W.test(a)||Dt.hasOwnProperty(a)&&Dt[a]||(Dt[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,a.replace(W,""))),typeof a=="number"&&(isNaN(a)?qt||(qt=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",e)):isFinite(a)||Ee||(Ee=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",e)))),a==null||typeof a=="boolean"||a===""?u?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":u?t.setProperty(e,a):typeof a!="number"||a===0||Lt.has(e)?e==="float"?t.cssFloat=a:(Be(a,e),t[e]=(""+a).trim()):t[e]=a+"px"}function T0(t,e,a){if(e!=null&&typeof e!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(e&&Object.freeze(e),t=t.style,a!=null){if(e){var u={};if(a){for(var c in a)if(a.hasOwnProperty(c)&&!e.hasOwnProperty(c))for(var h=yt[c]||[c],S=0;S<h.length;S++)u[h[S]]=c}for(var T in e)if(e.hasOwnProperty(T)&&(!a||a[T]!==e[T]))for(c=yt[T]||[T],h=0;h<c.length;h++)u[c[h]]=T;T={};for(var O in e)for(c=yt[O]||[O],h=0;h<c.length;h++)T[c[h]]=O;O={};for(var U in u)if(c=u[U],(h=T[U])&&c!==h&&(S=c+","+h,!O[S])){O[S]=!0,S=console;var I=e[c];S.error.call(S,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",I==null||typeof I=="boolean"||I===""?"Removing":"Updating",c,h)}}for(var nt in a)!a.hasOwnProperty(nt)||e!=null&&e.hasOwnProperty(nt)||(nt.indexOf("--")===0?t.setProperty(nt,""):nt==="float"?t.cssFloat="":t[nt]="");for(var X in e)U=e[X],e.hasOwnProperty(X)&&a[X]!==U&&A0(t,X,U)}else for(u in e)e.hasOwnProperty(u)&&A0(t,u,e[u])}function Yi(t){if(t.indexOf("-")===-1)return!1;switch(t){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}}function W1(t){return Me.get(t)||t}function P1(t,e){if(Ul.call(cp,e)&&cp[e])return!0;if(RU.test(e)){if(t="aria-"+e.slice(4).toLowerCase(),t=A2.hasOwnProperty(t)?t:null,t==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",e),cp[e]=!0;if(e!==t)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",e,t),cp[e]=!0}if(zU.test(e)){if(t=e.toLowerCase(),t=A2.hasOwnProperty(t)?t:null,t==null)return cp[e]=!0,!1;e!==t&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",e,t),cp[e]=!0)}return!0}function tv(t,e){var a=[],u;for(u in e)P1(t,u)||a.push(u);e=a.map(function(c){return"`"+c+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",e,t):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",e,t)}function E0(t,e,a,u){if(Ul.call(_l,e)&&_l[e])return!0;var c=e.toLowerCase();if(c==="onfocusin"||c==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),_l[e]=!0;if(typeof a=="function"&&(t==="form"&&e==="action"||t==="input"&&e==="formAction"||t==="button"&&e==="formAction"))return!0;if(u!=null){if(t=u.possibleRegistrationNames,u.registrationNameDependencies.hasOwnProperty(e))return!0;if(u=t.hasOwnProperty(c)?t[c]:null,u!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",e,u),_l[e]=!0;if(W6.test(e))return console.error("Unknown event handler property `%s`. It will be ignored.",e),_l[e]=!0}else if(W6.test(e))return wU.test(e)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",e),_l[e]=!0;if(UU.test(e)||_U.test(e))return!0;if(c==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),_l[e]=!0;if(c==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),_l[e]=!0;if(c==="is"&&a!==null&&a!==void 0&&typeof a!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),_l[e]=!0;if(typeof a=="number"&&isNaN(a))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",e),_l[e]=!0;if(Oi.hasOwnProperty(c)){if(c=Oi[c],c!==e)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",e,c),_l[e]=!0}else if(e!==c)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",e,c),_l[e]=!0;switch(e){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof a){case"boolean":switch(e){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return c=e.toLowerCase().slice(0,5),c==="data-"||c==="aria-"?!0:(a?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,e,e,a,e):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,e,e,a,e,e,e),_l[e]=!0)}case"function":case"symbol":return _l[e]=!0,!1;case"string":if(a==="false"||a==="true"){switch(e){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,e,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',e,a),_l[e]=!0}}return!0}function A3(t,e,a){var u=[],c;for(c in e)E0(t,c,e[c],a)||u.push(c);e=u.map(function(h){return"`"+h+"`"}).join(", "),u.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",e,t):1<u.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",e,t)}function vf(t){return NU.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function ql(){}function oi(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}function wh(t){var e=hl(t);if(e&&(t=e.stateNode)){var a=t[$a]||null;t:switch(t=e.stateNode,e.type){case"input":if(pu(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(te(e,"name"),a=a.querySelectorAll('input[name="'+Le(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var u=a[e];if(u!==t&&u.form===t.form){var c=u[$a]||null;if(!c)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");pu(u,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(e=0;e<a.length;e++)u=a[e],u.form===t.form&&y0(u)}break t;case"textarea":cs(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&Vi(t,!!a.multiple,e,!1)}}}function Uh(t,e,a){if(j3)return t(e,a);j3=!0;try{var u=t(e);return u}finally{if(j3=!1,(fp!==null||dp!==null)&&(zl(),fp&&(e=fp,t=dp,dp=fp=null,wh(e),t)))for(e=0;e<t.length;e++)wh(t[e])}}function qi(t,e){var a=t.stateNode;if(a===null)return null;var u=a[$a]||null;if(u===null)return null;a=u[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(t=t.type,u=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!u;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error("Expected `"+e+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function ms(){if(T2)return T2;var t,e=B3,a=e.length,u,c="value"in Nc?Nc.value:Nc.textContent,h=c.length;for(t=0;t<a&&e[t]===c[t];t++);var S=a-t;for(u=1;u<=S&&e[a-u]===c[h-u];u++);return T2=c.slice(t,1<u?1-u:void 0)}function bf(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ur(){return!0}function x0(){return!1}function Fn(t){function e(a,u,c,h,S){this._reactName=a,this._targetInst=c,this.type=u,this.nativeEvent=h,this.target=S,this.currentTarget=null;for(var T in t)t.hasOwnProperty(T)&&(a=t[T],this[T]=a?a(h):h[T]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Ur:x0,this.isPropagationStopped=x0,this}return se(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Ur)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Ur)},persist:function(){},isPersistent:Ur}),e}function Vo(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=JU[t])?!!e[t]:!1}function Sf(){return Vo}function _r(t,e){switch(t){case"keyup":return i_.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==nx;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lo(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}function D0(t,e){switch(t){case"compositionend":return Lo(e);case"keypress":return e.which!==lx?null:(ox=!0,ix);case"textInput":return t=e.data,t===ix&&ox?null:t;default:return null}}function _h(t,e){if(hp)return t==="compositionend"||!q3&&_r(t,e)?(t=ms(),T2=B3=Nc=null,hp=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return ax&&e.locale!=="ko"?null:e.data;default:return null}}function M0(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!u_[t.type]:e==="textarea"}function Nh(t){if(!$u)return!1;t="on"+t;var e=t in document;return e||(e=document.createElement("div"),e.setAttribute(t,"return;"),e=typeof e[t]=="function"),e}function Af(t,e,a,u){fp?dp?dp.push(u):dp=[u]:fp=u,e=Ei(e,"onChange"),0<e.length&&(a=new E2("onChange","change",null,a,u),t.push({event:a,listeners:e}))}function ev(t){je(t,0)}function pa(t){var e=ha(t);if(y0(e))return t}function vu(t,e){if(t==="change")return e}function Tf(){xg&&(xg.detachEvent("onpropertychange",Nr),Dg=xg=null)}function Nr(t){if(t.propertyName==="value"&&pa(Dg)){var e=[];Af(e,Dg,t,oi(t)),Uh(ev,e)}}function T3(t,e,a){t==="focusin"?(Tf(),xg=e,Dg=a,xg.attachEvent("onpropertychange",Nr)):t==="focusout"&&Tf()}function C0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return pa(Dg)}function O0(t,e){if(t==="click")return pa(e)}function Ef(t,e){if(t==="input"||t==="change")return pa(e)}function jh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}function jr(t,e){if(Nl(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),u=Object.keys(e);if(a.length!==u.length)return!1;for(u=0;u<a.length;u++){var c=a[u];if(!Ul.call(e,c)||!Nl(t[c],e[c]))return!1}return!0}function nv(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function av(t,e){var a=nv(t);t=0;for(var u;a;){if(a.nodeType===3){if(u=t+a.textContent.length,t<=e&&u>=e)return{node:a,offset:e-t};t=u}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=nv(a)}}function lv(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?lv(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Hh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=ii(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=ii(t.document)}return e}function z0(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function iv(t,e,a){var u=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;X3||mp==null||mp!==ii(u)||(u=mp,"selectionStart"in u&&z0(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Mg&&jr(Mg,u)||(Mg=u,u=Ei(G3,"onSelect"),0<u.length&&(e=new E2("onSelect","select",null,e,a),t.push({event:e,listeners:u}),e.target=mp)))}function ps(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}function ys(t){if(Q3[t])return Q3[t];if(!pp[t])return t;var e=pp[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in sx)return Q3[t]=e[a];return t}function ui(t,e){hx.set(t,e),ma(e,[t])}function ov(t){for(var e=D2,a=0;a<t.length;a++){var u=t[a];if(typeof u=="object"&&u!==null)if(Bn(u)&&u.length===2&&typeof u[0]=="string"){if(e!==D2&&e!==F3)return J3;e=F3}else return J3;else{if(typeof u=="function"||typeof u=="string"&&50<u.length||e!==D2&&e!==K3)return J3;e=K3}}return e}function R0(t,e,a,u){for(var c in t)Ul.call(t,c)&&c[0]!=="_"&&Gi(c,t[c],e,a,u)}function Gi(t,e,a,u,c){switch(typeof e){case"object":if(e===null){e="null";break}else{if(e.$$typeof===Wl){var h=j(e.type)||"…",S=e.key;e=e.props;var T=Object.keys(e),O=T.length;if(S==null&&O===0){e="<"+h+" />";break}if(3>u||O===1&&T[0]==="children"&&S==null){e="<"+h+" … />";break}a.push([c+"  ".repeat(u)+t,"<"+h]),S!==null&&Gi("key",S,a,u+1,c),t=!1;for(var U in e)U==="children"?e.children!=null&&(!Bn(e.children)||0<e.children.length)&&(t=!0):Ul.call(e,U)&&U[0]!=="_"&&Gi(U,e[U],a,u+1,c);a.push(["",t?">…</"+h+">":"/>"]);return}if(h=Object.prototype.toString.call(e),h=h.slice(8,h.length-1),h==="Array"){if(U=ov(e),U===K3||U===D2){e=JSON.stringify(e);break}else if(U===F3){for(a.push([c+"  ".repeat(u)+t,""]),t=0;t<e.length;t++)h=e[t],Gi(h[0],h[1],a,u+1,c);return}}if(h==="Promise"){if(e.status==="fulfilled"){if(h=a.length,Gi(t,e.value,a,u,c),a.length>h){a=a[h],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(e.status==="rejected"&&(h=a.length,Gi(t,e.reason,a,u,c),a.length>h)){a=a[h],a[1]="Rejected Promise<"+a[1]+">";return}a.push(["  ".repeat(u)+t,"Promise"]);return}h==="Object"&&(U=Object.getPrototypeOf(e))&&typeof U.constructor=="function"&&(h=U.constructor.name),a.push([c+"  ".repeat(u)+t,h==="Object"?3>u?"":"…":h]),3>u&&R0(e,a,u+1,c);return}case"function":e=e.name===""?"() => {}":e.name+"() {}";break;case"string":e=e===m_?"…":JSON.stringify(e);break;case"undefined":e="undefined";break;case"boolean":e=e?"true":"false";break;default:e=String(e)}a.push([c+"  ".repeat(u)+t,e])}function uv(t,e,a,u){var c=!0;for(S in t)S in e||(a.push([M2+"  ".repeat(u)+S,"…"]),c=!1);for(var h in e)if(h in t){var S=t[h],T=e[h];if(S!==T){if(u===0&&h==="children")c="  ".repeat(u)+h,a.push([M2+c,"…"],[C2+c,"…"]);else{if(!(3<=u)){if(typeof S=="object"&&typeof T=="object"&&S!==null&&T!==null&&S.$$typeof===T.$$typeof)if(T.$$typeof===Wl){if(S.type===T.type&&S.key===T.key){S=j(T.type)||"…",c="  ".repeat(u)+h,S="<"+S+" … />",a.push([M2+c,S],[C2+c,S]),c=!1;continue}}else{var O=Object.prototype.toString.call(S),U=Object.prototype.toString.call(T);if(O===U&&(U==="[object Object]"||U==="[object Array]")){O=[yx+"  ".repeat(u)+h,U==="[object Array]"?"Array":""],a.push(O),U=a.length,uv(S,T,a,u+1)?U===a.length&&(O[1]="Referentially unequal but deeply equal objects. Consider memoization."):c=!1;continue}}else if(typeof S=="function"&&typeof T=="function"&&S.name===T.name&&S.length===T.length&&(O=Function.prototype.toString.call(S),U=Function.prototype.toString.call(T),O===U)){S=T.name===""?"() => {}":T.name+"() {}",a.push([yx+"  ".repeat(u)+h,S+" Referentially unequal function closure. Consider memoization."]);continue}}Gi(h,S,a,u,M2),Gi(h,T,a,u,C2)}c=!1}}else a.push([C2+"  ".repeat(u)+h,"…"]),c=!1;return c}function si(t){Te=t&63?"Blocking":t&64?"Gesture":t&4194176?"Transition":t&62914560?"Suspense":t&2080374784?"Idle":"Other"}function Gl(t,e,a,u){rn&&(Hc.start=e,Hc.end=a,er.color="warning",er.tooltipText=u,er.properties=null,(t=t._debugTask)?t.run(performance.measure.bind(performance,u,Hc)):performance.measure(u,Hc))}function Bh(t,e,a){Gl(t,e,a,"Reconnect")}function Vh(t,e,a,u,c){var h=q(t);if(h!==null&&rn){var S=t.alternate,T=t.actualDuration;if(S===null||S.child!==t.child)for(var O=t.child;O!==null;O=O.sibling)T-=O.actualDuration;u=.5>T?u?"tertiary-light":"primary-light":10>T?u?"tertiary":"primary":100>T?u?"tertiary-dark":"primary-dark":"error";var U=t.memoizedProps;T=t._debugTask,U!==null&&S!==null&&S.memoizedProps!==U?(O=[p_],U=uv(S.memoizedProps,U,O,0),1<O.length&&(U&&!jc&&(S.lanes&c)===0&&100<t.actualDuration?(jc=!0,O[0]=y_,er.color="warning",er.tooltipText=gx):(er.color=u,er.tooltipText=h),er.properties=O,Hc.start=e,Hc.end=a,T!=null?T.run(performance.measure.bind(performance,"​"+h,Hc)):performance.measure("​"+h,Hc))):T!=null?T.run(console.timeStamp.bind(console,h,e,a,yo,void 0,u)):console.timeStamp(h,e,a,yo,void 0,u)}}function w0(t,e,a,u){if(rn){var c=q(t);if(c!==null){for(var h=null,S=[],T=0;T<u.length;T++){var O=u[T];h==null&&O.source!==null&&(h=O.source._debugTask),O=O.value,S.push(["Error",typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O)])}t.key!==null&&Gi("key",t.key,S,0,""),t.memoizedProps!==null&&R0(t.memoizedProps,S,0,""),h==null&&(h=t._debugTask),t={start:e,end:a,detail:{devtools:{color:"error",track:yo,tooltipText:t.tag===13?"Hydration failed":"Error boundary caught an error",properties:S}}},h?h.run(performance.measure.bind(performance,"​"+c,t)):performance.measure("​"+c,t)}}}function ri(t,e,a,u,c){if(c!==null){if(rn){var h=q(t);if(h!==null){u=[];for(var S=0;S<c.length;S++){var T=c[S].value;u.push(["Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}t.key!==null&&Gi("key",t.key,u,0,""),t.memoizedProps!==null&&R0(t.memoizedProps,u,0,""),e={start:e,end:a,detail:{devtools:{color:"error",track:yo,tooltipText:"A lifecycle or effect errored",properties:u}}},(t=t._debugTask)?t.run(performance.measure.bind(performance,"​"+h,e)):performance.measure("​"+h,e)}}}else h=q(t),h!==null&&rn&&(c=1>u?"secondary-light":100>u?"secondary":500>u?"secondary-dark":"error",(t=t._debugTask)?t.run(console.timeStamp.bind(console,h,e,a,yo,void 0,c)):console.timeStamp(h,e,a,yo,void 0,c))}function E3(t,e,a,u){if(rn&&!(e<=t)){var c=(a&738197653)===a?"tertiary-dark":"primary-dark";a=(a&536870912)===a?"Prepared":(a&201326741)===a?"Hydrated":"Render",u?u.run(console.timeStamp.bind(console,a,t,e,Te,Se,c)):console.timeStamp(a,t,e,Te,Se,c)}}function sv(t,e,a,u){!rn||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",u?u.run(console.timeStamp.bind(console,"Prewarm",t,e,Te,Se,a)):console.timeStamp("Prewarm",t,e,Te,Se,a))}function rv(t,e,a,u){!rn||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",u?u.run(console.timeStamp.bind(console,"Suspended",t,e,Te,Se,a)):console.timeStamp("Suspended",t,e,Te,Se,a))}function x3(t,e,a,u,c,h){if(rn&&!(e<=t)){a=[];for(var S=0;S<u.length;S++){var T=u[S].value;a.push(["Recoverable Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}t={start:t,end:e,detail:{devtools:{color:"primary-dark",track:Te,trackGroup:Se,tooltipText:c?"Hydration Failed":"Recovered after Error",properties:a}}},h?h.run(performance.measure.bind(performance,"Recovered",t)):performance.measure("Recovered",t)}}function U0(t,e,a,u){!rn||e<=t||(u?u.run(console.timeStamp.bind(console,"Errored",t,e,Te,Se,"error")):console.timeStamp("Errored",t,e,Te,Se,"error"))}function D3(t,e,a,u){!rn||e<=t||(u?u.run(console.timeStamp.bind(console,a,t,e,Te,Se,"secondary-light")):console.timeStamp(a,t,e,Te,Se,"secondary-light"))}function cv(t,e,a,u,c){if(rn&&!(e<=t)){for(var h=[],S=0;S<a.length;S++){var T=a[S].value;h.push(["Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}t={start:t,end:e,detail:{devtools:{color:"error",track:Te,trackGroup:Se,tooltipText:u?"Remaining Effects Errored":"Commit Errored",properties:h}}},c?c.run(performance.measure.bind(performance,"Errored",t)):performance.measure("Errored",t)}}function _0(t,e,a){!rn||e<=t||console.timeStamp("Animating",t,e,Te,Se,"secondary-dark")}function Lh(){for(var t=yp,e=$3=yp=0;e<t;){var a=go[e];go[e++]=null;var u=go[e];go[e++]=null;var c=go[e];go[e++]=null;var h=go[e];if(go[e++]=null,u!==null&&c!==null){var S=u.pending;S===null?c.next=c:(c.next=S.next,S.next=c),u.pending=c}h!==0&&N0(a,c,h)}}function Hr(t,e,a,u){go[yp++]=t,go[yp++]=e,go[yp++]=a,go[yp++]=u,$3|=u,t.lanes|=u,t=t.alternate,t!==null&&(t.lanes|=u)}function gs(t,e,a,u){return Hr(t,e,a,u),xf(t)}function Aa(t,e){return Hr(t,null,null,e),xf(t)}function N0(t,e,a){t.lanes|=a;var u=t.alternate;u!==null&&(u.lanes|=a);for(var c=!1,h=t.return;h!==null;)h.childLanes|=a,u=h.alternate,u!==null&&(u.childLanes|=a),h.tag===22&&(t=h.stateNode,t===null||t._visibility&Cg||(c=!0)),t=h,h=h.return;return t.tag===3?(h=t.stateNode,c&&e!==null&&(c=31-ga(a),t=h.hiddenUpdates,u=t[c],u===null?t[c]=[e]:u.push(e),e.lane=a|536870912),h):null}function xf(t){if(t1>U_)throw kd=t1=0,e1=z4=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");kd>__&&(kd=0,e1=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),t.alternate===null&&(t.flags&4098)!==0&&Il(t);for(var e=t,a=e.return;a!==null;)e.alternate===null&&(e.flags&4098)!==0&&Il(t),e=a,a=e.return;return e.tag===3?e.stateNode:null}function bu(t){if(vo===null)return t;var e=vo(t);return e===void 0?t:e.current}function Yh(t){if(vo===null)return t;var e=vo(t);return e===void 0?t!=null&&typeof t.render=="function"&&(e=bu(t.render),t.render!==e)?(e={$$typeof:Ec,render:e},t.displayName!==void 0&&(e.displayName=t.displayName),e):t:e.current}function j0(t,e){if(vo===null)return!1;var a=t.elementType;e=e.type;var u=!1,c=typeof e=="object"&&e!==null?e.$$typeof:null;switch(t.tag){case 1:typeof e=="function"&&(u=!0);break;case 0:(typeof e=="function"||c===xa)&&(u=!0);break;case 11:(c===Ec||c===xa)&&(u=!0);break;case 14:case 15:(c===xd||c===xa)&&(u=!0);break;default:return!1}return!!(u&&(t=vo(a),t!==void 0&&t===vo(e)))}function vs(t){vo!==null&&typeof WeakSet=="function"&&(gp===null&&(gp=new WeakSet),gp.add(t))}function fv(t,e,a){do{var u=t,c=u.alternate,h=u.child,S=u.sibling,T=u.tag;u=u.type;var O=null;switch(T){case 0:case 15:case 1:O=u;break;case 11:O=u.render}if(vo===null)throw Error("Expected resolveFamily to be set during hot reload.");var U=!1;if(u=!1,O!==null&&(O=vo(O),O!==void 0&&(a.has(O)?u=!0:e.has(O)&&(T===1?u=!0:U=!0))),gp!==null&&(gp.has(t)||c!==null&&gp.has(c))&&(u=!0),u&&(t._debugNeedsRemount=!0),(u||U)&&(c=Aa(t,2),c!==null&&Ft(c,t,2)),h===null||u||fv(h,e,a),S===null)break;t=S}while(!0)}function M3(t,e,a,u){this.tag=t,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,vx||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function H0(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Xi(t,e){var a=t.alternate;switch(a===null?(a=D(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a._debugOwner=t._debugOwner,a._debugStack=t._debugStack,a._debugTask=t._debugTask,a._debugHookTypes=t._debugHookTypes,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a.selfBaseDuration=t.selfBaseDuration,a.treeBaseDuration=t.treeBaseDuration,a._debugInfo=t._debugInfo,a._debugNeedsRemount=t._debugNeedsRemount,a.tag){case 0:case 15:a.type=bu(t.type);break;case 1:a.type=bu(t.type);break;case 11:a.type=Yh(t.type)}return a}function B0(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null,t.selfBaseDuration=0,t.treeBaseDuration=0):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},t.selfBaseDuration=a.selfBaseDuration,t.treeBaseDuration=a.treeBaseDuration),t}function bs(t,e,a,u,c,h){var S=0,T=t;if(typeof t=="function")H0(t)&&(S=1),T=bu(T);else if(typeof t=="string")S=w(),S=o2(t,a,S)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Ci:return e=D(31,a,e,c),e.elementType=Ci,e.lanes=h,e;case Tc:return Ss(a.children,c,h,e);case Fa:S=8,c|=rl,c|=ou;break;case Ed:return t=a,u=c,typeof t.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof t.id),e=D(12,t,e,u|re),e.elementType=Ed,e.lanes=h,e.stateNode={effectDuration:0,passiveEffectDuration:0},e;case $s:return e=D(13,a,e,c),e.elementType=$s,e.lanes=h,e;case ul:return e=D(19,a,e,c),e.elementType=ul,e.lanes=h,e;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Mi:S=10;break t;case Wm:S=9;break t;case Ec:S=11,T=Yh(T);break t;case xd:S=14;break t;case xa:S=16,T=null;break t}T="",(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(T+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),t===null?a="null":Bn(t)?a="array":t!==void 0&&t.$$typeof===Wl?(a="<"+(j(t.type)||"Unknown")+" />",T=" Did you accidentally export a JSX literal instead of a component?"):a=typeof t,(S=u?H(u):null)&&(T+=`
69
-
70
- Check the render method of \``+S+"`."),S=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+T)),T=null}return e=D(S,a,e,c),e.elementType=t,e.type=T,e.lanes=h,e._debugOwner=u,e}function Su(t,e,a){return e=bs(t.type,t.key,t.props,t._owner,e,a),e._debugOwner=t._owner,e._debugStack=t._debugStack,e._debugTask=t._debugTask,e}function Ss(t,e,a,u){return t=D(7,t,u,e),t.lanes=a,t}function Br(t,e,a){return t=D(6,t,null,e),t.lanes=a,t}function V0(t){var e=D(18,null,null,Kt);return e.stateNode=t,e}function qh(t,e,a){return e=D(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Ha(t,e){if(typeof t=="object"&&t!==null){var a=I3.get(t);return a!==void 0?a:(e={value:t,source:e,stack:Rt(e)},I3.set(t,e),e)}return{value:t,source:e,stack:Rt(e)}}function ci(t,e){Au(),vp[bp++]=Og,vp[bp++]=O2,O2=t,Og=e}function L0(t,e,a){Au(),bo[So++]=ar,bo[So++]=lr,bo[So++]=wd,wd=t;var u=ar;t=lr;var c=32-ga(u)-1;u&=~(1<<c),a+=1;var h=32-ga(e)+c;if(30<h){var S=c-c%5;h=(u&(1<<S)-1).toString(32),u>>=S,c-=S,ar=1<<32-ga(e)+c|a<<c|u,lr=h+t}else ar=1<<h|a<<c|u,lr=t}function Gh(t){Au(),t.return!==null&&(ci(t,1),L0(t,1,0))}function Xh(t){for(;t===O2;)O2=vp[--bp],vp[bp]=null,Og=vp[--bp],vp[bp]=null;for(;t===wd;)wd=bo[--So],bo[So]=null,lr=bo[--So],bo[So]=null,ar=bo[--So],bo[So]=null}function dv(){return Au(),wd!==null?{id:ar,overflow:lr}:null}function hv(t,e){Au(),bo[So++]=ar,bo[So++]=lr,bo[So++]=wd,ar=e.id,lr=e.overflow,wd=t}function Au(){be||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function As(t,e){if(t.return===null){if(zi===null)zi={fiber:t,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:e};else{if(zi.fiber!==t)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");zi.distanceFromLeaf>e&&(zi.distanceFromLeaf=e)}return zi}var a=As(t.return,e+1).children;return 0<a.length&&a[a.length-1].fiber===t?(a=a[a.length-1],a.distanceFromLeaf>e&&(a.distanceFromLeaf=e),a):(e={fiber:t,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:e},a.push(e),e)}function mv(){be&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Ta(t,e){Iu||(t=As(t,0),t.serverProps=null,e!==null&&(e=n2(e),t.serverTail.push(e)))}function Xl(t){var e=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,a="",u=zi;throw u!==null&&(zi=null,a=b0(u)),Mf(Ha(Error("Hydration failed because the server rendered "+(e?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
71
-
72
- - A server/client branch \`if (typeof window !== 'undefined')\`.
73
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
74
- - Date formatting in a user's locale which doesn't match the server.
75
- - External changing data without sending a snapshot of it along with the HTML.
76
- - Invalid HTML tag nesting.
77
-
78
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
79
-
80
- https://react.dev/link/hydration-mismatch`+a),t)),W3}function Y0(t){var e=t.stateNode,a=t.type,u=t.memoizedProps;switch(e[sn]=t,e[$a]=u,Ja(a,u),a){case"dialog":Jt("cancel",e),Jt("close",e);break;case"iframe":case"object":case"embed":Jt("load",e);break;case"video":case"audio":for(a=0;a<n1.length;a++)Jt(n1[a],e);break;case"source":Jt("error",e);break;case"img":case"image":case"link":Jt("error",e),Jt("load",e);break;case"details":Jt("toggle",e);break;case"input":Na("input",u),Jt("invalid",e),ja(e,u),xh(e,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"option":I1(e,u);break;case"select":Na("select",u),Jt("invalid",e),Dh(e,u);break;case"textarea":Na("textarea",u),Jt("invalid",e),rs(e,u),Cr(e,u.value,u.defaultValue,u.children)}a=u.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||u.suppressHydrationWarning===!0||Gy(e.textContent,a)?(u.popover!=null&&(Jt("beforetoggle",e),Jt("toggle",e)),u.onScroll!=null&&Jt("scroll",e),u.onScrollEnd!=null&&Jt("scrollend",e),u.onClick!=null&&(e.onclick=ql),e=!0):e=!1,e||Xl(t,!0)}function q0(t){for(Ia=t.return;Ia;)switch(Ia.tag){case 5:case 31:case 13:Ao=!1;return;case 27:case 3:Ao=!0;return;default:Ia=Ia.return}}function Ts(t){if(t!==Ia)return!1;if(!be)return q0(t),be=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||mc(t.type,t.memoizedProps)),a=!a),a&&cn){for(a=cn;a;){var u=As(t,0),c=n2(a);u.serverTail.push(c),a=c.type==="Suspense"?gc(a):Rl(a.nextSibling)}Xl(t)}if(q0(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");cn=gc(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");cn=gc(t)}else e===27?(e=cn,Qu(t.type)?(t=q4,q4=null,cn=t):cn=e):cn=Ia?Rl(t.stateNode.nextSibling):null;return!0}function Tu(){cn=Ia=null,Iu=be=!1}function Df(){var t=Vc;return t!==null&&(Vl===null?Vl=t:Vl.push.apply(Vl,t),Vc=null),t}function Mf(t){Vc===null?Vc=[t]:Vc.push(t)}function Eu(){var t=zi;if(t!==null){zi=null;for(var e=b0(t);0<t.children.length;)t=t.children[0];Ut(t.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
81
-
82
- - A server/client branch \`if (typeof window !== 'undefined')\`.
83
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
84
- - Date formatting in a user's locale which doesn't match the server.
85
- - External changing data without sending a snapshot of it along with the HTML.
86
- - Invalid HTML tag nesting.
87
-
88
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
89
-
90
- %s%s`,"https://react.dev/link/hydration-mismatch",e)})}}function Vr(){Sp=z2=null,Ap=!1}function Ql(t,e,a){lt(P3,e._currentValue,t),e._currentValue=a,lt(t4,e._currentRenderer,t),e._currentRenderer!==void 0&&e._currentRenderer!==null&&e._currentRenderer!==Sx&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),e._currentRenderer=Sx}function fi(t,e){t._currentValue=P3.current;var a=t4.current;K(t4,e),t._currentRenderer=a,K(P3,e)}function Qh(t,e,a){for(;t!==null;){var u=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,u!==null&&(u.childLanes|=e)):u!==null&&(u.childLanes&e)!==e&&(u.childLanes|=e),t===a)break;t=t.return}t!==a&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Yo(t,e,a,u){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var h=c.dependencies;if(h!==null){var S=c.child;h=h.firstContext;t:for(;h!==null;){var T=h;h=c;for(var O=0;O<e.length;O++)if(T.context===e[O]){h.lanes|=a,T=h.alternate,T!==null&&(T.lanes|=a),Qh(h.return,a,t),u||(S=null);break t}h=T.next}}else if(c.tag===18){if(S=c.return,S===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");S.lanes|=a,h=S.alternate,h!==null&&(h.lanes|=a),Qh(S,a,t),S=null}else S=c.child;if(S!==null)S.return=c;else for(S=c;S!==null;){if(S===t){S=null;break}if(c=S.sibling,c!==null){c.return=S.return,S=c;break}S=S.return}c=S}}function di(t,e,a,u){t=null;for(var c=e,h=!1;c!==null;){if(!h){if((c.flags&524288)!==0)h=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var S=c.alternate;if(S===null)throw Error("Should have a current fiber. This is a bug in React.");if(S=S.memoizedProps,S!==null){var T=c.type;Nl(c.pendingProps.value,S.value)||(t!==null?t.push(T):t=[T])}}else if(c===Ku.current){if(S=c.alternate,S===null)throw Error("Should have a current fiber. This is a bug in React.");S.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(t!==null?t.push(u1):t=[u1])}c=c.return}t!==null&&Yo(e,t,a,u),e.flags|=262144}function Lr(t){for(t=t.firstContext;t!==null;){if(!Nl(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function xu(t){z2=t,Sp=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Ce(t){return Ap&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),G0(z2,t)}function Cf(t,e){return z2===null&&xu(t),G0(t,e)}function G0(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},Sp===null){if(t===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Sp=e,t.dependencies={lanes:0,firstContext:e,_debugThenableState:null},t.flags|=524288}else Sp=Sp.next=e;return a}function Zh(){return{controller:new b_,data:new Map,refCount:0}}function Es(t){t.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),t.refCount++}function Of(t){t.refCount--,0>t.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),t.refCount===0&&S_(A_,function(){t.controller.abort()})}function Qi(t,e,a){(t&127)!==0?0>Wu&&(Wu=la(),Rg=R2(e),e4=e,a!=null&&(n4=q(a)),(xe&(Sa|Ui))!==Oa&&(Nn=!0,Yc=zg),t=pc(),e=ro(),t!==Tp||e!==wg?Tp=-1.1:e!==null&&(Yc=zg),Nd=t,wg=e):(t&4194048)!==0&&0>To&&(To=la(),Ug=R2(e),Ax=e,a!=null&&(Tx=q(a)),0>sr)&&(t=pc(),e=ro(),(t!==Gc||e!==jd)&&(Gc=-1.1),qc=t,jd=e)}function pv(t){if(0>Wu){Wu=la(),Rg=t._debugTask!=null?t._debugTask:null,(xe&(Sa|Ui))!==Oa&&(Yc=zg);var e=pc(),a=ro();e!==Tp||a!==wg?Tp=-1.1:a!==null&&(Yc=zg),Nd=e,wg=a}0>To&&(To=la(),Ug=t._debugTask!=null?t._debugTask:null,0>sr)&&(t=pc(),e=ro(),(t!==Gc||e!==jd)&&(Gc=-1.1),qc=t,jd=e)}function Zi(){var t=Ud;return Ud=0,t}function Yr(t){var e=Ud;return Ud=t,e}function Ba(t){var e=Ud;return Ud+=t,e}function xs(){kt=Xt=-1.1}function ln(){var t=Xt;return Xt=-1.1,t}function $n(t){0<=t&&(Xt=t)}function Zl(){var t=An;return An=-0,t}function vl(t){0<=t&&(An=t)}function bl(){var t=yn;return yn=null,t}function kl(){var t=Nn;return Nn=!1,t}function qo(t){jl=la(),0>t.actualStartTime&&(t.actualStartTime=jl)}function kh(t){if(0<=jl){var e=la()-jl;t.actualDuration+=e,t.selfBaseDuration=e,jl=-1}}function zf(t){if(0<=jl){var e=la()-jl;t.actualDuration+=e,jl=-1}}function Va(){if(0<=jl){var t=la(),e=t-jl;jl=-1,Ud+=e,An+=e,kt=t}}function yv(t){yn===null&&(yn=[]),yn.push(t),or===null&&(or=[]),or.push(t)}function vn(){jl=la(),0>Xt&&(Xt=jl)}function Ds(t){for(var e=t.child;e;)t.actualDuration+=e.actualDuration,e=e.sibling}function Go(t,e){if(Ng===null){var a=Ng=[];l4=0,Hd=qy(),Ep={status:"pending",value:void 0,then:function(u){a.push(u)}}}return l4++,e.then(X0,X0),e}function X0(){if(--l4===0&&(-1<To||(sr=-1.1),Ng!==null)){Ep!==null&&(Ep.status="fulfilled");var t=Ng;Ng=null,Hd=0,Ep=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Jh(t,e){var a=[],u={status:"pending",value:null,reason:null,then:function(c){a.push(c)}};return t.then(function(){u.status="fulfilled",u.value=e;for(var c=0;c<a.length;c++)(0,a[c])(e)},function(c){for(u.status="rejected",u.reason=c,c=0;c<a.length;c++)(0,a[c])(void 0)}),u}function Xo(){var t=Bd.current;return t!==null?t:Fe.pooledCache}function qr(t,e){e===null?lt(Bd,Bd.current,t):lt(Bd,e.pool,t)}function Q0(){var t=Xo();return t===null?null:{parent:aa._currentValue,pool:t}}function Kh(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Z0(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Sl(t,e,a){St.actQueue!==null&&(St.didUsePromise=!0);var u=t.thenables;if(a=u[a],a===void 0?u.push(e):a!==e&&(t.didWarnAboutUncachedPromise||(t.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),e.then(ql,ql),e=a),e._debugInfo===void 0){t=performance.now(),u=e.displayName;var c={name:typeof u=="string"?u:"Promise",start:t,end:t,value:e};e._debugInfo=[{awaited:c}],e.status!=="fulfilled"&&e.status!=="rejected"&&(t=function(){c.end=performance.now()},e.then(t,t))}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Rf(t),t;default:if(typeof e.status=="string")e.then(ql,ql);else{if(t=Fe,t!==null&&100<t.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");t=e,t.status="pending",t.then(function(h){if(e.status==="pending"){var S=e;S.status="fulfilled",S.value=h}},function(h){if(e.status==="pending"){var S=e;S.status="rejected",S.reason=h}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Rf(t),t}throw Ld=e,qg=!0,xp}}function Al(t){try{return M_(t)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Ld=e,qg=!0,xp):e}}function Ms(){if(Ld===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var t=Ld;return Ld=null,qg=!1,t}function Rf(t){if(t===xp||t===V2)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function zn(t){var e=ce;return t!=null&&(ce=e===null?t:e.concat(t)),e}function el(){var t=ce;if(t!=null){for(var e=t.length-1;0<=e;e--)if(t[e].name!=null){var a=t[e].debugTask;if(a!=null)return a}}return null}function La(t,e,a){for(var u=Object.keys(t.props),c=0;c<u.length;c++){var h=u[c];if(h!=="children"&&h!=="key"){e===null&&(e=Su(t,a.mode,0),e._debugInfo=ce,e.return=a),Ut(e,function(S){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",S)},h);break}}}function hi(t){var e=Gg;return Gg+=1,Dp===null&&(Dp=Kh()),Sl(Dp,t,e)}function nl(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function mi(t,e){throw e.$$typeof===d2?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
91
- - Multiple copies of the "react" package is used.
92
- - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
93
- - A compiler tries to "inline" JSX instead of using the runtime.`):(t=Object.prototype.toString.call(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."))}function Jl(t,e){var a=el();a!==null?a.run(mi.bind(null,t,e)):mi(t,e)}function k0(t,e){var a=q(t)||"Component";Gx[a]||(Gx[a]=!0,e=e.displayName||e.name||"Component",t.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
94
- root.render(%s)`,e,e,e):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
95
- <%s>{%s}</%s>`,e,e,a,e,a))}function Gr(t,e){var a=el();a!==null?a.run(k0.bind(null,t,e)):k0(t,e)}function Fh(t,e){var a=q(t)||"Component";Xx[a]||(Xx[a]=!0,e=String(e),t.tag===3?console.error(`Symbols are not valid as a React child.
96
- root.render(%s)`,e):console.error(`Symbols are not valid as a React child.
97
- <%s>%s</%s>`,a,e,a))}function wf(t,e){var a=el();a!==null?a.run(Fh.bind(null,t,e)):Fh(t,e)}function In(t){function e(G,Q){if(t){var $=G.deletions;$===null?(G.deletions=[Q],G.flags|=16):$.push(Q)}}function a(G,Q){if(!t)return null;for(;Q!==null;)e(G,Q),Q=Q.sibling;return null}function u(G){for(var Q=new Map;G!==null;)G.key!==null?Q.set(G.key,G):Q.set(G.index,G),G=G.sibling;return Q}function c(G,Q){return G=Xi(G,Q),G.index=0,G.sibling=null,G}function h(G,Q,$){return G.index=$,t?($=G.alternate,$!==null?($=$.index,$<Q?(G.flags|=67108866,Q):$):(G.flags|=67108866,Q)):(G.flags|=1048576,Q)}function S(G){return t&&G.alternate===null&&(G.flags|=67108866),G}function T(G,Q,$,xt){return Q===null||Q.tag!==6?(Q=Br($,G.mode,xt),Q.return=G,Q._debugOwner=G,Q._debugTask=G._debugTask,Q._debugInfo=ce,Q):(Q=c(Q,$),Q.return=G,Q._debugInfo=ce,Q)}function O(G,Q,$,xt){var jt=$.type;return jt===Tc?(Q=I(G,Q,$.props.children,xt,$.key),La($,Q,G),Q):Q!==null&&(Q.elementType===jt||j0(Q,$)||typeof jt=="object"&&jt!==null&&jt.$$typeof===xa&&Al(jt)===Q.type)?(Q=c(Q,$.props),nl(Q,$),Q.return=G,Q._debugOwner=$._owner,Q._debugInfo=ce,Q):(Q=Su($,G.mode,xt),nl(Q,$),Q.return=G,Q._debugInfo=ce,Q)}function U(G,Q,$,xt){return Q===null||Q.tag!==4||Q.stateNode.containerInfo!==$.containerInfo||Q.stateNode.implementation!==$.implementation?(Q=qh($,G.mode,xt),Q.return=G,Q._debugInfo=ce,Q):(Q=c(Q,$.children||[]),Q.return=G,Q._debugInfo=ce,Q)}function I(G,Q,$,xt,jt){return Q===null||Q.tag!==7?(Q=Ss($,G.mode,xt,jt),Q.return=G,Q._debugOwner=G,Q._debugTask=G._debugTask,Q._debugInfo=ce,Q):(Q=c(Q,$),Q.return=G,Q._debugInfo=ce,Q)}function nt(G,Q,$){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return Q=Br(""+Q,G.mode,$),Q.return=G,Q._debugOwner=G,Q._debugTask=G._debugTask,Q._debugInfo=ce,Q;if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case Wl:return $=Su(Q,G.mode,$),nl($,Q),$.return=G,G=zn(Q._debugInfo),$._debugInfo=ce,ce=G,$;case ku:return Q=qh(Q,G.mode,$),Q.return=G,Q._debugInfo=ce,Q;case xa:var xt=zn(Q._debugInfo);return Q=Al(Q),G=nt(G,Q,$),ce=xt,G}if(Bn(Q)||rt(Q))return $=Ss(Q,G.mode,$,null),$.return=G,$._debugOwner=G,$._debugTask=G._debugTask,G=zn(Q._debugInfo),$._debugInfo=ce,ce=G,$;if(typeof Q.then=="function")return xt=zn(Q._debugInfo),G=nt(G,hi(Q),$),ce=xt,G;if(Q.$$typeof===Mi)return nt(G,Cf(G,Q),$);Jl(G,Q)}return typeof Q=="function"&&Gr(G,Q),typeof Q=="symbol"&&wf(G,Q),null}function X(G,Q,$,xt){var jt=Q!==null?Q.key:null;if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return jt!==null?null:T(G,Q,""+$,xt);if(typeof $=="object"&&$!==null){switch($.$$typeof){case Wl:return $.key===jt?(jt=zn($._debugInfo),G=O(G,Q,$,xt),ce=jt,G):null;case ku:return $.key===jt?U(G,Q,$,xt):null;case xa:return jt=zn($._debugInfo),$=Al($),G=X(G,Q,$,xt),ce=jt,G}if(Bn($)||rt($))return jt!==null?null:(jt=zn($._debugInfo),G=I(G,Q,$,xt,null),ce=jt,G);if(typeof $.then=="function")return jt=zn($._debugInfo),G=X(G,Q,hi($),xt),ce=jt,G;if($.$$typeof===Mi)return X(G,Q,Cf(G,$),xt);Jl(G,$)}return typeof $=="function"&&Gr(G,$),typeof $=="symbol"&&wf(G,$),null}function gt(G,Q,$,xt,jt){if(typeof xt=="string"&&xt!==""||typeof xt=="number"||typeof xt=="bigint")return G=G.get($)||null,T(Q,G,""+xt,jt);if(typeof xt=="object"&&xt!==null){switch(xt.$$typeof){case Wl:return $=G.get(xt.key===null?$:xt.key)||null,G=zn(xt._debugInfo),Q=O(Q,$,xt,jt),ce=G,Q;case ku:return G=G.get(xt.key===null?$:xt.key)||null,U(Q,G,xt,jt);case xa:var Pt=zn(xt._debugInfo);return xt=Al(xt),Q=gt(G,Q,$,xt,jt),ce=Pt,Q}if(Bn(xt)||rt(xt))return $=G.get($)||null,G=zn(xt._debugInfo),Q=I(Q,$,xt,jt,null),ce=G,Q;if(typeof xt.then=="function")return Pt=zn(xt._debugInfo),Q=gt(G,Q,$,hi(xt),jt),ce=Pt,Q;if(xt.$$typeof===Mi)return gt(G,Q,$,Cf(Q,xt),jt);Jl(Q,xt)}return typeof xt=="function"&&Gr(Q,xt),typeof xt=="symbol"&&wf(Q,xt),null}function Nt(G,Q,$,xt){if(typeof $!="object"||$===null)return xt;switch($.$$typeof){case Wl:case ku:A(G,Q,$);var jt=$.key;if(typeof jt!="string")break;if(xt===null){xt=new Set,xt.add(jt);break}if(!xt.has(jt)){xt.add(jt);break}Ut(Q,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",jt)});break;case xa:$=Al($),Nt(G,Q,$,xt)}return xt}function Bt(G,Q,$,xt){for(var jt=null,Pt=null,Gt=null,Yt=Q,ue=Q=0,fn=null;Yt!==null&&ue<$.length;ue++){Yt.index>ue?(fn=Yt,Yt=null):fn=Yt.sibling;var Jn=X(G,Yt,$[ue],xt);if(Jn===null){Yt===null&&(Yt=fn);break}jt=Nt(G,Jn,$[ue],jt),t&&Yt&&Jn.alternate===null&&e(G,Yt),Q=h(Jn,Q,ue),Gt===null?Pt=Jn:Gt.sibling=Jn,Gt=Jn,Yt=fn}if(ue===$.length)return a(G,Yt),be&&ci(G,ue),Pt;if(Yt===null){for(;ue<$.length;ue++)Yt=nt(G,$[ue],xt),Yt!==null&&(jt=Nt(G,Yt,$[ue],jt),Q=h(Yt,Q,ue),Gt===null?Pt=Yt:Gt.sibling=Yt,Gt=Yt);return be&&ci(G,ue),Pt}for(Yt=u(Yt);ue<$.length;ue++)fn=gt(Yt,G,ue,$[ue],xt),fn!==null&&(jt=Nt(G,fn,$[ue],jt),t&&fn.alternate!==null&&Yt.delete(fn.key===null?ue:fn.key),Q=h(fn,Q,ue),Gt===null?Pt=fn:Gt.sibling=fn,Gt=fn);return t&&Yt.forEach(function(yr){return e(G,yr)}),be&&ci(G,ue),Pt}function nn(G,Q,$,xt){if($==null)throw Error("An iterable object provided no iterator.");for(var jt=null,Pt=null,Gt=Q,Yt=Q=0,ue=null,fn=null,Jn=$.next();Gt!==null&&!Jn.done;Yt++,Jn=$.next()){Gt.index>Yt?(ue=Gt,Gt=null):ue=Gt.sibling;var yr=X(G,Gt,Jn.value,xt);if(yr===null){Gt===null&&(Gt=ue);break}fn=Nt(G,yr,Jn.value,fn),t&&Gt&&yr.alternate===null&&e(G,Gt),Q=h(yr,Q,Yt),Pt===null?jt=yr:Pt.sibling=yr,Pt=yr,Gt=ue}if(Jn.done)return a(G,Gt),be&&ci(G,Yt),jt;if(Gt===null){for(;!Jn.done;Yt++,Jn=$.next())Gt=nt(G,Jn.value,xt),Gt!==null&&(fn=Nt(G,Gt,Jn.value,fn),Q=h(Gt,Q,Yt),Pt===null?jt=Gt:Pt.sibling=Gt,Pt=Gt);return be&&ci(G,Yt),jt}for(Gt=u(Gt);!Jn.done;Yt++,Jn=$.next())ue=gt(Gt,G,Yt,Jn.value,xt),ue!==null&&(fn=Nt(G,ue,Jn.value,fn),t&&ue.alternate!==null&&Gt.delete(ue.key===null?Yt:ue.key),Q=h(ue,Q,Yt),Pt===null?jt=ue:Pt.sibling=ue,Pt=ue);return t&&Gt.forEach(function($_){return e(G,$_)}),be&&ci(G,Yt),jt}function Ae(G,Q,$,xt){if(typeof $=="object"&&$!==null&&$.type===Tc&&$.key===null&&(La($,null,G),$=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case Wl:var jt=zn($._debugInfo);t:{for(var Pt=$.key;Q!==null;){if(Q.key===Pt){if(Pt=$.type,Pt===Tc){if(Q.tag===7){a(G,Q.sibling),xt=c(Q,$.props.children),xt.return=G,xt._debugOwner=$._owner,xt._debugInfo=ce,La($,xt,G),G=xt;break t}}else if(Q.elementType===Pt||j0(Q,$)||typeof Pt=="object"&&Pt!==null&&Pt.$$typeof===xa&&Al(Pt)===Q.type){a(G,Q.sibling),xt=c(Q,$.props),nl(xt,$),xt.return=G,xt._debugOwner=$._owner,xt._debugInfo=ce,G=xt;break t}a(G,Q);break}else e(G,Q);Q=Q.sibling}$.type===Tc?(xt=Ss($.props.children,G.mode,xt,$.key),xt.return=G,xt._debugOwner=G,xt._debugTask=G._debugTask,xt._debugInfo=ce,La($,xt,G),G=xt):(xt=Su($,G.mode,xt),nl(xt,$),xt.return=G,xt._debugInfo=ce,G=xt)}return G=S(G),ce=jt,G;case ku:t:{for(jt=$,$=jt.key;Q!==null;){if(Q.key===$)if(Q.tag===4&&Q.stateNode.containerInfo===jt.containerInfo&&Q.stateNode.implementation===jt.implementation){a(G,Q.sibling),xt=c(Q,jt.children||[]),xt.return=G,G=xt;break t}else{a(G,Q);break}else e(G,Q);Q=Q.sibling}xt=qh(jt,G.mode,xt),xt.return=G,G=xt}return S(G);case xa:return jt=zn($._debugInfo),$=Al($),G=Ae(G,Q,$,xt),ce=jt,G}if(Bn($))return jt=zn($._debugInfo),G=Bt(G,Q,$,xt),ce=jt,G;if(rt($)){if(jt=zn($._debugInfo),Pt=rt($),typeof Pt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Gt=Pt.call($);return Gt===$?(G.tag!==0||Object.prototype.toString.call(G.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Gt)!=="[object Generator]")&&(Yx||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),Yx=!0):$.entries!==Pt||s4||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),s4=!0),G=nn(G,Q,Gt,xt),ce=jt,G}if(typeof $.then=="function")return jt=zn($._debugInfo),G=Ae(G,Q,hi($),xt),ce=jt,G;if($.$$typeof===Mi)return Ae(G,Q,Cf(G,$),xt);Jl(G,$)}return typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint"?(jt=""+$,Q!==null&&Q.tag===6?(a(G,Q.sibling),xt=c(Q,jt),xt.return=G,G=xt):(a(G,Q),xt=Br(jt,G.mode,xt),xt.return=G,xt._debugOwner=G,xt._debugTask=G._debugTask,xt._debugInfo=ce,G=xt),S(G)):(typeof $=="function"&&Gr(G,$),typeof $=="symbol"&&wf(G,$),a(G,Q))}return function(G,Q,$,xt){var jt=ce;ce=null;try{Gg=0;var Pt=Ae(G,Q,$,xt);return Dp=null,Pt}catch(fn){if(fn===xp||fn===V2)throw fn;var Gt=D(29,fn,null,G.mode);Gt.lanes=xt,Gt.return=G;var Yt=Gt._debugInfo=ce;if(Gt._debugOwner=G._debugOwner,Gt._debugTask=G._debugTask,Yt!=null){for(var ue=Yt.length-1;0<=ue;ue--)if(typeof Yt[ue].stack=="string"){Gt._debugOwner=Yt[ue],Gt._debugTask=Yt[ue].debugTask;break}}return Gt}finally{ce=jt}}}function Ze(t,e){var a=Bn(t);return t=!a&&typeof rt(t)=="function",a||t?(a=a?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",a,e,a),!1):!0}function ge(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ki(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function qn(t){return{lane:t,tag:Zx,payload:null,callback:null,next:null}}function Ji(t,e,a){var u=t.updateQueue;if(u===null)return null;if(u=u.shared,c4===u&&!Kx){var c=q(t);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
98
-
99
- Please update the following component: %s`,c),Kx=!0}return(xe&Sa)!==Oa?(c=u.pending,c===null?e.next=e:(e.next=c.next,c.next=e),u.pending=e,e=xf(t),N0(t,null,a),e):(Hr(t,u,e,a),xf(t))}function Kl(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var u=e.lanes;u&=t.pendingLanes,a|=u,e.lanes=a,tl(t,a)}}function Uf(t,e){var a=t.updateQueue,u=t.alternate;if(u!==null&&(u=u.updateQueue,a===u)){var c=null,h=null;if(a=a.firstBaseUpdate,a!==null){do{var S={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};h===null?c=h=S:h=h.next=S,a=a.next}while(a!==null);h===null?c=h=e:h=h.next=e}else c=h=e;a={baseState:u.baseState,firstBaseUpdate:c,lastBaseUpdate:h,shared:u.shared,callbacks:u.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}function Xr(){if(f4){var t=Ep;if(t!==null)throw t}}function Ki(t,e,a,u){f4=!1;var c=t.updateQueue;Xc=!1,c4=c.shared;var h=c.firstBaseUpdate,S=c.lastBaseUpdate,T=c.shared.pending;if(T!==null){c.shared.pending=null;var O=T,U=O.next;O.next=null,S===null?h=U:S.next=U,S=O;var I=t.alternate;I!==null&&(I=I.updateQueue,T=I.lastBaseUpdate,T!==S&&(T===null?I.firstBaseUpdate=U:T.next=U,I.lastBaseUpdate=O))}if(h!==null){var nt=c.baseState;S=0,I=U=O=null,T=h;do{var X=T.lane&-536870913,gt=X!==T.lane;if(gt?(fe&X)===X:(u&X)===X){X!==0&&X===Hd&&(f4=!0),I!==null&&(I=I.next={lane:0,tag:T.tag,payload:T.payload,callback:null,next:null});t:{X=t;var Nt=T,Bt=e,nn=a;switch(Nt.tag){case kx:if(Nt=Nt.payload,typeof Nt=="function"){Ap=!0;var Ae=Nt.call(nn,nt,Bt);if(X.mode&rl){le(!0);try{Nt.call(nn,nt,Bt)}finally{le(!1)}}Ap=!1,nt=Ae;break t}nt=Nt;break t;case r4:X.flags=X.flags&-65537|128;case Zx:if(Ae=Nt.payload,typeof Ae=="function"){if(Ap=!0,Nt=Ae.call(nn,nt,Bt),X.mode&rl){le(!0);try{Ae.call(nn,nt,Bt)}finally{le(!1)}}Ap=!1}else Nt=Ae;if(Nt==null)break t;nt=se({},nt,Nt);break t;case Jx:Xc=!0}}X=T.callback,X!==null&&(t.flags|=64,gt&&(t.flags|=8192),gt=c.callbacks,gt===null?c.callbacks=[X]:gt.push(X))}else gt={lane:X,tag:T.tag,payload:T.payload,callback:T.callback,next:null},I===null?(U=I=gt,O=nt):I=I.next=gt,S|=X;if(T=T.next,T===null){if(T=c.shared.pending,T===null)break;gt=T,T=gt.next,gt.next=null,c.lastBaseUpdate=gt,c.shared.pending=null}}while(!0);I===null&&(O=nt),c.baseState=O,c.firstBaseUpdate=U,c.lastBaseUpdate=I,h===null&&(c.shared.lanes=0),kc|=S,t.lanes=S,t.memoizedState=nt}c4=null}function Du(t,e){if(typeof t!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+t);t.call(e)}function J0(t,e){var a=t.shared.hiddenCallbacks;if(a!==null)for(t.shared.hiddenCallbacks=null,t=0;t<a.length;t++)Du(a[t],e)}function Qr(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)Du(a[t],e)}function $h(t,e){var a=ts;lt(Y2,a,t),lt(Mp,e,t),ts=a|e.baseLanes}function Qo(t){lt(Y2,ts,t),lt(Mp,Mp.current,t)}function pi(t){ts=Y2.current,K(Mp,t),K(Y2,t)}function Ya(t){var e=t.alternate;lt(kn,kn.current&Cp,t),lt(Ri,t,t),Eo===null&&(e===null||Mp.current!==null||e.memoizedState!==null)&&(Eo=t)}function yi(t){lt(kn,kn.current,t),lt(Ri,t,t),Eo===null&&(Eo=t)}function Ih(t){t.tag===22?(lt(kn,kn.current,t),lt(Ri,t,t),Eo===null&&(Eo=t)):Fi(t)}function Fi(t){lt(kn,kn.current,t),lt(Ri,Ri.current,t)}function Wn(t){K(Ri,t),Eo===t&&(Eo=null),K(kn,t)}function Cs(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||md(a)||Qy(a)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function It(){var t=vt;Do===null?Do=[t]:Do.push(t)}function Ct(){var t=vt;if(Do!==null&&(fr++,Do[fr]!==t)){var e=q(Wt);if(!Fx.has(e)&&(Fx.add(e),Do!==null)){for(var a="",u=0;u<=fr;u++){var c=Do[u],h=u===fr?t:c;for(c=u+1+". "+c;30>c.length;)c+=" ";c+=h+`
100
- `,a+=c}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
101
-
102
- Previous render Next render
103
- ------------------------------------------------------
104
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
105
- `,e,a)}}}function Zo(t){t==null||Bn(t)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",vt,typeof t)}function _f(){var t=q(Wt);Ix.has(t)||(Ix.add(t),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",t))}function bn(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
106
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
107
- 2. You might be breaking the Rules of Hooks
108
- 3. You might have more than one copy of React in the same app
109
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function K0(t,e){if(Zg)return!1;if(e===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",vt),!1;t.length!==e.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
110
-
111
- Previous: %s
112
- Incoming: %s`,vt,"["+e.join(", ")+"]","["+t.join(", ")+"]");for(var a=0;a<e.length&&a<t.length;a++)if(!Nl(t[a],e[a]))return!1;return!0}function F0(t,e,a,u,c,h){rr=h,Wt=e,Do=t!==null?t._debugHookTypes:null,fr=-1,Zg=t!==null&&t.type!==e.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(h=q(Wt),d4.has(h)||(d4.add(h),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",h===null?"An unknown Component":"<"+h+">"))),e.memoizedState=null,e.updateQueue=null,e.lanes=0,St.H=t!==null&&t.memoizedState!==null?m4:Do!==null?Wx:h4,qd=h=(e.mode&rl)!==Kt;var S=i4(a,u,c);if(qd=!1,zp&&(S=Nf(e,a,u,c)),h){le(!0);try{S=Nf(e,a,u,c)}finally{le(!1)}}return Rn(t,e),S}function Rn(t,e){e._debugHookTypes=Do,e.dependencies===null?cr!==null&&(e.dependencies={lanes:0,firstContext:null,_debugThenableState:cr}):e.dependencies._debugThenableState=cr,St.H=kg;var a=Ke!==null&&Ke.next!==null;if(rr=0,Do=vt=ia=Ke=Wt=null,fr=-1,t!==null&&(t.flags&65011712)!==(e.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),G2=!1,Qg=0,cr=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");t===null||oa||(t=t.dependencies,t!==null&&Lr(t)&&(oa=!0)),qg?(qg=!1,t=!0):t=!1,t&&(e=q(e)||"Unknown",$x.has(e)||d4.has(e)||($x.add(e),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Nf(t,e,a,u){Wt=t;var c=0;do{if(zp&&(cr=null),Qg=0,zp=!1,c>=O_)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(c+=1,Zg=!1,ia=Ke=null,t.updateQueue!=null){var h=t.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}fr=-1,St.H=Px,h=i4(e,a,u)}while(zp);return h}function jf(){var t=St.H,e=t.useState()[0];return e=typeof e.then=="function"?Vf(e):e,t=t.useState()[0],(Ke!==null?Ke.memoizedState:null)!==t&&(Wt.flags|=1024),e}function Os(){var t=X2!==0;return X2=0,t}function Hf(t,e,a){e.updateQueue=t.updateQueue,e.flags=(e.mode&ou)!==Kt?e.flags&-402655237:e.flags&-2053,t.lanes&=~a}function Mu(t){if(G2){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}G2=!1}rr=0,Do=ia=Ke=Wt=null,fr=-1,vt=null,zp=!1,Qg=X2=0,cr=null}function jn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ia===null?Wt.memoizedState=ia=t:ia=ia.next=t,ia}function _e(){if(Ke===null){var t=Wt.alternate;t=t!==null?t.memoizedState:null}else t=Ke.next;var e=ia===null?Wt.memoizedState:ia.next;if(e!==null)ia=e,Ke=t;else{if(t===null)throw Wt.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Ke=t,t={memoizedState:Ke.memoizedState,baseState:Ke.baseState,baseQueue:Ke.baseQueue,queue:Ke.queue,next:null},ia===null?Wt.memoizedState=ia=t:ia=ia.next=t}return ia}function Bf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Vf(t){var e=Qg;return Qg+=1,cr===null&&(cr=Kh()),t=Sl(cr,t,e),e=Wt,(ia===null?e.memoizedState:ia.next)===null&&(e=e.alternate,St.H=e!==null&&e.memoizedState!==null?m4:h4),t}function ko(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Vf(t);if(t.$$typeof===Mi)return Ce(t)}throw Error("An unsupported type was passed to use(): "+String(t))}function Tl(t){var e=null,a=Wt.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var u=Wt.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(e={data:u.data.map(function(c){return c.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=Bf(),Wt.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0||Zg)for(a=e.data[e.index]=Array(t),u=0;u<t;u++)a[u]=U3;else a.length!==t&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",a.length,t);return e.index++,a}function El(t,e){return typeof e=="function"?e(t):e}function Zr(t,e,a){var u=jn();if(a!==void 0){var c=a(e);if(qd){le(!0);try{a(e)}finally{le(!1)}}}else c=e;return u.memoizedState=u.baseState=c,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:c},u.queue=t,t=t.dispatch=C3.bind(null,Wt,t),[u.memoizedState,t]}function zs(t){var e=_e();return Cu(e,Ke,t)}function Cu(t,e,a){var u=t.queue;if(u===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");u.lastRenderedReducer=a;var c=t.baseQueue,h=u.pending;if(h!==null){if(c!==null){var S=c.next;c.next=h.next,h.next=S}e.baseQueue!==c&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),e.baseQueue=c=h,u.pending=null}if(h=t.baseState,c===null)t.memoizedState=h;else{e=c.next;var T=S=null,O=null,U=e,I=!1;do{var nt=U.lane&-536870913;if(nt!==U.lane?(fe&nt)===nt:(rr&nt)===nt){var X=U.revertLane;if(X===0)O!==null&&(O=O.next={lane:0,revertLane:0,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),nt===Hd&&(I=!0);else if((rr&X)===X){U=U.next,X===Hd&&(I=!0);continue}else nt={lane:0,revertLane:U.revertLane,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},O===null?(T=O=nt,S=h):O=O.next=nt,Wt.lanes|=X,kc|=X;nt=U.action,qd&&a(h,nt),h=U.hasEagerState?U.eagerState:a(h,nt)}else X={lane:nt,revertLane:U.revertLane,gesture:U.gesture,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},O===null?(T=O=X,S=h):O=O.next=X,Wt.lanes|=nt,kc|=nt;U=U.next}while(U!==null&&U!==e);if(O===null?S=h:O.next=T,!Nl(h,t.memoizedState)&&(oa=!0,I&&(a=Ep,a!==null)))throw a;t.memoizedState=h,t.baseState=S,t.baseQueue=O,u.lastRenderedState=h}return c===null&&(u.lanes=0),[t.memoizedState,u.dispatch]}function Rs(t){var e=_e(),a=e.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=t;var u=a.dispatch,c=a.pending,h=e.memoizedState;if(c!==null){a.pending=null;var S=c=c.next;do h=t(h,S.action),S=S.next;while(S!==c);Nl(h,e.memoizedState)||(oa=!0),e.memoizedState=h,e.baseQueue===null&&(e.baseState=h),a.lastRenderedState=h}return[h,u]}function kr(t,e,a){var u=Wt,c=jn();if(be){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var h=a();Op||h===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Op=!0)}else{if(h=e(),Op||(a=e(),Nl(h,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Op=!0)),Fe===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(fe&127)!==0||$0(u,e,h)}return c.memoizedState=h,a={value:h,getSnapshot:e},c.queue=a,_s(Ou.bind(null,u,a,t),[t]),u.flags|=2048,$i(xo|Bl,{destroy:void 0},I0.bind(null,u,a,h,e),null),h}function ws(t,e,a){var u=Wt,c=_e(),h=be;if(h){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=a()}else if(a=e(),!Op){var S=e();Nl(a,S)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Op=!0)}(S=!Nl((Ke||c).memoizedState,a))&&(c.memoizedState=a,oa=!0),c=c.queue;var T=Ou.bind(null,u,c,t);if(Gn(2048,Bl,T,[t]),c.getSnapshot!==e||S||ia!==null&&ia.memoizedState.tag&xo){if(u.flags|=2048,$i(xo|Bl,{destroy:void 0},I0.bind(null,u,c,a,e),null),Fe===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");h||(rr&127)!==0||$0(u,e,a)}return a}function $0(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=Wt.updateQueue,e===null?(e=Bf(),Wt.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function I0(t,e,a,u){e.value=a,e.getSnapshot=u,zu(e)&&W0(t)}function Ou(t,e,a){return a(function(){zu(e)&&(Qi(2,"updateSyncExternalStore()",t),W0(t))})}function zu(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!Nl(t,a)}catch{return!0}}function W0(t){var e=Aa(t,2);e!==null&&Ft(e,t,2)}function Wh(t){var e=jn();if(typeof t=="function"){var a=t;if(t=a(),qd){le(!0);try{a()}finally{le(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:El,lastRenderedState:t},e}function Ru(t){t=Wh(t);var e=t.queue,a=lm.bind(null,Wt,e);return e.dispatch=a,[t.memoizedState,a]}function Us(t){var e=jn();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=Zf.bind(null,Wt,!0,a),a.dispatch=e,[t,e]}function Lf(t,e){var a=_e();return Jr(a,Ke,t,e)}function Jr(t,e,a,u){return t.baseState=a,Cu(t,Ke,typeof u=="function"?u:El)}function Yf(t,e){var a=_e();return Ke!==null?Jr(a,Ke,t,e):(a.baseState=t,[t,a.queue.dispatch])}function gv(t,e,a,u,c){if(Pn(t))throw Error("Cannot update form state while rendering.");if(t=e.action,t!==null){var h={payload:c,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){h.listeners.push(S)}};St.T!==null?a(!0):h.isTransition=!1,u(h),a=e.pending,a===null?(h.next=e.pending=h,wu(e,h)):(h.next=a.next,e.pending=a.next=h)}}function wu(t,e){var a=e.action,u=e.payload,c=t.state;if(e.isTransition){var h=St.T,S={};S._updatedFibers=new Set,St.T=S;try{var T=a(c,u),O=St.S;O!==null&&O(S,T),P0(t,e,T)}catch(U){qf(t,e,U)}finally{h!==null&&S.types!==null&&(h.types!==null&&h.types!==S.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),h.types=S.types),St.T=h,h===null&&S._updatedFibers&&(t=S._updatedFibers.size,S._updatedFibers.clear(),10<t&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{S=a(c,u),P0(t,e,S)}catch(U){qf(t,e,U)}}function P0(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(St.asyncTransitions++,a.then(Ns,Ns),a.then(function(u){Jo(t,e,u)},function(u){return qf(t,e,u)}),e.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Jo(t,e,a)}function Jo(t,e,a){e.status="fulfilled",e.value=a,Ph(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,wu(t,a)))}function qf(t,e,a){var u=t.pending;if(t.pending=null,u!==null){u=u.next;do e.status="rejected",e.reason=a,Ph(e),e=e.next;while(e!==u)}t.action=null}function Ph(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Ko(t,e){return e}function xl(t,e){if(be){var a=Fe.formState;if(a!==null){t:{var u=Wt;if(be){if(cn){e:{for(var c=cn,h=Ao;c.nodeType!==8;){if(!h){c=null;break e}if(c=Rl(c.nextSibling),c===null){c=null;break e}}h=c.data,c=h===B4||h===VD?c:null}if(c){cn=Rl(c.nextSibling),u=c.data===B4;break t}}Xl(u)}u=!1}u&&(e=a[0])}}return a=jn(),a.memoizedState=a.baseState=e,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:e},a.queue=u,a=lm.bind(null,Wt,u),u.dispatch=a,u=Wh(!1),h=Zf.bind(null,Wt,!1,u.queue),u=jn(),c={state:e,dispatch:null,action:t,pending:null},u.queue=c,a=gv.bind(null,Wt,c,h,a),c.dispatch=a,u.memoizedState=t,[e,a,!1]}function Uu(t){var e=_e();return tm(e,Ke,t)}function tm(t,e,a){if(e=Cu(t,e,Ko)[0],t=zs(El)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var u=Vf(e)}catch(S){throw S===xp?V2:S}else u=e;e=_e();var c=e.queue,h=c.dispatch;return a!==e.memoizedState&&(Wt.flags|=2048,$i(xo|Bl,{destroy:void 0},ty.bind(null,c,a),null)),[u,h,t]}function ty(t,e){t.action=e}function _u(t){var e=_e(),a=Ke;if(a!==null)return tm(e,a,t);_e(),e=e.memoizedState,a=_e();var u=a.queue.dispatch;return a.memoizedState=t,[e,u,!1]}function $i(t,e,a,u){return t={tag:t,create:a,deps:u,inst:e,next:null},e=Wt.updateQueue,e===null&&(e=Bf(),Wt.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(u=a.next,a.next=t,t.next=u,e.lastEffect=t),t}function em(t){var e=jn();return t={current:t},e.memoizedState=t}function Nu(t,e,a,u){var c=jn();Wt.flags|=t,c.memoizedState=$i(xo|e,{destroy:void 0},a,u===void 0?null:u)}function Gn(t,e,a,u){var c=_e();u=u===void 0?null:u;var h=c.memoizedState.inst;Ke!==null&&u!==null&&K0(u,Ke.memoizedState.deps)?c.memoizedState=$i(e,h,a,u):(Wt.flags|=t,c.memoizedState=$i(xo|e,h,a,u))}function _s(t,e){(Wt.mode&ou)!==Kt?Nu(276826112,Bl,t,e):Nu(8390656,Bl,t,e)}function vv(t){Wt.flags|=4;var e=Wt.updateQueue;if(e===null)e=Bf(),Wt.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function Gf(t){var e=jn(),a={impl:t};return e.memoizedState=a,function(){if((xe&Sa)!==Oa)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Kr(t){var e=_e().memoizedState;return vv({ref:e,nextImpl:t}),function(){if((xe&Sa)!==Oa)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return e.impl.apply(void 0,arguments)}}function qa(t,e){var a=4194308;return(Wt.mode&ou)!==Kt&&(a|=134217728),Nu(a,wi,t,e)}function Dl(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return e.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(e).join(", ")+"}"),t=t(),e.current=t,function(){e.current=null}}function Ii(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null;var u=4194308;(Wt.mode&ou)!==Kt&&(u|=134217728),Nu(u,wi,Dl.bind(null,e,t),a)}function Fr(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null,Gn(4,wi,Dl.bind(null,e,t),a)}function nm(t,e){return jn().memoizedState=[t,e===void 0?null:e],t}function gi(t,e){var a=_e();e=e===void 0?null:e;var u=a.memoizedState;return e!==null&&K0(e,u[1])?u[0]:(a.memoizedState=[t,e],t)}function Ga(t,e){var a=jn();e=e===void 0?null:e;var u=t();if(qd){le(!0);try{t()}finally{le(!1)}}return a.memoizedState=[u,e],u}function on(t,e){var a=_e();e=e===void 0?null:e;var u=a.memoizedState;if(e!==null&&K0(e,u[1]))return u[0];if(u=t(),qd){le(!0);try{t()}finally{le(!1)}}return a.memoizedState=[u,e],u}function $r(t,e){var a=jn();return Ne(a,t,e)}function Wi(t,e){var a=_e();return wn(a,Ke.memoizedState,t,e)}function ae(t,e){var a=_e();return Ke===null?Ne(a,t,e):wn(a,Ke.memoizedState,t,e)}function Ne(t,e,a){return a===void 0||(rr&1073741824)!==0&&(fe&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=lc(),Wt.lanes|=t,kc|=t,a)}function wn(t,e,a,u){return Nl(a,e)?a:Mp.current!==null?(t=Ne(t,a,u),Nl(t,e)||(oa=!0),t):(rr&42)===0||(rr&1073741824)!==0&&(fe&261930)===0?(oa=!0,t.memoizedState=a):(t=lc(),Wt.lanes|=t,kc|=t,e)}function Ns(){St.asyncTransitions--}function js(t,e,a,u,c){var h=ze.p;ze.p=h!==0&&h<va?h:va;var S=St.T,T={};T._updatedFibers=new Set,St.T=T,Zf(t,!1,e,a);try{var O=c(),U=St.S;if(U!==null&&U(T,O),O!==null&&typeof O=="object"&&typeof O.then=="function"){St.asyncTransitions++,O.then(Ns,Ns);var I=Jh(O,u);Hs(t,e,I,Ea(t))}else Hs(t,e,u,Ea(t))}catch(nt){Hs(t,e,{then:function(){},status:"rejected",reason:nt},Ea(t))}finally{ze.p=h,S!==null&&T.types!==null&&(S.types!==null&&S.types!==T.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),S.types=T.types),St.T=S,S===null&&T._updatedFibers&&(t=T._updatedFibers.size,T._updatedFibers.clear(),10<t&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Fo(t,e,a,u){if(t.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var c=Xf(t).queue;pv(t),js(t,c,e,Wd,a===null?M:function(){return Ir(t),a(u)})}function Xf(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Wd,baseState:Wd,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:El,lastRenderedState:Wd},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:El,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Ir(t){St.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var e=Xf(t);e.next===null&&(e=t.alternate.memoizedState),Hs(t,e.next.queue,{},Ea(t))}function ju(){var t=Wh(!1);return t=js.bind(null,Wt,t.queue,!0,!1),jn().memoizedState=t,[!1,t]}function bv(){var t=zs(El)[0],e=_e().memoizedState;return[typeof t=="boolean"?t:Vf(t),e]}function hn(){var t=Rs(El)[0],e=_e().memoizedState;return[typeof t=="boolean"?t:Vf(t),e]}function $o(){return Ce(u1)}function Qf(){var t=jn(),e=Fe.identifierPrefix;if(be){var a=lr,u=ar;a=(u&~(1<<32-ga(u)-1)).toString(32)+a,e="_"+e+"R_"+a,a=X2++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=C_++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e}function am(){return jn().memoizedState=Sv.bind(null,Wt)}function Sv(t,e){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var u=Ea(a),c=qn(u),h=Ji(a,c,u);h!==null&&(Qi(u,"refresh()",t),Ft(h,a,u),Kl(h,a,u)),t=Zh(),e!=null&&h!==null&&console.error("The seed argument is not enabled outside experimental channels."),c.payload={cache:t};return}a=a.return}}function C3(t,e,a){var u=arguments;typeof u[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),u=Ea(t);var c={lane:u,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};Pn(t)?Sn(e,c):(c=gs(t,e,c,u),c!==null&&(Qi(u,"dispatch()",t),Ft(c,t,u),kf(c,e,u)))}function lm(t,e,a){var u=arguments;typeof u[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),u=Ea(t),Hs(t,e,a,u)&&Qi(u,"setState()",t)}function Hs(t,e,a,u){var c={lane:u,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Pn(t))Sn(e,c);else{var h=t.alternate;if(t.lanes===0&&(h===null||h.lanes===0)&&(h=e.lastRenderedReducer,h!==null)){var S=St.H;St.H=su;try{var T=e.lastRenderedState,O=h(T,a);if(c.hasEagerState=!0,c.eagerState=O,Nl(O,T))return Hr(t,e,c,0),Fe===null&&Lh(),!1}catch{}finally{St.H=S}}if(a=gs(t,e,c,u),a!==null)return Ft(a,t,u),kf(a,e,u),!0}return!1}function Zf(t,e,a,u){if(St.T===null&&Hd===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),u={lane:2,revertLane:qy(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Pn(t)){if(e)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else e=gs(t,a,u,2),e!==null&&(Qi(2,"setOptimistic()",t),Ft(e,t,2))}function Pn(t){var e=t.alternate;return t===Wt||e!==null&&e===Wt}function Sn(t,e){zp=G2=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function kf(t,e,a){if((a&4194048)!==0){var u=e.lanes;u&=t.pendingLanes,a|=u,e.lanes=a,tl(t,a)}}function Bs(t){if(t!==null&&typeof t!="function"){var e=String(t);cD.has(e)||(cD.add(e),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",t))}}function Wr(t,e,a,u){var c=t.memoizedState,h=a(u,c);if(t.mode&rl){le(!0);try{h=a(u,c)}finally{le(!1)}}h===void 0&&(e=j(e)||"Component",oD.has(e)||(oD.add(e),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",e))),c=h==null?c:se({},c,h),t.memoizedState=c,t.lanes===0&&(t.updateQueue.baseState=c)}function im(t,e,a,u,c,h,S){var T=t.stateNode;if(typeof T.shouldComponentUpdate=="function"){if(a=T.shouldComponentUpdate(u,h,S),t.mode&rl){le(!0);try{a=T.shouldComponentUpdate(u,h,S)}finally{le(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",j(e)||"Component"),a}return e.prototype&&e.prototype.isPureReactComponent?!jr(a,u)||!jr(c,h):!0}function Pi(t,e,a,u){var c=e.state;typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,u),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,u),e.state!==c&&(t=q(t)||"Component",eD.has(t)||(eD.add(t),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t)),p4.enqueueReplaceState(e,e.state,null))}function to(t,e){var a=e;if("ref"in e){a={};for(var u in e)u!=="ref"&&(a[u]=e[u])}if(t=t.defaultProps){a===e&&(a=se({},a));for(var c in t)a[c]===void 0&&(a[c]=t[c])}return a}function om(t){k3(t),console.warn(`%s
113
-
114
- %s
115
- `,Rp?"An error occurred in the <"+Rp+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
116
- Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function um(t){var e=Rp?"The above error occurred in the <"+Rp+"> component.":"The above error occurred in one of your React components.",a="React will try to recreate this component tree from scratch using the error boundary you provided, "+((y4||"Anonymous")+".");if(typeof t=="object"&&t!==null&&typeof t.environmentName=="string"){var u=t.environmentName;t=[`%o
117
-
118
- %s
119
-
120
- %s
121
- `,t,e,a].slice(0),typeof t[0]=="string"?t.splice(0,1,kD+" "+t[0],JD,mb+u+mb,KD):t.splice(0,0,kD,JD,mb+u+mb,KD),t.unshift(console),u=K_.apply(console.error,t),u()}else console.error(`%o
122
-
123
- %s
124
-
125
- %s
126
- `,t,e,a)}function ey(t){k3(t)}function Jf(t,e){try{Rp=e.source?q(e.source):null,y4=null;var a=e.value;if(St.actQueue!==null)St.thrownErrors.push(a);else{var u=t.onUncaughtError;u(a,{componentStack:e.stack})}}catch(c){setTimeout(function(){throw c})}}function ny(t,e,a){try{Rp=a.source?q(a.source):null,y4=q(e);var u=t.onCaughtError;u(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function sm(t,e,a){return a=qn(a),a.tag=r4,a.payload={element:null},a.callback=function(){Ut(e.source,Jf,t,e)},a}function rm(t){return t=qn(t),t.tag=r4,t}function cm(t,e,a,u){var c=a.type.getDerivedStateFromError;if(typeof c=="function"){var h=u.value;t.payload=function(){return c(h)},t.callback=function(){vs(a),Ut(u.source,ny,e,a,u)}}var S=a.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(t.callback=function(){vs(a),Ut(u.source,ny,e,a,u),typeof c!="function"&&(Kc===null?Kc=new Set([this]):Kc.add(this)),E_(this,u),typeof c=="function"||(a.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",q(a)||"Unknown")})}function ay(t,e,a,u,c){if(a.flags|=32768,mo&&rc(t,c),u!==null&&typeof u=="object"&&typeof u.then=="function"){if(e=a.alternate,e!==null&&di(e,a,c,!0),be&&(Iu=!0),a=Ri.current,a!==null){switch(a.tag){case 31:case 13:return Eo===null?oc():a.alternate===null&&Tn===hr&&(Tn=k2),a.flags&=-257,a.flags|=65536,a.lanes=c,u===L2?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([u]):e.add(u),Rm(t,u,c)),!1;case 22:return a.flags|=65536,u===L2?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([u])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([u]):a.add(u)),Rm(t,u,c)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return Rm(t,u,c),oc(),!1}if(be)return Iu=!0,e=Ri.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=c,u!==W3&&Mf(Ha(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:u}),a))):(u!==W3&&Mf(Ha(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:u}),a)),t=t.current.alternate,t.flags|=65536,c&=-c,t.lanes|=c,u=Ha(u,a),c=sm(t.stateNode,u,c),Uf(t,c),Tn!==Qc&&(Tn=Gd)),!1;var h=Ha(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:u}),a);if(Wg===null?Wg=[h]:Wg.push(h),Tn!==Qc&&(Tn=Gd),e===null)return!0;u=Ha(u,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=c&-c,a.lanes|=t,t=sm(a.stateNode,u,t),Uf(a,t),!1;case 1:if(e=a.type,h=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Kc===null||!Kc.has(h))))return a.flags|=65536,c&=-c,a.lanes|=c,c=rm(c),cm(c,t,a,u),Uf(a,c),!1}a=a.return}while(a!==null);return!1}function ta(t,e,a,u){e.child=t===null?Qx(e,null,a,u):Yd(e,t.child,a,u)}function Av(t,e,a,u,c){a=a.render;var h=e.ref;if("ref"in u){var S={};for(var T in u)T!=="ref"&&(S[T]=u[T])}else S=u;return xu(e),u=F0(t,e,a,S,h,c),T=Os(),t!==null&&!oa?(Hf(t,e,c),vi(t,e,c)):(be&&T&&Gh(e),e.flags|=1,ta(t,e,u,c),e.child)}function ly(t,e,a,u,c){if(t===null){var h=a.type;return typeof h=="function"&&!H0(h)&&h.defaultProps===void 0&&a.compare===null?(a=bu(h),e.tag=15,e.type=a,Pr(e,h),iy(t,e,a,u,c)):(t=bs(a.type,null,u,e,e.mode,c),t.ref=e.ref,t.return=e,e.child=t)}if(h=t.child,!pm(t,c)){var S=h.memoizedProps;if(a=a.compare,a=a!==null?a:jr,a(S,u)&&t.ref===e.ref)return vi(t,e,c)}return e.flags|=1,t=Xi(h,u),t.ref=e.ref,t.return=e,e.child=t}function iy(t,e,a,u,c){if(t!==null){var h=t.memoizedProps;if(jr(h,u)&&t.ref===e.ref&&e.type===t.type)if(oa=!1,e.pendingProps=u=h,pm(t,c))(t.flags&131072)!==0&&(oa=!0);else return e.lanes=t.lanes,vi(t,e,c)}return ry(t,e,a,u,c)}function oy(t,e,a,u){var c=u.children,h=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:Cg,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((e.flags&128)!==0){if(h=h!==null?h.baseLanes|a:a,t!==null){for(u=e.child=t.child,c=0;u!==null;)c=c|u.lanes|u.childLanes,u=u.sibling;u=c&~h}else u=0,e.child=null;return uy(t,e,h,a,u)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&qr(e,h!==null?h.cachePool:null),h!==null?$h(e,h):Qo(e),Ih(e);else return u=e.lanes=536870912,uy(t,e,h!==null?h.baseLanes|a:a,a,u)}else h!==null?(qr(e,h.cachePool),$h(e,h),Fi(e),e.memoizedState=null):(t!==null&&qr(e,null),Qo(e),Fi(e));return ta(t,e,c,a),e.child}function Vs(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:Cg,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function uy(t,e,a,u,c){var h=Xo();return h=h===null?null:{parent:aa._currentValue,pool:h},e.memoizedState={baseLanes:a,cachePool:h},t!==null&&qr(e,null),Qo(e),Ih(e),t!==null&&di(t,e,u,!0),e.childLanes=c,null}function Kf(t,e){var a=e.hidden;return a!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
127
- - <Activity %s>
128
- + <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),e=$f({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function sy(t,e,a){return Yd(e,t.child,null,a),t=Kf(e,e.pendingProps),t.flags|=2,Wn(e),e.memoizedState=null,t}function Tv(t,e,a){var u=e.pendingProps,c=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(be){if(u.mode==="hidden")return t=Kf(e,u),e.lanes=536870912,Vs(null,t);if(yi(e),(t=cn)?(a=He(t,Ao),a=a!==null&&a.data===Kd?a:null,a!==null&&(u={dehydrated:a,treeContext:dv(),retryLane:536870912,hydrationErrors:null},e.memoizedState=u,u=V0(a),u.return=e,e.child=u,Ia=e,cn=null)):a=null,a===null)throw Ta(e,t),Xl(e);return e.lanes=536870912,null}return Kf(e,u)}var h=t.memoizedState;if(h!==null){var S=h.dehydrated;if(yi(e),c)if(e.flags&256)e.flags&=-257,e=sy(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(mv(),(a&536870912)!==0&&ic(e),oa||di(t,e,a,!1),c=(a&t.childLanes)!==0,oa||c){if(u=Fe,u!==null&&(S=Ua(u,a),S!==0&&S!==h.retryLane))throw h.retryLane=S,Aa(t,S),Ft(u,t,S),g4;oc(),e=sy(t,e,a)}else t=h.treeContext,cn=Rl(S.nextSibling),Ia=e,be=!0,Vc=null,Iu=!1,zi=null,Ao=!1,t!==null&&hv(e,t),e=Kf(e,u),e.flags|=4096;return e}return h=t.child,u={mode:u.mode,children:u.children},(a&536870912)!==0&&(a&t.lanes)!==0&&ic(e),t=Xi(h,u),t.ref=e.ref,e.child=t,t.return=e,t}function Ff(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(t===null||t.ref!==a)&&(e.flags|=4194816)}}function ry(t,e,a,u,c){if(a.prototype&&typeof a.prototype.render=="function"){var h=j(a)||"Unknown";fD[h]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",h,h),fD[h]=!0)}return e.mode&rl&&uu.recordLegacyContextWarning(e,null),t===null&&(Pr(e,e.type),a.contextTypes&&(h=j(a)||"Unknown",hD[h]||(hD[h]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",h)))),xu(e),a=F0(t,e,a,u,void 0,c),u=Os(),t!==null&&!oa?(Hf(t,e,c),vi(t,e,c)):(be&&u&&Gh(e),e.flags|=1,ta(t,e,a,c),e.child)}function cy(t,e,a,u,c,h){return xu(e),fr=-1,Zg=t!==null&&t.type!==e.type,e.updateQueue=null,a=Nf(e,u,a,c),Rn(t,e),u=Os(),t!==null&&!oa?(Hf(t,e,h),vi(t,e,h)):(be&&u&&Gh(e),e.flags|=1,ta(t,e,a,h),e.child)}function Ls(t,e,a,u,c){switch(g(e)){case!1:var h=e.stateNode,S=new e.type(e.memoizedProps,h.context).state;h.updater.enqueueSetState(h,S,null);break;case!0:e.flags|=128,e.flags|=65536,h=Error("Simulated error coming from DevTools");var T=c&-c;if(e.lanes|=T,S=Fe,S===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");T=rm(T),cm(T,S,e,Ha(h,e)),Uf(e,T)}if(xu(e),e.stateNode===null){if(S=Bc,h=a.contextType,"contextType"in a&&h!==null&&(h===void 0||h.$$typeof!==Mi)&&!rD.has(a)&&(rD.add(a),T=h===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof h!="object"?" However, it is set to a "+typeof h+".":h.$$typeof===Wm?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(h).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",j(a)||"Component",T)),typeof h=="object"&&h!==null&&(S=Ce(h)),h=new a(u,S),e.mode&rl){le(!0);try{h=new a(u,S)}finally{le(!1)}}if(S=e.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=p4,e.stateNode=h,h._reactInternals=e,h._reactInternalInstance=tD,typeof a.getDerivedStateFromProps=="function"&&S===null&&(S=j(a)||"Component",nD.has(S)||(nD.add(S),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",S,h.state===null?"null":"undefined",S))),typeof a.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"){var O=T=S=null;if(typeof h.componentWillMount=="function"&&h.componentWillMount.__suppressDeprecationWarning!==!0?S="componentWillMount":typeof h.UNSAFE_componentWillMount=="function"&&(S="UNSAFE_componentWillMount"),typeof h.componentWillReceiveProps=="function"&&h.componentWillReceiveProps.__suppressDeprecationWarning!==!0?T="componentWillReceiveProps":typeof h.UNSAFE_componentWillReceiveProps=="function"&&(T="UNSAFE_componentWillReceiveProps"),typeof h.componentWillUpdate=="function"&&h.componentWillUpdate.__suppressDeprecationWarning!==!0?O="componentWillUpdate":typeof h.UNSAFE_componentWillUpdate=="function"&&(O="UNSAFE_componentWillUpdate"),S!==null||T!==null||O!==null){h=j(a)||"Component";var U=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";lD.has(h)||(lD.add(h),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
129
-
130
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
131
-
132
- The above lifecycles should be removed. Learn more about this warning here:
133
- https://react.dev/link/unsafe-component-lifecycles`,h,U,S!==null?`
134
- `+S:"",T!==null?`
135
- `+T:"",O!==null?`
136
- `+O:""))}}h=e.stateNode,S=j(a)||"Component",h.render||(a.prototype&&typeof a.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",S):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",S)),!h.getInitialState||h.getInitialState.isReactClassApproved||h.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",S),h.getDefaultProps&&!h.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",S),h.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",S),a.childContextTypes&&!sD.has(a)&&(sD.add(a),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",S)),a.contextTypes&&!uD.has(a)&&(uD.add(a),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",S)),typeof h.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",S),a.prototype&&a.prototype.isPureReactComponent&&typeof h.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",j(a)||"A pure component"),typeof h.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",S),typeof h.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",S),typeof h.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",S),typeof h.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",S),T=h.props!==u,h.props!==void 0&&T&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",S),h.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",S,S),typeof h.getSnapshotBeforeUpdate!="function"||typeof h.componentDidUpdate=="function"||aD.has(a)||(aD.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",j(a))),typeof h.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof h.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof a.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",S),(T=h.state)&&(typeof T!="object"||Bn(T))&&console.error("%s.state: must be set to an object or null",S),typeof h.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",S),h=e.stateNode,h.props=u,h.state=e.memoizedState,h.refs={},ge(e),S=a.contextType,h.context=typeof S=="object"&&S!==null?Ce(S):Bc,h.state===u&&(S=j(a)||"Component",iD.has(S)||(iD.add(S),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",S))),e.mode&rl&&uu.recordLegacyContextWarning(e,h),uu.recordUnsafeLifecycleWarnings(e,h),h.state=e.memoizedState,S=a.getDerivedStateFromProps,typeof S=="function"&&(Wr(e,a,S,u),h.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(S=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),S!==h.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",q(e)||"Component"),p4.enqueueReplaceState(h,h.state,null)),Ki(e,u,h,c),Xr(),h.state=e.memoizedState),typeof h.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ou)!==Kt&&(e.flags|=134217728),h=!0}else if(t===null){h=e.stateNode;var I=e.memoizedProps;T=to(a,I),h.props=T;var nt=h.context;O=a.contextType,S=Bc,typeof O=="object"&&O!==null&&(S=Ce(O)),U=a.getDerivedStateFromProps,O=typeof U=="function"||typeof h.getSnapshotBeforeUpdate=="function",I=e.pendingProps!==I,O||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(I||nt!==S)&&Pi(e,h,u,S),Xc=!1;var X=e.memoizedState;h.state=X,Ki(e,u,h,c),Xr(),nt=e.memoizedState,I||X!==nt||Xc?(typeof U=="function"&&(Wr(e,a,U,u),nt=e.memoizedState),(T=Xc||im(e,a,T,u,X,nt,S))?(O||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ou)!==Kt&&(e.flags|=134217728)):(typeof h.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ou)!==Kt&&(e.flags|=134217728),e.memoizedProps=u,e.memoizedState=nt),h.props=u,h.state=nt,h.context=S,h=T):(typeof h.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&ou)!==Kt&&(e.flags|=134217728),h=!1)}else{h=e.stateNode,ki(t,e),S=e.memoizedProps,O=to(a,S),h.props=O,U=e.pendingProps,X=h.context,nt=a.contextType,T=Bc,typeof nt=="object"&&nt!==null&&(T=Ce(nt)),I=a.getDerivedStateFromProps,(nt=typeof I=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(S!==U||X!==T)&&Pi(e,h,u,T),Xc=!1,X=e.memoizedState,h.state=X,Ki(e,u,h,c),Xr();var gt=e.memoizedState;S!==U||X!==gt||Xc||t!==null&&t.dependencies!==null&&Lr(t.dependencies)?(typeof I=="function"&&(Wr(e,a,I,u),gt=e.memoizedState),(O=Xc||im(e,a,O,u,X,gt,T)||t!==null&&t.dependencies!==null&&Lr(t.dependencies))?(nt||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(u,gt,T),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(u,gt,T)),typeof h.componentDidUpdate=="function"&&(e.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof h.componentDidUpdate!="function"||S===t.memoizedProps&&X===t.memoizedState||(e.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||S===t.memoizedProps&&X===t.memoizedState||(e.flags|=1024),e.memoizedProps=u,e.memoizedState=gt),h.props=u,h.state=gt,h.context=T,h=O):(typeof h.componentDidUpdate!="function"||S===t.memoizedProps&&X===t.memoizedState||(e.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||S===t.memoizedProps&&X===t.memoizedState||(e.flags|=1024),h=!1)}if(T=h,Ff(t,e),S=(e.flags&128)!==0,T||S){if(T=e.stateNode,Ie(e),S&&typeof a.getDerivedStateFromError!="function")a=null,jl=-1;else if(a=Rx(T),e.mode&rl){le(!0);try{Rx(T)}finally{le(!1)}}e.flags|=1,t!==null&&S?(e.child=Yd(e,t.child,null,c),e.child=Yd(e,null,a,c)):ta(t,e,a,c),e.memoizedState=T.state,t=e.child}else t=vi(t,e,c);return c=e.stateNode,h&&c.props!==u&&(wp||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",q(e)||"a component"),wp=!0),t}function fy(t,e,a,u){return Tu(),e.flags|=256,ta(t,e,a,u),e.child}function Pr(t,e){e&&e.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
137
- %s.childContextTypes = ...`,e.displayName||e.name||"Component"),typeof e.getDerivedStateFromProps=="function"&&(t=j(e)||"Unknown",mD[t]||(console.error("%s: Function components do not support getDerivedStateFromProps.",t),mD[t]=!0)),typeof e.contextType=="object"&&e.contextType!==null&&(e=j(e)||"Unknown",dD[e]||(console.error("%s: Function components do not support contextType.",e),dD[e]=!0))}function tc(t){return{baseLanes:t,cachePool:Q0()}}function fm(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=ni),t}function dm(t,e,a){var u,c=e.pendingProps;p(e)&&(e.flags|=128);var h=!1,S=(e.flags&128)!==0;if((u=S)||(u=t!==null&&t.memoizedState===null?!1:(kn.current&Xg)!==0),u&&(h=!0,e.flags&=-129),u=(e.flags&32)!==0,e.flags&=-33,t===null){if(be){if(h?Ya(e):Fi(e),(t=cn)?(a=He(t,Ao),a=a!==null&&a.data!==Kd?a:null,a!==null&&(u={dehydrated:a,treeContext:dv(),retryLane:536870912,hydrationErrors:null},e.memoizedState=u,u=V0(a),u.return=e,e.child=u,Ia=e,cn=null)):a=null,a===null)throw Ta(e,t),Xl(e);return Qy(a)?e.lanes=32:e.lanes=536870912,null}var T=c.children;if(c=c.fallback,h){Fi(e);var O=e.mode;return T=$f({mode:"hidden",children:T},O),c=Ss(c,O,a,null),T.return=e,c.return=e,T.sibling=c,e.child=T,c=e.child,c.memoizedState=tc(a),c.childLanes=fm(t,u,a),e.memoizedState=v4,Vs(null,c)}return Ya(e),dy(e,T)}var U=t.memoizedState;if(U!==null){var I=U.dehydrated;if(I!==null){if(S)e.flags&256?(Ya(e),e.flags&=-257,e=hm(t,e,a)):e.memoizedState!==null?(Fi(e),e.child=t.child,e.flags|=128,e=null):(Fi(e),T=c.fallback,O=e.mode,c=$f({mode:"visible",children:c.children},O),T=Ss(T,O,a,null),T.flags|=2,c.return=e,T.return=e,c.sibling=T,e.child=c,Yd(e,t.child,null,a),c=e.child,c.memoizedState=tc(a),c.childLanes=fm(t,u,a),e.memoizedState=v4,e=Vs(null,c));else if(Ya(e),mv(),(a&536870912)!==0&&ic(e),Qy(I)){if(u=I.nextSibling&&I.nextSibling.dataset,u){T=u.dgst;var nt=u.msg;O=u.stck;var X=u.cstck}h=nt,u=T,c=O,I=X,T=h,O=I,T=Error(T||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),T.stack=c||"",T.digest=u,u=O===void 0?null:O,c={value:T,source:null,stack:u},typeof u=="string"&&I3.set(T,c),Mf(c),e=hm(t,e,a)}else if(oa||di(t,e,a,!1),u=(a&t.childLanes)!==0,oa||u){if(u=Fe,u!==null&&(c=Ua(u,a),c!==0&&c!==U.retryLane))throw U.retryLane=c,Aa(t,c),Ft(u,t,c),g4;md(I)||oc(),e=hm(t,e,a)}else md(I)?(e.flags|=192,e.child=t.child,e=null):(t=U.treeContext,cn=Rl(I.nextSibling),Ia=e,be=!0,Vc=null,Iu=!1,zi=null,Ao=!1,t!==null&&hv(e,t),e=dy(e,c.children),e.flags|=4096);return e}}return h?(Fi(e),T=c.fallback,O=e.mode,X=t.child,I=X.sibling,c=Xi(X,{mode:"hidden",children:c.children}),c.subtreeFlags=X.subtreeFlags&65011712,I!==null?T=Xi(I,T):(T=Ss(T,O,a,null),T.flags|=2),T.return=e,c.return=e,c.sibling=T,e.child=c,Vs(null,c),c=e.child,T=t.child.memoizedState,T===null?T=tc(a):(O=T.cachePool,O!==null?(X=aa._currentValue,O=O.parent!==X?{parent:X,pool:X}:O):O=Q0(),T={baseLanes:T.baseLanes|a,cachePool:O}),c.memoizedState=T,c.childLanes=fm(t,u,a),e.memoizedState=v4,Vs(t.child,c)):(U!==null&&(a&62914560)===a&&(a&t.lanes)!==0&&ic(e),Ya(e),a=t.child,t=a.sibling,a=Xi(a,{mode:"visible",children:c.children}),a.return=e,a.sibling=null,t!==null&&(u=e.deletions,u===null?(e.deletions=[t],e.flags|=16):u.push(t)),e.child=a,e.memoizedState=null,a)}function dy(t,e){return e=$f({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function $f(t,e){return t=D(22,t,null,e),t.lanes=0,t}function hm(t,e,a){return Yd(e,t.child,null,a),t=dy(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function hy(t,e,a){t.lanes|=e;var u=t.alternate;u!==null&&(u.lanes|=e),Qh(t.return,e,a)}function mm(t,e,a,u,c,h){var S=t.memoizedState;S===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:u,tail:a,tailMode:c,treeForkCount:h}:(S.isBackwards=e,S.rendering=null,S.renderingStartTime=0,S.last=u,S.tail=a,S.tailMode=c,S.treeForkCount=h)}function my(t,e,a){var u=e.pendingProps,c=u.revealOrder,h=u.tail,S=u.children,T=kn.current;if((u=(T&Xg)!==0)?(T=T&Cp|Xg,e.flags|=128):T&=Cp,lt(kn,T,e),T=c??"null",c!=="forwards"&&c!=="unstable_legacy-backwards"&&c!=="together"&&c!=="independent"&&!pD[T])if(pD[T]=!0,c==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(c==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof c=="string")switch(c.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',c,c.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',c,c.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',c)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',c);T=h??"null",Z2[T]||(h==null?(c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&(Z2[T]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):h!=="visible"&&h!=="collapsed"&&h!=="hidden"?(Z2[T]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',h)):c!=="forwards"&&c!=="backwards"&&c!=="unstable_legacy-backwards"&&(Z2[T]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',h)));t:if((c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&S!==void 0&&S!==null&&S!==!1)if(Bn(S)){for(T=0;T<S.length;T++)if(!Ze(S[T],T))break t}else if(T=rt(S),typeof T=="function"){if(T=T.call(S))for(var O=T.next(),U=0;!O.done;O=T.next()){if(!Ze(O.value,U))break t;U++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',c);if(ta(t,e,S,a),be?(Au(),S=Og):S=0,!u&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&hy(t,a,e);else if(t.tag===19)hy(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(c){case"forwards":for(a=e.child,c=null;a!==null;)t=a.alternate,t!==null&&Cs(t)===null&&(c=a),a=a.sibling;a=c,a===null?(c=e.child,e.child=null):(c=a.sibling,a.sibling=null),mm(e,!1,c,a,h,S);break;case"backwards":case"unstable_legacy-backwards":for(a=null,c=e.child,e.child=null;c!==null;){if(t=c.alternate,t!==null&&Cs(t)===null){e.child=c;break}t=c.sibling,c.sibling=a,a=c,c=t}mm(e,!0,a,null,h,S);break;case"together":mm(e,!1,null,null,void 0,S);break;default:e.memoizedState=null}return e.child}function vi(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),jl=-1,kc|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(di(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error("Resuming work not yet implemented.");if(e.child!==null){for(t=e.child,a=Xi(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=Xi(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function pm(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Lr(t)))}function Ev(t,e,a){switch(e.tag){case 3:ct(e,e.stateNode.containerInfo),Ql(e,aa,t.memoizedState.cache),Tu();break;case 27:case 5:J(e);break;case 4:ct(e,e.stateNode.containerInfo);break;case 10:Ql(e,e.type,e.memoizedProps.value);break;case 12:(a&e.childLanes)!==0&&(e.flags|=4),e.flags|=2048;var u=e.stateNode;u.effectDuration=-0,u.passiveEffectDuration=-0;break;case 31:if(e.memoizedState!==null)return e.flags|=128,yi(e),null;break;case 13:if(u=e.memoizedState,u!==null)return u.dehydrated!==null?(Ya(e),e.flags|=128,null):(a&e.child.childLanes)!==0?dm(t,e,a):(Ya(e),t=vi(t,e,a),t!==null?t.sibling:null);Ya(e);break;case 19:var c=(t.flags&128)!==0;if(u=(a&e.childLanes)!==0,u||(di(t,e,a,!1),u=(a&e.childLanes)!==0),c){if(u)return my(t,e,a);e.flags|=128}if(c=e.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),lt(kn,kn.current,e),u)break;return null;case 22:return e.lanes=0,oy(t,e,a,e.pendingProps);case 24:Ql(e,aa,t.memoizedState.cache)}return vi(t,e,a)}function If(t,e,a){if(e._debugNeedsRemount&&t!==null){a=bs(e.type,e.key,e.pendingProps,e._debugOwner||null,e.mode,e.lanes),a._debugStack=e._debugStack,a._debugTask=e._debugTask;var u=e.return;if(u===null)throw Error("Cannot swap the root fiber.");if(t.alternate=null,e.alternate=null,a.index=e.index,a.sibling=e.sibling,a.return=e.return,a.ref=e.ref,a._debugInfo=e._debugInfo,e===u.child)u.child=a;else{var c=u.child;if(c===null)throw Error("Expected parent to have a child.");for(;c.sibling!==e;)if(c=c.sibling,c===null)throw Error("Expected to find the previous sibling.");c.sibling=a}return e=u.deletions,e===null?(u.deletions=[t],u.flags|=16):e.push(t),a.flags|=2,a}if(t!==null)if(t.memoizedProps!==e.pendingProps||e.type!==t.type)oa=!0;else{if(!pm(t,a)&&(e.flags&128)===0)return oa=!1,Ev(t,e,a);oa=(t.flags&131072)!==0}else oa=!1,(u=be)&&(Au(),u=(e.flags&1048576)!==0),u&&(u=e.index,Au(),L0(e,Og,u));switch(e.lanes=0,e.tag){case 16:t:if(u=e.pendingProps,t=Al(e.elementType),e.type=t,typeof t=="function")H0(t)?(u=to(t,u),e.tag=1,e.type=t=bu(t),e=Ls(null,e,t,u,a)):(e.tag=0,Pr(e,t),e.type=t=bu(t),e=ry(null,e,t,u,a));else{if(t!=null){if(c=t.$$typeof,c===Ec){e.tag=11,e.type=t=Yh(t),e=Av(null,e,t,u,a);break t}else if(c===xd){e.tag=14,e=ly(null,e,t,u,a);break t}}throw e="",t!==null&&typeof t=="object"&&t.$$typeof===xa&&(e=" Did you wrap a component in React.lazy() more than once?"),a=j(t)||t,Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+e)}return e;case 0:return ry(t,e,e.type,e.pendingProps,a);case 1:return u=e.type,c=to(u,e.pendingProps),Ls(t,e,u,c,a);case 3:t:{if(ct(e,e.stateNode.containerInfo),t===null)throw Error("Should have a current fiber. This is a bug in React.");u=e.pendingProps;var h=e.memoizedState;c=h.element,ki(t,e),Ki(e,u,null,a);var S=e.memoizedState;if(u=S.cache,Ql(e,aa,u),u!==h.cache&&Yo(e,[aa],a,!0),Xr(),u=S.element,h.isDehydrated)if(h={element:u,isDehydrated:!1,cache:S.cache},e.updateQueue.baseState=h,e.memoizedState=h,e.flags&256){e=fy(t,e,u,a);break t}else if(u!==c){c=Ha(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),e),Mf(c),e=fy(t,e,u,a);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,cn=Rl(t.firstChild),Ia=e,be=!0,Vc=null,Iu=!1,zi=null,Ao=!0,a=Qx(e,null,u,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Tu(),u===c){e=vi(t,e,a);break t}ta(t,e,u,a)}e=e.child}return e;case 26:return Ff(t,e),t===null?(a=Ky(e.type,null,e.pendingProps,null))?e.memoizedState=a:be||(a=e.type,t=e.pendingProps,u=et(wl.current),u=dd(u).createElement(a),u[sn]=e,u[$a]=t,un(u,a,t),Ve(u),e.stateNode=u):e.memoizedState=Ky(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return J(e),t===null&&be&&(u=et(wl.current),c=w(),u=e.stateNode=nu(e.type,e.pendingProps,u,c,!1),Iu||(c=ol(u,e.type,e.pendingProps,c),c!==null&&(As(e,0).serverProps=c)),Ia=e,Ao=!0,c=cn,Qu(e.type)?(q4=c,cn=Rl(u.firstChild)):cn=c),ta(t,e,e.pendingProps.children,a),Ff(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&be&&(h=w(),u=yf(e.type,h.ancestorInfo),c=cn,(S=!c)||(S=Pv(c,e.type,e.pendingProps,Ao),S!==null?(e.stateNode=S,Iu||(h=ol(S,e.type,e.pendingProps,h),h!==null&&(As(e,0).serverProps=h)),Ia=e,cn=Rl(S.firstChild),Ao=!1,h=!0):h=!1,S=!h),S&&(u&&Ta(e,c),Xl(e))),J(e),c=e.type,h=e.pendingProps,S=t!==null?t.memoizedProps:null,u=h.children,mc(c,h)?u=null:S!==null&&mc(c,S)&&(e.flags|=32),e.memoizedState!==null&&(c=F0(t,e,jf,null,null,a),u1._currentValue=c),Ff(t,e),ta(t,e,u,a),e.child;case 6:return t===null&&be&&(a=e.pendingProps,t=w(),u=t.ancestorInfo.current,a=u!=null?gf(a,u.tag,t.ancestorInfo.implicitRootScope):!0,t=cn,(u=!t)||(u=t2(t,e.pendingProps,Ao),u!==null?(e.stateNode=u,Ia=e,cn=null,u=!0):u=!1,u=!u),u&&(a&&Ta(e,t),Xl(e))),null;case 13:return dm(t,e,a);case 4:return ct(e,e.stateNode.containerInfo),u=e.pendingProps,t===null?e.child=Yd(e,null,u,a):ta(t,e,u,a),e.child;case 11:return Av(t,e,e.type,e.pendingProps,a);case 7:return ta(t,e,e.pendingProps,a),e.child;case 8:return ta(t,e,e.pendingProps.children,a),e.child;case 12:return e.flags|=4,e.flags|=2048,u=e.stateNode,u.effectDuration=-0,u.passiveEffectDuration=-0,ta(t,e,e.pendingProps.children,a),e.child;case 10:return u=e.type,c=e.pendingProps,h=c.value,"value"in c||yD||(yD=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Ql(e,u,h),ta(t,e,c.children,a),e.child;case 9:return c=e.type._context,u=e.pendingProps.children,typeof u!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),xu(e),c=Ce(c),u=i4(u,c,void 0),e.flags|=1,ta(t,e,u,a),e.child;case 14:return ly(t,e,e.type,e.pendingProps,a);case 15:return iy(t,e,e.type,e.pendingProps,a);case 19:return my(t,e,a);case 31:return Tv(t,e,a);case 22:return oy(t,e,a,e.pendingProps);case 24:return xu(e),u=Ce(aa),t===null?(c=Xo(),c===null&&(c=Fe,h=Zh(),c.pooledCache=h,Es(h),h!==null&&(c.pooledCacheLanes|=a),c=h),e.memoizedState={parent:u,cache:c},ge(e),Ql(e,aa,c)):((t.lanes&a)!==0&&(ki(t,e),Ki(e,null,null,a),Xr()),c=t.memoizedState,h=e.memoizedState,c.parent!==u?(c={parent:u,cache:u},e.memoizedState=c,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=c),Ql(e,aa,u)):(u=h.cache,Ql(e,aa,u),u!==c.cache&&Yo(e,[aa],a,!0))),ta(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function eo(t){t.flags|=4}function ym(t,e,a,u,c){if((e=(t.mode&v_)!==Kt)&&(e=!1),e){if(t.flags|=16777216,(c&335544128)===c)if(t.stateNode.complete)t.flags|=8192;else if(Uy())t.flags|=8192;else throw Ld=L2,u4}else t.flags&=-16777217}function xv(t,e){if(e.type!=="stylesheet"||(e.state.loading&Mo)!==Id)t.flags&=-16777217;else if(t.flags|=16777216,!pe(e))if(Uy())t.flags|=8192;else throw Ld=L2,u4}function ec(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?dl():536870912,t.lanes|=e,Zd|=e)}function nc(t,e){if(!be)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:u.sibling=null}}function Ye(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,u=0;if(e)if((t.mode&re)!==Kt){for(var c=t.selfBaseDuration,h=t.child;h!==null;)a|=h.lanes|h.childLanes,u|=h.subtreeFlags&65011712,u|=h.flags&65011712,c+=h.treeBaseDuration,h=h.sibling;t.treeBaseDuration=c}else for(c=t.child;c!==null;)a|=c.lanes|c.childLanes,u|=c.subtreeFlags&65011712,u|=c.flags&65011712,c.return=t,c=c.sibling;else if((t.mode&re)!==Kt){c=t.actualDuration,h=t.selfBaseDuration;for(var S=t.child;S!==null;)a|=S.lanes|S.childLanes,u|=S.subtreeFlags,u|=S.flags,c+=S.actualDuration,h+=S.treeBaseDuration,S=S.sibling;t.actualDuration=c,t.treeBaseDuration=h}else for(c=t.child;c!==null;)a|=c.lanes|c.childLanes,u|=c.subtreeFlags,u|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=u,t.childLanes=a,e}function py(t,e,a){var u=e.pendingProps;switch(Xh(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ye(e),null;case 1:return Ye(e),null;case 3:return a=e.stateNode,u=null,t!==null&&(u=t.memoizedState.cache),e.memoizedState.cache!==u&&(e.flags|=2048),fi(aa,e),R(e),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(Ts(e)?(Eu(),eo(e)):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Df())),Ye(e),null;case 26:var c=e.type,h=e.memoizedState;return t===null?(eo(e),h!==null?(Ye(e),xv(e,h)):(Ye(e),ym(e,c,null,u,a))):h?h!==t.memoizedState?(eo(e),Ye(e),xv(e,h)):(Ye(e),e.flags&=-16777217):(t=t.memoizedProps,t!==u&&eo(e),Ye(e),ym(e,c,t,u,a)),null;case 27:if(F(e),a=et(wl.current),c=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==u&&eo(e);else{if(!u){if(e.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Ye(e),null}t=w(),Ts(e)?Y0(e):(t=nu(c,u,a,t,!0),e.stateNode=t,eo(e))}return Ye(e),null;case 5:if(F(e),c=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==u&&eo(e);else{if(!u){if(e.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Ye(e),null}var S=w();if(Ts(e))Y0(e);else{switch(h=et(wl.current),yf(c,S.ancestorInfo),S=S.context,h=dd(h),S){case Lp:h=h.createElementNS(oe,c);break;case fb:h=h.createElementNS(ee,c);break;default:switch(c){case"svg":h=h.createElementNS(oe,c);break;case"math":h=h.createElementNS(ee,c);break;case"script":h=h.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof u.is=="string"?h.createElement("select",{is:u.is}):h.createElement("select"),u.multiple?h.multiple=!0:u.size&&(h.size=u.size);break;default:h=typeof u.is=="string"?h.createElement(c,{is:u.is}):h.createElement(c),c.indexOf("-")===-1&&(c!==c.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),Object.prototype.toString.call(h)!=="[object HTMLUnknownElement]"||Ul.call(YD,c)||(YD[c]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",c)))}}h[sn]=e,h[$a]=u;t:for(S=e.child;S!==null;){if(S.tag===5||S.tag===6)h.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===e)break t;for(;S.sibling===null;){if(S.return===null||S.return===e)break t;S=S.return}S.sibling.return=S.return,S=S.sibling}e.stateNode=h;t:switch(un(h,c,u),c){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break t;case"img":u=!0;break t;default:u=!1}u&&eo(e)}}return Ye(e),ym(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==u&&eo(e);else{if(typeof u!="string"&&e.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(t=et(wl.current),a=w(),Ts(e)){if(t=e.stateNode,a=e.memoizedProps,c=!Iu,u=null,h=Ia,h!==null)switch(h.tag){case 3:c&&(c=a2(t,a,u),c!==null&&(As(e,0).serverProps=c));break;case 27:case 5:u=h.memoizedProps,c&&(c=a2(t,a,u),c!==null&&(As(e,0).serverProps=c))}t[sn]=e,t=!!(t.nodeValue===a||u!==null&&u.suppressHydrationWarning===!0||Gy(t.nodeValue,a)),t||Xl(e,!0)}else c=a.ancestorInfo.current,c!=null&&gf(u,c.tag,a.ancestorInfo.implicitRootScope),t=dd(t).createTextNode(u),t[sn]=e,e.stateNode=t}return Ye(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(u=Ts(e),a!==null){if(t===null){if(!u)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");t[sn]=e,Ye(e),(e.mode&re)!==Kt&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration))}else Eu(),Tu(),(e.flags&128)===0&&(a=e.memoizedState=null),e.flags|=4,Ye(e),(e.mode&re)!==Kt&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration));t=!1}else a=Df(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(Wn(e),e):(Wn(e),null);if((e.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Ye(e),null;case 13:if(u=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=u,h=Ts(e),c!==null&&c.dehydrated!==null){if(t===null){if(!h)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(h=e.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");h[sn]=e,Ye(e),(e.mode&re)!==Kt&&c!==null&&(c=e.child,c!==null&&(e.treeBaseDuration-=c.treeBaseDuration))}else Eu(),Tu(),(e.flags&128)===0&&(c=e.memoizedState=null),e.flags|=4,Ye(e),(e.mode&re)!==Kt&&c!==null&&(c=e.child,c!==null&&(e.treeBaseDuration-=c.treeBaseDuration));c=!1}else c=Df(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=c),c=!0;if(!c)return e.flags&256?(Wn(e),e):(Wn(e),null)}return Wn(e),(e.flags&128)!==0?(e.lanes=a,(e.mode&re)!==Kt&&Ds(e),e):(a=u!==null,t=t!==null&&t.memoizedState!==null,a&&(u=e.child,c=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(c=u.alternate.memoizedState.cachePool.pool),h=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(h=u.memoizedState.cachePool.pool),h!==c&&(u.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),ec(e,e.updateQueue),Ye(e),(e.mode&re)!==Kt&&a&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration)),null);case 4:return R(e),t===null&&Gu(e.stateNode.containerInfo),Ye(e),null;case 10:return fi(e.type,e),Ye(e),null;case 19:if(K(kn,e),u=e.memoizedState,u===null)return Ye(e),null;if(c=(e.flags&128)!==0,h=u.rendering,h===null)if(c)nc(u,!1);else{if(Tn!==hr||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(h=Cs(t),h!==null){for(e.flags|=128,nc(u,!1),t=h.updateQueue,e.updateQueue=t,ec(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)B0(a,t),a=a.sibling;return lt(kn,kn.current&Cp|Xg,e),be&&ci(e,u.treeForkCount),e.child}t=t.sibling}u.tail!==null&&na()>W2&&(e.flags|=128,c=!0,nc(u,!1),e.lanes=4194304)}else{if(!c)if(t=Cs(h),t!==null){if(e.flags|=128,c=!0,t=t.updateQueue,e.updateQueue=t,ec(e,t),nc(u,!0),u.tail===null&&u.tailMode==="hidden"&&!h.alternate&&!be)return Ye(e),null}else 2*na()-u.renderingStartTime>W2&&a!==536870912&&(e.flags|=128,c=!0,nc(u,!1),e.lanes=4194304);u.isBackwards?(h.sibling=e.child,e.child=h):(t=u.last,t!==null?t.sibling=h:e.child=h,u.last=h)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=na(),t.sibling=null,a=kn.current,a=c?a&Cp|Xg:a&Cp,lt(kn,a,e),be&&ci(e,u.treeForkCount),t):(Ye(e),null);case 22:case 23:return Wn(e),pi(e),u=e.memoizedState!==null,t!==null?t.memoizedState!==null!==u&&(e.flags|=8192):u&&(e.flags|=8192),u?(a&536870912)!==0&&(e.flags&128)===0&&(Ye(e),e.subtreeFlags&6&&(e.flags|=8192)):Ye(e),a=e.updateQueue,a!==null&&ec(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),u=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(u=e.memoizedState.cachePool.pool),u!==a&&(e.flags|=2048),t!==null&&K(Bd,e),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),fi(aa,e),Ye(e),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Dv(t,e){switch(Xh(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&re)!==Kt&&Ds(e),e):null;case 3:return fi(aa,e),R(e),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return F(e),null;case 31:if(e.memoizedState!==null){if(Wn(e),e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Tu()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&re)!==Kt&&Ds(e),e):null;case 13:if(Wn(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Tu()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&re)!==Kt&&Ds(e),e):null;case 19:return K(kn,e),null;case 4:return R(e),null;case 10:return fi(e.type,e),null;case 22:case 23:return Wn(e),pi(e),t!==null&&K(Bd,e),t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&re)!==Kt&&Ds(e),e):null;case 24:return fi(aa,e),null;case 25:return null;default:return null}}function yy(t,e){switch(Xh(e),e.tag){case 3:fi(aa,e),R(e);break;case 26:case 27:case 5:F(e);break;case 4:R(e);break;case 31:e.memoizedState!==null&&Wn(e);break;case 13:Wn(e);break;case 19:K(kn,e);break;case 10:fi(e.type,e);break;case 22:case 23:Wn(e),pi(e),t!==null&&K(Bd,e);break;case 24:fi(aa,e)}}function no(t){return(t.mode&re)!==Kt}function Mv(t,e){no(t)?(vn(),Io(e,t),Va()):Io(e,t)}function gm(t,e,a){no(t)?(vn(),Hu(a,t,e),Va()):Hu(a,t,e)}function Io(t,e){try{var a=e.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var c=u.next;a=c;do{if((a.tag&t)===t&&(u=void 0,(t&Hl)!==q2&&(Hp=!0),u=Ut(e,x_,a),(t&Hl)!==q2&&(Hp=!1),u!==void 0&&typeof u!="function")){var h=void 0;h=(a.tag&wi)!==0?"useLayoutEffect":(a.tag&Hl)!==0?"useInsertionEffect":"useEffect";var S=void 0;S=u===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof u.then=="function"?`
138
-
139
- It looks like you wrote `+h+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
140
-
141
- `+h+`(() => {
142
- async function fetchData() {
143
- // You can await here
144
- const response = await MyAPI.getData(someId);
145
- // ...
146
- }
147
- fetchData();
148
- }, [someId]); // Or [] if effect doesn't need props or state
149
-
150
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+u,Ut(e,function(T,O){console.error("%s must not return anything besides a function, which is used for clean-up.%s",T,O)},h,S)}a=a.next}while(a!==c)}}catch(T){ie(e,e.return,T)}}function Hu(t,e,a){try{var u=e.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var h=c.next;u=h;do{if((u.tag&t)===t){var S=u.inst,T=S.destroy;T!==void 0&&(S.destroy=void 0,(t&Hl)!==q2&&(Hp=!0),c=e,Ut(c,D_,c,a,T),(t&Hl)!==q2&&(Hp=!1))}u=u.next}while(u!==h)}}catch(O){ie(e,e.return,O)}}function Wf(t,e){no(t)?(vn(),Io(e,t),Va()):Io(e,t)}function vm(t,e,a){no(t)?(vn(),Hu(a,t,e),Va()):Hu(a,t,e)}function gy(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;t.type.defaultProps||"ref"in t.memoizedProps||wp||(a.props!==t.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",q(t)||"instance"),a.state!==t.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",q(t)||"instance"));try{Ut(t,Qr,e,a)}catch(u){ie(t,t.return,u)}}}function Pf(t,e,a){return t.getSnapshotBeforeUpdate(e,a)}function Cv(t,e){var a=e.memoizedProps,u=e.memoizedState;e=t.stateNode,t.type.defaultProps||"ref"in t.memoizedProps||wp||(e.props!==t.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",q(t)||"instance"),e.state!==t.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",q(t)||"instance"));try{var c=to(t.type,a),h=Ut(t,Pf,e,c,u);a=gD,h!==void 0||a.has(t.type)||(a.add(t.type),Ut(t,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",q(t))})),e.__reactInternalSnapshotBeforeUpdate=h}catch(S){ie(t,t.return,S)}}function bm(t,e,a){a.props=to(t.type,t.memoizedProps),a.state=t.memoizedState,no(t)?(vn(),Ut(t,Hx,t,e,a),Va()):Ut(t,Hx,t,e,a)}function Ov(t){var e=t.ref;if(e!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}if(typeof e=="function")if(no(t))try{vn(),t.refCleanup=e(a)}finally{Va()}else t.refCleanup=e(a);else typeof e=="string"?console.error("String refs are no longer supported."):e.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",q(t)),e.current=a}}function Ys(t,e){try{Ut(t,Ov,t)}catch(a){ie(t,e,a)}}function Fl(t,e){var a=t.ref,u=t.refCleanup;if(a!==null)if(typeof u=="function")try{if(no(t))try{vn(),Ut(t,u)}finally{Va(t)}else Ut(t,u)}catch(c){ie(t,e,c)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{if(no(t))try{vn(),Ut(t,a,null)}finally{Va(t)}else Ut(t,a,null)}catch(c){ie(t,e,c)}else a.current=null}function vy(t,e,a,u){var c=t.memoizedProps,h=c.id,S=c.onCommit;c=c.onRender,e=e===null?"mount":"update",j2&&(e="nested-update"),typeof c=="function"&&c(h,e,t.actualDuration,t.treeBaseDuration,t.actualStartTime,a),typeof S=="function"&&S(h,e,u,a)}function zv(t,e,a,u){var c=t.memoizedProps;t=c.id,c=c.onPostCommit,e=e===null?"mount":"update",j2&&(e="nested-update"),typeof c=="function"&&c(t,e,u,a)}function Bu(t){var e=t.type,a=t.memoizedProps,u=t.stateNode;try{Ut(t,Gv,u,e,a,t)}catch(c){ie(t,t.return,c)}}function Sm(t,e,a){try{Ut(t,Ym,t.stateNode,t.type,a,e,t)}catch(u){ie(t,t.return,u)}}function by(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Qu(t.type)||t.tag===4}function Am(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||by(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Qu(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function ac(t,e,a){var u=t.tag;if(u===5||u===6)t=t.stateNode,e?(Qv(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e)):(Qv(a),e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=ql));else if(u!==4&&(u===27&&Qu(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(ac(t,e,a),t=t.sibling;t!==null;)ac(t,e,a),t=t.sibling}function td(t,e,a){var u=t.tag;if(u===5||u===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(u!==4&&(u===27&&Qu(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(td(t,e,a),t=t.sibling;t!==null;)td(t,e,a),t=t.sibling}function Sy(t){for(var e,a=t.return;a!==null;){if(by(a)){e=a;break}a=a.return}if(e==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(e.tag){case 27:e=e.stateNode,a=Am(t),td(t,a,e);break;case 5:a=e.stateNode,e.flags&32&&(qm(a),e.flags&=-33),e=Am(t),td(t,e,a);break;case 3:case 4:e=e.stateNode.containerInfo,a=Am(t),ac(t,a,e);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Ay(t){var e=t.stateNode,a=t.memoizedProps;try{Ut(t,co,t.type,a,e,t)}catch(u){ie(t,t.return,u)}}function Ty(t,e){return e.tag===31?(e=e.memoizedState,t.memoizedState!==null&&e===null):e.tag===13?(t=t.memoizedState,e=e.memoizedState,t!==null&&t.dehydrated!==null&&(e===null||e.dehydrated===null)):e.tag===3?t.memoizedState.isDehydrated&&(e.flags&256)===0:!1}function O3(t,e){if(t=t.containerInfo,V4=pb,t=Hh(t),z0(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var u=a.getSelection&&a.getSelection();if(u&&u.rangeCount!==0){a=u.anchorNode;var c=u.anchorOffset,h=u.focusNode;u=u.focusOffset;try{a.nodeType,h.nodeType}catch{a=null;break t}var S=0,T=-1,O=-1,U=0,I=0,nt=t,X=null;e:for(;;){for(var gt;nt!==a||c!==0&&nt.nodeType!==3||(T=S+c),nt!==h||u!==0&&nt.nodeType!==3||(O=S+u),nt.nodeType===3&&(S+=nt.nodeValue.length),(gt=nt.firstChild)!==null;)X=nt,nt=gt;for(;;){if(nt===t)break e;if(X===a&&++U===c&&(T=S),X===h&&++I===u&&(O=S),(gt=nt.nextSibling)!==null)break;nt=X,X=nt.parentNode}nt=gt}a=T===-1||O===-1?null:{start:T,end:O}}else a=null}a=a||{start:0,end:0}}else a=null;for(L4={focusedElem:t,selectionRange:a},pb=!1,Ca=e;Ca!==null;)if(e=Ca,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Ca=t;else for(;Ca!==null;){switch(t=e=Ca,a=t.alternate,c=t.flags,t.tag){case 0:if((c&4)!==0&&(t=t.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)c=t[a],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:(c&1024)!==0&&a!==null&&Cv(t,a);break;case 3:if((c&1024)!==0){if(t=t.stateNode.containerInfo,a=t.nodeType,a===9)yc(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":yc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((c&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(t=e.sibling,t!==null){t.return=e.return,Ca=t;break}Ca=e.return}}function Tm(t,e,a){var u=ln(),c=Zl(),h=bl(),S=kl(),T=a.flags;switch(a.tag){case 0:case 11:case 15:Ml(t,a),T&4&&Mv(a,wi|xo);break;case 1:if(Ml(t,a),T&4)if(t=a.stateNode,e===null)a.type.defaultProps||"ref"in a.memoizedProps||wp||(t.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",q(a)||"instance"),t.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",q(a)||"instance")),no(a)?(vn(),Ut(a,o4,a,t),Va()):Ut(a,o4,a,t);else{var O=to(a.type,e.memoizedProps);e=e.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||wp||(t.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",q(a)||"instance"),t.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",q(a)||"instance")),no(a)?(vn(),Ut(a,_x,a,t,O,e,t.__reactInternalSnapshotBeforeUpdate),Va()):Ut(a,_x,a,t,O,e,t.__reactInternalSnapshotBeforeUpdate)}T&64&&gy(a),T&512&&Ys(a,a.return);break;case 3:if(e=Zi(),Ml(t,a),T&64&&(T=a.updateQueue,T!==null)){if(O=null,a.child!==null)switch(a.child.tag){case 27:case 5:O=a.child.stateNode;break;case 1:O=a.child.stateNode}try{Ut(a,Qr,T,O)}catch(I){ie(a,a.return,I)}}t.effectDuration+=Yr(e);break;case 27:e===null&&T&4&&Ay(a);case 26:case 5:if(Ml(t,a),e===null){if(T&4)Bu(a);else if(T&64){t=a.type,e=a.memoizedProps,O=a.stateNode;try{Ut(a,Xv,O,t,e,a)}catch(I){ie(a,a.return,I)}}}T&512&&Ys(a,a.return);break;case 12:if(T&4){T=Zi(),Ml(t,a),t=a.stateNode,t.effectDuration+=Ba(T);try{Ut(a,vy,a,e,Lc,t.effectDuration)}catch(I){ie(a,a.return,I)}}else Ml(t,a);break;case 31:Ml(t,a),T&4&&xy(t,a);break;case 13:Ml(t,a),T&4&&Dy(t,a),T&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(T=Po.bind(null,a),e2(t,T))));break;case 22:if(T=a.memoizedState!==null||dr,!T){e=e!==null&&e.memoizedState!==null||ua,O=dr;var U=ua;dr=T,(ua=e)&&!U?(bi(t,a,(a.subtreeFlags&8772)!==0),(a.mode&re)!==Kt&&0<=Xt&&0<=kt&&.05<kt-Xt&&Bh(a,Xt,kt)):Ml(t,a),dr=O,ua=U}break;case 30:break;default:Ml(t,a)}(a.mode&re)!==Kt&&0<=Xt&&0<=kt&&((Nn||.05<An)&&ri(a,Xt,kt,An,yn),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<kt-Xt&&(Ty(a.return.alternate,a.return)||Gl(a,Xt,kt,"Mount"))),$n(u),vl(c),yn=h,Nn=S}function Un(t){var e=t.alternate;e!==null&&(t.alternate=null,Un(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Dr(e)),t.stateNode=null,t._debugOwner=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function en(t,e,a){for(a=a.child;a!==null;)Ey(t,e,a),a=a.sibling}function Ey(t,e,a){if(Qn&&typeof Qn.onCommitFiberUnmount=="function")try{Qn.onCommitFiberUnmount(Ps,a)}catch(U){ho||(ho=!0,console.error("React instrumentation encountered an error: %o",U))}var u=ln(),c=Zl(),h=bl(),S=kl();switch(a.tag){case 26:ua||Fl(a,e),en(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(t=a.stateNode,t.parentNode.removeChild(t));break;case 27:ua||Fl(a,e);var T=sa,O=ti;Qu(a.type)&&(sa=a.stateNode,ti=!1),en(t,e,a),Ut(a,au,a.stateNode),sa=T,ti=O;break;case 5:ua||Fl(a,e);case 6:if(T=sa,O=ti,sa=null,en(t,e,a),sa=T,ti=O,sa!==null)if(ti)try{Ut(a,kv,sa,a.stateNode)}catch(U){ie(a,e,U)}else try{Ut(a,Zv,sa,a.stateNode)}catch(U){ie(a,e,U)}break;case 18:sa!==null&&(ti?(t=sa,Zs(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),Fs(t)):Zs(sa,a.stateNode));break;case 4:T=sa,O=ti,sa=a.stateNode.containerInfo,ti=!0,en(t,e,a),sa=T,ti=O;break;case 0:case 11:case 14:case 15:Hu(Hl,a,e),ua||gm(a,e,wi),en(t,e,a);break;case 1:ua||(Fl(a,e),T=a.stateNode,typeof T.componentWillUnmount=="function"&&bm(a,e,T)),en(t,e,a);break;case 21:en(t,e,a);break;case 22:ua=(T=ua)||a.memoizedState!==null,en(t,e,a),ua=T;break;default:en(t,e,a)}(a.mode&re)!==Kt&&0<=Xt&&0<=kt&&(Nn||.05<An)&&ri(a,Xt,kt,An,yn),$n(u),vl(c),yn=h,Nn=S}function xy(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ut(e,Gm,t)}catch(a){ie(e,e.return,a)}}}function Dy(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ut(e,ky,t)}catch(a){ie(e,e.return,a)}}function Rv(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new vD),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new vD),e;default:throw Error("Unexpected Suspense handler tag ("+t.tag+"). This is a bug in React.")}}function Vu(t,e){var a=Rv(t);e.forEach(function(u){if(!a.has(u)){if(a.add(u),mo)if(Up!==null&&_p!==null)rc(_p,Up);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var c=Xs.bind(null,t,u);u.then(c,c)}})}function Xa(t,e){var a=e.deletions;if(a!==null)for(var u=0;u<a.length;u++){var c=t,h=e,S=a[u],T=ln(),O=h;t:for(;O!==null;){switch(O.tag){case 27:if(Qu(O.type)){sa=O.stateNode,ti=!1;break t}break;case 5:sa=O.stateNode,ti=!1;break t;case 3:case 4:sa=O.stateNode.containerInfo,ti=!0;break t}O=O.return}if(sa===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Ey(c,h,S),sa=null,ti=!1,(S.mode&re)!==Kt&&0<=Xt&&0<=kt&&.05<kt-Xt&&Gl(S,Xt,kt,"Unmount"),$n(T),c=S,h=c.alternate,h!==null&&(h.return=null),c.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)ed(e,t),e=e.sibling}function ed(t,e){var a=ln(),u=Zl(),c=bl(),h=kl(),S=t.alternate,T=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Xa(e,t),Qa(t),T&4&&(Hu(Hl|xo,t,t.return),Io(Hl|xo,t),gm(t,t.return,wi|xo));break;case 1:if(Xa(e,t),Qa(t),T&512&&(ua||S===null||Fl(S,S.return)),T&64&&dr&&(T=t.updateQueue,T!==null&&(S=T.callbacks,S!==null))){var O=T.shared.hiddenCallbacks;T.shared.hiddenCallbacks=O===null?S:O.concat(S)}break;case 26:if(O=ru,Xa(e,t),Qa(t),T&512&&(ua||S===null||Fl(S,S.return)),T&4){var U=S!==null?S.memoizedState:null;if(T=t.memoizedState,S===null)if(T===null)if(t.stateNode===null){t:{T=t.type,S=t.memoizedProps,O=O.ownerDocument||O;e:switch(T){case"title":U=O.getElementsByTagName("title")[0],(!U||U[wc]||U[sn]||U.namespaceURI===oe||U.hasAttribute("itemprop"))&&(U=O.createElement(T),O.head.insertBefore(U,O.querySelector("head > title"))),un(U,T,S),U[sn]=t,Ve(U),T=U;break t;case"link":var I=bc("link","href",O).get(T+(S.href||""));if(I){for(var nt=0;nt<I.length;nt++)if(U=I[nt],U.getAttribute("href")===(S.href==null||S.href===""?null:S.href)&&U.getAttribute("rel")===(S.rel==null?null:S.rel)&&U.getAttribute("title")===(S.title==null?null:S.title)&&U.getAttribute("crossorigin")===(S.crossOrigin==null?null:S.crossOrigin)){I.splice(nt,1);break e}}U=O.createElement(T),un(U,T,S),O.head.appendChild(U);break;case"meta":if(I=bc("meta","content",O).get(T+(S.content||""))){for(nt=0;nt<I.length;nt++)if(U=I[nt],te(S.content,"content"),U.getAttribute("content")===(S.content==null?null:""+S.content)&&U.getAttribute("name")===(S.name==null?null:S.name)&&U.getAttribute("property")===(S.property==null?null:S.property)&&U.getAttribute("http-equiv")===(S.httpEquiv==null?null:S.httpEquiv)&&U.getAttribute("charset")===(S.charSet==null?null:S.charSet)){I.splice(nt,1);break e}}U=O.createElement(T),un(U,T,S),O.head.appendChild(U);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+T+'". This is a bug in React.')}U[sn]=t,Ve(U),T=U}t.stateNode=T}else i2(O,t.type,t.stateNode);else t.stateNode=Zm(O,T,t.memoizedProps);else U!==T?(U===null?S.stateNode!==null&&(S=S.stateNode,S.parentNode.removeChild(S)):U.count--,T===null?i2(O,t.type,t.stateNode):Zm(O,T,t.memoizedProps)):T===null&&t.stateNode!==null&&Sm(t,t.memoizedProps,S.memoizedProps)}break;case 27:Xa(e,t),Qa(t),T&512&&(ua||S===null||Fl(S,S.return)),S!==null&&T&4&&Sm(t,t.memoizedProps,S.memoizedProps);break;case 5:if(Xa(e,t),Qa(t),T&512&&(ua||S===null||Fl(S,S.return)),t.flags&32){O=t.stateNode;try{Ut(t,qm,O)}catch(Bt){ie(t,t.return,Bt)}}T&4&&t.stateNode!=null&&(O=t.memoizedProps,Sm(t,O,S!==null?S.memoizedProps:O)),T&1024&&(b4=!0,t.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Xa(e,t),Qa(t),T&4){if(t.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");T=t.memoizedProps,S=S!==null?S.memoizedProps:T,O=t.stateNode;try{Ut(t,z3,O,S,T)}catch(Bt){ie(t,t.return,Bt)}}break;case 3:if(O=Zi(),db=null,U=ru,ru=Xm(e.containerInfo),Xa(e,t),ru=U,Qa(t),T&4&&S!==null&&S.memoizedState.isDehydrated)try{Ut(t,Zy,e.containerInfo)}catch(Bt){ie(t,t.return,Bt)}b4&&(b4=!1,wv(t)),e.effectDuration+=Yr(O);break;case 4:T=ru,ru=Xm(t.stateNode.containerInfo),Xa(e,t),Qa(t),ru=T;break;case 12:T=Zi(),Xa(e,t),Qa(t),t.stateNode.effectDuration+=Ba(T);break;case 31:Xa(e,t),Qa(t),T&4&&(T=t.updateQueue,T!==null&&(t.updateQueue=null,Vu(t,T)));break;case 13:Xa(e,t),Qa(t),t.child.flags&8192&&t.memoizedState!==null!=(S!==null&&S.memoizedState!==null)&&(I2=na()),T&4&&(T=t.updateQueue,T!==null&&(t.updateQueue=null,Vu(t,T)));break;case 22:O=t.memoizedState!==null;var X=S!==null&&S.memoizedState!==null,gt=dr,Nt=ua;if(dr=gt||O,ua=Nt||X,Xa(e,t),ua=Nt,dr=gt,X&&!O&&!gt&&!Nt&&(t.mode&re)!==Kt&&0<=Xt&&0<=kt&&.05<kt-Xt&&Bh(t,Xt,kt),Qa(t),T&8192)t:for(e=t.stateNode,e._visibility=O?e._visibility&~Cg:e._visibility|Cg,!O||S===null||X||dr||ua||(Lu(t),(t.mode&re)!==Kt&&0<=Xt&&0<=kt&&.05<kt-Xt&&Gl(t,Xt,kt,"Disconnect")),S=null,e=t;;){if(e.tag===5||e.tag===26){if(S===null){X=S=e;try{U=X.stateNode,O?Ut(X,Kv,U):Ut(X,Iv,X.stateNode,X.memoizedProps)}catch(Bt){ie(X,X.return,Bt)}}}else if(e.tag===6){if(S===null){X=e;try{I=X.stateNode,O?Ut(X,Fv,I):Ut(X,Wv,I,X.memoizedProps)}catch(Bt){ie(X,X.return,Bt)}}}else if(e.tag===18){if(S===null){X=e;try{nt=X.stateNode,O?Ut(X,Jv,nt):Ut(X,$v,X.stateNode)}catch(Bt){ie(X,X.return,Bt)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;S===e&&(S=null),e=e.return}S===e&&(S=null),e.sibling.return=e.return,e=e.sibling}T&4&&(T=t.updateQueue,T!==null&&(S=T.retryQueue,S!==null&&(T.retryQueue=null,Vu(t,S))));break;case 19:Xa(e,t),Qa(t),T&4&&(T=t.updateQueue,T!==null&&(t.updateQueue=null,Vu(t,T)));break;case 30:break;case 21:break;default:Xa(e,t),Qa(t)}(t.mode&re)!==Kt&&0<=Xt&&0<=kt&&((Nn||.05<An)&&ri(t,Xt,kt,An,yn),t.alternate===null&&t.return!==null&&t.return.alternate!==null&&.05<kt-Xt&&(Ty(t.return.alternate,t.return)||Gl(t,Xt,kt,"Mount"))),$n(a),vl(u),yn=c,Nn=h}function Qa(t){var e=t.flags;if(e&2){try{Ut(t,Sy,t)}catch(a){ie(t,t.return,a)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function wv(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;wv(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Ml(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Tm(t,e.alternate,e),e=e.sibling}function Em(t){var e=ln(),a=Zl(),u=bl(),c=kl();switch(t.tag){case 0:case 11:case 14:case 15:gm(t,t.return,wi),Lu(t);break;case 1:Fl(t,t.return);var h=t.stateNode;typeof h.componentWillUnmount=="function"&&bm(t,t.return,h),Lu(t);break;case 27:Ut(t,au,t.stateNode);case 26:case 5:Fl(t,t.return),Lu(t);break;case 22:t.memoizedState===null&&Lu(t);break;case 30:Lu(t);break;default:Lu(t)}(t.mode&re)!==Kt&&0<=Xt&&0<=kt&&(Nn||.05<An)&&ri(t,Xt,kt,An,yn),$n(e),vl(a),yn=u,Nn=c}function Lu(t){for(t=t.child;t!==null;)Em(t),t=t.sibling}function My(t,e,a,u){var c=ln(),h=Zl(),S=bl(),T=kl(),O=a.flags;switch(a.tag){case 0:case 11:case 15:bi(t,a,u),Mv(a,wi);break;case 1:if(bi(t,a,u),e=a.stateNode,typeof e.componentDidMount=="function"&&Ut(a,o4,a,e),e=a.updateQueue,e!==null){t=a.stateNode;try{Ut(a,J0,e,t)}catch(U){ie(a,a.return,U)}}u&&O&64&&gy(a),Ys(a,a.return);break;case 27:Ay(a);case 26:case 5:bi(t,a,u),u&&e===null&&O&4&&Bu(a),Ys(a,a.return);break;case 12:if(u&&O&4){O=Zi(),bi(t,a,u),u=a.stateNode,u.effectDuration+=Ba(O);try{Ut(a,vy,a,e,Lc,u.effectDuration)}catch(U){ie(a,a.return,U)}}else bi(t,a,u);break;case 31:bi(t,a,u),u&&O&4&&xy(t,a);break;case 13:bi(t,a,u),u&&O&4&&Dy(t,a);break;case 22:a.memoizedState===null&&bi(t,a,u),Ys(a,a.return);break;case 30:break;default:bi(t,a,u)}(a.mode&re)!==Kt&&0<=Xt&&0<=kt&&(Nn||.05<An)&&ri(a,Xt,kt,An,yn),$n(c),vl(h),yn=S,Nn=T}function bi(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;)My(t,e.alternate,e,a),e=e.sibling}function nd(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&Es(t),a!=null&&Of(a))}function ad(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(Es(e),t!=null&&Of(t))}function Cl(t,e,a,u,c){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(e=e.child;e!==null;){var h=e.sibling;Cy(t,e,a,u,h!==null?h.actualStartTime:c),e=h}}function Cy(t,e,a,u,c){var h=ln(),S=Zl(),T=bl(),O=kl(),U=jc,I=e.flags;switch(e.tag){case 0:case 11:case 15:(e.mode&re)!==Kt&&0<e.actualStartTime&&(e.flags&1)!==0&&Vh(e,e.actualStartTime,c,ba,a),Cl(t,e,a,u,c),I&2048&&Wf(e,Bl|xo);break;case 1:(e.mode&re)!==Kt&&0<e.actualStartTime&&((e.flags&128)!==0?w0(e,e.actualStartTime,c,[]):(e.flags&1)!==0&&Vh(e,e.actualStartTime,c,ba,a)),Cl(t,e,a,u,c);break;case 3:var nt=Zi(),X=ba;ba=e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)===0,Cl(t,e,a,u,c),ba=X,I&2048&&(a=null,e.alternate!==null&&(a=e.alternate.memoizedState.cache),u=e.memoizedState.cache,u!==a&&(Es(u),a!=null&&Of(a))),t.passiveEffectDuration+=Yr(nt);break;case 12:if(I&2048){I=Zi(),Cl(t,e,a,u,c),t=e.stateNode,t.passiveEffectDuration+=Ba(I);try{Ut(e,zv,e,e.alternate,Lc,t.passiveEffectDuration)}catch(gt){ie(e,e.return,gt)}}else Cl(t,e,a,u,c);break;case 31:I=ba,nt=e.alternate!==null?e.alternate.memoizedState:null,X=e.memoizedState,nt!==null&&X===null?(X=e.deletions,X!==null&&0<X.length&&X[0].tag===18?(ba=!1,nt=nt.hydrationErrors,nt!==null&&w0(e,e.actualStartTime,c,nt)):ba=!0):ba=!1,Cl(t,e,a,u,c),ba=I;break;case 13:I=ba,nt=e.alternate!==null?e.alternate.memoizedState:null,X=e.memoizedState,nt===null||nt.dehydrated===null||X!==null&&X.dehydrated!==null?ba=!1:(X=e.deletions,X!==null&&0<X.length&&X[0].tag===18?(ba=!1,nt=nt.hydrationErrors,nt!==null&&w0(e,e.actualStartTime,c,nt)):ba=!0),Cl(t,e,a,u,c),ba=I;break;case 23:break;case 22:X=e.stateNode,nt=e.alternate,e.memoizedState!==null?X._visibility&nr?Cl(t,e,a,u,c):qs(t,e,a,u,c):X._visibility&nr?Cl(t,e,a,u,c):(X._visibility|=nr,Yu(t,e,a,u,(e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child),c),(e.mode&re)===Kt||ba||(t=e.actualStartTime,0<=t&&.05<c-t&&Bh(e,t,c),0<=Xt&&0<=kt&&.05<kt-Xt&&Bh(e,Xt,kt))),I&2048&&nd(nt,e);break;case 24:Cl(t,e,a,u,c),I&2048&&ad(e.alternate,e);break;default:Cl(t,e,a,u,c)}(e.mode&re)!==Kt&&((t=!ba&&e.alternate===null&&e.return!==null&&e.return.alternate!==null)&&(a=e.actualStartTime,0<=a&&.05<c-a&&Gl(e,a,c,"Mount")),0<=Xt&&0<=kt&&((Nn||.05<An)&&ri(e,Xt,kt,An,yn),t&&.05<kt-Xt&&Gl(e,Xt,kt,"Mount"))),$n(h),vl(S),yn=T,Nn=O,jc=U}function Yu(t,e,a,u,c,h){for(c=c&&((e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child)),e=e.child;e!==null;){var S=e.sibling;ld(t,e,a,u,c,S!==null?S.actualStartTime:h),e=S}}function ld(t,e,a,u,c,h){var S=ln(),T=Zl(),O=bl(),U=kl(),I=jc;c&&(e.mode&re)!==Kt&&0<e.actualStartTime&&(e.flags&1)!==0&&Vh(e,e.actualStartTime,h,ba,a);var nt=e.flags;switch(e.tag){case 0:case 11:case 15:Yu(t,e,a,u,c,h),Wf(e,Bl);break;case 23:break;case 22:var X=e.stateNode;e.memoizedState!==null?X._visibility&nr?Yu(t,e,a,u,c,h):qs(t,e,a,u,h):(X._visibility|=nr,Yu(t,e,a,u,c,h)),c&&nt&2048&&nd(e.alternate,e);break;case 24:Yu(t,e,a,u,c,h),c&&nt&2048&&ad(e.alternate,e);break;default:Yu(t,e,a,u,c,h)}(e.mode&re)!==Kt&&0<=Xt&&0<=kt&&(Nn||.05<An)&&ri(e,Xt,kt,An,yn),$n(S),vl(T),yn=O,Nn=U,jc=I}function qs(t,e,a,u,c){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(var h=e.child;h!==null;){e=h.sibling;var S=t,T=a,O=u,U=e!==null?e.actualStartTime:c,I=jc;(h.mode&re)!==Kt&&0<h.actualStartTime&&(h.flags&1)!==0&&Vh(h,h.actualStartTime,U,ba,T);var nt=h.flags;switch(h.tag){case 22:qs(S,h,T,O,U),nt&2048&&nd(h.alternate,h);break;case 24:qs(S,h,T,O,U),nt&2048&&ad(h.alternate,h);break;default:qs(S,h,T,O,U)}jc=I,h=e}}function Gs(t,e,a){if(t.subtreeFlags&Jg)for(t=t.child;t!==null;)xm(t,e,a),t=t.sibling}function xm(t,e,a){switch(t.tag){case 26:Gs(t,e,a),t.flags&Jg&&t.memoizedState!==null&&Iy(a,ru,t.memoizedState,t.memoizedProps);break;case 5:Gs(t,e,a);break;case 3:case 4:var u=ru;ru=Xm(t.stateNode.containerInfo),Gs(t,e,a),ru=u;break;case 22:t.memoizedState===null&&(u=t.alternate,u!==null&&u.memoizedState!==null?(u=Jg,Jg=16777216,Gs(t,e,a),Jg=u):Gs(t,e,a));break;default:Gs(t,e,a)}}function Oy(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Ol(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var u=e[a],c=ln();Ca=u,ao(u,t),(u.mode&re)!==Kt&&0<=Xt&&0<=kt&&.05<kt-Xt&&Gl(u,Xt,kt,"Unmount"),$n(c)}Oy(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Dm(t),t=t.sibling}function Dm(t){var e=ln(),a=Zl(),u=bl(),c=kl();switch(t.tag){case 0:case 11:case 15:Ol(t),t.flags&2048&&vm(t,t.return,Bl|xo);break;case 3:var h=Zi();Ol(t),t.stateNode.passiveEffectDuration+=Yr(h);break;case 12:h=Zi(),Ol(t),t.stateNode.passiveEffectDuration+=Ba(h);break;case 22:h=t.stateNode,t.memoizedState!==null&&h._visibility&nr&&(t.return===null||t.return.tag!==13)?(h._visibility&=~nr,Mm(t),(t.mode&re)!==Kt&&0<=Xt&&0<=kt&&.05<kt-Xt&&Gl(t,Xt,kt,"Disconnect")):Ol(t);break;default:Ol(t)}(t.mode&re)!==Kt&&0<=Xt&&0<=kt&&(Nn||.05<An)&&ri(t,Xt,kt,An,yn),$n(e),vl(a),Nn=c,yn=u}function Mm(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var u=e[a],c=ln();Ca=u,ao(u,t),(u.mode&re)!==Kt&&0<=Xt&&0<=kt&&.05<kt-Xt&&Gl(u,Xt,kt,"Unmount"),$n(c)}Oy(t)}for(t=t.child;t!==null;)zy(t),t=t.sibling}function zy(t){var e=ln(),a=Zl(),u=bl(),c=kl();switch(t.tag){case 0:case 11:case 15:vm(t,t.return,Bl),Mm(t);break;case 22:var h=t.stateNode;h._visibility&nr&&(h._visibility&=~nr,Mm(t));break;default:Mm(t)}(t.mode&re)!==Kt&&0<=Xt&&0<=kt&&(Nn||.05<An)&&ri(t,Xt,kt,An,yn),$n(e),vl(a),Nn=c,yn=u}function ao(t,e){for(;Ca!==null;){var a=Ca,u=a,c=e,h=ln(),S=Zl(),T=bl(),O=kl();switch(u.tag){case 0:case 11:case 15:vm(u,c,Bl);break;case 23:case 22:u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(c=u.memoizedState.cachePool.pool,c!=null&&Es(c));break;case 24:Of(u.memoizedState.cache)}if((u.mode&re)!==Kt&&0<=Xt&&0<=kt&&(Nn||.05<An)&&ri(u,Xt,kt,An,yn),$n(h),vl(S),Nn=O,yn=T,u=a.child,u!==null)u.return=a,Ca=u;else t:for(a=t;Ca!==null;){if(u=Ca,h=u.sibling,S=u.return,Un(u),u===a){Ca=null;break t}if(h!==null){h.return=S,Ca=h;break t}Ca=S}}}function Ry(){R_.forEach(function(t){return t()})}function wy(){var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return t||St.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),t}function Ea(t){if((xe&Sa)!==Oa&&fe!==0)return fe&-fe;var e=St.T;return e!==null?(e._updatedFibers||(e._updatedFibers=new Set),e._updatedFibers.add(t),qy()):Sh()}function lc(){if(ni===0)if((fe&536870912)===0||be){var t=Cd;Cd<<=1,(Cd&3932160)===0&&(Cd=262144),ni=t}else ni=536870912;return t=Ri.current,t!==null&&(t.flags|=32),ni}function Ft(t,e,a){if(Hp&&console.error("useInsertionEffect must not schedule updates."),R4&&(eb=!0),(t===Fe&&(Qe===Xd||Qe===Qd)||t.cancelPendingCommit!==null)&&(lo(t,0),$l(t,fe,ni,!1)),Pe(t,a),(xe&Sa)!==Oa&&t===Fe){if(fo)switch(e.tag){case 0:case 11:case 15:t=me&&q(me)||"Unknown",_D.has(t)||(_D.add(t),e=q(e)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",e,t,t));break;case 1:UD||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),UD=!0)}}else mo&&tn(t,e,a),sd(e),t===Fe&&((xe&Sa)===Oa&&(Jc|=a),Tn===Qc&&$l(t,fe,ni,!1)),ll(t)}function Uv(t,e,a){if((xe&(Sa|Ui))!==Oa)throw Error("Should not already be working.");if(fe!==0&&me!==null){var u=me,c=na();switch(Dx){case $g:case Xd:var h=_g;rn&&((u=u._debugTask)?u.run(console.timeStamp.bind(console,"Suspended",h,c,yo,void 0,"primary-light")):console.timeStamp("Suspended",h,c,yo,void 0,"primary-light"));break;case Qd:h=_g,rn&&((u=u._debugTask)?u.run(console.timeStamp.bind(console,"Action",h,c,yo,void 0,"primary-light")):console.timeStamp("Action",h,c,yo,void 0,"primary-light"));break;default:rn&&(u=c-_g,3>u||console.timeStamp("Blocked",_g,c,yo,void 0,5>u?"primary-light":10>u?"primary":100>u?"primary-dark":"error"))}}h=(a=!a&&(e&127)===0&&(e&t.expiredLanes)===0||ne(t,e))?Wo(t,e):uc(t,e,!0);var S=a;do{if(h===hr){Np&&!a&&$l(t,e,0,!1),e=Qe,_g=la(),Dx=e;break}else{if(u=na(),c=t.current.alternate,S&&!Nv(c)){si(e),c=Ma,h=u,!rn||h<=c||(Vn?Vn.run(console.timeStamp.bind(console,"Teared Render",c,h,Te,Se,"error")):console.timeStamp("Teared Render",c,h,Te,Se,"error")),qu(e,u),h=uc(t,e,!1),S=!1;continue}if(h===Gd){if(S=e,t.errorRecoveryDisabledLanes&S)var T=0;else T=t.pendingLanes&-536870913,T=T!==0?T:T&536870912?536870912:0;if(T!==0){si(e),U0(Ma,u,e,Vn),qu(e,u),e=T;t:{u=t,h=S,S=Wg;var O=u.current.memoizedState.isDehydrated;if(O&&(lo(u,T).flags|=256),T=uc(u,T,!1),T!==Gd){if(T4&&!O){u.errorRecoveryDisabledLanes|=h,Jc|=h,h=Qc;break t}u=Vl,Vl=S,u!==null&&(Vl===null?Vl=u:Vl.push.apply(Vl,u))}h=T}if(S=!1,h!==Gd)continue;u=na()}}if(h===Fg){si(e),U0(Ma,u,e,Vn),qu(e,u),lo(t,0),$l(t,e,0,!0);break}t:{switch(a=t,h){case hr:case Fg:throw Error("Root did not complete. This is a bug in React.");case Qc:if((e&4194048)!==e)break;case J2:si(e),sv(Ma,u,e,Vn),qu(e,u),c=e,(c&127)!==0?U2=u:(c&4194048)!==0&&(_2=u),$l(a,e,ni,!Zc);break t;case Gd:Vl=null;break;case k2:case bD:break;default:throw Error("Unknown root exit status.")}if(St.actQueue!==null)ke(a,c,e,Vl,Pg,$2,ni,Jc,Zd,h,null,null,Ma,u);else{if((e&62914560)===e&&(S=I2+TD-na(),10<S)){if($l(a,e,ni,!Zc),We(a,0,!0)!==0)break t;cu=e,a.timeoutHandle=qD(_v.bind(null,a,c,Vl,Pg,$2,e,ni,Jc,Zd,Zc,h,"Throttled",Ma,u),S);break t}_v(a,c,Vl,Pg,$2,e,ni,Jc,Zd,Zc,h,null,Ma,u)}}}break}while(!0);ll(t)}function _v(t,e,a,u,c,h,S,T,O,U,I,nt,X,gt){t.timeoutHandle=$d;var Nt=e.subtreeFlags,Bt=null;if((Nt&8192||(Nt&16785408)===16785408)&&(Bt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ql},xm(e,h,Bt),Nt=(h&62914560)===h?I2-na():(h&4194048)===h?AD-na():0,Nt=km(Bt,Nt),Nt!==null)){cu=h,t.cancelPendingCommit=Nt(ke.bind(null,t,e,h,a,u,c,S,T,O,I,Bt,Bt.waitingForViewTransition?"Waiting for the previous Animation":0<Bt.count?0<Bt.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Bt.imgCount===1?"Suspended on an Image":0<Bt.imgCount?"Suspended on Images":null,X,gt)),$l(t,h,S,!U);return}ke(t,e,h,a,u,c,S,T,O,I,Bt,nt,X,gt)}function Nv(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var u=0;u<a.length;u++){var c=a[u],h=c.getSnapshot;c=c.value;try{if(!Nl(h(),c))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function $l(t,e,a,u){e&=~E4,e&=~Jc,t.suspendedLanes|=e,t.pingedLanes&=~e,u&&(t.warmLanes|=e),u=t.expirationTimes;for(var c=e;0<c;){var h=31-ga(c),S=1<<h;u[h]=-1,c&=~S}a!==0&&Ln(t,a,e)}function zl(){return(xe&(Sa|Ui))===Oa?(oo(0),!1):!0}function Cm(){if(me!==null){if(Qe===ei)var t=me.return;else t=me,Vr(),Mu(t),Dp=null,Gg=0,t=me;for(;t!==null;)yy(t.alternate,t),t=t.return;me=null}}function qu(t,e){(t&127)!==0&&(_d=e),(t&4194048)!==0&&(ur=e),(t&62914560)!==0&&(Ex=e),(t&2080374784)!==0&&(xx=e)}function lo(t,e){rn&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Se,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Se,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Se,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Se,"primary-light"));var a=Ma;if(Ma=la(),fe!==0&&0<a){if(si(fe),Tn===k2||Tn===Qc)sv(a,Ma,e,Vn);else{var u=Ma,c=Vn;if(rn&&!(u<=a)){var h=(e&738197653)===e?"tertiary-dark":"primary-dark",S=(e&536870912)===e?"Prewarm":(e&201326741)===e?"Interrupted Hydration":"Interrupted Render";c?c.run(console.timeStamp.bind(console,S,a,u,Te,Se,h)):console.timeStamp(S,a,u,Te,Se,h)}}qu(fe,Ma)}if(a=Vn,Vn=null,(e&127)!==0){Vn=Rg,c=0<=Wu&&Wu<_d?_d:Wu,u=0<=Nd&&Nd<_d?_d:Nd,h=0<=u?u:0<=c?c:Ma,0<=U2?(si(2),rv(U2,h,e,a)):N2&127,a=c;var T=u,O=wg,U=0<Tp,I=Yc===zg,nt=Yc===w2;if(c=Ma,u=Rg,h=e4,S=n4,rn){if(Te="Blocking",0<a?a>c&&(a=c):a=c,0<T?T>a&&(T=a):T=a,O!==null&&a>T){var X=U?"secondary-light":"warning";u?u.run(console.timeStamp.bind(console,U?"Consecutive":"Event: "+O,T,a,Te,Se,X)):console.timeStamp(U?"Consecutive":"Event: "+O,T,a,Te,Se,X)}c>a&&(T=I?"error":(e&738197653)===e?"tertiary-light":"primary-light",I=nt?"Promise Resolved":I?"Cascading Update":5<c-a?"Update Blocked":"Update",nt=[],S!=null&&nt.push(["Component name",S]),h!=null&&nt.push(["Method name",h]),a={start:a,end:c,detail:{devtools:{properties:nt,track:Te,trackGroup:Se,color:T}}},u?u.run(performance.measure.bind(performance,I,a)):performance.measure(I,a))}Wu=-1.1,Yc=0,n4=e4=null,U2=-1.1,Tp=Nd,Nd=-1.1,_d=la()}if((e&4194048)!==0&&(Vn=Ug,c=0<=sr&&sr<ur?ur:sr,a=0<=To&&To<ur?ur:To,u=0<=qc&&qc<ur?ur:qc,h=0<=u?u:0<=a?a:Ma,0<=_2?(si(256),rv(_2,h,e,Vn)):N2&4194048,nt=u,T=jd,O=0<Gc,U=a4===w2,h=Ma,u=Ug,S=Ax,I=Tx,rn&&(Te="Transition",0<a?a>h&&(a=h):a=h,0<c?c>a&&(c=a):c=a,0<nt?nt>c&&(nt=c):nt=c,c>nt&&T!==null&&(X=O?"secondary-light":"warning",u?u.run(console.timeStamp.bind(console,O?"Consecutive":"Event: "+T,nt,c,Te,Se,X)):console.timeStamp(O?"Consecutive":"Event: "+T,nt,c,Te,Se,X)),a>c&&(u?u.run(console.timeStamp.bind(console,"Action",c,a,Te,Se,"primary-dark")):console.timeStamp("Action",c,a,Te,Se,"primary-dark")),h>a&&(c=U?"Promise Resolved":5<h-a?"Update Blocked":"Update",nt=[],I!=null&&nt.push(["Component name",I]),S!=null&&nt.push(["Method name",S]),a={start:a,end:h,detail:{devtools:{properties:nt,track:Te,trackGroup:Se,color:"primary-light"}}},u?u.run(performance.measure.bind(performance,c,a)):performance.measure(c,a))),To=sr=-1.1,a4=0,_2=-1.1,Gc=qc,qc=-1.1,ur=la()),(e&62914560)!==0&&(N2&62914560)!==0&&(si(4194304),_0(Ex,Ma)),(e&2080374784)!==0&&(N2&2080374784)!==0&&(si(268435456),_0(xx,Ma)),a=t.timeoutHandle,a!==$d&&(t.timeoutHandle=$d,X_(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),cu=0,Cm(),Fe=t,me=a=Xi(t.current,null),fe=e,Qe=ei,_i=null,Zc=!1,Np=ne(t,e),T4=!1,Tn=hr,Zd=ni=E4=Jc=kc=0,Vl=Wg=null,$2=!1,(e&8)!==0&&(e|=e&32),u=t.entangledLanes,u!==0)for(t=t.entanglements,u&=e;0<u;)c=31-ga(u),h=1<<c,e|=t[c],u&=~h;return ts=e,Lh(),t=px(),1e3<t-mx&&(St.recentlyCreatedOwnerStacks=0,mx=t),uu.discardPendingWarnings(),a}function Si(t,e){Wt=null,St.H=kg,St.getCurrentStack=null,fo=!1,sl=null,e===xp||e===V2?(e=Ms(),Qe=$g):e===u4?(e=Ms(),Qe=SD):Qe=e===g4?A4:e!==null&&typeof e=="object"&&typeof e.then=="function"?Ig:K2,_i=e;var a=me;a===null?(Tn=Fg,Jf(t,Ha(e,t.current))):a.mode&re&&kh(a)}function Uy(){var t=Ri.current;return t===null?!0:(fe&4194048)===fe?Eo===null:(fe&62914560)===fe||(fe&536870912)!==0?t===Eo:!1}function Om(){var t=St.H;return St.H=kg,t===null?kg:t}function _y(){var t=St.A;return St.A=z_,t}function ic(t){Vn===null&&(Vn=t._debugTask==null?null:t._debugTask)}function oc(){Tn=Qc,Zc||(fe&4194048)!==fe&&Ri.current!==null||(Np=!0),(kc&134217727)===0&&(Jc&134217727)===0||Fe===null||$l(Fe,fe,ni,!1)}function uc(t,e,a){var u=xe;xe|=Sa;var c=Om(),h=_y();if(Fe!==t||fe!==e){if(mo){var S=t.memoizedUpdaters;0<S.size&&(rc(t,fe),S.clear()),da(t,e)}Pg=null,lo(t,e)}e=!1,S=Tn;t:do try{if(Qe!==ei&&me!==null){var T=me,O=_i;switch(Qe){case A4:Cm(),S=J2;break t;case $g:case Xd:case Qd:case Ig:Ri.current===null&&(e=!0);var U=Qe;if(Qe=ei,_i=null,sc(t,T,O,U),a&&Np){S=hr;break t}break;default:U=Qe,Qe=ei,_i=null,sc(t,T,O,U)}}Ny(),S=Tn;break}catch(I){Si(t,I)}while(!0);return e&&t.shellSuspendCounter++,Vr(),xe=u,St.H=c,St.A=h,me===null&&(Fe=null,fe=0,Lh()),S}function Ny(){for(;me!==null;)zm(me)}function Wo(t,e){var a=xe;xe|=Sa;var u=Om(),c=_y();if(Fe!==t||fe!==e){if(mo){var h=t.memoizedUpdaters;0<h.size&&(rc(t,fe),h.clear()),da(t,e)}Pg=null,W2=na()+ED,lo(t,e)}else Np=ne(t,e);t:do try{if(Qe!==ei&&me!==null)e:switch(e=me,h=_i,Qe){case K2:Qe=ei,_i=null,sc(t,e,h,K2);break;case Xd:case Qd:if(Z0(h)){Qe=ei,_i=null,jy(e);break}e=function(){Qe!==Xd&&Qe!==Qd||Fe!==t||(Qe=F2),ll(t)},h.then(e,e);break t;case $g:Qe=F2;break t;case SD:Qe=S4;break t;case F2:Z0(h)?(Qe=ei,_i=null,jy(e)):(Qe=ei,_i=null,sc(t,e,h,F2));break;case S4:var S=null;switch(me.tag){case 26:S=me.memoizedState;case 5:case 27:var T=me;if(S?pe(S):T.stateNode.complete){Qe=ei,_i=null;var O=T.sibling;if(O!==null)me=O;else{var U=T.return;U!==null?(me=U,id(U)):me=null}break e}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Qe=ei,_i=null,sc(t,e,h,S4);break;case Ig:Qe=ei,_i=null,sc(t,e,h,Ig);break;case A4:Cm(),Tn=J2;break t;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}St.actQueue!==null?Ny():Hn();break}catch(I){Si(t,I)}while(!0);return Vr(),St.H=u,St.A=c,xe=a,me!==null?hr:(Fe=null,fe=0,Lh(),Tn)}function Hn(){for(;me!==null&&!ap();)zm(me)}function zm(t){var e=t.alternate;(t.mode&re)!==Kt?(qo(t),e=Ut(t,If,e,t,ts),kh(t)):e=Ut(t,If,e,t,ts),t.memoizedProps=t.pendingProps,e===null?id(t):me=e}function jy(t){var e=Ut(t,ea,t);t.memoizedProps=t.pendingProps,e===null?id(t):me=e}function ea(t){var e=t.alternate,a=(t.mode&re)!==Kt;switch(a&&qo(t),t.tag){case 15:case 0:e=cy(e,t,t.pendingProps,t.type,void 0,fe);break;case 11:e=cy(e,t,t.pendingProps,t.type.render,t.ref,fe);break;case 5:Mu(t);default:yy(e,t),t=me=B0(t,ts),e=If(e,t,ts)}return a&&kh(t),e}function sc(t,e,a,u){Vr(),Mu(e),Dp=null,Gg=0;var c=e.return;try{if(ay(t,c,e,a,fe)){Tn=Fg,Jf(t,Ha(a,t.current)),me=null;return}}catch(h){if(c!==null)throw me=c,h;Tn=Fg,Jf(t,Ha(a,t.current)),me=null;return}e.flags&32768?(be||u===K2?t=!0:Np||(fe&536870912)!==0?t=!1:(Zc=t=!0,(u===Xd||u===Qd||u===$g||u===Ig)&&(u=Ri.current,u!==null&&u.tag===13&&(u.flags|=16384))),Hy(e,t)):id(e)}function id(t){var e=t;do{if((e.flags&32768)!==0){Hy(e,Zc);return}var a=e.alternate;if(t=e.return,qo(e),a=Ut(e,py,a,e,ts),(e.mode&re)!==Kt&&zf(e),a!==null){me=a;return}if(e=e.sibling,e!==null){me=e;return}me=e=t}while(e!==null);Tn===hr&&(Tn=bD)}function Hy(t,e){do{var a=Dv(t.alternate,t);if(a!==null){a.flags&=32767,me=a;return}if((t.mode&re)!==Kt){zf(t),a=t.actualDuration;for(var u=t.child;u!==null;)a+=u.actualDuration,u=u.sibling;t.actualDuration=a}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){me=t;return}me=t=a}while(t!==null);Tn=J2,me=null}function ke(t,e,a,u,c,h,S,T,O,U,I,nt,X,gt){t.cancelPendingCommit=null;do od();while(ra!==Fc);if(uu.flushLegacyContextWarning(),uu.flushPendingUnsafeLifecycleWarnings(),(xe&(Sa|Ui))!==Oa)throw Error("Should not already be working.");if(si(a),U===Gd?U0(X,gt,a,Vn):u!==null?x3(X,gt,a,u,e!==null&&e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)!==0,Vn):E3(X,gt,a,Vn),e!==null){if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),e===t.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(h=e.lanes|e.childLanes,h|=$3,jo(t,a,h,S,T,O),t===Fe&&(me=Fe=null,fe=0),jp=e,$c=t,cu=a,M4=h,O4=c,zD=u,C4=gt,RD=nt,fu=P2,wD=null,e.actualDuration!==0||(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,cc(Ws,function(){return i1=window.event,fu===P2&&(fu=D4),ud(),null})):(t.callbackNode=null,t.callbackPriority=0),or=null,Lc=la(),nt!==null&&D3(gt,Lc,nt,Vn),u=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||u){u=St.T,St.T=null,c=ze.p,ze.p=Zn,S=xe,xe|=Ui;try{O3(t,e,a)}finally{xe=S,ze.p=c,St.T=u}}ra=DD,Za(),io(),By()}}function Za(){if(ra===DD){ra=Fc;var t=$c,e=jp,a=cu,u=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||u){u=St.T,St.T=null;var c=ze.p;ze.p=Zn;var h=xe;xe|=Ui;try{Up=a,_p=t,xs(),ed(e,t),_p=Up=null,a=L4;var S=Hh(t.containerInfo),T=a.focusedElem,O=a.selectionRange;if(S!==T&&T&&T.ownerDocument&&lv(T.ownerDocument.documentElement,T)){if(O!==null&&z0(T)){var U=O.start,I=O.end;if(I===void 0&&(I=U),"selectionStart"in T)T.selectionStart=U,T.selectionEnd=Math.min(I,T.value.length);else{var nt=T.ownerDocument||document,X=nt&&nt.defaultView||window;if(X.getSelection){var gt=X.getSelection(),Nt=T.textContent.length,Bt=Math.min(O.start,Nt),nn=O.end===void 0?Bt:Math.min(O.end,Nt);!gt.extend&&Bt>nn&&(S=nn,nn=Bt,Bt=S);var Ae=av(T,Bt),G=av(T,nn);if(Ae&&G&&(gt.rangeCount!==1||gt.anchorNode!==Ae.node||gt.anchorOffset!==Ae.offset||gt.focusNode!==G.node||gt.focusOffset!==G.offset)){var Q=nt.createRange();Q.setStart(Ae.node,Ae.offset),gt.removeAllRanges(),Bt>nn?(gt.addRange(Q),gt.extend(G.node,G.offset)):(Q.setEnd(G.node,G.offset),gt.addRange(Q))}}}}for(nt=[],gt=T;gt=gt.parentNode;)gt.nodeType===1&&nt.push({element:gt,left:gt.scrollLeft,top:gt.scrollTop});for(typeof T.focus=="function"&&T.focus(),T=0;T<nt.length;T++){var $=nt[T];$.element.scrollLeft=$.left,$.element.scrollTop=$.top}}pb=!!V4,L4=V4=null}finally{xe=h,ze.p=c,St.T=u}}t.current=e,ra=MD}}function io(){if(ra===MD){ra=Fc;var t=wD;if(t!==null){Lc=la();var e=ir,a=Lc;!rn||a<=e||console.timeStamp(t,e,a,Te,Se,"secondary-light")}t=$c,e=jp,a=cu;var u=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||u){u=St.T,St.T=null;var c=ze.p;ze.p=Zn;var h=xe;xe|=Ui;try{Up=a,_p=t,xs(),Tm(t,e.alternate,e),_p=Up=null}finally{xe=h,ze.p=c,St.T=u}}t=C4,e=RD,ir=la(),t=e===null?t:Lc,e=ir,a=fu===x4,u=Vn,or!==null?cv(t,e,or,!1,u):!rn||e<=t||(u?u.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",t,e,Te,Se,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",t,e,Te,Se,a?"error":"secondary-dark")),ra=CD}}function By(){if(ra===OD||ra===CD){if(ra===OD){var t=ir;ir=la();var e=ir,a=fu===x4;!rn||e<=t||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",t,e,Te,Se,a?" error":"secondary-light"),fu!==x4&&(fu=xD)}ra=Fc,lp(),t=$c;var u=jp;e=cu,a=zD;var c=u.actualDuration!==0||(u.subtreeFlags&10256)!==0||(u.flags&10256)!==0;c?ra=tb:(ra=Fc,jp=$c=null,Vy(t,t.pendingLanes),kd=0,e1=null);var h=t.pendingLanes;if(h===0&&(Kc=null),c||Um(t),h=Yn(e),u=u.stateNode,Qn&&typeof Qn.onCommitFiberRoot=="function")try{var S=(u.current.flags&128)===128;switch(h){case Zn:var T=mg;break;case va:T=ip;break;case Da:T=Ws;break;case Fu:T=op;break;default:T=Ws}Qn.onCommitFiberRoot(Ps,u,T,S)}catch(nt){ho||(ho=!0,console.error("React instrumentation encountered an error: %o",nt))}if(mo&&t.memoizedUpdaters.clear(),Ry(),a!==null){S=St.T,T=ze.p,ze.p=Zn,St.T=null;try{var O=t.onRecoverableError;for(u=0;u<a.length;u++){var U=a[u],I=jv(U.stack);Ut(U.source,O,U.value,I)}}finally{St.T=S,ze.p=T}}(cu&3)!==0&&od(),ll(t),h=t.pendingLanes,(e&261930)!==0&&(h&42)!==0?(H2=!0,t===z4?t1++:(t1=0,z4=t)):t1=0,c||qu(e,ir),oo(0)}}function jv(t){return t={componentStack:t},Object.defineProperty(t,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),t}function Vy(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Of(e)))}function od(){return Za(),io(),By(),ud()}function ud(){if(ra!==tb)return!1;var t=$c,e=M4;M4=0;var a=Yn(cu),u=Da>a?Da:a;a=St.T;var c=ze.p;try{ze.p=u,St.T=null;var h=O4;O4=null,u=$c;var S=cu;if(ra=Fc,jp=$c=null,cu=0,(xe&(Sa|Ui))!==Oa)throw Error("Cannot flush passive effects while already rendering.");si(S),R4=!0,eb=!1;var T=0;if(or=null,T=na(),fu===xD)_0(ir,T,T_);else{var O=ir,U=T,I=fu===D4;!rn||U<=O||(Vn?Vn.run(console.timeStamp.bind(console,I?"Waiting for Paint":"Waiting",O,U,Te,Se,"secondary-light")):console.timeStamp(I?"Waiting for Paint":"Waiting",O,U,Te,Se,"secondary-light"))}O=xe,xe|=Ui;var nt=u.current;xs(),Dm(nt);var X=u.current;nt=C4,xs(),Cy(u,X,S,h,nt),Um(u),xe=O;var gt=na();if(X=T,nt=Vn,or!==null?cv(X,gt,or,!0,nt):!rn||gt<=X||(nt?nt.run(console.timeStamp.bind(console,"Remaining Effects",X,gt,Te,Se,"secondary-dark")):console.timeStamp("Remaining Effects",X,gt,Te,Se,"secondary-dark")),qu(S,gt),oo(0,!1),eb?u===e1?kd++:(kd=0,e1=u):kd=0,eb=R4=!1,Qn&&typeof Qn.onPostCommitFiberRoot=="function")try{Qn.onPostCommitFiberRoot(Ps,u)}catch(Bt){ho||(ho=!0,console.error("React instrumentation encountered an error: %o",Bt))}var Nt=u.current.stateNode;return Nt.effectDuration=0,Nt.passiveEffectDuration=0,!0}finally{ze.p=c,St.T=a,Vy(t,e)}}function ka(t,e,a){e=Ha(a,e),yv(e),e=sm(t.stateNode,e,2),t=Ji(t,e,2),t!==null&&(Pe(t,2),ll(t))}function ie(t,e,a){if(Hp=!1,t.tag===3)ka(t,t,a);else{for(;e!==null;){if(e.tag===3){ka(e,t,a);return}if(e.tag===1){var u=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Kc===null||!Kc.has(u))){t=Ha(a,t),yv(t),a=rm(2),u=Ji(e,a,2),u!==null&&(cm(a,u,e,t),Pe(u,2),ll(u));return}}e=e.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
151
-
152
- Error message:
153
-
154
- %s`,a)}}function Rm(t,e,a){var u=t.pingCache;if(u===null){u=t.pingCache=new w_;var c=new Set;u.set(e,c)}else c=u.get(e),c===void 0&&(c=new Set,u.set(e,c));c.has(a)||(T4=!0,c.add(a),u=al.bind(null,t,e,a),mo&&rc(t,a),e.then(u,u))}function al(t,e,a){var u=t.pingCache;u!==null&&u.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,(a&127)!==0?0>Wu&&(_d=Wu=la(),Rg=R2("Promise Resolved"),Yc=w2):(a&4194048)!==0&&0>To&&(ur=To=la(),Ug=R2("Promise Resolved"),a4=w2),wy()&&St.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
155
-
156
- When testing, code that resolves suspended data should be wrapped into act(...):
157
-
158
- act(() => {
159
- /* finish loading suspended data */
160
- });
161
- /* assert on the output */
162
-
163
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Fe===t&&(fe&a)===a&&(Tn===Qc||Tn===k2&&(fe&62914560)===fe&&na()-I2<TD?(xe&Sa)===Oa&&lo(t,0):E4|=a,Zd===fe&&(Zd=0)),ll(t)}function Ly(t,e){e===0&&(e=dl()),t=Aa(t,e),t!==null&&(Pe(t,e),ll(t))}function Po(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),Ly(t,a)}function Xs(t,e){var a=0;switch(t.tag){case 31:case 13:var u=t.stateNode,c=t.memoizedState;c!==null&&(a=c.retryLane);break;case 19:u=t.stateNode;break;case 22:u=t.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(e),Ly(t,a)}function Ai(t,e,a){if((e.subtreeFlags&67117056)!==0)for(e=e.child;e!==null;){var u=t,c=e,h=c.type===Fa;h=a||h,c.tag!==22?c.flags&67108864?h&&Ut(c,wm,u,c):Ai(u,c,h):c.memoizedState===null&&(h&&c.flags&8192?Ut(c,wm,u,c):c.subtreeFlags&67108864&&Ut(c,Ai,u,c,h)),e=e.sibling}}function wm(t,e){le(!0);try{Em(e),zy(e),My(t,e.alternate,e,!1),ld(t,e,0,null,!1,0)}finally{le(!1)}}function Um(t){var e=!0;t.current.mode&(rl|ou)||(e=!1),Ai(t,t.current,e)}function Il(t){if((xe&Sa)===Oa){var e=t.tag;if(e===3||e===1||e===0||e===11||e===14||e===15){if(e=q(t)||"ReactComponent",nb!==null){if(nb.has(e))return;nb.add(e)}else nb=new Set([e]);Ut(t,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function rc(t,e){mo&&t.memoizedUpdaters.forEach(function(a){tn(t,a,e)})}function cc(t,e){var a=St.actQueue;return a!==null?(a.push(e),N_):hg(t,e)}function sd(t){wy()&&St.actQueue===null&&Ut(t,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
164
-
165
- When testing, code that causes React state updates should be wrapped into act(...):
166
-
167
- act(() => {
168
- /* fire events that update state */
169
- });
170
- /* assert on the output */
171
-
172
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,q(t))})}function ll(t){t!==Bp&&t.next===null&&(Bp===null?ab=Bp=t:Bp=Bp.next=t),lb=!0,St.actQueue!==null?U4||(U4=!0,Bv()):w4||(w4=!0,Bv())}function oo(t,e){if(!_4&&lb){_4=!0;do for(var a=!1,u=ab;u!==null;){if(t!==0){var c=u.pendingLanes;if(c===0)var h=0;else{var S=u.suspendedLanes,T=u.pingedLanes;h=(1<<31-ga(42|t)+1)-1,h&=c&~(S&~T),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(a=!0,rd(u,h))}else h=fe,h=We(u,u===Fe?h:0,u.cancelPendingCommit!==null||u.timeoutHandle!==$d),(h&3)===0||ne(u,h)||(a=!0,rd(u,h));u=u.next}while(a);_4=!1}}function Hv(){i1=window.event,_m()}function _m(){lb=U4=w4=!1;var t=0;Ic!==0&&Xy()&&(t=Ic);for(var e=na(),a=null,u=ab;u!==null;){var c=u.next,h=fc(u,e);h===0?(u.next=null,a===null?ab=c:a.next=c,c===null&&(Bp=a)):(a=u,(t!==0||(h&3)!==0)&&(lb=!0)),u=c}ra!==Fc&&ra!==tb||oo(t),Ic!==0&&(Ic=0)}function fc(t,e){for(var a=t.suspendedLanes,u=t.pingedLanes,c=t.expirationTimes,h=t.pendingLanes&-62914561;0<h;){var S=31-ga(h),T=1<<S,O=c[S];O===-1?((T&a)===0||(T&u)!==0)&&(c[S]=wa(T,e)):O<=e&&(t.expiredLanes|=T),h&=~T}if(e=Fe,a=fe,a=We(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==$d),u=t.callbackNode,a===0||t===e&&(Qe===Xd||Qe===Qd)||t.cancelPendingCommit!==null)return u!==null&&Nm(u),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||ne(t,a)){if(e=a&-a,e!==t.callbackPriority||St.actQueue!==null&&u!==N4)Nm(u);else return e;switch(Yn(a)){case Zn:case va:a=ip;break;case Da:a=Ws;break;case Fu:a=op;break;default:a=Ws}return u=Yy.bind(null,t),St.actQueue!==null?(St.actQueue.push(u),a=N4):a=hg(a,u),t.callbackPriority=e,t.callbackNode=a,e}return u!==null&&Nm(u),t.callbackPriority=2,t.callbackNode=null,2}function Yy(t,e){if(H2=j2=!1,i1=window.event,ra!==Fc&&ra!==tb)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(fu===P2&&(fu=D4),od()&&t.callbackNode!==a)return null;var u=fe;return u=We(t,t===Fe?u:0,t.cancelPendingCommit!==null||t.timeoutHandle!==$d),u===0?null:(Uv(t,u,e),fc(t,na()),t.callbackNode!=null&&t.callbackNode===a?Yy.bind(null,t):null)}function rd(t,e){if(od())return null;j2=H2,H2=!1,Uv(t,e,!0)}function Nm(t){t!==N4&&t!==null&&np(t)}function Bv(){St.actQueue!==null&&St.actQueue.push(function(){return _m(),null}),Q_(function(){(xe&(Sa|Ui))!==Oa?hg(mg,Hv):_m()})}function qy(){if(Ic===0){var t=Hd;t===0&&(t=zc,zc<<=1,(zc&261888)===0&&(zc=256)),Ic=t}return Ic}function De(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:(te(t,"action"),vf(""+t))}function qe(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function ve(t,e,a,u,c){if(e==="submit"&&a&&a.stateNode===c){var h=De((c[$a]||null).action),S=u.submitter;S&&(e=(e=S[$a]||null)?De(e.formAction):S.getAttribute("formAction"),e!==null&&(h=e,S=null));var T=new E2("action","action",null,u,c);t.push({event:T,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Ic!==0){var O=S?qe(c,S):new FormData(c),U={pending:!0,data:O,method:c.method,action:h};Object.freeze(U),Fo(a,U,null,O)}}else typeof h=="function"&&(T.preventDefault(),O=S?qe(c,S):new FormData(c),U={pending:!0,data:O,method:c.method,action:h},Object.freeze(U),Fo(a,U,h,O))},currentTarget:c}]})}}function he(t,e,a){t.currentTarget=a;try{e(t)}catch(u){k3(u)}t.currentTarget=null}function je(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var u=t[a];t:{var c=void 0,h=u.event;if(u=u.listeners,e)for(var S=u.length-1;0<=S;S--){var T=u[S],O=T.instance,U=T.currentTarget;if(T=T.listener,O!==c&&h.isPropagationStopped())break t;O!==null?Ut(O,he,h,T,U):he(h,T,U),c=O}else for(S=0;S<u.length;S++){if(T=u[S],O=T.instance,U=T.currentTarget,T=T.listener,O!==c&&h.isPropagationStopped())break t;O!==null?Ut(O,he,h,T,U):he(h,T,U),c=O}}}}function Jt(t,e){j4.has(t)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var a=e[tr];a===void 0&&(a=e[tr]=new Set);var u=t+"__bubble";a.has(u)||(jm(e,t,2,!1),a.add(u))}function uo(t,e,a){j4.has(t)&&!e&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var u=0;e&&(u|=4),jm(a,t,u,e)}function Gu(t){if(!t[ib]){t[ib]=!0,v2.forEach(function(a){a!=="selectionchange"&&(j4.has(a)||uo(a,!1,t),uo(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[ib]||(e[ib]=!0,uo("selectionchange",!1,e))}}function jm(t,e,a,u){switch(Fm(e)){case Zn:var c=ng;break;case va:c=ya;break;default:c=ag}a=c.bind(null,e,a,t),c=void 0,!H3||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(c=!0),u?c!==void 0?t.addEventListener(e,a,{capture:!0,passive:c}):t.addEventListener(e,a,!0):c!==void 0?t.addEventListener(e,a,{passive:c}):t.addEventListener(e,a,!1)}function Ti(t,e,a,u,c){var h=u;if((e&1)===0&&(e&2)===0&&u!==null)t:for(;;){if(u===null)return;var S=u.tag;if(S===3||S===4){var T=u.stateNode.containerInfo;if(T===c)break;if(S===4)for(S=u.return;S!==null;){var O=S.tag;if((O===3||O===4)&&S.stateNode.containerInfo===c)return;S=S.return}for(;T!==null;){if(S=_a(T),S===null)return;if(O=S.tag,O===5||O===6||O===26||O===27){u=h=S;continue t}T=T.parentNode}}u=u.return}Uh(function(){var U=h,I=oi(a),nt=[];t:{var X=hx.get(t);if(X!==void 0){var gt=E2,Nt=t;switch(t){case"keypress":if(bf(a)===0)break t;case"keydown":case"keyup":gt=FU;break;case"focusin":Nt="focus",gt=Y3;break;case"focusout":Nt="blur",gt=Y3;break;case"beforeblur":case"afterblur":gt=Y3;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":gt=P6;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":gt=BU;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":gt=WU;break;case rx:case cx:case fx:gt=YU;break;case dx:gt=t_;break;case"scroll":case"scrollend":gt=jU;break;case"wheel":gt=n_;break;case"copy":case"cut":case"paste":gt=GU;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":gt=ex;break;case"toggle":case"beforetoggle":gt=l_}var Bt=(e&4)!==0,nn=!Bt&&(t==="scroll"||t==="scrollend"),Ae=Bt?X!==null?X+"Capture":null:X;Bt=[];for(var G=U,Q;G!==null;){var $=G;if(Q=$.stateNode,$=$.tag,$!==5&&$!==26&&$!==27||Q===null||Ae===null||($=qi(G,Ae),$!=null&&Bt.push(Je(G,$,Q))),nn)break;G=G.return}0<Bt.length&&(X=new gt(X,Nt,null,a,I),nt.push({event:X,listeners:Bt}))}}if((e&7)===0){t:{if(X=t==="mouseover"||t==="pointerover",gt=t==="mouseout"||t==="pointerout",X&&a!==bg&&(Nt=a.relatedTarget||a.fromElement)&&(_a(Nt)||Nt[iu]))break t;if((gt||X)&&(X=I.window===I?I:(X=I.ownerDocument)?X.defaultView||X.parentWindow:window,gt?(Nt=a.relatedTarget||a.toElement,gt=U,Nt=Nt?_a(Nt):null,Nt!==null&&(nn=B(Nt),Bt=Nt.tag,Nt!==nn||Bt!==5&&Bt!==27&&Bt!==6)&&(Nt=null)):(gt=null,Nt=U),gt!==Nt)){if(Bt=P6,$="onMouseLeave",Ae="onMouseEnter",G="mouse",(t==="pointerout"||t==="pointerover")&&(Bt=ex,$="onPointerLeave",Ae="onPointerEnter",G="pointer"),nn=gt==null?X:ha(gt),Q=Nt==null?X:ha(Nt),X=new Bt($,G+"leave",gt,a,I),X.target=nn,X.relatedTarget=Q,$=null,_a(I)===U&&(Bt=new Bt(Ae,G+"enter",Nt,a,I),Bt.target=Q,Bt.relatedTarget=nn,$=Bt),nn=$,gt&&Nt)e:{for(Bt=Qs,Ae=gt,G=Nt,Q=0,$=Ae;$;$=Bt($))Q++;$=0;for(var xt=G;xt;xt=Bt(xt))$++;for(;0<Q-$;)Ae=Bt(Ae),Q--;for(;0<$-Q;)G=Bt(G),$--;for(;Q--;){if(Ae===G||G!==null&&Ae===G.alternate){Bt=Ae;break e}Ae=Bt(Ae),G=Bt(G)}Bt=null}else Bt=null;gt!==null&&Hm(nt,X,gt,Bt,!1),Nt!==null&&nn!==null&&Hm(nt,nn,Nt,Bt,!0)}}t:{if(X=U?ha(U):window,gt=X.nodeName&&X.nodeName.toLowerCase(),gt==="select"||gt==="input"&&X.type==="file")var jt=vu;else if(M0(X))if(ux)jt=Ef;else{jt=C0;var Pt=T3}else gt=X.nodeName,!gt||gt.toLowerCase()!=="input"||X.type!=="checkbox"&&X.type!=="radio"?U&&Yi(U.elementType)&&(jt=vu):jt=O0;if(jt&&(jt=jt(t,U))){Af(nt,jt,a,I);break t}Pt&&Pt(t,X,U),t==="focusout"&&U&&X.type==="number"&&U.memoizedProps.value!=null&&g0(X,"number",X.value)}switch(Pt=U?ha(U):window,t){case"focusin":(M0(Pt)||Pt.contentEditable==="true")&&(mp=Pt,G3=U,Mg=null);break;case"focusout":Mg=G3=mp=null;break;case"mousedown":X3=!0;break;case"contextmenu":case"mouseup":case"dragend":X3=!1,iv(nt,a,I);break;case"selectionchange":if(s_)break;case"keydown":case"keyup":iv(nt,a,I)}var Gt;if(q3)t:{switch(t){case"compositionstart":var Yt="onCompositionStart";break t;case"compositionend":Yt="onCompositionEnd";break t;case"compositionupdate":Yt="onCompositionUpdate";break t}Yt=void 0}else hp?_r(t,a)&&(Yt="onCompositionEnd"):t==="keydown"&&a.keyCode===nx&&(Yt="onCompositionStart");Yt&&(ax&&a.locale!=="ko"&&(hp||Yt!=="onCompositionStart"?Yt==="onCompositionEnd"&&hp&&(Gt=ms()):(Nc=I,B3="value"in Nc?Nc.value:Nc.textContent,hp=!0)),Pt=Ei(U,Yt),0<Pt.length&&(Yt=new tx(Yt,t,null,a,I),nt.push({event:Yt,listeners:Pt}),Gt?Yt.data=Gt:(Gt=Lo(a),Gt!==null&&(Yt.data=Gt)))),(Gt=o_?D0(t,a):_h(t,a))&&(Yt=Ei(U,"onBeforeInput"),0<Yt.length&&(Pt=new QU("onBeforeInput","beforeinput",null,a,I),nt.push({event:Pt,listeners:Yt}),Pt.data=Gt)),ve(nt,t,U,a,I)}je(nt,e)})}function Je(t,e,a){return{instance:t,listener:e,currentTarget:a}}function Ei(t,e){for(var a=e+"Capture",u=[];t!==null;){var c=t,h=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||h===null||(c=qi(t,a),c!=null&&u.unshift(Je(t,c,h)),c=qi(t,e),c!=null&&u.push(Je(t,c,h))),t.tag===3)return u;t=t.return}return[]}function Qs(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Hm(t,e,a,u,c){for(var h=e._reactName,S=[];a!==null&&a!==u;){var T=a,O=T.alternate,U=T.stateNode;if(T=T.tag,O!==null&&O===u)break;T!==5&&T!==26&&T!==27||U===null||(O=U,c?(U=qi(a,h),U!=null&&S.unshift(Je(a,U,O))):c||(U=qi(a,h),U!=null&&S.push(Je(a,U,O)))),a=a.return}S.length!==0&&t.push({event:e,listeners:S})}function Ja(t,e){tv(t,e),t!=="input"&&t!=="textarea"&&t!=="select"||e==null||e.value!==null||I6||(I6=!0,t==="select"&&e.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",t):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t));var a={registrationNameDependencies:po,possibleRegistrationNames:Uc};Yi(t)||typeof e.is=="string"||A3(t,e,a),e.contentEditable&&!e.suppressContentEditableWarning&&e.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function mn(t,e,a,u){e!==a&&(a=xi(a),xi(e)!==a&&(u[t]=e))}function cd(t,e,a){e.forEach(function(u){a[tu(u)]=u==="style"?Xu(t):t.getAttribute(u)})}function pn(t,e){e===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",t,t,t):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof e)}function Bm(t,e){return t=t.namespaceURI===ee||t.namespaceURI===oe?t.ownerDocument.createElementNS(t.namespaceURI,t.tagName):t.ownerDocument.createElement(t.tagName),t.innerHTML=e,t.innerHTML}function xi(t){return Dn(t)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",fl(t)),Re(t)),(typeof t=="string"?t:""+t).replace(j_,`
173
- `).replace(H_,"")}function Gy(t,e){return e=xi(e),xi(t)===e}function Oe(t,e,a,u,c,h){switch(a){case"children":typeof u=="string"?(gf(u,e,!1),e==="body"||e==="textarea"&&u===""||hs(t,u)):(typeof u=="number"||typeof u=="bigint")&&(gf(""+u,e,!1),e!=="body"&&hs(t,""+u));break;case"className":mf(t,"class",u);break;case"tabIndex":mf(t,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":mf(t,a,u);break;case"style":T0(t,u,h);break;case"data":if(e!=="object"){mf(t,"data",u);break}case"src":case"href":if(u===""&&(e!=="a"||a!=="href")){console.error(a==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',a,a),t.removeAttribute(a);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){t.removeAttribute(a);break}te(u,a),u=vf(""+u),t.setAttribute(a,u);break;case"action":case"formAction":if(u!=null&&(e==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof u=="function"&&(c.encType==null&&c.method==null||sb||(sb=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),c.target==null||ub||(ub=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):e==="input"||e==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):e!=="input"||c.type==="submit"||c.type==="image"||ob?e!=="button"||c.type==null||c.type==="submit"||ob?typeof u=="function"&&(c.name==null||HD||(HD=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),c.formEncType==null&&c.formMethod==null||sb||(sb=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),c.formTarget==null||ub||(ub=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(ob=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(ob=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(a==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof u=="function"){t.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof h=="function"&&(a==="formAction"?(e!=="input"&&Oe(t,e,"name",c.name,c,null),Oe(t,e,"formEncType",c.formEncType,c,null),Oe(t,e,"formMethod",c.formMethod,c,null),Oe(t,e,"formTarget",c.formTarget,c,null)):(Oe(t,e,"encType",c.encType,c,null),Oe(t,e,"method",c.method,c,null),Oe(t,e,"target",c.target,c,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){t.removeAttribute(a);break}te(u,a),u=vf(""+u),t.setAttribute(a,u);break;case"onClick":u!=null&&(typeof u!="function"&&pn(a,u),t.onclick=ql);break;case"onScroll":u!=null&&(typeof u!="function"&&pn(a,u),Jt("scroll",t));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&pn(a,u),Jt("scrollend",t));break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=u.__html,a!=null){if(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");t.innerHTML=a}}break;case"multiple":t.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":t.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){t.removeAttribute("xlink:href");break}te(u,a),a=vf(""+u),t.setAttributeNS(Jd,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?(te(u,a),t.setAttribute(a,""+u)):t.removeAttribute(a);break;case"inert":u!==""||rb[a]||(rb[a]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",a));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":u===!0?t.setAttribute(a,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?(te(u,a),t.setAttribute(a,u)):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?(te(u,a),t.setAttribute(a,u)):t.removeAttribute(a);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?t.removeAttribute(a):(te(u,a),t.setAttribute(a,u));break;case"popover":Jt("beforetoggle",t),Jt("toggle",t),Ah(t,"popover",u);break;case"xlinkActuate":Bi(t,Jd,"xlink:actuate",u);break;case"xlinkArcrole":Bi(t,Jd,"xlink:arcrole",u);break;case"xlinkRole":Bi(t,Jd,"xlink:role",u);break;case"xlinkShow":Bi(t,Jd,"xlink:show",u);break;case"xlinkTitle":Bi(t,Jd,"xlink:title",u);break;case"xlinkType":Bi(t,Jd,"xlink:type",u);break;case"xmlBase":Bi(t,H4,"xml:base",u);break;case"xmlLang":Bi(t,H4,"xml:lang",u);break;case"xmlSpace":Bi(t,H4,"xml:space",u);break;case"is":h!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Ah(t,"is",u);break;case"innerText":case"textContent":break;case"popoverTarget":BD||u==null||typeof u!="object"||(BD=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",u));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=W1(a),Ah(t,a,u)):po.hasOwnProperty(a)&&u!=null&&typeof u!="function"&&pn(a,u)}}function dc(t,e,a,u,c,h){switch(a){case"style":T0(t,u,h);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=u.__html,a!=null){if(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");t.innerHTML=a}}break;case"children":typeof u=="string"?hs(t,u):(typeof u=="number"||typeof u=="bigint")&&hs(t,""+u);break;case"onScroll":u!=null&&(typeof u!="function"&&pn(a,u),Jt("scroll",t));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&pn(a,u),Jt("scrollend",t));break;case"onClick":u!=null&&(typeof u!="function"&&pn(a,u),t.onclick=ql);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(po.hasOwnProperty(a))u!=null&&typeof u!="function"&&pn(a,u);else t:{if(a[0]==="o"&&a[1]==="n"&&(c=a.endsWith("Capture"),e=a.slice(2,c?a.length-7:void 0),h=t[$a]||null,h=h!=null?h[a]:null,typeof h=="function"&&t.removeEventListener(e,h,c),typeof u=="function")){typeof h!="function"&&h!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,u,c);break t}a in t?t[a]=u:u===!0?t.setAttribute(a,""):Ah(t,a,u)}}}function un(t,e,a){switch(Ja(e,a),e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Jt("error",t),Jt("load",t);var u=!1,c=!1,h;for(h in a)if(a.hasOwnProperty(h)){var S=a[h];if(S!=null)switch(h){case"src":u=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Oe(t,e,h,S,a,null)}}c&&Oe(t,e,"srcSet",a.srcSet,a,null),u&&Oe(t,e,"src",a.src,a,null);return;case"input":Na("input",a),Jt("invalid",t);var T=h=S=c=null,O=null,U=null;for(u in a)if(a.hasOwnProperty(u)){var I=a[u];if(I!=null)switch(u){case"name":c=I;break;case"type":S=I;break;case"checked":O=I;break;case"defaultChecked":U=I;break;case"value":h=I;break;case"defaultValue":T=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Oe(t,e,u,I,a,null)}}ja(t,a),xh(t,h,T,O,U,S,c,!1);return;case"select":Na("select",a),Jt("invalid",t),u=S=h=null;for(c in a)if(a.hasOwnProperty(c)&&(T=a[c],T!=null))switch(c){case"value":h=T;break;case"defaultValue":S=T;break;case"multiple":u=T;default:Oe(t,e,c,T,a,null)}Dh(t,a),e=h,a=S,t.multiple=!!u,e!=null?Vi(t,!!u,e,!1):a!=null&&Vi(t,!!u,a,!0);return;case"textarea":Na("textarea",a),Jt("invalid",t),h=c=u=null;for(S in a)if(a.hasOwnProperty(S)&&(T=a[S],T!=null))switch(S){case"value":u=T;break;case"defaultValue":c=T;break;case"children":h=T;break;case"dangerouslySetInnerHTML":if(T!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Oe(t,e,S,T,a,null)}rs(t,a),Cr(t,u,c,h);return;case"option":I1(t,a);for(O in a)a.hasOwnProperty(O)&&(u=a[O],u!=null)&&(O==="selected"?t.selected=u&&typeof u!="function"&&typeof u!="symbol":Oe(t,e,O,u,a,null));return;case"dialog":Jt("beforetoggle",t),Jt("toggle",t),Jt("cancel",t),Jt("close",t);break;case"iframe":case"object":Jt("load",t);break;case"video":case"audio":for(u=0;u<n1.length;u++)Jt(n1[u],t);break;case"image":Jt("error",t),Jt("load",t);break;case"details":Jt("toggle",t);break;case"embed":case"source":case"link":Jt("error",t),Jt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(U in a)if(a.hasOwnProperty(U)&&(u=a[U],u!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Oe(t,e,U,u,a,null)}return;default:if(Yi(e)){for(I in a)a.hasOwnProperty(I)&&(u=a[I],u!==void 0&&dc(t,e,I,u,a,void 0));return}}for(T in a)a.hasOwnProperty(T)&&(u=a[T],u!=null&&Oe(t,e,T,u,a,null))}function Xn(t,e,a,u){switch(Ja(e,u),e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,h=null,S=null,T=null,O=null,U=null,I=null;for(gt in a){var nt=a[gt];if(a.hasOwnProperty(gt)&&nt!=null)switch(gt){case"checked":break;case"value":break;case"defaultValue":O=nt;default:u.hasOwnProperty(gt)||Oe(t,e,gt,null,u,nt)}}for(var X in u){var gt=u[X];if(nt=a[X],u.hasOwnProperty(X)&&(gt!=null||nt!=null))switch(X){case"type":h=gt;break;case"name":c=gt;break;case"checked":U=gt;break;case"defaultChecked":I=gt;break;case"value":S=gt;break;case"defaultValue":T=gt;break;case"children":case"dangerouslySetInnerHTML":if(gt!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:gt!==nt&&Oe(t,e,X,gt,u,nt)}}e=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,u=u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null,e||!u||jD||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),jD=!0),!e||u||ND||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),ND=!0),pu(t,S,T,O,U,I,h,c);return;case"select":gt=S=T=X=null;for(h in a)if(O=a[h],a.hasOwnProperty(h)&&O!=null)switch(h){case"value":break;case"multiple":gt=O;default:u.hasOwnProperty(h)||Oe(t,e,h,null,u,O)}for(c in u)if(h=u[c],O=a[c],u.hasOwnProperty(c)&&(h!=null||O!=null))switch(c){case"value":X=h;break;case"defaultValue":T=h;break;case"multiple":S=h;default:h!==O&&Oe(t,e,c,h,u,O)}u=T,e=S,a=gt,X!=null?Vi(t,!!e,X,!1):!!a!=!!e&&(u!=null?Vi(t,!!e,u,!0):Vi(t,!!e,e?[]:"",!1));return;case"textarea":gt=X=null;for(T in a)if(c=a[T],a.hasOwnProperty(T)&&c!=null&&!u.hasOwnProperty(T))switch(T){case"value":break;case"children":break;default:Oe(t,e,T,null,u,c)}for(S in u)if(c=u[S],h=a[S],u.hasOwnProperty(S)&&(c!=null||h!=null))switch(S){case"value":X=c;break;case"defaultValue":gt=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:c!==h&&Oe(t,e,S,c,u,h)}cs(t,X,gt);return;case"option":for(var Nt in a)X=a[Nt],a.hasOwnProperty(Nt)&&X!=null&&!u.hasOwnProperty(Nt)&&(Nt==="selected"?t.selected=!1:Oe(t,e,Nt,null,u,X));for(O in u)X=u[O],gt=a[O],u.hasOwnProperty(O)&&X!==gt&&(X!=null||gt!=null)&&(O==="selected"?t.selected=X&&typeof X!="function"&&typeof X!="symbol":Oe(t,e,O,X,u,gt));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Bt in a)X=a[Bt],a.hasOwnProperty(Bt)&&X!=null&&!u.hasOwnProperty(Bt)&&Oe(t,e,Bt,null,u,X);for(U in u)if(X=u[U],gt=a[U],u.hasOwnProperty(U)&&X!==gt&&(X!=null||gt!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Oe(t,e,U,X,u,gt)}return;default:if(Yi(e)){for(var nn in a)X=a[nn],a.hasOwnProperty(nn)&&X!==void 0&&!u.hasOwnProperty(nn)&&dc(t,e,nn,void 0,u,X);for(I in u)X=u[I],gt=a[I],!u.hasOwnProperty(I)||X===gt||X===void 0&&gt===void 0||dc(t,e,I,X,u,gt);return}}for(var Ae in a)X=a[Ae],a.hasOwnProperty(Ae)&&X!=null&&!u.hasOwnProperty(Ae)&&Oe(t,e,Ae,null,u,X);for(nt in u)X=u[nt],gt=a[nt],!u.hasOwnProperty(nt)||X===gt||X==null&&gt==null||Oe(t,e,nt,X,u,gt)}function tu(t){switch(t){case"class":return"className";case"for":return"htmlFor";default:return t}}function Xu(t){var e={};t=t.style;for(var a=0;a<t.length;a++){var u=t[a];e[u]=t.getPropertyValue(u)}return e}function so(t,e,a){if(e!=null&&typeof e!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var u,c=u="",h;for(h in e)if(e.hasOwnProperty(h)){var S=e[h];S!=null&&typeof S!="boolean"&&S!==""&&(h.indexOf("--")===0?(Be(S,h),u+=c+h+":"+(""+S).trim()):typeof S!="number"||S===0||Lt.has(h)?(Be(S,h),u+=c+h.replace(At,"-$1").toLowerCase().replace(Vt,"-ms-")+":"+(""+S).trim()):u+=c+h.replace(At,"-$1").toLowerCase().replace(Vt,"-ms-")+":"+S+"px",c=";")}u=u||null,e=t.getAttribute("style"),e!==u&&(u=xi(u),xi(e)!==u&&(a.style=Xu(t)))}}function il(t,e,a,u,c,h){if(c.delete(a),t=t.getAttribute(a),t===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(te(u,e),t===""+u)return}mn(e,t,u,h)}function Vm(t,e,a,u,c,h){if(c.delete(a),t=t.getAttribute(a),t===null){switch(typeof u){case"function":case"symbol":return}if(!u)return}else switch(typeof u){case"function":case"symbol":break;default:if(u)return}mn(e,t,u,h)}function Lm(t,e,a,u,c,h){if(c.delete(a),t=t.getAttribute(a),t===null)switch(typeof u){case"undefined":case"function":case"symbol":return}else if(u!=null)switch(typeof u){case"function":case"symbol":break;default:if(te(u,a),t===""+u)return}mn(e,t,u,h)}function hc(t,e,a,u,c,h){if(c.delete(a),t=t.getAttribute(a),t===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(u))return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(!isNaN(u)&&(te(u,e),t===""+u))return}mn(e,t,u,h)}function fd(t,e,a,u,c,h){if(c.delete(a),t=t.getAttribute(a),t===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(te(u,e),a=vf(""+u),t===a)return}mn(e,t,u,h)}function ol(t,e,a,u){for(var c={},h=new Set,S=t.attributes,T=0;T<S.length;T++)switch(S[T].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:h.add(S[T].name)}if(Yi(e)){for(var O in a)if(a.hasOwnProperty(O)){var U=a[O];if(U!=null){if(po.hasOwnProperty(O))typeof U!="function"&&pn(O,U);else if(a.suppressHydrationWarning!==!0)switch(O){case"children":typeof U!="string"&&typeof U!="number"||mn("children",t.textContent,U,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":S=t.innerHTML,U=U?U.__html:void 0,U!=null&&(U=Bm(t,U),mn(O,S,U,c));continue;case"style":h.delete(O),so(t,U,c);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":h.delete(O.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",O);continue;case"className":h.delete("class"),S=Mr(t,"class",U),mn("className",S,U,c);continue;default:u.context===mr&&e!=="svg"&&e!=="math"?h.delete(O.toLowerCase()):h.delete(O),S=Mr(t,O,U),mn(O,S,U,c)}}}}else for(U in a)if(a.hasOwnProperty(U)&&(O=a[U],O!=null)){if(po.hasOwnProperty(U))typeof O!="function"&&pn(U,O);else if(a.suppressHydrationWarning!==!0)switch(U){case"children":typeof O!="string"&&typeof O!="number"||mn("children",t.textContent,O,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":S=t.innerHTML,O=O?O.__html:void 0,O!=null&&(O=Bm(t,O),S!==O&&(c[U]={__html:S}));continue;case"className":il(t,U,"class",O,h,c);continue;case"tabIndex":il(t,U,"tabindex",O,h,c);continue;case"style":h.delete(U),so(t,O,c);continue;case"multiple":h.delete(U),mn(U,t.multiple,O,c);continue;case"muted":h.delete(U),mn(U,t.muted,O,c);continue;case"autoFocus":h.delete("autofocus"),mn(U,t.autofocus,O,c);continue;case"data":if(e!=="object"){h.delete(U),S=t.getAttribute("data"),mn(U,S,O,c);continue}case"src":case"href":if(!(O!==""||e==="a"&&U==="href"||e==="object"&&U==="data")){console.error(U==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',U,U);continue}fd(t,U,U,O,h,c);continue;case"action":case"formAction":if(S=t.getAttribute(U),typeof O=="function"){h.delete(U.toLowerCase()),U==="formAction"?(h.delete("name"),h.delete("formenctype"),h.delete("formmethod"),h.delete("formtarget")):(h.delete("enctype"),h.delete("method"),h.delete("target"));continue}else if(S===B_){h.delete(U.toLowerCase()),mn(U,"function",O,c);continue}fd(t,U,U.toLowerCase(),O,h,c);continue;case"xlinkHref":fd(t,U,"xlink:href",O,h,c);continue;case"contentEditable":Lm(t,U,"contenteditable",O,h,c);continue;case"spellCheck":Lm(t,U,"spellcheck",O,h,c);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Lm(t,U,U,O,h,c);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":Vm(t,U,U.toLowerCase(),O,h,c);continue;case"capture":case"download":t:{T=t;var I=S=U,nt=c;if(h.delete(I),T=T.getAttribute(I),T===null)switch(typeof O){case"undefined":case"function":case"symbol":break t;default:if(O===!1)break t}else if(O!=null)switch(typeof O){case"function":case"symbol":break;case"boolean":if(O===!0&&T==="")break t;break;default:if(te(O,S),T===""+O)break t}mn(S,T,O,nt)}continue;case"cols":case"rows":case"size":case"span":t:{if(T=t,I=S=U,nt=c,h.delete(I),T=T.getAttribute(I),T===null)switch(typeof O){case"undefined":case"function":case"symbol":case"boolean":break t;default:if(isNaN(O)||1>O)break t}else if(O!=null)switch(typeof O){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(O)||1>O)&&(te(O,S),T===""+O))break t}mn(S,T,O,nt)}continue;case"rowSpan":hc(t,U,"rowspan",O,h,c);continue;case"start":hc(t,U,U,O,h,c);continue;case"xHeight":il(t,U,"x-height",O,h,c);continue;case"xlinkActuate":il(t,U,"xlink:actuate",O,h,c);continue;case"xlinkArcrole":il(t,U,"xlink:arcrole",O,h,c);continue;case"xlinkRole":il(t,U,"xlink:role",O,h,c);continue;case"xlinkShow":il(t,U,"xlink:show",O,h,c);continue;case"xlinkTitle":il(t,U,"xlink:title",O,h,c);continue;case"xlinkType":il(t,U,"xlink:type",O,h,c);continue;case"xmlBase":il(t,U,"xml:base",O,h,c);continue;case"xmlLang":il(t,U,"xml:lang",O,h,c);continue;case"xmlSpace":il(t,U,"xml:space",O,h,c);continue;case"inert":O!==""||rb[U]||(rb[U]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",U)),Vm(t,U,U,O,h,c);continue;default:if(!(2<U.length)||U[0]!=="o"&&U[0]!=="O"||U[1]!=="n"&&U[1]!=="N"){T=W1(U),S=!1,u.context===mr&&e!=="svg"&&e!=="math"?h.delete(T.toLowerCase()):(I=U.toLowerCase(),I=Oi.hasOwnProperty(I)&&Oi[I]||null,I!==null&&I!==U&&(S=!0,h.delete(I)),h.delete(T));t:if(I=t,nt=T,T=O,ml(nt))if(I.hasAttribute(nt))I=I.getAttribute(nt),te(T,nt),T=I===""+T?T:I;else{switch(typeof T){case"function":case"symbol":break t;case"boolean":if(I=nt.toLowerCase().slice(0,5),I!=="data-"&&I!=="aria-")break t}T=T===void 0?void 0:null}else T=void 0;S||mn(U,T,O,c)}}}return 0<h.size&&a.suppressHydrationWarning!==!0&&cd(t,h,c),Object.keys(c).length===0?null:c}function Vv(t,e){switch(t.length){case 0:return"";case 1:return t[0];case 2:return t[0]+" "+e+" "+t[1];default:return t.slice(0,-1).join(", ")+", "+e+" "+t[t.length-1]}}function Ka(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Lv(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),u=0;u<a.length;u++){var c=a[u],h=c.transferSize,S=c.initiatorType,T=c.duration;if(h&&T&&Ka(S)){for(S=0,T=c.responseEnd,u+=1;u<a.length;u++){var O=a[u],U=O.startTime;if(U>T)break;var I=O.transferSize,nt=O.initiatorType;I&&Ka(nt)&&(O=O.responseEnd,S+=I*(O<T?1:(T-U)/(O-U)))}if(--u,e+=8*(h+S)/(c.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}function dd(t){return t.nodeType===9?t:t.ownerDocument}function Yv(t){switch(t){case oe:return Lp;case ee:return fb;default:return mr}}function eu(t,e){if(t===mr)switch(e){case"svg":return Lp;case"math":return fb;default:return mr}return t===Lp&&e==="foreignObject"?mr:t}function mc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}function Xy(){var t=window.event;return t&&t.type==="popstate"?t===Y4?!1:(Y4=t,!0):(Y4=null,!1)}function ro(){var t=window.event;return t&&t!==i1?t.type:null}function pc(){var t=window.event;return t&&t!==i1?t.timeStamp:-1.1}function qv(t){setTimeout(function(){throw t})}function Gv(t,e,a){switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&t.focus();break;case"img":a.src?t.src=a.src:a.srcSet&&(t.srcset=a.srcSet)}}function Xv(){}function Ym(t,e,a,u){Xn(t,e,a,u),t[$a]=u}function qm(t){hs(t,"")}function z3(t,e,a){t.nodeValue=a}function Qv(t){if(!t.__reactWarnedAboutChildrenConflict){var e=t[$a]||null;if(e!==null){var a=hl(t);a!==null&&(typeof e.children=="string"||typeof e.children=="number"?(t.__reactWarnedAboutChildrenConflict=!0,Ut(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):e.dangerouslySetInnerHTML!=null&&(t.__reactWarnedAboutChildrenConflict=!0,Ut(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Qu(t){return t==="head"}function Zv(t,e){t.removeChild(e)}function kv(t,e){(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).removeChild(e)}function Zs(t,e){var a=e,u=0;do{var c=a.nextSibling;if(t.removeChild(a),c&&c.nodeType===8)if(a=c.data,a===l1||a===cb){if(u===0){t.removeChild(c),Fs(e);return}u--}else if(a===a1||a===Wc||a===Fd||a===Vp||a===Kd)u++;else if(a===L_)au(t.ownerDocument.documentElement);else if(a===q_){a=t.ownerDocument.head,au(a);for(var h=a.firstChild;h;){var S=h.nextSibling,T=h.nodeName;h[wc]||T==="SCRIPT"||T==="STYLE"||T==="LINK"&&h.rel.toLowerCase()==="stylesheet"||a.removeChild(h),h=S}}else a===Y_&&au(t.ownerDocument.body);a=c}while(a);Fs(e)}function hd(t,e){var a=t;t=0;do{var u=a.nextSibling;if(a.nodeType===1?e?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(e?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),u&&u.nodeType===8)if(a=u.data,a===l1){if(t===0)break;t--}else a!==a1&&a!==Wc&&a!==Fd&&a!==Vp||t++;a=u}while(a)}function Jv(t){hd(t,!0)}function Kv(t){t=t.style,typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function Fv(t){t.nodeValue=""}function $v(t){hd(t,!1)}function Iv(t,e){e=e[G_],e=e!=null&&e.hasOwnProperty("display")?e.display:null,t.style.display=e==null||typeof e=="boolean"?"":(""+e).trim()}function Wv(t,e){t.nodeValue=e}function yc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":yc(a),Dr(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function Pv(t,e,a,u){for(;t.nodeType===1;){var c=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!u&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(u){if(!t[wc])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(h=t.getAttribute("rel"),h==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(h!==c.rel||t.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||t.getAttribute("title")!==(c.title==null?null:c.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(h=t.getAttribute("src"),(h!==(c.src==null?null:c.src)||t.getAttribute("type")!==(c.type==null?null:c.type)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&h&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){te(c.name,"name");var h=c.name==null?null:""+c.name;if(c.type==="hidden"&&t.getAttribute("name")===h)return t}else return t;if(t=Rl(t.nextSibling),t===null)break}return null}function t2(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Rl(t.nextSibling),t===null))return null;return t}function He(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Rl(t.nextSibling),t===null))return null;return t}function md(t){return t.data===Wc||t.data===Fd}function Qy(t){return t.data===Vp||t.data===Wc&&t.ownerDocument.readyState!==LD}function e2(t,e){var a=t.ownerDocument;if(t.data===Fd)t._reactRetry=e;else if(t.data!==Wc||a.readyState!==LD)e();else{var u=function(){e(),a.removeEventListener("DOMContentLoaded",u)};a.addEventListener("DOMContentLoaded",u),t._reactRetry=u}}function Rl(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e===a1||e===Vp||e===Wc||e===Fd||e===Kd||e===B4||e===VD)break;if(e===l1||e===cb)return null}}return t}function n2(t){if(t.nodeType===1){for(var e=t.nodeName.toLowerCase(),a={},u=t.attributes,c=0;c<u.length;c++){var h=u[c];a[tu(h.name)]=h.name.toLowerCase()==="style"?Xu(t):h.value}return{type:e,props:a}}return t.nodeType===8?t.data===Kd?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:t.nodeValue}function a2(t,e,a){return a===null||a[V_]!==!0?(t.nodeValue===e?t=null:(e=xi(e),t=xi(t.nodeValue)===e?null:t.nodeValue),t):null}function gc(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===l1||a===cb){if(e===0)return Rl(t.nextSibling);e--}else a!==a1&&a!==Vp&&a!==Wc&&a!==Fd&&a!==Kd||e++}t=t.nextSibling}return null}function ks(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===a1||a===Vp||a===Wc||a===Fd||a===Kd){if(e===0)return t;e--}else a!==l1&&a!==cb||e++}t=t.previousSibling}return null}function Zy(t){Fs(t)}function Gm(t){Fs(t)}function ky(t){Fs(t)}function nu(t,e,a,u,c){switch(c&&yf(t,u.ancestorInfo),e=dd(a),t){case"html":if(t=e.documentElement,!t)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return t;case"head":if(t=e.head,!t)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return t;case"body":if(t=e.body,!t)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return t;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function co(t,e,a,u){if(!a[iu]&&hl(a)){var c=a.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",c,c,c)}switch(t){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(c=a.attributes;c.length;)a.removeAttributeNode(c[0]);un(a,t,e),a[sn]=u,a[$a]=e}function au(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Dr(t)}function Xm(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}function Jy(t,e,a){var u=Yp;if(u&&typeof e=="string"&&e){var c=Le(e);c='link[rel="'+t+'"][href="'+c+'"]',typeof a=="string"&&(c+='[crossorigin="'+a+'"]'),ZD.has(c)||(ZD.add(c),t={rel:t,crossOrigin:a,href:e},u.querySelector(c)===null&&(e=u.createElement("link"),un(e,"link",t),Ve(e),u.head.appendChild(e)))}}function Ky(t,e,a,u){var c=(c=wl.current)?Xm(c):null;if(!c)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=Js(a.href),e=On(c).hoistableStyles,u=e.get(a),u||(u={type:"style",instance:null,count:0,state:null},e.set(a,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=Js(a.href);var h=On(c).hoistableStyles,S=h.get(t);if(!S&&(c=c.ownerDocument||c,S={type:"stylesheet",instance:null,count:0,state:{loading:Id,preload:null}},h.set(t,S),(h=c.querySelector(yd(t)))&&!h._p&&(S.instance=h,S.state.loading=o1|Mo),!Co.has(t))){var T={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};Co.set(t,T),h||l2(c,t,T,S.state)}if(e&&u===null)throw a=`
174
-
175
- - `+pd(e)+`
176
- + `+pd(a),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return S}if(e&&u!==null)throw a=`
177
-
178
- - `+pd(e)+`
179
- + `+pd(a),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(a=Ks(a),e=On(c).hoistableScripts,u=e.get(a),u||(u={type:"script",instance:null,count:0,state:null},e.set(a,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+t+'". this is a bug in React.')}}function pd(t){var e=0,a="<link";return typeof t.rel=="string"?(e++,a+=' rel="'+t.rel+'"'):Ul.call(t,"rel")&&(e++,a+=' rel="'+(t.rel===null?"null":"invalid type "+typeof t.rel)+'"'),typeof t.href=="string"?(e++,a+=' href="'+t.href+'"'):Ul.call(t,"href")&&(e++,a+=' href="'+(t.href===null?"null":"invalid type "+typeof t.href)+'"'),typeof t.precedence=="string"?(e++,a+=' precedence="'+t.precedence+'"'):Ul.call(t,"precedence")&&(e++,a+=" precedence={"+(t.precedence===null?"null":"invalid type "+typeof t.precedence)+"}"),Object.getOwnPropertyNames(t).length>e&&(a+=" ..."),a+" />"}function Js(t){return'href="'+Le(t)+'"'}function yd(t){return'link[rel="stylesheet"]['+t+"]"}function Qm(t){return se({},t,{"data-precedence":t.precedence,precedence:null})}function l2(t,e,a,u){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?u.loading=o1:(e=t.createElement("link"),u.preload=e,e.addEventListener("load",function(){return u.loading|=o1}),e.addEventListener("error",function(){return u.loading|=XD}),un(e,"link",a),Ve(e),t.head.appendChild(e))}function Ks(t){return'[src="'+Le(t)+'"]'}function gd(t){return"script[async]"+t}function Zm(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var u=t.querySelector('style[data-href~="'+Le(a.href)+'"]');if(u)return e.instance=u,Ve(u),u;var c=se({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return u=(t.ownerDocument||t).createElement("style"),Ve(u),un(u,"style",c),vc(u,a.precedence,t),e.instance=u;case"stylesheet":c=Js(a.href);var h=t.querySelector(yd(c));if(h)return e.state.loading|=Mo,e.instance=h,Ve(h),h;u=Qm(a),(c=Co.get(c))&&Fy(u,c),h=(t.ownerDocument||t).createElement("link"),Ve(h);var S=h;return S._p=new Promise(function(T,O){S.onload=T,S.onerror=O}),un(h,"link",u),e.state.loading|=Mo,vc(h,a.precedence,t),e.instance=h;case"script":return h=Ks(a.src),(c=t.querySelector(gd(h)))?(e.instance=c,Ve(c),c):(u=a,(c=Co.get(h))&&(u=se({},a),$y(u,c)),t=t.ownerDocument||t,c=t.createElement("script"),Ve(c),un(c,"link",u),t.head.appendChild(c),e.instance=c);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+e.type+'". this is a bug in React.')}else e.type==="stylesheet"&&(e.state.loading&Mo)===Id&&(u=e.instance,e.state.loading|=Mo,vc(u,a.precedence,t));return e.instance}function vc(t,e,a){for(var u=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=u.length?u[u.length-1]:null,h=c,S=0;S<u.length;S++){var T=u[S];if(T.dataset.precedence===e)h=T;else if(h!==c)break}h?h.parentNode.insertBefore(t,h.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function Fy(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function $y(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}function bc(t,e,a){if(db===null){var u=new Map,c=db=new Map;c.set(a,u)}else c=db,u=c.get(a),u||(u=new Map,c.set(a,u));if(u.has(t))return u;for(u.set(t,null),a=a.getElementsByTagName(t),c=0;c<a.length;c++){var h=a[c];if(!(h[wc]||h[sn]||t==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!==oe){var S=h.getAttribute(e)||"";S=t+S;var T=u.get(S);T?T.push(h):u.set(S,[h])}}return u}function i2(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function o2(t,e,a){var u=!a.ancestorInfo.containerTagInScope;if(a.context===Lp||e.itemProp!=null)return!u||e.itemProp==null||t!=="meta"&&t!=="title"&&t!=="style"&&t!=="link"&&t!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",t,t),!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href===""){u&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError){if(e.rel==="stylesheet"&&typeof e.precedence=="string"){t=e.href;var c=e.onError,h=e.disabled;a=[],e.onLoad&&a.push("`onLoad`"),c&&a.push("`onError`"),h!=null&&a.push("`disabled`"),c=Vv(a,"and"),c+=a.length===1?" prop":" props",h=a.length===1?"an "+c:"the "+c,a.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',t,h,c)}u&&(typeof e.rel!="string"||typeof e.href!="string"||e.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(e.onError||e.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return e.rel==="stylesheet"?(t=e.precedence,e=e.disabled,typeof t!="string"&&u&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof t=="string"&&e==null):!0;case"script":if(t=e.async&&typeof e.async!="function"&&typeof e.async!="symbol",!t||e.onLoad||e.onError||!e.src||typeof e.src!="string"){u&&(t?e.onLoad||e.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":u&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",t)}return!1}function pe(t){return!(t.type==="stylesheet"&&(t.state.loading&QD)===Id)}function Iy(t,e,a,u){if(a.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(a.state.loading&Mo)===Id){if(a.instance===null){var c=Js(u.href),h=e.querySelector(yd(c));if(h){e=h._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Sc.bind(t),e.then(t,t)),a.state.loading|=Mo,a.instance=h,Ve(h);return}h=e.ownerDocument||e,u=Qm(u),(c=Co.get(c))&&Fy(u,c),h=h.createElement("link"),Ve(h);var S=h;S._p=new Promise(function(T,O){S.onload=T,S.onerror=O}),un(h,"link",u),a.instance=h}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&QD)===Id&&(t.count++,a=Sc.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}function km(t,e){return t.stylesheets&&t.count===0&&vd(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var u=setTimeout(function(){if(t.stylesheets&&vd(t,t.stylesheets),t.unsuspend){var h=t.unsuspend;t.unsuspend=null,h()}},Z_+e);0<t.imgBytes&&G4===0&&(G4=125*Lv()*J_);var c=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&vd(t,t.stylesheets),t.unsuspend)){var h=t.unsuspend;t.unsuspend=null,h()}},(t.imgBytes>G4?50:k_)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(u),clearTimeout(c)}}:null}function Sc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)vd(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}function vd(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,hb=new Map,e.forEach(Wy,t),hb=null,Sc.call(t))}function Wy(t,e){if(!(e.state.loading&Mo)){var a=hb.get(t);if(a)var u=a.get(X4);else{a=new Map,hb.set(t,a);for(var c=t.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<c.length;h++){var S=c[h];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(a.set(S.dataset.precedence,S),u=S)}u&&a.set(X4,u)}c=e.instance,S=c.getAttribute("data-precedence"),h=a.get(S)||u,h===u&&a.set(X4,c),a.set(S,c),this.count++,u=Sc.bind(this),c.addEventListener("load",u),c.addEventListener("error",u),h?h.parentNode.insertBefore(c,h.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(c,t.firstChild)),e.state.loading|=Mo}}function bd(t,e,a,u,c,h,S,T,O){for(this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=$d,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=No(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=No(0),this.hiddenUpdates=No(null),this.identifierPrefix=u,this.onUncaughtError=c,this.onCaughtError=h,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=O,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,t=this.pendingUpdatersLaneMap=[],e=0;31>e;e++)t.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function Sd(t,e,a,u,c,h,S,T,O,U,I,nt){return t=new bd(t,e,a,S,O,U,I,nt,T),e=g_,h===!0&&(e|=rl|ou),e|=re,h=D(3,null,null,e),t.current=h,h.stateNode=t,e=Zh(),Es(e),t.pooledCache=e,Es(e),h.memoizedState={element:u,isDehydrated:a,cache:e},ge(h),t}function u2(t){return t?(t=Bc,t):Bc}function Jm(t,e,a,u,c,h){if(Qn&&typeof Qn.onScheduleFiberRoot=="function")try{Qn.onScheduleFiberRoot(Ps,u,a)}catch(S){ho||(ho=!0,console.error("React instrumentation encountered an error: %o",S))}c=u2(c),u.context===null?u.context=c:u.pendingContext=c,fo&&sl!==null&&!FD&&(FD=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
180
-
181
- Check the render method of %s.`,q(sl)||"Unknown")),u=qn(e),u.payload={element:a},h=h===void 0?null:h,h!==null&&(typeof h!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",h),u.callback=h),a=Ji(t,u,e),a!==null&&(Qi(e,"root.render()",null),Ft(a,t,e),Kl(a,t,e))}function s2(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function Py(t,e){s2(t,e),(t=t.alternate)&&s2(t,e)}function tg(t){if(t.tag===13||t.tag===31){var e=Aa(t,67108864);e!==null&&Ft(e,t,67108864),Py(t,67108864)}}function eg(t){if(t.tag===13||t.tag===31){var e=Ea(t);e=fa(e);var a=Aa(t,e);a!==null&&Ft(a,t,e),Py(t,e)}}function Ge(){return sl}function ng(t,e,a,u){var c=St.T;St.T=null;var h=ze.p;try{ze.p=Zn,ag(t,e,a,u)}finally{ze.p=h,St.T=c}}function ya(t,e,a,u){var c=St.T;St.T=null;var h=ze.p;try{ze.p=va,ag(t,e,a,u)}finally{ze.p=h,St.T=c}}function ag(t,e,a,u){if(pb){var c=Km(u);if(c===null)Ti(t,e,u,yb,a),$m(t,u);else if(r2(c,t,e,a,u))u.stopPropagation();else if($m(t,u),e&4&&-1<F_.indexOf(t)){for(;c!==null;){var h=hl(c);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var S=Cn(h.pendingLanes);if(S!==0){var T=h;for(T.pendingLanes|=2,T.entangledLanes|=2;S;){var O=1<<31-ga(S);T.entanglements[1]|=O,S&=~O}ll(h),(xe&(Sa|Ui))===Oa&&(W2=na()+ED,oo(0))}}break;case 31:case 13:T=Aa(h,2),T!==null&&Ft(T,h,2),zl(),Py(h,2)}if(h=Km(u),h===null&&Ti(t,e,u,yb,a),h===c)break;c=h}c!==null&&u.stopPropagation()}else Ti(t,e,u,null,a)}}function Km(t){return t=oi(t),lg(t)}function lg(t){if(yb=null,t=_a(t),t!==null){var e=B(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=it(e),t!==null)return t;t=null}else if(a===31){if(t=k(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return yb=t,null}function Fm(t){switch(t){case"beforetoggle":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"toggle":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 Zn;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return va;case"message":switch(Md()){case mg:return Zn;case ip:return va;case Ws:case p2:return Da;case op:return Fu;default:return Da}default:return Da}}function $m(t,e){switch(t){case"focusin":case"focusout":Pc=null;break;case"dragenter":case"dragleave":tf=null;break;case"mouseover":case"mouseout":ef=null;break;case"pointerover":case"pointerout":s1.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":r1.delete(e.pointerId)}}function Zu(t,e,a,u,c,h){return t===null||t.nativeEvent!==h?(t={blockedOn:e,domEventName:a,eventSystemFlags:u,nativeEvent:h,targetContainers:[c]},e!==null&&(e=hl(e),e!==null&&tg(e)),t):(t.eventSystemFlags|=u,e=t.targetContainers,c!==null&&e.indexOf(c)===-1&&e.push(c),t)}function r2(t,e,a,u,c){switch(e){case"focusin":return Pc=Zu(Pc,t,e,a,u,c),!0;case"dragenter":return tf=Zu(tf,t,e,a,u,c),!0;case"mouseover":return ef=Zu(ef,t,e,a,u,c),!0;case"pointerover":var h=c.pointerId;return s1.set(h,Zu(s1.get(h)||null,t,e,a,u,c)),!0;case"gotpointercapture":return h=c.pointerId,r1.set(h,Zu(r1.get(h)||null,t,e,a,u,c)),!0}return!1}function ig(t){var e=_a(t.target);if(e!==null){var a=B(e);if(a!==null){if(e=a.tag,e===13){if(e=it(a),e!==null){t.blockedOn=e,xr(t.priority,function(){eg(a)});return}}else if(e===31){if(e=k(a),e!==null){t.blockedOn=e,xr(t.priority,function(){eg(a)});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Ac(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=Km(t.nativeEvent);if(a===null){a=t.nativeEvent;var u=new a.constructor(a.type,a),c=u;bg!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),bg=c,a.target.dispatchEvent(u),bg===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),bg=null}else return e=hl(a),e!==null&&tg(e),t.blockedOn=a,!1;e.shift()}return!0}function Im(t,e,a){Ac(t)&&a.delete(e)}function R3(){Q4=!1,Pc!==null&&Ac(Pc)&&(Pc=null),tf!==null&&Ac(tf)&&(tf=null),ef!==null&&Ac(ef)&&(ef=null),s1.forEach(Im),r1.forEach(Im)}function Ad(t,e){t.blockedOn===e&&(t.blockedOn=null,Q4||(Q4=!0,_n.unstable_scheduleCallback(_n.unstable_NormalPriority,R3)))}function c2(t){gb!==t&&(gb=t,_n.unstable_scheduleCallback(_n.unstable_NormalPriority,function(){gb===t&&(gb=null);for(var e=0;e<t.length;e+=3){var a=t[e],u=t[e+1],c=t[e+2];if(typeof u!="function"){if(lg(u||a)===null)continue;break}var h=hl(a);h!==null&&(t.splice(e,3),e-=3,a={pending:!0,data:c,method:a.method,action:u},Object.freeze(a),Fo(h,a,u,c))}}))}function Fs(t){function e(O){return Ad(O,t)}Pc!==null&&Ad(Pc,t),tf!==null&&Ad(tf,t),ef!==null&&Ad(ef,t),s1.forEach(e),r1.forEach(e);for(var a=0;a<nf.length;a++){var u=nf[a];u.blockedOn===t&&(u.blockedOn=null)}for(;0<nf.length&&(a=nf[0],a.blockedOn===null);)ig(a),a.blockedOn===null&&nf.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(u=0;u<a.length;u+=3){var c=a[u],h=a[u+1],S=c[$a]||null;if(typeof h=="function")S||c2(a);else if(S){var T=null;if(h&&h.hasAttribute("formAction")){if(c=h,S=h[$a]||null)T=S.formAction;else if(lg(c)!==null)continue}else T=S.action;typeof T=="function"?a[u+1]=T:(a.splice(u,3),u-=3),c2(a)}}}function f2(){function t(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(S){return c=S})},focusReset:"manual",scroll:"manual"})}function e(){c!==null&&(c(),c=null),u||setTimeout(a,20)}function a(){if(!u&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,c=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){u=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),c!==null&&(c(),c=null)}}}function og(t){this._internalRoot=t}function Di(t){this._internalRoot=t}function ug(t){t[iu]&&(t._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var _n=I4(),Td=Ot,w3=Pd,se=Object.assign,d2=Symbol.for("react.element"),Wl=Symbol.for("react.transitional.element"),ku=Symbol.for("react.portal"),Tc=Symbol.for("react.fragment"),Fa=Symbol.for("react.strict_mode"),Ed=Symbol.for("react.profiler"),Wm=Symbol.for("react.consumer"),Mi=Symbol.for("react.context"),Ec=Symbol.for("react.forward_ref"),$s=Symbol.for("react.suspense"),ul=Symbol.for("react.suspense_list"),xd=Symbol.for("react.memo"),xa=Symbol.for("react.lazy"),Ci=Symbol.for("react.activity"),U3=Symbol.for("react.memo_cache_sentinel"),h2=Symbol.iterator,xc=Symbol.for("react.client.reference"),Bn=Array.isArray,St=Td.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ze=w3.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_3=Object.freeze({pending:!1,data:null,method:null,action:null}),sg=[],rg=[],lu=-1,Ju=at(null),Dc=at(null),wl=at(null),Ku=at(null),Mc=0,m2,Is,Cc,cg,Dd,Pm,tp;dt.__reactDisabledLog=!0;var Oc,fg,ep=!1,dg=new(typeof WeakMap=="function"?WeakMap:Map),sl=null,fo=!1,Ul=Object.prototype.hasOwnProperty,hg=_n.unstable_scheduleCallback,np=_n.unstable_cancelCallback,ap=_n.unstable_shouldYield,lp=_n.unstable_requestPaint,na=_n.unstable_now,Md=_n.unstable_getCurrentPriorityLevel,mg=_n.unstable_ImmediatePriority,ip=_n.unstable_UserBlockingPriority,Ws=_n.unstable_NormalPriority,p2=_n.unstable_LowPriority,op=_n.unstable_IdlePriority,pg=_n.log,y2=_n.unstable_setDisableYieldValue,Ps=null,Qn=null,ho=!1,mo=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ga=Math.clz32?Math.clz32:an,yg=Math.log,up=Math.LN2,zc=256,Cd=262144,Rc=4194304,Zn=2,va=8,Da=32,Fu=268435456,Pl=Math.random().toString(36).slice(2),sn="__reactFiber$"+Pl,$a="__reactProps$"+Pl,iu="__reactContainer$"+Pl,tr="__reactEvents$"+Pl,N3="__reactListeners$"+Pl,g2="__reactHandles$"+Pl,Od="__reactResources$"+Pl,wc="__reactMarker$"+Pl,v2=new Set,po={},Uc={},b2={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},_c=RegExp("^[: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]*$"),gg={},sp={},rp=/[\n"\\]/g,vg=!1,S2=!1,zd=!1,n=!1,l=!1,o=!1,r=["value","defaultValue"],y=!1,v=/["'&<>\n\t]|^\s|\s$/,C="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),N="applet caption html table td th marquee object template foreignObject desc title".split(" "),Z=N.concat(["button"]),mt="dd dt li option optgroup p rp rt".split(" "),Tt={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Mt={},yt={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},At=/([A-Z])/g,Vt=/^ms-/,Zt=/^(?:webkit|moz|o)[A-Z]/,Xe=/^-ms-/,st=/-(.)/g,W=/;\s*$/,ft={},Dt={},qt=!1,Ee=!1,Lt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),ee="http://www.w3.org/1998/Math/MathML",oe="http://www.w3.org/2000/svg",Me=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Oi={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},A2={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},cp={},zU=RegExp("^(aria)-[: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]*$"),RU=RegExp("^(aria)[A-Z][: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]*$"),I6=!1,_l={},W6=/^on./,wU=/^on[^A-Z]/,UU=RegExp("^(aria)-[: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]*$"),_U=RegExp("^(aria)[A-Z][: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]*$"),NU=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,bg=null,fp=null,dp=null,j3=!1,$u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),H3=!1;if($u)try{var Sg={};Object.defineProperty(Sg,"passive",{get:function(){H3=!0}}),window.addEventListener("test",Sg,Sg),window.removeEventListener("test",Sg,Sg)}catch{H3=!1}var Nc=null,B3=null,T2=null,Rd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},E2=Fn(Rd),Ag=se({},Rd,{view:0,detail:0}),jU=Fn(Ag),V3,L3,Tg,x2=se({},Ag,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sf,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Tg&&(Tg&&t.type==="mousemove"?(V3=t.screenX-Tg.screenX,L3=t.screenY-Tg.screenY):L3=V3=0,Tg=t),V3)},movementY:function(t){return"movementY"in t?t.movementY:L3}}),P6=Fn(x2),HU=se({},x2,{dataTransfer:0}),BU=Fn(HU),VU=se({},Ag,{relatedTarget:0}),Y3=Fn(VU),LU=se({},Rd,{animationName:0,elapsedTime:0,pseudoElement:0}),YU=Fn(LU),qU=se({},Rd,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),GU=Fn(qU),XU=se({},Rd,{data:0}),tx=Fn(XU),QU=tx,ZU={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kU={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"},JU={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},KU=se({},Ag,{key:function(t){if(t.key){var e=ZU[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=bf(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?kU[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sf,charCode:function(t){return t.type==="keypress"?bf(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?bf(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),FU=Fn(KU),$U=se({},x2,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ex=Fn($U),IU=se({},Ag,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sf}),WU=Fn(IU),PU=se({},Rd,{propertyName:0,elapsedTime:0,pseudoElement:0}),t_=Fn(PU),e_=se({},x2,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),n_=Fn(e_),a_=se({},Rd,{newState:0,oldState:0}),l_=Fn(a_),i_=[9,13,27,32],nx=229,q3=$u&&"CompositionEvent"in window,Eg=null;$u&&"documentMode"in document&&(Eg=document.documentMode);var o_=$u&&"TextEvent"in window&&!Eg,ax=$u&&(!q3||Eg&&8<Eg&&11>=Eg),lx=32,ix=String.fromCharCode(lx),ox=!1,hp=!1,u_={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},xg=null,Dg=null,ux=!1;$u&&(ux=Nh("input")&&(!document.documentMode||9<document.documentMode));var Nl=typeof Object.is=="function"?Object.is:jh,s_=$u&&"documentMode"in document&&11>=document.documentMode,mp=null,G3=null,Mg=null,X3=!1,pp={animationend:ps("Animation","AnimationEnd"),animationiteration:ps("Animation","AnimationIteration"),animationstart:ps("Animation","AnimationStart"),transitionrun:ps("Transition","TransitionRun"),transitionstart:ps("Transition","TransitionStart"),transitioncancel:ps("Transition","TransitionCancel"),transitionend:ps("Transition","TransitionEnd")},Q3={},sx={};$u&&(sx=document.createElement("div").style,"AnimationEvent"in window||(delete pp.animationend.animation,delete pp.animationiteration.animation,delete pp.animationstart.animation),"TransitionEvent"in window||delete pp.transitionend.transition);var rx=ys("animationend"),cx=ys("animationiteration"),fx=ys("animationstart"),r_=ys("transitionrun"),c_=ys("transitionstart"),f_=ys("transitioncancel"),dx=ys("transitionend"),hx=new Map,Z3="abort auxClick beforeToggle 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(" ");Z3.push("scrollEnd");var mx=0;if(typeof performance=="object"&&typeof performance.now=="function")var d_=performance,px=function(){return d_.now()};else{var h_=Date;px=function(){return h_.now()}}var k3=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},m_="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",D2=0,J3=1,K3=2,F3=3,M2="– ",C2="+ ",yx="  ",rn=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",yo="Components ⚛",Se="Scheduler ⚛",Te="Blocking",jc=!1,er={color:"primary",properties:null,tooltipText:"",track:yo},Hc={start:-0,end:-0,detail:{devtools:er}},p_=["Changed Props",""],gx="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",y_=["Changed Props",gx],Cg=1,nr=2,go=[],yp=0,$3=0,Bc={};Object.freeze(Bc);var vo=null,gp=null,Kt=0,g_=1,re=2,rl=8,ou=16,v_=32,vx=!1;try{var bx=Object.preventExtensions({})}catch{vx=!0}var I3=new WeakMap,vp=[],bp=0,O2=null,Og=0,bo=[],So=0,wd=null,ar=1,lr="",Ia=null,cn=null,be=!1,Iu=!1,zi=null,Vc=null,Ao=!1,W3=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),P3=at(null),t4=at(null),Sx={},z2=null,Sp=null,Ap=!1,b_=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,u){t.push(u)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},S_=_n.unstable_scheduleCallback,A_=_n.unstable_NormalPriority,aa={$$typeof:Mi,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},la=_n.unstable_now,R2=console.createTask?console.createTask:function(){return null},zg=1,w2=2,Ma=-0,Lc=-0,ir=-0,or=null,jl=-1.1,Ud=-0,An=-0,Xt=-1.1,kt=-1.1,yn=null,Nn=!1,_d=-0,Wu=-1.1,Rg=null,Yc=0,e4=null,n4=null,Nd=-1.1,wg=null,Tp=-1.1,U2=-1.1,ur=-0,sr=-1.1,To=-1.1,a4=0,Ug=null,Ax=null,Tx=null,qc=-1.1,jd=null,Gc=-1.1,_2=-1.1,Ex=-0,xx=-0,N2=0,T_=null,Dx=0,_g=-1.1,j2=!1,H2=!1,Ng=null,l4=0,Hd=0,Ep=null,Mx=St.S;St.S=function(t,e){if(AD=na(),typeof e=="object"&&e!==null&&typeof e.then=="function"){if(0>sr&&0>To){sr=la();var a=pc(),u=ro();(a!==Gc||u!==jd)&&(Gc=-1.1),qc=a,jd=u}Go(t,e)}Mx!==null&&Mx(t,e)};var Bd=at(null),uu={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},jg=[],Hg=[],Bg=[],Vg=[],Lg=[],Yg=[],Vd=new Set;uu.recordUnsafeLifecycleWarnings=function(t,e){Vd.has(t.type)||(typeof e.componentWillMount=="function"&&e.componentWillMount.__suppressDeprecationWarning!==!0&&jg.push(t),t.mode&rl&&typeof e.UNSAFE_componentWillMount=="function"&&Hg.push(t),typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Bg.push(t),t.mode&rl&&typeof e.UNSAFE_componentWillReceiveProps=="function"&&Vg.push(t),typeof e.componentWillUpdate=="function"&&e.componentWillUpdate.__suppressDeprecationWarning!==!0&&Lg.push(t),t.mode&rl&&typeof e.UNSAFE_componentWillUpdate=="function"&&Yg.push(t))},uu.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;0<jg.length&&(jg.forEach(function(T){t.add(q(T)||"Component"),Vd.add(T.type)}),jg=[]);var e=new Set;0<Hg.length&&(Hg.forEach(function(T){e.add(q(T)||"Component"),Vd.add(T.type)}),Hg=[]);var a=new Set;0<Bg.length&&(Bg.forEach(function(T){a.add(q(T)||"Component"),Vd.add(T.type)}),Bg=[]);var u=new Set;0<Vg.length&&(Vg.forEach(function(T){u.add(q(T)||"Component"),Vd.add(T.type)}),Vg=[]);var c=new Set;0<Lg.length&&(Lg.forEach(function(T){c.add(q(T)||"Component"),Vd.add(T.type)}),Lg=[]);var h=new Set;if(0<Yg.length&&(Yg.forEach(function(T){h.add(q(T)||"Component"),Vd.add(T.type)}),Yg=[]),0<e.size){var S=E(e);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
182
-
183
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
184
-
185
- Please update the following components: %s`,S)}0<u.size&&(S=E(u),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
186
-
187
- * Move data fetching code or side effects to componentDidUpdate.
188
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
189
-
190
- Please update the following components: %s`,S)),0<h.size&&(S=E(h),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
191
-
192
- * Move data fetching code or side effects to componentDidUpdate.
193
-
194
- Please update the following components: %s`,S)),0<t.size&&(S=E(t),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
195
-
196
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
197
- * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
198
-
199
- Please update the following components: %s`,S)),0<a.size&&(S=E(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
200
-
201
- * Move data fetching code or side effects to componentDidUpdate.
202
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
203
- * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
204
-
205
- Please update the following components: %s`,S)),0<c.size&&(S=E(c),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
206
-
207
- * Move data fetching code or side effects to componentDidUpdate.
208
- * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
209
-
210
- Please update the following components: %s`,S))};var B2=new Map,Cx=new Set;uu.recordLegacyContextWarning=function(t,e){for(var a=null,u=t;u!==null;)u.mode&rl&&(a=u),u=u.return;a===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!Cx.has(t.type)&&(u=B2.get(a),t.type.contextTypes!=null||t.type.childContextTypes!=null||e!==null&&typeof e.getChildContext=="function")&&(u===void 0&&(u=[],B2.set(a,u)),u.push(t))},uu.flushLegacyContextWarning=function(){B2.forEach(function(t){if(t.length!==0){var e=t[0],a=new Set;t.forEach(function(c){a.add(q(c)||"Component"),Cx.add(c.type)});var u=E(a);Ut(e,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
211
-
212
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
213
-
214
- Please update the following components: %s
215
-
216
- Learn more about this warning here: https://react.dev/link/legacy-context`,u)})}})},uu.discardPendingWarnings=function(){jg=[],Hg=[],Bg=[],Vg=[],Lg=[],Yg=[],B2=new Map};var Ox={react_stack_bottom_frame:function(t,e,a){var u=fo;fo=!0;try{return t(e,a)}finally{fo=u}}},i4=Ox.react_stack_bottom_frame.bind(Ox),zx={react_stack_bottom_frame:function(t){var e=fo;fo=!0;try{return t.render()}finally{fo=e}}},Rx=zx.react_stack_bottom_frame.bind(zx),wx={react_stack_bottom_frame:function(t,e){try{e.componentDidMount()}catch(a){ie(t,t.return,a)}}},o4=wx.react_stack_bottom_frame.bind(wx),Ux={react_stack_bottom_frame:function(t,e,a,u,c){try{e.componentDidUpdate(a,u,c)}catch(h){ie(t,t.return,h)}}},_x=Ux.react_stack_bottom_frame.bind(Ux),Nx={react_stack_bottom_frame:function(t,e){var a=e.stack;t.componentDidCatch(e.value,{componentStack:a!==null?a:""})}},E_=Nx.react_stack_bottom_frame.bind(Nx),jx={react_stack_bottom_frame:function(t,e,a){try{a.componentWillUnmount()}catch(u){ie(t,e,u)}}},Hx=jx.react_stack_bottom_frame.bind(jx),Bx={react_stack_bottom_frame:function(t){var e=t.create;return t=t.inst,e=e(),t.destroy=e}},x_=Bx.react_stack_bottom_frame.bind(Bx),Vx={react_stack_bottom_frame:function(t,e,a){try{a()}catch(u){ie(t,e,u)}}},D_=Vx.react_stack_bottom_frame.bind(Vx),Lx={react_stack_bottom_frame:function(t){var e=t._init;return e(t._payload)}},M_=Lx.react_stack_bottom_frame.bind(Lx),xp=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),u4=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),V2=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),L2={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Ld=null,qg=!1,Dp=null,Gg=0,ce=null,s4,Yx=s4=!1,qx={},Gx={},Xx={};A=function(t,e,a){if(a!==null&&typeof a=="object"&&a._store&&(!a._store.validated&&a.key==null||a._store.validated===2)){if(typeof a._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");a._store.validated=1;var u=q(t),c=u||"null";if(!qx[c]){qx[c]=!0,a=a._owner,t=t._debugOwner;var h="";t&&typeof t.tag=="number"&&(c=q(t))&&(h=`
217
-
218
- Check the render method of \``+c+"`."),h||u&&(h=`
219
-
220
- Check the top-level render call using <`+u+">.");var S="";a!=null&&t!==a&&(u=null,typeof a.tag=="number"?u=q(a):typeof a.name=="string"&&(u=a.name),u&&(S=" It was passed a child from "+u+".")),Ut(e,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',h,S)})}}};var Yd=In(!0),Qx=In(!1),Zx=0,kx=1,Jx=2,r4=3,Xc=!1,Kx=!1,c4=null,f4=!1,Mp=at(null),Y2=at(0),Ri=at(null),Eo=null,Cp=1,Xg=2,kn=at(0),q2=0,xo=1,Hl=2,wi=4,Bl=8,Op,Fx=new Set,$x=new Set,d4=new Set,Ix=new Set,rr=0,Wt=null,Ke=null,ia=null,G2=!1,zp=!1,qd=!1,X2=0,Qg=0,cr=null,C_=0,O_=25,vt=null,Do=null,fr=-1,Zg=!1,kg={readContext:Ce,use:ko,useCallback:bn,useContext:bn,useEffect:bn,useImperativeHandle:bn,useLayoutEffect:bn,useInsertionEffect:bn,useMemo:bn,useReducer:bn,useRef:bn,useState:bn,useDebugValue:bn,useDeferredValue:bn,useTransition:bn,useSyncExternalStore:bn,useId:bn,useHostTransitionStatus:bn,useFormState:bn,useActionState:bn,useOptimistic:bn,useMemoCache:bn,useCacheRefresh:bn};kg.useEffectEvent=bn;var h4=null,Wx=null,m4=null,Px=null,Pu=null,su=null,Q2=null;h4={readContext:function(t){return Ce(t)},use:ko,useCallback:function(t,e){return vt="useCallback",It(),Zo(e),nm(t,e)},useContext:function(t){return vt="useContext",It(),Ce(t)},useEffect:function(t,e){return vt="useEffect",It(),Zo(e),_s(t,e)},useImperativeHandle:function(t,e,a){return vt="useImperativeHandle",It(),Zo(a),Ii(t,e,a)},useInsertionEffect:function(t,e){vt="useInsertionEffect",It(),Zo(e),Nu(4,Hl,t,e)},useLayoutEffect:function(t,e){return vt="useLayoutEffect",It(),Zo(e),qa(t,e)},useMemo:function(t,e){vt="useMemo",It(),Zo(e);var a=St.H;St.H=Pu;try{return Ga(t,e)}finally{St.H=a}},useReducer:function(t,e,a){vt="useReducer",It();var u=St.H;St.H=Pu;try{return Zr(t,e,a)}finally{St.H=u}},useRef:function(t){return vt="useRef",It(),em(t)},useState:function(t){vt="useState",It();var e=St.H;St.H=Pu;try{return Ru(t)}finally{St.H=e}},useDebugValue:function(){vt="useDebugValue",It()},useDeferredValue:function(t,e){return vt="useDeferredValue",It(),$r(t,e)},useTransition:function(){return vt="useTransition",It(),ju()},useSyncExternalStore:function(t,e,a){return vt="useSyncExternalStore",It(),kr(t,e,a)},useId:function(){return vt="useId",It(),Qf()},useFormState:function(t,e){return vt="useFormState",It(),_f(),xl(t,e)},useActionState:function(t,e){return vt="useActionState",It(),xl(t,e)},useOptimistic:function(t){return vt="useOptimistic",It(),Us(t)},useHostTransitionStatus:$o,useMemoCache:Tl,useCacheRefresh:function(){return vt="useCacheRefresh",It(),am()},useEffectEvent:function(t){return vt="useEffectEvent",It(),Gf(t)}},Wx={readContext:function(t){return Ce(t)},use:ko,useCallback:function(t,e){return vt="useCallback",Ct(),nm(t,e)},useContext:function(t){return vt="useContext",Ct(),Ce(t)},useEffect:function(t,e){return vt="useEffect",Ct(),_s(t,e)},useImperativeHandle:function(t,e,a){return vt="useImperativeHandle",Ct(),Ii(t,e,a)},useInsertionEffect:function(t,e){vt="useInsertionEffect",Ct(),Nu(4,Hl,t,e)},useLayoutEffect:function(t,e){return vt="useLayoutEffect",Ct(),qa(t,e)},useMemo:function(t,e){vt="useMemo",Ct();var a=St.H;St.H=Pu;try{return Ga(t,e)}finally{St.H=a}},useReducer:function(t,e,a){vt="useReducer",Ct();var u=St.H;St.H=Pu;try{return Zr(t,e,a)}finally{St.H=u}},useRef:function(t){return vt="useRef",Ct(),em(t)},useState:function(t){vt="useState",Ct();var e=St.H;St.H=Pu;try{return Ru(t)}finally{St.H=e}},useDebugValue:function(){vt="useDebugValue",Ct()},useDeferredValue:function(t,e){return vt="useDeferredValue",Ct(),$r(t,e)},useTransition:function(){return vt="useTransition",Ct(),ju()},useSyncExternalStore:function(t,e,a){return vt="useSyncExternalStore",Ct(),kr(t,e,a)},useId:function(){return vt="useId",Ct(),Qf()},useActionState:function(t,e){return vt="useActionState",Ct(),xl(t,e)},useFormState:function(t,e){return vt="useFormState",Ct(),_f(),xl(t,e)},useOptimistic:function(t){return vt="useOptimistic",Ct(),Us(t)},useHostTransitionStatus:$o,useMemoCache:Tl,useCacheRefresh:function(){return vt="useCacheRefresh",Ct(),am()},useEffectEvent:function(t){return vt="useEffectEvent",Ct(),Gf(t)}},m4={readContext:function(t){return Ce(t)},use:ko,useCallback:function(t,e){return vt="useCallback",Ct(),gi(t,e)},useContext:function(t){return vt="useContext",Ct(),Ce(t)},useEffect:function(t,e){vt="useEffect",Ct(),Gn(2048,Bl,t,e)},useImperativeHandle:function(t,e,a){return vt="useImperativeHandle",Ct(),Fr(t,e,a)},useInsertionEffect:function(t,e){return vt="useInsertionEffect",Ct(),Gn(4,Hl,t,e)},useLayoutEffect:function(t,e){return vt="useLayoutEffect",Ct(),Gn(4,wi,t,e)},useMemo:function(t,e){vt="useMemo",Ct();var a=St.H;St.H=su;try{return on(t,e)}finally{St.H=a}},useReducer:function(t,e,a){vt="useReducer",Ct();var u=St.H;St.H=su;try{return zs(t,e,a)}finally{St.H=u}},useRef:function(){return vt="useRef",Ct(),_e().memoizedState},useState:function(){vt="useState",Ct();var t=St.H;St.H=su;try{return zs(El)}finally{St.H=t}},useDebugValue:function(){vt="useDebugValue",Ct()},useDeferredValue:function(t,e){return vt="useDeferredValue",Ct(),Wi(t,e)},useTransition:function(){return vt="useTransition",Ct(),bv()},useSyncExternalStore:function(t,e,a){return vt="useSyncExternalStore",Ct(),ws(t,e,a)},useId:function(){return vt="useId",Ct(),_e().memoizedState},useFormState:function(t){return vt="useFormState",Ct(),_f(),Uu(t)},useActionState:function(t){return vt="useActionState",Ct(),Uu(t)},useOptimistic:function(t,e){return vt="useOptimistic",Ct(),Lf(t,e)},useHostTransitionStatus:$o,useMemoCache:Tl,useCacheRefresh:function(){return vt="useCacheRefresh",Ct(),_e().memoizedState},useEffectEvent:function(t){return vt="useEffectEvent",Ct(),Kr(t)}},Px={readContext:function(t){return Ce(t)},use:ko,useCallback:function(t,e){return vt="useCallback",Ct(),gi(t,e)},useContext:function(t){return vt="useContext",Ct(),Ce(t)},useEffect:function(t,e){vt="useEffect",Ct(),Gn(2048,Bl,t,e)},useImperativeHandle:function(t,e,a){return vt="useImperativeHandle",Ct(),Fr(t,e,a)},useInsertionEffect:function(t,e){return vt="useInsertionEffect",Ct(),Gn(4,Hl,t,e)},useLayoutEffect:function(t,e){return vt="useLayoutEffect",Ct(),Gn(4,wi,t,e)},useMemo:function(t,e){vt="useMemo",Ct();var a=St.H;St.H=Q2;try{return on(t,e)}finally{St.H=a}},useReducer:function(t,e,a){vt="useReducer",Ct();var u=St.H;St.H=Q2;try{return Rs(t,e,a)}finally{St.H=u}},useRef:function(){return vt="useRef",Ct(),_e().memoizedState},useState:function(){vt="useState",Ct();var t=St.H;St.H=Q2;try{return Rs(El)}finally{St.H=t}},useDebugValue:function(){vt="useDebugValue",Ct()},useDeferredValue:function(t,e){return vt="useDeferredValue",Ct(),ae(t,e)},useTransition:function(){return vt="useTransition",Ct(),hn()},useSyncExternalStore:function(t,e,a){return vt="useSyncExternalStore",Ct(),ws(t,e,a)},useId:function(){return vt="useId",Ct(),_e().memoizedState},useFormState:function(t){return vt="useFormState",Ct(),_f(),_u(t)},useActionState:function(t){return vt="useActionState",Ct(),_u(t)},useOptimistic:function(t,e){return vt="useOptimistic",Ct(),Yf(t,e)},useHostTransitionStatus:$o,useMemoCache:Tl,useCacheRefresh:function(){return vt="useCacheRefresh",Ct(),_e().memoizedState},useEffectEvent:function(t){return vt="useEffectEvent",Ct(),Kr(t)}},Pu={readContext:function(t){return x(),Ce(t)},use:function(t){return b(),ko(t)},useCallback:function(t,e){return vt="useCallback",b(),It(),nm(t,e)},useContext:function(t){return vt="useContext",b(),It(),Ce(t)},useEffect:function(t,e){return vt="useEffect",b(),It(),_s(t,e)},useImperativeHandle:function(t,e,a){return vt="useImperativeHandle",b(),It(),Ii(t,e,a)},useInsertionEffect:function(t,e){vt="useInsertionEffect",b(),It(),Nu(4,Hl,t,e)},useLayoutEffect:function(t,e){return vt="useLayoutEffect",b(),It(),qa(t,e)},useMemo:function(t,e){vt="useMemo",b(),It();var a=St.H;St.H=Pu;try{return Ga(t,e)}finally{St.H=a}},useReducer:function(t,e,a){vt="useReducer",b(),It();var u=St.H;St.H=Pu;try{return Zr(t,e,a)}finally{St.H=u}},useRef:function(t){return vt="useRef",b(),It(),em(t)},useState:function(t){vt="useState",b(),It();var e=St.H;St.H=Pu;try{return Ru(t)}finally{St.H=e}},useDebugValue:function(){vt="useDebugValue",b(),It()},useDeferredValue:function(t,e){return vt="useDeferredValue",b(),It(),$r(t,e)},useTransition:function(){return vt="useTransition",b(),It(),ju()},useSyncExternalStore:function(t,e,a){return vt="useSyncExternalStore",b(),It(),kr(t,e,a)},useId:function(){return vt="useId",b(),It(),Qf()},useFormState:function(t,e){return vt="useFormState",b(),It(),xl(t,e)},useActionState:function(t,e){return vt="useActionState",b(),It(),xl(t,e)},useOptimistic:function(t){return vt="useOptimistic",b(),It(),Us(t)},useMemoCache:function(t){return b(),Tl(t)},useHostTransitionStatus:$o,useCacheRefresh:function(){return vt="useCacheRefresh",It(),am()},useEffectEvent:function(t){return vt="useEffectEvent",b(),It(),Gf(t)}},su={readContext:function(t){return x(),Ce(t)},use:function(t){return b(),ko(t)},useCallback:function(t,e){return vt="useCallback",b(),Ct(),gi(t,e)},useContext:function(t){return vt="useContext",b(),Ct(),Ce(t)},useEffect:function(t,e){vt="useEffect",b(),Ct(),Gn(2048,Bl,t,e)},useImperativeHandle:function(t,e,a){return vt="useImperativeHandle",b(),Ct(),Fr(t,e,a)},useInsertionEffect:function(t,e){return vt="useInsertionEffect",b(),Ct(),Gn(4,Hl,t,e)},useLayoutEffect:function(t,e){return vt="useLayoutEffect",b(),Ct(),Gn(4,wi,t,e)},useMemo:function(t,e){vt="useMemo",b(),Ct();var a=St.H;St.H=su;try{return on(t,e)}finally{St.H=a}},useReducer:function(t,e,a){vt="useReducer",b(),Ct();var u=St.H;St.H=su;try{return zs(t,e,a)}finally{St.H=u}},useRef:function(){return vt="useRef",b(),Ct(),_e().memoizedState},useState:function(){vt="useState",b(),Ct();var t=St.H;St.H=su;try{return zs(El)}finally{St.H=t}},useDebugValue:function(){vt="useDebugValue",b(),Ct()},useDeferredValue:function(t,e){return vt="useDeferredValue",b(),Ct(),Wi(t,e)},useTransition:function(){return vt="useTransition",b(),Ct(),bv()},useSyncExternalStore:function(t,e,a){return vt="useSyncExternalStore",b(),Ct(),ws(t,e,a)},useId:function(){return vt="useId",b(),Ct(),_e().memoizedState},useFormState:function(t){return vt="useFormState",b(),Ct(),Uu(t)},useActionState:function(t){return vt="useActionState",b(),Ct(),Uu(t)},useOptimistic:function(t,e){return vt="useOptimistic",b(),Ct(),Lf(t,e)},useMemoCache:function(t){return b(),Tl(t)},useHostTransitionStatus:$o,useCacheRefresh:function(){return vt="useCacheRefresh",Ct(),_e().memoizedState},useEffectEvent:function(t){return vt="useEffectEvent",b(),Ct(),Kr(t)}},Q2={readContext:function(t){return x(),Ce(t)},use:function(t){return b(),ko(t)},useCallback:function(t,e){return vt="useCallback",b(),Ct(),gi(t,e)},useContext:function(t){return vt="useContext",b(),Ct(),Ce(t)},useEffect:function(t,e){vt="useEffect",b(),Ct(),Gn(2048,Bl,t,e)},useImperativeHandle:function(t,e,a){return vt="useImperativeHandle",b(),Ct(),Fr(t,e,a)},useInsertionEffect:function(t,e){return vt="useInsertionEffect",b(),Ct(),Gn(4,Hl,t,e)},useLayoutEffect:function(t,e){return vt="useLayoutEffect",b(),Ct(),Gn(4,wi,t,e)},useMemo:function(t,e){vt="useMemo",b(),Ct();var a=St.H;St.H=su;try{return on(t,e)}finally{St.H=a}},useReducer:function(t,e,a){vt="useReducer",b(),Ct();var u=St.H;St.H=su;try{return Rs(t,e,a)}finally{St.H=u}},useRef:function(){return vt="useRef",b(),Ct(),_e().memoizedState},useState:function(){vt="useState",b(),Ct();var t=St.H;St.H=su;try{return Rs(El)}finally{St.H=t}},useDebugValue:function(){vt="useDebugValue",b(),Ct()},useDeferredValue:function(t,e){return vt="useDeferredValue",b(),Ct(),ae(t,e)},useTransition:function(){return vt="useTransition",b(),Ct(),hn()},useSyncExternalStore:function(t,e,a){return vt="useSyncExternalStore",b(),Ct(),ws(t,e,a)},useId:function(){return vt="useId",b(),Ct(),_e().memoizedState},useFormState:function(t){return vt="useFormState",b(),Ct(),_u(t)},useActionState:function(t){return vt="useActionState",b(),Ct(),_u(t)},useOptimistic:function(t,e){return vt="useOptimistic",b(),Ct(),Yf(t,e)},useMemoCache:function(t){return b(),Tl(t)},useHostTransitionStatus:$o,useCacheRefresh:function(){return vt="useCacheRefresh",Ct(),_e().memoizedState},useEffectEvent:function(t){return vt="useEffectEvent",b(),Ct(),Kr(t)}};var tD={},eD=new Set,nD=new Set,aD=new Set,lD=new Set,iD=new Set,oD=new Set,uD=new Set,sD=new Set,rD=new Set,cD=new Set;Object.freeze(tD);var p4={enqueueSetState:function(t,e,a){t=t._reactInternals;var u=Ea(t),c=qn(u);c.payload=e,a!=null&&(Bs(a),c.callback=a),e=Ji(t,c,u),e!==null&&(Qi(u,"this.setState()",t),Ft(e,t,u),Kl(e,t,u))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var u=Ea(t),c=qn(u);c.tag=kx,c.payload=e,a!=null&&(Bs(a),c.callback=a),e=Ji(t,c,u),e!==null&&(Qi(u,"this.replaceState()",t),Ft(e,t,u),Kl(e,t,u))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=Ea(t),u=qn(a);u.tag=Jx,e!=null&&(Bs(e),u.callback=e),e=Ji(t,u,a),e!==null&&(Qi(a,"this.forceUpdate()",t),Ft(e,t,a),Kl(e,t,a))}},Rp=null,y4=null,g4=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),oa=!1,fD={},dD={},hD={},mD={},wp=!1,pD={},Z2={},v4={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},yD=!1,gD=null;gD=new Set;var dr=!1,ua=!1,b4=!1,vD=typeof WeakSet=="function"?WeakSet:Set,Ca=null,Up=null,_p=null,sa=null,ti=!1,ru=null,ba=!1,Jg=8192,z_={getCacheForType:function(t){var e=Ce(aa),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return Ce(aa).controller.signal},getOwner:function(){return sl}};if(typeof Symbol=="function"&&Symbol.for){var Kg=Symbol.for;Kg("selector.component"),Kg("selector.has_pseudo_class"),Kg("selector.role"),Kg("selector.test_id"),Kg("selector.text")}var R_=[],w_=typeof WeakMap=="function"?WeakMap:Map,Oa=0,Sa=2,Ui=4,hr=0,Fg=1,Gd=2,k2=3,Qc=4,J2=6,bD=5,xe=Oa,Fe=null,me=null,fe=0,ei=0,K2=1,Xd=2,$g=3,SD=4,S4=5,Ig=6,F2=7,A4=8,Qd=9,Qe=ei,_i=null,Zc=!1,Np=!1,T4=!1,ts=0,Tn=hr,kc=0,Jc=0,E4=0,ni=0,Zd=0,Wg=null,Vl=null,$2=!1,I2=0,AD=0,TD=300,W2=1/0,ED=500,Pg=null,Vn=null,Kc=null,P2=0,x4=1,D4=2,xD=3,Fc=0,DD=1,MD=2,CD=3,OD=4,tb=5,ra=0,$c=null,jp=null,cu=0,M4=0,C4=-0,O4=null,zD=null,RD=null,fu=P2,wD=null,U_=50,t1=0,z4=null,R4=!1,eb=!1,__=50,kd=0,e1=null,Hp=!1,nb=null,UD=!1,_D=new Set,N_={},ab=null,Bp=null,w4=!1,U4=!1,lb=!1,_4=!1,Ic=0,N4={};(function(){for(var t=0;t<Z3.length;t++){var e=Z3[t],a=e.toLowerCase();e=e[0].toUpperCase()+e.slice(1),ui(a,"on"+e)}ui(rx,"onAnimationEnd"),ui(cx,"onAnimationIteration"),ui(fx,"onAnimationStart"),ui("dblclick","onDoubleClick"),ui("focusin","onFocus"),ui("focusout","onBlur"),ui(r_,"onTransitionRun"),ui(c_,"onTransitionStart"),ui(f_,"onTransitionCancel"),ui(dx,"onTransitionEnd")})(),Ho("onMouseEnter",["mouseout","mouseover"]),Ho("onMouseLeave",["mouseout","mouseover"]),Ho("onPointerEnter",["pointerout","pointerover"]),Ho("onPointerLeave",["pointerout","pointerover"]),ma("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ma("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ma("onBeforeInput",["compositionend","keypress","textInput","paste"]),ma("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var n1="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(" "),j4=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(n1)),ib="_reactListening"+Math.random().toString(36).slice(2),ND=!1,jD=!1,ob=!1,HD=!1,ub=!1,sb=!1,BD=!1,rb={},j_=/\r\n?/g,H_=/\u0000|\uFFFD/g,Jd="http://www.w3.org/1999/xlink",H4="http://www.w3.org/XML/1998/namespace",B_="javascript:throw new Error('React form unexpectedly submitted.')",V_="suppressHydrationWarning",Kd="&",cb="/&",a1="$",l1="/$",Wc="$?",Fd="$~",Vp="$!",L_="html",Y_="body",q_="head",B4="F!",VD="F",LD="loading",G_="style",mr=0,Lp=1,fb=2,V4=null,L4=null,YD={dialog:!0,webview:!0},Y4=null,i1=void 0,qD=typeof setTimeout=="function"?setTimeout:void 0,X_=typeof clearTimeout=="function"?clearTimeout:void 0,$d=-1,GD=typeof Promise=="function"?Promise:void 0,Q_=typeof queueMicrotask=="function"?queueMicrotask:typeof GD<"u"?function(t){return GD.resolve(null).then(t).catch(qv)}:qD,q4=null,Id=0,o1=1,XD=2,QD=3,Mo=4,Co=new Map,ZD=new Set,pr=ze.d;ze.d={f:function(){var t=pr.f(),e=zl();return t||e},r:function(t){var e=hl(t);e!==null&&e.tag===5&&e.type==="form"?Ir(e):pr.r(t)},D:function(t){pr.D(t),Jy("dns-prefetch",t,null)},C:function(t,e){pr.C(t,e),Jy("preconnect",t,e)},L:function(t,e,a){pr.L(t,e,a);var u=Yp;if(u&&t&&e){var c='link[rel="preload"][as="'+Le(e)+'"]';e==="image"&&a&&a.imageSrcSet?(c+='[imagesrcset="'+Le(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(c+='[imagesizes="'+Le(a.imageSizes)+'"]')):c+='[href="'+Le(t)+'"]';var h=c;switch(e){case"style":h=Js(t);break;case"script":h=Ks(t)}Co.has(h)||(t=se({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),Co.set(h,t),u.querySelector(c)!==null||e==="style"&&u.querySelector(yd(h))||e==="script"&&u.querySelector(gd(h))||(e=u.createElement("link"),un(e,"link",t),Ve(e),u.head.appendChild(e)))}},m:function(t,e){pr.m(t,e);var a=Yp;if(a&&t){var u=e&&typeof e.as=="string"?e.as:"script",c='link[rel="modulepreload"][as="'+Le(u)+'"][href="'+Le(t)+'"]',h=c;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=Ks(t)}if(!Co.has(h)&&(t=se({rel:"modulepreload",href:t},e),Co.set(h,t),a.querySelector(c)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(gd(h)))return}u=a.createElement("link"),un(u,"link",t),Ve(u),a.head.appendChild(u)}}},X:function(t,e){pr.X(t,e);var a=Yp;if(a&&t){var u=On(a).hoistableScripts,c=Ks(t),h=u.get(c);h||(h=a.querySelector(gd(c)),h||(t=se({src:t,async:!0},e),(e=Co.get(c))&&$y(t,e),h=a.createElement("script"),Ve(h),un(h,"link",t),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},u.set(c,h))}},S:function(t,e,a){pr.S(t,e,a);var u=Yp;if(u&&t){var c=On(u).hoistableStyles,h=Js(t);e=e||"default";var S=c.get(h);if(!S){var T={loading:Id,preload:null};if(S=u.querySelector(yd(h)))T.loading=o1|Mo;else{t=se({rel:"stylesheet",href:t,"data-precedence":e},a),(a=Co.get(h))&&Fy(t,a);var O=S=u.createElement("link");Ve(O),un(O,"link",t),O._p=new Promise(function(U,I){O.onload=U,O.onerror=I}),O.addEventListener("load",function(){T.loading|=o1}),O.addEventListener("error",function(){T.loading|=XD}),T.loading|=Mo,vc(S,e,u)}S={type:"stylesheet",instance:S,count:1,state:T},c.set(h,S)}}},M:function(t,e){pr.M(t,e);var a=Yp;if(a&&t){var u=On(a).hoistableScripts,c=Ks(t),h=u.get(c);h||(h=a.querySelector(gd(c)),h||(t=se({src:t,async:!0,type:"module"},e),(e=Co.get(c))&&$y(t,e),h=a.createElement("script"),Ve(h),un(h,"link",t),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},u.set(c,h))}}};var Yp=typeof document>"u"?null:document,db=null,Z_=6e4,k_=800,J_=500,G4=0,X4=null,hb=null,Wd=_3,u1={$$typeof:Mi,Provider:null,Consumer:null,_currentValue:Wd,_currentValue2:Wd,_threadCount:0},kD="%c%s%c",JD="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",KD="",mb=" ",K_=Function.prototype.bind,FD=!1,$D=null,ID=null,WD=null,PD=null,t8=null,e8=null,n8=null,a8=null,l8=null,i8=null;$D=function(t,e,a,u){e=i(t,e),e!==null&&(a=s(e.memoizedState,a,0,u),e.memoizedState=a,e.baseState=a,t.memoizedProps=se({},t.memoizedProps),a=Aa(t,2),a!==null&&Ft(a,t,2))},ID=function(t,e,a){e=i(t,e),e!==null&&(a=m(e.memoizedState,a,0),e.memoizedState=a,e.baseState=a,t.memoizedProps=se({},t.memoizedProps),a=Aa(t,2),a!==null&&Ft(a,t,2))},WD=function(t,e,a,u){e=i(t,e),e!==null&&(a=d(e.memoizedState,a,u),e.memoizedState=a,e.baseState=a,t.memoizedProps=se({},t.memoizedProps),a=Aa(t,2),a!==null&&Ft(a,t,2))},PD=function(t,e,a){t.pendingProps=s(t.memoizedProps,e,0,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=Aa(t,2),e!==null&&Ft(e,t,2)},t8=function(t,e){t.pendingProps=m(t.memoizedProps,e,0),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=Aa(t,2),e!==null&&Ft(e,t,2)},e8=function(t,e,a){t.pendingProps=d(t.memoizedProps,e,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=Aa(t,2),e!==null&&Ft(e,t,2)},n8=function(t){var e=Aa(t,2);e!==null&&Ft(e,t,2)},a8=function(t){var e=dl(),a=Aa(t,e);a!==null&&Ft(a,t,e)},l8=function(t){g=t},i8=function(t){p=t};var pb=!0,yb=null,Q4=!1,Pc=null,tf=null,ef=null,s1=new Map,r1=new Map,nf=[],F_="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".split(" "),gb=null;if(Di.prototype.render=og.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error("Cannot update an unmounted root.");var a=arguments;typeof a[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):L(a[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof a[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),a=t;var u=e.current,c=Ea(u);Jm(u,c,a,e,null,null)},Di.prototype.unmount=og.prototype.unmount=function(){var t=arguments;if(typeof t[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),t=this._internalRoot,t!==null){this._internalRoot=null;var e=t.containerInfo;(xe&(Sa|Ui))!==Oa&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Jm(t.current,2,null,t,null,null),zl(),e[iu]=null}},Di.prototype.unstable_scheduleHydration=function(t){if(t){var e=Sh();t={blockedOn:null,target:t,priority:e};for(var a=0;a<nf.length&&e!==0&&e<nf[a].priority;a++);nf.splice(a,0,t),a===0&&ig(t)}},(function(){var t=Td.version;if(t!=="19.2.3")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
221
- - react: `+(t+`
222
- - react-dom: 19.2.3
223
- Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),ze.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error("Unable to find node on an unmounted component."):(t=Object.keys(t).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+t));return t=tt(e),t=t!==null?Y(t):null,t=t===null?null:t.stateNode,t},!(function(){var t={bundleType:1,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:St,reconcilerVersion:"19.2.3"};return t.overrideHookState=$D,t.overrideHookStateDeletePath=ID,t.overrideHookStateRenamePath=WD,t.overrideProps=PD,t.overridePropsDeletePath=t8,t.overridePropsRenamePath=e8,t.scheduleUpdate=n8,t.scheduleRetry=a8,t.setErrorHandler=l8,t.setSuspenseHandler=i8,t.scheduleRefresh=_,t.scheduleRoot=z,t.setRefreshHandler=V,t.getCurrentFiber=Ge,Mn(t)})()&&$u&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var o8=window.location.protocol;/^(https?|file):$/.test(o8)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(o8==="file:"?`
224
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Qp.createRoot=function(t,e){if(!L(t))throw Error("Target container is not a DOM element.");ug(t);var a=!1,u="",c=om,h=um,S=ey;return e!=null&&(e.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof e=="object"&&e!==null&&e.$$typeof===Wl&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
225
-
226
- let root = createRoot(domContainer);
227
- root.render(<App />);`),e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(u=e.identifierPrefix),e.onUncaughtError!==void 0&&(c=e.onUncaughtError),e.onCaughtError!==void 0&&(h=e.onCaughtError),e.onRecoverableError!==void 0&&(S=e.onRecoverableError)),e=Sd(t,1,!1,null,null,a,u,null,c,h,S,f2),t[iu]=e.current,Gu(t),new og(e)},Qp.hydrateRoot=function(t,e,a){if(!L(t))throw Error("Target container is not a DOM element.");ug(t),e===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=!1,c="",h=om,S=um,T=ey,O=null;return a!=null&&(a.unstable_strictMode===!0&&(u=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(h=a.onUncaughtError),a.onCaughtError!==void 0&&(S=a.onCaughtError),a.onRecoverableError!==void 0&&(T=a.onRecoverableError),a.formState!==void 0&&(O=a.formState)),e=Sd(t,1,!0,e,a??null,u,c,O,h,S,T,f2),e.context=u2(null),a=e.current,u=Ea(a),u=fa(u),c=qn(u),c.callback=null,Ji(a,c,u),Qi(u,"hydrateRoot()",null),a=u,e.current.lanes=a,Pe(e,a),ll(e),t[iu]=e.current,Gu(t),new Di(e)},Qp.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Qp}var tA;function p8(){if(tA)return d1.exports;tA=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(s){console.error(s)}}}return process.env.NODE_ENV==="production"?(i(),d1.exports=h8()):d1.exports=m8(),d1.exports}var y8=p8();const Sb=Ot.createContext({});function Ab(i){const s=Ot.useRef(null);return s.current===null&&(s.current=i()),s.current}const Tb=typeof window<"u",eA=Tb?Ot.useLayoutEffect:Ot.useEffect,m1=Ot.createContext(null);function Eb(i,s){i.indexOf(s)===-1&&i.push(s)}function xb(i,s){const d=i.indexOf(s);d>-1&&i.splice(d,1)}const es=(i,s,d)=>d>s?s:d<i?i:d;function Db(i,s){return s?`${i}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${s}`:i}let th=()=>{},ns=()=>{};process.env.NODE_ENV!=="production"&&(th=(i,s,d)=>{!i&&typeof console<"u"&&console.warn(Db(s,d))},ns=(i,s,d)=>{if(!i)throw new Error(Db(s,d))});const as={},nA=i=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i);function aA(i){return typeof i=="object"&&i!==null}const lA=i=>/^0[^.\s]+$/u.test(i);function Mb(i){let s;return()=>(s===void 0&&(s=i()),s)}const Ni=i=>i,g8=(i,s)=>d=>s(i(d)),Zp=(...i)=>i.reduce(g8),kp=(i,s,d)=>{const f=s-i;return f===0?1:(d-i)/f};class Cb{constructor(){this.subscriptions=[]}add(s){return Eb(this.subscriptions,s),()=>xb(this.subscriptions,s)}notify(s,d,f){const m=this.subscriptions.length;if(m)if(m===1)this.subscriptions[0](s,d,f);else for(let p=0;p<m;p++){const g=this.subscriptions[p];g&&g(s,d,f)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Oo=i=>i*1e3,ji=i=>i/1e3;function iA(i,s){return s?i*(1e3/s):0}const oA=new Set;function Ob(i,s,d){i||oA.has(s)||(console.warn(Db(s,d)),oA.add(s))}const uA=(i,s,d)=>(((1-3*d+3*s)*i+(3*d-6*s))*i+3*s)*i,v8=1e-7,b8=12;function S8(i,s,d,f,m){let p,g,b=0;do g=s+(d-s)/2,p=uA(g,f,m)-i,p>0?d=g:s=g;while(Math.abs(p)>v8&&++b<b8);return g}function Jp(i,s,d,f){if(i===s&&d===f)return Ni;const m=p=>S8(p,0,1,i,d);return p=>p===0||p===1?p:uA(m(p),s,f)}const sA=i=>s=>s<=.5?i(2*s)/2:(2-i(2*(1-s)))/2,rA=i=>s=>1-i(1-s),cA=Jp(.33,1.53,.69,.99),zb=rA(cA),fA=sA(zb),dA=i=>(i*=2)<1?.5*zb(i):.5*(2-Math.pow(2,-10*(i-1))),Rb=i=>1-Math.sin(Math.acos(i)),hA=rA(Rb),mA=sA(Rb),A8=Jp(.42,0,1,1),T8=Jp(0,0,.58,1),pA=Jp(.42,0,.58,1),E8=i=>Array.isArray(i)&&typeof i[0]!="number",yA=i=>Array.isArray(i)&&typeof i[0]=="number",gA={linear:Ni,easeIn:A8,easeInOut:pA,easeOut:T8,circIn:Rb,circInOut:mA,circOut:hA,backIn:zb,backInOut:fA,backOut:cA,anticipate:dA},x8=i=>typeof i=="string",vA=i=>{if(yA(i)){ns(i.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[s,d,f,m]=i;return Jp(s,d,f,m)}else if(x8(i))return ns(gA[i]!==void 0,`Invalid easing type '${i}'`,"invalid-easing-type"),gA[i];return i},p1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function D8(i,s){let d=new Set,f=new Set,m=!1,p=!1;const g=new WeakSet;let b={delta:0,timestamp:0,isProcessing:!1};function x(A){g.has(A)&&(M.schedule(A),i()),A(b)}const M={schedule:(A,E=!1,D=!1)=>{const _=D&&m?d:f;return E&&g.add(A),_.has(A)||_.add(A),A},cancel:A=>{f.delete(A),g.delete(A)},process:A=>{if(b=A,m){p=!0;return}m=!0,[d,f]=[f,d],d.forEach(x),d.clear(),m=!1,p&&(p=!1,M.process(A))}};return M}const M8=40;function bA(i,s){let d=!1,f=!0;const m={delta:0,timestamp:0,isProcessing:!1},p=()=>d=!0,g=p1.reduce((k,P)=>(k[P]=D8(p),k),{}),{setup:b,read:x,resolveKeyframes:M,preUpdate:A,update:E,preRender:D,render:z,postRender:_}=g,V=()=>{const k=as.useManualTiming?m.timestamp:performance.now();d=!1,as.useManualTiming||(m.delta=f?1e3/60:Math.max(Math.min(k-m.timestamp,M8),1)),m.timestamp=k,m.isProcessing=!0,b.process(m),x.process(m),M.process(m),A.process(m),E.process(m),D.process(m),z.process(m),_.process(m),m.isProcessing=!1,d&&s&&(f=!1,i(V))},L=()=>{d=!0,f=!0,m.isProcessing||i(V)};return{schedule:p1.reduce((k,P)=>{const tt=g[P];return k[P]=(Y,rt=!1,j=!1)=>(d||L(),tt.schedule(Y,rt,j)),k},{}),cancel:k=>{for(let P=0;P<p1.length;P++)g[p1[P]].cancel(k)},state:m,steps:g}}const{schedule:gn,cancel:gr,state:za,steps:wb}=bA(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ni,!0);let y1;function C8(){y1=void 0}const Ll={now:()=>(y1===void 0&&Ll.set(za.isProcessing||as.useManualTiming?za.timestamp:performance.now()),y1),set:i=>{y1=i,queueMicrotask(C8)}},SA=i=>s=>typeof s=="string"&&s.startsWith(i),AA=SA("--"),O8=SA("var(--"),Ub=i=>O8(i)?z8.test(i.split("/*")[0].trim()):!1,z8=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,eh={test:i=>typeof i=="number",parse:parseFloat,transform:i=>i},Kp={...eh,transform:i=>es(0,1,i)},g1={...eh,default:1},Fp=i=>Math.round(i*1e5)/1e5,_b=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function R8(i){return i==null}const w8=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Nb=(i,s)=>d=>!!(typeof d=="string"&&w8.test(d)&&d.startsWith(i)||s&&!R8(d)&&Object.prototype.hasOwnProperty.call(d,s)),TA=(i,s,d)=>f=>{if(typeof f!="string")return f;const[m,p,g,b]=f.match(_b);return{[i]:parseFloat(m),[s]:parseFloat(p),[d]:parseFloat(g),alpha:b!==void 0?parseFloat(b):1}},U8=i=>es(0,255,i),jb={...eh,transform:i=>Math.round(U8(i))},af={test:Nb("rgb","red"),parse:TA("red","green","blue"),transform:({red:i,green:s,blue:d,alpha:f=1})=>"rgba("+jb.transform(i)+", "+jb.transform(s)+", "+jb.transform(d)+", "+Fp(Kp.transform(f))+")"};function _8(i){let s="",d="",f="",m="";return i.length>5?(s=i.substring(1,3),d=i.substring(3,5),f=i.substring(5,7),m=i.substring(7,9)):(s=i.substring(1,2),d=i.substring(2,3),f=i.substring(3,4),m=i.substring(4,5),s+=s,d+=d,f+=f,m+=m),{red:parseInt(s,16),green:parseInt(d,16),blue:parseInt(f,16),alpha:m?parseInt(m,16)/255:1}}const Hb={test:Nb("#"),parse:_8,transform:af.transform},$p=i=>({test:s=>typeof s=="string"&&s.endsWith(i)&&s.split(" ").length===1,parse:parseFloat,transform:s=>`${s}${i}`}),vr=$p("deg"),du=$p("%"),$t=$p("px"),N8=$p("vh"),j8=$p("vw"),EA={...du,parse:i=>du.parse(i)/100,transform:i=>du.transform(i*100)},nh={test:Nb("hsl","hue"),parse:TA("hue","saturation","lightness"),transform:({hue:i,saturation:s,lightness:d,alpha:f=1})=>"hsla("+Math.round(i)+", "+du.transform(Fp(s))+", "+du.transform(Fp(d))+", "+Fp(Kp.transform(f))+")"},Kn={test:i=>af.test(i)||Hb.test(i)||nh.test(i),parse:i=>af.test(i)?af.parse(i):nh.test(i)?nh.parse(i):Hb.parse(i),transform:i=>typeof i=="string"?i:i.hasOwnProperty("red")?af.transform(i):nh.transform(i),getAnimatableNone:i=>{const s=Kn.parse(i);return s.alpha=0,Kn.transform(s)}},H8=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function B8(i){return isNaN(i)&&typeof i=="string"&&(i.match(_b)?.length||0)+(i.match(H8)?.length||0)>0}const xA="number",DA="color",V8="var",L8="var(",MA="${}",Y8=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ip(i){const s=i.toString(),d=[],f={color:[],number:[],var:[]},m=[];let p=0;const b=s.replace(Y8,x=>(Kn.test(x)?(f.color.push(p),m.push(DA),d.push(Kn.parse(x))):x.startsWith(L8)?(f.var.push(p),m.push(V8),d.push(x)):(f.number.push(p),m.push(xA),d.push(parseFloat(x))),++p,MA)).split(MA);return{values:d,split:b,indexes:f,types:m}}function CA(i){return Ip(i).values}function OA(i){const{split:s,types:d}=Ip(i),f=s.length;return m=>{let p="";for(let g=0;g<f;g++)if(p+=s[g],m[g]!==void 0){const b=d[g];b===xA?p+=Fp(m[g]):b===DA?p+=Kn.transform(m[g]):p+=m[g]}return p}}const q8=i=>typeof i=="number"?0:Kn.test(i)?Kn.getAnimatableNone(i):i;function G8(i){const s=CA(i);return OA(i)(s.map(q8))}const br={test:B8,parse:CA,createTransformer:OA,getAnimatableNone:G8};function Bb(i,s,d){return d<0&&(d+=1),d>1&&(d-=1),d<1/6?i+(s-i)*6*d:d<1/2?s:d<2/3?i+(s-i)*(2/3-d)*6:i}function X8({hue:i,saturation:s,lightness:d,alpha:f}){i/=360,s/=100,d/=100;let m=0,p=0,g=0;if(!s)m=p=g=d;else{const b=d<.5?d*(1+s):d+s-d*s,x=2*d-b;m=Bb(x,b,i+1/3),p=Bb(x,b,i),g=Bb(x,b,i-1/3)}return{red:Math.round(m*255),green:Math.round(p*255),blue:Math.round(g*255),alpha:f}}function v1(i,s){return d=>d>0?s:i}const En=(i,s,d)=>i+(s-i)*d,Vb=(i,s,d)=>{const f=i*i,m=d*(s*s-f)+f;return m<0?0:Math.sqrt(m)},Q8=[Hb,af,nh],Z8=i=>Q8.find(s=>s.test(i));function zA(i){const s=Z8(i);if(th(!!s,`'${i}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!s)return!1;let d=s.parse(i);return s===nh&&(d=X8(d)),d}const RA=(i,s)=>{const d=zA(i),f=zA(s);if(!d||!f)return v1(i,s);const m={...d};return p=>(m.red=Vb(d.red,f.red,p),m.green=Vb(d.green,f.green,p),m.blue=Vb(d.blue,f.blue,p),m.alpha=En(d.alpha,f.alpha,p),af.transform(m))},Lb=new Set(["none","hidden"]);function k8(i,s){return Lb.has(i)?d=>d<=0?i:s:d=>d>=1?s:i}function J8(i,s){return d=>En(i,s,d)}function Yb(i){return typeof i=="number"?J8:typeof i=="string"?Ub(i)?v1:Kn.test(i)?RA:$8:Array.isArray(i)?wA:typeof i=="object"?Kn.test(i)?RA:K8:v1}function wA(i,s){const d=[...i],f=d.length,m=i.map((p,g)=>Yb(p)(p,s[g]));return p=>{for(let g=0;g<f;g++)d[g]=m[g](p);return d}}function K8(i,s){const d={...i,...s},f={};for(const m in d)i[m]!==void 0&&s[m]!==void 0&&(f[m]=Yb(i[m])(i[m],s[m]));return m=>{for(const p in f)d[p]=f[p](m);return d}}function F8(i,s){const d=[],f={color:0,var:0,number:0};for(let m=0;m<s.values.length;m++){const p=s.types[m],g=i.indexes[p][f[p]],b=i.values[g]??0;d[m]=b,f[p]++}return d}const $8=(i,s)=>{const d=br.createTransformer(s),f=Ip(i),m=Ip(s);return f.indexes.var.length===m.indexes.var.length&&f.indexes.color.length===m.indexes.color.length&&f.indexes.number.length>=m.indexes.number.length?Lb.has(i)&&!m.values.length||Lb.has(s)&&!f.values.length?k8(i,s):Zp(wA(F8(f,m),m.values),d):(th(!0,`Complex values '${i}' and '${s}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),v1(i,s))};function UA(i,s,d){return typeof i=="number"&&typeof s=="number"&&typeof d=="number"?En(i,s,d):Yb(i)(i,s)}const I8=i=>{const s=({timestamp:d})=>i(d);return{start:(d=!0)=>gn.update(s,d),stop:()=>gr(s),now:()=>za.isProcessing?za.timestamp:Ll.now()}},_A=(i,s,d=10)=>{let f="";const m=Math.max(Math.round(s/d),2);for(let p=0;p<m;p++)f+=Math.round(i(p/(m-1))*1e4)/1e4+", ";return`linear(${f.substring(0,f.length-2)})`},b1=2e4;function qb(i){let s=0;const d=50;let f=i.next(s);for(;!f.done&&s<b1;)s+=d,f=i.next(s);return s>=b1?1/0:s}function W8(i,s=100,d){const f=d({...i,keyframes:[0,s]}),m=Math.min(qb(f),b1);return{type:"keyframes",ease:p=>f.next(m*p).value/s,duration:ji(m)}}const P8=5;function NA(i,s,d){const f=Math.max(s-P8,0);return iA(d-i(f),s-f)}const xn={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Gb=.001;function tM({duration:i=xn.duration,bounce:s=xn.bounce,velocity:d=xn.velocity,mass:f=xn.mass}){let m,p;th(i<=Oo(xn.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let g=1-s;g=es(xn.minDamping,xn.maxDamping,g),i=es(xn.minDuration,xn.maxDuration,ji(i)),g<1?(m=M=>{const A=M*g,E=A*i,D=A-d,z=Xb(M,g),_=Math.exp(-E);return Gb-D/z*_},p=M=>{const E=M*g*i,D=E*d+d,z=Math.pow(g,2)*Math.pow(M,2)*i,_=Math.exp(-E),V=Xb(Math.pow(M,2),g);return(-m(M)+Gb>0?-1:1)*((D-z)*_)/V}):(m=M=>{const A=Math.exp(-M*i),E=(M-d)*i+1;return-Gb+A*E},p=M=>{const A=Math.exp(-M*i),E=(d-M)*(i*i);return A*E});const b=5/i,x=nM(m,p,b);if(i=Oo(i),isNaN(x))return{stiffness:xn.stiffness,damping:xn.damping,duration:i};{const M=Math.pow(x,2)*f;return{stiffness:M,damping:g*2*Math.sqrt(f*M),duration:i}}}const eM=12;function nM(i,s,d){let f=d;for(let m=1;m<eM;m++)f=f-i(f)/s(f);return f}function Xb(i,s){return i*Math.sqrt(1-s*s)}const aM=["duration","bounce"],lM=["stiffness","damping","mass"];function jA(i,s){return s.some(d=>i[d]!==void 0)}function iM(i){let s={velocity:xn.velocity,stiffness:xn.stiffness,damping:xn.damping,mass:xn.mass,isResolvedFromDuration:!1,...i};if(!jA(i,lM)&&jA(i,aM))if(i.visualDuration){const d=i.visualDuration,f=2*Math.PI/(d*1.2),m=f*f,p=2*es(.05,1,1-(i.bounce||0))*Math.sqrt(m);s={...s,mass:xn.mass,stiffness:m,damping:p}}else{const d=tM(i);s={...s,...d,mass:xn.mass},s.isResolvedFromDuration=!0}return s}function S1(i=xn.visualDuration,s=xn.bounce){const d=typeof i!="object"?{visualDuration:i,keyframes:[0,1],bounce:s}:i;let{restSpeed:f,restDelta:m}=d;const p=d.keyframes[0],g=d.keyframes[d.keyframes.length-1],b={done:!1,value:p},{stiffness:x,damping:M,mass:A,duration:E,velocity:D,isResolvedFromDuration:z}=iM({...d,velocity:-ji(d.velocity||0)}),_=D||0,V=M/(2*Math.sqrt(x*A)),L=g-p,B=ji(Math.sqrt(x/A)),it=Math.abs(L)<5;f||(f=it?xn.restSpeed.granular:xn.restSpeed.default),m||(m=it?xn.restDelta.granular:xn.restDelta.default);let k;if(V<1){const tt=Xb(B,V);k=Y=>{const rt=Math.exp(-V*B*Y);return g-rt*((_+V*B*L)/tt*Math.sin(tt*Y)+L*Math.cos(tt*Y))}}else if(V===1)k=tt=>g-Math.exp(-B*tt)*(L+(_+B*L)*tt);else{const tt=B*Math.sqrt(V*V-1);k=Y=>{const rt=Math.exp(-V*B*Y),j=Math.min(tt*Y,300);return g-rt*((_+V*B*L)*Math.sinh(j)+tt*L*Math.cosh(j))/tt}}const P={calculatedDuration:z&&E||null,next:tt=>{const Y=k(tt);if(z)b.done=tt>=E;else{let rt=tt===0?_:0;V<1&&(rt=tt===0?Oo(_):NA(k,tt,Y));const j=Math.abs(rt)<=f,H=Math.abs(g-Y)<=m;b.done=j&&H}return b.value=b.done?g:Y,b},toString:()=>{const tt=Math.min(qb(P),b1),Y=_A(rt=>P.next(tt*rt).value,tt,30);return tt+"ms "+Y},toTransition:()=>{}};return P}S1.applyToOptions=i=>{const s=W8(i,100,S1);return i.ease=s.ease,i.duration=Oo(s.duration),i.type="keyframes",i};function Qb({keyframes:i,velocity:s=0,power:d=.8,timeConstant:f=325,bounceDamping:m=10,bounceStiffness:p=500,modifyTarget:g,min:b,max:x,restDelta:M=.5,restSpeed:A}){const E=i[0],D={done:!1,value:E},z=j=>b!==void 0&&j<b||x!==void 0&&j>x,_=j=>b===void 0?x:x===void 0||Math.abs(b-j)<Math.abs(x-j)?b:x;let V=d*s;const L=E+V,B=g===void 0?L:g(L);B!==L&&(V=B-E);const it=j=>-V*Math.exp(-j/f),k=j=>B+it(j),P=j=>{const H=it(j),q=k(j);D.done=Math.abs(H)<=M,D.value=D.done?B:q};let tt,Y;const rt=j=>{z(D.value)&&(tt=j,Y=S1({keyframes:[D.value,_(D.value)],velocity:NA(k,j,D.value),damping:m,stiffness:p,restDelta:M,restSpeed:A}))};return rt(0),{calculatedDuration:null,next:j=>{let H=!1;return!Y&&tt===void 0&&(H=!0,P(j),rt(j)),tt!==void 0&&j>=tt?Y.next(j-tt):(!H&&P(j),D)}}}function oM(i,s,d){const f=[],m=d||as.mix||UA,p=i.length-1;for(let g=0;g<p;g++){let b=m(i[g],i[g+1]);if(s){const x=Array.isArray(s)?s[g]||Ni:s;b=Zp(x,b)}f.push(b)}return f}function uM(i,s,{clamp:d=!0,ease:f,mixer:m}={}){const p=i.length;if(ns(p===s.length,"Both input and output ranges must be the same length","range-length"),p===1)return()=>s[0];if(p===2&&s[0]===s[1])return()=>s[1];const g=i[0]===i[1];i[0]>i[p-1]&&(i=[...i].reverse(),s=[...s].reverse());const b=oM(s,f,m),x=b.length,M=A=>{if(g&&A<i[0])return s[0];let E=0;if(x>1)for(;E<i.length-2&&!(A<i[E+1]);E++);const D=kp(i[E],i[E+1],A);return b[E](D)};return d?A=>M(es(i[0],i[p-1],A)):M}function sM(i,s){const d=i[i.length-1];for(let f=1;f<=s;f++){const m=kp(0,s,f);i.push(En(d,1,m))}}function rM(i){const s=[0];return sM(s,i.length-1),s}function cM(i,s){return i.map(d=>d*s)}function fM(i,s){return i.map(()=>s||pA).splice(0,i.length-1)}function ah({duration:i=300,keyframes:s,times:d,ease:f="easeInOut"}){const m=E8(f)?f.map(vA):vA(f),p={done:!1,value:s[0]},g=cM(d&&d.length===s.length?d:rM(s),i),b=uM(g,s,{ease:Array.isArray(m)?m:fM(s,m)});return{calculatedDuration:i,next:x=>(p.value=b(x),p.done=x>=i,p)}}const dM=i=>i!==null;function Zb(i,{repeat:s,repeatType:d="loop"},f,m=1){const p=i.filter(dM),b=m<0||s&&d!=="loop"&&s%2===1?0:p.length-1;return!b||f===void 0?p[b]:f}const hM={decay:Qb,inertia:Qb,tween:ah,keyframes:ah,spring:S1};function HA(i){typeof i.type=="string"&&(i.type=hM[i.type])}class kb{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(s=>{this.resolve=s})}notifyFinished(){this.resolve()}then(s,d){return this.finished.then(s,d)}}const mM=i=>i/100;class Jb extends kb{constructor(s){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:d}=this.options;d&&d.updatedAt!==Ll.now()&&this.tick(Ll.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=s,this.initAnimation(),this.play(),s.autoplay===!1&&this.pause()}initAnimation(){const{options:s}=this;HA(s);const{type:d=ah,repeat:f=0,repeatDelay:m=0,repeatType:p,velocity:g=0}=s;let{keyframes:b}=s;const x=d||ah;process.env.NODE_ENV!=="production"&&x!==ah&&ns(b.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${b}`,"spring-two-frames"),x!==ah&&typeof b[0]!="number"&&(this.mixKeyframes=Zp(mM,UA(b[0],b[1])),b=[0,100]);const M=x({...s,keyframes:b});p==="mirror"&&(this.mirroredGenerator=x({...s,keyframes:[...b].reverse(),velocity:-g})),M.calculatedDuration===null&&(M.calculatedDuration=qb(M));const{calculatedDuration:A}=M;this.calculatedDuration=A,this.resolvedDuration=A+m,this.totalDuration=this.resolvedDuration*(f+1)-m,this.generator=M}updateTime(s){const d=Math.round(s-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=d}tick(s,d=!1){const{generator:f,totalDuration:m,mixKeyframes:p,mirroredGenerator:g,resolvedDuration:b,calculatedDuration:x}=this;if(this.startTime===null)return f.next(0);const{delay:M=0,keyframes:A,repeat:E,repeatType:D,repeatDelay:z,type:_,onUpdate:V,finalKeyframe:L}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,s):this.speed<0&&(this.startTime=Math.min(s-m/this.speed,this.startTime)),d?this.currentTime=s:this.updateTime(s);const B=this.currentTime-M*(this.playbackSpeed>=0?1:-1),it=this.playbackSpeed>=0?B<0:B>m;this.currentTime=Math.max(B,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=m);let k=this.currentTime,P=f;if(E){const j=Math.min(this.currentTime,m)/b;let H=Math.floor(j),q=j%1;!q&&j>=1&&(q=1),q===1&&H--,H=Math.min(H,E+1),H%2&&(D==="reverse"?(q=1-q,z&&(q-=z/b)):D==="mirror"&&(P=g)),k=es(0,1,q)*b}const tt=it?{done:!1,value:A[0]}:P.next(k);p&&(tt.value=p(tt.value));let{done:Y}=tt;!it&&x!==null&&(Y=this.playbackSpeed>=0?this.currentTime>=m:this.currentTime<=0);const rt=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&Y);return rt&&_!==Qb&&(tt.value=Zb(A,this.options,L,this.speed)),V&&V(tt.value),rt&&this.finish(),tt}then(s,d){return this.finished.then(s,d)}get duration(){return ji(this.calculatedDuration)}get iterationDuration(){const{delay:s=0}=this.options||{};return this.duration+ji(s)}get time(){return ji(this.currentTime)}set time(s){s=Oo(s),this.currentTime=s,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=s:this.driver&&(this.startTime=this.driver.now()-s/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(s){this.updateTime(Ll.now());const d=this.playbackSpeed!==s;this.playbackSpeed=s,d&&(this.time=ji(this.currentTime))}play(){if(this.isStopped)return;const{driver:s=I8,startTime:d}=this.options;this.driver||(this.driver=s(m=>this.tick(m))),this.options.onPlay?.();const f=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=f):this.holdTime!==null?this.startTime=f-this.holdTime:this.startTime||(this.startTime=d??f),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ll.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(s){return this.startTime=0,this.tick(s,!0)}attachTimeline(s){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),s.observe(this)}}function pM(i){for(let s=1;s<i.length;s++)i[s]??(i[s]=i[s-1])}const lf=i=>i*180/Math.PI,Kb=i=>{const s=lf(Math.atan2(i[1],i[0]));return Fb(s)},yM={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i=>(Math.abs(i[0])+Math.abs(i[3]))/2,rotate:Kb,rotateZ:Kb,skewX:i=>lf(Math.atan(i[1])),skewY:i=>lf(Math.atan(i[2])),skew:i=>(Math.abs(i[1])+Math.abs(i[2]))/2},Fb=i=>(i=i%360,i<0&&(i+=360),i),BA=Kb,VA=i=>Math.sqrt(i[0]*i[0]+i[1]*i[1]),LA=i=>Math.sqrt(i[4]*i[4]+i[5]*i[5]),gM={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:VA,scaleY:LA,scale:i=>(VA(i)+LA(i))/2,rotateX:i=>Fb(lf(Math.atan2(i[6],i[5]))),rotateY:i=>Fb(lf(Math.atan2(-i[2],i[0]))),rotateZ:BA,rotate:BA,skewX:i=>lf(Math.atan(i[4])),skewY:i=>lf(Math.atan(i[1])),skew:i=>(Math.abs(i[1])+Math.abs(i[4]))/2};function $b(i){return i.includes("scale")?1:0}function Ib(i,s){if(!i||i==="none")return $b(s);const d=i.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let f,m;if(d)f=gM,m=d;else{const b=i.match(/^matrix\(([-\d.e\s,]+)\)$/u);f=yM,m=b}if(!m)return $b(s);const p=f[s],g=m[1].split(",").map(bM);return typeof p=="function"?p(g):g[p]}const vM=(i,s)=>{const{transform:d="none"}=getComputedStyle(i);return Ib(d,s)};function bM(i){return parseFloat(i.trim())}const lh=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ih=new Set(lh),YA=i=>i===eh||i===$t,SM=new Set(["x","y","z"]),AM=lh.filter(i=>!SM.has(i));function TM(i){const s=[];return AM.forEach(d=>{const f=i.getValue(d);f!==void 0&&(s.push([d,f.get()]),f.set(d.startsWith("scale")?1:0))}),s}const of={width:({x:i},{paddingLeft:s="0",paddingRight:d="0"})=>i.max-i.min-parseFloat(s)-parseFloat(d),height:({y:i},{paddingTop:s="0",paddingBottom:d="0"})=>i.max-i.min-parseFloat(s)-parseFloat(d),top:(i,{top:s})=>parseFloat(s),left:(i,{left:s})=>parseFloat(s),bottom:({y:i},{top:s})=>parseFloat(s)+(i.max-i.min),right:({x:i},{left:s})=>parseFloat(s)+(i.max-i.min),x:(i,{transform:s})=>Ib(s,"x"),y:(i,{transform:s})=>Ib(s,"y")};of.translateX=of.x,of.translateY=of.y;const uf=new Set;let Wb=!1,Pb=!1,tS=!1;function qA(){if(Pb){const i=Array.from(uf).filter(f=>f.needsMeasurement),s=new Set(i.map(f=>f.element)),d=new Map;s.forEach(f=>{const m=TM(f);m.length&&(d.set(f,m),f.render())}),i.forEach(f=>f.measureInitialState()),s.forEach(f=>{f.render();const m=d.get(f);m&&m.forEach(([p,g])=>{f.getValue(p)?.set(g)})}),i.forEach(f=>f.measureEndState()),i.forEach(f=>{f.suspendedScrollY!==void 0&&window.scrollTo(0,f.suspendedScrollY)})}Pb=!1,Wb=!1,uf.forEach(i=>i.complete(tS)),uf.clear()}function GA(){uf.forEach(i=>{i.readKeyframes(),i.needsMeasurement&&(Pb=!0)})}function EM(){tS=!0,GA(),qA(),tS=!1}class eS{constructor(s,d,f,m,p,g=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...s],this.onComplete=d,this.name=f,this.motionValue=m,this.element=p,this.isAsync=g}scheduleResolve(){this.state="scheduled",this.isAsync?(uf.add(this),Wb||(Wb=!0,gn.read(GA),gn.resolveKeyframes(qA))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:s,name:d,element:f,motionValue:m}=this;if(s[0]===null){const p=m?.get(),g=s[s.length-1];if(p!==void 0)s[0]=p;else if(f&&d){const b=f.readValue(d,g);b!=null&&(s[0]=b)}s[0]===void 0&&(s[0]=g),m&&p===void 0&&m.set(s[0])}pM(s)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(s=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,s),uf.delete(this)}cancel(){this.state==="scheduled"&&(uf.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const xM=i=>i.startsWith("--");function DM(i,s,d){xM(s)?i.style.setProperty(s,d):i.style[s]=d}const MM=Mb(()=>window.ScrollTimeline!==void 0),CM={};function OM(i,s){const d=Mb(i);return()=>CM[s]??d()}const XA=OM(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Wp=([i,s,d,f])=>`cubic-bezier(${i}, ${s}, ${d}, ${f})`,QA={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Wp([0,.65,.55,1]),circOut:Wp([.55,0,1,.45]),backIn:Wp([.31,.01,.66,-.59]),backOut:Wp([.33,1.53,.69,.99])};function ZA(i,s){if(i)return typeof i=="function"?XA()?_A(i,s):"ease-out":yA(i)?Wp(i):Array.isArray(i)?i.map(d=>ZA(d,s)||QA.easeOut):QA[i]}function zM(i,s,d,{delay:f=0,duration:m=300,repeat:p=0,repeatType:g="loop",ease:b="easeOut",times:x}={},M=void 0){const A={[s]:d};x&&(A.offset=x);const E=ZA(b,m);Array.isArray(E)&&(A.easing=E);const D={delay:f,duration:m,easing:Array.isArray(E)?"linear":E,fill:"both",iterations:p+1,direction:g==="reverse"?"alternate":"normal"};return M&&(D.pseudoElement=M),i.animate(A,D)}function kA(i){return typeof i=="function"&&"applyToOptions"in i}function RM({type:i,...s}){return kA(i)&&XA()?i.applyToOptions(s):(s.duration??(s.duration=300),s.ease??(s.ease="easeOut"),s)}class wM extends kb{constructor(s){if(super(),this.finishedTime=null,this.isStopped=!1,!s)return;const{element:d,name:f,keyframes:m,pseudoElement:p,allowFlatten:g=!1,finalKeyframe:b,onComplete:x}=s;this.isPseudoElement=!!p,this.allowFlatten=g,this.options=s,ns(typeof s.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const M=RM(s);this.animation=zM(d,f,m,M,p),M.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!p){const A=Zb(m,this.options,b,this.speed);this.updateMotionValue?this.updateMotionValue(A):DM(d,f,A),this.animation.cancel()}x?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:s}=this;s==="idle"||s==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const s=this.animation.effect?.getComputedTiming?.().duration||0;return ji(Number(s))}get iterationDuration(){const{delay:s=0}=this.options||{};return this.duration+ji(s)}get time(){return ji(Number(this.animation.currentTime)||0)}set time(s){this.finishedTime=null,this.animation.currentTime=Oo(s)}get speed(){return this.animation.playbackRate}set speed(s){s<0&&(this.finishedTime=null),this.animation.playbackRate=s}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(s){this.animation.startTime=s}attachTimeline({timeline:s,observe:d}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,s&&MM()?(this.animation.timeline=s,Ni):d(this)}}const JA={anticipate:dA,backInOut:fA,circInOut:mA};function UM(i){return i in JA}function _M(i){typeof i.ease=="string"&&UM(i.ease)&&(i.ease=JA[i.ease])}const KA=10;class NM extends wM{constructor(s){_M(s),HA(s),super(s),s.startTime&&(this.startTime=s.startTime),this.options=s}updateMotionValue(s){const{motionValue:d,onUpdate:f,onComplete:m,element:p,...g}=this.options;if(!d)return;if(s!==void 0){d.set(s);return}const b=new Jb({...g,autoplay:!1}),x=Oo(this.finishedTime??this.time);d.setWithVelocity(b.sample(x-KA).value,b.sample(x).value,KA),b.stop()}}const FA=(i,s)=>s==="zIndex"?!1:!!(typeof i=="number"||Array.isArray(i)||typeof i=="string"&&(br.test(i)||i==="0")&&!i.startsWith("url("));function jM(i){const s=i[0];if(i.length===1)return!0;for(let d=0;d<i.length;d++)if(i[d]!==s)return!0}function HM(i,s,d,f){const m=i[0];if(m===null)return!1;if(s==="display"||s==="visibility")return!0;const p=i[i.length-1],g=FA(m,s),b=FA(p,s);return th(g===b,`You are trying to animate ${s} from "${m}" to "${p}". "${g?p:m}" is not an animatable value.`,"value-not-animatable"),!g||!b?!1:jM(i)||(d==="spring"||kA(d))&&f}function nS(i){i.duration=0,i.type="keyframes"}const BM=new Set(["opacity","clipPath","filter","transform"]),VM=Mb(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function LM(i){const{motionValue:s,name:d,repeatDelay:f,repeatType:m,damping:p,type:g}=i;if(!(s?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:x,transformTemplate:M}=s.owner.getProps();return VM()&&d&&BM.has(d)&&(d!=="transform"||!M)&&!x&&!f&&m!=="mirror"&&p!==0&&g!=="inertia"}const YM=40;class qM extends kb{constructor({autoplay:s=!0,delay:d=0,type:f="keyframes",repeat:m=0,repeatDelay:p=0,repeatType:g="loop",keyframes:b,name:x,motionValue:M,element:A,...E}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ll.now();const D={autoplay:s,delay:d,type:f,repeat:m,repeatDelay:p,repeatType:g,name:x,motionValue:M,element:A,...E},z=A?.KeyframeResolver||eS;this.keyframeResolver=new z(b,(_,V,L)=>this.onKeyframesResolved(_,V,D,!L),x,M,A),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(s,d,f,m){this.keyframeResolver=void 0;const{name:p,type:g,velocity:b,delay:x,isHandoff:M,onUpdate:A}=f;this.resolvedAt=Ll.now(),HM(s,p,g,b)||((as.instantAnimations||!x)&&A?.(Zb(s,f,d)),s[0]=s[s.length-1],nS(f),f.repeat=0);const D={startTime:m?this.resolvedAt?this.resolvedAt-this.createdAt>YM?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:d,...f,keyframes:s},z=!M&&LM(D)?new NM({...D,element:D.motionValue.owner.current}):new Jb(D);z.finished.then(()=>this.notifyFinished()).catch(Ni),this.pendingTimeline&&(this.stopTimeline=z.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=z}get finished(){return this._animation?this.animation.finished:this._finished}then(s,d){return this.finished.finally(s).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),EM()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(s){this.animation.time=s}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(s){this.animation.speed=s}get startTime(){return this.animation.startTime}attachTimeline(s){return this._animation?this.stopTimeline=this.animation.attachTimeline(s):this.pendingTimeline=s,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const GM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function XM(i){const s=GM.exec(i);if(!s)return[,];const[,d,f,m]=s;return[`--${d??f}`,m]}const QM=4;function $A(i,s,d=1){ns(d<=QM,`Max CSS variable fallback depth detected in property "${i}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[f,m]=XM(i);if(!f)return;const p=window.getComputedStyle(s).getPropertyValue(f);if(p){const g=p.trim();return nA(g)?parseFloat(g):g}return Ub(m)?$A(m,s,d+1):m}function aS(i,s){return i?.[s]??i?.default??i}const IA=new Set(["width","height","top","left","right","bottom",...lh]),ZM={test:i=>i==="auto",parse:i=>i},WA=i=>s=>s.test(i),PA=[eh,$t,du,vr,j8,N8,ZM],tT=i=>PA.find(WA(i));function kM(i){return typeof i=="number"?i===0:i!==null?i==="none"||i==="0"||lA(i):!0}const JM=new Set(["brightness","contrast","saturate","opacity"]);function KM(i){const[s,d]=i.slice(0,-1).split("(");if(s==="drop-shadow")return i;const[f]=d.match(_b)||[];if(!f)return i;const m=d.replace(f,"");let p=JM.has(s)?1:0;return f!==d&&(p*=100),s+"("+p+m+")"}const FM=/\b([a-z-]*)\(.*?\)/gu,lS={...br,getAnimatableNone:i=>{const s=i.match(FM);return s?s.map(KM).join(" "):i}},eT={...eh,transform:Math.round},iS={borderWidth:$t,borderTopWidth:$t,borderRightWidth:$t,borderBottomWidth:$t,borderLeftWidth:$t,borderRadius:$t,radius:$t,borderTopLeftRadius:$t,borderTopRightRadius:$t,borderBottomRightRadius:$t,borderBottomLeftRadius:$t,width:$t,maxWidth:$t,height:$t,maxHeight:$t,top:$t,right:$t,bottom:$t,left:$t,padding:$t,paddingTop:$t,paddingRight:$t,paddingBottom:$t,paddingLeft:$t,margin:$t,marginTop:$t,marginRight:$t,marginBottom:$t,marginLeft:$t,backgroundPositionX:$t,backgroundPositionY:$t,...{rotate:vr,rotateX:vr,rotateY:vr,rotateZ:vr,scale:g1,scaleX:g1,scaleY:g1,scaleZ:g1,skew:vr,skewX:vr,skewY:vr,distance:$t,translateX:$t,translateY:$t,translateZ:$t,x:$t,y:$t,z:$t,perspective:$t,transformPerspective:$t,opacity:Kp,originX:EA,originY:EA,originZ:$t},zIndex:eT,fillOpacity:Kp,strokeOpacity:Kp,numOctaves:eT},$M={...iS,color:Kn,backgroundColor:Kn,outlineColor:Kn,fill:Kn,stroke:Kn,borderColor:Kn,borderTopColor:Kn,borderRightColor:Kn,borderBottomColor:Kn,borderLeftColor:Kn,filter:lS,WebkitFilter:lS},nT=i=>$M[i];function aT(i,s){let d=nT(i);return d!==lS&&(d=br),d.getAnimatableNone?d.getAnimatableNone(s):void 0}const IM=new Set(["auto","none","0"]);function WM(i,s,d){let f=0,m;for(;f<i.length&&!m;){const p=i[f];typeof p=="string"&&!IM.has(p)&&Ip(p).values.length&&(m=i[f]),f++}if(m&&d)for(const p of s)i[p]=aT(d,m)}class PM extends eS{constructor(s,d,f,m,p){super(s,d,f,m,p,!0)}readKeyframes(){const{unresolvedKeyframes:s,element:d,name:f}=this;if(!d||!d.current)return;super.readKeyframes();for(let x=0;x<s.length;x++){let M=s[x];if(typeof M=="string"&&(M=M.trim(),Ub(M))){const A=$A(M,d.current);A!==void 0&&(s[x]=A),x===s.length-1&&(this.finalKeyframe=M)}}if(this.resolveNoneKeyframes(),!IA.has(f)||s.length!==2)return;const[m,p]=s,g=tT(m),b=tT(p);if(g!==b)if(YA(g)&&YA(b))for(let x=0;x<s.length;x++){const M=s[x];typeof M=="string"&&(s[x]=parseFloat(M))}else of[f]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:s,name:d}=this,f=[];for(let m=0;m<s.length;m++)(s[m]===null||kM(s[m]))&&f.push(m);f.length&&WM(s,f,d)}measureInitialState(){const{element:s,unresolvedKeyframes:d,name:f}=this;if(!s||!s.current)return;f==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=of[f](s.measureViewportBox(),window.getComputedStyle(s.current)),d[0]=this.measuredOrigin;const m=d[d.length-1];m!==void 0&&s.getValue(f,m).jump(m,!1)}measureEndState(){const{element:s,name:d,unresolvedKeyframes:f}=this;if(!s||!s.current)return;const m=s.getValue(d);m&&m.jump(this.measuredOrigin,!1);const p=f.length-1,g=f[p];f[p]=of[d](s.measureViewportBox(),window.getComputedStyle(s.current)),g!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=g),this.removedTransforms?.length&&this.removedTransforms.forEach(([b,x])=>{s.getValue(b).set(x)}),this.resolveNoneKeyframes()}}function tC(i,s,d){if(i instanceof EventTarget)return[i];if(typeof i=="string"){let f=document;const m=d?.[i]??f.querySelectorAll(i);return m?Array.from(m):[]}return Array.from(i)}const lT=(i,s)=>s&&typeof i=="number"?s.transform(i):i;function iT(i){return aA(i)&&"offsetHeight"in i}const oT=30,eC=i=>!isNaN(parseFloat(i));class nC{constructor(s,d={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=f=>{const m=Ll.now();if(this.updatedAt!==m&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(f),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const p of this.dependents)p.dirty()},this.hasAnimated=!1,this.setCurrent(s),this.owner=d.owner}setCurrent(s){this.current=s,this.updatedAt=Ll.now(),this.canTrackVelocity===null&&s!==void 0&&(this.canTrackVelocity=eC(this.current))}setPrevFrameValue(s=this.current){this.prevFrameValue=s,this.prevUpdatedAt=this.updatedAt}onChange(s){return process.env.NODE_ENV!=="production"&&Ob(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",s)}on(s,d){this.events[s]||(this.events[s]=new Cb);const f=this.events[s].add(d);return s==="change"?()=>{f(),gn.read(()=>{this.events.change.getSize()||this.stop()})}:f}clearListeners(){for(const s in this.events)this.events[s].clear()}attach(s,d){this.passiveEffect=s,this.stopPassiveEffect=d}set(s){this.passiveEffect?this.passiveEffect(s,this.updateAndNotify):this.updateAndNotify(s)}setWithVelocity(s,d,f){this.set(d),this.prev=void 0,this.prevFrameValue=s,this.prevUpdatedAt=this.updatedAt-f}jump(s,d=!0){this.updateAndNotify(s),this.prev=s,this.prevUpdatedAt=this.prevFrameValue=void 0,d&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(s){this.dependents||(this.dependents=new Set),this.dependents.add(s)}removeDependent(s){this.dependents&&this.dependents.delete(s)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const s=Ll.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||s-this.updatedAt>oT)return 0;const d=Math.min(this.updatedAt-this.prevUpdatedAt,oT);return iA(parseFloat(this.current)-parseFloat(this.prevFrameValue),d)}start(s){return this.stop(),new Promise(d=>{this.hasAnimated=!0,this.animation=s(d),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function oh(i,s){return new nC(i,s)}const{schedule:oS}=bA(queueMicrotask,!1),zo={x:!1,y:!1};function uT(){return zo.x||zo.y}function aC(i){return i==="x"||i==="y"?zo[i]?null:(zo[i]=!0,()=>{zo[i]=!1}):zo.x||zo.y?null:(zo.x=zo.y=!0,()=>{zo.x=zo.y=!1})}function sT(i,s){const d=tC(i),f=new AbortController,m={passive:!0,...s,signal:f.signal};return[d,m,()=>f.abort()]}function rT(i){return!(i.pointerType==="touch"||uT())}function lC(i,s,d={}){const[f,m,p]=sT(i,d),g=b=>{if(!rT(b))return;const{target:x}=b,M=s(x,b);if(typeof M!="function"||!x)return;const A=E=>{rT(E)&&(M(E),x.removeEventListener("pointerleave",A))};x.addEventListener("pointerleave",A,m)};return f.forEach(b=>{b.addEventListener("pointerenter",g,m)}),p}const cT=(i,s)=>s?i===s?!0:cT(i,s.parentElement):!1,uS=i=>i.pointerType==="mouse"?typeof i.button!="number"||i.button<=0:i.isPrimary!==!1,iC=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function oC(i){return iC.has(i.tagName)||i.tabIndex!==-1}const A1=new WeakSet;function fT(i){return s=>{s.key==="Enter"&&i(s)}}function sS(i,s){i.dispatchEvent(new PointerEvent("pointer"+s,{isPrimary:!0,bubbles:!0}))}const uC=(i,s)=>{const d=i.currentTarget;if(!d)return;const f=fT(()=>{if(A1.has(d))return;sS(d,"down");const m=fT(()=>{sS(d,"up")}),p=()=>sS(d,"cancel");d.addEventListener("keyup",m,s),d.addEventListener("blur",p,s)});d.addEventListener("keydown",f,s),d.addEventListener("blur",()=>d.removeEventListener("keydown",f),s)};function dT(i){return uS(i)&&!uT()}function sC(i,s,d={}){const[f,m,p]=sT(i,d),g=b=>{const x=b.currentTarget;if(!dT(b))return;A1.add(x);const M=s(x,b),A=(z,_)=>{window.removeEventListener("pointerup",E),window.removeEventListener("pointercancel",D),A1.has(x)&&A1.delete(x),dT(z)&&typeof M=="function"&&M(z,{success:_})},E=z=>{A(z,x===window||x===document||d.useGlobalTarget||cT(x,z.target))},D=z=>{A(z,!1)};window.addEventListener("pointerup",E,m),window.addEventListener("pointercancel",D,m)};return f.forEach(b=>{(d.useGlobalTarget?window:b).addEventListener("pointerdown",g,m),iT(b)&&(b.addEventListener("focus",M=>uC(M,m)),!oC(b)&&!b.hasAttribute("tabindex")&&(b.tabIndex=0))}),p}function hT(i){return aA(i)&&"ownerSVGElement"in i}function rC(i){return hT(i)&&i.tagName==="svg"}const Wa=i=>!!(i&&i.getVelocity),cC=[...PA,Kn,br],fC=i=>cC.find(WA(i)),rS=Ot.createContext({transformPagePoint:i=>i,isStatic:!1,reducedMotion:"never"});function mT(i,s){if(typeof i=="function")return i(s);i!=null&&(i.current=s)}function dC(...i){return s=>{let d=!1;const f=i.map(m=>{const p=mT(m,s);return!d&&typeof p=="function"&&(d=!0),p});if(d)return()=>{for(let m=0;m<f.length;m++){const p=f[m];typeof p=="function"?p():mT(i[m],null)}}}}function hC(...i){return c1.useCallback(dC(...i),i)}class mC extends c1.Component{getSnapshotBeforeUpdate(s){const d=this.props.childRef.current;if(d&&s.isPresent&&!this.props.isPresent){const f=d.offsetParent,m=iT(f)&&f.offsetWidth||0,p=this.props.sizeRef.current;p.height=d.offsetHeight||0,p.width=d.offsetWidth||0,p.top=d.offsetTop,p.left=d.offsetLeft,p.right=m-p.width-p.left}return null}componentDidUpdate(){}render(){return this.props.children}}function pC({children:i,isPresent:s,anchorX:d,root:f}){const m=Ot.useId(),p=Ot.useRef(null),g=Ot.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:b}=Ot.useContext(rS),x=hC(p,i?.ref);return Ot.useInsertionEffect(()=>{const{width:M,height:A,top:E,left:D,right:z}=g.current;if(s||!p.current||!M||!A)return;const _=d==="left"?`left: ${D}`:`right: ${z}`;p.current.dataset.motionPopId=m;const V=document.createElement("style");b&&(V.nonce=b);const L=f??document.head;return L.appendChild(V),V.sheet&&V.sheet.insertRule(`
228
- [data-motion-pop-id="${m}"] {
6
+ <%s key={someKey} {...props} />`,$,B,G,B),U[B+$]=!0)}if(B=null,W!==void 0&&(n(W),B=""+W),s(_)&&(n(_.key),B=""+_.key),"key"in _){W={};for(var Q in _)Q!=="key"&&(W[Q]=_[Q])}else W=_;return B&&o(W,typeof N=="function"?N.displayName||N.name||"Unknown":N),d(N,B,W,i(),M,H)}function c(N){f(N)?N._store&&(N._store.validated=1):typeof N=="object"&&N!==null&&N.$$typeof===y&&(N._payload.status==="fulfilled"?f(N._payload.value)&&N._payload.value._store&&(N._payload.value._store.validated=1):N._store&&(N._store.validated=1))}function f(N){return typeof N=="object"&&N!==null&&N.$$typeof===m}var h=z,m=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),C=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),D=Symbol.for("react.client.reference"),j=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=Object.prototype.hasOwnProperty,E=Array.isArray,R=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(N){return N()}};var x,g={},V=h.react_stack_bottom_frame.bind(h,a)(),O=R(r(a)),U={};Xt.Fragment=A,Xt.jsx=function(N,_,W){var $=1e4>j.recentlyCreatedOwnerStacks++;return l(N,_,W,!1,$?Error("react-stack-top-frame"):V,$?R(r(N)):O)},Xt.jsxs=function(N,_,W){var $=1e4>j.recentlyCreatedOwnerStacks++;return l(N,_,W,!0,$?Error("react-stack-top-frame"):V,$?R(r(N)):O)}})()),Xt}var ha;function vc(){return ha||(ha=1,process.env.NODE_ENV==="production"?Tn.exports=gc():Tn.exports=yc()),Tn.exports}var k=vc();const ur=z.createContext({});function cr(e){const t=z.useRef(null);return t.current===null&&(t.current=e()),t.current}const fr=typeof window<"u",ma=fr?z.useLayoutEffect:z.useEffect,Pn=z.createContext(null);function dr(e,t){e.indexOf(t)===-1&&e.push(t)}function hr(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Ge=(e,t,n)=>n>t?t:n<e?e:n;function mr(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Ct=()=>{},Ke=()=>{};process.env.NODE_ENV!=="production"&&(Ct=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(mr(t,n))},Ke=(e,t,n)=>{if(!e)throw new Error(mr(t,n))});const Xe={},pa=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function ga(e){return typeof e=="object"&&e!==null}const ya=e=>/^0[^.\s]+$/u.test(e);function pr(e){let t;return()=>(t===void 0&&(t=e()),t)}const De=e=>e,bc=(e,t)=>n=>t(e(n)),qt=(...e)=>e.reduce(bc),Qt=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class gr{constructor(){this.subscriptions=[]}add(t){return dr(this.subscriptions,t),()=>hr(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let a=0;a<i;a++){const s=this.subscriptions[a];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Oe=e=>e*1e3,Ie=e=>e/1e3;function va(e,t){return t?e*(1e3/t):0}const ba=new Set;function yr(e,t,n){e||ba.has(t)||(console.warn(mr(t,n)),ba.add(t))}const xa=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,xc=1e-7,wc=12;function Ac(e,t,n,r,i){let a,s,o=0;do s=t+(n-t)/2,a=xa(s,r,i)-e,a>0?n=s:t=s;while(Math.abs(a)>xc&&++o<wc);return s}function Zt(e,t,n,r){if(e===t&&n===r)return De;const i=a=>Ac(a,0,1,e,n);return a=>a===0||a===1?a:xa(i(a),t,r)}const wa=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Aa=e=>t=>1-e(1-t),Sa=Zt(.33,1.53,.69,.99),vr=Aa(Sa),Ta=wa(vr),Pa=e=>(e*=2)<1?.5*vr(e):.5*(2-Math.pow(2,-10*(e-1))),br=e=>1-Math.sin(Math.acos(e)),Ea=Aa(br),Ca=wa(br),Sc=Zt(.42,0,1,1),Tc=Zt(0,0,.58,1),ka=Zt(.42,0,.58,1),Pc=e=>Array.isArray(e)&&typeof e[0]!="number",Ma=e=>Array.isArray(e)&&typeof e[0]=="number",Da={linear:De,easeIn:Sc,easeInOut:ka,easeOut:Tc,circIn:br,circInOut:Ca,circOut:Ea,backIn:vr,backInOut:Ta,backOut:Sa,anticipate:Pa},Ec=e=>typeof e=="string",Ia=e=>{if(Ma(e)){Ke(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return Zt(t,n,r,i)}else if(Ec(e))return Ke(Da[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Da[e];return e},En=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Cc(e,t){let n=new Set,r=new Set,i=!1,a=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function u(l){s.has(l)&&(d.schedule(l),e()),l(o)}const d={schedule:(l,c=!1,f=!1)=>{const m=f&&i?n:r;return c&&s.add(l),m.has(l)||m.add(l),l},cancel:l=>{r.delete(l),s.delete(l)},process:l=>{if(o=l,i){a=!0;return}i=!0,[n,r]=[r,n],n.forEach(u),n.clear(),i=!1,a&&(a=!1,d.process(l))}};return d}const kc=40;function ja(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,s=En.reduce((T,C)=>(T[C]=Cc(a),T),{}),{setup:o,read:u,resolveKeyframes:d,preUpdate:l,update:c,preRender:f,render:h,postRender:m}=s,b=()=>{const T=Xe.useManualTiming?i.timestamp:performance.now();n=!1,Xe.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(T-i.timestamp,kc),1)),i.timestamp=T,i.isProcessing=!0,o.process(i),u.process(i),d.process(i),l.process(i),c.process(i),f.process(i),h.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(b))},A=()=>{n=!0,r=!0,i.isProcessing||e(b)};return{schedule:En.reduce((T,C)=>{const P=s[C];return T[C]=(w,L=!1,p=!1)=>(n||A(),P.schedule(w,L,p)),T},{}),cancel:T=>{for(let C=0;C<En.length;C++)s[En[C]].cancel(T)},state:i,steps:s}}const{schedule:re,cancel:nt,state:me,steps:xr}=ja(typeof requestAnimationFrame<"u"?requestAnimationFrame:De,!0);let Cn;function Mc(){Cn=void 0}const Te={now:()=>(Cn===void 0&&Te.set(me.isProcessing||Xe.useManualTiming?me.timestamp:performance.now()),Cn),set:e=>{Cn=e,queueMicrotask(Mc)}},Fa=e=>t=>typeof t=="string"&&t.startsWith(e),Na=Fa("--"),Dc=Fa("var(--"),wr=e=>Dc(e)?Ic.test(e.split("/*")[0].trim()):!1,Ic=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,kt={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Jt={...kt,transform:e=>Ge(0,1,e)},kn={...kt,default:1},en=e=>Math.round(e*1e5)/1e5,Ar=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function jc(e){return e==null}const Fc=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Sr=(e,t)=>n=>!!(typeof n=="string"&&Fc.test(n)&&n.startsWith(e)||t&&!jc(n)&&Object.prototype.hasOwnProperty.call(n,t)),Oa=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,a,s,o]=r.match(Ar);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(s),alpha:o!==void 0?parseFloat(o):1}},Nc=e=>Ge(0,255,e),Tr={...kt,transform:e=>Math.round(Nc(e))},dt={test:Sr("rgb","red"),parse:Oa("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Tr.transform(e)+", "+Tr.transform(t)+", "+Tr.transform(n)+", "+en(Jt.transform(r))+")"};function Oc(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Pr={test:Sr("#"),parse:Oc,transform:dt.transform},tn=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),rt=tn("deg"),ze=tn("%"),X=tn("px"),Lc=tn("vh"),Rc=tn("vw"),La={...ze,parse:e=>ze.parse(e)/100,transform:e=>ze.transform(e*100)},Mt={test:Sr("hsl","hue"),parse:Oa("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ze.transform(en(t))+", "+ze.transform(en(n))+", "+en(Jt.transform(r))+")"},ue={test:e=>dt.test(e)||Pr.test(e)||Mt.test(e),parse:e=>dt.test(e)?dt.parse(e):Mt.test(e)?Mt.parse(e):Pr.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?dt.transform(e):Mt.transform(e),getAnimatableNone:e=>{const t=ue.parse(e);return t.alpha=0,ue.transform(t)}},Vc=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function _c(e){return isNaN(e)&&typeof e=="string"&&(e.match(Ar)?.length||0)+(e.match(Vc)?.length||0)>0}const Ra="number",Va="color",Uc="var",$c="var(",_a="${}",zc=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function nn(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let a=0;const o=t.replace(zc,u=>(ue.test(u)?(r.color.push(a),i.push(Va),n.push(ue.parse(u))):u.startsWith($c)?(r.var.push(a),i.push(Uc),n.push(u)):(r.number.push(a),i.push(Ra),n.push(parseFloat(u))),++a,_a)).split(_a);return{values:n,split:o,indexes:r,types:i}}function Ua(e){return nn(e).values}function $a(e){const{split:t,types:n}=nn(e),r=t.length;return i=>{let a="";for(let s=0;s<r;s++)if(a+=t[s],i[s]!==void 0){const o=n[s];o===Ra?a+=en(i[s]):o===Va?a+=ue.transform(i[s]):a+=i[s]}return a}}const Bc=e=>typeof e=="number"?0:ue.test(e)?ue.getAnimatableNone(e):e;function Wc(e){const t=Ua(e);return $a(e)(t.map(Bc))}const it={test:_c,parse:Ua,createTransformer:$a,getAnimatableNone:Wc};function Er(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Hc({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,s=0;if(!t)i=a=s=n;else{const o=n<.5?n*(1+t):n+t-n*t,u=2*n-o;i=Er(u,o,e+1/3),a=Er(u,o,e),s=Er(u,o,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(s*255),alpha:r}}function Mn(e,t){return n=>n>0?t:e}const ae=(e,t,n)=>e+(t-e)*n,Cr=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Yc=[Pr,dt,Mt],Gc=e=>Yc.find(t=>t.test(e));function za(e){const t=Gc(e);if(Ct(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Mt&&(n=Hc(n)),n}const Ba=(e,t)=>{const n=za(e),r=za(t);if(!n||!r)return Mn(e,t);const i={...n};return a=>(i.red=Cr(n.red,r.red,a),i.green=Cr(n.green,r.green,a),i.blue=Cr(n.blue,r.blue,a),i.alpha=ae(n.alpha,r.alpha,a),dt.transform(i))},kr=new Set(["none","hidden"]);function Kc(e,t){return kr.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Xc(e,t){return n=>ae(e,t,n)}function Mr(e){return typeof e=="number"?Xc:typeof e=="string"?wr(e)?Mn:ue.test(e)?Ba:Zc:Array.isArray(e)?Wa:typeof e=="object"?ue.test(e)?Ba:qc:Mn}function Wa(e,t){const n=[...e],r=n.length,i=e.map((a,s)=>Mr(a)(a,t[s]));return a=>{for(let s=0;s<r;s++)n[s]=i[s](a);return n}}function qc(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Mr(e[i])(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}}function Qc(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const a=t.types[i],s=e.indexes[a][r[a]],o=e.values[s]??0;n[i]=o,r[a]++}return n}const Zc=(e,t)=>{const n=it.createTransformer(t),r=nn(e),i=nn(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?kr.has(e)&&!i.values.length||kr.has(t)&&!r.values.length?Kc(e,t):qt(Wa(Qc(r,i),i.values),n):(Ct(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Mn(e,t))};function Ha(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ae(e,t,n):Mr(e)(e,t)}const Jc=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>re.update(t,n),stop:()=>nt(t),now:()=>me.isProcessing?me.timestamp:Te.now()}},Ya=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let a=0;a<i;a++)r+=Math.round(e(a/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Dn=2e4;function Dr(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Dn;)t+=n,r=e.next(t);return t>=Dn?1/0:t}function ef(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(Dr(r),Dn);return{type:"keyframes",ease:a=>r.next(i*a).value/t,duration:Ie(i)}}const tf=5;function Ga(e,t,n){const r=Math.max(t-tf,0);return va(n-e(r),t-r)}const se={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Ir=.001;function nf({duration:e=se.duration,bounce:t=se.bounce,velocity:n=se.velocity,mass:r=se.mass}){let i,a;Ct(e<=Oe(se.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=Ge(se.minDamping,se.maxDamping,s),e=Ge(se.minDuration,se.maxDuration,Ie(e)),s<1?(i=d=>{const l=d*s,c=l*e,f=l-n,h=jr(d,s),m=Math.exp(-c);return Ir-f/h*m},a=d=>{const c=d*s*e,f=c*n+n,h=Math.pow(s,2)*Math.pow(d,2)*e,m=Math.exp(-c),b=jr(Math.pow(d,2),s);return(-i(d)+Ir>0?-1:1)*((f-h)*m)/b}):(i=d=>{const l=Math.exp(-d*e),c=(d-n)*e+1;return-Ir+l*c},a=d=>{const l=Math.exp(-d*e),c=(n-d)*(e*e);return l*c});const o=5/e,u=af(i,a,o);if(e=Oe(e),isNaN(u))return{stiffness:se.stiffness,damping:se.damping,duration:e};{const d=Math.pow(u,2)*r;return{stiffness:d,damping:s*2*Math.sqrt(r*d),duration:e}}}const rf=12;function af(e,t,n){let r=n;for(let i=1;i<rf;i++)r=r-e(r)/t(r);return r}function jr(e,t){return e*Math.sqrt(1-t*t)}const sf=["duration","bounce"],of=["stiffness","damping","mass"];function Ka(e,t){return t.some(n=>e[n]!==void 0)}function lf(e){let t={velocity:se.velocity,stiffness:se.stiffness,damping:se.damping,mass:se.mass,isResolvedFromDuration:!1,...e};if(!Ka(e,of)&&Ka(e,sf))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Ge(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:se.mass,stiffness:i,damping:a}}else{const n=nf(e);t={...t,...n,mass:se.mass},t.isResolvedFromDuration=!0}return t}function In(e=se.visualDuration,t=se.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const a=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],o={done:!1,value:a},{stiffness:u,damping:d,mass:l,duration:c,velocity:f,isResolvedFromDuration:h}=lf({...n,velocity:-Ie(n.velocity||0)}),m=f||0,b=d/(2*Math.sqrt(u*l)),A=s-a,v=Ie(Math.sqrt(u/l)),I=Math.abs(A)<5;r||(r=I?se.restSpeed.granular:se.restSpeed.default),i||(i=I?se.restDelta.granular:se.restDelta.default);let T;if(b<1){const P=jr(v,b);T=w=>{const L=Math.exp(-b*v*w);return s-L*((m+b*v*A)/P*Math.sin(P*w)+A*Math.cos(P*w))}}else if(b===1)T=P=>s-Math.exp(-v*P)*(A+(m+v*A)*P);else{const P=v*Math.sqrt(b*b-1);T=w=>{const L=Math.exp(-b*v*w),p=Math.min(P*w,300);return s-L*((m+b*v*A)*Math.sinh(p)+P*A*Math.cosh(p))/P}}const C={calculatedDuration:h&&c||null,next:P=>{const w=T(P);if(h)o.done=P>=c;else{let L=P===0?m:0;b<1&&(L=P===0?Oe(m):Ga(T,P,w));const p=Math.abs(L)<=r,y=Math.abs(s-w)<=i;o.done=p&&y}return o.value=o.done?s:w,o},toString:()=>{const P=Math.min(Dr(C),Dn),w=Ya(L=>C.next(P*L).value,P,30);return P+"ms "+w},toTransition:()=>{}};return C}In.applyToOptions=e=>{const t=ef(e,100,In);return e.ease=t.ease,e.duration=Oe(t.duration),e.type="keyframes",e};function Fr({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:s,min:o,max:u,restDelta:d=.5,restSpeed:l}){const c=e[0],f={done:!1,value:c},h=p=>o!==void 0&&p<o||u!==void 0&&p>u,m=p=>o===void 0?u:u===void 0||Math.abs(o-p)<Math.abs(u-p)?o:u;let b=n*t;const A=c+b,v=s===void 0?A:s(A);v!==A&&(b=v-c);const I=p=>-b*Math.exp(-p/r),T=p=>v+I(p),C=p=>{const y=I(p),S=T(p);f.done=Math.abs(y)<=d,f.value=f.done?v:S};let P,w;const L=p=>{h(f.value)&&(P=p,w=In({keyframes:[f.value,m(f.value)],velocity:Ga(T,p,f.value),damping:i,stiffness:a,restDelta:d,restSpeed:l}))};return L(0),{calculatedDuration:null,next:p=>{let y=!1;return!w&&P===void 0&&(y=!0,C(p),L(p)),P!==void 0&&p>=P?w.next(p-P):(!y&&C(p),f)}}}function uf(e,t,n){const r=[],i=n||Xe.mix||Ha,a=e.length-1;for(let s=0;s<a;s++){let o=i(e[s],e[s+1]);if(t){const u=Array.isArray(t)?t[s]||De:t;o=qt(u,o)}r.push(o)}return r}function cf(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;if(Ke(a===t.length,"Both input and output ranges must be the same length","range-length"),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=uf(t,r,i),u=o.length,d=l=>{if(s&&l<e[0])return t[0];let c=0;if(u>1)for(;c<e.length-2&&!(l<e[c+1]);c++);const f=Qt(e[c],e[c+1],l);return o[c](f)};return n?l=>d(Ge(e[0],e[a-1],l)):d}function ff(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Qt(0,t,r);e.push(ae(n,1,i))}}function df(e){const t=[0];return ff(t,e.length-1),t}function hf(e,t){return e.map(n=>n*t)}function mf(e,t){return e.map(()=>t||ka).splice(0,e.length-1)}function Dt({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=Pc(r)?r.map(Ia):Ia(r),a={done:!1,value:t[0]},s=hf(n&&n.length===t.length?n:df(t),e),o=cf(s,t,{ease:Array.isArray(i)?i:mf(t,i)});return{calculatedDuration:e,next:u=>(a.value=o(u),a.done=u>=e,a)}}const pf=e=>e!==null;function Nr(e,{repeat:t,repeatType:n="loop"},r,i=1){const a=e.filter(pf),o=i<0||t&&n!=="loop"&&t%2===1?0:a.length-1;return!o||r===void 0?a[o]:r}const gf={decay:Fr,inertia:Fr,tween:Dt,keyframes:Dt,spring:In};function Xa(e){typeof e.type=="string"&&(e.type=gf[e.type])}class Or{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const yf=e=>e/100;class Lr extends Or{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==Te.now()&&this.tick(Te.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Xa(t);const{type:n=Dt,repeat:r=0,repeatDelay:i=0,repeatType:a,velocity:s=0}=t;let{keyframes:o}=t;const u=n||Dt;process.env.NODE_ENV!=="production"&&u!==Dt&&Ke(o.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${o}`,"spring-two-frames"),u!==Dt&&typeof o[0]!="number"&&(this.mixKeyframes=qt(yf,Ha(o[0],o[1])),o=[0,100]);const d=u({...t,keyframes:o});a==="mirror"&&(this.mirroredGenerator=u({...t,keyframes:[...o].reverse(),velocity:-s})),d.calculatedDuration===null&&(d.calculatedDuration=Dr(d));const{calculatedDuration:l}=d;this.calculatedDuration=l,this.resolvedDuration=l+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=d}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:a,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:u}=this;if(this.startTime===null)return r.next(0);const{delay:d=0,keyframes:l,repeat:c,repeatType:f,repeatDelay:h,type:m,onUpdate:b,finalKeyframe:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const v=this.currentTime-d*(this.playbackSpeed>=0?1:-1),I=this.playbackSpeed>=0?v<0:v>i;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let T=this.currentTime,C=r;if(c){const p=Math.min(this.currentTime,i)/o;let y=Math.floor(p),S=p%1;!S&&p>=1&&(S=1),S===1&&y--,y=Math.min(y,c+1),y%2&&(f==="reverse"?(S=1-S,h&&(S-=h/o)):f==="mirror"&&(C=s)),T=Ge(0,1,S)*o}const P=I?{done:!1,value:l[0]}:C.next(T);a&&(P.value=a(P.value));let{done:w}=P;!I&&u!==null&&(w=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const L=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&w);return L&&m!==Fr&&(P.value=Nr(l,this.options,A,this.speed)),b&&b(P.value),L&&this.finish(),P}then(t,n){return this.finished.then(t,n)}get duration(){return Ie(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ie(t)}get time(){return Ie(this.currentTime)}set time(t){t=Oe(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Te.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Ie(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Jc,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Te.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function vf(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const ht=e=>e*180/Math.PI,Rr=e=>{const t=ht(Math.atan2(e[1],e[0]));return Vr(t)},bf={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Rr,rotateZ:Rr,skewX:e=>ht(Math.atan(e[1])),skewY:e=>ht(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Vr=e=>(e=e%360,e<0&&(e+=360),e),qa=Rr,Qa=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Za=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),xf={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Qa,scaleY:Za,scale:e=>(Qa(e)+Za(e))/2,rotateX:e=>Vr(ht(Math.atan2(e[6],e[5]))),rotateY:e=>Vr(ht(Math.atan2(-e[2],e[0]))),rotateZ:qa,rotate:qa,skewX:e=>ht(Math.atan(e[4])),skewY:e=>ht(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function _r(e){return e.includes("scale")?1:0}function Ur(e,t){if(!e||e==="none")return _r(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=xf,i=n;else{const o=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=bf,i=o}if(!i)return _r(t);const a=r[t],s=i[1].split(",").map(Af);return typeof a=="function"?a(s):s[a]}const wf=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Ur(n,t)};function Af(e){return parseFloat(e.trim())}const It=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],jt=new Set(It),Ja=e=>e===kt||e===X,Sf=new Set(["x","y","z"]),Tf=It.filter(e=>!Sf.has(e));function Pf(e){const t=[];return Tf.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const mt={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Ur(t,"x"),y:(e,{transform:t})=>Ur(t,"y")};mt.translateX=mt.x,mt.translateY=mt.y;const pt=new Set;let $r=!1,zr=!1,Br=!1;function es(){if(zr){const e=Array.from(pt).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=Pf(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([a,s])=>{r.getValue(a)?.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}zr=!1,$r=!1,pt.forEach(e=>e.complete(Br)),pt.clear()}function ts(){pt.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(zr=!0)})}function Ef(){Br=!0,ts(),es(),Br=!1}class Wr{constructor(t,n,r,i,a,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=a,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(pt.add(this),$r||($r=!0,re.read(ts),re.resolveKeyframes(es))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const a=i?.get(),s=t[t.length-1];if(a!==void 0)t[0]=a;else if(r&&n){const o=r.readValue(n,s);o!=null&&(t[0]=o)}t[0]===void 0&&(t[0]=s),i&&a===void 0&&i.set(t[0])}vf(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),pt.delete(this)}cancel(){this.state==="scheduled"&&(pt.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Cf=e=>e.startsWith("--");function kf(e,t,n){Cf(t)?e.style.setProperty(t,n):e.style[t]=n}const Mf=pr(()=>window.ScrollTimeline!==void 0),Df={};function If(e,t){const n=pr(e);return()=>Df[t]??n()}const ns=If(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),rn=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,rs={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:rn([0,.65,.55,1]),circOut:rn([.55,0,1,.45]),backIn:rn([.31,.01,.66,-.59]),backOut:rn([.33,1.53,.69,.99])};function is(e,t){if(e)return typeof e=="function"?ns()?Ya(e,t):"ease-out":Ma(e)?rn(e):Array.isArray(e)?e.map(n=>is(n,t)||rs.easeOut):rs[e]}function jf(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:s="loop",ease:o="easeOut",times:u}={},d=void 0){const l={[t]:n};u&&(l.offset=u);const c=is(o,i);Array.isArray(c)&&(l.easing=c);const f={delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:a+1,direction:s==="reverse"?"alternate":"normal"};return d&&(f.pseudoElement=d),e.animate(l,f)}function as(e){return typeof e=="function"&&"applyToOptions"in e}function Ff({type:e,...t}){return as(e)&&ns()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Nf extends Or{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:a,allowFlatten:s=!1,finalKeyframe:o,onComplete:u}=t;this.isPseudoElement=!!a,this.allowFlatten=s,this.options=t,Ke(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const d=Ff(t);this.animation=jf(n,r,i,d,a),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){const l=Nr(i,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(l):kf(n,r,l),this.animation.cancel()}u?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Ie(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ie(t)}get time(){return Ie(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Oe(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&Mf()?(this.animation.timeline=t,De):n(this)}}const ss={anticipate:Pa,backInOut:Ta,circInOut:Ca};function Of(e){return e in ss}function Lf(e){typeof e.ease=="string"&&Of(e.ease)&&(e.ease=ss[e.ease])}const os=10;class Rf extends Nf{constructor(t){Lf(t),Xa(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:a,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const o=new Lr({...s,autoplay:!1}),u=Oe(this.finishedTime??this.time);n.setWithVelocity(o.sample(u-os).value,o.sample(u).value,os),o.stop()}}const ls=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(it.test(e)||e==="0")&&!e.startsWith("url("));function Vf(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function _f(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],s=ls(i,t),o=ls(a,t);return Ct(s===o,`You are trying to animate ${t} from "${i}" to "${a}". "${s?a:i}" is not an animatable value.`,"value-not-animatable"),!s||!o?!1:Vf(e)||(n==="spring"||as(n))&&r}function Hr(e){e.duration=0,e.type="keyframes"}const Uf=new Set(["opacity","clipPath","filter","transform"]),$f=pr(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function zf(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:d}=t.owner.getProps();return $f()&&n&&Uf.has(n)&&(n!=="transform"||!d)&&!u&&!r&&i!=="mirror"&&a!==0&&s!=="inertia"}const Bf=40;class Wf extends Or{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",keyframes:o,name:u,motionValue:d,element:l,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Te.now();const f={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:a,repeatType:s,name:u,motionValue:d,element:l,...c},h=l?.KeyframeResolver||Wr;this.keyframeResolver=new h(o,(m,b,A)=>this.onKeyframesResolved(m,b,f,!A),u,d,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,r,i){this.keyframeResolver=void 0;const{name:a,type:s,velocity:o,delay:u,isHandoff:d,onUpdate:l}=r;this.resolvedAt=Te.now(),_f(t,a,s,o)||((Xe.instantAnimations||!u)&&l?.(Nr(t,r,n)),t[0]=t[t.length-1],Hr(r),r.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Bf?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},h=!d&&zf(f)?new Rf({...f,element:f.motionValue.owner.current}):new Lr(f);h.finished.then(()=>this.notifyFinished()).catch(De),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Ef()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Hf=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Yf(e){const t=Hf.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const Gf=4;function us(e,t,n=1){Ke(n<=Gf,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=Yf(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const s=a.trim();return pa(s)?parseFloat(s):s}return wr(i)?us(i,t,n+1):i}function Yr(e,t){return e?.[t]??e?.default??e}const cs=new Set(["width","height","top","left","right","bottom",...It]),Kf={test:e=>e==="auto",parse:e=>e},fs=e=>t=>t.test(e),ds=[kt,X,ze,rt,Rc,Lc,Kf],hs=e=>ds.find(fs(e));function Xf(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ya(e):!0}const qf=new Set(["brightness","contrast","saturate","opacity"]);function Qf(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ar)||[];if(!r)return e;const i=n.replace(r,"");let a=qf.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const Zf=/\b([a-z-]*)\(.*?\)/gu,Gr={...it,getAnimatableNone:e=>{const t=e.match(Zf);return t?t.map(Qf).join(" "):e}},ms={...kt,transform:Math.round},Kr={borderWidth:X,borderTopWidth:X,borderRightWidth:X,borderBottomWidth:X,borderLeftWidth:X,borderRadius:X,radius:X,borderTopLeftRadius:X,borderTopRightRadius:X,borderBottomRightRadius:X,borderBottomLeftRadius:X,width:X,maxWidth:X,height:X,maxHeight:X,top:X,right:X,bottom:X,left:X,padding:X,paddingTop:X,paddingRight:X,paddingBottom:X,paddingLeft:X,margin:X,marginTop:X,marginRight:X,marginBottom:X,marginLeft:X,backgroundPositionX:X,backgroundPositionY:X,...{rotate:rt,rotateX:rt,rotateY:rt,rotateZ:rt,scale:kn,scaleX:kn,scaleY:kn,scaleZ:kn,skew:rt,skewX:rt,skewY:rt,distance:X,translateX:X,translateY:X,translateZ:X,x:X,y:X,z:X,perspective:X,transformPerspective:X,opacity:Jt,originX:La,originY:La,originZ:X},zIndex:ms,fillOpacity:Jt,strokeOpacity:Jt,numOctaves:ms},Jf={...Kr,color:ue,backgroundColor:ue,outlineColor:ue,fill:ue,stroke:ue,borderColor:ue,borderTopColor:ue,borderRightColor:ue,borderBottomColor:ue,borderLeftColor:ue,filter:Gr,WebkitFilter:Gr},ps=e=>Jf[e];function gs(e,t){let n=ps(e);return n!==Gr&&(n=it),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ed=new Set(["auto","none","0"]);function td(e,t,n){let r=0,i;for(;r<e.length&&!i;){const a=e[r];typeof a=="string"&&!ed.has(a)&&nn(a).values.length&&(i=e[r]),r++}if(i&&n)for(const a of t)e[a]=gs(n,i)}class nd extends Wr{constructor(t,n,r,i,a){super(t,n,r,i,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<t.length;u++){let d=t[u];if(typeof d=="string"&&(d=d.trim(),wr(d))){const l=us(d,n.current);l!==void 0&&(t[u]=l),u===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!cs.has(r)||t.length!==2)return;const[i,a]=t,s=hs(i),o=hs(a);if(s!==o)if(Ja(s)&&Ja(o))for(let u=0;u<t.length;u++){const d=t[u];typeof d=="string"&&(t[u]=parseFloat(d))}else mt[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||Xf(t[i]))&&r.push(i);r.length&&td(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=mt[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const a=r.length-1,s=r[a];r[a]=mt[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([o,u])=>{t.getValue(o).set(u)}),this.resolveNoneKeyframes()}}function rd(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const ys=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function vs(e){return ga(e)&&"offsetHeight"in e}const bs=30,id=e=>!isNaN(parseFloat(e));class ad{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const i=Te.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Te.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=id(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&yr(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new gr);const r=this.events[t].add(n);return t==="change"?()=>{r(),re.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Te.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>bs)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,bs);return va(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ft(e,t){return new ad(e,t)}const{schedule:Xr}=ja(queueMicrotask,!1),Le={x:!1,y:!1};function xs(){return Le.x||Le.y}function sd(e){return e==="x"||e==="y"?Le[e]?null:(Le[e]=!0,()=>{Le[e]=!1}):Le.x||Le.y?null:(Le.x=Le.y=!0,()=>{Le.x=Le.y=!1})}function ws(e,t){const n=rd(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function As(e){return!(e.pointerType==="touch"||xs())}function od(e,t,n={}){const[r,i,a]=ws(e,n),s=o=>{if(!As(o))return;const{target:u}=o,d=t(u,o);if(typeof d!="function"||!u)return;const l=c=>{As(c)&&(d(c),u.removeEventListener("pointerleave",l))};u.addEventListener("pointerleave",l,i)};return r.forEach(o=>{o.addEventListener("pointerenter",s,i)}),a}const Ss=(e,t)=>t?e===t?!0:Ss(e,t.parentElement):!1,qr=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,ld=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ud(e){return ld.has(e.tagName)||e.tabIndex!==-1}const jn=new WeakSet;function Ts(e){return t=>{t.key==="Enter"&&e(t)}}function Qr(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const cd=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Ts(()=>{if(jn.has(n))return;Qr(n,"down");const i=Ts(()=>{Qr(n,"up")}),a=()=>Qr(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",a,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Ps(e){return qr(e)&&!xs()}function fd(e,t,n={}){const[r,i,a]=ws(e,n),s=o=>{const u=o.currentTarget;if(!Ps(o))return;jn.add(u);const d=t(u,o),l=(h,m)=>{window.removeEventListener("pointerup",c),window.removeEventListener("pointercancel",f),jn.has(u)&&jn.delete(u),Ps(h)&&typeof d=="function"&&d(h,{success:m})},c=h=>{l(h,u===window||u===document||n.useGlobalTarget||Ss(u,h.target))},f=h=>{l(h,!1)};window.addEventListener("pointerup",c,i),window.addEventListener("pointercancel",f,i)};return r.forEach(o=>{(n.useGlobalTarget?window:o).addEventListener("pointerdown",s,i),vs(o)&&(o.addEventListener("focus",d=>cd(d,i)),!ud(o)&&!o.hasAttribute("tabindex")&&(o.tabIndex=0))}),a}function Es(e){return ga(e)&&"ownerSVGElement"in e}function dd(e){return Es(e)&&e.tagName==="svg"}const ye=e=>!!(e&&e.getVelocity),hd=[...ds,ue,it],md=e=>hd.find(fs(e)),Zr=z.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Cs(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function pd(...e){return t=>{let n=!1;const r=e.map(i=>{const a=Cs(i,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let i=0;i<r.length;i++){const a=r[i];typeof a=="function"?a():Cs(e[i],null)}}}}function gd(...e){return Sn.useCallback(pd(...e),e)}class yd extends Sn.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=n.offsetParent,i=vs(r)&&r.offsetWidth||0,a=this.props.sizeRef.current;a.height=n.offsetHeight||0,a.width=n.offsetWidth||0,a.top=n.offsetTop,a.left=n.offsetLeft,a.right=i-a.width-a.left}return null}componentDidUpdate(){}render(){return this.props.children}}function vd({children:e,isPresent:t,anchorX:n,root:r}){const i=z.useId(),a=z.useRef(null),s=z.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:o}=z.useContext(Zr),u=gd(a,e?.ref);return z.useInsertionEffect(()=>{const{width:d,height:l,top:c,left:f,right:h}=s.current;if(t||!a.current||!d||!l)return;const m=n==="left"?`left: ${f}`:`right: ${h}`;a.current.dataset.motionPopId=i;const b=document.createElement("style");o&&(b.nonce=o);const A=r??document.head;return A.appendChild(b),b.sheet&&b.sheet.insertRule(`
7
+ [data-motion-pop-id="${i}"] {
229
8
  position: absolute !important;
230
- width: ${M}px !important;
231
- height: ${A}px !important;
232
- ${_}px !important;
233
- top: ${E}px !important;
9
+ width: ${d}px !important;
10
+ height: ${l}px !important;
11
+ ${m}px !important;
12
+ top: ${c}px !important;
234
13
  }
235
- `),()=>{L.contains(V)&&L.removeChild(V)}},[s]),ot.jsx(mC,{isPresent:s,childRef:p,sizeRef:g,children:c1.cloneElement(i,{ref:x})})}const yC=({children:i,initial:s,isPresent:d,onExitComplete:f,custom:m,presenceAffectsLayout:p,mode:g,anchorX:b,root:x})=>{const M=Ab(gC),A=Ot.useId();let E=!0,D=Ot.useMemo(()=>(E=!1,{id:A,initial:s,isPresent:d,custom:m,onExitComplete:z=>{M.set(z,!0);for(const _ of M.values())if(!_)return;f&&f()},register:z=>(M.set(z,!1),()=>M.delete(z))}),[d,M,f]);return p&&E&&(D={...D}),Ot.useMemo(()=>{M.forEach((z,_)=>M.set(_,!1))},[d]),c1.useEffect(()=>{!d&&!M.size&&f&&f()},[d]),g==="popLayout"&&(i=ot.jsx(pC,{isPresent:d,anchorX:b,root:x,children:i})),ot.jsx(m1.Provider,{value:D,children:i})};function gC(){return new Map}function pT(i=!0){const s=Ot.useContext(m1);if(s===null)return[!0,null];const{isPresent:d,onExitComplete:f,register:m}=s,p=Ot.useId();Ot.useEffect(()=>{if(i)return m(p)},[i]);const g=Ot.useCallback(()=>i&&f&&f(p),[p,f,i]);return!d&&f?[!1,g]:[!0]}const T1=i=>i.key||"";function yT(i){const s=[];return Ot.Children.forEach(i,d=>{Ot.isValidElement(d)&&s.push(d)}),s}const vC=({children:i,custom:s,initial:d=!0,onExitComplete:f,presenceAffectsLayout:m=!0,mode:p="sync",propagate:g=!1,anchorX:b="left",root:x})=>{const[M,A]=pT(g),E=Ot.useMemo(()=>yT(i),[i]),D=g&&!M?[]:E.map(T1),z=Ot.useRef(!0),_=Ot.useRef(E),V=Ab(()=>new Map),[L,B]=Ot.useState(E),[it,k]=Ot.useState(E);eA(()=>{z.current=!1,_.current=E;for(let Y=0;Y<it.length;Y++){const rt=T1(it[Y]);D.includes(rt)?V.delete(rt):V.get(rt)!==!0&&V.set(rt,!1)}},[it,D.length,D.join("-")]);const P=[];if(E!==L){let Y=[...E];for(let rt=0;rt<it.length;rt++){const j=it[rt],H=T1(j);D.includes(H)||(Y.splice(rt,0,j),P.push(j))}return p==="wait"&&P.length&&(Y=P),k(yT(Y)),B(E),null}process.env.NODE_ENV!=="production"&&p==="wait"&&it.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:tt}=Ot.useContext(Sb);return ot.jsx(ot.Fragment,{children:it.map(Y=>{const rt=T1(Y),j=g&&!M?!1:E===it||D.includes(rt),H=()=>{if(V.has(rt))V.set(rt,!0);else return;let q=!0;V.forEach(at=>{at||(q=!1)}),q&&(tt?.(),k(_.current),g&&A?.(),f&&f())};return ot.jsx(yC,{isPresent:j,initial:!z.current||d?void 0:!1,custom:s,presenceAffectsLayout:m,mode:p,root:x,onExitComplete:j?void 0:H,anchorX:b,children:Y},rt)})})},gT=Ot.createContext({strict:!1}),vT={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},uh={};for(const i in vT)uh[i]={isEnabled:s=>vT[i].some(d=>!!s[d])};function bC(i){for(const s in i)uh[s]={...uh[s],...i[s]}}const SC=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function E1(i){return i.startsWith("while")||i.startsWith("drag")&&i!=="draggable"||i.startsWith("layout")||i.startsWith("onTap")||i.startsWith("onPan")||i.startsWith("onLayout")||SC.has(i)}let bT=i=>!E1(i);function AC(i){typeof i=="function"&&(bT=s=>s.startsWith("on")?!E1(s):i(s))}try{AC(require("@emotion/is-prop-valid").default)}catch{}function TC(i,s,d){const f={};for(const m in i)m==="values"&&typeof i.values=="object"||(bT(m)||d===!0&&E1(m)||!s&&!E1(m)||i.draggable&&m.startsWith("onDrag"))&&(f[m]=i[m]);return f}const x1=Ot.createContext({});function D1(i){return i!==null&&typeof i=="object"&&typeof i.start=="function"}function Pp(i){return typeof i=="string"||Array.isArray(i)}const cS=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],fS=["initial",...cS];function M1(i){return D1(i.animate)||fS.some(s=>Pp(i[s]))}function ST(i){return!!(M1(i)||i.variants)}function EC(i,s){if(M1(i)){const{initial:d,animate:f}=i;return{initial:d===!1||Pp(d)?d:void 0,animate:Pp(f)?f:void 0}}return i.inherit!==!1?s:{}}function xC(i){const{initial:s,animate:d}=EC(i,Ot.useContext(x1));return Ot.useMemo(()=>({initial:s,animate:d}),[AT(s),AT(d)])}function AT(i){return Array.isArray(i)?i.join(" "):i}function TT(i,s){return s.max===s.min?0:i/(s.max-s.min)*100}const t0={correct:(i,s)=>{if(!s.target)return i;if(typeof i=="string")if($t.test(i))i=parseFloat(i);else return i;const d=TT(i,s.target.x),f=TT(i,s.target.y);return`${d}% ${f}%`}},DC={correct:(i,{treeScale:s,projectionDelta:d})=>{const f=i,m=br.parse(i);if(m.length>5)return f;const p=br.createTransformer(i),g=typeof m[0]!="number"?1:0,b=d.x.scale*s.x,x=d.y.scale*s.y;m[0+g]/=b,m[1+g]/=x;const M=En(b,x,.5);return typeof m[2+g]=="number"&&(m[2+g]/=M),typeof m[3+g]=="number"&&(m[3+g]/=M),p(m)}},dS={borderRadius:{...t0,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:t0,borderTopRightRadius:t0,borderBottomLeftRadius:t0,borderBottomRightRadius:t0,boxShadow:DC};function ET(i,{layout:s,layoutId:d}){return ih.has(i)||i.startsWith("origin")||(s||d!==void 0)&&(!!dS[i]||i==="opacity")}const MC={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},CC=lh.length;function OC(i,s,d){let f="",m=!0;for(let p=0;p<CC;p++){const g=lh[p],b=i[g];if(b===void 0)continue;let x=!0;if(typeof b=="number"?x=b===(g.startsWith("scale")?1:0):x=parseFloat(b)===0,!x||d){const M=lT(b,iS[g]);if(!x){m=!1;const A=MC[g]||g;f+=`${A}(${M}) `}d&&(s[g]=M)}}return f=f.trim(),d?f=d(s,m?"":f):m&&(f="none"),f}function hS(i,s,d){const{style:f,vars:m,transformOrigin:p}=i;let g=!1,b=!1;for(const x in s){const M=s[x];if(ih.has(x)){g=!0;continue}else if(AA(x)){m[x]=M;continue}else{const A=lT(M,iS[x]);x.startsWith("origin")?(b=!0,p[x]=A):f[x]=A}}if(s.transform||(g||d?f.transform=OC(s,i.transform,d):f.transform&&(f.transform="none")),b){const{originX:x="50%",originY:M="50%",originZ:A=0}=p;f.transformOrigin=`${x} ${M} ${A}`}}const mS=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function xT(i,s,d){for(const f in s)!Wa(s[f])&&!ET(f,d)&&(i[f]=s[f])}function zC({transformTemplate:i},s){return Ot.useMemo(()=>{const d=mS();return hS(d,s,i),Object.assign({},d.vars,d.style)},[s])}function RC(i,s){const d=i.style||{},f={};return xT(f,d,i),Object.assign(f,zC(i,s)),f}function wC(i,s){const d={},f=RC(i,s);return i.drag&&i.dragListener!==!1&&(d.draggable=!1,f.userSelect=f.WebkitUserSelect=f.WebkitTouchCallout="none",f.touchAction=i.drag===!0?"none":`pan-${i.drag==="x"?"y":"x"}`),i.tabIndex===void 0&&(i.onTap||i.onTapStart||i.whileTap)&&(d.tabIndex=0),d.style=f,d}const UC={offset:"stroke-dashoffset",array:"stroke-dasharray"},_C={offset:"strokeDashoffset",array:"strokeDasharray"};function NC(i,s,d=1,f=0,m=!0){i.pathLength=1;const p=m?UC:_C;i[p.offset]=$t.transform(-f);const g=$t.transform(s),b=$t.transform(d);i[p.array]=`${g} ${b}`}function DT(i,{attrX:s,attrY:d,attrScale:f,pathLength:m,pathSpacing:p=1,pathOffset:g=0,...b},x,M,A){if(hS(i,b,M),x){i.style.viewBox&&(i.attrs.viewBox=i.style.viewBox);return}i.attrs=i.style,i.style={};const{attrs:E,style:D}=i;E.transform&&(D.transform=E.transform,delete E.transform),(D.transform||E.transformOrigin)&&(D.transformOrigin=E.transformOrigin??"50% 50%",delete E.transformOrigin),D.transform&&(D.transformBox=A?.transformBox??"fill-box",delete E.transformBox),s!==void 0&&(E.x=s),d!==void 0&&(E.y=d),f!==void 0&&(E.scale=f),m!==void 0&&NC(E,m,p,g,!1)}const MT=()=>({...mS(),attrs:{}}),CT=i=>typeof i=="string"&&i.toLowerCase()==="svg";function jC(i,s,d,f){const m=Ot.useMemo(()=>{const p=MT();return DT(p,s,CT(f),i.transformTemplate,i.style),{...p.attrs,style:{...p.style}}},[s]);if(i.style){const p={};xT(p,i.style,i),m.style={...p,...m.style}}return m}const HC=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function pS(i){return typeof i!="string"||i.includes("-")?!1:!!(HC.indexOf(i)>-1||/[A-Z]/u.test(i))}function BC(i,s,d,{latestValues:f},m,p=!1){const b=(pS(i)?jC:wC)(s,f,m,i),x=TC(s,typeof i=="string",p),M=i!==Ot.Fragment?{...x,...b,ref:d}:{},{children:A}=s,E=Ot.useMemo(()=>Wa(A)?A.get():A,[A]);return Ot.createElement(i,{...M,children:E})}function OT(i){const s=[{},{}];return i?.values.forEach((d,f)=>{s[0][f]=d.get(),s[1][f]=d.getVelocity()}),s}function yS(i,s,d,f){if(typeof s=="function"){const[m,p]=OT(f);s=s(d!==void 0?d:i.custom,m,p)}if(typeof s=="string"&&(s=i.variants&&i.variants[s]),typeof s=="function"){const[m,p]=OT(f);s=s(d!==void 0?d:i.custom,m,p)}return s}function C1(i){return Wa(i)?i.get():i}function VC({scrapeMotionValuesFromProps:i,createRenderState:s},d,f,m){return{latestValues:LC(d,f,m,i),renderState:s()}}function LC(i,s,d,f){const m={},p=f(i,{});for(const D in p)m[D]=C1(p[D]);let{initial:g,animate:b}=i;const x=M1(i),M=ST(i);s&&M&&!x&&i.inherit!==!1&&(g===void 0&&(g=s.initial),b===void 0&&(b=s.animate));let A=d?d.initial===!1:!1;A=A||g===!1;const E=A?b:g;if(E&&typeof E!="boolean"&&!D1(E)){const D=Array.isArray(E)?E:[E];for(let z=0;z<D.length;z++){const _=yS(i,D[z]);if(_){const{transitionEnd:V,transition:L,...B}=_;for(const it in B){let k=B[it];if(Array.isArray(k)){const P=A?k.length-1:0;k=k[P]}k!==null&&(m[it]=k)}for(const it in V)m[it]=V[it]}}}return m}const zT=i=>(s,d)=>{const f=Ot.useContext(x1),m=Ot.useContext(m1),p=()=>VC(i,s,f,m);return d?p():Ab(p)};function gS(i,s,d){const{style:f}=i,m={};for(const p in f)(Wa(f[p])||s.style&&Wa(s.style[p])||ET(p,i)||d?.getValue(p)?.liveStyle!==void 0)&&(m[p]=f[p]);return m}const YC=zT({scrapeMotionValuesFromProps:gS,createRenderState:mS});function RT(i,s,d){const f=gS(i,s,d);for(const m in i)if(Wa(i[m])||Wa(s[m])){const p=lh.indexOf(m)!==-1?"attr"+m.charAt(0).toUpperCase()+m.substring(1):m;f[p]=i[m]}return f}const qC=zT({scrapeMotionValuesFromProps:RT,createRenderState:MT}),GC=Symbol.for("motionComponentSymbol");function sh(i){return i&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"current")}function XC(i,s,d){return Ot.useCallback(f=>{f&&i.onMount&&i.onMount(f),s&&(f?s.mount(f):s.unmount()),d&&(typeof d=="function"?d(f):sh(d)&&(d.current=f))},[s])}const vS=i=>i.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),wT="data-"+vS("framerAppearId"),UT=Ot.createContext({});function QC(i,s,d,f,m){const{visualElement:p}=Ot.useContext(x1),g=Ot.useContext(gT),b=Ot.useContext(m1),x=Ot.useContext(rS).reducedMotion,M=Ot.useRef(null);f=f||g.renderer,!M.current&&f&&(M.current=f(i,{visualState:s,parent:p,props:d,presenceContext:b,blockInitialAnimation:b?b.initial===!1:!1,reducedMotionConfig:x}));const A=M.current,E=Ot.useContext(UT);A&&!A.projection&&m&&(A.type==="html"||A.type==="svg")&&ZC(M.current,d,m,E);const D=Ot.useRef(!1);Ot.useInsertionEffect(()=>{A&&D.current&&A.update(d,b)});const z=d[wT],_=Ot.useRef(!!z&&!window.MotionHandoffIsComplete?.(z)&&window.MotionHasOptimisedAnimation?.(z));return eA(()=>{A&&(D.current=!0,window.MotionIsMounted=!0,A.updateFeatures(),A.scheduleRenderMicrotask(),_.current&&A.animationState&&A.animationState.animateChanges())}),Ot.useEffect(()=>{A&&(!_.current&&A.animationState&&A.animationState.animateChanges(),_.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(z)}),_.current=!1),A.enteringChildren=void 0)}),A}function ZC(i,s,d,f){const{layoutId:m,layout:p,drag:g,dragConstraints:b,layoutScroll:x,layoutRoot:M,layoutCrossfade:A}=s;i.projection=new d(i.latestValues,s["data-framer-portal-id"]?void 0:_T(i.parent)),i.projection.setOptions({layoutId:m,layout:p,alwaysMeasureLayout:!!g||b&&sh(b),visualElement:i,animationType:typeof p=="string"?p:"both",initialPromotionConfig:f,crossfade:A,layoutScroll:x,layoutRoot:M})}function _T(i){if(i)return i.options.allowProjection!==!1?i.projection:_T(i.parent)}function bS(i,{forwardMotionProps:s=!1}={},d,f){d&&bC(d);const m=pS(i)?qC:YC;function p(b,x){let M;const A={...Ot.useContext(rS),...b,layoutId:kC(b)},{isStatic:E}=A,D=xC(b),z=m(b,E);if(!E&&Tb){JC(A,d);const _=KC(A);M=_.MeasureLayout,D.visualElement=QC(i,z,A,f,_.ProjectionNode)}return ot.jsxs(x1.Provider,{value:D,children:[M&&D.visualElement?ot.jsx(M,{visualElement:D.visualElement,...A}):null,BC(i,b,XC(z,D.visualElement,x),z,E,s)]})}p.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const g=Ot.forwardRef(p);return g[GC]=i,g}function kC({layoutId:i}){const s=Ot.useContext(Sb).id;return s&&i!==void 0?s+"-"+i:i}function JC(i,s){const d=Ot.useContext(gT).strict;if(process.env.NODE_ENV!=="production"&&s&&d){const f="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";i.ignoreStrict?th(!1,f,"lazy-strict-mode"):ns(!1,f,"lazy-strict-mode")}}function KC(i){const{drag:s,layout:d}=uh;if(!s&&!d)return{};const f={...s,...d};return{MeasureLayout:s?.isEnabled(i)||d?.isEnabled(i)?f.MeasureLayout:void 0,ProjectionNode:f.ProjectionNode}}function FC(i,s){if(typeof Proxy>"u")return bS;const d=new Map,f=(p,g)=>bS(p,g,i,s),m=(p,g)=>(process.env.NODE_ENV!=="production"&&Ob(!1,"motion() is deprecated. Use motion.create() instead."),f(p,g));return new Proxy(m,{get:(p,g)=>g==="create"?f:(d.has(g)||d.set(g,bS(g,void 0,i,s)),d.get(g))})}function NT({top:i,left:s,right:d,bottom:f}){return{x:{min:s,max:d},y:{min:i,max:f}}}function $C({x:i,y:s}){return{top:s.min,right:i.max,bottom:s.max,left:i.min}}function IC(i,s){if(!s)return i;const d=s({x:i.left,y:i.top}),f=s({x:i.right,y:i.bottom});return{top:d.y,left:d.x,bottom:f.y,right:f.x}}function SS(i){return i===void 0||i===1}function AS({scale:i,scaleX:s,scaleY:d}){return!SS(i)||!SS(s)||!SS(d)}function sf(i){return AS(i)||jT(i)||i.z||i.rotate||i.rotateX||i.rotateY||i.skewX||i.skewY}function jT(i){return HT(i.x)||HT(i.y)}function HT(i){return i&&i!=="0%"}function O1(i,s,d){const f=i-d,m=s*f;return d+m}function BT(i,s,d,f,m){return m!==void 0&&(i=O1(i,m,f)),O1(i,d,f)+s}function TS(i,s=0,d=1,f,m){i.min=BT(i.min,s,d,f,m),i.max=BT(i.max,s,d,f,m)}function VT(i,{x:s,y:d}){TS(i.x,s.translate,s.scale,s.originPoint),TS(i.y,d.translate,d.scale,d.originPoint)}const LT=.999999999999,YT=1.0000000000001;function WC(i,s,d,f=!1){const m=d.length;if(!m)return;s.x=s.y=1;let p,g;for(let b=0;b<m;b++){p=d[b],g=p.projectionDelta;const{visualElement:x}=p.options;x&&x.props.style&&x.props.style.display==="contents"||(f&&p.options.layoutScroll&&p.scroll&&p!==p.root&&ch(i,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),g&&(s.x*=g.x.scale,s.y*=g.y.scale,VT(i,g)),f&&sf(p.latestValues)&&ch(i,p.latestValues))}s.x<YT&&s.x>LT&&(s.x=1),s.y<YT&&s.y>LT&&(s.y=1)}function rh(i,s){i.min=i.min+s,i.max=i.max+s}function qT(i,s,d,f,m=.5){const p=En(i.min,i.max,m);TS(i,s,d,p,f)}function ch(i,s){qT(i.x,s.x,s.scaleX,s.scale,s.originX),qT(i.y,s.y,s.scaleY,s.scale,s.originY)}function GT(i,s){return NT(IC(i.getBoundingClientRect(),s))}function PC(i,s,d){const f=GT(i,d),{scroll:m}=s;return m&&(rh(f.x,m.offset.x),rh(f.y,m.offset.y)),f}const XT=()=>({translate:0,scale:1,origin:0,originPoint:0}),fh=()=>({x:XT(),y:XT()}),QT=()=>({min:0,max:0}),ca=()=>({x:QT(),y:QT()}),ES={current:null},ZT={current:!1};function t7(){if(ZT.current=!0,!!Tb)if(window.matchMedia){const i=window.matchMedia("(prefers-reduced-motion)"),s=()=>ES.current=i.matches;i.addEventListener("change",s),s()}else ES.current=!1}const e7=new WeakMap;function n7(i,s,d){for(const f in s){const m=s[f],p=d[f];if(Wa(m))i.addValue(f,m);else if(Wa(p))i.addValue(f,oh(m,{owner:i}));else if(p!==m)if(i.hasValue(f)){const g=i.getValue(f);g.liveStyle===!0?g.jump(m):g.hasAnimated||g.set(m)}else{const g=i.getStaticValue(f);i.addValue(f,oh(g!==void 0?g:m,{owner:i}))}}for(const f in d)s[f]===void 0&&i.removeValue(f);return s}const kT=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class a7{scrapeMotionValuesFromProps(s,d,f){return{}}constructor({parent:s,props:d,presenceContext:f,reducedMotionConfig:m,blockInitialAnimation:p,visualState:g},b={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eS,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const D=Ll.now();this.renderScheduledAt<D&&(this.renderScheduledAt=D,gn.render(this.render,!1,!0))};const{latestValues:x,renderState:M}=g;this.latestValues=x,this.baseTarget={...x},this.initialValues=d.initial?{...x}:{},this.renderState=M,this.parent=s,this.props=d,this.presenceContext=f,this.depth=s?s.depth+1:0,this.reducedMotionConfig=m,this.options=b,this.blockInitialAnimation=!!p,this.isControllingVariants=M1(d),this.isVariantNode=ST(d),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(s&&s.current);const{willChange:A,...E}=this.scrapeMotionValuesFromProps(d,{},this);for(const D in E){const z=E[D];x[D]!==void 0&&Wa(z)&&z.set(x[D])}}mount(s){this.current=s,e7.set(s,this),this.projection&&!this.projection.instance&&this.projection.mount(s),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((d,f)=>this.bindToMotionValue(f,d)),ZT.current||t7(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ES.current,process.env.NODE_ENV!=="production"&&Ob(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),gr(this.notifyUpdate),gr(this.render),this.valueSubscriptions.forEach(s=>s()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const s in this.events)this.events[s].clear();for(const s in this.features){const d=this.features[s];d&&(d.unmount(),d.isMounted=!1)}this.current=null}addChild(s){this.children.add(s),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(s)}removeChild(s){this.children.delete(s),this.enteringChildren&&this.enteringChildren.delete(s)}bindToMotionValue(s,d){this.valueSubscriptions.has(s)&&this.valueSubscriptions.get(s)();const f=ih.has(s);f&&this.onBindTransform&&this.onBindTransform();const m=d.on("change",g=>{this.latestValues[s]=g,this.props.onUpdate&&gn.preRender(this.notifyUpdate),f&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let p;window.MotionCheckAppearSync&&(p=window.MotionCheckAppearSync(this,s,d)),this.valueSubscriptions.set(s,()=>{m(),p&&p(),d.owner&&d.stop()})}sortNodePosition(s){return!this.current||!this.sortInstanceNodePosition||this.type!==s.type?0:this.sortInstanceNodePosition(this.current,s.current)}updateFeatures(){let s="animation";for(s in uh){const d=uh[s];if(!d)continue;const{isEnabled:f,Feature:m}=d;if(!this.features[s]&&m&&f(this.props)&&(this.features[s]=new m(this)),this.features[s]){const p=this.features[s];p.isMounted?p.update():(p.mount(),p.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ca()}getStaticValue(s){return this.latestValues[s]}setStaticValue(s,d){this.latestValues[s]=d}update(s,d){(s.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=s,this.prevPresenceContext=this.presenceContext,this.presenceContext=d;for(let f=0;f<kT.length;f++){const m=kT[f];this.propEventSubscriptions[m]&&(this.propEventSubscriptions[m](),delete this.propEventSubscriptions[m]);const p="on"+m,g=s[p];g&&(this.propEventSubscriptions[m]=this.on(m,g))}this.prevMotionValues=n7(this,this.scrapeMotionValuesFromProps(s,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(s){return this.props.variants?this.props.variants[s]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(s){const d=this.getClosestVariantNode();if(d)return d.variantChildren&&d.variantChildren.add(s),()=>d.variantChildren.delete(s)}addValue(s,d){const f=this.values.get(s);d!==f&&(f&&this.removeValue(s),this.bindToMotionValue(s,d),this.values.set(s,d),this.latestValues[s]=d.get())}removeValue(s){this.values.delete(s);const d=this.valueSubscriptions.get(s);d&&(d(),this.valueSubscriptions.delete(s)),delete this.latestValues[s],this.removeValueFromRenderState(s,this.renderState)}hasValue(s){return this.values.has(s)}getValue(s,d){if(this.props.values&&this.props.values[s])return this.props.values[s];let f=this.values.get(s);return f===void 0&&d!==void 0&&(f=oh(d===null?void 0:d,{owner:this}),this.addValue(s,f)),f}readValue(s,d){let f=this.latestValues[s]!==void 0||!this.current?this.latestValues[s]:this.getBaseTargetFromProps(this.props,s)??this.readValueFromInstance(this.current,s,this.options);return f!=null&&(typeof f=="string"&&(nA(f)||lA(f))?f=parseFloat(f):!fC(f)&&br.test(d)&&(f=aT(s,d)),this.setBaseTarget(s,Wa(f)?f.get():f)),Wa(f)?f.get():f}setBaseTarget(s,d){this.baseTarget[s]=d}getBaseTarget(s){const{initial:d}=this.props;let f;if(typeof d=="string"||typeof d=="object"){const p=yS(this.props,d,this.presenceContext?.custom);p&&(f=p[s])}if(d&&f!==void 0)return f;const m=this.getBaseTargetFromProps(this.props,s);return m!==void 0&&!Wa(m)?m:this.initialValues[s]!==void 0&&f===void 0?void 0:this.baseTarget[s]}on(s,d){return this.events[s]||(this.events[s]=new Cb),this.events[s].add(d)}notify(s,...d){this.events[s]&&this.events[s].notify(...d)}scheduleRenderMicrotask(){oS.render(this.render)}}class JT extends a7{constructor(){super(...arguments),this.KeyframeResolver=PM}sortInstanceNodePosition(s,d){return s.compareDocumentPosition(d)&2?1:-1}getBaseTargetFromProps(s,d){return s.style?s.style[d]:void 0}removeValueFromRenderState(s,{vars:d,style:f}){delete d[s],delete f[s]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:s}=this.props;Wa(s)&&(this.childSubscription=s.on("change",d=>{this.current&&(this.current.textContent=`${d}`)}))}}function KT(i,{style:s,vars:d},f,m){const p=i.style;let g;for(g in s)p[g]=s[g];m?.applyProjectionStyles(p,f);for(g in d)p.setProperty(g,d[g])}function l7(i){return window.getComputedStyle(i)}class i7 extends JT{constructor(){super(...arguments),this.type="html",this.renderInstance=KT}readValueFromInstance(s,d){if(ih.has(d))return this.projection?.isProjecting?$b(d):vM(s,d);{const f=l7(s),m=(AA(d)?f.getPropertyValue(d):f[d])||0;return typeof m=="string"?m.trim():m}}measureInstanceViewportBox(s,{transformPagePoint:d}){return GT(s,d)}build(s,d,f){hS(s,d,f.transformTemplate)}scrapeMotionValuesFromProps(s,d,f){return gS(s,d,f)}}const FT=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function o7(i,s,d,f){KT(i,s,void 0,f);for(const m in s.attrs)i.setAttribute(FT.has(m)?m:vS(m),s.attrs[m])}class u7 extends JT{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ca}getBaseTargetFromProps(s,d){return s[d]}readValueFromInstance(s,d){if(ih.has(d)){const f=nT(d);return f&&f.default||0}return d=FT.has(d)?d:vS(d),s.getAttribute(d)}scrapeMotionValuesFromProps(s,d,f){return RT(s,d,f)}build(s,d,f){DT(s,d,this.isSVGTag,f.transformTemplate,f.style)}renderInstance(s,d,f,m){o7(s,d,f,m)}mount(s){this.isSVGTag=CT(s.tagName),super.mount(s)}}const s7=(i,s)=>pS(i)?new u7(s):new i7(s,{allowProjection:i!==Ot.Fragment});function dh(i,s,d){const f=i.getProps();return yS(f,s,d!==void 0?d:f.custom,i)}const xS=i=>Array.isArray(i);function r7(i,s,d){i.hasValue(s)?i.getValue(s).set(d):i.addValue(s,oh(d))}function c7(i){return xS(i)?i[i.length-1]||0:i}function f7(i,s){const d=dh(i,s);let{transitionEnd:f={},transition:m={},...p}=d||{};p={...p,...f};for(const g in p){const b=c7(p[g]);r7(i,g,b)}}function d7(i){return!!(Wa(i)&&i.add)}function DS(i,s){const d=i.getValue("willChange");if(d7(d))return d.add(s);if(!d&&as.WillChange){const f=new as.WillChange("auto");i.addValue("willChange",f),f.add(s)}}function $T(i){return i.props[wT]}const h7=i=>i!==null;function m7(i,{repeat:s,repeatType:d="loop"},f){const m=i.filter(h7),p=s&&d!=="loop"&&s%2===1?0:m.length-1;return m[p]}const p7={type:"spring",stiffness:500,damping:25,restSpeed:10},y7=i=>({type:"spring",stiffness:550,damping:i===0?2*Math.sqrt(550):30,restSpeed:10}),g7={type:"keyframes",duration:.8},v7={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},b7=(i,{keyframes:s})=>s.length>2?g7:ih.has(i)?i.startsWith("scale")?y7(s[1]):p7:v7;function S7({when:i,delay:s,delayChildren:d,staggerChildren:f,staggerDirection:m,repeat:p,repeatType:g,repeatDelay:b,from:x,elapsed:M,...A}){return!!Object.keys(A).length}const MS=(i,s,d,f={},m,p)=>g=>{const b=aS(f,i)||{},x=b.delay||f.delay||0;let{elapsed:M=0}=f;M=M-Oo(x);const A={keyframes:Array.isArray(d)?d:[null,d],ease:"easeOut",velocity:s.getVelocity(),...b,delay:-M,onUpdate:D=>{s.set(D),b.onUpdate&&b.onUpdate(D)},onComplete:()=>{g(),b.onComplete&&b.onComplete()},name:i,motionValue:s,element:p?void 0:m};S7(b)||Object.assign(A,b7(i,A)),A.duration&&(A.duration=Oo(A.duration)),A.repeatDelay&&(A.repeatDelay=Oo(A.repeatDelay)),A.from!==void 0&&(A.keyframes[0]=A.from);let E=!1;if((A.type===!1||A.duration===0&&!A.repeatDelay)&&(nS(A),A.delay===0&&(E=!0)),(as.instantAnimations||as.skipAnimations)&&(E=!0,nS(A),A.delay=0),A.allowFlatten=!b.type&&!b.ease,E&&!p&&s.get()!==void 0){const D=m7(A.keyframes,b);if(D!==void 0){gn.update(()=>{A.onUpdate(D),A.onComplete()});return}}return b.isSync?new Jb(A):new qM(A)};function A7({protectedKeys:i,needsAnimating:s},d){const f=i.hasOwnProperty(d)&&s[d]!==!0;return s[d]=!1,f}function IT(i,s,{delay:d=0,transitionOverride:f,type:m}={}){let{transition:p=i.getDefaultTransition(),transitionEnd:g,...b}=s;f&&(p=f);const x=[],M=m&&i.animationState&&i.animationState.getState()[m];for(const A in b){const E=i.getValue(A,i.latestValues[A]??null),D=b[A];if(D===void 0||M&&A7(M,A))continue;const z={delay:d,...aS(p||{},A)},_=E.get();if(_!==void 0&&!E.isAnimating&&!Array.isArray(D)&&D===_&&!z.velocity)continue;let V=!1;if(window.MotionHandoffAnimation){const B=$T(i);if(B){const it=window.MotionHandoffAnimation(B,A,gn);it!==null&&(z.startTime=it,V=!0)}}DS(i,A),E.start(MS(A,E,D,i.shouldReduceMotion&&IA.has(A)?{type:!1}:z,i,V));const L=E.animation;L&&x.push(L)}return g&&Promise.all(x).then(()=>{gn.update(()=>{g&&f7(i,g)})}),x}function WT(i,s,d,f=0,m=1){const p=Array.from(i).sort((M,A)=>M.sortNodePosition(A)).indexOf(s),g=i.size,b=(g-1)*f;return typeof d=="function"?d(p,g):m===1?p*f:b-p*f}function CS(i,s,d={}){const f=dh(i,s,d.type==="exit"?i.presenceContext?.custom:void 0);let{transition:m=i.getDefaultTransition()||{}}=f||{};d.transitionOverride&&(m=d.transitionOverride);const p=f?()=>Promise.all(IT(i,f,d)):()=>Promise.resolve(),g=i.variantChildren&&i.variantChildren.size?(x=0)=>{const{delayChildren:M=0,staggerChildren:A,staggerDirection:E}=m;return T7(i,s,x,M,A,E,d)}:()=>Promise.resolve(),{when:b}=m;if(b){const[x,M]=b==="beforeChildren"?[p,g]:[g,p];return x().then(()=>M())}else return Promise.all([p(),g(d.delay)])}function T7(i,s,d=0,f=0,m=0,p=1,g){const b=[];for(const x of i.variantChildren)x.notify("AnimationStart",s),b.push(CS(x,s,{...g,delay:d+(typeof f=="function"?0:f)+WT(i.variantChildren,x,f,m,p)}).then(()=>x.notify("AnimationComplete",s)));return Promise.all(b)}function E7(i,s,d={}){i.notify("AnimationStart",s);let f;if(Array.isArray(s)){const m=s.map(p=>CS(i,p,d));f=Promise.all(m)}else if(typeof s=="string")f=CS(i,s,d);else{const m=typeof s=="function"?dh(i,s,d.custom):s;f=Promise.all(IT(i,m,d))}return f.then(()=>{i.notify("AnimationComplete",s)})}function PT(i,s){if(!Array.isArray(s))return!1;const d=s.length;if(d!==i.length)return!1;for(let f=0;f<d;f++)if(s[f]!==i[f])return!1;return!0}const x7=fS.length;function t5(i){if(!i)return;if(!i.isControllingVariants){const d=i.parent?t5(i.parent)||{}:{};return i.props.initial!==void 0&&(d.initial=i.props.initial),d}const s={};for(let d=0;d<x7;d++){const f=fS[d],m=i.props[f];(Pp(m)||m===!1)&&(s[f]=m)}return s}const D7=[...cS].reverse(),M7=cS.length;function C7(i){return s=>Promise.all(s.map(({animation:d,options:f})=>E7(i,d,f)))}function O7(i){let s=C7(i),d=e5(),f=!0;const m=x=>(M,A)=>{const E=dh(i,A,x==="exit"?i.presenceContext?.custom:void 0);if(E){const{transition:D,transitionEnd:z,..._}=E;M={...M,..._,...z}}return M};function p(x){s=x(i)}function g(x){const{props:M}=i,A=t5(i.parent)||{},E=[],D=new Set;let z={},_=1/0;for(let L=0;L<M7;L++){const B=D7[L],it=d[B],k=M[B]!==void 0?M[B]:A[B],P=Pp(k),tt=B===x?it.isActive:null;tt===!1&&(_=L);let Y=k===A[B]&&k!==M[B]&&P;if(Y&&f&&i.manuallyAnimateOnMount&&(Y=!1),it.protectedKeys={...z},!it.isActive&&tt===null||!k&&!it.prevProp||D1(k)||typeof k=="boolean")continue;const rt=z7(it.prevProp,k);let j=rt||B===x&&it.isActive&&!Y&&P||L>_&&P,H=!1;const q=Array.isArray(k)?k:[k];let at=q.reduce(m(B),{});tt===!1&&(at={});const{prevResolvedValues:K={}}=it,lt={...K,...at},et=w=>{j=!0,D.has(w)&&(H=!0,D.delete(w)),it.needsAnimating[w]=!0;const J=i.getValue(w);J&&(J.liveStyle=!1)};for(const w in lt){const J=at[w],F=K[w];if(z.hasOwnProperty(w))continue;let dt=!1;xS(J)&&xS(F)?dt=!PT(J,F):dt=J!==F,dt?J!=null?et(w):D.add(w):J!==void 0&&D.has(w)?et(w):it.protectedKeys[w]=!0}it.prevProp=k,it.prevResolvedValues=at,it.isActive&&(z={...z,...at}),f&&i.blockInitialAnimation&&(j=!1);const ct=Y&&rt;j&&(!ct||H)&&E.push(...q.map(w=>{const J={type:B};if(typeof w=="string"&&f&&!ct&&i.manuallyAnimateOnMount&&i.parent){const{parent:F}=i,dt=dh(F,w);if(F.enteringChildren&&dt){const{delayChildren:ut}=dt.transition||{};J.delay=WT(F.enteringChildren,i,ut)}}return{animation:w,options:J}}))}if(D.size){const L={};if(typeof M.initial!="boolean"){const B=dh(i,Array.isArray(M.initial)?M.initial[0]:M.initial);B&&B.transition&&(L.transition=B.transition)}D.forEach(B=>{const it=i.getBaseTarget(B),k=i.getValue(B);k&&(k.liveStyle=!0),L[B]=it??null}),E.push({animation:L})}let V=!!E.length;return f&&(M.initial===!1||M.initial===M.animate)&&!i.manuallyAnimateOnMount&&(V=!1),f=!1,V?s(E):Promise.resolve()}function b(x,M){if(d[x].isActive===M)return Promise.resolve();i.variantChildren?.forEach(E=>E.animationState?.setActive(x,M)),d[x].isActive=M;const A=g(x);for(const E in d)d[E].protectedKeys={};return A}return{animateChanges:g,setActive:b,setAnimateFunction:p,getState:()=>d,reset:()=>{d=e5()}}}function z7(i,s){return typeof s=="string"?s!==i:Array.isArray(s)?!PT(s,i):!1}function rf(i=!1){return{isActive:i,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function e5(){return{animate:rf(!0),whileInView:rf(),whileHover:rf(),whileTap:rf(),whileDrag:rf(),whileFocus:rf(),exit:rf()}}class Sr{constructor(s){this.isMounted=!1,this.node=s}update(){}}class R7 extends Sr{constructor(s){super(s),s.animationState||(s.animationState=O7(s))}updateAnimationControlsSubscription(){const{animate:s}=this.node.getProps();D1(s)&&(this.unmountControls=s.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:s}=this.node.getProps(),{animate:d}=this.node.prevProps||{};s!==d&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let w7=0;class U7 extends Sr{constructor(){super(...arguments),this.id=w7++}update(){if(!this.node.presenceContext)return;const{isPresent:s,onExitComplete:d}=this.node.presenceContext,{isPresent:f}=this.node.prevPresenceContext||{};if(!this.node.animationState||s===f)return;const m=this.node.animationState.setActive("exit",!s);d&&!s&&m.then(()=>{d(this.id)})}mount(){const{register:s,onExitComplete:d}=this.node.presenceContext||{};d&&d(this.id),s&&(this.unmount=s(this.id))}unmount(){}}const _7={animation:{Feature:R7},exit:{Feature:U7}};function e0(i,s,d,f={passive:!0}){return i.addEventListener(s,d,f),()=>i.removeEventListener(s,d)}function n0(i){return{point:{x:i.pageX,y:i.pageY}}}const N7=i=>s=>uS(s)&&i(s,n0(s));function a0(i,s,d,f){return e0(i,s,N7(d),f)}const n5=1e-4,j7=1-n5,H7=1+n5,a5=.01,B7=0-a5,V7=0+a5;function cl(i){return i.max-i.min}function L7(i,s,d){return Math.abs(i-s)<=d}function l5(i,s,d,f=.5){i.origin=f,i.originPoint=En(s.min,s.max,i.origin),i.scale=cl(d)/cl(s),i.translate=En(d.min,d.max,i.origin)-i.originPoint,(i.scale>=j7&&i.scale<=H7||isNaN(i.scale))&&(i.scale=1),(i.translate>=B7&&i.translate<=V7||isNaN(i.translate))&&(i.translate=0)}function l0(i,s,d,f){l5(i.x,s.x,d.x,f?f.originX:void 0),l5(i.y,s.y,d.y,f?f.originY:void 0)}function i5(i,s,d){i.min=d.min+s.min,i.max=i.min+cl(s)}function Y7(i,s,d){i5(i.x,s.x,d.x),i5(i.y,s.y,d.y)}function o5(i,s,d){i.min=s.min-d.min,i.max=i.min+cl(s)}function z1(i,s,d){o5(i.x,s.x,d.x),o5(i.y,s.y,d.y)}function Hi(i){return[i("x"),i("y")]}const u5=({current:i})=>i?i.ownerDocument.defaultView:null,s5=(i,s)=>Math.abs(i-s);function q7(i,s){const d=s5(i.x,s.x),f=s5(i.y,s.y);return Math.sqrt(d**2+f**2)}class r5{constructor(s,d,{transformPagePoint:f,contextWindow:m=window,dragSnapToOrigin:p=!1,distanceThreshold:g=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const D=zS(this.lastMoveEventInfo,this.history),z=this.startEvent!==null,_=q7(D.offset,{x:0,y:0})>=this.distanceThreshold;if(!z&&!_)return;const{point:V}=D,{timestamp:L}=za;this.history.push({...V,timestamp:L});const{onStart:B,onMove:it}=this.handlers;z||(B&&B(this.lastMoveEvent,D),this.startEvent=this.lastMoveEvent),it&&it(this.lastMoveEvent,D)},this.handlePointerMove=(D,z)=>{this.lastMoveEvent=D,this.lastMoveEventInfo=OS(z,this.transformPagePoint),gn.update(this.updatePoint,!0)},this.handlePointerUp=(D,z)=>{this.end();const{onEnd:_,onSessionEnd:V,resumeAnimation:L}=this.handlers;if(this.dragSnapToOrigin&&L&&L(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const B=zS(D.type==="pointercancel"?this.lastMoveEventInfo:OS(z,this.transformPagePoint),this.history);this.startEvent&&_&&_(D,B),V&&V(D,B)},!uS(s))return;this.dragSnapToOrigin=p,this.handlers=d,this.transformPagePoint=f,this.distanceThreshold=g,this.contextWindow=m||window;const b=n0(s),x=OS(b,this.transformPagePoint),{point:M}=x,{timestamp:A}=za;this.history=[{...M,timestamp:A}];const{onSessionStart:E}=d;E&&E(s,zS(x,this.history)),this.removeListeners=Zp(a0(this.contextWindow,"pointermove",this.handlePointerMove),a0(this.contextWindow,"pointerup",this.handlePointerUp),a0(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(s){this.handlers=s}end(){this.removeListeners&&this.removeListeners(),gr(this.updatePoint)}}function OS(i,s){return s?{point:s(i.point)}:i}function c5(i,s){return{x:i.x-s.x,y:i.y-s.y}}function zS({point:i},s){return{point:i,delta:c5(i,f5(s)),offset:c5(i,G7(s)),velocity:X7(s,.1)}}function G7(i){return i[0]}function f5(i){return i[i.length-1]}function X7(i,s){if(i.length<2)return{x:0,y:0};let d=i.length-1,f=null;const m=f5(i);for(;d>=0&&(f=i[d],!(m.timestamp-f.timestamp>Oo(s)));)d--;if(!f)return{x:0,y:0};const p=ji(m.timestamp-f.timestamp);if(p===0)return{x:0,y:0};const g={x:(m.x-f.x)/p,y:(m.y-f.y)/p};return g.x===1/0&&(g.x=0),g.y===1/0&&(g.y=0),g}function Q7(i,{min:s,max:d},f){return s!==void 0&&i<s?i=f?En(s,i,f.min):Math.max(i,s):d!==void 0&&i>d&&(i=f?En(d,i,f.max):Math.min(i,d)),i}function d5(i,s,d){return{min:s!==void 0?i.min+s:void 0,max:d!==void 0?i.max+d-(i.max-i.min):void 0}}function Z7(i,{top:s,left:d,bottom:f,right:m}){return{x:d5(i.x,d,m),y:d5(i.y,s,f)}}function h5(i,s){let d=s.min-i.min,f=s.max-i.max;return s.max-s.min<i.max-i.min&&([d,f]=[f,d]),{min:d,max:f}}function k7(i,s){return{x:h5(i.x,s.x),y:h5(i.y,s.y)}}function J7(i,s){let d=.5;const f=cl(i),m=cl(s);return m>f?d=kp(s.min,s.max-f,i.min):f>m&&(d=kp(i.min,i.max-m,s.min)),es(0,1,d)}function K7(i,s){const d={};return s.min!==void 0&&(d.min=s.min-i.min),s.max!==void 0&&(d.max=s.max-i.min),d}const RS=.35;function F7(i=RS){return i===!1?i=0:i===!0&&(i=RS),{x:m5(i,"left","right"),y:m5(i,"top","bottom")}}function m5(i,s,d){return{min:p5(i,s),max:p5(i,d)}}function p5(i,s){return typeof i=="number"?i:i[s]||0}const $7=new WeakMap;class I7{constructor(s){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ca(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=s}start(s,{snapToCursor:d=!1,distanceThreshold:f}={}){const{presenceContext:m}=this.visualElement;if(m&&m.isPresent===!1)return;const p=E=>{const{dragSnapToOrigin:D}=this.getProps();D?this.pauseAnimation():this.stopAnimation(),d&&this.snapToCursor(n0(E).point)},g=(E,D)=>{const{drag:z,dragPropagation:_,onDragStart:V}=this.getProps();if(z&&!_&&(this.openDragLock&&this.openDragLock(),this.openDragLock=aC(z),!this.openDragLock))return;this.latestPointerEvent=E,this.latestPanInfo=D,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Hi(B=>{let it=this.getAxisMotionValue(B).get()||0;if(du.test(it)){const{projection:k}=this.visualElement;if(k&&k.layout){const P=k.layout.layoutBox[B];P&&(it=cl(P)*(parseFloat(it)/100))}}this.originPoint[B]=it}),V&&gn.postRender(()=>V(E,D)),DS(this.visualElement,"transform");const{animationState:L}=this.visualElement;L&&L.setActive("whileDrag",!0)},b=(E,D)=>{this.latestPointerEvent=E,this.latestPanInfo=D;const{dragPropagation:z,dragDirectionLock:_,onDirectionLock:V,onDrag:L}=this.getProps();if(!z&&!this.openDragLock)return;const{offset:B}=D;if(_&&this.currentDirection===null){this.currentDirection=W7(B),this.currentDirection!==null&&V&&V(this.currentDirection);return}this.updateAxis("x",D.point,B),this.updateAxis("y",D.point,B),this.visualElement.render(),L&&L(E,D)},x=(E,D)=>{this.latestPointerEvent=E,this.latestPanInfo=D,this.stop(E,D),this.latestPointerEvent=null,this.latestPanInfo=null},M=()=>Hi(E=>this.getAnimationState(E)==="paused"&&this.getAxisMotionValue(E).animation?.play()),{dragSnapToOrigin:A}=this.getProps();this.panSession=new r5(s,{onSessionStart:p,onStart:g,onMove:b,onSessionEnd:x,resumeAnimation:M},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:A,distanceThreshold:f,contextWindow:u5(this.visualElement)})}stop(s,d){const f=s||this.latestPointerEvent,m=d||this.latestPanInfo,p=this.isDragging;if(this.cancel(),!p||!m||!f)return;const{velocity:g}=m;this.startAnimation(g);const{onDragEnd:b}=this.getProps();b&&gn.postRender(()=>b(f,m))}cancel(){this.isDragging=!1;const{projection:s,animationState:d}=this.visualElement;s&&(s.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:f}=this.getProps();!f&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),d&&d.setActive("whileDrag",!1)}updateAxis(s,d,f){const{drag:m}=this.getProps();if(!f||!R1(s,m,this.currentDirection))return;const p=this.getAxisMotionValue(s);let g=this.originPoint[s]+f[s];this.constraints&&this.constraints[s]&&(g=Q7(g,this.constraints[s],this.elastic[s])),p.set(g)}resolveConstraints(){const{dragConstraints:s,dragElastic:d}=this.getProps(),f=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,m=this.constraints;s&&sh(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&f?this.constraints=Z7(f.layoutBox,s):this.constraints=!1,this.elastic=F7(d),m!==this.constraints&&f&&this.constraints&&!this.hasMutatedConstraints&&Hi(p=>{this.constraints!==!1&&this.getAxisMotionValue(p)&&(this.constraints[p]=K7(f.layoutBox[p],this.constraints[p]))})}resolveRefConstraints(){const{dragConstraints:s,onMeasureDragConstraints:d}=this.getProps();if(!s||!sh(s))return!1;const f=s.current;ns(f!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:m}=this.visualElement;if(!m||!m.layout)return!1;const p=PC(f,m.root,this.visualElement.getTransformPagePoint());let g=k7(m.layout.layoutBox,p);if(d){const b=d($C(g));this.hasMutatedConstraints=!!b,b&&(g=NT(b))}return g}startAnimation(s){const{drag:d,dragMomentum:f,dragElastic:m,dragTransition:p,dragSnapToOrigin:g,onDragTransitionEnd:b}=this.getProps(),x=this.constraints||{},M=Hi(A=>{if(!R1(A,d,this.currentDirection))return;let E=x&&x[A]||{};g&&(E={min:0,max:0});const D=m?200:1e6,z=m?40:1e7,_={type:"inertia",velocity:f?s[A]:0,bounceStiffness:D,bounceDamping:z,timeConstant:750,restDelta:1,restSpeed:10,...p,...E};return this.startAxisValueAnimation(A,_)});return Promise.all(M).then(b)}startAxisValueAnimation(s,d){const f=this.getAxisMotionValue(s);return DS(this.visualElement,s),f.start(MS(s,f,0,d,this.visualElement,!1))}stopAnimation(){Hi(s=>this.getAxisMotionValue(s).stop())}pauseAnimation(){Hi(s=>this.getAxisMotionValue(s).animation?.pause())}getAnimationState(s){return this.getAxisMotionValue(s).animation?.state}getAxisMotionValue(s){const d=`_drag${s.toUpperCase()}`,f=this.visualElement.getProps(),m=f[d];return m||this.visualElement.getValue(s,(f.initial?f.initial[s]:void 0)||0)}snapToCursor(s){Hi(d=>{const{drag:f}=this.getProps();if(!R1(d,f,this.currentDirection))return;const{projection:m}=this.visualElement,p=this.getAxisMotionValue(d);if(m&&m.layout){const{min:g,max:b}=m.layout.layoutBox[d];p.set(s[d]-En(g,b,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:s,dragConstraints:d}=this.getProps(),{projection:f}=this.visualElement;if(!sh(d)||!f||!this.constraints)return;this.stopAnimation();const m={x:0,y:0};Hi(g=>{const b=this.getAxisMotionValue(g);if(b&&this.constraints!==!1){const x=b.get();m[g]=J7({min:x,max:x},this.constraints[g])}});const{transformTemplate:p}=this.visualElement.getProps();this.visualElement.current.style.transform=p?p({},""):"none",f.root&&f.root.updateScroll(),f.updateLayout(),this.resolveConstraints(),Hi(g=>{if(!R1(g,s,null))return;const b=this.getAxisMotionValue(g),{min:x,max:M}=this.constraints[g];b.set(En(x,M,m[g]))})}addListeners(){if(!this.visualElement.current)return;$7.set(this.visualElement,this);const s=this.visualElement.current,d=a0(s,"pointerdown",x=>{const{drag:M,dragListener:A=!0}=this.getProps();M&&A&&this.start(x)}),f=()=>{const{dragConstraints:x}=this.getProps();sh(x)&&x.current&&(this.constraints=this.resolveRefConstraints())},{projection:m}=this.visualElement,p=m.addEventListener("measure",f);m&&!m.layout&&(m.root&&m.root.updateScroll(),m.updateLayout()),gn.read(f);const g=e0(window,"resize",()=>this.scalePositionWithinConstraints()),b=m.addEventListener("didUpdate",(({delta:x,hasLayoutChanged:M})=>{this.isDragging&&M&&(Hi(A=>{const E=this.getAxisMotionValue(A);E&&(this.originPoint[A]+=x[A].translate,E.set(E.get()+x[A].translate))}),this.visualElement.render())}));return()=>{g(),d(),p(),b&&b()}}getProps(){const s=this.visualElement.getProps(),{drag:d=!1,dragDirectionLock:f=!1,dragPropagation:m=!1,dragConstraints:p=!1,dragElastic:g=RS,dragMomentum:b=!0}=s;return{...s,drag:d,dragDirectionLock:f,dragPropagation:m,dragConstraints:p,dragElastic:g,dragMomentum:b}}}function R1(i,s,d){return(s===!0||s===i)&&(d===null||d===i)}function W7(i,s=10){let d=null;return Math.abs(i.y)>s?d="y":Math.abs(i.x)>s&&(d="x"),d}class P7 extends Sr{constructor(s){super(s),this.removeGroupControls=Ni,this.removeListeners=Ni,this.controls=new I7(s)}mount(){const{dragControls:s}=this.node.getProps();s&&(this.removeGroupControls=s.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ni}unmount(){this.removeGroupControls(),this.removeListeners()}}const y5=i=>(s,d)=>{i&&gn.postRender(()=>i(s,d))};class tO extends Sr{constructor(){super(...arguments),this.removePointerDownListener=Ni}onPointerDown(s){this.session=new r5(s,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:u5(this.node)})}createPanHandlers(){const{onPanSessionStart:s,onPanStart:d,onPan:f,onPanEnd:m}=this.node.getProps();return{onSessionStart:y5(s),onStart:y5(d),onMove:f,onEnd:(p,g)=>{delete this.session,m&&gn.postRender(()=>m(p,g))}}}mount(){this.removePointerDownListener=a0(this.node.current,"pointerdown",s=>this.onPointerDown(s))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const w1={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let wS=!1;class eO extends Ot.Component{componentDidMount(){const{visualElement:s,layoutGroup:d,switchLayoutGroup:f,layoutId:m}=this.props,{projection:p}=s;p&&(d.group&&d.group.add(p),f&&f.register&&m&&f.register(p),wS&&p.root.didUpdate(),p.addEventListener("animationComplete",()=>{this.safeToRemove()}),p.setOptions({...p.options,onExitComplete:()=>this.safeToRemove()})),w1.hasEverUpdated=!0}getSnapshotBeforeUpdate(s){const{layoutDependency:d,visualElement:f,drag:m,isPresent:p}=this.props,{projection:g}=f;return g&&(g.isPresent=p,wS=!0,m||s.layoutDependency!==d||d===void 0||s.isPresent!==p?g.willUpdate():this.safeToRemove(),s.isPresent!==p&&(p?g.promote():g.relegate()||gn.postRender(()=>{const b=g.getStack();(!b||!b.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:s}=this.props.visualElement;s&&(s.root.didUpdate(),oS.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:s,layoutGroup:d,switchLayoutGroup:f}=this.props,{projection:m}=s;wS=!0,m&&(m.scheduleCheckAfterUnmount(),d&&d.group&&d.group.remove(m),f&&f.deregister&&f.deregister(m))}safeToRemove(){const{safeToRemove:s}=this.props;s&&s()}render(){return null}}function g5(i){const[s,d]=pT(),f=Ot.useContext(Sb);return ot.jsx(eO,{...i,layoutGroup:f,switchLayoutGroup:Ot.useContext(UT),isPresent:s,safeToRemove:d})}function nO(i,s,d){const f=Wa(i)?i:oh(i);return f.start(MS("",f,s,d)),f.animation}const aO=(i,s)=>i.depth-s.depth;class lO{constructor(){this.children=[],this.isDirty=!1}add(s){Eb(this.children,s),this.isDirty=!0}remove(s){xb(this.children,s),this.isDirty=!0}forEach(s){this.isDirty&&this.children.sort(aO),this.isDirty=!1,this.children.forEach(s)}}function iO(i,s){const d=Ll.now(),f=({timestamp:m})=>{const p=m-d;p>=s&&(gr(f),i(p-s))};return gn.setup(f,!0),()=>gr(f)}const v5=["TopLeft","TopRight","BottomLeft","BottomRight"],oO=v5.length,b5=i=>typeof i=="string"?parseFloat(i):i,S5=i=>typeof i=="number"||$t.test(i);function uO(i,s,d,f,m,p){m?(i.opacity=En(0,d.opacity??1,sO(f)),i.opacityExit=En(s.opacity??1,0,rO(f))):p&&(i.opacity=En(s.opacity??1,d.opacity??1,f));for(let g=0;g<oO;g++){const b=`border${v5[g]}Radius`;let x=A5(s,b),M=A5(d,b);if(x===void 0&&M===void 0)continue;x||(x=0),M||(M=0),x===0||M===0||S5(x)===S5(M)?(i[b]=Math.max(En(b5(x),b5(M),f),0),(du.test(M)||du.test(x))&&(i[b]+="%")):i[b]=M}(s.rotate||d.rotate)&&(i.rotate=En(s.rotate||0,d.rotate||0,f))}function A5(i,s){return i[s]!==void 0?i[s]:i.borderRadius}const sO=T5(0,.5,hA),rO=T5(.5,.95,Ni);function T5(i,s,d){return f=>f<i?0:f>s?1:d(kp(i,s,f))}function E5(i,s){i.min=s.min,i.max=s.max}function Ro(i,s){E5(i.x,s.x),E5(i.y,s.y)}function x5(i,s){i.translate=s.translate,i.scale=s.scale,i.originPoint=s.originPoint,i.origin=s.origin}function D5(i,s,d,f,m){return i-=s,i=O1(i,1/d,f),m!==void 0&&(i=O1(i,1/m,f)),i}function cO(i,s=0,d=1,f=.5,m,p=i,g=i){if(du.test(s)&&(s=parseFloat(s),s=En(g.min,g.max,s/100)-g.min),typeof s!="number")return;let b=En(p.min,p.max,f);i===p&&(b-=s),i.min=D5(i.min,s,d,b,m),i.max=D5(i.max,s,d,b,m)}function M5(i,s,[d,f,m],p,g){cO(i,s[d],s[f],s[m],s.scale,p,g)}const fO=["x","scaleX","originX"],dO=["y","scaleY","originY"];function C5(i,s,d,f){M5(i.x,s,fO,d?d.x:void 0,f?f.x:void 0),M5(i.y,s,dO,d?d.y:void 0,f?f.y:void 0)}function O5(i){return i.translate===0&&i.scale===1}function z5(i){return O5(i.x)&&O5(i.y)}function R5(i,s){return i.min===s.min&&i.max===s.max}function hO(i,s){return R5(i.x,s.x)&&R5(i.y,s.y)}function w5(i,s){return Math.round(i.min)===Math.round(s.min)&&Math.round(i.max)===Math.round(s.max)}function U5(i,s){return w5(i.x,s.x)&&w5(i.y,s.y)}function _5(i){return cl(i.x)/cl(i.y)}function N5(i,s){return i.translate===s.translate&&i.scale===s.scale&&i.originPoint===s.originPoint}class mO{constructor(){this.members=[]}add(s){Eb(this.members,s),s.scheduleRender()}remove(s){if(xb(this.members,s),s===this.prevLead&&(this.prevLead=void 0),s===this.lead){const d=this.members[this.members.length-1];d&&this.promote(d)}}relegate(s){const d=this.members.findIndex(m=>s===m);if(d===0)return!1;let f;for(let m=d;m>=0;m--){const p=this.members[m];if(p.isPresent!==!1){f=p;break}}return f?(this.promote(f),!0):!1}promote(s,d){const f=this.lead;if(s!==f&&(this.prevLead=f,this.lead=s,s.show(),f)){f.instance&&f.scheduleRender(),s.scheduleRender(),s.resumeFrom=f,d&&(s.resumeFrom.preserveOpacity=!0),f.snapshot&&(s.snapshot=f.snapshot,s.snapshot.latestValues=f.animationValues||f.latestValues),s.root&&s.root.isUpdating&&(s.isLayoutDirty=!0);const{crossfade:m}=s.options;m===!1&&f.hide()}}exitAnimationComplete(){this.members.forEach(s=>{const{options:d,resumingFrom:f}=s;d.onExitComplete&&d.onExitComplete(),f&&f.options.onExitComplete&&f.options.onExitComplete()})}scheduleRender(){this.members.forEach(s=>{s.instance&&s.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function pO(i,s,d){let f="";const m=i.x.translate/s.x,p=i.y.translate/s.y,g=d?.z||0;if((m||p||g)&&(f=`translate3d(${m}px, ${p}px, ${g}px) `),(s.x!==1||s.y!==1)&&(f+=`scale(${1/s.x}, ${1/s.y}) `),d){const{transformPerspective:M,rotate:A,rotateX:E,rotateY:D,skewX:z,skewY:_}=d;M&&(f=`perspective(${M}px) ${f}`),A&&(f+=`rotate(${A}deg) `),E&&(f+=`rotateX(${E}deg) `),D&&(f+=`rotateY(${D}deg) `),z&&(f+=`skewX(${z}deg) `),_&&(f+=`skewY(${_}deg) `)}const b=i.x.scale*s.x,x=i.y.scale*s.y;return(b!==1||x!==1)&&(f+=`scale(${b}, ${x})`),f||"none"}const US=["","X","Y","Z"],yO=1e3;let gO=0;function _S(i,s,d,f){const{latestValues:m}=s;m[i]&&(d[i]=m[i],s.setStaticValue(i,0),f&&(f[i]=0))}function j5(i){if(i.hasCheckedOptimisedAppear=!0,i.root===i)return;const{visualElement:s}=i.options;if(!s)return;const d=$T(s);if(window.MotionHasOptimisedAnimation(d,"transform")){const{layout:m,layoutId:p}=i.options;window.MotionCancelOptimisedAnimation(d,"transform",gn,!(m||p))}const{parent:f}=i;f&&!f.hasCheckedOptimisedAppear&&j5(f)}function H5({attachResizeListener:i,defaultParent:s,measureScroll:d,checkIsScrollRoot:f,resetTransform:m}){return class{constructor(g={},b=s?.()){this.id=gO++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(SO),this.nodes.forEach(xO),this.nodes.forEach(DO),this.nodes.forEach(AO)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=g,this.root=b?b.root||b:this,this.path=b?[...b.path,b]:[],this.parent=b,this.depth=b?b.depth+1:0;for(let x=0;x<this.path.length;x++)this.path[x].shouldResetTransform=!0;this.root===this&&(this.nodes=new lO)}addEventListener(g,b){return this.eventHandlers.has(g)||this.eventHandlers.set(g,new Cb),this.eventHandlers.get(g).add(b)}notifyListeners(g,...b){const x=this.eventHandlers.get(g);x&&x.notify(...b)}hasListeners(g){return this.eventHandlers.has(g)}mount(g){if(this.instance)return;this.isSVG=hT(g)&&!rC(g),this.instance=g;const{layoutId:b,layout:x,visualElement:M}=this.options;if(M&&!M.current&&M.mount(g),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(x||b)&&(this.isLayoutDirty=!0),i){let A,E=0;const D=()=>this.root.updateBlockedByResize=!1;gn.read(()=>{E=window.innerWidth}),i(g,()=>{const z=window.innerWidth;z!==E&&(E=z,this.root.updateBlockedByResize=!0,A&&A(),A=iO(D,250),w1.hasAnimatedSinceResize&&(w1.hasAnimatedSinceResize=!1,this.nodes.forEach(L5)))})}b&&this.root.registerSharedNode(b,this),this.options.animate!==!1&&M&&(b||x)&&this.addEventListener("didUpdate",({delta:A,hasLayoutChanged:E,hasRelativeLayoutChanged:D,layout:z})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const _=this.options.transition||M.getDefaultTransition()||RO,{onLayoutAnimationStart:V,onLayoutAnimationComplete:L}=M.getProps(),B=!this.targetLayout||!U5(this.targetLayout,z),it=!E&&D;if(this.options.layoutRoot||this.resumeFrom||it||E&&(B||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const k={...aS(_,"layout"),onPlay:V,onComplete:L};(M.shouldReduceMotion||this.options.layoutRoot)&&(k.delay=0,k.type=!1),this.startAnimation(k),this.setAnimationOrigin(A,it)}else E||L5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=z})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const g=this.getStack();g&&g.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),gr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(MO),this.animationId++)}getTransformTemplate(){const{visualElement:g}=this.options;return g&&g.getProps().transformTemplate}willUpdate(g=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&j5(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let A=0;A<this.path.length;A++){const E=this.path[A];E.shouldResetTransform=!0,E.updateScroll("snapshot"),E.options.layoutRoot&&E.willUpdate(!1)}const{layoutId:b,layout:x}=this.options;if(b===void 0&&!x)return;const M=this.getTransformTemplate();this.prevTransformTemplateValue=M?M(this.latestValues,""):void 0,this.updateSnapshot(),g&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(B5);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(V5);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(EO),this.nodes.forEach(vO),this.nodes.forEach(bO)):this.nodes.forEach(V5),this.clearAllSnapshots();const b=Ll.now();za.delta=es(0,1e3/60,b-za.timestamp),za.timestamp=b,za.isProcessing=!0,wb.update.process(za),wb.preRender.process(za),wb.render.process(za),za.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,oS.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(TO),this.sharedNodes.forEach(CO)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,gn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){gn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!cl(this.snapshot.measuredBox.x)&&!cl(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let x=0;x<this.path.length;x++)this.path[x].updateScroll();const g=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=ca(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:b}=this.options;b&&b.notify("LayoutMeasure",this.layout.layoutBox,g?g.layoutBox:void 0)}updateScroll(g="measure"){let b=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===g&&(b=!1),b&&this.instance){const x=f(this.instance);this.scroll={animationId:this.root.animationId,phase:g,isRoot:x,offset:d(this.instance),wasRoot:this.scroll?this.scroll.isRoot:x}}}resetTransform(){if(!m)return;const g=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,b=this.projectionDelta&&!z5(this.projectionDelta),x=this.getTransformTemplate(),M=x?x(this.latestValues,""):void 0,A=M!==this.prevTransformTemplateValue;g&&this.instance&&(b||sf(this.latestValues)||A)&&(m(this.instance,M),this.shouldResetTransform=!1,this.scheduleRender())}measure(g=!0){const b=this.measurePageBox();let x=this.removeElementScroll(b);return g&&(x=this.removeTransform(x)),wO(x),{animationId:this.root.animationId,measuredBox:b,layoutBox:x,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:g}=this.options;if(!g)return ca();const b=g.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(UO))){const{scroll:M}=this.root;M&&(rh(b.x,M.offset.x),rh(b.y,M.offset.y))}return b}removeElementScroll(g){const b=ca();if(Ro(b,g),this.scroll?.wasRoot)return b;for(let x=0;x<this.path.length;x++){const M=this.path[x],{scroll:A,options:E}=M;M!==this.root&&A&&E.layoutScroll&&(A.wasRoot&&Ro(b,g),rh(b.x,A.offset.x),rh(b.y,A.offset.y))}return b}applyTransform(g,b=!1){const x=ca();Ro(x,g);for(let M=0;M<this.path.length;M++){const A=this.path[M];!b&&A.options.layoutScroll&&A.scroll&&A!==A.root&&ch(x,{x:-A.scroll.offset.x,y:-A.scroll.offset.y}),sf(A.latestValues)&&ch(x,A.latestValues)}return sf(this.latestValues)&&ch(x,this.latestValues),x}removeTransform(g){const b=ca();Ro(b,g);for(let x=0;x<this.path.length;x++){const M=this.path[x];if(!M.instance||!sf(M.latestValues))continue;AS(M.latestValues)&&M.updateSnapshot();const A=ca(),E=M.measurePageBox();Ro(A,E),C5(b,M.latestValues,M.snapshot?M.snapshot.layoutBox:void 0,A)}return sf(this.latestValues)&&C5(b,this.latestValues),b}setTargetDelta(g){this.targetDelta=g,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(g){this.options={...this.options,...g,crossfade:g.crossfade!==void 0?g.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==za.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(g=!1){const b=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=b.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=b.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=b.isSharedProjectionDirty);const x=!!this.resumingFrom||this!==b;if(!(g||x&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:A,layoutId:E}=this.options;if(!this.layout||!(A||E))return;this.resolvedRelativeTargetAt=za.timestamp;const D=this.getClosestProjectingParent();D&&this.linkedParentVersion!==D.layoutVersion&&!D.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(D&&D.layout?this.createRelativeTarget(D,this.layout.layoutBox,D.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ca(),this.targetWithTransforms=ca()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Y7(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ro(this.target,this.layout.layoutBox),VT(this.target,this.targetDelta)):Ro(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,D&&!!D.resumingFrom==!!this.resumingFrom&&!D.options.layoutScroll&&D.target&&this.animationProgress!==1?this.createRelativeTarget(D,this.target,D.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||AS(this.parent.latestValues)||jT(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(g,b,x){this.relativeParent=g,this.linkedParentVersion=g.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ca(),this.relativeTargetOrigin=ca(),z1(this.relativeTargetOrigin,b,x),Ro(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const g=this.getLead(),b=!!this.resumingFrom||this!==g;let x=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(x=!1),b&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(x=!1),this.resolvedRelativeTargetAt===za.timestamp&&(x=!1),x)return;const{layout:M,layoutId:A}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(M||A))return;Ro(this.layoutCorrected,this.layout.layoutBox);const E=this.treeScale.x,D=this.treeScale.y;WC(this.layoutCorrected,this.treeScale,this.path,b),g.layout&&!g.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(g.target=g.layout.layoutBox,g.targetWithTransforms=ca());const{target:z}=g;if(!z){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(x5(this.prevProjectionDelta.x,this.projectionDelta.x),x5(this.prevProjectionDelta.y,this.projectionDelta.y)),l0(this.projectionDelta,this.layoutCorrected,z,this.latestValues),(this.treeScale.x!==E||this.treeScale.y!==D||!N5(this.projectionDelta.x,this.prevProjectionDelta.x)||!N5(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",z))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(g=!0){if(this.options.visualElement?.scheduleRender(),g){const b=this.getStack();b&&b.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=fh(),this.projectionDelta=fh(),this.projectionDeltaWithTransform=fh()}setAnimationOrigin(g,b=!1){const x=this.snapshot,M=x?x.latestValues:{},A={...this.latestValues},E=fh();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!b;const D=ca(),z=x?x.source:void 0,_=this.layout?this.layout.source:void 0,V=z!==_,L=this.getStack(),B=!L||L.members.length<=1,it=!!(V&&!B&&this.options.crossfade===!0&&!this.path.some(zO));this.animationProgress=0;let k;this.mixTargetDelta=P=>{const tt=P/1e3;Y5(E.x,g.x,tt),Y5(E.y,g.y,tt),this.setTargetDelta(E),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(z1(D,this.layout.layoutBox,this.relativeParent.layout.layoutBox),OO(this.relativeTarget,this.relativeTargetOrigin,D,tt),k&&hO(this.relativeTarget,k)&&(this.isProjectionDirty=!1),k||(k=ca()),Ro(k,this.relativeTarget)),V&&(this.animationValues=A,uO(A,M,this.latestValues,tt,it,B)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=tt},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(g){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(gr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=gn.update(()=>{w1.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=oh(0)),this.currentAnimation=nO(this.motionValue,[0,1e3],{...g,velocity:0,isSync:!0,onUpdate:b=>{this.mixTargetDelta(b),g.onUpdate&&g.onUpdate(b)},onStop:()=>{},onComplete:()=>{g.onComplete&&g.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const g=this.getStack();g&&g.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(yO),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const g=this.getLead();let{targetWithTransforms:b,target:x,layout:M,latestValues:A}=g;if(!(!b||!x||!M)){if(this!==g&&this.layout&&M&&Z5(this.options.animationType,this.layout.layoutBox,M.layoutBox)){x=this.target||ca();const E=cl(this.layout.layoutBox.x);x.x.min=g.target.x.min,x.x.max=x.x.min+E;const D=cl(this.layout.layoutBox.y);x.y.min=g.target.y.min,x.y.max=x.y.min+D}Ro(b,x),ch(b,A),l0(this.projectionDeltaWithTransform,this.layoutCorrected,b,A)}}registerSharedNode(g,b){this.sharedNodes.has(g)||this.sharedNodes.set(g,new mO),this.sharedNodes.get(g).add(b);const M=b.options.initialPromotionConfig;b.promote({transition:M?M.transition:void 0,preserveFollowOpacity:M&&M.shouldPreserveFollowOpacity?M.shouldPreserveFollowOpacity(b):void 0})}isLead(){const g=this.getStack();return g?g.lead===this:!0}getLead(){const{layoutId:g}=this.options;return g?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:g}=this.options;return g?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:g}=this.options;if(g)return this.root.sharedNodes.get(g)}promote({needsReset:g,transition:b,preserveFollowOpacity:x}={}){const M=this.getStack();M&&M.promote(this,x),g&&(this.projectionDelta=void 0,this.needsReset=!0),b&&this.setOptions({transition:b})}relegate(){const g=this.getStack();return g?g.relegate(this):!1}resetSkewAndRotation(){const{visualElement:g}=this.options;if(!g)return;let b=!1;const{latestValues:x}=g;if((x.z||x.rotate||x.rotateX||x.rotateY||x.rotateZ||x.skewX||x.skewY)&&(b=!0),!b)return;const M={};x.z&&_S("z",g,M,this.animationValues);for(let A=0;A<US.length;A++)_S(`rotate${US[A]}`,g,M,this.animationValues),_S(`skew${US[A]}`,g,M,this.animationValues);g.render();for(const A in M)g.setStaticValue(A,M[A]),this.animationValues&&(this.animationValues[A]=M[A]);g.scheduleRender()}applyProjectionStyles(g,b){if(!this.instance||this.isSVG)return;if(!this.isVisible){g.visibility="hidden";return}const x=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,g.visibility="",g.opacity="",g.pointerEvents=C1(b?.pointerEvents)||"",g.transform=x?x(this.latestValues,""):"none";return}const M=this.getLead();if(!this.projectionDelta||!this.layout||!M.target){this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=C1(b?.pointerEvents)||""),this.hasProjected&&!sf(this.latestValues)&&(g.transform=x?x({},""):"none",this.hasProjected=!1);return}g.visibility="";const A=M.animationValues||M.latestValues;this.applyTransformsToTarget();let E=pO(this.projectionDeltaWithTransform,this.treeScale,A);x&&(E=x(A,E)),g.transform=E;const{x:D,y:z}=this.projectionDelta;g.transformOrigin=`${D.origin*100}% ${z.origin*100}% 0`,M.animationValues?g.opacity=M===this?A.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:A.opacityExit:g.opacity=M===this?A.opacity!==void 0?A.opacity:"":A.opacityExit!==void 0?A.opacityExit:0;for(const _ in dS){if(A[_]===void 0)continue;const{correct:V,applyTo:L,isCSSVariable:B}=dS[_],it=E==="none"?A[_]:V(A[_],M);if(L){const k=L.length;for(let P=0;P<k;P++)g[L[P]]=it}else B?this.options.visualElement.renderState.vars[_]=it:g[_]=it}this.options.layoutId&&(g.pointerEvents=M===this?C1(b?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(g=>g.currentAnimation?.stop()),this.root.nodes.forEach(B5),this.root.sharedNodes.clear()}}}function vO(i){i.updateLayout()}function bO(i){const s=i.resumeFrom?.snapshot||i.snapshot;if(i.isLead()&&i.layout&&s&&i.hasListeners("didUpdate")){const{layoutBox:d,measuredBox:f}=i.layout,{animationType:m}=i.options,p=s.source!==i.layout.source;m==="size"?Hi(A=>{const E=p?s.measuredBox[A]:s.layoutBox[A],D=cl(E);E.min=d[A].min,E.max=E.min+D}):Z5(m,s.layoutBox,d)&&Hi(A=>{const E=p?s.measuredBox[A]:s.layoutBox[A],D=cl(d[A]);E.max=E.min+D,i.relativeTarget&&!i.currentAnimation&&(i.isProjectionDirty=!0,i.relativeTarget[A].max=i.relativeTarget[A].min+D)});const g=fh();l0(g,d,s.layoutBox);const b=fh();p?l0(b,i.applyTransform(f,!0),s.measuredBox):l0(b,d,s.layoutBox);const x=!z5(g);let M=!1;if(!i.resumeFrom){const A=i.getClosestProjectingParent();if(A&&!A.resumeFrom){const{snapshot:E,layout:D}=A;if(E&&D){const z=ca();z1(z,s.layoutBox,E.layoutBox);const _=ca();z1(_,d,D.layoutBox),U5(z,_)||(M=!0),A.options.layoutRoot&&(i.relativeTarget=_,i.relativeTargetOrigin=z,i.relativeParent=A)}}}i.notifyListeners("didUpdate",{layout:d,snapshot:s,delta:b,layoutDelta:g,hasLayoutChanged:x,hasRelativeLayoutChanged:M})}else if(i.isLead()){const{onExitComplete:d}=i.options;d&&d()}i.options.transition=void 0}function SO(i){i.parent&&(i.isProjecting()||(i.isProjectionDirty=i.parent.isProjectionDirty),i.isSharedProjectionDirty||(i.isSharedProjectionDirty=!!(i.isProjectionDirty||i.parent.isProjectionDirty||i.parent.isSharedProjectionDirty)),i.isTransformDirty||(i.isTransformDirty=i.parent.isTransformDirty))}function AO(i){i.isProjectionDirty=i.isSharedProjectionDirty=i.isTransformDirty=!1}function TO(i){i.clearSnapshot()}function B5(i){i.clearMeasurements()}function V5(i){i.isLayoutDirty=!1}function EO(i){const{visualElement:s}=i.options;s&&s.getProps().onBeforeLayoutMeasure&&s.notify("BeforeLayoutMeasure"),i.resetTransform()}function L5(i){i.finishAnimation(),i.targetDelta=i.relativeTarget=i.target=void 0,i.isProjectionDirty=!0}function xO(i){i.resolveTargetDelta()}function DO(i){i.calcProjection()}function MO(i){i.resetSkewAndRotation()}function CO(i){i.removeLeadSnapshot()}function Y5(i,s,d){i.translate=En(s.translate,0,d),i.scale=En(s.scale,1,d),i.origin=s.origin,i.originPoint=s.originPoint}function q5(i,s,d,f){i.min=En(s.min,d.min,f),i.max=En(s.max,d.max,f)}function OO(i,s,d,f){q5(i.x,s.x,d.x,f),q5(i.y,s.y,d.y,f)}function zO(i){return i.animationValues&&i.animationValues.opacityExit!==void 0}const RO={duration:.45,ease:[.4,0,.1,1]},G5=i=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(i),X5=G5("applewebkit/")&&!G5("chrome/")?Math.round:Ni;function Q5(i){i.min=X5(i.min),i.max=X5(i.max)}function wO(i){Q5(i.x),Q5(i.y)}function Z5(i,s,d){return i==="position"||i==="preserve-aspect"&&!L7(_5(s),_5(d),.2)}function UO(i){return i!==i.root&&i.scroll?.wasRoot}const _O=H5({attachResizeListener:(i,s)=>e0(i,"resize",s),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),NS={current:void 0},k5=H5({measureScroll:i=>({x:i.scrollLeft,y:i.scrollTop}),defaultParent:()=>{if(!NS.current){const i=new _O({});i.mount(window),i.setOptions({layoutScroll:!0}),NS.current=i}return NS.current},resetTransform:(i,s)=>{i.style.transform=s!==void 0?s:"none"},checkIsScrollRoot:i=>window.getComputedStyle(i).position==="fixed"}),NO={pan:{Feature:tO},drag:{Feature:P7,ProjectionNode:k5,MeasureLayout:g5}};function J5(i,s,d){const{props:f}=i;i.animationState&&f.whileHover&&i.animationState.setActive("whileHover",d==="Start");const m="onHover"+d,p=f[m];p&&gn.postRender(()=>p(s,n0(s)))}class jO extends Sr{mount(){const{current:s}=this.node;s&&(this.unmount=lC(s,(d,f)=>(J5(this.node,f,"Start"),m=>J5(this.node,m,"End"))))}unmount(){}}class HO extends Sr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let s=!1;try{s=this.node.current.matches(":focus-visible")}catch{s=!0}!s||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Zp(e0(this.node.current,"focus",()=>this.onFocus()),e0(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function K5(i,s,d){const{props:f}=i;if(i.current instanceof HTMLButtonElement&&i.current.disabled)return;i.animationState&&f.whileTap&&i.animationState.setActive("whileTap",d==="Start");const m="onTap"+(d==="End"?"":d),p=f[m];p&&gn.postRender(()=>p(s,n0(s)))}class BO extends Sr{mount(){const{current:s}=this.node;s&&(this.unmount=sC(s,(d,f)=>(K5(this.node,f,"Start"),(m,{success:p})=>K5(this.node,m,p?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const jS=new WeakMap,HS=new WeakMap,VO=i=>{const s=jS.get(i.target);s&&s(i)},LO=i=>{i.forEach(VO)};function YO({root:i,...s}){const d=i||document;HS.has(d)||HS.set(d,{});const f=HS.get(d),m=JSON.stringify(s);return f[m]||(f[m]=new IntersectionObserver(LO,{root:i,...s})),f[m]}function qO(i,s,d){const f=YO(s);return jS.set(i,d),f.observe(i),()=>{jS.delete(i),f.unobserve(i)}}const GO={some:0,all:1};class XO extends Sr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:s={}}=this.node.getProps(),{root:d,margin:f,amount:m="some",once:p}=s,g={root:d?d.current:void 0,rootMargin:f,threshold:typeof m=="number"?m:GO[m]},b=x=>{const{isIntersecting:M}=x;if(this.isInView===M||(this.isInView=M,p&&!M&&this.hasEnteredView))return;M&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",M);const{onViewportEnter:A,onViewportLeave:E}=this.node.getProps(),D=M?A:E;D&&D(x)};return qO(this.node.current,g,b)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:s,prevProps:d}=this.node;["amount","margin","root"].some(QO(s,d))&&this.startObserver()}unmount(){}}function QO({viewport:i={}},{viewport:s={}}={}){return d=>i[d]!==s[d]}const ZO={..._7,...{inView:{Feature:XO},tap:{Feature:BO},focus:{Feature:HO},hover:{Feature:jO}},...NO,...{layout:{ProjectionNode:k5,MeasureLayout:g5}}},F5=FC(ZO,s7);function BS(i,s){(s==null||s>i.length)&&(s=i.length);for(var d=0,f=Array(s);d<s;d++)f[d]=i[d];return f}function kO(i){if(Array.isArray(i))return i}function JO(i){if(Array.isArray(i))return BS(i)}function KO(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}function FO(i,s){for(var d=0;d<s.length;d++){var f=s[d];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(i,I5(f.key),f)}}function $O(i,s,d){return s&&FO(i.prototype,s),Object.defineProperty(i,"prototype",{writable:!1}),i}function U1(i,s){var d=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!d){if(Array.isArray(i)||(d=VS(i))||s){d&&(i=d);var f=0,m=function(){};return{s:m,n:function(){return f>=i.length?{done:!0}:{done:!1,value:i[f++]}},e:function(x){throw x},f:m}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
236
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var p,g=!0,b=!1;return{s:function(){d=d.call(i)},n:function(){var x=d.next();return g=x.done,x},e:function(x){b=!0,p=x},f:function(){try{g||d.return==null||d.return()}finally{if(b)throw p}}}}function de(i,s,d){return(s=I5(s))in i?Object.defineProperty(i,s,{value:d,enumerable:!0,configurable:!0,writable:!0}):i[s]=d,i}function IO(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function WO(i,s){var d=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(d!=null){var f,m,p,g,b=[],x=!0,M=!1;try{if(p=(d=d.call(i)).next,s===0){if(Object(d)!==d)return;x=!1}else for(;!(x=(f=p.call(d)).done)&&(b.push(f.value),b.length!==s);x=!0);}catch(A){M=!0,m=A}finally{try{if(!x&&d.return!=null&&(g=d.return(),Object(g)!==g))return}finally{if(M)throw m}}return b}}function PO(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
237
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tz(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
238
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $5(i,s){var d=Object.keys(i);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(i);s&&(f=f.filter(function(m){return Object.getOwnPropertyDescriptor(i,m).enumerable})),d.push.apply(d,f)}return d}function _t(i){for(var s=1;s<arguments.length;s++){var d=arguments[s]!=null?arguments[s]:{};s%2?$5(Object(d),!0).forEach(function(f){de(i,f,d[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(d)):$5(Object(d)).forEach(function(f){Object.defineProperty(i,f,Object.getOwnPropertyDescriptor(d,f))})}return i}function _1(i,s){return kO(i)||WO(i,s)||VS(i,s)||PO()}function wo(i){return JO(i)||IO(i)||VS(i)||tz()}function ez(i,s){if(typeof i!="object"||!i)return i;var d=i[Symbol.toPrimitive];if(d!==void 0){var f=d.call(i,s);if(typeof f!="object")return f;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(i)}function I5(i){var s=ez(i,"string");return typeof s=="symbol"?s:s+""}function N1(i){"@babel/helpers - typeof";return N1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},N1(i)}function VS(i,s){if(i){if(typeof i=="string")return BS(i,s);var d={}.toString.call(i).slice(8,-1);return d==="Object"&&i.constructor&&(d=i.constructor.name),d==="Map"||d==="Set"?Array.from(i):d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?BS(i,s):void 0}}var W5=function(){},LS={},P5={},tE=null,eE={mark:W5,measure:W5};try{typeof window<"u"&&(LS=window),typeof document<"u"&&(P5=document),typeof MutationObserver<"u"&&(tE=MutationObserver),typeof performance<"u"&&(eE=performance)}catch{}var nz=LS.navigator||{},nE=nz.userAgent,aE=nE===void 0?"":nE,Ar=LS,dn=P5,lE=tE,j1=eE;Ar.document;var ls=!!dn.documentElement&&!!dn.head&&typeof dn.addEventListener=="function"&&typeof dn.createElement=="function",iE=~aE.indexOf("MSIE")||~aE.indexOf("Trident/"),YS,az=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,lz=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,oE={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},iz={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},uE=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],Ra="classic",i0="duotone",sE="sharp",rE="sharp-duotone",cE="chisel",fE="etch",dE="jelly",hE="jelly-duo",mE="jelly-fill",pE="notdog",yE="notdog-duo",gE="slab",vE="slab-press",bE="thumbprint",SE="utility",AE="utility-duo",TE="utility-fill",EE="whiteboard",oz="Classic",uz="Duotone",sz="Sharp",rz="Sharp Duotone",cz="Chisel",fz="Etch",dz="Jelly",hz="Jelly Duo",mz="Jelly Fill",pz="Notdog",yz="Notdog Duo",gz="Slab",vz="Slab Press",bz="Thumbprint",Sz="Utility",Az="Utility Duo",Tz="Utility Fill",Ez="Whiteboard",xE=[Ra,i0,sE,rE,cE,fE,dE,hE,mE,pE,yE,gE,vE,bE,SE,AE,TE,EE];YS={},de(de(de(de(de(de(de(de(de(de(YS,Ra,oz),i0,uz),sE,sz),rE,rz),cE,cz),fE,fz),dE,dz),hE,hz),mE,mz),pE,pz),de(de(de(de(de(de(de(de(YS,yE,yz),gE,gz),vE,vz),bE,bz),SE,Sz),AE,Az),TE,Tz),EE,Ez);var xz={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}},Dz={"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}},Mz=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),Cz={chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}},DE=["fak","fa-kit","fakd","fa-kit-duotone"],ME={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Oz=["kit"],zz="kit",Rz="kit-duotone",wz="Kit",Uz="Kit Duotone";de(de({},zz,wz),Rz,Uz);var _z={kit:{"fa-kit":"fak"}},Nz={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},jz={kit:{fak:"fa-kit"}},CE={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},qS,H1={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Hz=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],Bz="classic",Vz="duotone",Lz="sharp",Yz="sharp-duotone",qz="chisel",Gz="etch",Xz="jelly",Qz="jelly-duo",Zz="jelly-fill",kz="notdog",Jz="notdog-duo",Kz="slab",Fz="slab-press",$z="thumbprint",Iz="utility",Wz="utility-duo",Pz="utility-fill",tR="whiteboard",eR="Classic",nR="Duotone",aR="Sharp",lR="Sharp Duotone",iR="Chisel",oR="Etch",uR="Jelly",sR="Jelly Duo",rR="Jelly Fill",cR="Notdog",fR="Notdog Duo",dR="Slab",hR="Slab Press",mR="Thumbprint",pR="Utility",yR="Utility Duo",gR="Utility Fill",vR="Whiteboard";qS={},de(de(de(de(de(de(de(de(de(de(qS,Bz,eR),Vz,nR),Lz,aR),Yz,lR),qz,iR),Gz,oR),Xz,uR),Qz,sR),Zz,rR),kz,cR),de(de(de(de(de(de(de(de(qS,Jz,fR),Kz,dR),Fz,hR),$z,mR),Iz,pR),Wz,yR),Pz,gR),tR,vR);var bR="kit",SR="kit-duotone",AR="Kit",TR="Kit Duotone";de(de({},bR,AR),SR,TR);var ER={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}},xR={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]},GS={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},DR=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"],OE=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(Hz,DR),MR=["solid","regular","light","thin","duotone","brands","semibold"],zE=[1,2,3,4,5,6,7,8,9,10],CR=zE.concat([11,12,13,14,15,16,17,18,19,20]),OR=["aw","fw","pull-left","pull-right"],zR=[].concat(wo(Object.keys(xR)),MR,OR,["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",H1.GROUP,H1.SWAP_OPACITY,H1.PRIMARY,H1.SECONDARY]).concat(zE.map(function(i){return"".concat(i,"x")})).concat(CR.map(function(i){return"w-".concat(i)})),RR={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},is="___FONT_AWESOME___",XS=16,RE="fa",wE="svg-inline--fa",cf="data-fa-i2svg",QS="data-fa-pseudo-element",wR="data-fa-pseudo-element-pending",ZS="data-prefix",kS="data-icon",UE="fontawesome-i2svg",UR="async",_R=["HTML","HEAD","STYLE","SCRIPT"],_E=["::before","::after",":before",":after"],NE=(function(){try{return process.env.NODE_ENV==="production"}catch{return!1}})();function o0(i){return new Proxy(i,{get:function(d,f){return f in d?d[f]:d[Ra]}})}var jE=_t({},oE);jE[Ra]=_t(_t(_t(_t({},{"fa-duotone":"duotone"}),oE[Ra]),ME.kit),ME["kit-duotone"]);var NR=o0(jE),JS=_t({},Cz);JS[Ra]=_t(_t(_t(_t({},{duotone:"fad"}),JS[Ra]),CE.kit),CE["kit-duotone"]);var HE=o0(JS),KS=_t({},GS);KS[Ra]=_t(_t({},KS[Ra]),jz.kit);var FS=o0(KS),$S=_t({},ER);$S[Ra]=_t(_t({},$S[Ra]),_z.kit),o0($S);var jR=az,BE="fa-layers-text",HR=lz,BR=_t({},xz);o0(BR);var VR=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],IS=iz,LR=[].concat(wo(Oz),wo(zR)),u0=Ar.FontAwesomeConfig||{};function YR(i){var s=dn.querySelector("script["+i+"]");if(s)return s.getAttribute(i)}function qR(i){return i===""?!0:i==="false"?!1:i==="true"?!0:i}if(dn&&typeof dn.querySelector=="function"){var GR=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];GR.forEach(function(i){var s=_1(i,2),d=s[0],f=s[1],m=qR(YR(d));m!=null&&(u0[f]=m)})}var VE={styleDefault:"solid",familyDefault:Ra,cssPrefix:RE,replacementClass:wE,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};u0.familyPrefix&&(u0.cssPrefix=u0.familyPrefix);var hh=_t(_t({},VE),u0);hh.autoReplaceSvg||(hh.observeMutations=!1);var Qt={};Object.keys(VE).forEach(function(i){Object.defineProperty(Qt,i,{enumerable:!0,set:function(d){hh[i]=d,s0.forEach(function(f){return f(Qt)})},get:function(){return hh[i]}})}),Object.defineProperty(Qt,"familyPrefix",{enumerable:!0,set:function(s){hh.cssPrefix=s,s0.forEach(function(d){return d(Qt)})},get:function(){return hh.cssPrefix}}),Ar.FontAwesomeConfig=Qt;var s0=[];function XR(i){return s0.push(i),function(){s0.splice(s0.indexOf(i),1)}}var mh=XS,hu={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function QR(i){if(!(!i||!ls)){var s=dn.createElement("style");s.setAttribute("type","text/css"),s.innerHTML=i;for(var d=dn.head.childNodes,f=null,m=d.length-1;m>-1;m--){var p=d[m],g=(p.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(g)>-1&&(f=p)}return dn.head.insertBefore(s,f),i}}var ZR="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function LE(){for(var i=12,s="";i-- >0;)s+=ZR[Math.random()*62|0];return s}function ph(i){for(var s=[],d=(i||[]).length>>>0;d--;)s[d]=i[d];return s}function WS(i){return i.classList?ph(i.classList):(i.getAttribute("class")||"").split(" ").filter(function(s){return s})}function YE(i){return"".concat(i).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function kR(i){return Object.keys(i||{}).reduce(function(s,d){return s+"".concat(d,'="').concat(YE(i[d]),'" ')},"").trim()}function B1(i){return Object.keys(i||{}).reduce(function(s,d){return s+"".concat(d,": ").concat(i[d].trim(),";")},"")}function PS(i){return i.size!==hu.size||i.x!==hu.x||i.y!==hu.y||i.rotate!==hu.rotate||i.flipX||i.flipY}function JR(i){var s=i.transform,d=i.containerWidth,f=i.iconWidth,m={transform:"translate(".concat(d/2," 256)")},p="translate(".concat(s.x*32,", ").concat(s.y*32,") "),g="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),b="rotate(".concat(s.rotate," 0 0)"),x={transform:"".concat(p," ").concat(g," ").concat(b)},M={transform:"translate(".concat(f/2*-1," -256)")};return{outer:m,inner:x,path:M}}function KR(i){var s=i.transform,d=i.width,f=d===void 0?XS:d,m=i.height,p=m===void 0?XS:m,g="";return iE?g+="translate(".concat(s.x/mh-f/2,"em, ").concat(s.y/mh-p/2,"em) "):g+="translate(calc(-50% + ".concat(s.x/mh,"em), calc(-50% + ").concat(s.y/mh,"em)) "),g+="scale(".concat(s.size/mh*(s.flipX?-1:1),", ").concat(s.size/mh*(s.flipY?-1:1),") "),g+="rotate(".concat(s.rotate,"deg) "),g}var FR=`:root, :host {
14
+ `),()=>{A.contains(b)&&A.removeChild(b)}},[t]),k.jsx(yd,{isPresent:t,childRef:a,sizeRef:s,children:Sn.cloneElement(e,{ref:u})})}const bd=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:s,anchorX:o,root:u})=>{const d=cr(xd),l=z.useId();let c=!0,f=z.useMemo(()=>(c=!1,{id:l,initial:t,isPresent:n,custom:i,onExitComplete:h=>{d.set(h,!0);for(const m of d.values())if(!m)return;r&&r()},register:h=>(d.set(h,!1),()=>d.delete(h))}),[n,d,r]);return a&&c&&(f={...f}),z.useMemo(()=>{d.forEach((h,m)=>d.set(m,!1))},[n]),Sn.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),s==="popLayout"&&(e=k.jsx(vd,{isPresent:n,anchorX:o,root:u,children:e})),k.jsx(Pn.Provider,{value:f,children:e})};function xd(){return new Map}function ks(e=!0){const t=z.useContext(Pn);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,a=z.useId();z.useEffect(()=>{if(e)return i(a)},[e]);const s=z.useCallback(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,s]:[!0]}const Fn=e=>e.key||"";function Ms(e){const t=[];return z.Children.forEach(e,n=>{z.isValidElement(n)&&t.push(n)}),t}const wd=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a="sync",propagate:s=!1,anchorX:o="left",root:u})=>{const[d,l]=ks(s),c=z.useMemo(()=>Ms(e),[e]),f=s&&!d?[]:c.map(Fn),h=z.useRef(!0),m=z.useRef(c),b=cr(()=>new Map),[A,v]=z.useState(c),[I,T]=z.useState(c);ma(()=>{h.current=!1,m.current=c;for(let w=0;w<I.length;w++){const L=Fn(I[w]);f.includes(L)?b.delete(L):b.get(L)!==!0&&b.set(L,!1)}},[I,f.length,f.join("-")]);const C=[];if(c!==A){let w=[...c];for(let L=0;L<I.length;L++){const p=I[L],y=Fn(p);f.includes(y)||(w.splice(L,0,p),C.push(p))}return a==="wait"&&C.length&&(w=C),T(Ms(w)),v(c),null}process.env.NODE_ENV!=="production"&&a==="wait"&&I.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:P}=z.useContext(ur);return k.jsx(k.Fragment,{children:I.map(w=>{const L=Fn(w),p=s&&!d?!1:c===I||f.includes(L),y=()=>{if(b.has(L))b.set(L,!0);else return;let S=!0;b.forEach(D=>{D||(S=!1)}),S&&(P?.(),T(m.current),s&&l?.(),r&&r())};return k.jsx(bd,{isPresent:p,initial:!h.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:u,onExitComplete:p?void 0:y,anchorX:o,children:w},L)})})},Ds=z.createContext({strict:!1}),Is={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Nt={};for(const e in Is)Nt[e]={isEnabled:t=>Is[e].some(n=>!!t[n])};function Ad(e){for(const t in e)Nt[t]={...Nt[t],...e[t]}}const Sd=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Nn(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Sd.has(e)}let js=e=>!Nn(e);function Td(e){typeof e=="function"&&(js=t=>t.startsWith("on")?!Nn(t):e(t))}try{Td(require("@emotion/is-prop-valid").default)}catch{}function Pd(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(js(i)||n===!0&&Nn(i)||!t&&!Nn(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const On=z.createContext({});function Ln(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function an(e){return typeof e=="string"||Array.isArray(e)}const Jr=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ei=["initial",...Jr];function Rn(e){return Ln(e.animate)||ei.some(t=>an(e[t]))}function Fs(e){return!!(Rn(e)||e.variants)}function Ed(e,t){if(Rn(e)){const{initial:n,animate:r}=e;return{initial:n===!1||an(n)?n:void 0,animate:an(r)?r:void 0}}return e.inherit!==!1?t:{}}function Cd(e){const{initial:t,animate:n}=Ed(e,z.useContext(On));return z.useMemo(()=>({initial:t,animate:n}),[Ns(t),Ns(n)])}function Ns(e){return Array.isArray(e)?e.join(" "):e}function Os(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const sn={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(X.test(e))e=parseFloat(e);else return e;const n=Os(e,t.target.x),r=Os(e,t.target.y);return`${n}% ${r}%`}},kd={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=it.parse(e);if(i.length>5)return r;const a=it.createTransformer(e),s=typeof i[0]!="number"?1:0,o=n.x.scale*t.x,u=n.y.scale*t.y;i[0+s]/=o,i[1+s]/=u;const d=ae(o,u,.5);return typeof i[2+s]=="number"&&(i[2+s]/=d),typeof i[3+s]=="number"&&(i[3+s]/=d),a(i)}},ti={borderRadius:{...sn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:sn,borderTopRightRadius:sn,borderBottomLeftRadius:sn,borderBottomRightRadius:sn,boxShadow:kd};function Ls(e,{layout:t,layoutId:n}){return jt.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ti[e]||e==="opacity")}const Md={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Dd=It.length;function Id(e,t,n){let r="",i=!0;for(let a=0;a<Dd;a++){const s=It[a],o=e[s];if(o===void 0)continue;let u=!0;if(typeof o=="number"?u=o===(s.startsWith("scale")?1:0):u=parseFloat(o)===0,!u||n){const d=ys(o,Kr[s]);if(!u){i=!1;const l=Md[s]||s;r+=`${l}(${d}) `}n&&(t[s]=d)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function ni(e,t,n){const{style:r,vars:i,transformOrigin:a}=e;let s=!1,o=!1;for(const u in t){const d=t[u];if(jt.has(u)){s=!0;continue}else if(Na(u)){i[u]=d;continue}else{const l=ys(d,Kr[u]);u.startsWith("origin")?(o=!0,a[u]=l):r[u]=l}}if(t.transform||(s||n?r.transform=Id(t,e.transform,n):r.transform&&(r.transform="none")),o){const{originX:u="50%",originY:d="50%",originZ:l=0}=a;r.transformOrigin=`${u} ${d} ${l}`}}const ri=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Rs(e,t,n){for(const r in t)!ye(t[r])&&!Ls(r,n)&&(e[r]=t[r])}function jd({transformTemplate:e},t){return z.useMemo(()=>{const n=ri();return ni(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Fd(e,t){const n=e.style||{},r={};return Rs(r,n,e),Object.assign(r,jd(e,t)),r}function Nd(e,t){const n={},r=Fd(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Od={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ld={offset:"strokeDashoffset",array:"strokeDasharray"};function Rd(e,t,n=1,r=0,i=!0){e.pathLength=1;const a=i?Od:Ld;e[a.offset]=X.transform(-r);const s=X.transform(t),o=X.transform(n);e[a.array]=`${s} ${o}`}function Vs(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:s=0,...o},u,d,l){if(ni(e,o,d),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:c,style:f}=e;c.transform&&(f.transform=c.transform,delete c.transform),(f.transform||c.transformOrigin)&&(f.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),f.transform&&(f.transformBox=l?.transformBox??"fill-box",delete c.transformBox),t!==void 0&&(c.x=t),n!==void 0&&(c.y=n),r!==void 0&&(c.scale=r),i!==void 0&&Rd(c,i,a,s,!1)}const _s=()=>({...ri(),attrs:{}}),Us=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Vd(e,t,n,r){const i=z.useMemo(()=>{const a=_s();return Vs(a,t,Us(r),e.transformTemplate,e.style),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};Rs(a,e.style,e),i.style={...a,...i.style}}return i}const _d=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ii(e){return typeof e!="string"||e.includes("-")?!1:!!(_d.indexOf(e)>-1||/[A-Z]/u.test(e))}function Ud(e,t,n,{latestValues:r},i,a=!1){const o=(ii(e)?Vd:Nd)(t,r,i,e),u=Pd(t,typeof e=="string",a),d=e!==z.Fragment?{...u,...o,ref:n}:{},{children:l}=t,c=z.useMemo(()=>ye(l)?l.get():l,[l]);return z.createElement(e,{...d,children:c})}function $s(e){const t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function ai(e,t,n,r){if(typeof t=="function"){const[i,a]=$s(r);t=t(n!==void 0?n:e.custom,i,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,a]=$s(r);t=t(n!==void 0?n:e.custom,i,a)}return t}function Vn(e){return ye(e)?e.get():e}function $d({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:zd(n,r,i,e),renderState:t()}}function zd(e,t,n,r){const i={},a=r(e,{});for(const f in a)i[f]=Vn(a[f]);let{initial:s,animate:o}=e;const u=Rn(e),d=Fs(e);t&&d&&!u&&e.inherit!==!1&&(s===void 0&&(s=t.initial),o===void 0&&(o=t.animate));let l=n?n.initial===!1:!1;l=l||s===!1;const c=l?o:s;if(c&&typeof c!="boolean"&&!Ln(c)){const f=Array.isArray(c)?c:[c];for(let h=0;h<f.length;h++){const m=ai(e,f[h]);if(m){const{transitionEnd:b,transition:A,...v}=m;for(const I in v){let T=v[I];if(Array.isArray(T)){const C=l?T.length-1:0;T=T[C]}T!==null&&(i[I]=T)}for(const I in b)i[I]=b[I]}}}return i}const zs=e=>(t,n)=>{const r=z.useContext(On),i=z.useContext(Pn),a=()=>$d(e,t,r,i);return n?a():cr(a)};function si(e,t,n){const{style:r}=e,i={};for(const a in r)(ye(r[a])||t.style&&ye(t.style[a])||Ls(a,e)||n?.getValue(a)?.liveStyle!==void 0)&&(i[a]=r[a]);return i}const Bd=zs({scrapeMotionValuesFromProps:si,createRenderState:ri});function Bs(e,t,n){const r=si(e,t,n);for(const i in e)if(ye(e[i])||ye(t[i])){const a=It.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[a]=e[i]}return r}const Wd=zs({scrapeMotionValuesFromProps:Bs,createRenderState:_s}),Hd=Symbol.for("motionComponentSymbol");function Ot(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Yd(e,t,n){return z.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Ot(n)&&(n.current=r))},[t])}const oi=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Ws="data-"+oi("framerAppearId"),Hs=z.createContext({});function Gd(e,t,n,r,i){const{visualElement:a}=z.useContext(On),s=z.useContext(Ds),o=z.useContext(Pn),u=z.useContext(Zr).reducedMotion,d=z.useRef(null);r=r||s.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:a,props:n,presenceContext:o,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:u}));const l=d.current,c=z.useContext(Hs);l&&!l.projection&&i&&(l.type==="html"||l.type==="svg")&&Kd(d.current,n,i,c);const f=z.useRef(!1);z.useInsertionEffect(()=>{l&&f.current&&l.update(n,o)});const h=n[Ws],m=z.useRef(!!h&&!window.MotionHandoffIsComplete?.(h)&&window.MotionHasOptimisedAnimation?.(h));return ma(()=>{l&&(f.current=!0,window.MotionIsMounted=!0,l.updateFeatures(),l.scheduleRenderMicrotask(),m.current&&l.animationState&&l.animationState.animateChanges())}),z.useEffect(()=>{l&&(!m.current&&l.animationState&&l.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(h)}),m.current=!1),l.enteringChildren=void 0)}),l}function Kd(e,t,n,r){const{layoutId:i,layout:a,drag:s,dragConstraints:o,layoutScroll:u,layoutRoot:d,layoutCrossfade:l}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Ys(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!s||o&&Ot(o),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:r,crossfade:l,layoutScroll:u,layoutRoot:d})}function Ys(e){if(e)return e.options.allowProjection!==!1?e.projection:Ys(e.parent)}function li(e,{forwardMotionProps:t=!1}={},n,r){n&&Ad(n);const i=ii(e)?Wd:Bd;function a(o,u){let d;const l={...z.useContext(Zr),...o,layoutId:Xd(o)},{isStatic:c}=l,f=Cd(o),h=i(o,c);if(!c&&fr){qd(l,n);const m=Qd(l);d=m.MeasureLayout,f.visualElement=Gd(e,h,l,r,m.ProjectionNode)}return k.jsxs(On.Provider,{value:f,children:[d&&f.visualElement?k.jsx(d,{visualElement:f.visualElement,...l}):null,Ud(e,o,Yd(h,f.visualElement,u),h,c,t)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const s=z.forwardRef(a);return s[Hd]=e,s}function Xd({layoutId:e}){const t=z.useContext(ur).id;return t&&e!==void 0?t+"-"+e:e}function qd(e,t){const n=z.useContext(Ds).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Ct(!1,r,"lazy-strict-mode"):Ke(!1,r,"lazy-strict-mode")}}function Qd(e){const{drag:t,layout:n}=Nt;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function Zd(e,t){if(typeof Proxy>"u")return li;const n=new Map,r=(a,s)=>li(a,s,e,t),i=(a,s)=>(process.env.NODE_ENV!=="production"&&yr(!1,"motion() is deprecated. Use motion.create() instead."),r(a,s));return new Proxy(i,{get:(a,s)=>s==="create"?r:(n.has(s)||n.set(s,li(s,void 0,e,t)),n.get(s))})}function Gs({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Jd({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function eh(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function ui(e){return e===void 0||e===1}function ci({scale:e,scaleX:t,scaleY:n}){return!ui(e)||!ui(t)||!ui(n)}function gt(e){return ci(e)||Ks(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ks(e){return Xs(e.x)||Xs(e.y)}function Xs(e){return e&&e!=="0%"}function _n(e,t,n){const r=e-n,i=t*r;return n+i}function qs(e,t,n,r,i){return i!==void 0&&(e=_n(e,i,r)),_n(e,n,r)+t}function fi(e,t=0,n=1,r,i){e.min=qs(e.min,t,n,r,i),e.max=qs(e.max,t,n,r,i)}function Qs(e,{x:t,y:n}){fi(e.x,t.translate,t.scale,t.originPoint),fi(e.y,n.translate,n.scale,n.originPoint)}const Zs=.999999999999,Js=1.0000000000001;function th(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let a,s;for(let o=0;o<i;o++){a=n[o],s=a.projectionDelta;const{visualElement:u}=a.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Rt(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Qs(e,s)),r&&gt(a.latestValues)&&Rt(e,a.latestValues))}t.x<Js&&t.x>Zs&&(t.x=1),t.y<Js&&t.y>Zs&&(t.y=1)}function Lt(e,t){e.min=e.min+t,e.max=e.max+t}function eo(e,t,n,r,i=.5){const a=ae(e.min,e.max,i);fi(e,t,n,a,r)}function Rt(e,t){eo(e.x,t.x,t.scaleX,t.scale,t.originX),eo(e.y,t.y,t.scaleY,t.scale,t.originY)}function to(e,t){return Gs(eh(e.getBoundingClientRect(),t))}function nh(e,t,n){const r=to(e,n),{scroll:i}=t;return i&&(Lt(r.x,i.offset.x),Lt(r.y,i.offset.y)),r}const no=()=>({translate:0,scale:1,origin:0,originPoint:0}),Vt=()=>({x:no(),y:no()}),ro=()=>({min:0,max:0}),de=()=>({x:ro(),y:ro()}),di={current:null},io={current:!1};function rh(){if(io.current=!0,!!fr)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>di.current=e.matches;e.addEventListener("change",t),t()}else di.current=!1}const ih=new WeakMap;function ah(e,t,n){for(const r in t){const i=t[r],a=n[r];if(ye(i))e.addValue(r,i);else if(ye(a))e.addValue(r,Ft(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(r);e.addValue(r,Ft(s!==void 0?s:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const ao=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class sh{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:a,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Wr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=Te.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,re.render(this.render,!1,!0))};const{latestValues:u,renderState:d}=s;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=o,this.blockInitialAnimation=!!a,this.isControllingVariants=Rn(n),this.isVariantNode=Fs(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in c){const h=c[f];u[f]!==void 0&&ye(h)&&h.set(u[f])}}mount(t){this.current=t,ih.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),io.current||rh(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:di.current,process.env.NODE_ENV!=="production"&&yr(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),nt(this.notifyUpdate),nt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=jt.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&re.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),a&&a(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Nt){const n=Nt[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):de()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<ao.length;r++){const i=ao[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a="on"+i,s=t[a];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=ah(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ft(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(pa(r)||ya(r))?r=parseFloat(r):!md(r)&&it.test(n)&&(r=gs(t,n)),this.setBaseTarget(t,ye(r)?r.get():r)),ye(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const a=ai(this.props,n,this.presenceContext?.custom);a&&(r=a[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!ye(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new gr),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Xr.render(this.render)}}class so extends sh{constructor(){super(...arguments),this.KeyframeResolver=nd}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ye(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function oo(e,{style:t,vars:n},r,i){const a=e.style;let s;for(s in t)a[s]=t[s];i?.applyProjectionStyles(a,r);for(s in n)a.setProperty(s,n[s])}function oh(e){return window.getComputedStyle(e)}class lh extends so{constructor(){super(...arguments),this.type="html",this.renderInstance=oo}readValueFromInstance(t,n){if(jt.has(n))return this.projection?.isProjecting?_r(n):wf(t,n);{const r=oh(t),i=(Na(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return to(t,n)}build(t,n,r){ni(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return si(t,n,r)}}const lo=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function uh(e,t,n,r){oo(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(lo.has(i)?i:oi(i),t.attrs[i])}class ch extends so{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=de}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(jt.has(n)){const r=ps(n);return r&&r.default||0}return n=lo.has(n)?n:oi(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Bs(t,n,r)}build(t,n,r){Vs(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){uh(t,n,r,i)}mount(t){this.isSVGTag=Us(t.tagName),super.mount(t)}}const fh=(e,t)=>ii(e)?new ch(t):new lh(t,{allowProjection:e!==z.Fragment});function _t(e,t,n){const r=e.getProps();return ai(r,t,n!==void 0?n:r.custom,e)}const hi=e=>Array.isArray(e);function dh(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ft(n))}function hh(e){return hi(e)?e[e.length-1]||0:e}function mh(e,t){const n=_t(e,t);let{transitionEnd:r={},transition:i={},...a}=n||{};a={...a,...r};for(const s in a){const o=hh(a[s]);dh(e,s,o)}}function ph(e){return!!(ye(e)&&e.add)}function mi(e,t){const n=e.getValue("willChange");if(ph(n))return n.add(t);if(!n&&Xe.WillChange){const r=new Xe.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function uo(e){return e.props[Ws]}const gh=e=>e!==null;function yh(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(gh),a=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[a]}const vh={type:"spring",stiffness:500,damping:25,restSpeed:10},bh=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),xh={type:"keyframes",duration:.8},wh={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Ah=(e,{keyframes:t})=>t.length>2?xh:jt.has(e)?e.startsWith("scale")?bh(t[1]):vh:wh;function Sh({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:s,repeatDelay:o,from:u,elapsed:d,...l}){return!!Object.keys(l).length}const pi=(e,t,n,r={},i,a)=>s=>{const o=Yr(r,e)||{},u=o.delay||r.delay||0;let{elapsed:d=0}=r;d=d-Oe(u);const l={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-d,onUpdate:f=>{t.set(f),o.onUpdate&&o.onUpdate(f)},onComplete:()=>{s(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:a?void 0:i};Sh(o)||Object.assign(l,Ah(e,l)),l.duration&&(l.duration=Oe(l.duration)),l.repeatDelay&&(l.repeatDelay=Oe(l.repeatDelay)),l.from!==void 0&&(l.keyframes[0]=l.from);let c=!1;if((l.type===!1||l.duration===0&&!l.repeatDelay)&&(Hr(l),l.delay===0&&(c=!0)),(Xe.instantAnimations||Xe.skipAnimations)&&(c=!0,Hr(l),l.delay=0),l.allowFlatten=!o.type&&!o.ease,c&&!a&&t.get()!==void 0){const f=yh(l.keyframes,o);if(f!==void 0){re.update(()=>{l.onUpdate(f),l.onComplete()});return}}return o.isSync?new Lr(l):new Wf(l)};function Th({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function co(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:s,...o}=t;r&&(a=r);const u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const l in o){const c=e.getValue(l,e.latestValues[l]??null),f=o[l];if(f===void 0||d&&Th(d,l))continue;const h={delay:n,...Yr(a||{},l)},m=c.get();if(m!==void 0&&!c.isAnimating&&!Array.isArray(f)&&f===m&&!h.velocity)continue;let b=!1;if(window.MotionHandoffAnimation){const v=uo(e);if(v){const I=window.MotionHandoffAnimation(v,l,re);I!==null&&(h.startTime=I,b=!0)}}mi(e,l),c.start(pi(l,c,f,e.shouldReduceMotion&&cs.has(l)?{type:!1}:h,e,b));const A=c.animation;A&&u.push(A)}return s&&Promise.all(u).then(()=>{re.update(()=>{s&&mh(e,s)})}),u}function fo(e,t,n,r=0,i=1){const a=Array.from(e).sort((d,l)=>d.sortNodePosition(l)).indexOf(t),s=e.size,o=(s-1)*r;return typeof n=="function"?n(a,s):i===1?a*r:o-a*r}function gi(e,t,n={}){const r=_t(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const a=r?()=>Promise.all(co(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:l,staggerDirection:c}=i;return Ph(e,t,u,d,l,c,n)}:()=>Promise.resolve(),{when:o}=i;if(o){const[u,d]=o==="beforeChildren"?[a,s]:[s,a];return u().then(()=>d())}else return Promise.all([a(),s(n.delay)])}function Ph(e,t,n=0,r=0,i=0,a=1,s){const o=[];for(const u of e.variantChildren)u.notify("AnimationStart",t),o.push(gi(u,t,{...s,delay:n+(typeof r=="function"?0:r)+fo(e.variantChildren,u,r,i,a)}).then(()=>u.notify("AnimationComplete",t)));return Promise.all(o)}function Eh(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(a=>gi(e,a,n));r=Promise.all(i)}else if(typeof t=="string")r=gi(e,t,n);else{const i=typeof t=="function"?_t(e,t,n.custom):t;r=Promise.all(co(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function ho(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const Ch=ei.length;function mo(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?mo(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Ch;n++){const r=ei[n],i=e.props[r];(an(i)||i===!1)&&(t[r]=i)}return t}const kh=[...Jr].reverse(),Mh=Jr.length;function Dh(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Eh(e,n,r)))}function Ih(e){let t=Dh(e),n=po(),r=!0;const i=u=>(d,l)=>{const c=_t(e,l,u==="exit"?e.presenceContext?.custom:void 0);if(c){const{transition:f,transitionEnd:h,...m}=c;d={...d,...m,...h}}return d};function a(u){t=u(e)}function s(u){const{props:d}=e,l=mo(e.parent)||{},c=[],f=new Set;let h={},m=1/0;for(let A=0;A<Mh;A++){const v=kh[A],I=n[v],T=d[v]!==void 0?d[v]:l[v],C=an(T),P=v===u?I.isActive:null;P===!1&&(m=A);let w=T===l[v]&&T!==d[v]&&C;if(w&&r&&e.manuallyAnimateOnMount&&(w=!1),I.protectedKeys={...h},!I.isActive&&P===null||!T&&!I.prevProp||Ln(T)||typeof T=="boolean")continue;const L=jh(I.prevProp,T);let p=L||v===u&&I.isActive&&!w&&C||A>m&&C,y=!1;const S=Array.isArray(T)?T:[T];let D=S.reduce(i(v),{});P===!1&&(D={});const{prevResolvedValues:j={}}=I,F={...j,...D},E=g=>{p=!0,f.has(g)&&(y=!0,f.delete(g)),I.needsAnimating[g]=!0;const V=e.getValue(g);V&&(V.liveStyle=!1)};for(const g in F){const V=D[g],O=j[g];if(h.hasOwnProperty(g))continue;let U=!1;hi(V)&&hi(O)?U=!ho(V,O):U=V!==O,U?V!=null?E(g):f.add(g):V!==void 0&&f.has(g)?E(g):I.protectedKeys[g]=!0}I.prevProp=T,I.prevResolvedValues=D,I.isActive&&(h={...h,...D}),r&&e.blockInitialAnimation&&(p=!1);const R=w&&L;p&&(!R||y)&&c.push(...S.map(g=>{const V={type:v};if(typeof g=="string"&&r&&!R&&e.manuallyAnimateOnMount&&e.parent){const{parent:O}=e,U=_t(O,g);if(O.enteringChildren&&U){const{delayChildren:N}=U.transition||{};V.delay=fo(O.enteringChildren,e,N)}}return{animation:g,options:V}}))}if(f.size){const A={};if(typeof d.initial!="boolean"){const v=_t(e,Array.isArray(d.initial)?d.initial[0]:d.initial);v&&v.transition&&(A.transition=v.transition)}f.forEach(v=>{const I=e.getBaseTarget(v),T=e.getValue(v);T&&(T.liveStyle=!0),A[v]=I??null}),c.push({animation:A})}let b=!!c.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,b?t(c):Promise.resolve()}function o(u,d){if(n[u].isActive===d)return Promise.resolve();e.variantChildren?.forEach(c=>c.animationState?.setActive(u,d)),n[u].isActive=d;const l=s(u);for(const c in n)n[c].protectedKeys={};return l}return{animateChanges:s,setActive:o,setAnimateFunction:a,getState:()=>n,reset:()=>{n=po()}}}function jh(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!ho(t,e):!1}function yt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function po(){return{animate:yt(!0),whileInView:yt(),whileHover:yt(),whileTap:yt(),whileDrag:yt(),whileFocus:yt(),exit:yt()}}class at{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Fh extends at{constructor(t){super(t),t.animationState||(t.animationState=Ih(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ln(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Nh=0;class Oh extends at{constructor(){super(...arguments),this.id=Nh++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const Lh={animation:{Feature:Fh},exit:{Feature:Oh}};function on(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function ln(e){return{point:{x:e.pageX,y:e.pageY}}}const Rh=e=>t=>qr(t)&&e(t,ln(t));function un(e,t,n,r){return on(e,t,Rh(n),r)}const go=1e-4,Vh=1-go,_h=1+go,yo=.01,Uh=0-yo,$h=0+yo;function we(e){return e.max-e.min}function zh(e,t,n){return Math.abs(e-t)<=n}function vo(e,t,n,r=.5){e.origin=r,e.originPoint=ae(t.min,t.max,e.origin),e.scale=we(n)/we(t),e.translate=ae(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Vh&&e.scale<=_h||isNaN(e.scale))&&(e.scale=1),(e.translate>=Uh&&e.translate<=$h||isNaN(e.translate))&&(e.translate=0)}function cn(e,t,n,r){vo(e.x,t.x,n.x,r?r.originX:void 0),vo(e.y,t.y,n.y,r?r.originY:void 0)}function bo(e,t,n){e.min=n.min+t.min,e.max=e.min+we(t)}function Bh(e,t,n){bo(e.x,t.x,n.x),bo(e.y,t.y,n.y)}function xo(e,t,n){e.min=t.min-n.min,e.max=e.min+we(t)}function Un(e,t,n){xo(e.x,t.x,n.x),xo(e.y,t.y,n.y)}function je(e){return[e("x"),e("y")]}const wo=({current:e})=>e?e.ownerDocument.defaultView:null,Ao=(e,t)=>Math.abs(e-t);function Wh(e,t){const n=Ao(e.x,t.x),r=Ao(e.y,t.y);return Math.sqrt(n**2+r**2)}class So{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:a=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=vi(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,m=Wh(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!h&&!m)return;const{point:b}=f,{timestamp:A}=me;this.history.push({...b,timestamp:A});const{onStart:v,onMove:I}=this.handlers;h||(v&&v(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),I&&I(this.lastMoveEvent,f)},this.handlePointerMove=(f,h)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=yi(h,this.transformPagePoint),re.update(this.updatePoint,!0)},this.handlePointerUp=(f,h)=>{this.end();const{onEnd:m,onSessionEnd:b,resumeAnimation:A}=this.handlers;if(this.dragSnapToOrigin&&A&&A(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=vi(f.type==="pointercancel"?this.lastMoveEventInfo:yi(h,this.transformPagePoint),this.history);this.startEvent&&m&&m(f,v),b&&b(f,v)},!qr(t))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=i||window;const o=ln(t),u=yi(o,this.transformPagePoint),{point:d}=u,{timestamp:l}=me;this.history=[{...d,timestamp:l}];const{onSessionStart:c}=n;c&&c(t,vi(u,this.history)),this.removeListeners=qt(un(this.contextWindow,"pointermove",this.handlePointerMove),un(this.contextWindow,"pointerup",this.handlePointerUp),un(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),nt(this.updatePoint)}}function yi(e,t){return t?{point:t(e.point)}:e}function To(e,t){return{x:e.x-t.x,y:e.y-t.y}}function vi({point:e},t){return{point:e,delta:To(e,Po(t)),offset:To(e,Hh(t)),velocity:Yh(t,.1)}}function Hh(e){return e[0]}function Po(e){return e[e.length-1]}function Yh(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Po(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Oe(t)));)n--;if(!r)return{x:0,y:0};const a=Ie(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const s={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Gh(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ae(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ae(n,e,r.max):Math.min(e,n)),e}function Eo(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Kh(e,{top:t,left:n,bottom:r,right:i}){return{x:Eo(e.x,n,i),y:Eo(e.y,t,r)}}function Co(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Xh(e,t){return{x:Co(e.x,t.x),y:Co(e.y,t.y)}}function qh(e,t){let n=.5;const r=we(e),i=we(t);return i>r?n=Qt(t.min,t.max-r,e.min):r>i&&(n=Qt(e.min,e.max-i,t.min)),Ge(0,1,n)}function Qh(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const bi=.35;function Zh(e=bi){return e===!1?e=0:e===!0&&(e=bi),{x:ko(e,"left","right"),y:ko(e,"top","bottom")}}function ko(e,t,n){return{min:Mo(e,t),max:Mo(e,n)}}function Mo(e,t){return typeof e=="number"?e:e[t]||0}const Jh=new WeakMap;class em{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=de(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const a=c=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(ln(c).point)},s=(c,f)=>{const{drag:h,dragPropagation:m,onDragStart:b}=this.getProps();if(h&&!m&&(this.openDragLock&&this.openDragLock(),this.openDragLock=sd(h),!this.openDragLock))return;this.latestPointerEvent=c,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),je(v=>{let I=this.getAxisMotionValue(v).get()||0;if(ze.test(I)){const{projection:T}=this.visualElement;if(T&&T.layout){const C=T.layout.layoutBox[v];C&&(I=we(C)*(parseFloat(I)/100))}}this.originPoint[v]=I}),b&&re.postRender(()=>b(c,f)),mi(this.visualElement,"transform");const{animationState:A}=this.visualElement;A&&A.setActive("whileDrag",!0)},o=(c,f)=>{this.latestPointerEvent=c,this.latestPanInfo=f;const{dragPropagation:h,dragDirectionLock:m,onDirectionLock:b,onDrag:A}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:v}=f;if(m&&this.currentDirection===null){this.currentDirection=tm(v),this.currentDirection!==null&&b&&b(this.currentDirection);return}this.updateAxis("x",f.point,v),this.updateAxis("y",f.point,v),this.visualElement.render(),A&&A(c,f)},u=(c,f)=>{this.latestPointerEvent=c,this.latestPanInfo=f,this.stop(c,f),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>je(c=>this.getAnimationState(c)==="paused"&&this.getAxisMotionValue(c).animation?.play()),{dragSnapToOrigin:l}=this.getProps();this.panSession=new So(t,{onSessionStart:a,onStart:s,onMove:o,onSessionEnd:u,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:r,contextWindow:wo(this.visualElement)})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,a=this.isDragging;if(this.cancel(),!a||!i||!r)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:o}=this.getProps();o&&re.postRender(()=>o(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!$n(t,i,this.currentDirection))return;const a=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=Gh(s,this.constraints[t],this.elastic[t])),a.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&Ot(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=Kh(r.layoutBox,t):this.constraints=!1,this.elastic=Zh(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&je(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=Qh(r.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Ot(t))return!1;const r=t.current;Ke(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=nh(r,i.root,this.visualElement.getTransformPagePoint());let s=Xh(i.layout.layoutBox,a);if(n){const o=n(Jd(s));this.hasMutatedConstraints=!!o,o&&(s=Gs(o))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),u=this.constraints||{},d=je(l=>{if(!$n(l,n,this.currentDirection))return;let c=u&&u[l]||{};s&&(c={min:0,max:0});const f=i?200:1e6,h=i?40:1e7,m={type:"inertia",velocity:r?t[l]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...a,...c};return this.startAxisValueAnimation(l,m)});return Promise.all(d).then(o)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return mi(this.visualElement,t),r.start(pi(t,r,0,n,this.visualElement,!1))}stopAnimation(){je(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){je(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){je(n=>{const{drag:r}=this.getProps();if(!$n(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:o}=i.layout.layoutBox[n];a.set(t[n]-ae(s,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Ot(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};je(s=>{const o=this.getAxisMotionValue(s);if(o&&this.constraints!==!1){const u=o.get();i[s]=qh({min:u,max:u},this.constraints[s])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),je(s=>{if(!$n(s,t,null))return;const o=this.getAxisMotionValue(s),{min:u,max:d}=this.constraints[s];o.set(ae(u,d,i[s]))})}addListeners(){if(!this.visualElement.current)return;Jh.set(this.visualElement,this);const t=this.visualElement.current,n=un(t,"pointerdown",u=>{const{drag:d,dragListener:l=!0}=this.getProps();d&&l&&this.start(u)}),r=()=>{const{dragConstraints:u}=this.getProps();Ot(u)&&u.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),re.read(r);const s=on(window,"resize",()=>this.scalePositionWithinConstraints()),o=i.addEventListener("didUpdate",(({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(je(l=>{const c=this.getAxisMotionValue(l);c&&(this.originPoint[l]+=u[l].translate,c.set(c.get()+u[l].translate))}),this.visualElement.render())}));return()=>{s(),n(),a(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:s=bi,dragMomentum:o=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:s,dragMomentum:o}}}function $n(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function tm(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class nm extends at{constructor(t){super(t),this.removeGroupControls=De,this.removeListeners=De,this.controls=new em(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||De}unmount(){this.removeGroupControls(),this.removeListeners()}}const Do=e=>(t,n)=>{e&&re.postRender(()=>e(t,n))};class rm extends at{constructor(){super(...arguments),this.removePointerDownListener=De}onPointerDown(t){this.session=new So(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:wo(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Do(t),onStart:Do(n),onMove:r,onEnd:(a,s)=>{delete this.session,i&&re.postRender(()=>i(a,s))}}}mount(){this.removePointerDownListener=un(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const zn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let xi=!1;class im extends z.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=t;a&&(n.group&&n.group.add(a),r&&r.register&&i&&r.register(a),xi&&a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),zn.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,{projection:s}=r;return s&&(s.isPresent=a,xi=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==a?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||re.postRender(()=>{const o=s.getStack();(!o||!o.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Xr.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;xi=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Io(e){const[t,n]=ks(),r=z.useContext(ur);return k.jsx(im,{...e,layoutGroup:r,switchLayoutGroup:z.useContext(Hs),isPresent:t,safeToRemove:n})}function am(e,t,n){const r=ye(e)?e:Ft(e);return r.start(pi("",r,t,n)),r.animation}const sm=(e,t)=>e.depth-t.depth;class om{constructor(){this.children=[],this.isDirty=!1}add(t){dr(this.children,t),this.isDirty=!0}remove(t){hr(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(sm),this.isDirty=!1,this.children.forEach(t)}}function lm(e,t){const n=Te.now(),r=({timestamp:i})=>{const a=i-n;a>=t&&(nt(r),e(a-t))};return re.setup(r,!0),()=>nt(r)}const jo=["TopLeft","TopRight","BottomLeft","BottomRight"],um=jo.length,Fo=e=>typeof e=="string"?parseFloat(e):e,No=e=>typeof e=="number"||X.test(e);function cm(e,t,n,r,i,a){i?(e.opacity=ae(0,n.opacity??1,fm(r)),e.opacityExit=ae(t.opacity??1,0,dm(r))):a&&(e.opacity=ae(t.opacity??1,n.opacity??1,r));for(let s=0;s<um;s++){const o=`border${jo[s]}Radius`;let u=Oo(t,o),d=Oo(n,o);if(u===void 0&&d===void 0)continue;u||(u=0),d||(d=0),u===0||d===0||No(u)===No(d)?(e[o]=Math.max(ae(Fo(u),Fo(d),r),0),(ze.test(d)||ze.test(u))&&(e[o]+="%")):e[o]=d}(t.rotate||n.rotate)&&(e.rotate=ae(t.rotate||0,n.rotate||0,r))}function Oo(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const fm=Lo(0,.5,Ea),dm=Lo(.5,.95,De);function Lo(e,t,n){return r=>r<e?0:r>t?1:n(Qt(e,t,r))}function Ro(e,t){e.min=t.min,e.max=t.max}function Re(e,t){Ro(e.x,t.x),Ro(e.y,t.y)}function Vo(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function _o(e,t,n,r,i){return e-=t,e=_n(e,1/n,r),i!==void 0&&(e=_n(e,1/i,r)),e}function hm(e,t=0,n=1,r=.5,i,a=e,s=e){if(ze.test(t)&&(t=parseFloat(t),t=ae(s.min,s.max,t/100)-s.min),typeof t!="number")return;let o=ae(a.min,a.max,r);e===a&&(o-=t),e.min=_o(e.min,t,n,o,i),e.max=_o(e.max,t,n,o,i)}function Uo(e,t,[n,r,i],a,s){hm(e,t[n],t[r],t[i],t.scale,a,s)}const mm=["x","scaleX","originX"],pm=["y","scaleY","originY"];function $o(e,t,n,r){Uo(e.x,t,mm,n?n.x:void 0,r?r.x:void 0),Uo(e.y,t,pm,n?n.y:void 0,r?r.y:void 0)}function zo(e){return e.translate===0&&e.scale===1}function Bo(e){return zo(e.x)&&zo(e.y)}function Wo(e,t){return e.min===t.min&&e.max===t.max}function gm(e,t){return Wo(e.x,t.x)&&Wo(e.y,t.y)}function Ho(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Yo(e,t){return Ho(e.x,t.x)&&Ho(e.y,t.y)}function Go(e){return we(e.x)/we(e.y)}function Ko(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class ym{constructor(){this.members=[]}add(t){dr(this.members,t),t.scheduleRender()}remove(t){if(hr(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const a=this.members[i];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function vm(e,t,n){let r="";const i=e.x.translate/t.x,a=e.y.translate/t.y,s=n?.z||0;if((i||a||s)&&(r=`translate3d(${i}px, ${a}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:d,rotate:l,rotateX:c,rotateY:f,skewX:h,skewY:m}=n;d&&(r=`perspective(${d}px) ${r}`),l&&(r+=`rotate(${l}deg) `),c&&(r+=`rotateX(${c}deg) `),f&&(r+=`rotateY(${f}deg) `),h&&(r+=`skewX(${h}deg) `),m&&(r+=`skewY(${m}deg) `)}const o=e.x.scale*t.x,u=e.y.scale*t.y;return(o!==1||u!==1)&&(r+=`scale(${o}, ${u})`),r||"none"}const wi=["","X","Y","Z"],bm=1e3;let xm=0;function Ai(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Xo(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=uo(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",re,!(i||a))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Xo(r)}function qo({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},o=t?.()){this.id=xm++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Sm),this.nodes.forEach(Cm),this.nodes.forEach(km),this.nodes.forEach(Tm)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0;for(let u=0;u<this.path.length;u++)this.path[u].shouldResetTransform=!0;this.root===this&&(this.nodes=new om)}addEventListener(s,o){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new gr),this.eventHandlers.get(s).add(o)}notifyListeners(s,...o){const u=this.eventHandlers.get(s);u&&u.notify(...o)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=Es(s)&&!dd(s),this.instance=s;const{layoutId:o,layout:u,visualElement:d}=this.options;if(d&&!d.current&&d.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(u||o)&&(this.isLayoutDirty=!0),e){let l,c=0;const f=()=>this.root.updateBlockedByResize=!1;re.read(()=>{c=window.innerWidth}),e(s,()=>{const h=window.innerWidth;h!==c&&(c=h,this.root.updateBlockedByResize=!0,l&&l(),l=lm(f,250),zn.hasAnimatedSinceResize&&(zn.hasAnimatedSinceResize=!1,this.nodes.forEach(Jo)))})}o&&this.root.registerSharedNode(o,this),this.options.animate!==!1&&d&&(o||u)&&this.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c,hasRelativeLayoutChanged:f,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||d.getDefaultTransition()||Fm,{onLayoutAnimationStart:b,onLayoutAnimationComplete:A}=d.getProps(),v=!this.targetLayout||!Yo(this.targetLayout,h),I=!c&&f;if(this.options.layoutRoot||this.resumeFrom||I||c&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const T={...Yr(m,"layout"),onPlay:b,onComplete:A};(d.shouldReduceMotion||this.options.layoutRoot)&&(T.delay=0,T.type=!1),this.startAnimation(T),this.setAnimationOrigin(l,I)}else c||Jo(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),nt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Mm),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Xo(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let l=0;l<this.path.length;l++){const c=this.path[l];c.shouldResetTransform=!0,c.updateScroll("snapshot"),c.options.layoutRoot&&c.willUpdate(!1)}const{layoutId:o,layout:u}=this.options;if(o===void 0&&!u)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Qo);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Zo);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Em),this.nodes.forEach(wm),this.nodes.forEach(Am)):this.nodes.forEach(Zo),this.clearAllSnapshots();const o=Te.now();me.delta=Ge(0,1e3/60,o-me.timestamp),me.timestamp=o,me.isProcessing=!0,xr.update.process(me),xr.preRender.process(me),xr.render.process(me),me.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Xr.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Pm),this.sharedNodes.forEach(Dm)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,re.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){re.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!we(this.snapshot.measuredBox.x)&&!we(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u<this.path.length;u++)this.path[u].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=de(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:o}=this.options;o&&o.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let o=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(o=!1),o&&this.instance){const u=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:u,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:u}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,o=this.projectionDelta&&!Bo(this.projectionDelta),u=this.getTransformTemplate(),d=u?u(this.latestValues,""):void 0,l=d!==this.prevTransformTemplateValue;s&&this.instance&&(o||gt(this.latestValues)||l)&&(i(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const o=this.measurePageBox();let u=this.removeElementScroll(o);return s&&(u=this.removeTransform(u)),Nm(u),{animationId:this.root.animationId,measuredBox:o,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return de();const o=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Om))){const{scroll:d}=this.root;d&&(Lt(o.x,d.offset.x),Lt(o.y,d.offset.y))}return o}removeElementScroll(s){const o=de();if(Re(o,s),this.scroll?.wasRoot)return o;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:l,options:c}=d;d!==this.root&&l&&c.layoutScroll&&(l.wasRoot&&Re(o,s),Lt(o.x,l.offset.x),Lt(o.y,l.offset.y))}return o}applyTransform(s,o=!1){const u=de();Re(u,s);for(let d=0;d<this.path.length;d++){const l=this.path[d];!o&&l.options.layoutScroll&&l.scroll&&l!==l.root&&Rt(u,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),gt(l.latestValues)&&Rt(u,l.latestValues)}return gt(this.latestValues)&&Rt(u,this.latestValues),u}removeTransform(s){const o=de();Re(o,s);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!d.instance||!gt(d.latestValues))continue;ci(d.latestValues)&&d.updateSnapshot();const l=de(),c=d.measurePageBox();Re(l,c),$o(o,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,l)}return gt(this.latestValues)&&$o(o,this.latestValues),o}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==me.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){const o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==o;if(!(s||u&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:l,layoutId:c}=this.options;if(!this.layout||!(l||c))return;this.resolvedRelativeTargetAt=me.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=de(),this.targetWithTransforms=de()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Bh(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Re(this.target,this.layout.layoutBox),Qs(this.target,this.targetDelta)):Re(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||ci(this.parent.latestValues)||Ks(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(s,o,u){this.relativeParent=s,this.linkedParentVersion=s.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=de(),this.relativeTargetOrigin=de(),Un(this.relativeTargetOrigin,o,u),Re(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const s=this.getLead(),o=!!this.resumingFrom||this!==s;let u=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(u=!1),o&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===me.timestamp&&(u=!1),u)return;const{layout:d,layoutId:l}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||l))return;Re(this.layoutCorrected,this.layout.layoutBox);const c=this.treeScale.x,f=this.treeScale.y;th(this.layoutCorrected,this.treeScale,this.path,o),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=de());const{target:h}=s;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Vo(this.prevProjectionDelta.x,this.projectionDelta.x),Vo(this.prevProjectionDelta.y,this.projectionDelta.y)),cn(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==c||this.treeScale.y!==f||!Ko(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ko(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.visualElement?.scheduleRender(),s){const o=this.getStack();o&&o.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Vt(),this.projectionDelta=Vt(),this.projectionDeltaWithTransform=Vt()}setAnimationOrigin(s,o=!1){const u=this.snapshot,d=u?u.latestValues:{},l={...this.latestValues},c=Vt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!o;const f=de(),h=u?u.source:void 0,m=this.layout?this.layout.source:void 0,b=h!==m,A=this.getStack(),v=!A||A.members.length<=1,I=!!(b&&!v&&this.options.crossfade===!0&&!this.path.some(jm));this.animationProgress=0;let T;this.mixTargetDelta=C=>{const P=C/1e3;el(c.x,s.x,P),el(c.y,s.y,P),this.setTargetDelta(c),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Un(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Im(this.relativeTarget,this.relativeTargetOrigin,f,P),T&&gm(this.relativeTarget,T)&&(this.isProjectionDirty=!1),T||(T=de()),Re(T,this.relativeTarget)),b&&(this.animationValues=l,cm(l,d,this.latestValues,P,I,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(nt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=re.update(()=>{zn.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ft(0)),this.currentAnimation=am(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:o=>{this.mixTargetDelta(o),s.onUpdate&&s.onUpdate(o)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(bm),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:o,target:u,layout:d,latestValues:l}=s;if(!(!o||!u||!d)){if(this!==s&&this.layout&&d&&al(this.options.animationType,this.layout.layoutBox,d.layoutBox)){u=this.target||de();const c=we(this.layout.layoutBox.x);u.x.min=s.target.x.min,u.x.max=u.x.min+c;const f=we(this.layout.layoutBox.y);u.y.min=s.target.y.min,u.y.max=u.y.min+f}Re(o,u),Rt(o,l),cn(this.projectionDeltaWithTransform,this.layoutCorrected,o,l)}}registerSharedNode(s,o){this.sharedNodes.has(s)||this.sharedNodes.set(s,new ym),this.sharedNodes.get(s).add(o);const d=o.options.initialPromotionConfig;o.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(o):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){const{layoutId:s}=this.options;return s?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:s}=this.options;return s?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:o,preserveFollowOpacity:u}={}){const d=this.getStack();d&&d.promote(this,u),s&&(this.projectionDelta=void 0,this.needsReset=!0),o&&this.setOptions({transition:o})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let o=!1;const{latestValues:u}=s;if((u.z||u.rotate||u.rotateX||u.rotateY||u.rotateZ||u.skewX||u.skewY)&&(o=!0),!o)return;const d={};u.z&&Ai("z",s,d,this.animationValues);for(let l=0;l<wi.length;l++)Ai(`rotate${wi[l]}`,s,d,this.animationValues),Ai(`skew${wi[l]}`,s,d,this.animationValues);s.render();for(const l in d)s.setStaticValue(l,d[l]),this.animationValues&&(this.animationValues[l]=d[l]);s.scheduleRender()}applyProjectionStyles(s,o){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const u=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=Vn(o?.pointerEvents)||"",s.transform=u?u(this.latestValues,""):"none";return}const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=Vn(o?.pointerEvents)||""),this.hasProjected&&!gt(this.latestValues)&&(s.transform=u?u({},""):"none",this.hasProjected=!1);return}s.visibility="";const l=d.animationValues||d.latestValues;this.applyTransformsToTarget();let c=vm(this.projectionDeltaWithTransform,this.treeScale,l);u&&(c=u(l,c)),s.transform=c;const{x:f,y:h}=this.projectionDelta;s.transformOrigin=`${f.origin*100}% ${h.origin*100}% 0`,d.animationValues?s.opacity=d===this?l.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:l.opacityExit:s.opacity=d===this?l.opacity!==void 0?l.opacity:"":l.opacityExit!==void 0?l.opacityExit:0;for(const m in ti){if(l[m]===void 0)continue;const{correct:b,applyTo:A,isCSSVariable:v}=ti[m],I=c==="none"?l[m]:b(l[m],d);if(A){const T=A.length;for(let C=0;C<T;C++)s[A[C]]=I}else v?this.options.visualElement.renderState.vars[m]=I:s[m]=I}this.options.layoutId&&(s.pointerEvents=d===this?Vn(o?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(Qo),this.root.sharedNodes.clear()}}}function wm(e){e.updateLayout()}function Am(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;i==="size"?je(l=>{const c=a?t.measuredBox[l]:t.layoutBox[l],f=we(c);c.min=n[l].min,c.max=c.min+f}):al(i,t.layoutBox,n)&&je(l=>{const c=a?t.measuredBox[l]:t.layoutBox[l],f=we(n[l]);c.max=c.min+f,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[l].max=e.relativeTarget[l].min+f)});const s=Vt();cn(s,n,t.layoutBox);const o=Vt();a?cn(o,e.applyTransform(r,!0),t.measuredBox):cn(o,n,t.layoutBox);const u=!Bo(s);let d=!1;if(!e.resumeFrom){const l=e.getClosestProjectingParent();if(l&&!l.resumeFrom){const{snapshot:c,layout:f}=l;if(c&&f){const h=de();Un(h,t.layoutBox,c.layoutBox);const m=de();Un(m,n,f.layoutBox),Yo(h,m)||(d=!0),l.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=h,e.relativeParent=l)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:o,layoutDelta:s,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function Sm(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Tm(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Pm(e){e.clearSnapshot()}function Qo(e){e.clearMeasurements()}function Zo(e){e.isLayoutDirty=!1}function Em(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Jo(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Cm(e){e.resolveTargetDelta()}function km(e){e.calcProjection()}function Mm(e){e.resetSkewAndRotation()}function Dm(e){e.removeLeadSnapshot()}function el(e,t,n){e.translate=ae(t.translate,0,n),e.scale=ae(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function tl(e,t,n,r){e.min=ae(t.min,n.min,r),e.max=ae(t.max,n.max,r)}function Im(e,t,n,r){tl(e.x,t.x,n.x,r),tl(e.y,t.y,n.y,r)}function jm(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Fm={duration:.45,ease:[.4,0,.1,1]},nl=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),rl=nl("applewebkit/")&&!nl("chrome/")?Math.round:De;function il(e){e.min=rl(e.min),e.max=rl(e.max)}function Nm(e){il(e.x),il(e.y)}function al(e,t,n){return e==="position"||e==="preserve-aspect"&&!zh(Go(t),Go(n),.2)}function Om(e){return e!==e.root&&e.scroll?.wasRoot}const Lm=qo({attachResizeListener:(e,t)=>on(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Si={current:void 0},sl=qo({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Si.current){const e=new Lm({});e.mount(window),e.setOptions({layoutScroll:!0}),Si.current=e}return Si.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Rm={pan:{Feature:rm},drag:{Feature:nm,ProjectionNode:sl,MeasureLayout:Io}};function ol(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,a=r[i];a&&re.postRender(()=>a(t,ln(t)))}class Vm extends at{mount(){const{current:t}=this.node;t&&(this.unmount=od(t,(n,r)=>(ol(this.node,r,"Start"),i=>ol(this.node,i,"End"))))}unmount(){}}class _m extends at{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=qt(on(this.node.current,"focus",()=>this.onFocus()),on(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function ll(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),a=r[i];a&&re.postRender(()=>a(t,ln(t)))}class Um extends at{mount(){const{current:t}=this.node;t&&(this.unmount=fd(t,(n,r)=>(ll(this.node,r,"Start"),(i,{success:a})=>ll(this.node,i,a?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Ti=new WeakMap,Pi=new WeakMap,$m=e=>{const t=Ti.get(e.target);t&&t(e)},zm=e=>{e.forEach($m)};function Bm({root:e,...t}){const n=e||document;Pi.has(n)||Pi.set(n,{});const r=Pi.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(zm,{root:e,...t})),r[i]}function Wm(e,t,n){const r=Bm(t);return Ti.set(e,n),r.observe(e),()=>{Ti.delete(e),r.unobserve(e)}}const Hm={some:0,all:1};class Ym extends at{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:Hm[i]},o=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,a&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:l,onViewportLeave:c}=this.node.getProps(),f=d?l:c;f&&f(u)};return Wm(this.node.current,s,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Gm(t,n))&&this.startObserver()}unmount(){}}function Gm({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Km={...Lh,...{inView:{Feature:Ym},tap:{Feature:Um},focus:{Feature:_m},hover:{Feature:Vm}},...Rm,...{layout:{ProjectionNode:sl,MeasureLayout:Io}}},ul=Zd(Km,fh);function Ei(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Xm(e){if(Array.isArray(e))return e}function qm(e){if(Array.isArray(e))return Ei(e)}function Qm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,fl(r.key),r)}}function Jm(e,t,n){return t&&Zm(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Bn(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ci(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
15
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,s=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return s=u.done,u},e:function(u){o=!0,a=u},f:function(){try{s||n.return==null||n.return()}finally{if(o)throw a}}}}function q(e,t,n){return(t=fl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ep(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tp(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,s,o=[],u=!0,d=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(o.push(r.value),o.length!==t);u=!0);}catch(l){d=!0,i=l}finally{try{if(!u&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(d)throw i}}return o}}function np(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
16
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rp(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
17
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cl(Object(n),!0).forEach(function(r){q(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Wn(e,t){return Xm(e)||tp(e,t)||Ci(e,t)||np()}function Ve(e){return qm(e)||ep(e)||Ci(e)||rp()}function ip(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fl(e){var t=ip(e,"string");return typeof t=="symbol"?t:t+""}function Hn(e){"@babel/helpers - typeof";return Hn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hn(e)}function Ci(e,t){if(e){if(typeof e=="string")return Ei(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ei(e,t):void 0}}var dl=function(){},ki={},hl={},ml=null,pl={mark:dl,measure:dl};try{typeof window<"u"&&(ki=window),typeof document<"u"&&(hl=document),typeof MutationObserver<"u"&&(ml=MutationObserver),typeof performance<"u"&&(pl=performance)}catch{}var ap=ki.navigator||{},gl=ap.userAgent,yl=gl===void 0?"":gl,st=ki,ee=hl,vl=ml,Yn=pl;st.document;var qe=!!ee.documentElement&&!!ee.head&&typeof ee.addEventListener=="function"&&typeof ee.createElement=="function",bl=~yl.indexOf("MSIE")||~yl.indexOf("Trident/"),Mi,sp=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,op=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,xl={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},lp={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},wl=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],pe="classic",fn="duotone",Al="sharp",Sl="sharp-duotone",Tl="chisel",Pl="etch",El="jelly",Cl="jelly-duo",kl="jelly-fill",Ml="notdog",Dl="notdog-duo",Il="slab",jl="slab-press",Fl="thumbprint",Nl="utility",Ol="utility-duo",Ll="utility-fill",Rl="whiteboard",up="Classic",cp="Duotone",fp="Sharp",dp="Sharp Duotone",hp="Chisel",mp="Etch",pp="Jelly",gp="Jelly Duo",yp="Jelly Fill",vp="Notdog",bp="Notdog Duo",xp="Slab",wp="Slab Press",Ap="Thumbprint",Sp="Utility",Tp="Utility Duo",Pp="Utility Fill",Ep="Whiteboard",Vl=[pe,fn,Al,Sl,Tl,Pl,El,Cl,kl,Ml,Dl,Il,jl,Fl,Nl,Ol,Ll,Rl];Mi={},q(q(q(q(q(q(q(q(q(q(Mi,pe,up),fn,cp),Al,fp),Sl,dp),Tl,hp),Pl,mp),El,pp),Cl,gp),kl,yp),Ml,vp),q(q(q(q(q(q(q(q(Mi,Dl,bp),Il,xp),jl,wp),Fl,Ap),Nl,Sp),Ol,Tp),Ll,Pp),Rl,Ep);var Cp={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}},kp={"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}},Mp=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),Dp={chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}},_l=["fak","fa-kit","fakd","fa-kit-duotone"],Ul={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Ip=["kit"],jp="kit",Fp="kit-duotone",Np="Kit",Op="Kit Duotone";q(q({},jp,Np),Fp,Op);var Lp={kit:{"fa-kit":"fak"}},Rp={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Vp={kit:{fak:"fa-kit"}},$l={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Di,Gn={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},_p=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],Up="classic",$p="duotone",zp="sharp",Bp="sharp-duotone",Wp="chisel",Hp="etch",Yp="jelly",Gp="jelly-duo",Kp="jelly-fill",Xp="notdog",qp="notdog-duo",Qp="slab",Zp="slab-press",Jp="thumbprint",e0="utility",t0="utility-duo",n0="utility-fill",r0="whiteboard",i0="Classic",a0="Duotone",s0="Sharp",o0="Sharp Duotone",l0="Chisel",u0="Etch",c0="Jelly",f0="Jelly Duo",d0="Jelly Fill",h0="Notdog",m0="Notdog Duo",p0="Slab",g0="Slab Press",y0="Thumbprint",v0="Utility",b0="Utility Duo",x0="Utility Fill",w0="Whiteboard";Di={},q(q(q(q(q(q(q(q(q(q(Di,Up,i0),$p,a0),zp,s0),Bp,o0),Wp,l0),Hp,u0),Yp,c0),Gp,f0),Kp,d0),Xp,h0),q(q(q(q(q(q(q(q(Di,qp,m0),Qp,p0),Zp,g0),Jp,y0),e0,v0),t0,b0),n0,x0),r0,w0);var A0="kit",S0="kit-duotone",T0="Kit",P0="Kit Duotone";q(q({},A0,T0),S0,P0);var E0={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}},C0={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]},Ii={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},k0=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"],zl=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(_p,k0),M0=["solid","regular","light","thin","duotone","brands","semibold"],Bl=[1,2,3,4,5,6,7,8,9,10],D0=Bl.concat([11,12,13,14,15,16,17,18,19,20]),I0=["aw","fw","pull-left","pull-right"],j0=[].concat(Ve(Object.keys(C0)),M0,I0,["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",Gn.GROUP,Gn.SWAP_OPACITY,Gn.PRIMARY,Gn.SECONDARY]).concat(Bl.map(function(e){return"".concat(e,"x")})).concat(D0.map(function(e){return"w-".concat(e)})),F0={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},Qe="___FONT_AWESOME___",ji=16,Wl="fa",Hl="svg-inline--fa",vt="data-fa-i2svg",Fi="data-fa-pseudo-element",N0="data-fa-pseudo-element-pending",Ni="data-prefix",Oi="data-icon",Yl="fontawesome-i2svg",O0="async",L0=["HTML","HEAD","STYLE","SCRIPT"],Gl=["::before","::after",":before",":after"],Kl=(function(){try{return process.env.NODE_ENV==="production"}catch{return!1}})();function dn(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[pe]}})}var Xl=Y({},xl);Xl[pe]=Y(Y(Y(Y({},{"fa-duotone":"duotone"}),xl[pe]),Ul.kit),Ul["kit-duotone"]);var R0=dn(Xl),Li=Y({},Dp);Li[pe]=Y(Y(Y(Y({},{duotone:"fad"}),Li[pe]),$l.kit),$l["kit-duotone"]);var ql=dn(Li),Ri=Y({},Ii);Ri[pe]=Y(Y({},Ri[pe]),Vp.kit);var Vi=dn(Ri),_i=Y({},E0);_i[pe]=Y(Y({},_i[pe]),Lp.kit),dn(_i);var V0=sp,Ql="fa-layers-text",_0=op,U0=Y({},Cp);dn(U0);var $0=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ui=lp,z0=[].concat(Ve(Ip),Ve(j0)),hn=st.FontAwesomeConfig||{};function B0(e){var t=ee.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function W0(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(ee&&typeof ee.querySelector=="function"){var H0=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];H0.forEach(function(e){var t=Wn(e,2),n=t[0],r=t[1],i=W0(B0(n));i!=null&&(hn[r]=i)})}var Zl={styleDefault:"solid",familyDefault:pe,cssPrefix:Wl,replacementClass:Hl,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};hn.familyPrefix&&(hn.cssPrefix=hn.familyPrefix);var Ut=Y(Y({},Zl),hn);Ut.autoReplaceSvg||(Ut.observeMutations=!1);var K={};Object.keys(Zl).forEach(function(e){Object.defineProperty(K,e,{enumerable:!0,set:function(n){Ut[e]=n,mn.forEach(function(r){return r(K)})},get:function(){return Ut[e]}})}),Object.defineProperty(K,"familyPrefix",{enumerable:!0,set:function(t){Ut.cssPrefix=t,mn.forEach(function(n){return n(K)})},get:function(){return Ut.cssPrefix}}),st.FontAwesomeConfig=K;var mn=[];function Y0(e){return mn.push(e),function(){mn.splice(mn.indexOf(e),1)}}var $t=ji,Be={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function G0(e){if(!(!e||!qe)){var t=ee.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=ee.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],s=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=a)}return ee.head.insertBefore(t,r),e}}var K0="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Jl(){for(var e=12,t="";e-- >0;)t+=K0[Math.random()*62|0];return t}function zt(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function $i(e){return e.classList?zt(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function eu(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function X0(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(eu(e[n]),'" ')},"").trim()}function Kn(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function zi(e){return e.size!==Be.size||e.x!==Be.x||e.y!==Be.y||e.rotate!==Be.rotate||e.flipX||e.flipY}function q0(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)"),u={transform:"".concat(a," ").concat(s," ").concat(o)},d={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:u,path:d}}function Q0(e){var t=e.transform,n=e.width,r=n===void 0?ji:n,i=e.height,a=i===void 0?ji:i,s="";return bl?s+="translate(".concat(t.x/$t-r/2,"em, ").concat(t.y/$t-a/2,"em) "):s+="translate(calc(-50% + ".concat(t.x/$t,"em), calc(-50% + ").concat(t.y/$t,"em)) "),s+="scale(".concat(t.size/$t*(t.flipX?-1:1),", ").concat(t.size/$t*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var Z0=`:root, :host {
239
18
  --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";
240
19
  --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";
241
20
  --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";
@@ -785,10 +564,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
785
564
  margin: auto;
786
565
  position: absolute;
787
566
  z-index: var(--fa-stack-z-index, auto);
788
- }`;function qE(){var i=RE,s=wE,d=Qt.cssPrefix,f=Qt.replacementClass,m=FR;if(d!==i||f!==s){var p=new RegExp("\\.".concat(i,"\\-"),"g"),g=new RegExp("\\--".concat(i,"\\-"),"g"),b=new RegExp("\\.".concat(s),"g");m=m.replace(p,".".concat(d,"-")).replace(g,"--".concat(d,"-")).replace(b,".".concat(f))}return m}var GE=!1;function t3(){Qt.autoAddCss&&!GE&&(QR(qE()),GE=!0)}var $R={mixout:function(){return{dom:{css:qE,insertCss:t3}}},hooks:function(){return{beforeDOMElementCreation:function(){t3()},beforeI2svg:function(){t3()}}}},os=Ar||{};os[is]||(os[is]={}),os[is].styles||(os[is].styles={}),os[is].hooks||(os[is].hooks={}),os[is].shims||(os[is].shims=[]);var Uo=os[is],XE=[],QE=function(){dn.removeEventListener("DOMContentLoaded",QE),V1=1,XE.map(function(s){return s()})},V1=!1;ls&&(V1=(dn.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(dn.readyState),V1||dn.addEventListener("DOMContentLoaded",QE));function IR(i){ls&&(V1?setTimeout(i,0):XE.push(i))}function r0(i){var s=i.tag,d=i.attributes,f=d===void 0?{}:d,m=i.children,p=m===void 0?[]:m;return typeof i=="string"?YE(i):"<".concat(s," ").concat(kR(f),">").concat(p.map(r0).join(""),"</").concat(s,">")}function ZE(i,s,d){if(i&&i[s]&&i[s][d])return{prefix:s,iconName:d,icon:i[s][d]}}var e3=function(s,d,f,m){var p=Object.keys(s),g=p.length,b=d,x,M,A;for(f===void 0?(x=1,A=s[p[0]]):(x=0,A=f);x<g;x++)M=p[x],A=b(A,s[M],M,s);return A};function kE(i){return wo(i).length!==1?null:i.codePointAt(0).toString(16)}function JE(i){return Object.keys(i).reduce(function(s,d){var f=i[d],m=!!f.icon;return m?s[f.iconName]=f.icon:s[d]=f,s},{})}function n3(i,s){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=d.skipHooks,m=f===void 0?!1:f,p=JE(s);typeof Uo.hooks.addPack=="function"&&!m?Uo.hooks.addPack(i,JE(s)):Uo.styles[i]=_t(_t({},Uo.styles[i]||{}),p),i==="fas"&&n3("fa",s)}var c0=Uo.styles,WR=Uo.shims,KE=Object.keys(FS),PR=KE.reduce(function(i,s){return i[s]=Object.keys(FS[s]),i},{}),a3=null,FE={},$E={},IE={},WE={},PE={};function tw(i){return~LR.indexOf(i)}function ew(i,s){var d=s.split("-"),f=d[0],m=d.slice(1).join("-");return f===i&&m!==""&&!tw(m)?m:null}var t6=function(){var s=function(p){return e3(c0,function(g,b,x){return g[x]=e3(b,p,{}),g},{})};FE=s(function(m,p,g){if(p[3]&&(m[p[3]]=g),p[2]){var b=p[2].filter(function(x){return typeof x=="number"});b.forEach(function(x){m[x.toString(16)]=g})}return m}),$E=s(function(m,p,g){if(m[g]=g,p[2]){var b=p[2].filter(function(x){return typeof x=="string"});b.forEach(function(x){m[x]=g})}return m}),PE=s(function(m,p,g){var b=p[2];return m[g]=g,b.forEach(function(x){m[x]=g}),m});var d="far"in c0||Qt.autoFetchSvg,f=e3(WR,function(m,p){var g=p[0],b=p[1],x=p[2];return b==="far"&&!d&&(b="fas"),typeof g=="string"&&(m.names[g]={prefix:b,iconName:x}),typeof g=="number"&&(m.unicodes[g.toString(16)]={prefix:b,iconName:x}),m},{names:{},unicodes:{}});IE=f.names,WE=f.unicodes,a3=L1(Qt.styleDefault,{family:Qt.familyDefault})};XR(function(i){a3=L1(i.styleDefault,{family:Qt.familyDefault})}),t6();function l3(i,s){return(FE[i]||{})[s]}function nw(i,s){return($E[i]||{})[s]}function ff(i,s){return(PE[i]||{})[s]}function e6(i){return IE[i]||{prefix:null,iconName:null}}function aw(i){var s=WE[i],d=l3("fas",i);return s||(d?{prefix:"fas",iconName:d}:null)||{prefix:null,iconName:null}}function Tr(){return a3}var n6=function(){return{prefix:null,iconName:null,rest:[]}};function lw(i){var s=Ra,d=KE.reduce(function(f,m){return f[m]="".concat(Qt.cssPrefix,"-").concat(m),f},{});return xE.forEach(function(f){(i.includes(d[f])||i.some(function(m){return PR[f].includes(m)}))&&(s=f)}),s}function L1(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=s.family,f=d===void 0?Ra:d,m=NR[f][i];if(f===i0&&!i)return"fad";var p=HE[f][i]||HE[f][m],g=i in Uo.styles?i:null,b=p||g||null;return b}function iw(i){var s=[],d=null;return i.forEach(function(f){var m=ew(Qt.cssPrefix,f);m?d=m:f&&s.push(f)}),{iconName:d,rest:s}}function a6(i){return i.sort().filter(function(s,d,f){return f.indexOf(s)===d})}var l6=OE.concat(DE);function Y1(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=s.skipLookups,f=d===void 0?!1:d,m=null,p=a6(i.filter(function(z){return l6.includes(z)})),g=a6(i.filter(function(z){return!l6.includes(z)})),b=p.filter(function(z){return m=z,!uE.includes(z)}),x=_1(b,1),M=x[0],A=M===void 0?null:M,E=lw(p),D=_t(_t({},iw(g)),{},{prefix:L1(A,{family:E})});return _t(_t(_t({},D),rw({values:i,family:E,styles:c0,config:Qt,canonical:D,givenPrefix:m})),ow(f,m,D))}function ow(i,s,d){var f=d.prefix,m=d.iconName;if(i||!f||!m)return{prefix:f,iconName:m};var p=s==="fa"?e6(m):{},g=ff(f,m);return m=p.iconName||g||m,f=p.prefix||f,f==="far"&&!c0.far&&c0.fas&&!Qt.autoFetchSvg&&(f="fas"),{prefix:f,iconName:m}}var uw=xE.filter(function(i){return i!==Ra||i!==i0}),sw=Object.keys(GS).filter(function(i){return i!==Ra}).map(function(i){return Object.keys(GS[i])}).flat();function rw(i){var s=i.values,d=i.family,f=i.canonical,m=i.givenPrefix,p=m===void 0?"":m,g=i.styles,b=g===void 0?{}:g,x=i.config,M=x===void 0?{}:x,A=d===i0,E=s.includes("fa-duotone")||s.includes("fad"),D=M.familyDefault==="duotone",z=f.prefix==="fad"||f.prefix==="fa-duotone";if(!A&&(E||D||z)&&(f.prefix="fad"),(s.includes("fa-brands")||s.includes("fab"))&&(f.prefix="fab"),!f.prefix&&uw.includes(d)){var _=Object.keys(b).find(function(L){return sw.includes(L)});if(_||M.autoFetchSvg){var V=Mz.get(d).defaultShortPrefixId;f.prefix=V,f.iconName=ff(f.prefix,f.iconName)||f.iconName}}return(f.prefix==="fa"||p==="fa")&&(f.prefix=Tr()||"fas"),f}var cw=(function(){function i(){KO(this,i),this.definitions={}}return $O(i,[{key:"add",value:function(){for(var d=this,f=arguments.length,m=new Array(f),p=0;p<f;p++)m[p]=arguments[p];var g=m.reduce(this._pullDefinitions,{});Object.keys(g).forEach(function(b){d.definitions[b]=_t(_t({},d.definitions[b]||{}),g[b]),n3(b,g[b]);var x=FS[Ra][b];x&&n3(x,g[b]),t6()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(d,f){var m=f.prefix&&f.iconName&&f.icon?{0:f}:f;return Object.keys(m).map(function(p){var g=m[p],b=g.prefix,x=g.iconName,M=g.icon,A=M[2];d[b]||(d[b]={}),A.length>0&&A.forEach(function(E){typeof E=="string"&&(d[b][E]=M)}),d[b][x]=M}),d}}])})(),i6=[],yh={},gh={},fw=Object.keys(gh);function dw(i,s){var d=s.mixoutsTo;return i6=i,yh={},Object.keys(gh).forEach(function(f){fw.indexOf(f)===-1&&delete gh[f]}),i6.forEach(function(f){var m=f.mixout?f.mixout():{};if(Object.keys(m).forEach(function(g){typeof m[g]=="function"&&(d[g]=m[g]),N1(m[g])==="object"&&Object.keys(m[g]).forEach(function(b){d[g]||(d[g]={}),d[g][b]=m[g][b]})}),f.hooks){var p=f.hooks();Object.keys(p).forEach(function(g){yh[g]||(yh[g]=[]),yh[g].push(p[g])})}f.provides&&f.provides(gh)}),d}function i3(i,s){for(var d=arguments.length,f=new Array(d>2?d-2:0),m=2;m<d;m++)f[m-2]=arguments[m];var p=yh[i]||[];return p.forEach(function(g){s=g.apply(null,[s].concat(f))}),s}function df(i){for(var s=arguments.length,d=new Array(s>1?s-1:0),f=1;f<s;f++)d[f-1]=arguments[f];var m=yh[i]||[];m.forEach(function(p){p.apply(null,d)})}function Er(){var i=arguments[0],s=Array.prototype.slice.call(arguments,1);return gh[i]?gh[i].apply(null,s):void 0}function o3(i){i.prefix==="fa"&&(i.prefix="fas");var s=i.iconName,d=i.prefix||Tr();if(s)return s=ff(d,s)||s,ZE(o6.definitions,d,s)||ZE(Uo.styles,d,s)}var o6=new cw,hw=function(){Qt.autoReplaceSvg=!1,Qt.observeMutations=!1,df("noAuto")},mw={i2svg:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ls?(df("beforeI2svg",s),Er("pseudoElements2svg",s),Er("i2svg",s)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=s.autoReplaceSvgRoot;Qt.autoReplaceSvg===!1&&(Qt.autoReplaceSvg=!0),Qt.observeMutations=!0,IR(function(){yw({autoReplaceSvgRoot:d}),df("watch",s)})}},pw={icon:function(s){if(s===null)return null;if(N1(s)==="object"&&s.prefix&&s.iconName)return{prefix:s.prefix,iconName:ff(s.prefix,s.iconName)||s.iconName};if(Array.isArray(s)&&s.length===2){var d=s[1].indexOf("fa-")===0?s[1].slice(3):s[1],f=L1(s[0]);return{prefix:f,iconName:ff(f,d)||d}}if(typeof s=="string"&&(s.indexOf("".concat(Qt.cssPrefix,"-"))>-1||s.match(jR))){var m=Y1(s.split(" "),{skipLookups:!0});return{prefix:m.prefix||Tr(),iconName:ff(m.prefix,m.iconName)||m.iconName}}if(typeof s=="string"){var p=Tr();return{prefix:p,iconName:ff(p,s)||s}}}},ai={noAuto:hw,config:Qt,dom:mw,parse:pw,library:o6,findIconDefinition:o3,toHtml:r0},yw=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=s.autoReplaceSvgRoot,f=d===void 0?dn:d;(Object.keys(Uo.styles).length>0||Qt.autoFetchSvg)&&ls&&Qt.autoReplaceSvg&&ai.dom.i2svg({node:f})};function q1(i,s){return Object.defineProperty(i,"abstract",{get:s}),Object.defineProperty(i,"html",{get:function(){return i.abstract.map(function(f){return r0(f)})}}),Object.defineProperty(i,"node",{get:function(){if(ls){var f=dn.createElement("div");return f.innerHTML=i.html,f.children}}}),i}function gw(i){var s=i.children,d=i.main,f=i.mask,m=i.attributes,p=i.styles,g=i.transform;if(PS(g)&&d.found&&!f.found){var b=d.width,x=d.height,M={x:b/x/2,y:.5};m.style=B1(_t(_t({},p),{},{"transform-origin":"".concat(M.x+g.x/16,"em ").concat(M.y+g.y/16,"em")}))}return[{tag:"svg",attributes:m,children:s}]}function vw(i){var s=i.prefix,d=i.iconName,f=i.children,m=i.attributes,p=i.symbol,g=p===!0?"".concat(s,"-").concat(Qt.cssPrefix,"-").concat(d):p;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:_t(_t({},m),{},{id:g}),children:f}]}]}function bw(i){var s=["aria-label","aria-labelledby","title","role"];return s.some(function(d){return d in i})}function u3(i){var s=i.icons,d=s.main,f=s.mask,m=i.prefix,p=i.iconName,g=i.transform,b=i.symbol,x=i.maskId,M=i.extra,A=i.watchable,E=A===void 0?!1:A,D=f.found?f:d,z=D.width,_=D.height,V=[Qt.replacementClass,p?"".concat(Qt.cssPrefix,"-").concat(p):""].filter(function(tt){return M.classes.indexOf(tt)===-1}).filter(function(tt){return tt!==""||!!tt}).concat(M.classes).join(" "),L={children:[],attributes:_t(_t({},M.attributes),{},{"data-prefix":m,"data-icon":p,class:V,role:M.attributes.role||"img",viewBox:"0 0 ".concat(z," ").concat(_)})};!bw(M.attributes)&&!M.attributes["aria-hidden"]&&(L.attributes["aria-hidden"]="true"),E&&(L.attributes[cf]="");var B=_t(_t({},L),{},{prefix:m,iconName:p,main:d,mask:f,maskId:x,transform:g,symbol:b,styles:_t({},M.styles)}),it=f.found&&d.found?Er("generateAbstractMask",B)||{children:[],attributes:{}}:Er("generateAbstractIcon",B)||{children:[],attributes:{}},k=it.children,P=it.attributes;return B.children=k,B.attributes=P,b?vw(B):gw(B)}function u6(i){var s=i.content,d=i.width,f=i.height,m=i.transform,p=i.extra,g=i.watchable,b=g===void 0?!1:g,x=_t(_t({},p.attributes),{},{class:p.classes.join(" ")});b&&(x[cf]="");var M=_t({},p.styles);PS(m)&&(M.transform=KR({transform:m,width:d,height:f}),M["-webkit-transform"]=M.transform);var A=B1(M);A.length>0&&(x.style=A);var E=[];return E.push({tag:"span",attributes:x,children:[s]}),E}function Sw(i){var s=i.content,d=i.extra,f=_t(_t({},d.attributes),{},{class:d.classes.join(" ")}),m=B1(d.styles);m.length>0&&(f.style=m);var p=[];return p.push({tag:"span",attributes:f,children:[s]}),p}var s3=Uo.styles;function r3(i){var s=i[0],d=i[1],f=i.slice(4),m=_1(f,1),p=m[0],g=null;return Array.isArray(p)?g={tag:"g",attributes:{class:"".concat(Qt.cssPrefix,"-").concat(IS.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Qt.cssPrefix,"-").concat(IS.SECONDARY),fill:"currentColor",d:p[0]}},{tag:"path",attributes:{class:"".concat(Qt.cssPrefix,"-").concat(IS.PRIMARY),fill:"currentColor",d:p[1]}}]}:g={tag:"path",attributes:{fill:"currentColor",d:p}},{found:!0,width:s,height:d,icon:g}}var Aw={found:!1,width:512,height:512};function Tw(i,s){!NE&&!Qt.showMissingIcons&&i&&console.error('Icon with name "'.concat(i,'" and prefix "').concat(s,'" is missing.'))}function c3(i,s){var d=s;return s==="fa"&&Qt.styleDefault!==null&&(s=Tr()),new Promise(function(f,m){if(d==="fa"){var p=e6(i)||{};i=p.iconName||i,s=p.prefix||s}if(i&&s&&s3[s]&&s3[s][i]){var g=s3[s][i];return f(r3(g))}Tw(i,s),f(_t(_t({},Aw),{},{icon:Qt.showMissingIcons&&i?Er("missingIconAbstract")||{}:{}}))})}var s6=function(){},f3=Qt.measurePerformance&&j1&&j1.mark&&j1.measure?j1:{mark:s6,measure:s6},f0='FA "7.1.0"',Ew=function(s){return f3.mark("".concat(f0," ").concat(s," begins")),function(){return r6(s)}},r6=function(s){f3.mark("".concat(f0," ").concat(s," ends")),f3.measure("".concat(f0," ").concat(s),"".concat(f0," ").concat(s," begins"),"".concat(f0," ").concat(s," ends"))},d3={begin:Ew,end:r6},G1=function(){};function c6(i){var s=i.getAttribute?i.getAttribute(cf):null;return typeof s=="string"}function xw(i){var s=i.getAttribute?i.getAttribute(ZS):null,d=i.getAttribute?i.getAttribute(kS):null;return s&&d}function Dw(i){return i&&i.classList&&i.classList.contains&&i.classList.contains(Qt.replacementClass)}function Mw(){if(Qt.autoReplaceSvg===!0)return X1.replace;var i=X1[Qt.autoReplaceSvg];return i||X1.replace}function Cw(i){return dn.createElementNS("http://www.w3.org/2000/svg",i)}function Ow(i){return dn.createElement(i)}function f6(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=s.ceFn,f=d===void 0?i.tag==="svg"?Cw:Ow:d;if(typeof i=="string")return dn.createTextNode(i);var m=f(i.tag);Object.keys(i.attributes||[]).forEach(function(g){m.setAttribute(g,i.attributes[g])});var p=i.children||[];return p.forEach(function(g){m.appendChild(f6(g,{ceFn:f}))}),m}function zw(i){var s=" ".concat(i.outerHTML," ");return s="".concat(s,"Font Awesome fontawesome.com "),s}var X1={replace:function(s){var d=s[0];if(d.parentNode)if(s[1].forEach(function(m){d.parentNode.insertBefore(f6(m),d)}),d.getAttribute(cf)===null&&Qt.keepOriginalSource){var f=dn.createComment(zw(d));d.parentNode.replaceChild(f,d)}else d.remove()},nest:function(s){var d=s[0],f=s[1];if(~WS(d).indexOf(Qt.replacementClass))return X1.replace(s);var m=new RegExp("".concat(Qt.cssPrefix,"-.*"));if(delete f[0].attributes.id,f[0].attributes.class){var p=f[0].attributes.class.split(" ").reduce(function(b,x){return x===Qt.replacementClass||x.match(m)?b.toSvg.push(x):b.toNode.push(x),b},{toNode:[],toSvg:[]});f[0].attributes.class=p.toSvg.join(" "),p.toNode.length===0?d.removeAttribute("class"):d.setAttribute("class",p.toNode.join(" "))}var g=f.map(function(b){return r0(b)}).join(`
789
- `);d.setAttribute(cf,""),d.innerHTML=g}};function d6(i){i()}function h6(i,s){var d=typeof s=="function"?s:G1;if(i.length===0)d();else{var f=d6;Qt.mutateApproach===UR&&(f=Ar.requestAnimationFrame||d6),f(function(){var m=Mw(),p=d3.begin("mutate");i.map(m),p(),d()})}}var h3=!1;function m6(){h3=!0}function m3(){h3=!1}var Q1=null;function p6(i){if(lE&&Qt.observeMutations){var s=i.treeCallback,d=s===void 0?G1:s,f=i.nodeCallback,m=f===void 0?G1:f,p=i.pseudoElementsCallback,g=p===void 0?G1:p,b=i.observeMutationsRoot,x=b===void 0?dn:b;Q1=new lE(function(M){if(!h3){var A=Tr();ph(M).forEach(function(E){if(E.type==="childList"&&E.addedNodes.length>0&&!c6(E.addedNodes[0])&&(Qt.searchPseudoElements&&g(E.target),d(E.target)),E.type==="attributes"&&E.target.parentNode&&Qt.searchPseudoElements&&g([E.target],!0),E.type==="attributes"&&c6(E.target)&&~VR.indexOf(E.attributeName))if(E.attributeName==="class"&&xw(E.target)){var D=Y1(WS(E.target)),z=D.prefix,_=D.iconName;E.target.setAttribute(ZS,z||A),_&&E.target.setAttribute(kS,_)}else Dw(E.target)&&m(E.target)})}}),ls&&Q1.observe(x,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Rw(){Q1&&Q1.disconnect()}function ww(i){var s=i.getAttribute("style"),d=[];return s&&(d=s.split(";").reduce(function(f,m){var p=m.split(":"),g=p[0],b=p.slice(1);return g&&b.length>0&&(f[g]=b.join(":").trim()),f},{})),d}function Uw(i){var s=i.getAttribute("data-prefix"),d=i.getAttribute("data-icon"),f=i.innerText!==void 0?i.innerText.trim():"",m=Y1(WS(i));return m.prefix||(m.prefix=Tr()),s&&d&&(m.prefix=s,m.iconName=d),m.iconName&&m.prefix||(m.prefix&&f.length>0&&(m.iconName=nw(m.prefix,i.innerText)||l3(m.prefix,kE(i.innerText))),!m.iconName&&Qt.autoFetchSvg&&i.firstChild&&i.firstChild.nodeType===Node.TEXT_NODE&&(m.iconName=i.firstChild.data)),m}function _w(i){var s=ph(i.attributes).reduce(function(d,f){return d.name!=="class"&&d.name!=="style"&&(d[f.name]=f.value),d},{});return s}function Nw(){return{iconName:null,prefix:null,transform:hu,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function y6(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},d=Uw(i),f=d.iconName,m=d.prefix,p=d.rest,g=_w(i),b=i3("parseNodeAttributes",{},i),x=s.styleParser?ww(i):[];return _t({iconName:f,prefix:m,transform:hu,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:p,styles:x,attributes:g}},b)}var jw=Uo.styles;function g6(i){var s=Qt.autoReplaceSvg==="nest"?y6(i,{styleParser:!1}):y6(i);return~s.extra.classes.indexOf(BE)?Er("generateLayersText",i,s):Er("generateSvgReplacementMutation",i,s)}function Hw(){return[].concat(wo(DE),wo(OE))}function v6(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ls)return Promise.resolve();var d=dn.documentElement.classList,f=function(E){return d.add("".concat(UE,"-").concat(E))},m=function(E){return d.remove("".concat(UE,"-").concat(E))},p=Qt.autoFetchSvg?Hw():uE.concat(Object.keys(jw));p.includes("fa")||p.push("fa");var g=[".".concat(BE,":not([").concat(cf,"])")].concat(p.map(function(A){return".".concat(A,":not([").concat(cf,"])")})).join(", ");if(g.length===0)return Promise.resolve();var b=[];try{b=ph(i.querySelectorAll(g))}catch{}if(b.length>0)f("pending"),m("complete");else return Promise.resolve();var x=d3.begin("onTree"),M=b.reduce(function(A,E){try{var D=g6(E);D&&A.push(D)}catch(z){NE||z.name==="MissingIcon"&&console.error(z)}return A},[]);return new Promise(function(A,E){Promise.all(M).then(function(D){h6(D,function(){f("active"),f("complete"),m("pending"),typeof s=="function"&&s(),x(),A()})}).catch(function(D){x(),E(D)})})}function Bw(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;g6(i).then(function(d){d&&h6([d],s)})}function Vw(i){return function(s){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=(s||{}).icon?s:o3(s||{}),m=d.mask;return m&&(m=(m||{}).icon?m:o3(m||{})),i(f,_t(_t({},d),{},{mask:m}))}}var Lw=function(s){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=d.transform,m=f===void 0?hu:f,p=d.symbol,g=p===void 0?!1:p,b=d.mask,x=b===void 0?null:b,M=d.maskId,A=M===void 0?null:M,E=d.classes,D=E===void 0?[]:E,z=d.attributes,_=z===void 0?{}:z,V=d.styles,L=V===void 0?{}:V;if(s){var B=s.prefix,it=s.iconName,k=s.icon;return q1(_t({type:"icon"},s),function(){return df("beforeDOMElementCreation",{iconDefinition:s,params:d}),u3({icons:{main:r3(k),mask:x?r3(x.icon):{found:!1,width:null,height:null,icon:{}}},prefix:B,iconName:it,transform:_t(_t({},hu),m),symbol:g,maskId:A,extra:{attributes:_,styles:L,classes:D}})})}},Yw={mixout:function(){return{icon:Vw(Lw)}},hooks:function(){return{mutationObserverCallbacks:function(d){return d.treeCallback=v6,d.nodeCallback=Bw,d}}},provides:function(s){s.i2svg=function(d){var f=d.node,m=f===void 0?dn:f,p=d.callback,g=p===void 0?function(){}:p;return v6(m,g)},s.generateSvgReplacementMutation=function(d,f){var m=f.iconName,p=f.prefix,g=f.transform,b=f.symbol,x=f.mask,M=f.maskId,A=f.extra;return new Promise(function(E,D){Promise.all([c3(m,p),x.iconName?c3(x.iconName,x.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(z){var _=_1(z,2),V=_[0],L=_[1];E([d,u3({icons:{main:V,mask:L},prefix:p,iconName:m,transform:g,symbol:b,maskId:M,extra:A,watchable:!0})])}).catch(D)})},s.generateAbstractIcon=function(d){var f=d.children,m=d.attributes,p=d.main,g=d.transform,b=d.styles,x=B1(b);x.length>0&&(m.style=x);var M;return PS(g)&&(M=Er("generateAbstractTransformGrouping",{main:p,transform:g,containerWidth:p.width,iconWidth:p.width})),f.push(M||p.icon),{children:f,attributes:m}}}},qw={mixout:function(){return{layer:function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=f.classes,p=m===void 0?[]:m;return q1({type:"layer"},function(){df("beforeDOMElementCreation",{assembler:d,params:f});var g=[];return d(function(b){Array.isArray(b)?b.map(function(x){g=g.concat(x.abstract)}):g=g.concat(b.abstract)}),[{tag:"span",attributes:{class:["".concat(Qt.cssPrefix,"-layers")].concat(wo(p)).join(" ")},children:g}]})}}}},Gw={mixout:function(){return{counter:function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};f.title;var m=f.classes,p=m===void 0?[]:m,g=f.attributes,b=g===void 0?{}:g,x=f.styles,M=x===void 0?{}:x;return q1({type:"counter",content:d},function(){return df("beforeDOMElementCreation",{content:d,params:f}),Sw({content:d.toString(),extra:{attributes:b,styles:M,classes:["".concat(Qt.cssPrefix,"-layers-counter")].concat(wo(p))}})})}}}},Xw={mixout:function(){return{text:function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=f.transform,p=m===void 0?hu:m,g=f.classes,b=g===void 0?[]:g,x=f.attributes,M=x===void 0?{}:x,A=f.styles,E=A===void 0?{}:A;return q1({type:"text",content:d},function(){return df("beforeDOMElementCreation",{content:d,params:f}),u6({content:d,transform:_t(_t({},hu),p),extra:{attributes:M,styles:E,classes:["".concat(Qt.cssPrefix,"-layers-text")].concat(wo(b))}})})}}},provides:function(s){s.generateLayersText=function(d,f){var m=f.transform,p=f.extra,g=null,b=null;if(iE){var x=parseInt(getComputedStyle(d).fontSize,10),M=d.getBoundingClientRect();g=M.width/x,b=M.height/x}return Promise.resolve([d,u6({content:d.innerHTML,width:g,height:b,transform:m,extra:p,watchable:!0})])}}},b6=new RegExp('"',"ug"),S6=[1105920,1112319],A6=_t(_t(_t(_t({},{FontAwesome:{normal:"fas",400:"fas"}}),Dz),RR),Nz),p3=Object.keys(A6).reduce(function(i,s){return i[s.toLowerCase()]=A6[s],i},{}),Qw=Object.keys(p3).reduce(function(i,s){var d=p3[s];return i[s]=d[900]||wo(Object.entries(d))[0][1],i},{});function Zw(i){var s=i.replace(b6,"");return kE(wo(s)[0]||"")}function kw(i){var s=i.getPropertyValue("font-feature-settings").includes("ss01"),d=i.getPropertyValue("content"),f=d.replace(b6,""),m=f.codePointAt(0),p=m>=S6[0]&&m<=S6[1],g=f.length===2?f[0]===f[1]:!1;return p||g||s}function Jw(i,s){var d=i.replace(/^['"]|['"]$/g,"").toLowerCase(),f=parseInt(s),m=isNaN(f)?"normal":f;return(p3[d]||{})[m]||Qw[d]}function T6(i,s){var d="".concat(wR).concat(s.replace(":","-"));return new Promise(function(f,m){if(i.getAttribute(d)!==null)return f();var p=ph(i.children),g=p.filter(function(Y){return Y.getAttribute(QS)===s})[0],b=Ar.getComputedStyle(i,s),x=b.getPropertyValue("font-family"),M=x.match(HR),A=b.getPropertyValue("font-weight"),E=b.getPropertyValue("content");if(g&&!M)return i.removeChild(g),f();if(M&&E!=="none"&&E!==""){var D=b.getPropertyValue("content"),z=Jw(x,A),_=Zw(D),V=M[0].startsWith("FontAwesome"),L=kw(b),B=l3(z,_),it=B;if(V){var k=aw(_);k.iconName&&k.prefix&&(B=k.iconName,z=k.prefix)}if(B&&!L&&(!g||g.getAttribute(ZS)!==z||g.getAttribute(kS)!==it)){i.setAttribute(d,it),g&&i.removeChild(g);var P=Nw(),tt=P.extra;tt.attributes[QS]=s,c3(B,z).then(function(Y){var rt=u3(_t(_t({},P),{},{icons:{main:Y,mask:n6()},prefix:z,iconName:it,extra:tt,watchable:!0})),j=dn.createElementNS("http://www.w3.org/2000/svg","svg");s==="::before"?i.insertBefore(j,i.firstChild):i.appendChild(j),j.outerHTML=rt.map(function(H){return r0(H)}).join(`
790
- `),i.removeAttribute(d),f()}).catch(m)}else f()}else f()})}function Kw(i){return Promise.all([T6(i,"::before"),T6(i,"::after")])}function Fw(i){return i.parentNode!==document.head&&!~_R.indexOf(i.tagName.toUpperCase())&&!i.getAttribute(QS)&&(!i.parentNode||i.parentNode.tagName!=="svg")}var $w=function(s){return!!s&&_E.some(function(d){return s.includes(d)})},Iw=function(s){if(!s)return[];var d=new Set,f=s.split(/,(?![^()]*\))/).map(function(x){return x.trim()});f=f.flatMap(function(x){return x.includes("(")?x:x.split(",").map(function(M){return M.trim()})});var m=U1(f),p;try{for(m.s();!(p=m.n()).done;){var g=p.value;if($w(g)){var b=_E.reduce(function(x,M){return x.replace(M,"")},g);b!==""&&b!=="*"&&d.add(b)}}}catch(x){m.e(x)}finally{m.f()}return d};function E6(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(ls){var d;if(s)d=i;else if(Qt.searchPseudoElementsFullScan)d=i.querySelectorAll("*");else{var f=new Set,m=U1(document.styleSheets),p;try{for(m.s();!(p=m.n()).done;){var g=p.value;try{var b=U1(g.cssRules),x;try{for(b.s();!(x=b.n()).done;){var M=x.value,A=Iw(M.selectorText),E=U1(A),D;try{for(E.s();!(D=E.n()).done;){var z=D.value;f.add(z)}}catch(V){E.e(V)}finally{E.f()}}}catch(V){b.e(V)}finally{b.f()}}catch(V){Qt.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(g.href," (").concat(V.message,`)
791
- If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(V){m.e(V)}finally{m.f()}if(!f.size)return;var _=Array.from(f).join(", ");try{d=i.querySelectorAll(_)}catch{}}return new Promise(function(V,L){var B=ph(d).filter(Fw).map(Kw),it=d3.begin("searchPseudoElements");m6(),Promise.all(B).then(function(){it(),m3(),V()}).catch(function(){it(),m3(),L()})})}}var Ww={hooks:function(){return{mutationObserverCallbacks:function(d){return d.pseudoElementsCallback=E6,d}}},provides:function(s){s.pseudoElements2svg=function(d){var f=d.node,m=f===void 0?dn:f;Qt.searchPseudoElements&&E6(m)}}},x6=!1,Pw={mixout:function(){return{dom:{unwatch:function(){m6(),x6=!0}}}},hooks:function(){return{bootstrap:function(){p6(i3("mutationObserverCallbacks",{}))},noAuto:function(){Rw()},watch:function(d){var f=d.observeMutationsRoot;x6?m3():p6(i3("mutationObserverCallbacks",{observeMutationsRoot:f}))}}}},D6=function(s){var d={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return s.toLowerCase().split(" ").reduce(function(f,m){var p=m.toLowerCase().split("-"),g=p[0],b=p.slice(1).join("-");if(g&&b==="h")return f.flipX=!0,f;if(g&&b==="v")return f.flipY=!0,f;if(b=parseFloat(b),isNaN(b))return f;switch(g){case"grow":f.size=f.size+b;break;case"shrink":f.size=f.size-b;break;case"left":f.x=f.x-b;break;case"right":f.x=f.x+b;break;case"up":f.y=f.y-b;break;case"down":f.y=f.y+b;break;case"rotate":f.rotate=f.rotate+b;break}return f},d)},t9={mixout:function(){return{parse:{transform:function(d){return D6(d)}}}},hooks:function(){return{parseNodeAttributes:function(d,f){var m=f.getAttribute("data-fa-transform");return m&&(d.transform=D6(m)),d}}},provides:function(s){s.generateAbstractTransformGrouping=function(d){var f=d.main,m=d.transform,p=d.containerWidth,g=d.iconWidth,b={transform:"translate(".concat(p/2," 256)")},x="translate(".concat(m.x*32,", ").concat(m.y*32,") "),M="scale(".concat(m.size/16*(m.flipX?-1:1),", ").concat(m.size/16*(m.flipY?-1:1),") "),A="rotate(".concat(m.rotate," 0 0)"),E={transform:"".concat(x," ").concat(M," ").concat(A)},D={transform:"translate(".concat(g/2*-1," -256)")},z={outer:b,inner:E,path:D};return{tag:"g",attributes:_t({},z.outer),children:[{tag:"g",attributes:_t({},z.inner),children:[{tag:f.icon.tag,children:f.icon.children,attributes:_t(_t({},f.icon.attributes),z.path)}]}]}}}},y3={x:0,y:0,width:"100%",height:"100%"};function M6(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return i.attributes&&(i.attributes.fill||s)&&(i.attributes.fill="black"),i}function e9(i){return i.tag==="g"?i.children:[i]}var n9={hooks:function(){return{parseNodeAttributes:function(d,f){var m=f.getAttribute("data-fa-mask"),p=m?Y1(m.split(" ").map(function(g){return g.trim()})):n6();return p.prefix||(p.prefix=Tr()),d.mask=p,d.maskId=f.getAttribute("data-fa-mask-id"),d}}},provides:function(s){s.generateAbstractMask=function(d){var f=d.children,m=d.attributes,p=d.main,g=d.mask,b=d.maskId,x=d.transform,M=p.width,A=p.icon,E=g.width,D=g.icon,z=JR({transform:x,containerWidth:E,iconWidth:M}),_={tag:"rect",attributes:_t(_t({},y3),{},{fill:"white"})},V=A.children?{children:A.children.map(M6)}:{},L={tag:"g",attributes:_t({},z.inner),children:[M6(_t({tag:A.tag,attributes:_t(_t({},A.attributes),z.path)},V))]},B={tag:"g",attributes:_t({},z.outer),children:[L]},it="mask-".concat(b||LE()),k="clip-".concat(b||LE()),P={tag:"mask",attributes:_t(_t({},y3),{},{id:it,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[_,B]},tt={tag:"defs",children:[{tag:"clipPath",attributes:{id:k},children:e9(D)},P]};return f.push(tt,{tag:"rect",attributes:_t({fill:"currentColor","clip-path":"url(#".concat(k,")"),mask:"url(#".concat(it,")")},y3)}),{children:f,attributes:m}}}},a9={provides:function(s){var d=!1;Ar.matchMedia&&(d=Ar.matchMedia("(prefers-reduced-motion: reduce)").matches),s.missingIconAbstract=function(){var f=[],m={fill:"currentColor"},p={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};f.push({tag:"path",attributes:_t(_t({},m),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var g=_t(_t({},p),{},{attributeName:"opacity"}),b={tag:"circle",attributes:_t(_t({},m),{},{cx:"256",cy:"364",r:"28"}),children:[]};return d||b.children.push({tag:"animate",attributes:_t(_t({},p),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:_t(_t({},g),{},{values:"1;0;1;1;0;1;"})}),f.push(b),f.push({tag:"path",attributes:_t(_t({},m),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:d?[]:[{tag:"animate",attributes:_t(_t({},g),{},{values:"1;0;0;0;0;1;"})}]}),d||f.push({tag:"path",attributes:_t(_t({},m),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:_t(_t({},g),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:f}}}},l9={hooks:function(){return{parseNodeAttributes:function(d,f){var m=f.getAttribute("data-fa-symbol"),p=m===null?!1:m===""?!0:m;return d.symbol=p,d}}}},i9=[$R,Yw,qw,Gw,Xw,Ww,Pw,t9,n9,a9,l9];dw(i9,{mixoutsTo:ai}),ai.noAuto;var d0=ai.config,o9=ai.library;ai.dom;var C6=ai.parse;ai.findIconDefinition,ai.toHtml;var u9=ai.icon;ai.layer,ai.text,ai.counter;function s9(i){return i=i-0,i===i}function O6(i){return s9(i)?i:(i=i.replace(/[_-]+(.)?/g,(s,d)=>d?d.toUpperCase():""),i.charAt(0).toLowerCase()+i.slice(1))}function r9(i){return i.charAt(0).toUpperCase()+i.slice(1)}var vh=new Map,c9=1e3;function f9(i){if(vh.has(i))return vh.get(i);const s={};let d=0;const f=i.length;for(;d<f;){const m=i.indexOf(";",d),p=m===-1?f:m,g=i.slice(d,p).trim();if(g){const b=g.indexOf(":");if(b>0){const x=g.slice(0,b).trim(),M=g.slice(b+1).trim();if(x&&M){const A=O6(x);s[A.startsWith("webkit")?r9(A):A]=M}}}d=p+1}if(vh.size===c9){const m=vh.keys().next().value;m&&vh.delete(m)}return vh.set(i,s),s}function z6(i,s,d={}){if(typeof s=="string")return s;const f=(s.children||[]).map(A=>z6(i,A)),m=s.attributes||{},p={};for(const[A,E]of Object.entries(m))switch(!0){case A==="class":{p.className=E;break}case A==="style":{p.style=f9(String(E));break}case A.startsWith("aria-"):case A.startsWith("data-"):{p[A.toLowerCase()]=E;break}default:p[O6(A)]=E}const{style:g,role:b,"aria-label":x,...M}=d;return g&&(p.style=p.style?{...p.style,...g}:g),b&&(p.role=b),x&&(p["aria-label"]=x,p["aria-hidden"]="false"),i(s.tag,{...M,...p},...f)}var d9=z6.bind(null,Ot.createElement),R6=(i,s)=>{const d=Ot.useId();return i||(s?d:void 0)},h9=class{constructor(i="react-fontawesome"){this.enabled=!1;let s=!1;try{s=typeof process<"u"&&process.env.NODE_ENV==="development"}catch{}this.scope=i,this.enabled=s}log(...i){this.enabled&&console.log(`[${this.scope}]`,...i)}warn(...i){this.enabled&&console.warn(`[${this.scope}]`,...i)}error(...i){this.enabled&&console.error(`[${this.scope}]`,...i)}};typeof process<"u"&&process.env.FA_VERSION;var m9="searchPseudoElementsFullScan"in d0?"7.0.0":"6.0.0",p9=Number.parseInt(m9)>=7,h0="fa",us={beat:"fa-beat",fade:"fa-fade",beatFade:"fa-beat-fade",bounce:"fa-bounce",shake:"fa-shake",spin:"fa-spin",spinPulse:"fa-spin-pulse",spinReverse:"fa-spin-reverse",pulse:"fa-pulse"},y9={left:"fa-pull-left",right:"fa-pull-right"},g9={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},v9={"2xs":"fa-2xs",xs:"fa-xs",sm:"fa-sm",lg:"fa-lg",xl:"fa-xl","2xl":"fa-2xl","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x"},ss={border:"fa-border",fixedWidth:"fa-fw",flip:"fa-flip",flipHorizontal:"fa-flip-horizontal",flipVertical:"fa-flip-vertical",inverse:"fa-inverse",rotateBy:"fa-rotate-by",swapOpacity:"fa-swap-opacity",widthAuto:"fa-width-auto"};function b9(i){const s=d0.cssPrefix||d0.familyPrefix||h0;return s===h0?i:i.replace(new RegExp(String.raw`(?<=^|\s)${h0}-`,"g"),`${s}-`)}function S9(i){const{beat:s,fade:d,beatFade:f,bounce:m,shake:p,spin:g,spinPulse:b,spinReverse:x,pulse:M,fixedWidth:A,inverse:E,border:D,flip:z,size:_,rotation:V,pull:L,swapOpacity:B,rotateBy:it,widthAuto:k,className:P}=i,tt=[];return P&&tt.push(...P.split(" ")),s&&tt.push(us.beat),d&&tt.push(us.fade),f&&tt.push(us.beatFade),m&&tt.push(us.bounce),p&&tt.push(us.shake),g&&tt.push(us.spin),x&&tt.push(us.spinReverse),b&&tt.push(us.spinPulse),M&&tt.push(us.pulse),A&&tt.push(ss.fixedWidth),E&&tt.push(ss.inverse),D&&tt.push(ss.border),z===!0&&tt.push(ss.flip),(z==="horizontal"||z==="both")&&tt.push(ss.flipHorizontal),(z==="vertical"||z==="both")&&tt.push(ss.flipVertical),_!=null&&tt.push(v9[_]),V!=null&&V!==0&&tt.push(g9[V]),L!=null&&tt.push(y9[L]),B&&tt.push(ss.swapOpacity),p9?(it&&tt.push(ss.rotateBy),k&&tt.push(ss.widthAuto),(d0.cssPrefix||d0.familyPrefix||h0)===h0?tt:tt.map(b9)):tt}var A9=i=>typeof i=="object"&&"icon"in i&&!!i.icon;function w6(i){if(i)return A9(i)?i:C6.icon(i)}function T9(i){return Object.keys(i)}var U6=new h9("FontAwesomeIcon"),_6={border:!1,className:"",mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1},E9=new Set(Object.keys(_6)),li=Ot.forwardRef((i,s)=>{const d={..._6,...i},{icon:f,mask:m,symbol:p,title:g,titleId:b,maskId:x,transform:M}=d,A=R6(x,!!m),E=R6(b,!!g),D=w6(f);if(!D)return U6.error("Icon lookup is undefined",f),null;const z=S9(d),_=typeof M=="string"?C6.transform(M):M,V=w6(m),L=u9(D,{...z.length>0&&{classes:z},..._&&{transform:_},...V&&{mask:V},symbol:p,title:g,titleId:E,maskId:A});if(!L)return U6.error("Could not find icon",D),null;const{abstract:B}=L,it={ref:s};for(const k of T9(d))E9.has(k)||(it[k]=d[k]);return d9(B[0],it)});li.displayName="FontAwesomeIcon";function x9({headingBlock:i,modifyHeading:s}){return ot.jsx("input",{type:"text",className:"border-b heading",placeholder:"Heading...",autoFocus:!0,value:i.data.text,onChange:d=>s({headingBlockId:i.id,newContent:d.target.value,level:1})})}function D9({headingBlock:i}){return ot.jsx("h2",{className:"heading",children:i.data.text},i.id)}function M9({subheadingBlock:i,modifySubheading:s}){return ot.jsx("input",{type:"text",className:"border-b subheading",placeholder:"sub heading ...",autoFocus:!0,value:i.data.text,onChange:d=>s({subheadingBlockId:i.id,newContent:d.target.value})})}function C9({subheadingBlock:i}){return ot.jsx("h2",{className:"subheading",children:i.data.text},i.id)}function O9({paragraphBlock:i,modifyParagraph:s}){return ot.jsx("textarea",{className:"border-b paragraph",placeholder:"Write something...",autoFocus:!0,value:i.data.text,onChange:d=>s({paragraphBlockId:i.id,newContent:d.target.value})})}function z9({paragraphBlock:i}){return ot.jsx("p",{className:"paragraph",children:i.data.text},i.id)}function R9({listBlock:i,modifyList:s}){return ot.jsx("input",{type:"text",className:"border-b w-full list",placeholder:"separate items using comma",autoFocus:!0,value:i.data.items.join(","),onChange:d=>s({listBlockId:i.id,listStyle:i.data.listStyle,items:d.target.value.split(",").map(f=>f.trim())})})}function w9({listBlock:i}){return ot.jsx("ul",{className:"list-disc pl-5 list",children:i.data.items.map((s,d)=>ot.jsx("li",{children:s},d))},i.id)}function U9({quoteBlock:i,modifyQuote:s}){return ot.jsx("input",{type:"text",className:"border-b quote",placeholder:"Quote...",autoFocus:!0,value:i.data.text,onChange:d=>s({quoteBlockId:i.id,newContent:d.target.value,author:i.data.author})})}function _9({quoteBlock:i}){return ot.jsx("blockquote",{className:"quote",children:i.data.text},i.id)}function N9({tableBlock:i,modifyTable:s}){const{data:d}=i;if(!d?.body?.length)return null;const f={rows:d.body.at(-1)?.id[0]??0,cols:d.body.at(-1)?.id[1]??0};return ot.jsxs("table",{className:"mt-4",children:[ot.jsx("thead",{children:ot.jsx("tr",{children:i.data?.head?.map((m,p)=>ot.jsx("th",{className:"border p-2",children:ot.jsx("input",{type:"text",className:"outline-none w-full",autoFocus:!0,value:m.content,onChange:g=>{const b=i.data.head.map(M=>M.id===m.id?{...M,content:g.target.value}:M),x={...i.data,head:b};s({tableBlockId:i.id,tableContent:x})}})},p))})}),ot.jsx("tbody",{children:Array.from({length:f.rows+1},(m,p)=>{const g=[];for(let b=0;b<=f.cols;b++)g.push(ot.jsx("td",{className:"border p-2",children:ot.jsx("input",{type:"text",className:"outline-none w-full",placeholder:`Row ${p+1}, Col ${b+1}`,value:d.body.find(x=>x.id[0]===p&&x.id[1]===b)?.content||"",onChange:x=>{const M=d.body.map(E=>E.id[0]===p&&E.id[1]===b?{...E,content:x.target.value}:E),A={...d,body:M};s({tableBlockId:i.id,tableContent:A})}})},`${p}-${b}`));return ot.jsx("tr",{children:g},p)})})]})}function j9({tableBlock:i}){if(!i.data||!i.data.head||!i.data.body)return null;const{head:s,body:d}=i.data,f=s.length,m=d.reduce((p,g,b)=>{const x=Math.floor(b/f);return p[x]||(p[x]=[]),p[x].push(g),p},[]);return ot.jsxs("table",{className:"w-full",children:[ot.jsx("thead",{children:ot.jsx("tr",{children:s.map(p=>ot.jsx("th",{className:"border p-2",children:p.content},p.id))})}),ot.jsx("tbody",{children:m.map((p,g)=>ot.jsx("tr",{children:p.map(b=>ot.jsx("td",{className:"border p-2",children:b.content},b.id.join("-")))},g))})]},i.id)}function H9({handleClick:i}){const[s,d]=Ot.useState(!1),[f,m]=Ot.useState(0),[p,g]=Ot.useState(0),[b,x]=Ot.useState({rows:2,cols:2}),M=10;Ot.useEffect(()=>{f<0&&m(0),p<0&&g(0),x({rows:f,cols:p})},[f,p]);const A=()=>{d(!1),i("table",b)};return ot.jsxs("div",{className:"relative",children:[ot.jsx(li,{icon:["fas","angle-down"],onClick:()=>d(E=>!E)}),s?ot.jsxs("div",{className:"absolute -translate-x-[40px] translate-y-[10px] bg-white flex flex-col gap-1 w-40 h-50 border border-gray-600 rounded-[10px] cursor-pointer p-2",children:[ot.jsxs("div",{className:"flex w-full gap-1",children:[ot.jsx("input",{className:"w-[40px] underline text-center border rounded-[5px]",type:"number",value:f,onChange:E=>m(E.target.value)}),"x",ot.jsx("input",{className:"w-[40px] underline text-center border rounded-[5px]",type:"number",value:p,onChange:E=>g(E.target.value)}),ot.jsx("button",{className:"border rounded-[5px] leading-none px-1 border-(--draftify-theme-color) text-(--draftify-theme-color) cursor-pointer hover:bg-(--draftify-theme-color) hover:text-white",onClick:A,children:"enter"})]}),[...Array(M)].map((E,D)=>ot.jsx("div",{className:"flex gap-1",children:[...Array(M)].map((z,_)=>ot.jsx("div",{className:`flex-1 h-3 border border-gray-600 rounded-2 ${D<=b.rows&&_<=b.cols?"bg-blue-400":"bg-gray-200"}`,onMouseEnter:()=>{m(D),g(_)},onMouseLeave:()=>x({rows:0,cols:0}),onClick:A},`${D}-${_}`))},D))]}):null]})}function B9(i,s){return s.forEach((function(d){d&&typeof d!="string"&&!Array.isArray(d)&&Object.keys(d).forEach((function(f){if(f!=="default"&&!(f in i)){var m=Object.getOwnPropertyDescriptor(d,f);Object.defineProperty(i,f,m.get?m:{enumerable:!0,get:function(){return d[f]}})}}))})),Object.freeze(i)}function N6(i,s){return new Promise((function(d,f){let m;return V9(i).then((function(p){try{return m=p,d(new Blob([s.slice(0,2),m,s.slice(2)],{type:"image/jpeg"}))}catch(g){return f(g)}}),f)}))}const V9=i=>new Promise(((s,d)=>{const f=new FileReader;f.addEventListener("load",(({target:{result:m}})=>{const p=new DataView(m);let g=0;if(p.getUint16(g)!==65496)return d("not a valid JPEG");for(g+=2;;){const b=p.getUint16(g);if(b===65498)break;const x=p.getUint16(g+2);if(b===65505&&p.getUint32(g+4)===1165519206){const M=g+10;let A;switch(p.getUint16(M)){case 18761:A=!0;break;case 19789:A=!1;break;default:return d("TIFF header contains invalid endian")}if(p.getUint16(M+2,A)!==42)return d("TIFF header contains invalid version");const E=p.getUint32(M+4,A),D=M+E+2+12*p.getUint16(M+E,A);for(let z=M+E+2;z<D;z+=12)if(p.getUint16(z,A)==274){if(p.getUint16(z+2,A)!==3)return d("Orientation data type is invalid");if(p.getUint32(z+4,A)!==1)return d("Orientation data count is invalid");p.setUint16(z+8,1,A);break}return s(m.slice(g,g+2+x))}g+=2+x}return s(new Blob)})),f.readAsArrayBuffer(i)}));var Z1={},L9={get exports(){return Z1},set exports(i){Z1=i}};(function(i){var s,d,f={};L9.exports=f,f.parse=function(m,p){for(var g=f.bin.readUshort,b=f.bin.readUint,x=0,M={},A=new Uint8Array(m),E=A.length-4;b(A,E)!=101010256;)E--;x=E,x+=4;var D=g(A,x+=4);g(A,x+=2);var z=b(A,x+=2),_=b(A,x+=4);x+=4,x=_;for(var V=0;V<D;V++){b(A,x),x+=4,x+=4,x+=4,b(A,x+=4),z=b(A,x+=4);var L=b(A,x+=4),B=g(A,x+=4),it=g(A,x+2),k=g(A,x+4);x+=6;var P=b(A,x+=8);x+=4,x+=B+it+k,f._readLocal(A,P,M,z,L,p)}return M},f._readLocal=function(m,p,g,b,x,M){var A=f.bin.readUshort,E=f.bin.readUint;E(m,p),A(m,p+=4),A(m,p+=2);var D=A(m,p+=2);E(m,p+=2),E(m,p+=4),p+=4;var z=A(m,p+=8),_=A(m,p+=2);p+=2;var V=f.bin.readUTF8(m,p,z);if(p+=z,p+=_,M)g[V]={size:x,csize:b};else{var L=new Uint8Array(m.buffer,p);if(D==0)g[V]=new Uint8Array(L.buffer.slice(p,p+b));else{if(D!=8)throw"unknown compression method: "+D;var B=new Uint8Array(x);f.inflateRaw(L,B),g[V]=B}}},f.inflateRaw=function(m,p){return f.F.inflate(m,p)},f.inflate=function(m,p){return m[0],m[1],f.inflateRaw(new Uint8Array(m.buffer,m.byteOffset+2,m.length-6),p)},f.deflate=function(m,p){p==null&&(p={level:6});var g=0,b=new Uint8Array(50+Math.floor(1.1*m.length));b[g]=120,b[g+1]=156,g+=2,g=f.F.deflateRaw(m,b,g,p.level);var x=f.adler(m,0,m.length);return b[g+0]=x>>>24&255,b[g+1]=x>>>16&255,b[g+2]=x>>>8&255,b[g+3]=x>>>0&255,new Uint8Array(b.buffer,0,g+4)},f.deflateRaw=function(m,p){p==null&&(p={level:6});var g=new Uint8Array(50+Math.floor(1.1*m.length)),b=f.F.deflateRaw(m,g,b,p.level);return new Uint8Array(g.buffer,0,b)},f.encode=function(m,p){p==null&&(p=!1);var g=0,b=f.bin.writeUint,x=f.bin.writeUshort,M={};for(var A in m){var E=!f._noNeed(A)&&!p,D=m[A],z=f.crc.crc(D,0,D.length);M[A]={cpr:E,usize:D.length,crc:z,file:E?f.deflateRaw(D):D}}for(var A in M)g+=M[A].file.length+30+46+2*f.bin.sizeUTF8(A);g+=22;var _=new Uint8Array(g),V=0,L=[];for(var A in M){var B=M[A];L.push(V),V=f._writeHeader(_,V,A,B,0)}var it=0,k=V;for(var A in M)B=M[A],L.push(V),V=f._writeHeader(_,V,A,B,1,L[it++]);var P=V-k;return b(_,V,101010256),V+=4,x(_,V+=4,it),x(_,V+=2,it),b(_,V+=2,P),b(_,V+=4,k),V+=4,V+=2,_.buffer},f._noNeed=function(m){var p=m.split(".").pop().toLowerCase();return"png,jpg,jpeg,zip".indexOf(p)!=-1},f._writeHeader=function(m,p,g,b,x,M){var A=f.bin.writeUint,E=f.bin.writeUshort,D=b.file;return A(m,p,x==0?67324752:33639248),p+=4,x==1&&(p+=2),E(m,p,20),E(m,p+=2,0),E(m,p+=2,b.cpr?8:0),A(m,p+=2,0),A(m,p+=4,b.crc),A(m,p+=4,D.length),A(m,p+=4,b.usize),E(m,p+=4,f.bin.sizeUTF8(g)),E(m,p+=2,0),p+=2,x==1&&(p+=2,p+=2,A(m,p+=6,M),p+=4),p+=f.bin.writeUTF8(m,p,g),x==0&&(m.set(D,p),p+=D.length),p},f.crc={table:(function(){for(var m=new Uint32Array(256),p=0;p<256;p++){for(var g=p,b=0;b<8;b++)1&g?g=3988292384^g>>>1:g>>>=1;m[p]=g}return m})(),update:function(m,p,g,b){for(var x=0;x<b;x++)m=f.crc.table[255&(m^p[g+x])]^m>>>8;return m},crc:function(m,p,g){return 4294967295^f.crc.update(4294967295,m,p,g)}},f.adler=function(m,p,g){for(var b=1,x=0,M=p,A=p+g;M<A;){for(var E=Math.min(M+5552,A);M<E;)x+=b+=m[M++];b%=65521,x%=65521}return x<<16|b},f.bin={readUshort:function(m,p){return m[p]|m[p+1]<<8},writeUshort:function(m,p,g){m[p]=255&g,m[p+1]=g>>8&255},readUint:function(m,p){return 16777216*m[p+3]+(m[p+2]<<16|m[p+1]<<8|m[p])},writeUint:function(m,p,g){m[p]=255&g,m[p+1]=g>>8&255,m[p+2]=g>>16&255,m[p+3]=g>>24&255},readASCII:function(m,p,g){for(var b="",x=0;x<g;x++)b+=String.fromCharCode(m[p+x]);return b},writeASCII:function(m,p,g){for(var b=0;b<g.length;b++)m[p+b]=g.charCodeAt(b)},pad:function(m){return m.length<2?"0"+m:m},readUTF8:function(m,p,g){for(var b,x="",M=0;M<g;M++)x+="%"+f.bin.pad(m[p+M].toString(16));try{b=decodeURIComponent(x)}catch{return f.bin.readASCII(m,p,g)}return b},writeUTF8:function(m,p,g){for(var b=g.length,x=0,M=0;M<b;M++){var A=g.charCodeAt(M);if((4294967168&A)==0)m[p+x]=A,x++;else if((4294965248&A)==0)m[p+x]=192|A>>6,m[p+x+1]=128|A>>0&63,x+=2;else if((4294901760&A)==0)m[p+x]=224|A>>12,m[p+x+1]=128|A>>6&63,m[p+x+2]=128|A>>0&63,x+=3;else{if((4292870144&A)!=0)throw"e";m[p+x]=240|A>>18,m[p+x+1]=128|A>>12&63,m[p+x+2]=128|A>>6&63,m[p+x+3]=128|A>>0&63,x+=4}}return x},sizeUTF8:function(m){for(var p=m.length,g=0,b=0;b<p;b++){var x=m.charCodeAt(b);if((4294967168&x)==0)g++;else if((4294965248&x)==0)g+=2;else if((4294901760&x)==0)g+=3;else{if((4292870144&x)!=0)throw"e";g+=4}}return g}},f.F={},f.F.deflateRaw=function(m,p,g,b){var x=[[0,0,0,0,0],[4,4,8,4,0],[4,5,16,8,0],[4,6,16,16,0],[4,10,16,32,0],[8,16,32,32,0],[8,16,128,128,0],[8,32,128,256,0],[32,128,258,1024,1],[32,258,258,4096,1]][b],M=f.F.U,A=f.F._goodIndex;f.F._hash;var E=f.F._putsE,D=0,z=g<<3,_=0,V=m.length;if(b==0){for(;D<V;)E(p,z,D+(at=Math.min(65535,V-D))==V?1:0),z=f.F._copyExact(m,D,at,p,z+8),D+=at;return z>>>3}var L=M.lits,B=M.strt,it=M.prev,k=0,P=0,tt=0,Y=0,rt=0,j=0;for(V>2&&(B[j=f.F._hash(m,0)]=0),D=0;D<V;D++){if(rt=j,D+1<V-2){j=f.F._hash(m,D+1);var H=D+1&32767;it[H]=B[j],B[j]=H}if(_<=D){(k>14e3||P>26697)&&V-D>100&&(_<D&&(L[k]=D-_,k+=2,_=D),z=f.F._writeBlock(D==V-1||_==V?1:0,L,k,Y,m,tt,D-tt,p,z),k=P=Y=0,tt=D);var q=0;D<V-2&&(q=f.F._bestMatch(m,D,it,rt,Math.min(x[2],V-D),x[3]));var at=q>>>16,K=65535&q;if(q!=0){K=65535&q;var lt=A(at=q>>>16,M.of0);M.lhst[257+lt]++;var et=A(K,M.df0);M.dhst[et]++,Y+=M.exb[lt]+M.dxb[et],L[k]=at<<23|D-_,L[k+1]=K<<16|lt<<8|et,k+=2,_=D+at}else M.lhst[m[D]]++;P++}}for(tt==D&&m.length!=0||(_<D&&(L[k]=D-_,k+=2,_=D),z=f.F._writeBlock(1,L,k,Y,m,tt,D-tt,p,z),k=0,P=0,k=P=Y=0,tt=D);(7&z)!=0;)z++;return z>>>3},f.F._bestMatch=function(m,p,g,b,x,M){var A=32767&p,E=g[A],D=A-E+32768&32767;if(E==A||b!=f.F._hash(m,p-D))return 0;for(var z=0,_=0,V=Math.min(32767,p);D<=V&&--M!=0&&E!=A;){if(z==0||m[p+z]==m[p+z-D]){var L=f.F._howLong(m,p,D);if(L>z){if(_=D,(z=L)>=x)break;D+2<L&&(L=D+2);for(var B=0,it=0;it<L-2;it++){var k=p-D+it+32768&32767,P=k-g[k]+32768&32767;P>B&&(B=P,E=k)}}}D+=(A=E)-(E=g[A])+32768&32767}return z<<16|_},f.F._howLong=function(m,p,g){if(m[p]!=m[p-g]||m[p+1]!=m[p+1-g]||m[p+2]!=m[p+2-g])return 0;var b=p,x=Math.min(m.length,p+258);for(p+=3;p<x&&m[p]==m[p-g];)p++;return p-b},f.F._hash=function(m,p){return(m[p]<<8|m[p+1])+(m[p+2]<<4)&65535},f.saved=0,f.F._writeBlock=function(m,p,g,b,x,M,A,E,D){var z,_,V,L,B,it,k,P,tt,Y=f.F.U,rt=f.F._putsF,j=f.F._putsE;Y.lhst[256]++,_=(z=f.F.getTrees())[0],V=z[1],L=z[2],B=z[3],it=z[4],k=z[5],P=z[6],tt=z[7];var H=32+((D+3&7)==0?0:8-(D+3&7))+(A<<3),q=b+f.F.contSize(Y.fltree,Y.lhst)+f.F.contSize(Y.fdtree,Y.dhst),at=b+f.F.contSize(Y.ltree,Y.lhst)+f.F.contSize(Y.dtree,Y.dhst);at+=14+3*k+f.F.contSize(Y.itree,Y.ihst)+(2*Y.ihst[16]+3*Y.ihst[17]+7*Y.ihst[18]);for(var K=0;K<286;K++)Y.lhst[K]=0;for(K=0;K<30;K++)Y.dhst[K]=0;for(K=0;K<19;K++)Y.ihst[K]=0;var lt=H<q&&H<at?0:q<at?1:2;if(rt(E,D,m),rt(E,D+1,lt),D+=3,lt==0){for(;(7&D)!=0;)D++;D=f.F._copyExact(x,M,A,E,D)}else{var et,ct;if(lt==1&&(et=Y.fltree,ct=Y.fdtree),lt==2){f.F.makeCodes(Y.ltree,_),f.F.revCodes(Y.ltree,_),f.F.makeCodes(Y.dtree,V),f.F.revCodes(Y.dtree,V),f.F.makeCodes(Y.itree,L),f.F.revCodes(Y.itree,L),et=Y.ltree,ct=Y.dtree,j(E,D,B-257),j(E,D+=5,it-1),j(E,D+=5,k-4),D+=4;for(var R=0;R<k;R++)j(E,D+3*R,Y.itree[1+(Y.ordr[R]<<1)]);D+=3*k,D=f.F._codeTiny(P,Y.itree,E,D),D=f.F._codeTiny(tt,Y.itree,E,D)}for(var w=M,J=0;J<g;J+=2){for(var F=p[J],dt=F>>>23,ut=w+(8388607&F);w<ut;)D=f.F._writeLit(x[w++],et,E,D);if(dt!=0){var pt=p[J+1],Et=pt>>16,ht=pt>>8&255,bt=255&pt;j(E,D=f.F._writeLit(257+ht,et,E,D),dt-Y.of0[ht]),D+=Y.exb[ht],rt(E,D=f.F._writeLit(bt,ct,E,D),Et-Y.df0[bt]),D+=Y.dxb[bt],w+=dt}}D=f.F._writeLit(256,et,E,D)}return D},f.F._copyExact=function(m,p,g,b,x){var M=x>>>3;return b[M]=g,b[M+1]=g>>>8,b[M+2]=255-b[M],b[M+3]=255-b[M+1],M+=4,b.set(new Uint8Array(m.buffer,p,g),M),x+(g+4<<3)},f.F.getTrees=function(){for(var m=f.F.U,p=f.F._hufTree(m.lhst,m.ltree,15),g=f.F._hufTree(m.dhst,m.dtree,15),b=[],x=f.F._lenCodes(m.ltree,b),M=[],A=f.F._lenCodes(m.dtree,M),E=0;E<b.length;E+=2)m.ihst[b[E]]++;for(E=0;E<M.length;E+=2)m.ihst[M[E]]++;for(var D=f.F._hufTree(m.ihst,m.itree,7),z=19;z>4&&m.itree[1+(m.ordr[z-1]<<1)]==0;)z--;return[p,g,D,x,A,z,b,M]},f.F.getSecond=function(m){for(var p=[],g=0;g<m.length;g+=2)p.push(m[g+1]);return p},f.F.nonZero=function(m){for(var p="",g=0;g<m.length;g+=2)m[g+1]!=0&&(p+=(g>>1)+",");return p},f.F.contSize=function(m,p){for(var g=0,b=0;b<p.length;b++)g+=p[b]*m[1+(b<<1)];return g},f.F._codeTiny=function(m,p,g,b){for(var x=0;x<m.length;x+=2){var M=m[x],A=m[x+1];b=f.F._writeLit(M,p,g,b);var E=M==16?2:M==17?3:7;M>15&&(f.F._putsE(g,b,A,E),b+=E)}return b},f.F._lenCodes=function(m,p){for(var g=m.length;g!=2&&m[g-1]==0;)g-=2;for(var b=0;b<g;b+=2){var x=m[b+1],M=b+3<g?m[b+3]:-1,A=b+5<g?m[b+5]:-1,E=b==0?-1:m[b-1];if(x==0&&M==x&&A==x){for(var D=b+5;D+2<g&&m[D+2]==x;)D+=2;(z=Math.min(D+1-b>>>1,138))<11?p.push(17,z-3):p.push(18,z-11),b+=2*z-2}else if(x==E&&M==x&&A==x){for(D=b+5;D+2<g&&m[D+2]==x;)D+=2;var z=Math.min(D+1-b>>>1,6);p.push(16,z-3),b+=2*z-2}else p.push(x,0)}return g>>>1},f.F._hufTree=function(m,p,g){var b=[],x=m.length,M=p.length,A=0;for(A=0;A<M;A+=2)p[A]=0,p[A+1]=0;for(A=0;A<x;A++)m[A]!=0&&b.push({lit:A,f:m[A]});var E=b.length,D=b.slice(0);if(E==0)return 0;if(E==1){var z=b[0].lit;return D=z==0?1:0,p[1+(z<<1)]=1,p[1+(D<<1)]=1,1}b.sort((function(P,tt){return P.f-tt.f}));var _=b[0],V=b[1],L=0,B=1,it=2;for(b[0]={lit:-1,f:_.f+V.f,l:_,r:V,d:0};B!=E-1;)_=L!=B&&(it==E||b[L].f<b[it].f)?b[L++]:b[it++],V=L!=B&&(it==E||b[L].f<b[it].f)?b[L++]:b[it++],b[B++]={lit:-1,f:_.f+V.f,l:_,r:V};var k=f.F.setDepth(b[B-1],0);for(k>g&&(f.F.restrictDepth(D,g,k),k=g),A=0;A<E;A++)p[1+(D[A].lit<<1)]=D[A].d;return k},f.F.setDepth=function(m,p){return m.lit!=-1?(m.d=p,p):Math.max(f.F.setDepth(m.l,p+1),f.F.setDepth(m.r,p+1))},f.F.restrictDepth=function(m,p,g){var b=0,x=1<<g-p,M=0;for(m.sort((function(E,D){return D.d==E.d?E.f-D.f:D.d-E.d})),b=0;b<m.length&&m[b].d>p;b++){var A=m[b].d;m[b].d=p,M+=x-(1<<g-A)}for(M>>>=g-p;M>0;)(A=m[b].d)<p?(m[b].d++,M-=1<<p-A-1):b++;for(;b>=0;b--)m[b].d==p&&M<0&&(m[b].d--,M++);M!=0&&console.log("debt left")},f.F._goodIndex=function(m,p){var g=0;return p[16|g]<=m&&(g|=16),p[8|g]<=m&&(g|=8),p[4|g]<=m&&(g|=4),p[2|g]<=m&&(g|=2),p[1|g]<=m&&(g|=1),g},f.F._writeLit=function(m,p,g,b){return f.F._putsF(g,b,p[m<<1]),b+p[1+(m<<1)]},f.F.inflate=function(m,p){var g=Uint8Array;if(m[0]==3&&m[1]==0)return p||new g(0);var b=f.F,x=b._bitsF,M=b._bitsE,A=b._decodeTiny,E=b.makeCodes,D=b.codes2map,z=b._get17,_=b.U,V=p==null;V&&(p=new g(m.length>>>2<<3));for(var L,B,it=0,k=0,P=0,tt=0,Y=0,rt=0,j=0,H=0,q=0;it==0;)if(it=x(m,q,1),k=x(m,q+1,2),q+=3,k!=0){if(V&&(p=f.F._check(p,H+(1<<17))),k==1&&(L=_.flmap,B=_.fdmap,rt=511,j=31),k==2){P=M(m,q,5)+257,tt=M(m,q+5,5)+1,Y=M(m,q+10,4)+4,q+=14;for(var at=0;at<38;at+=2)_.itree[at]=0,_.itree[at+1]=0;var K=1;for(at=0;at<Y;at++){var lt=M(m,q+3*at,3);_.itree[1+(_.ordr[at]<<1)]=lt,lt>K&&(K=lt)}q+=3*Y,E(_.itree,K),D(_.itree,K,_.imap),L=_.lmap,B=_.dmap,q=A(_.imap,(1<<K)-1,P+tt,m,q,_.ttree);var et=b._copyOut(_.ttree,0,P,_.ltree);rt=(1<<et)-1;var ct=b._copyOut(_.ttree,P,tt,_.dtree);j=(1<<ct)-1,E(_.ltree,et),D(_.ltree,et,L),E(_.dtree,ct),D(_.dtree,ct,B)}for(;;){var R=L[z(m,q)&rt];q+=15&R;var w=R>>>4;if(!(w>>>8))p[H++]=w;else{if(w==256)break;var J=H+w-254;if(w>264){var F=_.ldef[w-257];J=H+(F>>>3)+M(m,q,7&F),q+=7&F}var dt=B[z(m,q)&j];q+=15&dt;var ut=dt>>>4,pt=_.ddef[ut],Et=(pt>>>4)+x(m,q,15&pt);for(q+=15&pt,V&&(p=f.F._check(p,H+(1<<17)));H<J;)p[H]=p[H++-Et],p[H]=p[H++-Et],p[H]=p[H++-Et],p[H]=p[H++-Et];H=J}}}else{(7&q)!=0&&(q+=8-(7&q));var ht=4+(q>>>3),bt=m[ht-4]|m[ht-3]<<8;V&&(p=f.F._check(p,H+bt)),p.set(new g(m.buffer,m.byteOffset+ht,bt),H),q=ht+bt<<3,H+=bt}return p.length==H?p:p.slice(0,H)},f.F._check=function(m,p){var g=m.length;if(p<=g)return m;var b=new Uint8Array(Math.max(g<<1,p));return b.set(m,0),b},f.F._decodeTiny=function(m,p,g,b,x,M){for(var A=f.F._bitsE,E=f.F._get17,D=0;D<g;){var z=m[E(b,x)&p];x+=15&z;var _=z>>>4;if(_<=15)M[D]=_,D++;else{var V=0,L=0;_==16?(L=3+A(b,x,2),x+=2,V=M[D-1]):_==17?(L=3+A(b,x,3),x+=3):_==18&&(L=11+A(b,x,7),x+=7);for(var B=D+L;D<B;)M[D]=V,D++}}return x},f.F._copyOut=function(m,p,g,b){for(var x=0,M=0,A=b.length>>>1;M<g;){var E=m[M+p];b[M<<1]=0,b[1+(M<<1)]=E,E>x&&(x=E),M++}for(;M<A;)b[M<<1]=0,b[1+(M<<1)]=0,M++;return x},f.F.makeCodes=function(m,p){for(var g,b,x,M,A=f.F.U,E=m.length,D=A.bl_count,z=0;z<=p;z++)D[z]=0;for(z=1;z<E;z+=2)D[m[z]]++;var _=A.next_code;for(g=0,D[0]=0,b=1;b<=p;b++)g=g+D[b-1]<<1,_[b]=g;for(x=0;x<E;x+=2)(M=m[x+1])!=0&&(m[x]=_[M],_[M]++)},f.F.codes2map=function(m,p,g){for(var b=m.length,x=f.F.U.rev15,M=0;M<b;M+=2)if(m[M+1]!=0)for(var A=M>>1,E=m[M+1],D=A<<4|E,z=p-E,_=m[M]<<z,V=_+(1<<z);_!=V;)g[x[_]>>>15-p]=D,_++},f.F.revCodes=function(m,p){for(var g=f.F.U.rev15,b=15-p,x=0;x<m.length;x+=2){var M=m[x]<<p-m[x+1];m[x]=g[M]>>>b}},f.F._putsE=function(m,p,g){g<<=7&p;var b=p>>>3;m[b]|=g,m[b+1]|=g>>>8},f.F._putsF=function(m,p,g){g<<=7&p;var b=p>>>3;m[b]|=g,m[b+1]|=g>>>8,m[b+2]|=g>>>16},f.F._bitsE=function(m,p,g){return(m[p>>>3]|m[1+(p>>>3)]<<8)>>>(7&p)&(1<<g)-1},f.F._bitsF=function(m,p,g){return(m[p>>>3]|m[1+(p>>>3)]<<8|m[2+(p>>>3)]<<16)>>>(7&p)&(1<<g)-1},f.F._get17=function(m,p){return(m[p>>>3]|m[1+(p>>>3)]<<8|m[2+(p>>>3)]<<16)>>>(7&p)},f.F._get25=function(m,p){return(m[p>>>3]|m[1+(p>>>3)]<<8|m[2+(p>>>3)]<<16|m[3+(p>>>3)]<<24)>>>(7&p)},f.F.U=(s=Uint16Array,d=Uint32Array,{next_code:new s(16),bl_count:new s(16),ordr:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],of0:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],exb:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],ldef:new s(32),df0:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],dxb:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],ddef:new d(32),flmap:new s(512),fltree:[],fdmap:new s(32),fdtree:[],lmap:new s(32768),ltree:[],ttree:[],dmap:new s(32768),dtree:[],imap:new s(512),itree:[],rev15:new s(32768),lhst:new d(286),dhst:new d(30),ihst:new d(19),lits:new d(15e3),strt:new s(65536),prev:new s(32768)}),(function(){for(var m=f.F.U,p=0;p<32768;p++){var g=p;g=(4278255360&(g=(4042322160&(g=(3435973836&(g=(2863311530&g)>>>1|(1431655765&g)<<1))>>>2|(858993459&g)<<2))>>>4|(252645135&g)<<4))>>>8|(16711935&g)<<8,m.rev15[p]=(g>>>16|g<<16)>>>17}function b(x,M,A){for(;M--!=0;)x.push(0,A)}for(p=0;p<32;p++)m.ldef[p]=m.of0[p]<<3|m.exb[p],m.ddef[p]=m.df0[p]<<4|m.dxb[p];b(m.fltree,144,8),b(m.fltree,112,9),b(m.fltree,24,7),b(m.fltree,8,8),f.F.makeCodes(m.fltree,9),f.F.codes2map(m.fltree,9,m.flmap),f.F.revCodes(m.fltree,9),b(m.fdtree,32,5),f.F.makeCodes(m.fdtree,5),f.F.codes2map(m.fdtree,5,m.fdmap),f.F.revCodes(m.fdtree,5),b(m.itree,19,0),b(m.ltree,286,0),b(m.dtree,30,0),b(m.ttree,320,0)})()})();var Y9=B9({__proto__:null,default:Z1},[Z1]);const _o=(function(){var i={nextZero(A,E){for(;A[E]!=0;)E++;return E},readUshort:(A,E)=>A[E]<<8|A[E+1],writeUshort(A,E,D){A[E]=D>>8&255,A[E+1]=255&D},readUint:(A,E)=>16777216*A[E]+(A[E+1]<<16|A[E+2]<<8|A[E+3]),writeUint(A,E,D){A[E]=D>>24&255,A[E+1]=D>>16&255,A[E+2]=D>>8&255,A[E+3]=255&D},readASCII(A,E,D){let z="";for(let _=0;_<D;_++)z+=String.fromCharCode(A[E+_]);return z},writeASCII(A,E,D){for(let z=0;z<D.length;z++)A[E+z]=D.charCodeAt(z)},readBytes(A,E,D){const z=[];for(let _=0;_<D;_++)z.push(A[E+_]);return z},pad:A=>A.length<2?`0${A}`:A,readUTF8(A,E,D){let z,_="";for(let V=0;V<D;V++)_+=`%${i.pad(A[E+V].toString(16))}`;try{z=decodeURIComponent(_)}catch{return i.readASCII(A,E,D)}return z}};function s(A,E,D,z){const _=E*D,V=p(z),L=Math.ceil(E*V/8),B=new Uint8Array(4*_),it=new Uint32Array(B.buffer),{ctype:k}=z,{depth:P}=z,tt=i.readUshort;if(k==6){const F=_<<2;if(P==8)for(var Y=0;Y<F;Y+=4)B[Y]=A[Y],B[Y+1]=A[Y+1],B[Y+2]=A[Y+2],B[Y+3]=A[Y+3];if(P==16)for(Y=0;Y<F;Y++)B[Y]=A[Y<<1]}else if(k==2){const F=z.tabs.tRNS;if(F==null){if(P==8)for(Y=0;Y<_;Y++){var rt=3*Y;it[Y]=255<<24|A[rt+2]<<16|A[rt+1]<<8|A[rt]}if(P==16)for(Y=0;Y<_;Y++)rt=6*Y,it[Y]=255<<24|A[rt+4]<<16|A[rt+2]<<8|A[rt]}else{var j=F[0];const dt=F[1],ut=F[2];if(P==8)for(Y=0;Y<_;Y++){var H=Y<<2;rt=3*Y,it[Y]=255<<24|A[rt+2]<<16|A[rt+1]<<8|A[rt],A[rt]==j&&A[rt+1]==dt&&A[rt+2]==ut&&(B[H+3]=0)}if(P==16)for(Y=0;Y<_;Y++)H=Y<<2,rt=6*Y,it[Y]=255<<24|A[rt+4]<<16|A[rt+2]<<8|A[rt],tt(A,rt)==j&&tt(A,rt+2)==dt&&tt(A,rt+4)==ut&&(B[H+3]=0)}}else if(k==3){const F=z.tabs.PLTE,dt=z.tabs.tRNS,ut=dt?dt.length:0;if(P==1)for(var q=0;q<D;q++){var at=q*L,K=q*E;for(Y=0;Y<E;Y++){H=K+Y<<2;var lt=3*(et=A[at+(Y>>3)]>>7-((7&Y)<<0)&1);B[H]=F[lt],B[H+1]=F[lt+1],B[H+2]=F[lt+2],B[H+3]=et<ut?dt[et]:255}}if(P==2)for(q=0;q<D;q++)for(at=q*L,K=q*E,Y=0;Y<E;Y++)H=K+Y<<2,lt=3*(et=A[at+(Y>>2)]>>6-((3&Y)<<1)&3),B[H]=F[lt],B[H+1]=F[lt+1],B[H+2]=F[lt+2],B[H+3]=et<ut?dt[et]:255;if(P==4)for(q=0;q<D;q++)for(at=q*L,K=q*E,Y=0;Y<E;Y++)H=K+Y<<2,lt=3*(et=A[at+(Y>>1)]>>4-((1&Y)<<2)&15),B[H]=F[lt],B[H+1]=F[lt+1],B[H+2]=F[lt+2],B[H+3]=et<ut?dt[et]:255;if(P==8)for(Y=0;Y<_;Y++){var et;H=Y<<2,lt=3*(et=A[Y]),B[H]=F[lt],B[H+1]=F[lt+1],B[H+2]=F[lt+2],B[H+3]=et<ut?dt[et]:255}}else if(k==4){if(P==8)for(Y=0;Y<_;Y++){H=Y<<2;var ct=A[R=Y<<1];B[H]=ct,B[H+1]=ct,B[H+2]=ct,B[H+3]=A[R+1]}if(P==16)for(Y=0;Y<_;Y++){var R;H=Y<<2,ct=A[R=Y<<2],B[H]=ct,B[H+1]=ct,B[H+2]=ct,B[H+3]=A[R+2]}}else if(k==0)for(j=z.tabs.tRNS?z.tabs.tRNS:-1,q=0;q<D;q++){const F=q*L,dt=q*E;if(P==1)for(var w=0;w<E;w++){var J=(ct=255*(A[F+(w>>>3)]>>>7-(7&w)&1))==255*j?0:255;it[dt+w]=J<<24|ct<<16|ct<<8|ct}else if(P==2)for(w=0;w<E;w++)J=(ct=85*(A[F+(w>>>2)]>>>6-((3&w)<<1)&3))==85*j?0:255,it[dt+w]=J<<24|ct<<16|ct<<8|ct;else if(P==4)for(w=0;w<E;w++)J=(ct=17*(A[F+(w>>>1)]>>>4-((1&w)<<2)&15))==17*j?0:255,it[dt+w]=J<<24|ct<<16|ct<<8|ct;else if(P==8)for(w=0;w<E;w++)J=(ct=A[F+w])==j?0:255,it[dt+w]=J<<24|ct<<16|ct<<8|ct;else if(P==16)for(w=0;w<E;w++)ct=A[F+(w<<1)],J=tt(A,F+(w<<1))==j?0:255,it[dt+w]=J<<24|ct<<16|ct<<8|ct}return B}function d(A,E,D,z){const _=p(A),V=Math.ceil(D*_/8),L=new Uint8Array((V+1+A.interlace)*z);return E=A.tabs.CgBI?m(E,L):f(E,L),A.interlace==0?E=g(E,A,0,D,z):A.interlace==1&&(E=(function(it,k){const P=k.width,tt=k.height,Y=p(k),rt=Y>>3,j=Math.ceil(P*Y/8),H=new Uint8Array(tt*j);let q=0;const at=[0,0,4,0,2,0,1],K=[0,4,0,2,0,1,0],lt=[8,8,8,4,4,2,2],et=[8,8,4,4,2,2,1];let ct=0;for(;ct<7;){const w=lt[ct],J=et[ct];let F=0,dt=0,ut=at[ct];for(;ut<tt;)ut+=w,dt++;let pt=K[ct];for(;pt<P;)pt+=J,F++;const Et=Math.ceil(F*Y/8);g(it,k,q,F,dt);let ht=0,bt=at[ct];for(;bt<tt;){let zt=K[ct],Rt=q+ht*Et<<3;for(;zt<P;){var R;if(Y==1&&(R=(R=it[Rt>>3])>>7-(7&Rt)&1,H[bt*j+(zt>>3)]|=R<<7-((7&zt)<<0)),Y==2&&(R=(R=it[Rt>>3])>>6-(7&Rt)&3,H[bt*j+(zt>>2)]|=R<<6-((3&zt)<<1)),Y==4&&(R=(R=it[Rt>>3])>>4-(7&Rt)&15,H[bt*j+(zt>>1)]|=R<<4-((1&zt)<<2)),Y>=8){const wt=bt*j+zt*rt;for(let Ht=0;Ht<rt;Ht++)H[wt+Ht]=it[(Rt>>3)+Ht]}Rt+=Y,zt+=J}ht++,bt+=w}F*dt!=0&&(q+=dt*(1+Et)),ct+=1}return H})(E,A)),E}function f(A,E){return m(new Uint8Array(A.buffer,2,A.length-6),E)}var m=(function(){const A={H:{}};return A.H.N=function(E,D){const z=Uint8Array;let _,V,L=0,B=0,it=0,k=0,P=0,tt=0,Y=0,rt=0,j=0;if(E[0]==3&&E[1]==0)return D||new z(0);const H=A.H,q=H.b,at=H.e,K=H.R,lt=H.n,et=H.A,ct=H.Z,R=H.m,w=D==null;for(w&&(D=new z(E.length>>>2<<5));L==0;)if(L=q(E,j,1),B=q(E,j+1,2),j+=3,B!=0){if(w&&(D=A.H.W(D,rt+(1<<17))),B==1&&(_=R.J,V=R.h,tt=511,Y=31),B==2){it=at(E,j,5)+257,k=at(E,j+5,5)+1,P=at(E,j+10,4)+4,j+=14;let F=1;for(var J=0;J<38;J+=2)R.Q[J]=0,R.Q[J+1]=0;for(J=0;J<P;J++){const pt=at(E,j+3*J,3);R.Q[1+(R.X[J]<<1)]=pt,pt>F&&(F=pt)}j+=3*P,lt(R.Q,F),et(R.Q,F,R.u),_=R.w,V=R.d,j=K(R.u,(1<<F)-1,it+k,E,j,R.v);const dt=H.V(R.v,0,it,R.C);tt=(1<<dt)-1;const ut=H.V(R.v,it,k,R.D);Y=(1<<ut)-1,lt(R.C,dt),et(R.C,dt,_),lt(R.D,ut),et(R.D,ut,V)}for(;;){const F=_[ct(E,j)&tt];j+=15&F;const dt=F>>>4;if(!(dt>>>8))D[rt++]=dt;else{if(dt==256)break;{let ut=rt+dt-254;if(dt>264){const zt=R.q[dt-257];ut=rt+(zt>>>3)+at(E,j,7&zt),j+=7&zt}const pt=V[ct(E,j)&Y];j+=15&pt;const Et=pt>>>4,ht=R.c[Et],bt=(ht>>>4)+q(E,j,15&ht);for(j+=15&ht;rt<ut;)D[rt]=D[rt++-bt],D[rt]=D[rt++-bt],D[rt]=D[rt++-bt],D[rt]=D[rt++-bt];rt=ut}}}}else{(7&j)!=0&&(j+=8-(7&j));const F=4+(j>>>3),dt=E[F-4]|E[F-3]<<8;w&&(D=A.H.W(D,rt+dt)),D.set(new z(E.buffer,E.byteOffset+F,dt),rt),j=F+dt<<3,rt+=dt}return D.length==rt?D:D.slice(0,rt)},A.H.W=function(E,D){const z=E.length;if(D<=z)return E;const _=new Uint8Array(z<<1);return _.set(E,0),_},A.H.R=function(E,D,z,_,V,L){const B=A.H.e,it=A.H.Z;let k=0;for(;k<z;){const P=E[it(_,V)&D];V+=15&P;const tt=P>>>4;if(tt<=15)L[k]=tt,k++;else{let Y=0,rt=0;tt==16?(rt=3+B(_,V,2),V+=2,Y=L[k-1]):tt==17?(rt=3+B(_,V,3),V+=3):tt==18&&(rt=11+B(_,V,7),V+=7);const j=k+rt;for(;k<j;)L[k]=Y,k++}}return V},A.H.V=function(E,D,z,_){let V=0,L=0;const B=_.length>>>1;for(;L<z;){const it=E[L+D];_[L<<1]=0,_[1+(L<<1)]=it,it>V&&(V=it),L++}for(;L<B;)_[L<<1]=0,_[1+(L<<1)]=0,L++;return V},A.H.n=function(E,D){const z=A.H.m,_=E.length;let V,L,B,it;const k=z.j;for(var P=0;P<=D;P++)k[P]=0;for(P=1;P<_;P+=2)k[E[P]]++;const tt=z.K;for(V=0,k[0]=0,L=1;L<=D;L++)V=V+k[L-1]<<1,tt[L]=V;for(B=0;B<_;B+=2)it=E[B+1],it!=0&&(E[B]=tt[it],tt[it]++)},A.H.A=function(E,D,z){const _=E.length,V=A.H.m.r;for(let L=0;L<_;L+=2)if(E[L+1]!=0){const B=L>>1,it=E[L+1],k=B<<4|it,P=D-it;let tt=E[L]<<P;const Y=tt+(1<<P);for(;tt!=Y;)z[V[tt]>>>15-D]=k,tt++}},A.H.l=function(E,D){const z=A.H.m.r,_=15-D;for(let V=0;V<E.length;V+=2){const L=E[V]<<D-E[V+1];E[V]=z[L]>>>_}},A.H.M=function(E,D,z){z<<=7&D;const _=D>>>3;E[_]|=z,E[_+1]|=z>>>8},A.H.I=function(E,D,z){z<<=7&D;const _=D>>>3;E[_]|=z,E[_+1]|=z>>>8,E[_+2]|=z>>>16},A.H.e=function(E,D,z){return(E[D>>>3]|E[1+(D>>>3)]<<8)>>>(7&D)&(1<<z)-1},A.H.b=function(E,D,z){return(E[D>>>3]|E[1+(D>>>3)]<<8|E[2+(D>>>3)]<<16)>>>(7&D)&(1<<z)-1},A.H.Z=function(E,D){return(E[D>>>3]|E[1+(D>>>3)]<<8|E[2+(D>>>3)]<<16)>>>(7&D)},A.H.i=function(E,D){return(E[D>>>3]|E[1+(D>>>3)]<<8|E[2+(D>>>3)]<<16|E[3+(D>>>3)]<<24)>>>(7&D)},A.H.m=(function(){const E=Uint16Array,D=Uint32Array;return{K:new E(16),j:new E(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new E(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new D(32),J:new E(512),_:[],h:new E(32),$:[],w:new E(32768),C:[],v:[],d:new E(32768),D:[],u:new E(512),Q:[],r:new E(32768),s:new D(286),Y:new D(30),a:new D(19),t:new D(15e3),k:new E(65536),g:new E(32768)}})(),(function(){const E=A.H.m;for(var D=0;D<32768;D++){let _=D;_=(2863311530&_)>>>1|(1431655765&_)<<1,_=(3435973836&_)>>>2|(858993459&_)<<2,_=(4042322160&_)>>>4|(252645135&_)<<4,_=(4278255360&_)>>>8|(16711935&_)<<8,E.r[D]=(_>>>16|_<<16)>>>17}function z(_,V,L){for(;V--!=0;)_.push(0,L)}for(D=0;D<32;D++)E.q[D]=E.S[D]<<3|E.T[D],E.c[D]=E.p[D]<<4|E.z[D];z(E._,144,8),z(E._,112,9),z(E._,24,7),z(E._,8,8),A.H.n(E._,9),A.H.A(E._,9,E.J),A.H.l(E._,9),z(E.$,32,5),A.H.n(E.$,5),A.H.A(E.$,5,E.h),A.H.l(E.$,5),z(E.Q,19,0),z(E.C,286,0),z(E.D,30,0),z(E.v,320,0)})(),A.H.N})();function p(A){return[1,null,3,1,2,null,4][A.ctype]*A.depth}function g(A,E,D,z,_){let V=p(E);const L=Math.ceil(z*V/8);let B,it;V=Math.ceil(V/8);let k=A[D],P=0;if(k>1&&(A[D]=[0,0,1][k-2]),k==3)for(P=V;P<L;P++)A[P+1]=A[P+1]+(A[P+1-V]>>>1)&255;for(let tt=0;tt<_;tt++)if(B=D+tt*L,it=B+tt+1,k=A[it-1],P=0,k==0)for(;P<L;P++)A[B+P]=A[it+P];else if(k==1){for(;P<V;P++)A[B+P]=A[it+P];for(;P<L;P++)A[B+P]=A[it+P]+A[B+P-V]}else if(k==2)for(;P<L;P++)A[B+P]=A[it+P]+A[B+P-L];else if(k==3){for(;P<V;P++)A[B+P]=A[it+P]+(A[B+P-L]>>>1);for(;P<L;P++)A[B+P]=A[it+P]+(A[B+P-L]+A[B+P-V]>>>1)}else{for(;P<V;P++)A[B+P]=A[it+P]+b(0,A[B+P-L],0);for(;P<L;P++)A[B+P]=A[it+P]+b(A[B+P-V],A[B+P-L],A[B+P-V-L])}return A}function b(A,E,D){const z=A+E-D,_=z-A,V=z-E,L=z-D;return _*_<=V*V&&_*_<=L*L?A:V*V<=L*L?E:D}function x(A,E,D){D.width=i.readUint(A,E),E+=4,D.height=i.readUint(A,E),E+=4,D.depth=A[E],E++,D.ctype=A[E],E++,D.compress=A[E],E++,D.filter=A[E],E++,D.interlace=A[E],E++}function M(A,E,D,z,_,V,L,B,it){const k=Math.min(E,_),P=Math.min(D,V);let tt=0,Y=0;for(let ct=0;ct<P;ct++)for(let R=0;R<k;R++)if(L>=0&&B>=0?(tt=ct*E+R<<2,Y=(B+ct)*_+L+R<<2):(tt=(-B+ct)*E-L+R<<2,Y=ct*_+R<<2),it==0)z[Y]=A[tt],z[Y+1]=A[tt+1],z[Y+2]=A[tt+2],z[Y+3]=A[tt+3];else if(it==1){var rt=A[tt+3]*.00392156862745098,j=A[tt]*rt,H=A[tt+1]*rt,q=A[tt+2]*rt,at=z[Y+3]*(1/255),K=z[Y]*at,lt=z[Y+1]*at,et=z[Y+2]*at;const w=1-rt,J=rt+at*w,F=J==0?0:1/J;z[Y+3]=255*J,z[Y+0]=(j+K*w)*F,z[Y+1]=(H+lt*w)*F,z[Y+2]=(q+et*w)*F}else if(it==2)rt=A[tt+3],j=A[tt],H=A[tt+1],q=A[tt+2],at=z[Y+3],K=z[Y],lt=z[Y+1],et=z[Y+2],rt==at&&j==K&&H==lt&&q==et?(z[Y]=0,z[Y+1]=0,z[Y+2]=0,z[Y+3]=0):(z[Y]=j,z[Y+1]=H,z[Y+2]=q,z[Y+3]=rt);else if(it==3){if(rt=A[tt+3],j=A[tt],H=A[tt+1],q=A[tt+2],at=z[Y+3],K=z[Y],lt=z[Y+1],et=z[Y+2],rt==at&&j==K&&H==lt&&q==et)continue;if(rt<220&&at>20)return!1}return!0}return{decode:function(E){const D=new Uint8Array(E);let z=8;const _=i,V=_.readUshort,L=_.readUint,B={tabs:{},frames:[]},it=new Uint8Array(D.length);let k,P=0,tt=0;const Y=[137,80,78,71,13,10,26,10];for(var rt=0;rt<8;rt++)if(D[rt]!=Y[rt])throw"The input is not a PNG file!";for(;z<D.length;){const ct=_.readUint(D,z);z+=4;const R=_.readASCII(D,z,4);if(z+=4,R=="IHDR")x(D,z,B);else if(R=="iCCP"){for(var j=z;D[j]!=0;)j++;_.readASCII(D,z,j-z),D[j+1];const w=D.slice(j+2,z+ct);let J=null;try{J=f(w)}catch{J=m(w)}B.tabs[R]=J}else if(R=="CgBI")B.tabs[R]=D.slice(z,z+4);else if(R=="IDAT"){for(rt=0;rt<ct;rt++)it[P+rt]=D[z+rt];P+=ct}else if(R=="acTL")B.tabs[R]={num_frames:L(D,z),num_plays:L(D,z+4)},k=new Uint8Array(D.length);else if(R=="fcTL"){tt!=0&&((et=B.frames[B.frames.length-1]).data=d(B,k.slice(0,tt),et.rect.width,et.rect.height),tt=0);const w={x:L(D,z+12),y:L(D,z+16),width:L(D,z+4),height:L(D,z+8)};let J=V(D,z+22);J=V(D,z+20)/(J==0?100:J);const F={rect:w,delay:Math.round(1e3*J),dispose:D[z+24],blend:D[z+25]};B.frames.push(F)}else if(R=="fdAT"){for(rt=0;rt<ct-4;rt++)k[tt+rt]=D[z+rt+4];tt+=ct-4}else if(R=="pHYs")B.tabs[R]=[_.readUint(D,z),_.readUint(D,z+4),D[z+8]];else if(R=="cHRM")for(B.tabs[R]=[],rt=0;rt<8;rt++)B.tabs[R].push(_.readUint(D,z+4*rt));else if(R=="tEXt"||R=="zTXt"){B.tabs[R]==null&&(B.tabs[R]={});var H=_.nextZero(D,z),q=_.readASCII(D,z,H-z),at=z+ct-H-1;if(R=="tEXt")lt=_.readASCII(D,H+1,at);else{var K=f(D.slice(H+2,H+2+at));lt=_.readUTF8(K,0,K.length)}B.tabs[R][q]=lt}else if(R=="iTXt"){B.tabs[R]==null&&(B.tabs[R]={}),H=0,j=z,H=_.nextZero(D,j),q=_.readASCII(D,j,H-j);const w=D[j=H+1];var lt;D[j+1],j+=2,H=_.nextZero(D,j),_.readASCII(D,j,H-j),j=H+1,H=_.nextZero(D,j),_.readUTF8(D,j,H-j),at=ct-((j=H+1)-z),w==0?lt=_.readUTF8(D,j,at):(K=f(D.slice(j,j+at)),lt=_.readUTF8(K,0,K.length)),B.tabs[R][q]=lt}else if(R=="PLTE")B.tabs[R]=_.readBytes(D,z,ct);else if(R=="hIST"){const w=B.tabs.PLTE.length/3;for(B.tabs[R]=[],rt=0;rt<w;rt++)B.tabs[R].push(V(D,z+2*rt))}else if(R=="tRNS")B.ctype==3?B.tabs[R]=_.readBytes(D,z,ct):B.ctype==0?B.tabs[R]=V(D,z):B.ctype==2&&(B.tabs[R]=[V(D,z),V(D,z+2),V(D,z+4)]);else if(R=="gAMA")B.tabs[R]=_.readUint(D,z)/1e5;else if(R=="sRGB")B.tabs[R]=D[z];else if(R=="bKGD")B.ctype==0||B.ctype==4?B.tabs[R]=[V(D,z)]:B.ctype==2||B.ctype==6?B.tabs[R]=[V(D,z),V(D,z+2),V(D,z+4)]:B.ctype==3&&(B.tabs[R]=D[z]);else if(R=="IEND")break;z+=ct,_.readUint(D,z),z+=4}var et;return tt!=0&&((et=B.frames[B.frames.length-1]).data=d(B,k.slice(0,tt),et.rect.width,et.rect.height)),B.data=d(B,it,B.width,B.height),delete B.compress,delete B.interlace,delete B.filter,B},toRGBA8:function(E){const D=E.width,z=E.height;if(E.tabs.acTL==null)return[s(E.data,D,z,E).buffer];const _=[];E.frames[0].data==null&&(E.frames[0].data=E.data);const V=D*z*4,L=new Uint8Array(V),B=new Uint8Array(V),it=new Uint8Array(V);for(let P=0;P<E.frames.length;P++){const tt=E.frames[P],Y=tt.rect.x,rt=tt.rect.y,j=tt.rect.width,H=tt.rect.height,q=s(tt.data,j,H,E);if(P!=0)for(var k=0;k<V;k++)it[k]=L[k];if(tt.blend==0?M(q,j,H,L,D,z,Y,rt,0):tt.blend==1&&M(q,j,H,L,D,z,Y,rt,1),_.push(L.buffer.slice(0)),tt.dispose!=0){if(tt.dispose==1)M(B,j,H,L,D,z,Y,rt,0);else if(tt.dispose==2)for(k=0;k<V;k++)L[k]=it[k]}}return _},_paeth:b,_copyTile:M,_bin:i}})();(function(){const{_copyTile:i}=_o,{_bin:s}=_o,d=_o._paeth;var f={table:(function(){const j=new Uint32Array(256);for(let H=0;H<256;H++){let q=H;for(let at=0;at<8;at++)1&q?q=3988292384^q>>>1:q>>>=1;j[H]=q}return j})(),update(j,H,q,at){for(let K=0;K<at;K++)j=f.table[255&(j^H[q+K])]^j>>>8;return j},crc:(j,H,q)=>4294967295^f.update(4294967295,j,H,q)};function m(j,H,q,at){H[q]+=j[0]*at>>4,H[q+1]+=j[1]*at>>4,H[q+2]+=j[2]*at>>4,H[q+3]+=j[3]*at>>4}function p(j){return Math.max(0,Math.min(255,j))}function g(j,H){const q=j[0]-H[0],at=j[1]-H[1],K=j[2]-H[2],lt=j[3]-H[3];return q*q+at*at+K*K+lt*lt}function b(j,H,q,at,K,lt,et){et==null&&(et=1);const ct=at.length,R=[];for(var w=0;w<ct;w++){const bt=at[w];R.push([bt>>>0&255,bt>>>8&255,bt>>>16&255,bt>>>24&255])}for(w=0;w<ct;w++){let bt=4294967295;for(var J=0,F=0;F<ct;F++){var dt=g(R[w],R[F]);F!=w&&dt<bt&&(bt=dt,J=F)}}const ut=new Uint32Array(K.buffer),pt=new Int16Array(H*q*4),Et=[0,8,2,10,12,4,14,6,3,11,1,9,15,7,13,5];for(w=0;w<Et.length;w++)Et[w]=255*((Et[w]+.5)/16-.5);for(let bt=0;bt<q;bt++)for(let zt=0;zt<H;zt++){var ht;w=4*(bt*H+zt),et!=2?ht=[p(j[w]+pt[w]),p(j[w+1]+pt[w+1]),p(j[w+2]+pt[w+2]),p(j[w+3]+pt[w+3])]:(dt=Et[4*(3&bt)+(3&zt)],ht=[p(j[w]+dt),p(j[w+1]+dt),p(j[w+2]+dt),p(j[w+3]+dt)]),J=0;let Rt=16777215;for(F=0;F<ct;F++){const ye=g(ht,R[F]);ye<Rt&&(Rt=ye,J=F)}const wt=R[J],Ht=[ht[0]-wt[0],ht[1]-wt[1],ht[2]-wt[2],ht[3]-wt[3]];et==1&&(zt!=H-1&&m(Ht,pt,w+4,7),bt!=q-1&&(zt!=0&&m(Ht,pt,w+4*H-4,3),m(Ht,pt,w+4*H,5),zt!=H-1&&m(Ht,pt,w+4*H+4,1))),lt[w>>2]=J,ut[w>>2]=at[J]}}function x(j,H,q,at,K){K==null&&(K={});const{crc:lt}=f,et=s.writeUint,ct=s.writeUshort,R=s.writeASCII;let w=8;const J=j.frames.length>1;let F,dt=!1,ut=33+(J?20:0);if(K.sRGB!=null&&(ut+=13),K.pHYs!=null&&(ut+=21),K.iCCP!=null&&(F=pako.deflate(K.iCCP),ut+=21+F.length+4),j.ctype==3){for(var pt=j.plte.length,Et=0;Et<pt;Et++)j.plte[Et]>>>24!=255&&(dt=!0);ut+=8+3*pt+4+(dt?8+1*pt+4:0)}for(var ht=0;ht<j.frames.length;ht++)J&&(ut+=38),ut+=(wt=j.frames[ht]).cimg.length+12,ht!=0&&(ut+=4);ut+=12;const bt=new Uint8Array(ut),zt=[137,80,78,71,13,10,26,10];for(Et=0;Et<8;Et++)bt[Et]=zt[Et];if(et(bt,w,13),w+=4,R(bt,w,"IHDR"),w+=4,et(bt,w,H),w+=4,et(bt,w,q),w+=4,bt[w]=j.depth,w++,bt[w]=j.ctype,w++,bt[w]=0,w++,bt[w]=0,w++,bt[w]=0,w++,et(bt,w,lt(bt,w-17,17)),w+=4,K.sRGB!=null&&(et(bt,w,1),w+=4,R(bt,w,"sRGB"),w+=4,bt[w]=K.sRGB,w++,et(bt,w,lt(bt,w-5,5)),w+=4),K.iCCP!=null){const Ht=13+F.length;et(bt,w,Ht),w+=4,R(bt,w,"iCCP"),w+=4,R(bt,w,"ICC profile"),w+=11,w+=2,bt.set(F,w),w+=F.length,et(bt,w,lt(bt,w-(Ht+4),Ht+4)),w+=4}if(K.pHYs!=null&&(et(bt,w,9),w+=4,R(bt,w,"pHYs"),w+=4,et(bt,w,K.pHYs[0]),w+=4,et(bt,w,K.pHYs[1]),w+=4,bt[w]=K.pHYs[2],w++,et(bt,w,lt(bt,w-13,13)),w+=4),J&&(et(bt,w,8),w+=4,R(bt,w,"acTL"),w+=4,et(bt,w,j.frames.length),w+=4,et(bt,w,K.loop!=null?K.loop:0),w+=4,et(bt,w,lt(bt,w-12,12)),w+=4),j.ctype==3){for(et(bt,w,3*(pt=j.plte.length)),w+=4,R(bt,w,"PLTE"),w+=4,Et=0;Et<pt;Et++){const Ht=3*Et,ye=j.plte[Et],Ut=255&ye,Ie=ye>>>8&255,fl=ye>>>16&255;bt[w+Ht+0]=Ut,bt[w+Ht+1]=Ie,bt[w+Ht+2]=fl}if(w+=3*pt,et(bt,w,lt(bt,w-3*pt-4,3*pt+4)),w+=4,dt){for(et(bt,w,pt),w+=4,R(bt,w,"tRNS"),w+=4,Et=0;Et<pt;Et++)bt[w+Et]=j.plte[Et]>>>24&255;w+=pt,et(bt,w,lt(bt,w-pt-4,pt+4)),w+=4}}let Rt=0;for(ht=0;ht<j.frames.length;ht++){var wt=j.frames[ht];J&&(et(bt,w,26),w+=4,R(bt,w,"fcTL"),w+=4,et(bt,w,Rt++),w+=4,et(bt,w,wt.rect.width),w+=4,et(bt,w,wt.rect.height),w+=4,et(bt,w,wt.rect.x),w+=4,et(bt,w,wt.rect.y),w+=4,ct(bt,w,at[ht]),w+=2,ct(bt,w,1e3),w+=2,bt[w]=wt.dispose,w++,bt[w]=wt.blend,w++,et(bt,w,lt(bt,w-30,30)),w+=4);const Ht=wt.cimg;et(bt,w,(pt=Ht.length)+(ht==0?0:4)),w+=4;const ye=w;R(bt,w,ht==0?"IDAT":"fdAT"),w+=4,ht!=0&&(et(bt,w,Rt++),w+=4),bt.set(Ht,w),w+=pt,et(bt,w,lt(bt,ye,w-ye)),w+=4}return et(bt,w,0),w+=4,R(bt,w,"IEND"),w+=4,et(bt,w,lt(bt,w-4,4)),w+=4,bt.buffer}function M(j,H,q){for(let at=0;at<j.frames.length;at++){const K=j.frames[at];K.rect.width;const lt=K.rect.height,et=new Uint8Array(lt*K.bpl+lt);K.cimg=z(K.img,lt,K.bpp,K.bpl,et,H,q)}}function A(j,H,q,at,K){const lt=K[0],et=K[1],ct=K[2],R=K[3],w=K[4],J=K[5];let F=6,dt=8,ut=255;for(var pt=0;pt<j.length;pt++){const te=new Uint8Array(j[pt]);for(var Et=te.length,ht=0;ht<Et;ht+=4)ut&=te[ht+3]}const bt=ut!=255,zt=(function(Be,we,Mn,le,an,Cn){const We=[];for(var ne=0;ne<Be.length;ne++){const Ln=new Uint8Array(Be[ne]),tl=new Uint32Array(Ln.buffer);var wa;let Ua=0,fa=0,tn=we,da=Mn,Yn=le?1:0;if(ne!=0){const Sh=Cn||le||ne==1||We[ne-2].dispose!=0?1:2;let xr=0,Dr=1e9;for(let _a=0;_a<Sh;_a++){var dl=new Uint8Array(Be[ne-1-_a]);const hl=new Uint32Array(Be[ne-1-_a]);let ha=we,On=Mn,Ve=-1,ma=-1;for(let Na=0;Na<Mn;Na++)for(let ml=0;ml<we;ml++)tl[Pe=Na*we+ml]!=hl[Pe]&&(ml<ha&&(ha=ml),ml>Ve&&(Ve=ml),Na<On&&(On=Na),Na>ma&&(ma=Na));Ve==-1&&(ha=On=Ve=ma=0),an&&((1&ha)==1&&ha--,(1&On)==1&&On--);const Ho=(Ve-ha+1)*(ma-On+1);Ho<Dr&&(Dr=Ho,xr=_a,Ua=ha,fa=On,tn=Ve-ha+1,da=ma-On+1)}dl=new Uint8Array(Be[ne-1-xr]),xr==1&&(We[ne-1].dispose=2),wa=new Uint8Array(tn*da*4),i(dl,we,Mn,wa,tn,da,-Ua,-fa,0),Yn=i(Ln,we,Mn,wa,tn,da,-Ua,-fa,3)?1:0,Yn==1?D(Ln,we,Mn,wa,{x:Ua,y:fa,width:tn,height:da}):i(Ln,we,Mn,wa,tn,da,-Ua,-fa,0)}else wa=Ln.slice(0);We.push({rect:{x:Ua,y:fa,width:tn,height:da},img:wa,blend:Yn,dispose:0})}if(le)for(ne=0;ne<We.length;ne++){if((jo=We[ne]).blend==1)continue;const Ln=jo.rect,tl=We[ne-1].rect,Ua=Math.min(Ln.x,tl.x),fa=Math.min(Ln.y,tl.y),tn={x:Ua,y:fa,width:Math.max(Ln.x+Ln.width,tl.x+tl.width)-Ua,height:Math.max(Ln.y+Ln.height,tl.y+tl.height)-fa};We[ne-1].dispose=1,ne-1!=0&&E(Be,we,Mn,We,ne-1,tn,an),E(Be,we,Mn,We,ne,tn,an)}let No=0;if(Be.length!=1)for(var Pe=0;Pe<We.length;Pe++){var jo;No+=(jo=We[Pe]).rect.width*jo.rect.height}return We})(j,H,q,lt,et,ct),Rt={},wt=[],Ht=[];if(at!=0){const te=[];for(ht=0;ht<zt.length;ht++)te.push(zt[ht].img.buffer);const Be=(function(an){let Cn=0;for(var We=0;We<an.length;We++)Cn+=an[We].byteLength;const ne=new Uint8Array(Cn);let wa=0;for(We=0;We<an.length;We++){const dl=new Uint8Array(an[We]),No=dl.length;for(let Pe=0;Pe<No;Pe+=4){let jo=dl[Pe],Ln=dl[Pe+1],tl=dl[Pe+2];const Ua=dl[Pe+3];Ua==0&&(jo=Ln=tl=0),ne[wa+Pe]=jo,ne[wa+Pe+1]=Ln,ne[wa+Pe+2]=tl,ne[wa+Pe+3]=Ua}wa+=No}return ne.buffer})(te),we=V(Be,at);for(ht=0;ht<we.plte.length;ht++)wt.push(we.plte[ht].est.rgba);let Mn=0;for(ht=0;ht<zt.length;ht++){const le=(Ut=zt[ht]).img.length;var ye=new Uint8Array(we.inds.buffer,Mn>>2,le>>2);Ht.push(ye);const an=new Uint8Array(we.abuf,Mn,le);J&&b(Ut.img,Ut.rect.width,Ut.rect.height,wt,an,ye),Ut.img.set(an),Mn+=le}}else for(pt=0;pt<zt.length;pt++){var Ut=zt[pt];const te=new Uint32Array(Ut.img.buffer);var Ie=Ut.rect.width;for(Et=te.length,ye=new Uint8Array(Et),Ht.push(ye),ht=0;ht<Et;ht++){const Be=te[ht];if(ht!=0&&Be==te[ht-1])ye[ht]=ye[ht-1];else if(ht>Ie&&Be==te[ht-Ie])ye[ht]=ye[ht-Ie];else{let we=Rt[Be];if(we==null&&(Rt[Be]=we=wt.length,wt.push(Be),wt.length>=300))break;ye[ht]=we}}}const fl=wt.length;for(fl<=256&&w==0&&(dt=fl<=2?1:fl<=4?2:fl<=16?4:8,dt=Math.max(dt,R)),pt=0;pt<zt.length;pt++){(Ut=zt[pt]).rect.x,Ut.rect.y,Ie=Ut.rect.width;const te=Ut.rect.height;let Be=Ut.img;new Uint32Array(Be.buffer);let we=4*Ie,Mn=4;if(fl<=256&&w==0){we=Math.ceil(dt*Ie/8);var Dn=new Uint8Array(we*te);const le=Ht[pt];for(let an=0;an<te;an++){ht=an*we;const Cn=an*Ie;if(dt==8)for(var Re=0;Re<Ie;Re++)Dn[ht+Re]=le[Cn+Re];else if(dt==4)for(Re=0;Re<Ie;Re++)Dn[ht+(Re>>1)]|=le[Cn+Re]<<4-4*(1&Re);else if(dt==2)for(Re=0;Re<Ie;Re++)Dn[ht+(Re>>2)]|=le[Cn+Re]<<6-2*(3&Re);else if(dt==1)for(Re=0;Re<Ie;Re++)Dn[ht+(Re>>3)]|=le[Cn+Re]<<7-1*(7&Re)}Be=Dn,F=3,Mn=1}else if(bt==0&&zt.length==1){Dn=new Uint8Array(Ie*te*3);const le=Ie*te;for(ht=0;ht<le;ht++){const an=3*ht,Cn=4*ht;Dn[an]=Be[Cn],Dn[an+1]=Be[Cn+1],Dn[an+2]=Be[Cn+2]}Be=Dn,F=2,Mn=3,we=3*Ie}Ut.img=Be,Ut.bpl=we,Ut.bpp=Mn}return{ctype:F,depth:dt,plte:wt,frames:zt}}function E(j,H,q,at,K,lt,et){const ct=Uint8Array,R=Uint32Array,w=new ct(j[K-1]),J=new R(j[K-1]),F=K+1<j.length?new ct(j[K+1]):null,dt=new ct(j[K]),ut=new R(dt.buffer);let pt=H,Et=q,ht=-1,bt=-1;for(let Rt=0;Rt<lt.height;Rt++)for(let wt=0;wt<lt.width;wt++){const Ht=lt.x+wt,ye=lt.y+Rt,Ut=ye*H+Ht,Ie=ut[Ut];Ie==0||at[K-1].dispose==0&&J[Ut]==Ie&&(F==null||F[4*Ut+3]!=0)||(Ht<pt&&(pt=Ht),Ht>ht&&(ht=Ht),ye<Et&&(Et=ye),ye>bt&&(bt=ye))}ht==-1&&(pt=Et=ht=bt=0),et&&((1&pt)==1&&pt--,(1&Et)==1&&Et--),lt={x:pt,y:Et,width:ht-pt+1,height:bt-Et+1};const zt=at[K];zt.rect=lt,zt.blend=1,zt.img=new Uint8Array(lt.width*lt.height*4),at[K-1].dispose==0?(i(w,H,q,zt.img,lt.width,lt.height,-lt.x,-lt.y,0),D(dt,H,q,zt.img,lt)):i(dt,H,q,zt.img,lt.width,lt.height,-lt.x,-lt.y,0)}function D(j,H,q,at,K){i(j,H,q,at,K.width,K.height,-K.x,-K.y,2)}function z(j,H,q,at,K,lt,et){const ct=[];let R,w=[0,1,2,3,4];lt!=-1?w=[lt]:(H*at>5e5||q==1)&&(w=[0]),et&&(R={level:0});const J=Y9;for(var F=0;F<w.length;F++){for(let pt=0;pt<H;pt++)_(K,j,pt,at,q,w[F]);ct.push(J.deflate(K,R))}let dt,ut=1e9;for(F=0;F<ct.length;F++)ct[F].length<ut&&(dt=F,ut=ct[F].length);return ct[dt]}function _(j,H,q,at,K,lt){const et=q*at;let ct=et+q;if(j[ct]=lt,ct++,lt==0)if(at<500)for(var R=0;R<at;R++)j[ct+R]=H[et+R];else j.set(new Uint8Array(H.buffer,et,at),ct);else if(lt==1){for(R=0;R<K;R++)j[ct+R]=H[et+R];for(R=K;R<at;R++)j[ct+R]=H[et+R]-H[et+R-K]+256&255}else if(q==0){for(R=0;R<K;R++)j[ct+R]=H[et+R];if(lt==2)for(R=K;R<at;R++)j[ct+R]=H[et+R];if(lt==3)for(R=K;R<at;R++)j[ct+R]=H[et+R]-(H[et+R-K]>>1)+256&255;if(lt==4)for(R=K;R<at;R++)j[ct+R]=H[et+R]-d(H[et+R-K],0,0)+256&255}else{if(lt==2)for(R=0;R<at;R++)j[ct+R]=H[et+R]+256-H[et+R-at]&255;if(lt==3){for(R=0;R<K;R++)j[ct+R]=H[et+R]+256-(H[et+R-at]>>1)&255;for(R=K;R<at;R++)j[ct+R]=H[et+R]+256-(H[et+R-at]+H[et+R-K]>>1)&255}if(lt==4){for(R=0;R<K;R++)j[ct+R]=H[et+R]+256-d(0,H[et+R-at],0)&255;for(R=K;R<at;R++)j[ct+R]=H[et+R]+256-d(H[et+R-K],H[et+R-at],H[et+R-K-at])&255}}}function V(j,H){const q=new Uint8Array(j),at=q.slice(0),K=new Uint32Array(at.buffer),lt=L(at,H),et=lt[0],ct=lt[1],R=q.length,w=new Uint8Array(R>>2);let J;if(q.length<2e7)for(var F=0;F<R;F+=4)J=B(et,dt=q[F]*(1/255),ut=q[F+1]*(1/255),pt=q[F+2]*(1/255),Et=q[F+3]*(1/255)),w[F>>2]=J.ind,K[F>>2]=J.est.rgba;else for(F=0;F<R;F+=4){var dt=q[F]*.00392156862745098,ut=q[F+1]*(1/255),pt=q[F+2]*(1/255),Et=q[F+3]*(1/255);for(J=et;J.left;)J=it(J.est,dt,ut,pt,Et)<=0?J.left:J.right;w[F>>2]=J.ind,K[F>>2]=J.est.rgba}return{abuf:at.buffer,inds:w,plte:ct}}function L(j,H,q){q==null&&(q=1e-4);const at=new Uint32Array(j.buffer),K={i0:0,i1:j.length,bst:null,est:null,tdst:0,left:null,right:null};K.bst=tt(j,K.i0,K.i1),K.est=Y(K.bst);const lt=[K];for(;lt.length<H;){let ct=0,R=0;for(var et=0;et<lt.length;et++)lt[et].est.L>ct&&(ct=lt[et].est.L,R=et);if(ct<q)break;const w=lt[R],J=k(j,at,w.i0,w.i1,w.est.e,w.est.eMq255);if(w.i0>=J||w.i1<=J){w.est.L=0;continue}const F={i0:w.i0,i1:J,bst:null,est:null,tdst:0,left:null,right:null};F.bst=tt(j,F.i0,F.i1),F.est=Y(F.bst);const dt={i0:J,i1:w.i1,bst:null,est:null,tdst:0,left:null,right:null};for(dt.bst={R:[],m:[],N:w.bst.N-F.bst.N},et=0;et<16;et++)dt.bst.R[et]=w.bst.R[et]-F.bst.R[et];for(et=0;et<4;et++)dt.bst.m[et]=w.bst.m[et]-F.bst.m[et];dt.est=Y(dt.bst),w.left=F,w.right=dt,lt[R]=F,lt.push(dt)}for(lt.sort(((ct,R)=>R.bst.N-ct.bst.N)),et=0;et<lt.length;et++)lt[et].ind=et;return[K,lt]}function B(j,H,q,at,K){if(j.left==null)return j.tdst=(function(F,dt,ut,pt,Et){const ht=dt-F[0],bt=ut-F[1],zt=pt-F[2],Rt=Et-F[3];return ht*ht+bt*bt+zt*zt+Rt*Rt})(j.est.q,H,q,at,K),j;const lt=it(j.est,H,q,at,K);let et=j.left,ct=j.right;lt>0&&(et=j.right,ct=j.left);const R=B(et,H,q,at,K);if(R.tdst<=lt*lt)return R;const w=B(ct,H,q,at,K);return w.tdst<R.tdst?w:R}function it(j,H,q,at,K){const{e:lt}=j;return lt[0]*H+lt[1]*q+lt[2]*at+lt[3]*K-j.eMq}function k(j,H,q,at,K,lt){for(at-=4;q<at;){for(;P(j,q,K)<=lt;)q+=4;for(;P(j,at,K)>lt;)at-=4;if(q>=at)break;const et=H[q>>2];H[q>>2]=H[at>>2],H[at>>2]=et,q+=4,at-=4}for(;P(j,q,K)>lt;)q-=4;return q+4}function P(j,H,q){return j[H]*q[0]+j[H+1]*q[1]+j[H+2]*q[2]+j[H+3]*q[3]}function tt(j,H,q){const at=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],K=[0,0,0,0],lt=q-H>>2;for(let et=H;et<q;et+=4){const ct=j[et]*.00392156862745098,R=j[et+1]*(1/255),w=j[et+2]*(1/255),J=j[et+3]*(1/255);K[0]+=ct,K[1]+=R,K[2]+=w,K[3]+=J,at[0]+=ct*ct,at[1]+=ct*R,at[2]+=ct*w,at[3]+=ct*J,at[5]+=R*R,at[6]+=R*w,at[7]+=R*J,at[10]+=w*w,at[11]+=w*J,at[15]+=J*J}return at[4]=at[1],at[8]=at[2],at[9]=at[6],at[12]=at[3],at[13]=at[7],at[14]=at[11],{R:at,m:K,N:lt}}function Y(j){const{R:H}=j,{m:q}=j,{N:at}=j,K=q[0],lt=q[1],et=q[2],ct=q[3],R=at==0?0:1/at,w=[H[0]-K*K*R,H[1]-K*lt*R,H[2]-K*et*R,H[3]-K*ct*R,H[4]-lt*K*R,H[5]-lt*lt*R,H[6]-lt*et*R,H[7]-lt*ct*R,H[8]-et*K*R,H[9]-et*lt*R,H[10]-et*et*R,H[11]-et*ct*R,H[12]-ct*K*R,H[13]-ct*lt*R,H[14]-ct*et*R,H[15]-ct*ct*R],J=w,F=rt;let dt=[Math.random(),Math.random(),Math.random(),Math.random()],ut=0,pt=0;if(at!=0)for(let ht=0;ht<16&&(dt=F.multVec(J,dt),pt=Math.sqrt(F.dot(dt,dt)),dt=F.sml(1/pt,dt),!(ht!=0&&Math.abs(pt-ut)<1e-9));ht++)ut=pt;const Et=[K*R,lt*R,et*R,ct*R];return{Cov:w,q:Et,e:dt,L:ut,eMq255:F.dot(F.sml(255,Et),dt),eMq:F.dot(dt,Et),rgba:(Math.round(255*Et[3])<<24|Math.round(255*Et[2])<<16|Math.round(255*Et[1])<<8|Math.round(255*Et[0])<<0)>>>0}}var rt={multVec:(j,H)=>[j[0]*H[0]+j[1]*H[1]+j[2]*H[2]+j[3]*H[3],j[4]*H[0]+j[5]*H[1]+j[6]*H[2]+j[7]*H[3],j[8]*H[0]+j[9]*H[1]+j[10]*H[2]+j[11]*H[3],j[12]*H[0]+j[13]*H[1]+j[14]*H[2]+j[15]*H[3]],dot:(j,H)=>j[0]*H[0]+j[1]*H[1]+j[2]*H[2]+j[3]*H[3],sml:(j,H)=>[j*H[0],j*H[1],j*H[2],j*H[3]]};_o.encode=function(H,q,at,K,lt,et,ct){K==null&&(K=0),ct==null&&(ct=!1);const R=A(H,q,at,K,[!1,!1,!1,0,ct,!1]);return M(R,-1),x(R,q,at,lt,et)},_o.encodeLL=function(H,q,at,K,lt,et,ct,R){const w={ctype:0+(K==1?0:2)+(lt==0?0:4),depth:et,frames:[]},J=(K+lt)*et,F=J*q;for(let dt=0;dt<H.length;dt++)w.frames.push({rect:{x:0,y:0,width:q,height:at},img:new Uint8Array(H[dt]),blend:0,dispose:1,bpp:Math.ceil(J/8),bpl:Math.ceil(F/8)});return M(w,0,!0),x(w,q,at,ct,R)},_o.encode.compress=A,_o.encode.dither=b,_o.quantize=V,_o.quantize.getKDtree=L,_o.quantize.getNearest=B})();const j6={toArrayBuffer(i,s){const d=i.width,f=i.height,m=d<<2,p=i.getContext("2d").getImageData(0,0,d,f),g=new Uint32Array(p.data.buffer),b=(32*d+31)/32<<2,x=b*f,M=122+x,A=new ArrayBuffer(M),E=new DataView(A),D=1<<20;let z,_,V,L,B=D,it=0,k=0,P=0;function tt(j){E.setUint16(k,j,!0),k+=2}function Y(j){E.setUint32(k,j,!0),k+=4}function rt(j){k+=j}tt(19778),Y(M),rt(4),Y(122),Y(108),Y(d),Y(-f>>>0),tt(1),tt(32),Y(3),Y(x),Y(2835),Y(2835),rt(8),Y(16711680),Y(65280),Y(255),Y(4278190080),Y(1466527264),(function j(){for(;it<f&&B>0;){for(L=122+it*b,z=0;z<m;)B--,_=g[P++],V=_>>>24,E.setUint32(L+z,_<<8|V),z+=4;it++}P<g.length?(B=D,setTimeout(j,j6._dly)):s(A)})()},toBlob(i,s){this.toArrayBuffer(i,(d=>{s(new Blob([d],{type:"image/bmp"}))}))},_dly:9};var Yl={CHROME:"CHROME",FIREFOX:"FIREFOX",DESKTOP_SAFARI:"DESKTOP_SAFARI",IE:"IE",IOS:"IOS",ETC:"ETC"},q9={[Yl.CHROME]:16384,[Yl.FIREFOX]:11180,[Yl.DESKTOP_SAFARI]:16384,[Yl.IE]:8192,[Yl.IOS]:4096,[Yl.ETC]:8192};const g3=typeof window<"u",H6=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,k1=g3&&window.cordova&&window.cordova.require&&window.cordova.require("cordova/modulemapper"),G9=(g3||H6)&&(k1&&k1.getOriginalSymbol(window,"File")||typeof File<"u"&&File),B6=(g3||H6)&&(k1&&k1.getOriginalSymbol(window,"FileReader")||typeof FileReader<"u"&&FileReader);function v3(i,s,d=Date.now()){return new Promise((f=>{const m=i.split(","),p=m[0].match(/:(.*?);/)[1],g=globalThis.atob(m[1]);let b=g.length;const x=new Uint8Array(b);for(;b--;)x[b]=g.charCodeAt(b);const M=new Blob([x],{type:p});M.name=s,M.lastModified=d,f(M)}))}function V6(i){return new Promise(((s,d)=>{const f=new B6;f.onload=()=>s(f.result),f.onerror=m=>d(m),f.readAsDataURL(i)}))}function L6(i){return new Promise(((s,d)=>{const f=new Image;f.onload=()=>s(f),f.onerror=m=>d(m),f.src=i}))}function hf(){if(hf.cachedResult!==void 0)return hf.cachedResult;let i=Yl.ETC;const{userAgent:s}=navigator;return/Chrom(e|ium)/i.test(s)?i=Yl.CHROME:/iP(ad|od|hone)/i.test(s)&&/WebKit/i.test(s)?i=Yl.IOS:/Safari/i.test(s)?i=Yl.DESKTOP_SAFARI:/Firefox/i.test(s)?i=Yl.FIREFOX:(/MSIE/i.test(s)||document.documentMode)&&(i=Yl.IE),hf.cachedResult=i,hf.cachedResult}function Y6(i,s){const d=hf(),f=q9[d];let m=i,p=s,g=m*p;const b=m>p?p/m:m/p;for(;g>f*f;){const x=(f+m)/2,M=(f+p)/2;x<M?(p=M,m=M*b):(p=x*b,m=x),g=m*p}return{width:m,height:p}}function J1(i,s){let d,f;try{if(d=new OffscreenCanvas(i,s),f=d.getContext("2d"),f===null)throw new Error("getContext of OffscreenCanvas returns null")}catch{d=document.createElement("canvas"),f=d.getContext("2d")}return d.width=i,d.height=s,[d,f]}function q6(i,s){const{width:d,height:f}=Y6(i.width,i.height),[m,p]=J1(d,f);return s&&/jpe?g/.test(s)&&(p.fillStyle="white",p.fillRect(0,0,m.width,m.height)),p.drawImage(i,0,0,m.width,m.height),m}function K1(){return K1.cachedResult!==void 0||(K1.cachedResult=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&typeof document<"u"&&"ontouchend"in document),K1.cachedResult}function F1(i,s={}){return new Promise((function(d,f){let m,p;var g=function(){try{return p=q6(m,s.fileType||i.type),d([m,p])}catch(x){return f(x)}},b=function(x){try{var M=function(A){try{throw A}catch(E){return f(E)}};try{let A;return V6(i).then((function(E){try{return A=E,L6(A).then((function(D){try{return m=D,(function(){try{return g()}catch(z){return f(z)}})()}catch(z){return M(z)}}),M)}catch(D){return M(D)}}),M)}catch(A){M(A)}}catch(A){return f(A)}};try{if(K1()||[Yl.DESKTOP_SAFARI,Yl.MOBILE_SAFARI].includes(hf()))throw new Error("Skip createImageBitmap on IOS and Safari");return createImageBitmap(i).then((function(x){try{return m=x,g()}catch{return b()}}),b)}catch{b()}}))}function $1(i,s,d,f,m=1){return new Promise((function(p,g){let b;if(s==="image/png"){let M,A,E;return M=i.getContext("2d"),{data:A}=M.getImageData(0,0,i.width,i.height),E=_o.encode([A.buffer],i.width,i.height,4096*m),b=new Blob([E],{type:s}),b.name=d,b.lastModified=f,x.call(this)}{let M=function(){return x.call(this)};if(s==="image/bmp")return new Promise((A=>j6.toBlob(i,A))).then((function(A){try{return b=A,b.name=d,b.lastModified=f,M.call(this)}catch(E){return g(E)}}).bind(this),g);{let A=function(){return M.call(this)};if(typeof OffscreenCanvas=="function"&&i instanceof OffscreenCanvas)return i.convertToBlob({type:s,quality:m}).then((function(E){try{return b=E,b.name=d,b.lastModified=f,A.call(this)}catch(D){return g(D)}}).bind(this),g);{let E;return E=i.toDataURL(s,m),v3(E,d,f).then((function(D){try{return b=D,A.call(this)}catch(z){return g(z)}}).bind(this),g)}}}function x(){return p(b)}}))}function mu(i){i.width=0,i.height=0}function bh(){return new Promise((function(i,s){let d,f,m,p;return bh.cachedResult!==void 0?i(bh.cachedResult):v3("data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q==","test.jpg",Date.now()).then((function(g){try{return d=g,F1(d).then((function(b){try{return f=b[1],$1(f,d.type,d.name,d.lastModified).then((function(x){try{return m=x,mu(f),F1(m).then((function(M){try{return p=M[0],bh.cachedResult=p.width===1&&p.height===2,i(bh.cachedResult)}catch(A){return s(A)}}),s)}catch(M){return s(M)}}),s)}catch(x){return s(x)}}),s)}catch(b){return s(b)}}),s)}))}function G6(i){return new Promise(((s,d)=>{const f=new B6;f.onload=m=>{const p=new DataView(m.target.result);if(p.getUint16(0,!1)!=65496)return s(-2);const g=p.byteLength;let b=2;for(;b<g;){if(p.getUint16(b+2,!1)<=8)return s(-1);const x=p.getUint16(b,!1);if(b+=2,x==65505){if(p.getUint32(b+=2,!1)!=1165519206)return s(-1);const M=p.getUint16(b+=6,!1)==18761;b+=p.getUint32(b+4,M);const A=p.getUint16(b,M);b+=2;for(let E=0;E<A;E++)if(p.getUint16(b+12*E,M)==274)return s(p.getUint16(b+12*E+8,M))}else{if((65280&x)!=65280)break;b+=p.getUint16(b,!1)}}return s(-1)},f.onerror=m=>d(m),f.readAsArrayBuffer(i)}))}function X6(i,s){const{width:d}=i,{height:f}=i,{maxWidthOrHeight:m}=s;let p,g=i;return isFinite(m)&&(d>m||f>m)&&([g,p]=J1(d,f),d>f?(g.width=m,g.height=f/d*m):(g.width=d/f*m,g.height=m),p.drawImage(i,0,0,g.width,g.height),mu(i)),g}function Q6(i,s){const{width:d}=i,{height:f}=i,[m,p]=J1(d,f);switch(s>4&&s<9?(m.width=f,m.height=d):(m.width=d,m.height=f),s){case 2:p.transform(-1,0,0,1,d,0);break;case 3:p.transform(-1,0,0,-1,d,f);break;case 4:p.transform(1,0,0,-1,0,f);break;case 5:p.transform(0,1,1,0,0,0);break;case 6:p.transform(0,1,-1,0,f,0);break;case 7:p.transform(0,-1,-1,0,f,d);break;case 8:p.transform(0,-1,1,0,0,d)}return p.drawImage(i,0,0,d,f),mu(i),m}function Z6(i,s,d=0){return new Promise((function(f,m){let p,g,b,x,M,A,E,D,z,_,V,L,B,it,k,P,tt,Y,rt,j;function H(at=5){if(s.signal&&s.signal.aborted)throw s.signal.reason;p+=at,s.onProgress(Math.min(p,100))}function q(at){if(s.signal&&s.signal.aborted)throw s.signal.reason;p=Math.min(Math.max(at,p),100),s.onProgress(p)}return p=d,g=s.maxIteration||10,b=1024*s.maxSizeMB*1024,H(),F1(i,s).then((function(at){try{return[,x]=at,H(),M=X6(x,s),H(),new Promise((function(K,lt){var et;if(!(et=s.exifOrientation))return G6(i).then((function(R){try{return et=R,ct.call(this)}catch(w){return lt(w)}}).bind(this),lt);function ct(){return K(et)}return ct.call(this)})).then((function(K){try{return A=K,H(),bh().then((function(lt){try{return E=lt?M:Q6(M,A),H(),D=s.initialQuality||1,z=s.fileType||i.type,$1(E,z,i.name,i.lastModified,D).then((function(et){try{{let R=function(){if(g--&&(k>b||k>B)){let J,F;return J=j?.95*rt.width:rt.width,F=j?.95*rt.height:rt.height,[tt,Y]=J1(J,F),Y.drawImage(rt,0,0,J,F),D*=z==="image/png"?.85:.95,$1(tt,z,i.name,i.lastModified,D).then((function(dt){try{return P=dt,mu(rt),rt=tt,k=P.size,q(Math.min(99,Math.floor((it-k)/(it-b)*100))),R}catch(ut){return m(ut)}}),m)}return[1]},w=function(){return mu(rt),mu(tt),mu(M),mu(E),mu(x),q(100),f(P)};if(_=et,H(),V=_.size>b,L=_.size>i.size,!V&&!L)return q(100),f(_);var ct;return B=i.size,it=_.size,k=it,rt=E,j=!s.alwaysKeepResolution&&V,(ct=(function(J){for(;J;){if(J.then)return void J.then(ct,m);try{if(J.pop){if(J.length)return J.pop()?w.call(this):J;J=R}else J=J.call(this)}catch(F){return m(F)}}}).bind(this))(R)}}catch(R){return m(R)}}).bind(this),m)}catch(et){return m(et)}}).bind(this),m)}catch(lt){return m(lt)}}).bind(this),m)}catch(K){return m(K)}}).bind(this),m)}))}const X9=`
567
+ }`;function tu(){var e=Wl,t=Hl,n=K.cssPrefix,r=K.replacementClass,i=Z0;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),o=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(o,".".concat(r))}return i}var nu=!1;function Bi(){K.autoAddCss&&!nu&&(G0(tu()),nu=!0)}var J0={mixout:function(){return{dom:{css:tu,insertCss:Bi}}},hooks:function(){return{beforeDOMElementCreation:function(){Bi()},beforeI2svg:function(){Bi()}}}},Ze=st||{};Ze[Qe]||(Ze[Qe]={}),Ze[Qe].styles||(Ze[Qe].styles={}),Ze[Qe].hooks||(Ze[Qe].hooks={}),Ze[Qe].shims||(Ze[Qe].shims=[]);var _e=Ze[Qe],ru=[],iu=function(){ee.removeEventListener("DOMContentLoaded",iu),Xn=1,ru.map(function(t){return t()})},Xn=!1;qe&&(Xn=(ee.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ee.readyState),Xn||ee.addEventListener("DOMContentLoaded",iu));function eg(e){qe&&(Xn?setTimeout(e,0):ru.push(e))}function pn(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,a=i===void 0?[]:i;return typeof e=="string"?eu(e):"<".concat(t," ").concat(X0(r),">").concat(a.map(pn).join(""),"</").concat(t,">")}function au(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Wi=function(t,n,r,i){var a=Object.keys(t),s=a.length,o=n,u,d,l;for(r===void 0?(u=1,l=t[a[0]]):(u=0,l=r);u<s;u++)d=a[u],l=o(l,t[d],d,t);return l};function su(e){return Ve(e).length!==1?null:e.codePointAt(0).toString(16)}function ou(e){return Object.keys(e).reduce(function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t},{})}function Hi(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=ou(t);typeof _e.hooks.addPack=="function"&&!i?_e.hooks.addPack(e,ou(t)):_e.styles[e]=Y(Y({},_e.styles[e]||{}),a),e==="fas"&&Hi("fa",t)}var gn=_e.styles,tg=_e.shims,lu=Object.keys(Vi),ng=lu.reduce(function(e,t){return e[t]=Object.keys(Vi[t]),e},{}),Yi=null,uu={},cu={},fu={},du={},hu={};function rg(e){return~z0.indexOf(e)}function ig(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!rg(i)?i:null}var mu=function(){var t=function(a){return Wi(gn,function(s,o,u){return s[u]=Wi(o,a,{}),s},{})};uu=t(function(i,a,s){if(a[3]&&(i[a[3]]=s),a[2]){var o=a[2].filter(function(u){return typeof u=="number"});o.forEach(function(u){i[u.toString(16)]=s})}return i}),cu=t(function(i,a,s){if(i[s]=s,a[2]){var o=a[2].filter(function(u){return typeof u=="string"});o.forEach(function(u){i[u]=s})}return i}),hu=t(function(i,a,s){var o=a[2];return i[s]=s,o.forEach(function(u){i[u]=s}),i});var n="far"in gn||K.autoFetchSvg,r=Wi(tg,function(i,a){var s=a[0],o=a[1],u=a[2];return o==="far"&&!n&&(o="fas"),typeof s=="string"&&(i.names[s]={prefix:o,iconName:u}),typeof s=="number"&&(i.unicodes[s.toString(16)]={prefix:o,iconName:u}),i},{names:{},unicodes:{}});fu=r.names,du=r.unicodes,Yi=qn(K.styleDefault,{family:K.familyDefault})};Y0(function(e){Yi=qn(e.styleDefault,{family:K.familyDefault})}),mu();function Gi(e,t){return(uu[e]||{})[t]}function ag(e,t){return(cu[e]||{})[t]}function bt(e,t){return(hu[e]||{})[t]}function pu(e){return fu[e]||{prefix:null,iconName:null}}function sg(e){var t=du[e],n=Gi("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function ot(){return Yi}var gu=function(){return{prefix:null,iconName:null,rest:[]}};function og(e){var t=pe,n=lu.reduce(function(r,i){return r[i]="".concat(K.cssPrefix,"-").concat(i),r},{});return Vl.forEach(function(r){(e.includes(n[r])||e.some(function(i){return ng[r].includes(i)}))&&(t=r)}),t}function qn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?pe:n,i=R0[r][e];if(r===fn&&!e)return"fad";var a=ql[r][e]||ql[r][i],s=e in _e.styles?e:null,o=a||s||null;return o}function lg(e){var t=[],n=null;return e.forEach(function(r){var i=ig(K.cssPrefix,r);i?n=i:r&&t.push(r)}),{iconName:n,rest:t}}function yu(e){return e.sort().filter(function(t,n,r){return r.indexOf(t)===n})}var vu=zl.concat(_l);function Qn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,r=n===void 0?!1:n,i=null,a=yu(e.filter(function(h){return vu.includes(h)})),s=yu(e.filter(function(h){return!vu.includes(h)})),o=a.filter(function(h){return i=h,!wl.includes(h)}),u=Wn(o,1),d=u[0],l=d===void 0?null:d,c=og(a),f=Y(Y({},lg(s)),{},{prefix:qn(l,{family:c})});return Y(Y(Y({},f),dg({values:e,family:c,styles:gn,config:K,canonical:f,givenPrefix:i})),ug(r,i,f))}function ug(e,t,n){var r=n.prefix,i=n.iconName;if(e||!r||!i)return{prefix:r,iconName:i};var a=t==="fa"?pu(i):{},s=bt(r,i);return i=a.iconName||s||i,r=a.prefix||r,r==="far"&&!gn.far&&gn.fas&&!K.autoFetchSvg&&(r="fas"),{prefix:r,iconName:i}}var cg=Vl.filter(function(e){return e!==pe||e!==fn}),fg=Object.keys(Ii).filter(function(e){return e!==pe}).map(function(e){return Object.keys(Ii[e])}).flat();function dg(e){var t=e.values,n=e.family,r=e.canonical,i=e.givenPrefix,a=i===void 0?"":i,s=e.styles,o=s===void 0?{}:s,u=e.config,d=u===void 0?{}:u,l=n===fn,c=t.includes("fa-duotone")||t.includes("fad"),f=d.familyDefault==="duotone",h=r.prefix==="fad"||r.prefix==="fa-duotone";if(!l&&(c||f||h)&&(r.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab"),!r.prefix&&cg.includes(n)){var m=Object.keys(o).find(function(A){return fg.includes(A)});if(m||d.autoFetchSvg){var b=Mp.get(n).defaultShortPrefixId;r.prefix=b,r.iconName=bt(r.prefix,r.iconName)||r.iconName}}return(r.prefix==="fa"||a==="fa")&&(r.prefix=ot()||"fas"),r}var hg=(function(){function e(){Qm(this,e),this.definitions={}}return Jm(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var s=i.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(o){n.definitions[o]=Y(Y({},n.definitions[o]||{}),s[o]),Hi(o,s[o]);var u=Vi[pe][o];u&&Hi(u,s[o]),mu()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var i=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(i).map(function(a){var s=i[a],o=s.prefix,u=s.iconName,d=s.icon,l=d[2];n[o]||(n[o]={}),l.length>0&&l.forEach(function(c){typeof c=="string"&&(n[o][c]=d)}),n[o][u]=d}),n}}])})(),bu=[],Bt={},Wt={},mg=Object.keys(Wt);function pg(e,t){var n=t.mixoutsTo;return bu=e,Bt={},Object.keys(Wt).forEach(function(r){mg.indexOf(r)===-1&&delete Wt[r]}),bu.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(s){typeof i[s]=="function"&&(n[s]=i[s]),Hn(i[s])==="object"&&Object.keys(i[s]).forEach(function(o){n[s]||(n[s]={}),n[s][o]=i[s][o]})}),r.hooks){var a=r.hooks();Object.keys(a).forEach(function(s){Bt[s]||(Bt[s]=[]),Bt[s].push(a[s])})}r.provides&&r.provides(Wt)}),n}function Ki(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=Bt[e]||[];return a.forEach(function(s){t=s.apply(null,[t].concat(r))}),t}function xt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Bt[e]||[];i.forEach(function(a){a.apply(null,n)})}function lt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Wt[e]?Wt[e].apply(null,t):void 0}function Xi(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||ot();if(t)return t=bt(n,t)||t,au(xu.definitions,n,t)||au(_e.styles,n,t)}var xu=new hg,gg=function(){K.autoReplaceSvg=!1,K.observeMutations=!1,xt("noAuto")},yg={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return qe?(xt("beforeI2svg",t),lt("pseudoElements2svg",t),lt("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;K.autoReplaceSvg===!1&&(K.autoReplaceSvg=!0),K.observeMutations=!0,eg(function(){bg({autoReplaceSvgRoot:n}),xt("watch",t)})}},vg={icon:function(t){if(t===null)return null;if(Hn(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:bt(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=qn(t[0]);return{prefix:r,iconName:bt(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(K.cssPrefix,"-"))>-1||t.match(V0))){var i=Qn(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||ot(),iconName:bt(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=ot();return{prefix:a,iconName:bt(a,t)||t}}}},Ee={noAuto:gg,config:K,dom:yg,parse:vg,library:xu,findIconDefinition:Xi,toHtml:pn},bg=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?ee:n;(Object.keys(_e.styles).length>0||K.autoFetchSvg)&&qe&&K.autoReplaceSvg&&Ee.dom.i2svg({node:r})};function Zn(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return pn(r)})}}),Object.defineProperty(e,"node",{get:function(){if(qe){var r=ee.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function xg(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,s=e.transform;if(zi(s)&&n.found&&!r.found){var o=n.width,u=n.height,d={x:o/u/2,y:.5};i.style=Kn(Y(Y({},a),{},{"transform-origin":"".concat(d.x+s.x/16,"em ").concat(d.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function wg(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,s=a===!0?"".concat(t,"-").concat(K.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Y(Y({},i),{},{id:s}),children:r}]}]}function Ag(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(n){return n in e})}function qi(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,s=e.transform,o=e.symbol,u=e.maskId,d=e.extra,l=e.watchable,c=l===void 0?!1:l,f=r.found?r:n,h=f.width,m=f.height,b=[K.replacementClass,a?"".concat(K.cssPrefix,"-").concat(a):""].filter(function(P){return d.classes.indexOf(P)===-1}).filter(function(P){return P!==""||!!P}).concat(d.classes).join(" "),A={children:[],attributes:Y(Y({},d.attributes),{},{"data-prefix":i,"data-icon":a,class:b,role:d.attributes.role||"img",viewBox:"0 0 ".concat(h," ").concat(m)})};!Ag(d.attributes)&&!d.attributes["aria-hidden"]&&(A.attributes["aria-hidden"]="true"),c&&(A.attributes[vt]="");var v=Y(Y({},A),{},{prefix:i,iconName:a,main:n,mask:r,maskId:u,transform:s,symbol:o,styles:Y({},d.styles)}),I=r.found&&n.found?lt("generateAbstractMask",v)||{children:[],attributes:{}}:lt("generateAbstractIcon",v)||{children:[],attributes:{}},T=I.children,C=I.attributes;return v.children=T,v.attributes=C,o?wg(v):xg(v)}function wu(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.extra,s=e.watchable,o=s===void 0?!1:s,u=Y(Y({},a.attributes),{},{class:a.classes.join(" ")});o&&(u[vt]="");var d=Y({},a.styles);zi(i)&&(d.transform=Q0({transform:i,width:n,height:r}),d["-webkit-transform"]=d.transform);var l=Kn(d);l.length>0&&(u.style=l);var c=[];return c.push({tag:"span",attributes:u,children:[t]}),c}function Sg(e){var t=e.content,n=e.extra,r=Y(Y({},n.attributes),{},{class:n.classes.join(" ")}),i=Kn(n.styles);i.length>0&&(r.style=i);var a=[];return a.push({tag:"span",attributes:r,children:[t]}),a}var Qi=_e.styles;function Zi(e){var t=e[0],n=e[1],r=e.slice(4),i=Wn(r,1),a=i[0],s=null;return Array.isArray(a)?s={tag:"g",attributes:{class:"".concat(K.cssPrefix,"-").concat(Ui.GROUP)},children:[{tag:"path",attributes:{class:"".concat(K.cssPrefix,"-").concat(Ui.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(K.cssPrefix,"-").concat(Ui.PRIMARY),fill:"currentColor",d:a[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:s}}var Tg={found:!1,width:512,height:512};function Pg(e,t){!Kl&&!K.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Ji(e,t){var n=t;return t==="fa"&&K.styleDefault!==null&&(t=ot()),new Promise(function(r,i){if(n==="fa"){var a=pu(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&Qi[t]&&Qi[t][e]){var s=Qi[t][e];return r(Zi(s))}Pg(e,t),r(Y(Y({},Tg),{},{icon:K.showMissingIcons&&e?lt("missingIconAbstract")||{}:{}}))})}var Au=function(){},ea=K.measurePerformance&&Yn&&Yn.mark&&Yn.measure?Yn:{mark:Au,measure:Au},yn='FA "7.1.0"',Eg=function(t){return ea.mark("".concat(yn," ").concat(t," begins")),function(){return Su(t)}},Su=function(t){ea.mark("".concat(yn," ").concat(t," ends")),ea.measure("".concat(yn," ").concat(t),"".concat(yn," ").concat(t," begins"),"".concat(yn," ").concat(t," ends"))},ta={begin:Eg,end:Su},Jn=function(){};function Tu(e){var t=e.getAttribute?e.getAttribute(vt):null;return typeof t=="string"}function Cg(e){var t=e.getAttribute?e.getAttribute(Ni):null,n=e.getAttribute?e.getAttribute(Oi):null;return t&&n}function kg(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(K.replacementClass)}function Mg(){if(K.autoReplaceSvg===!0)return er.replace;var e=er[K.autoReplaceSvg];return e||er.replace}function Dg(e){return ee.createElementNS("http://www.w3.org/2000/svg",e)}function Ig(e){return ee.createElement(e)}function Pu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?Dg:Ig:n;if(typeof e=="string")return ee.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(s){i.setAttribute(s,e.attributes[s])});var a=e.children||[];return a.forEach(function(s){i.appendChild(Pu(s,{ceFn:r}))}),i}function jg(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var er={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(Pu(i),n)}),n.getAttribute(vt)===null&&K.keepOriginalSource){var r=ee.createComment(jg(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~$i(n).indexOf(K.replacementClass))return er.replace(t);var i=new RegExp("".concat(K.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var a=r[0].attributes.class.split(" ").reduce(function(o,u){return u===K.replacementClass||u.match(i)?o.toSvg.push(u):o.toNode.push(u),o},{toNode:[],toSvg:[]});r[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",a.toNode.join(" "))}var s=r.map(function(o){return pn(o)}).join(`
568
+ `);n.setAttribute(vt,""),n.innerHTML=s}};function Eu(e){e()}function Cu(e,t){var n=typeof t=="function"?t:Jn;if(e.length===0)n();else{var r=Eu;K.mutateApproach===O0&&(r=st.requestAnimationFrame||Eu),r(function(){var i=Mg(),a=ta.begin("mutate");e.map(i),a(),n()})}}var na=!1;function ku(){na=!0}function ra(){na=!1}var tr=null;function Mu(e){if(vl&&K.observeMutations){var t=e.treeCallback,n=t===void 0?Jn:t,r=e.nodeCallback,i=r===void 0?Jn:r,a=e.pseudoElementsCallback,s=a===void 0?Jn:a,o=e.observeMutationsRoot,u=o===void 0?ee:o;tr=new vl(function(d){if(!na){var l=ot();zt(d).forEach(function(c){if(c.type==="childList"&&c.addedNodes.length>0&&!Tu(c.addedNodes[0])&&(K.searchPseudoElements&&s(c.target),n(c.target)),c.type==="attributes"&&c.target.parentNode&&K.searchPseudoElements&&s([c.target],!0),c.type==="attributes"&&Tu(c.target)&&~$0.indexOf(c.attributeName))if(c.attributeName==="class"&&Cg(c.target)){var f=Qn($i(c.target)),h=f.prefix,m=f.iconName;c.target.setAttribute(Ni,h||l),m&&c.target.setAttribute(Oi,m)}else kg(c.target)&&i(c.target)})}}),qe&&tr.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Fg(){tr&&tr.disconnect()}function Ng(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var a=i.split(":"),s=a[0],o=a.slice(1);return s&&o.length>0&&(r[s]=o.join(":").trim()),r},{})),n}function Og(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Qn($i(e));return i.prefix||(i.prefix=ot()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=ag(i.prefix,e.innerText)||Gi(i.prefix,su(e.innerText))),!i.iconName&&K.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function Lg(e){var t=zt(e.attributes).reduce(function(n,r){return n.name!=="class"&&n.name!=="style"&&(n[r.name]=r.value),n},{});return t}function Rg(){return{iconName:null,prefix:null,transform:Be,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Du(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=Og(e),r=n.iconName,i=n.prefix,a=n.rest,s=Lg(e),o=Ki("parseNodeAttributes",{},e),u=t.styleParser?Ng(e):[];return Y({iconName:r,prefix:i,transform:Be,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:u,attributes:s}},o)}var Vg=_e.styles;function Iu(e){var t=K.autoReplaceSvg==="nest"?Du(e,{styleParser:!1}):Du(e);return~t.extra.classes.indexOf(Ql)?lt("generateLayersText",e,t):lt("generateSvgReplacementMutation",e,t)}function _g(){return[].concat(Ve(_l),Ve(zl))}function ju(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!qe)return Promise.resolve();var n=ee.documentElement.classList,r=function(c){return n.add("".concat(Yl,"-").concat(c))},i=function(c){return n.remove("".concat(Yl,"-").concat(c))},a=K.autoFetchSvg?_g():wl.concat(Object.keys(Vg));a.includes("fa")||a.push("fa");var s=[".".concat(Ql,":not([").concat(vt,"])")].concat(a.map(function(l){return".".concat(l,":not([").concat(vt,"])")})).join(", ");if(s.length===0)return Promise.resolve();var o=[];try{o=zt(e.querySelectorAll(s))}catch{}if(o.length>0)r("pending"),i("complete");else return Promise.resolve();var u=ta.begin("onTree"),d=o.reduce(function(l,c){try{var f=Iu(c);f&&l.push(f)}catch(h){Kl||h.name==="MissingIcon"&&console.error(h)}return l},[]);return new Promise(function(l,c){Promise.all(d).then(function(f){Cu(f,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),u(),l()})}).catch(function(f){u(),c(f)})})}function Ug(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Iu(e).then(function(n){n&&Cu([n],t)})}function $g(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:Xi(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Xi(i||{})),e(r,Y(Y({},n),{},{mask:i}))}}var zg=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?Be:r,a=n.symbol,s=a===void 0?!1:a,o=n.mask,u=o===void 0?null:o,d=n.maskId,l=d===void 0?null:d,c=n.classes,f=c===void 0?[]:c,h=n.attributes,m=h===void 0?{}:h,b=n.styles,A=b===void 0?{}:b;if(t){var v=t.prefix,I=t.iconName,T=t.icon;return Zn(Y({type:"icon"},t),function(){return xt("beforeDOMElementCreation",{iconDefinition:t,params:n}),qi({icons:{main:Zi(T),mask:u?Zi(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:v,iconName:I,transform:Y(Y({},Be),i),symbol:s,maskId:l,extra:{attributes:m,styles:A,classes:f}})})}},Bg={mixout:function(){return{icon:$g(zg)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=ju,n.nodeCallback=Ug,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?ee:r,a=n.callback,s=a===void 0?function(){}:a;return ju(i,s)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,a=r.prefix,s=r.transform,o=r.symbol,u=r.mask,d=r.maskId,l=r.extra;return new Promise(function(c,f){Promise.all([Ji(i,a),u.iconName?Ji(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(h){var m=Wn(h,2),b=m[0],A=m[1];c([n,qi({icons:{main:b,mask:A},prefix:a,iconName:i,transform:s,symbol:o,maskId:d,extra:l,watchable:!0})])}).catch(f)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,a=n.main,s=n.transform,o=n.styles,u=Kn(o);u.length>0&&(i.style=u);var d;return zi(s)&&(d=lt("generateAbstractTransformGrouping",{main:a,transform:s,containerWidth:a.width,iconWidth:a.width})),r.push(d||a.icon),{children:r,attributes:i}}}},Wg={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,a=i===void 0?[]:i;return Zn({type:"layer"},function(){xt("beforeDOMElementCreation",{assembler:n,params:r});var s=[];return n(function(o){Array.isArray(o)?o.map(function(u){s=s.concat(u.abstract)}):s=s.concat(o.abstract)}),[{tag:"span",attributes:{class:["".concat(K.cssPrefix,"-layers")].concat(Ve(a)).join(" ")},children:s}]})}}}},Hg={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};r.title;var i=r.classes,a=i===void 0?[]:i,s=r.attributes,o=s===void 0?{}:s,u=r.styles,d=u===void 0?{}:u;return Zn({type:"counter",content:n},function(){return xt("beforeDOMElementCreation",{content:n,params:r}),Sg({content:n.toString(),extra:{attributes:o,styles:d,classes:["".concat(K.cssPrefix,"-layers-counter")].concat(Ve(a))}})})}}}},Yg={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,a=i===void 0?Be:i,s=r.classes,o=s===void 0?[]:s,u=r.attributes,d=u===void 0?{}:u,l=r.styles,c=l===void 0?{}:l;return Zn({type:"text",content:n},function(){return xt("beforeDOMElementCreation",{content:n,params:r}),wu({content:n,transform:Y(Y({},Be),a),extra:{attributes:d,styles:c,classes:["".concat(K.cssPrefix,"-layers-text")].concat(Ve(o))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.transform,a=r.extra,s=null,o=null;if(bl){var u=parseInt(getComputedStyle(n).fontSize,10),d=n.getBoundingClientRect();s=d.width/u,o=d.height/u}return Promise.resolve([n,wu({content:n.innerHTML,width:s,height:o,transform:i,extra:a,watchable:!0})])}}},Fu=new RegExp('"',"ug"),Nu=[1105920,1112319],Ou=Y(Y(Y(Y({},{FontAwesome:{normal:"fas",400:"fas"}}),kp),F0),Rp),ia=Object.keys(Ou).reduce(function(e,t){return e[t.toLowerCase()]=Ou[t],e},{}),Gg=Object.keys(ia).reduce(function(e,t){var n=ia[t];return e[t]=n[900]||Ve(Object.entries(n))[0][1],e},{});function Kg(e){var t=e.replace(Fu,"");return su(Ve(t)[0]||"")}function Xg(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),n=e.getPropertyValue("content"),r=n.replace(Fu,""),i=r.codePointAt(0),a=i>=Nu[0]&&i<=Nu[1],s=r.length===2?r[0]===r[1]:!1;return a||s||t}function qg(e,t){var n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),i=isNaN(r)?"normal":r;return(ia[n]||{})[i]||Gg[n]}function Lu(e,t){var n="".concat(N0).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=zt(e.children),s=a.filter(function(w){return w.getAttribute(Fi)===t})[0],o=st.getComputedStyle(e,t),u=o.getPropertyValue("font-family"),d=u.match(_0),l=o.getPropertyValue("font-weight"),c=o.getPropertyValue("content");if(s&&!d)return e.removeChild(s),r();if(d&&c!=="none"&&c!==""){var f=o.getPropertyValue("content"),h=qg(u,l),m=Kg(f),b=d[0].startsWith("FontAwesome"),A=Xg(o),v=Gi(h,m),I=v;if(b){var T=sg(m);T.iconName&&T.prefix&&(v=T.iconName,h=T.prefix)}if(v&&!A&&(!s||s.getAttribute(Ni)!==h||s.getAttribute(Oi)!==I)){e.setAttribute(n,I),s&&e.removeChild(s);var C=Rg(),P=C.extra;P.attributes[Fi]=t,Ji(v,h).then(function(w){var L=qi(Y(Y({},C),{},{icons:{main:w,mask:gu()},prefix:h,iconName:I,extra:P,watchable:!0})),p=ee.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(p,e.firstChild):e.appendChild(p),p.outerHTML=L.map(function(y){return pn(y)}).join(`
569
+ `),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function Qg(e){return Promise.all([Lu(e,"::before"),Lu(e,"::after")])}function Zg(e){return e.parentNode!==document.head&&!~L0.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Fi)&&(!e.parentNode||e.parentNode.tagName!=="svg")}var Jg=function(t){return!!t&&Gl.some(function(n){return t.includes(n)})},e1=function(t){if(!t)return[];var n=new Set,r=t.split(/,(?![^()]*\))/).map(function(u){return u.trim()});r=r.flatMap(function(u){return u.includes("(")?u:u.split(",").map(function(d){return d.trim()})});var i=Bn(r),a;try{for(i.s();!(a=i.n()).done;){var s=a.value;if(Jg(s)){var o=Gl.reduce(function(u,d){return u.replace(d,"")},s);o!==""&&o!=="*"&&n.add(o)}}}catch(u){i.e(u)}finally{i.f()}return n};function Ru(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(qe){var n;if(t)n=e;else if(K.searchPseudoElementsFullScan)n=e.querySelectorAll("*");else{var r=new Set,i=Bn(document.styleSheets),a;try{for(i.s();!(a=i.n()).done;){var s=a.value;try{var o=Bn(s.cssRules),u;try{for(o.s();!(u=o.n()).done;){var d=u.value,l=e1(d.selectorText),c=Bn(l),f;try{for(c.s();!(f=c.n()).done;){var h=f.value;r.add(h)}}catch(b){c.e(b)}finally{c.f()}}}catch(b){o.e(b)}finally{o.f()}}catch(b){K.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(s.href," (").concat(b.message,`)
570
+ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(b){i.e(b)}finally{i.f()}if(!r.size)return;var m=Array.from(r).join(", ");try{n=e.querySelectorAll(m)}catch{}}return new Promise(function(b,A){var v=zt(n).filter(Zg).map(Qg),I=ta.begin("searchPseudoElements");ku(),Promise.all(v).then(function(){I(),ra(),b()}).catch(function(){I(),ra(),A()})})}}var t1={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Ru,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?ee:r;K.searchPseudoElements&&Ru(i)}}},Vu=!1,n1={mixout:function(){return{dom:{unwatch:function(){ku(),Vu=!0}}}},hooks:function(){return{bootstrap:function(){Mu(Ki("mutationObserverCallbacks",{}))},noAuto:function(){Fg()},watch:function(n){var r=n.observeMutationsRoot;Vu?ra():Mu(Ki("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},_u=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,i){var a=i.toLowerCase().split("-"),s=a[0],o=a.slice(1).join("-");if(s&&o==="h")return r.flipX=!0,r;if(s&&o==="v")return r.flipY=!0,r;if(o=parseFloat(o),isNaN(o))return r;switch(s){case"grow":r.size=r.size+o;break;case"shrink":r.size=r.size-o;break;case"left":r.x=r.x-o;break;case"right":r.x=r.x+o;break;case"up":r.y=r.y-o;break;case"down":r.y=r.y+o;break;case"rotate":r.rotate=r.rotate+o;break}return r},n)},r1={mixout:function(){return{parse:{transform:function(n){return _u(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=_u(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,a=n.containerWidth,s=n.iconWidth,o={transform:"translate(".concat(a/2," 256)")},u="translate(".concat(i.x*32,", ").concat(i.y*32,") "),d="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),l="rotate(".concat(i.rotate," 0 0)"),c={transform:"".concat(u," ").concat(d," ").concat(l)},f={transform:"translate(".concat(s/2*-1," -256)")},h={outer:o,inner:c,path:f};return{tag:"g",attributes:Y({},h.outer),children:[{tag:"g",attributes:Y({},h.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Y(Y({},r.icon.attributes),h.path)}]}]}}}},aa={x:0,y:0,width:"100%",height:"100%"};function Uu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function i1(e){return e.tag==="g"?e.children:[e]}var a1={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),a=i?Qn(i.split(" ").map(function(s){return s.trim()})):gu();return a.prefix||(a.prefix=ot()),n.mask=a,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,i=n.attributes,a=n.main,s=n.mask,o=n.maskId,u=n.transform,d=a.width,l=a.icon,c=s.width,f=s.icon,h=q0({transform:u,containerWidth:c,iconWidth:d}),m={tag:"rect",attributes:Y(Y({},aa),{},{fill:"white"})},b=l.children?{children:l.children.map(Uu)}:{},A={tag:"g",attributes:Y({},h.inner),children:[Uu(Y({tag:l.tag,attributes:Y(Y({},l.attributes),h.path)},b))]},v={tag:"g",attributes:Y({},h.outer),children:[A]},I="mask-".concat(o||Jl()),T="clip-".concat(o||Jl()),C={tag:"mask",attributes:Y(Y({},aa),{},{id:I,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,v]},P={tag:"defs",children:[{tag:"clipPath",attributes:{id:T},children:i1(f)},C]};return r.push(P,{tag:"rect",attributes:Y({fill:"currentColor","clip-path":"url(#".concat(T,")"),mask:"url(#".concat(I,")")},aa)}),{children:r,attributes:i}}}},s1={provides:function(t){var n=!1;st.matchMedia&&(n=st.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:Y(Y({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=Y(Y({},a),{},{attributeName:"opacity"}),o={tag:"circle",attributes:Y(Y({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||o.children.push({tag:"animate",attributes:Y(Y({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Y(Y({},s),{},{values:"1;0;1;1;0;1;"})}),r.push(o),r.push({tag:"path",attributes:Y(Y({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:Y(Y({},s),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:Y(Y({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Y(Y({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},o1={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-symbol"),a=i===null?!1:i===""?!0:i;return n.symbol=a,n}}}},l1=[J0,Bg,Wg,Hg,Yg,t1,n1,r1,a1,s1,o1];pg(l1,{mixoutsTo:Ee}),Ee.noAuto;var vn=Ee.config,u1=Ee.library;Ee.dom;var $u=Ee.parse;Ee.findIconDefinition,Ee.toHtml;var c1=Ee.icon;Ee.layer,Ee.text,Ee.counter;function f1(e){return e=e-0,e===e}function zu(e){return f1(e)?e:(e=e.replace(/[_-]+(.)?/g,(t,n)=>n?n.toUpperCase():""),e.charAt(0).toLowerCase()+e.slice(1))}function d1(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Ht=new Map,h1=1e3;function m1(e){if(Ht.has(e))return Ht.get(e);const t={};let n=0;const r=e.length;for(;n<r;){const i=e.indexOf(";",n),a=i===-1?r:i,s=e.slice(n,a).trim();if(s){const o=s.indexOf(":");if(o>0){const u=s.slice(0,o).trim(),d=s.slice(o+1).trim();if(u&&d){const l=zu(u);t[l.startsWith("webkit")?d1(l):l]=d}}}n=a+1}if(Ht.size===h1){const i=Ht.keys().next().value;i&&Ht.delete(i)}return Ht.set(e,t),t}function Bu(e,t,n={}){if(typeof t=="string")return t;const r=(t.children||[]).map(l=>Bu(e,l)),i=t.attributes||{},a={};for(const[l,c]of Object.entries(i))switch(!0){case l==="class":{a.className=c;break}case l==="style":{a.style=m1(String(c));break}case l.startsWith("aria-"):case l.startsWith("data-"):{a[l.toLowerCase()]=c;break}default:a[zu(l)]=c}const{style:s,role:o,"aria-label":u,...d}=n;return s&&(a.style=a.style?{...a.style,...s}:s),o&&(a.role=o),u&&(a["aria-label"]=u,a["aria-hidden"]="false"),e(t.tag,{...d,...a},...r)}var p1=Bu.bind(null,z.createElement),Wu=(e,t)=>{const n=z.useId();return e||(t?n:void 0)},g1=class{constructor(e="react-fontawesome"){this.enabled=!1;let t=!1;try{t=typeof process<"u"&&process.env.NODE_ENV==="development"}catch{}this.scope=e,this.enabled=t}log(...e){this.enabled&&console.log(`[${this.scope}]`,...e)}warn(...e){this.enabled&&console.warn(`[${this.scope}]`,...e)}error(...e){this.enabled&&console.error(`[${this.scope}]`,...e)}};typeof process<"u"&&process.env.FA_VERSION;var y1="searchPseudoElementsFullScan"in vn?"7.0.0":"6.0.0",v1=Number.parseInt(y1)>=7,bn="fa",Je={beat:"fa-beat",fade:"fa-fade",beatFade:"fa-beat-fade",bounce:"fa-bounce",shake:"fa-shake",spin:"fa-spin",spinPulse:"fa-spin-pulse",spinReverse:"fa-spin-reverse",pulse:"fa-pulse"},b1={left:"fa-pull-left",right:"fa-pull-right"},x1={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},w1={"2xs":"fa-2xs",xs:"fa-xs",sm:"fa-sm",lg:"fa-lg",xl:"fa-xl","2xl":"fa-2xl","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x"},et={border:"fa-border",fixedWidth:"fa-fw",flip:"fa-flip",flipHorizontal:"fa-flip-horizontal",flipVertical:"fa-flip-vertical",inverse:"fa-inverse",rotateBy:"fa-rotate-by",swapOpacity:"fa-swap-opacity",widthAuto:"fa-width-auto"};function A1(e){const t=vn.cssPrefix||vn.familyPrefix||bn;return t===bn?e:e.replace(new RegExp(String.raw`(?<=^|\s)${bn}-`,"g"),`${t}-`)}function S1(e){const{beat:t,fade:n,beatFade:r,bounce:i,shake:a,spin:s,spinPulse:o,spinReverse:u,pulse:d,fixedWidth:l,inverse:c,border:f,flip:h,size:m,rotation:b,pull:A,swapOpacity:v,rotateBy:I,widthAuto:T,className:C}=e,P=[];return C&&P.push(...C.split(" ")),t&&P.push(Je.beat),n&&P.push(Je.fade),r&&P.push(Je.beatFade),i&&P.push(Je.bounce),a&&P.push(Je.shake),s&&P.push(Je.spin),u&&P.push(Je.spinReverse),o&&P.push(Je.spinPulse),d&&P.push(Je.pulse),l&&P.push(et.fixedWidth),c&&P.push(et.inverse),f&&P.push(et.border),h===!0&&P.push(et.flip),(h==="horizontal"||h==="both")&&P.push(et.flipHorizontal),(h==="vertical"||h==="both")&&P.push(et.flipVertical),m!=null&&P.push(w1[m]),b!=null&&b!==0&&P.push(x1[b]),A!=null&&P.push(b1[A]),v&&P.push(et.swapOpacity),v1?(I&&P.push(et.rotateBy),T&&P.push(et.widthAuto),(vn.cssPrefix||vn.familyPrefix||bn)===bn?P:P.map(A1)):P}var T1=e=>typeof e=="object"&&"icon"in e&&!!e.icon;function Hu(e){if(e)return T1(e)?e:$u.icon(e)}function P1(e){return Object.keys(e)}var Yu=new g1("FontAwesomeIcon"),Gu={border:!1,className:"",mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1},E1=new Set(Object.keys(Gu)),Ce=z.forwardRef((e,t)=>{const n={...Gu,...e},{icon:r,mask:i,symbol:a,title:s,titleId:o,maskId:u,transform:d}=n,l=Wu(u,!!i),c=Wu(o,!!s),f=Hu(r);if(!f)return Yu.error("Icon lookup is undefined",r),null;const h=S1(n),m=typeof d=="string"?$u.transform(d):d,b=Hu(i),A=c1(f,{...h.length>0&&{classes:h},...m&&{transform:m},...b&&{mask:b},symbol:a,title:s,titleId:c,maskId:l});if(!A)return Yu.error("Could not find icon",f),null;const{abstract:v}=A,I={ref:t};for(const T of P1(n))E1.has(T)||(I[T]=n[T]);return p1(v[0],I)});Ce.displayName="FontAwesomeIcon";function C1({headingBlock:e,modifyHeading:t}){return k.jsx("input",{type:"text",className:"border-b heading",placeholder:"Heading...",autoFocus:!0,value:e.data.text,onChange:n=>t({headingBlockId:e.id,newContent:n.target.value,level:1})})}function k1({headingBlock:e}){return k.jsx("h2",{className:"heading",children:e.data.text},e.id)}function M1({subheadingBlock:e,modifySubheading:t}){return k.jsx("input",{type:"text",className:"border-b subheading",placeholder:"sub heading ...",autoFocus:!0,value:e.data.text,onChange:n=>t({subheadingBlockId:e.id,newContent:n.target.value})})}function D1({subheadingBlock:e}){return k.jsx("h2",{className:"subheading",children:e.data.text},e.id)}function I1({paragraphBlock:e,modifyParagraph:t}){return k.jsx("textarea",{className:"border-b paragraph",placeholder:"Write something...",autoFocus:!0,value:e.data.text,onChange:n=>t({paragraphBlockId:e.id,newContent:n.target.value})})}function j1({paragraphBlock:e}){return k.jsx("p",{className:"paragraph",children:e.data.text},e.id)}function F1({listBlock:e,modifyList:t}){return k.jsx("input",{type:"text",className:"border-b w-full list",placeholder:"separate items using comma",autoFocus:!0,value:e.data.items.join(","),onChange:n=>t({listBlockId:e.id,listStyle:e.data.listStyle,items:n.target.value.split(",").map(r=>r.trim())})})}function N1({listBlock:e}){return k.jsx("ul",{className:"list-disc pl-5 list",children:e.data.items.map((t,n)=>k.jsx("li",{children:t},n))},e.id)}function O1({quoteBlock:e,modifyQuote:t}){return k.jsx("input",{type:"text",className:"border-b quote",placeholder:"Quote...",autoFocus:!0,value:e.data.text,onChange:n=>t({quoteBlockId:e.id,newContent:n.target.value,author:e.data.author})})}function L1({quoteBlock:e}){return k.jsx("blockquote",{className:"quote",children:e.data.text},e.id)}function R1({tableBlock:e,modifyTable:t}){const{data:n}=e;if(!n?.body?.length)return null;const r={rows:n.body.at(-1)?.id[0]??0,cols:n.body.at(-1)?.id[1]??0};return k.jsxs("table",{className:"mt-4",children:[k.jsx("thead",{children:k.jsx("tr",{children:e.data?.head?.map((i,a)=>k.jsx("th",{className:"border p-2",children:k.jsx("input",{type:"text",className:"outline-none w-full",autoFocus:!0,value:i.content,onChange:s=>{const o=e.data.head.map(d=>d.id===i.id?{...d,content:s.target.value}:d),u={...e.data,head:o};t({tableBlockId:e.id,tableContent:u})}})},a))})}),k.jsx("tbody",{children:Array.from({length:r.rows+1},(i,a)=>{const s=[];for(let o=0;o<=r.cols;o++)s.push(k.jsx("td",{className:"border p-2",children:k.jsx("input",{type:"text",className:"outline-none w-full",placeholder:`Row ${a+1}, Col ${o+1}`,value:n.body.find(u=>u.id[0]===a&&u.id[1]===o)?.content||"",onChange:u=>{const d=n.body.map(c=>c.id[0]===a&&c.id[1]===o?{...c,content:u.target.value}:c),l={...n,body:d};t({tableBlockId:e.id,tableContent:l})}})},`${a}-${o}`));return k.jsx("tr",{children:s},a)})})]})}function V1({tableBlock:e}){if(!e.data||!e.data.head||!e.data.body)return null;const{head:t,body:n}=e.data,r=t.length,i=n.reduce((a,s,o)=>{const u=Math.floor(o/r);return a[u]||(a[u]=[]),a[u].push(s),a},[]);return k.jsxs("table",{className:"w-full",children:[k.jsx("thead",{children:k.jsx("tr",{children:t.map(a=>k.jsx("th",{className:"border p-2",children:a.content},a.id))})}),k.jsx("tbody",{children:i.map((a,s)=>k.jsx("tr",{children:a.map(o=>k.jsx("td",{className:"border p-2",children:o.content},o.id.join("-")))},s))})]},e.id)}function _1({handleClick:e}){const[t,n]=z.useState(!1),[r,i]=z.useState(0),[a,s]=z.useState(0),[o,u]=z.useState({rows:2,cols:2}),d=10;z.useEffect(()=>{r<0&&i(0),a<0&&s(0),u({rows:r,cols:a})},[r,a]);const l=()=>{n(!1),e("table",o)};return k.jsxs("div",{className:"relative",children:[k.jsx(Ce,{icon:["fas","angle-down"],onClick:()=>n(c=>!c)}),t?k.jsxs("div",{className:"absolute -translate-x-[40px] translate-y-[10px] bg-white flex flex-col gap-1 w-40 h-50 border border-gray-600 rounded-[10px] cursor-pointer p-2",children:[k.jsxs("div",{className:"flex w-full gap-1",children:[k.jsx("input",{className:"w-[40px] underline text-center border rounded-[5px]",type:"number",value:r,onChange:c=>i(c.target.value)}),"x",k.jsx("input",{className:"w-[40px] underline text-center border rounded-[5px]",type:"number",value:a,onChange:c=>s(c.target.value)}),k.jsx("button",{className:"border rounded-[5px] leading-none px-1 border-(--draftify-theme-color) text-(--draftify-theme-color) cursor-pointer hover:bg-(--draftify-theme-color) hover:text-white",onClick:l,children:"enter"})]}),[...Array(d)].map((c,f)=>k.jsx("div",{className:"flex gap-1",children:[...Array(d)].map((h,m)=>k.jsx("div",{className:`flex-1 h-3 border border-gray-600 rounded-2 ${f<=o.rows&&m<=o.cols?"bg-blue-400":"bg-gray-200"}`,onMouseEnter:()=>{i(f),s(m)},onMouseLeave:()=>u({rows:0,cols:0}),onClick:l},`${f}-${m}`))},f))]}):null]})}function U1(e,t){return t.forEach((function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach((function(r){if(r!=="default"&&!(r in e)){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}}))})),Object.freeze(e)}function Ku(e,t){return new Promise((function(n,r){let i;return $1(e).then((function(a){try{return i=a,n(new Blob([t.slice(0,2),i,t.slice(2)],{type:"image/jpeg"}))}catch(s){return r(s)}}),r)}))}const $1=e=>new Promise(((t,n)=>{const r=new FileReader;r.addEventListener("load",(({target:{result:i}})=>{const a=new DataView(i);let s=0;if(a.getUint16(s)!==65496)return n("not a valid JPEG");for(s+=2;;){const o=a.getUint16(s);if(o===65498)break;const u=a.getUint16(s+2);if(o===65505&&a.getUint32(s+4)===1165519206){const d=s+10;let l;switch(a.getUint16(d)){case 18761:l=!0;break;case 19789:l=!1;break;default:return n("TIFF header contains invalid endian")}if(a.getUint16(d+2,l)!==42)return n("TIFF header contains invalid version");const c=a.getUint32(d+4,l),f=d+c+2+12*a.getUint16(d+c,l);for(let h=d+c+2;h<f;h+=12)if(a.getUint16(h,l)==274){if(a.getUint16(h+2,l)!==3)return n("Orientation data type is invalid");if(a.getUint32(h+4,l)!==1)return n("Orientation data count is invalid");a.setUint16(h+8,1,l);break}return t(i.slice(s,s+2+u))}s+=2+u}return t(new Blob)})),r.readAsArrayBuffer(e)}));var nr={},z1={get exports(){return nr},set exports(e){nr=e}};(function(e){var t,n,r={};z1.exports=r,r.parse=function(i,a){for(var s=r.bin.readUshort,o=r.bin.readUint,u=0,d={},l=new Uint8Array(i),c=l.length-4;o(l,c)!=101010256;)c--;u=c,u+=4;var f=s(l,u+=4);s(l,u+=2);var h=o(l,u+=2),m=o(l,u+=4);u+=4,u=m;for(var b=0;b<f;b++){o(l,u),u+=4,u+=4,u+=4,o(l,u+=4),h=o(l,u+=4);var A=o(l,u+=4),v=s(l,u+=4),I=s(l,u+2),T=s(l,u+4);u+=6;var C=o(l,u+=8);u+=4,u+=v+I+T,r._readLocal(l,C,d,h,A,a)}return d},r._readLocal=function(i,a,s,o,u,d){var l=r.bin.readUshort,c=r.bin.readUint;c(i,a),l(i,a+=4),l(i,a+=2);var f=l(i,a+=2);c(i,a+=2),c(i,a+=4),a+=4;var h=l(i,a+=8),m=l(i,a+=2);a+=2;var b=r.bin.readUTF8(i,a,h);if(a+=h,a+=m,d)s[b]={size:u,csize:o};else{var A=new Uint8Array(i.buffer,a);if(f==0)s[b]=new Uint8Array(A.buffer.slice(a,a+o));else{if(f!=8)throw"unknown compression method: "+f;var v=new Uint8Array(u);r.inflateRaw(A,v),s[b]=v}}},r.inflateRaw=function(i,a){return r.F.inflate(i,a)},r.inflate=function(i,a){return i[0],i[1],r.inflateRaw(new Uint8Array(i.buffer,i.byteOffset+2,i.length-6),a)},r.deflate=function(i,a){a==null&&(a={level:6});var s=0,o=new Uint8Array(50+Math.floor(1.1*i.length));o[s]=120,o[s+1]=156,s+=2,s=r.F.deflateRaw(i,o,s,a.level);var u=r.adler(i,0,i.length);return o[s+0]=u>>>24&255,o[s+1]=u>>>16&255,o[s+2]=u>>>8&255,o[s+3]=u>>>0&255,new Uint8Array(o.buffer,0,s+4)},r.deflateRaw=function(i,a){a==null&&(a={level:6});var s=new Uint8Array(50+Math.floor(1.1*i.length)),o=r.F.deflateRaw(i,s,o,a.level);return new Uint8Array(s.buffer,0,o)},r.encode=function(i,a){a==null&&(a=!1);var s=0,o=r.bin.writeUint,u=r.bin.writeUshort,d={};for(var l in i){var c=!r._noNeed(l)&&!a,f=i[l],h=r.crc.crc(f,0,f.length);d[l]={cpr:c,usize:f.length,crc:h,file:c?r.deflateRaw(f):f}}for(var l in d)s+=d[l].file.length+30+46+2*r.bin.sizeUTF8(l);s+=22;var m=new Uint8Array(s),b=0,A=[];for(var l in d){var v=d[l];A.push(b),b=r._writeHeader(m,b,l,v,0)}var I=0,T=b;for(var l in d)v=d[l],A.push(b),b=r._writeHeader(m,b,l,v,1,A[I++]);var C=b-T;return o(m,b,101010256),b+=4,u(m,b+=4,I),u(m,b+=2,I),o(m,b+=2,C),o(m,b+=4,T),b+=4,b+=2,m.buffer},r._noNeed=function(i){var a=i.split(".").pop().toLowerCase();return"png,jpg,jpeg,zip".indexOf(a)!=-1},r._writeHeader=function(i,a,s,o,u,d){var l=r.bin.writeUint,c=r.bin.writeUshort,f=o.file;return l(i,a,u==0?67324752:33639248),a+=4,u==1&&(a+=2),c(i,a,20),c(i,a+=2,0),c(i,a+=2,o.cpr?8:0),l(i,a+=2,0),l(i,a+=4,o.crc),l(i,a+=4,f.length),l(i,a+=4,o.usize),c(i,a+=4,r.bin.sizeUTF8(s)),c(i,a+=2,0),a+=2,u==1&&(a+=2,a+=2,l(i,a+=6,d),a+=4),a+=r.bin.writeUTF8(i,a,s),u==0&&(i.set(f,a),a+=f.length),a},r.crc={table:(function(){for(var i=new Uint32Array(256),a=0;a<256;a++){for(var s=a,o=0;o<8;o++)1&s?s=3988292384^s>>>1:s>>>=1;i[a]=s}return i})(),update:function(i,a,s,o){for(var u=0;u<o;u++)i=r.crc.table[255&(i^a[s+u])]^i>>>8;return i},crc:function(i,a,s){return 4294967295^r.crc.update(4294967295,i,a,s)}},r.adler=function(i,a,s){for(var o=1,u=0,d=a,l=a+s;d<l;){for(var c=Math.min(d+5552,l);d<c;)u+=o+=i[d++];o%=65521,u%=65521}return u<<16|o},r.bin={readUshort:function(i,a){return i[a]|i[a+1]<<8},writeUshort:function(i,a,s){i[a]=255&s,i[a+1]=s>>8&255},readUint:function(i,a){return 16777216*i[a+3]+(i[a+2]<<16|i[a+1]<<8|i[a])},writeUint:function(i,a,s){i[a]=255&s,i[a+1]=s>>8&255,i[a+2]=s>>16&255,i[a+3]=s>>24&255},readASCII:function(i,a,s){for(var o="",u=0;u<s;u++)o+=String.fromCharCode(i[a+u]);return o},writeASCII:function(i,a,s){for(var o=0;o<s.length;o++)i[a+o]=s.charCodeAt(o)},pad:function(i){return i.length<2?"0"+i:i},readUTF8:function(i,a,s){for(var o,u="",d=0;d<s;d++)u+="%"+r.bin.pad(i[a+d].toString(16));try{o=decodeURIComponent(u)}catch{return r.bin.readASCII(i,a,s)}return o},writeUTF8:function(i,a,s){for(var o=s.length,u=0,d=0;d<o;d++){var l=s.charCodeAt(d);if((4294967168&l)==0)i[a+u]=l,u++;else if((4294965248&l)==0)i[a+u]=192|l>>6,i[a+u+1]=128|l>>0&63,u+=2;else if((4294901760&l)==0)i[a+u]=224|l>>12,i[a+u+1]=128|l>>6&63,i[a+u+2]=128|l>>0&63,u+=3;else{if((4292870144&l)!=0)throw"e";i[a+u]=240|l>>18,i[a+u+1]=128|l>>12&63,i[a+u+2]=128|l>>6&63,i[a+u+3]=128|l>>0&63,u+=4}}return u},sizeUTF8:function(i){for(var a=i.length,s=0,o=0;o<a;o++){var u=i.charCodeAt(o);if((4294967168&u)==0)s++;else if((4294965248&u)==0)s+=2;else if((4294901760&u)==0)s+=3;else{if((4292870144&u)!=0)throw"e";s+=4}}return s}},r.F={},r.F.deflateRaw=function(i,a,s,o){var u=[[0,0,0,0,0],[4,4,8,4,0],[4,5,16,8,0],[4,6,16,16,0],[4,10,16,32,0],[8,16,32,32,0],[8,16,128,128,0],[8,32,128,256,0],[32,128,258,1024,1],[32,258,258,4096,1]][o],d=r.F.U,l=r.F._goodIndex;r.F._hash;var c=r.F._putsE,f=0,h=s<<3,m=0,b=i.length;if(o==0){for(;f<b;)c(a,h,f+(D=Math.min(65535,b-f))==b?1:0),h=r.F._copyExact(i,f,D,a,h+8),f+=D;return h>>>3}var A=d.lits,v=d.strt,I=d.prev,T=0,C=0,P=0,w=0,L=0,p=0;for(b>2&&(v[p=r.F._hash(i,0)]=0),f=0;f<b;f++){if(L=p,f+1<b-2){p=r.F._hash(i,f+1);var y=f+1&32767;I[y]=v[p],v[p]=y}if(m<=f){(T>14e3||C>26697)&&b-f>100&&(m<f&&(A[T]=f-m,T+=2,m=f),h=r.F._writeBlock(f==b-1||m==b?1:0,A,T,w,i,P,f-P,a,h),T=C=w=0,P=f);var S=0;f<b-2&&(S=r.F._bestMatch(i,f,I,L,Math.min(u[2],b-f),u[3]));var D=S>>>16,j=65535&S;if(S!=0){j=65535&S;var F=l(D=S>>>16,d.of0);d.lhst[257+F]++;var E=l(j,d.df0);d.dhst[E]++,w+=d.exb[F]+d.dxb[E],A[T]=D<<23|f-m,A[T+1]=j<<16|F<<8|E,T+=2,m=f+D}else d.lhst[i[f]]++;C++}}for(P==f&&i.length!=0||(m<f&&(A[T]=f-m,T+=2,m=f),h=r.F._writeBlock(1,A,T,w,i,P,f-P,a,h),T=0,C=0,T=C=w=0,P=f);(7&h)!=0;)h++;return h>>>3},r.F._bestMatch=function(i,a,s,o,u,d){var l=32767&a,c=s[l],f=l-c+32768&32767;if(c==l||o!=r.F._hash(i,a-f))return 0;for(var h=0,m=0,b=Math.min(32767,a);f<=b&&--d!=0&&c!=l;){if(h==0||i[a+h]==i[a+h-f]){var A=r.F._howLong(i,a,f);if(A>h){if(m=f,(h=A)>=u)break;f+2<A&&(A=f+2);for(var v=0,I=0;I<A-2;I++){var T=a-f+I+32768&32767,C=T-s[T]+32768&32767;C>v&&(v=C,c=T)}}}f+=(l=c)-(c=s[l])+32768&32767}return h<<16|m},r.F._howLong=function(i,a,s){if(i[a]!=i[a-s]||i[a+1]!=i[a+1-s]||i[a+2]!=i[a+2-s])return 0;var o=a,u=Math.min(i.length,a+258);for(a+=3;a<u&&i[a]==i[a-s];)a++;return a-o},r.F._hash=function(i,a){return(i[a]<<8|i[a+1])+(i[a+2]<<4)&65535},r.saved=0,r.F._writeBlock=function(i,a,s,o,u,d,l,c,f){var h,m,b,A,v,I,T,C,P,w=r.F.U,L=r.F._putsF,p=r.F._putsE;w.lhst[256]++,m=(h=r.F.getTrees())[0],b=h[1],A=h[2],v=h[3],I=h[4],T=h[5],C=h[6],P=h[7];var y=32+((f+3&7)==0?0:8-(f+3&7))+(l<<3),S=o+r.F.contSize(w.fltree,w.lhst)+r.F.contSize(w.fdtree,w.dhst),D=o+r.F.contSize(w.ltree,w.lhst)+r.F.contSize(w.dtree,w.dhst);D+=14+3*T+r.F.contSize(w.itree,w.ihst)+(2*w.ihst[16]+3*w.ihst[17]+7*w.ihst[18]);for(var j=0;j<286;j++)w.lhst[j]=0;for(j=0;j<30;j++)w.dhst[j]=0;for(j=0;j<19;j++)w.ihst[j]=0;var F=y<S&&y<D?0:S<D?1:2;if(L(c,f,i),L(c,f+1,F),f+=3,F==0){for(;(7&f)!=0;)f++;f=r.F._copyExact(u,d,l,c,f)}else{var E,R;if(F==1&&(E=w.fltree,R=w.fdtree),F==2){r.F.makeCodes(w.ltree,m),r.F.revCodes(w.ltree,m),r.F.makeCodes(w.dtree,b),r.F.revCodes(w.dtree,b),r.F.makeCodes(w.itree,A),r.F.revCodes(w.itree,A),E=w.ltree,R=w.dtree,p(c,f,v-257),p(c,f+=5,I-1),p(c,f+=5,T-4),f+=4;for(var x=0;x<T;x++)p(c,f+3*x,w.itree[1+(w.ordr[x]<<1)]);f+=3*T,f=r.F._codeTiny(C,w.itree,c,f),f=r.F._codeTiny(P,w.itree,c,f)}for(var g=d,V=0;V<s;V+=2){for(var O=a[V],U=O>>>23,N=g+(8388607&O);g<N;)f=r.F._writeLit(u[g++],E,c,f);if(U!=0){var _=a[V+1],W=_>>16,$=_>>8&255,M=255&_;p(c,f=r.F._writeLit(257+$,E,c,f),U-w.of0[$]),f+=w.exb[$],L(c,f=r.F._writeLit(M,R,c,f),W-w.df0[M]),f+=w.dxb[M],g+=U}}f=r.F._writeLit(256,E,c,f)}return f},r.F._copyExact=function(i,a,s,o,u){var d=u>>>3;return o[d]=s,o[d+1]=s>>>8,o[d+2]=255-o[d],o[d+3]=255-o[d+1],d+=4,o.set(new Uint8Array(i.buffer,a,s),d),u+(s+4<<3)},r.F.getTrees=function(){for(var i=r.F.U,a=r.F._hufTree(i.lhst,i.ltree,15),s=r.F._hufTree(i.dhst,i.dtree,15),o=[],u=r.F._lenCodes(i.ltree,o),d=[],l=r.F._lenCodes(i.dtree,d),c=0;c<o.length;c+=2)i.ihst[o[c]]++;for(c=0;c<d.length;c+=2)i.ihst[d[c]]++;for(var f=r.F._hufTree(i.ihst,i.itree,7),h=19;h>4&&i.itree[1+(i.ordr[h-1]<<1)]==0;)h--;return[a,s,f,u,l,h,o,d]},r.F.getSecond=function(i){for(var a=[],s=0;s<i.length;s+=2)a.push(i[s+1]);return a},r.F.nonZero=function(i){for(var a="",s=0;s<i.length;s+=2)i[s+1]!=0&&(a+=(s>>1)+",");return a},r.F.contSize=function(i,a){for(var s=0,o=0;o<a.length;o++)s+=a[o]*i[1+(o<<1)];return s},r.F._codeTiny=function(i,a,s,o){for(var u=0;u<i.length;u+=2){var d=i[u],l=i[u+1];o=r.F._writeLit(d,a,s,o);var c=d==16?2:d==17?3:7;d>15&&(r.F._putsE(s,o,l,c),o+=c)}return o},r.F._lenCodes=function(i,a){for(var s=i.length;s!=2&&i[s-1]==0;)s-=2;for(var o=0;o<s;o+=2){var u=i[o+1],d=o+3<s?i[o+3]:-1,l=o+5<s?i[o+5]:-1,c=o==0?-1:i[o-1];if(u==0&&d==u&&l==u){for(var f=o+5;f+2<s&&i[f+2]==u;)f+=2;(h=Math.min(f+1-o>>>1,138))<11?a.push(17,h-3):a.push(18,h-11),o+=2*h-2}else if(u==c&&d==u&&l==u){for(f=o+5;f+2<s&&i[f+2]==u;)f+=2;var h=Math.min(f+1-o>>>1,6);a.push(16,h-3),o+=2*h-2}else a.push(u,0)}return s>>>1},r.F._hufTree=function(i,a,s){var o=[],u=i.length,d=a.length,l=0;for(l=0;l<d;l+=2)a[l]=0,a[l+1]=0;for(l=0;l<u;l++)i[l]!=0&&o.push({lit:l,f:i[l]});var c=o.length,f=o.slice(0);if(c==0)return 0;if(c==1){var h=o[0].lit;return f=h==0?1:0,a[1+(h<<1)]=1,a[1+(f<<1)]=1,1}o.sort((function(C,P){return C.f-P.f}));var m=o[0],b=o[1],A=0,v=1,I=2;for(o[0]={lit:-1,f:m.f+b.f,l:m,r:b,d:0};v!=c-1;)m=A!=v&&(I==c||o[A].f<o[I].f)?o[A++]:o[I++],b=A!=v&&(I==c||o[A].f<o[I].f)?o[A++]:o[I++],o[v++]={lit:-1,f:m.f+b.f,l:m,r:b};var T=r.F.setDepth(o[v-1],0);for(T>s&&(r.F.restrictDepth(f,s,T),T=s),l=0;l<c;l++)a[1+(f[l].lit<<1)]=f[l].d;return T},r.F.setDepth=function(i,a){return i.lit!=-1?(i.d=a,a):Math.max(r.F.setDepth(i.l,a+1),r.F.setDepth(i.r,a+1))},r.F.restrictDepth=function(i,a,s){var o=0,u=1<<s-a,d=0;for(i.sort((function(c,f){return f.d==c.d?c.f-f.f:f.d-c.d})),o=0;o<i.length&&i[o].d>a;o++){var l=i[o].d;i[o].d=a,d+=u-(1<<s-l)}for(d>>>=s-a;d>0;)(l=i[o].d)<a?(i[o].d++,d-=1<<a-l-1):o++;for(;o>=0;o--)i[o].d==a&&d<0&&(i[o].d--,d++);d!=0&&console.log("debt left")},r.F._goodIndex=function(i,a){var s=0;return a[16|s]<=i&&(s|=16),a[8|s]<=i&&(s|=8),a[4|s]<=i&&(s|=4),a[2|s]<=i&&(s|=2),a[1|s]<=i&&(s|=1),s},r.F._writeLit=function(i,a,s,o){return r.F._putsF(s,o,a[i<<1]),o+a[1+(i<<1)]},r.F.inflate=function(i,a){var s=Uint8Array;if(i[0]==3&&i[1]==0)return a||new s(0);var o=r.F,u=o._bitsF,d=o._bitsE,l=o._decodeTiny,c=o.makeCodes,f=o.codes2map,h=o._get17,m=o.U,b=a==null;b&&(a=new s(i.length>>>2<<3));for(var A,v,I=0,T=0,C=0,P=0,w=0,L=0,p=0,y=0,S=0;I==0;)if(I=u(i,S,1),T=u(i,S+1,2),S+=3,T!=0){if(b&&(a=r.F._check(a,y+(1<<17))),T==1&&(A=m.flmap,v=m.fdmap,L=511,p=31),T==2){C=d(i,S,5)+257,P=d(i,S+5,5)+1,w=d(i,S+10,4)+4,S+=14;for(var D=0;D<38;D+=2)m.itree[D]=0,m.itree[D+1]=0;var j=1;for(D=0;D<w;D++){var F=d(i,S+3*D,3);m.itree[1+(m.ordr[D]<<1)]=F,F>j&&(j=F)}S+=3*w,c(m.itree,j),f(m.itree,j,m.imap),A=m.lmap,v=m.dmap,S=l(m.imap,(1<<j)-1,C+P,i,S,m.ttree);var E=o._copyOut(m.ttree,0,C,m.ltree);L=(1<<E)-1;var R=o._copyOut(m.ttree,C,P,m.dtree);p=(1<<R)-1,c(m.ltree,E),f(m.ltree,E,A),c(m.dtree,R),f(m.dtree,R,v)}for(;;){var x=A[h(i,S)&L];S+=15&x;var g=x>>>4;if(!(g>>>8))a[y++]=g;else{if(g==256)break;var V=y+g-254;if(g>264){var O=m.ldef[g-257];V=y+(O>>>3)+d(i,S,7&O),S+=7&O}var U=v[h(i,S)&p];S+=15&U;var N=U>>>4,_=m.ddef[N],W=(_>>>4)+u(i,S,15&_);for(S+=15&_,b&&(a=r.F._check(a,y+(1<<17)));y<V;)a[y]=a[y++-W],a[y]=a[y++-W],a[y]=a[y++-W],a[y]=a[y++-W];y=V}}}else{(7&S)!=0&&(S+=8-(7&S));var $=4+(S>>>3),M=i[$-4]|i[$-3]<<8;b&&(a=r.F._check(a,y+M)),a.set(new s(i.buffer,i.byteOffset+$,M),y),S=$+M<<3,y+=M}return a.length==y?a:a.slice(0,y)},r.F._check=function(i,a){var s=i.length;if(a<=s)return i;var o=new Uint8Array(Math.max(s<<1,a));return o.set(i,0),o},r.F._decodeTiny=function(i,a,s,o,u,d){for(var l=r.F._bitsE,c=r.F._get17,f=0;f<s;){var h=i[c(o,u)&a];u+=15&h;var m=h>>>4;if(m<=15)d[f]=m,f++;else{var b=0,A=0;m==16?(A=3+l(o,u,2),u+=2,b=d[f-1]):m==17?(A=3+l(o,u,3),u+=3):m==18&&(A=11+l(o,u,7),u+=7);for(var v=f+A;f<v;)d[f]=b,f++}}return u},r.F._copyOut=function(i,a,s,o){for(var u=0,d=0,l=o.length>>>1;d<s;){var c=i[d+a];o[d<<1]=0,o[1+(d<<1)]=c,c>u&&(u=c),d++}for(;d<l;)o[d<<1]=0,o[1+(d<<1)]=0,d++;return u},r.F.makeCodes=function(i,a){for(var s,o,u,d,l=r.F.U,c=i.length,f=l.bl_count,h=0;h<=a;h++)f[h]=0;for(h=1;h<c;h+=2)f[i[h]]++;var m=l.next_code;for(s=0,f[0]=0,o=1;o<=a;o++)s=s+f[o-1]<<1,m[o]=s;for(u=0;u<c;u+=2)(d=i[u+1])!=0&&(i[u]=m[d],m[d]++)},r.F.codes2map=function(i,a,s){for(var o=i.length,u=r.F.U.rev15,d=0;d<o;d+=2)if(i[d+1]!=0)for(var l=d>>1,c=i[d+1],f=l<<4|c,h=a-c,m=i[d]<<h,b=m+(1<<h);m!=b;)s[u[m]>>>15-a]=f,m++},r.F.revCodes=function(i,a){for(var s=r.F.U.rev15,o=15-a,u=0;u<i.length;u+=2){var d=i[u]<<a-i[u+1];i[u]=s[d]>>>o}},r.F._putsE=function(i,a,s){s<<=7&a;var o=a>>>3;i[o]|=s,i[o+1]|=s>>>8},r.F._putsF=function(i,a,s){s<<=7&a;var o=a>>>3;i[o]|=s,i[o+1]|=s>>>8,i[o+2]|=s>>>16},r.F._bitsE=function(i,a,s){return(i[a>>>3]|i[1+(a>>>3)]<<8)>>>(7&a)&(1<<s)-1},r.F._bitsF=function(i,a,s){return(i[a>>>3]|i[1+(a>>>3)]<<8|i[2+(a>>>3)]<<16)>>>(7&a)&(1<<s)-1},r.F._get17=function(i,a){return(i[a>>>3]|i[1+(a>>>3)]<<8|i[2+(a>>>3)]<<16)>>>(7&a)},r.F._get25=function(i,a){return(i[a>>>3]|i[1+(a>>>3)]<<8|i[2+(a>>>3)]<<16|i[3+(a>>>3)]<<24)>>>(7&a)},r.F.U=(t=Uint16Array,n=Uint32Array,{next_code:new t(16),bl_count:new t(16),ordr:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],of0:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],exb:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],ldef:new t(32),df0:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],dxb:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],ddef:new n(32),flmap:new t(512),fltree:[],fdmap:new t(32),fdtree:[],lmap:new t(32768),ltree:[],ttree:[],dmap:new t(32768),dtree:[],imap:new t(512),itree:[],rev15:new t(32768),lhst:new n(286),dhst:new n(30),ihst:new n(19),lits:new n(15e3),strt:new t(65536),prev:new t(32768)}),(function(){for(var i=r.F.U,a=0;a<32768;a++){var s=a;s=(4278255360&(s=(4042322160&(s=(3435973836&(s=(2863311530&s)>>>1|(1431655765&s)<<1))>>>2|(858993459&s)<<2))>>>4|(252645135&s)<<4))>>>8|(16711935&s)<<8,i.rev15[a]=(s>>>16|s<<16)>>>17}function o(u,d,l){for(;d--!=0;)u.push(0,l)}for(a=0;a<32;a++)i.ldef[a]=i.of0[a]<<3|i.exb[a],i.ddef[a]=i.df0[a]<<4|i.dxb[a];o(i.fltree,144,8),o(i.fltree,112,9),o(i.fltree,24,7),o(i.fltree,8,8),r.F.makeCodes(i.fltree,9),r.F.codes2map(i.fltree,9,i.flmap),r.F.revCodes(i.fltree,9),o(i.fdtree,32,5),r.F.makeCodes(i.fdtree,5),r.F.codes2map(i.fdtree,5,i.fdmap),r.F.revCodes(i.fdtree,5),o(i.itree,19,0),o(i.ltree,286,0),o(i.dtree,30,0),o(i.ttree,320,0)})()})();var B1=U1({__proto__:null,default:nr},[nr]);const Ue=(function(){var e={nextZero(l,c){for(;l[c]!=0;)c++;return c},readUshort:(l,c)=>l[c]<<8|l[c+1],writeUshort(l,c,f){l[c]=f>>8&255,l[c+1]=255&f},readUint:(l,c)=>16777216*l[c]+(l[c+1]<<16|l[c+2]<<8|l[c+3]),writeUint(l,c,f){l[c]=f>>24&255,l[c+1]=f>>16&255,l[c+2]=f>>8&255,l[c+3]=255&f},readASCII(l,c,f){let h="";for(let m=0;m<f;m++)h+=String.fromCharCode(l[c+m]);return h},writeASCII(l,c,f){for(let h=0;h<f.length;h++)l[c+h]=f.charCodeAt(h)},readBytes(l,c,f){const h=[];for(let m=0;m<f;m++)h.push(l[c+m]);return h},pad:l=>l.length<2?`0${l}`:l,readUTF8(l,c,f){let h,m="";for(let b=0;b<f;b++)m+=`%${e.pad(l[c+b].toString(16))}`;try{h=decodeURIComponent(m)}catch{return e.readASCII(l,c,f)}return h}};function t(l,c,f,h){const m=c*f,b=a(h),A=Math.ceil(c*b/8),v=new Uint8Array(4*m),I=new Uint32Array(v.buffer),{ctype:T}=h,{depth:C}=h,P=e.readUshort;if(T==6){const O=m<<2;if(C==8)for(var w=0;w<O;w+=4)v[w]=l[w],v[w+1]=l[w+1],v[w+2]=l[w+2],v[w+3]=l[w+3];if(C==16)for(w=0;w<O;w++)v[w]=l[w<<1]}else if(T==2){const O=h.tabs.tRNS;if(O==null){if(C==8)for(w=0;w<m;w++){var L=3*w;I[w]=255<<24|l[L+2]<<16|l[L+1]<<8|l[L]}if(C==16)for(w=0;w<m;w++)L=6*w,I[w]=255<<24|l[L+4]<<16|l[L+2]<<8|l[L]}else{var p=O[0];const U=O[1],N=O[2];if(C==8)for(w=0;w<m;w++){var y=w<<2;L=3*w,I[w]=255<<24|l[L+2]<<16|l[L+1]<<8|l[L],l[L]==p&&l[L+1]==U&&l[L+2]==N&&(v[y+3]=0)}if(C==16)for(w=0;w<m;w++)y=w<<2,L=6*w,I[w]=255<<24|l[L+4]<<16|l[L+2]<<8|l[L],P(l,L)==p&&P(l,L+2)==U&&P(l,L+4)==N&&(v[y+3]=0)}}else if(T==3){const O=h.tabs.PLTE,U=h.tabs.tRNS,N=U?U.length:0;if(C==1)for(var S=0;S<f;S++){var D=S*A,j=S*c;for(w=0;w<c;w++){y=j+w<<2;var F=3*(E=l[D+(w>>3)]>>7-((7&w)<<0)&1);v[y]=O[F],v[y+1]=O[F+1],v[y+2]=O[F+2],v[y+3]=E<N?U[E]:255}}if(C==2)for(S=0;S<f;S++)for(D=S*A,j=S*c,w=0;w<c;w++)y=j+w<<2,F=3*(E=l[D+(w>>2)]>>6-((3&w)<<1)&3),v[y]=O[F],v[y+1]=O[F+1],v[y+2]=O[F+2],v[y+3]=E<N?U[E]:255;if(C==4)for(S=0;S<f;S++)for(D=S*A,j=S*c,w=0;w<c;w++)y=j+w<<2,F=3*(E=l[D+(w>>1)]>>4-((1&w)<<2)&15),v[y]=O[F],v[y+1]=O[F+1],v[y+2]=O[F+2],v[y+3]=E<N?U[E]:255;if(C==8)for(w=0;w<m;w++){var E;y=w<<2,F=3*(E=l[w]),v[y]=O[F],v[y+1]=O[F+1],v[y+2]=O[F+2],v[y+3]=E<N?U[E]:255}}else if(T==4){if(C==8)for(w=0;w<m;w++){y=w<<2;var R=l[x=w<<1];v[y]=R,v[y+1]=R,v[y+2]=R,v[y+3]=l[x+1]}if(C==16)for(w=0;w<m;w++){var x;y=w<<2,R=l[x=w<<2],v[y]=R,v[y+1]=R,v[y+2]=R,v[y+3]=l[x+2]}}else if(T==0)for(p=h.tabs.tRNS?h.tabs.tRNS:-1,S=0;S<f;S++){const O=S*A,U=S*c;if(C==1)for(var g=0;g<c;g++){var V=(R=255*(l[O+(g>>>3)]>>>7-(7&g)&1))==255*p?0:255;I[U+g]=V<<24|R<<16|R<<8|R}else if(C==2)for(g=0;g<c;g++)V=(R=85*(l[O+(g>>>2)]>>>6-((3&g)<<1)&3))==85*p?0:255,I[U+g]=V<<24|R<<16|R<<8|R;else if(C==4)for(g=0;g<c;g++)V=(R=17*(l[O+(g>>>1)]>>>4-((1&g)<<2)&15))==17*p?0:255,I[U+g]=V<<24|R<<16|R<<8|R;else if(C==8)for(g=0;g<c;g++)V=(R=l[O+g])==p?0:255,I[U+g]=V<<24|R<<16|R<<8|R;else if(C==16)for(g=0;g<c;g++)R=l[O+(g<<1)],V=P(l,O+(g<<1))==p?0:255,I[U+g]=V<<24|R<<16|R<<8|R}return v}function n(l,c,f,h){const m=a(l),b=Math.ceil(f*m/8),A=new Uint8Array((b+1+l.interlace)*h);return c=l.tabs.CgBI?i(c,A):r(c,A),l.interlace==0?c=s(c,l,0,f,h):l.interlace==1&&(c=(function(I,T){const C=T.width,P=T.height,w=a(T),L=w>>3,p=Math.ceil(C*w/8),y=new Uint8Array(P*p);let S=0;const D=[0,0,4,0,2,0,1],j=[0,4,0,2,0,1,0],F=[8,8,8,4,4,2,2],E=[8,8,4,4,2,2,1];let R=0;for(;R<7;){const g=F[R],V=E[R];let O=0,U=0,N=D[R];for(;N<P;)N+=g,U++;let _=j[R];for(;_<C;)_+=V,O++;const W=Math.ceil(O*w/8);s(I,T,S,O,U);let $=0,M=D[R];for(;M<P;){let H=j[R],B=S+$*W<<3;for(;H<C;){var x;if(w==1&&(x=(x=I[B>>3])>>7-(7&B)&1,y[M*p+(H>>3)]|=x<<7-((7&H)<<0)),w==2&&(x=(x=I[B>>3])>>6-(7&B)&3,y[M*p+(H>>2)]|=x<<6-((3&H)<<1)),w==4&&(x=(x=I[B>>3])>>4-(7&B)&15,y[M*p+(H>>1)]|=x<<4-((1&H)<<2)),w>=8){const G=M*p+H*L;for(let Q=0;Q<L;Q++)y[G+Q]=I[(B>>3)+Q]}B+=w,H+=V}$++,M+=g}O*U!=0&&(S+=U*(1+W)),R+=1}return y})(c,l)),c}function r(l,c){return i(new Uint8Array(l.buffer,2,l.length-6),c)}var i=(function(){const l={H:{}};return l.H.N=function(c,f){const h=Uint8Array;let m,b,A=0,v=0,I=0,T=0,C=0,P=0,w=0,L=0,p=0;if(c[0]==3&&c[1]==0)return f||new h(0);const y=l.H,S=y.b,D=y.e,j=y.R,F=y.n,E=y.A,R=y.Z,x=y.m,g=f==null;for(g&&(f=new h(c.length>>>2<<5));A==0;)if(A=S(c,p,1),v=S(c,p+1,2),p+=3,v!=0){if(g&&(f=l.H.W(f,L+(1<<17))),v==1&&(m=x.J,b=x.h,P=511,w=31),v==2){I=D(c,p,5)+257,T=D(c,p+5,5)+1,C=D(c,p+10,4)+4,p+=14;let O=1;for(var V=0;V<38;V+=2)x.Q[V]=0,x.Q[V+1]=0;for(V=0;V<C;V++){const _=D(c,p+3*V,3);x.Q[1+(x.X[V]<<1)]=_,_>O&&(O=_)}p+=3*C,F(x.Q,O),E(x.Q,O,x.u),m=x.w,b=x.d,p=j(x.u,(1<<O)-1,I+T,c,p,x.v);const U=y.V(x.v,0,I,x.C);P=(1<<U)-1;const N=y.V(x.v,I,T,x.D);w=(1<<N)-1,F(x.C,U),E(x.C,U,m),F(x.D,N),E(x.D,N,b)}for(;;){const O=m[R(c,p)&P];p+=15&O;const U=O>>>4;if(!(U>>>8))f[L++]=U;else{if(U==256)break;{let N=L+U-254;if(U>264){const H=x.q[U-257];N=L+(H>>>3)+D(c,p,7&H),p+=7&H}const _=b[R(c,p)&w];p+=15&_;const W=_>>>4,$=x.c[W],M=($>>>4)+S(c,p,15&$);for(p+=15&$;L<N;)f[L]=f[L++-M],f[L]=f[L++-M],f[L]=f[L++-M],f[L]=f[L++-M];L=N}}}}else{(7&p)!=0&&(p+=8-(7&p));const O=4+(p>>>3),U=c[O-4]|c[O-3]<<8;g&&(f=l.H.W(f,L+U)),f.set(new h(c.buffer,c.byteOffset+O,U),L),p=O+U<<3,L+=U}return f.length==L?f:f.slice(0,L)},l.H.W=function(c,f){const h=c.length;if(f<=h)return c;const m=new Uint8Array(h<<1);return m.set(c,0),m},l.H.R=function(c,f,h,m,b,A){const v=l.H.e,I=l.H.Z;let T=0;for(;T<h;){const C=c[I(m,b)&f];b+=15&C;const P=C>>>4;if(P<=15)A[T]=P,T++;else{let w=0,L=0;P==16?(L=3+v(m,b,2),b+=2,w=A[T-1]):P==17?(L=3+v(m,b,3),b+=3):P==18&&(L=11+v(m,b,7),b+=7);const p=T+L;for(;T<p;)A[T]=w,T++}}return b},l.H.V=function(c,f,h,m){let b=0,A=0;const v=m.length>>>1;for(;A<h;){const I=c[A+f];m[A<<1]=0,m[1+(A<<1)]=I,I>b&&(b=I),A++}for(;A<v;)m[A<<1]=0,m[1+(A<<1)]=0,A++;return b},l.H.n=function(c,f){const h=l.H.m,m=c.length;let b,A,v,I;const T=h.j;for(var C=0;C<=f;C++)T[C]=0;for(C=1;C<m;C+=2)T[c[C]]++;const P=h.K;for(b=0,T[0]=0,A=1;A<=f;A++)b=b+T[A-1]<<1,P[A]=b;for(v=0;v<m;v+=2)I=c[v+1],I!=0&&(c[v]=P[I],P[I]++)},l.H.A=function(c,f,h){const m=c.length,b=l.H.m.r;for(let A=0;A<m;A+=2)if(c[A+1]!=0){const v=A>>1,I=c[A+1],T=v<<4|I,C=f-I;let P=c[A]<<C;const w=P+(1<<C);for(;P!=w;)h[b[P]>>>15-f]=T,P++}},l.H.l=function(c,f){const h=l.H.m.r,m=15-f;for(let b=0;b<c.length;b+=2){const A=c[b]<<f-c[b+1];c[b]=h[A]>>>m}},l.H.M=function(c,f,h){h<<=7&f;const m=f>>>3;c[m]|=h,c[m+1]|=h>>>8},l.H.I=function(c,f,h){h<<=7&f;const m=f>>>3;c[m]|=h,c[m+1]|=h>>>8,c[m+2]|=h>>>16},l.H.e=function(c,f,h){return(c[f>>>3]|c[1+(f>>>3)]<<8)>>>(7&f)&(1<<h)-1},l.H.b=function(c,f,h){return(c[f>>>3]|c[1+(f>>>3)]<<8|c[2+(f>>>3)]<<16)>>>(7&f)&(1<<h)-1},l.H.Z=function(c,f){return(c[f>>>3]|c[1+(f>>>3)]<<8|c[2+(f>>>3)]<<16)>>>(7&f)},l.H.i=function(c,f){return(c[f>>>3]|c[1+(f>>>3)]<<8|c[2+(f>>>3)]<<16|c[3+(f>>>3)]<<24)>>>(7&f)},l.H.m=(function(){const c=Uint16Array,f=Uint32Array;return{K:new c(16),j:new c(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new c(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new f(32),J:new c(512),_:[],h:new c(32),$:[],w:new c(32768),C:[],v:[],d:new c(32768),D:[],u:new c(512),Q:[],r:new c(32768),s:new f(286),Y:new f(30),a:new f(19),t:new f(15e3),k:new c(65536),g:new c(32768)}})(),(function(){const c=l.H.m;for(var f=0;f<32768;f++){let m=f;m=(2863311530&m)>>>1|(1431655765&m)<<1,m=(3435973836&m)>>>2|(858993459&m)<<2,m=(4042322160&m)>>>4|(252645135&m)<<4,m=(4278255360&m)>>>8|(16711935&m)<<8,c.r[f]=(m>>>16|m<<16)>>>17}function h(m,b,A){for(;b--!=0;)m.push(0,A)}for(f=0;f<32;f++)c.q[f]=c.S[f]<<3|c.T[f],c.c[f]=c.p[f]<<4|c.z[f];h(c._,144,8),h(c._,112,9),h(c._,24,7),h(c._,8,8),l.H.n(c._,9),l.H.A(c._,9,c.J),l.H.l(c._,9),h(c.$,32,5),l.H.n(c.$,5),l.H.A(c.$,5,c.h),l.H.l(c.$,5),h(c.Q,19,0),h(c.C,286,0),h(c.D,30,0),h(c.v,320,0)})(),l.H.N})();function a(l){return[1,null,3,1,2,null,4][l.ctype]*l.depth}function s(l,c,f,h,m){let b=a(c);const A=Math.ceil(h*b/8);let v,I;b=Math.ceil(b/8);let T=l[f],C=0;if(T>1&&(l[f]=[0,0,1][T-2]),T==3)for(C=b;C<A;C++)l[C+1]=l[C+1]+(l[C+1-b]>>>1)&255;for(let P=0;P<m;P++)if(v=f+P*A,I=v+P+1,T=l[I-1],C=0,T==0)for(;C<A;C++)l[v+C]=l[I+C];else if(T==1){for(;C<b;C++)l[v+C]=l[I+C];for(;C<A;C++)l[v+C]=l[I+C]+l[v+C-b]}else if(T==2)for(;C<A;C++)l[v+C]=l[I+C]+l[v+C-A];else if(T==3){for(;C<b;C++)l[v+C]=l[I+C]+(l[v+C-A]>>>1);for(;C<A;C++)l[v+C]=l[I+C]+(l[v+C-A]+l[v+C-b]>>>1)}else{for(;C<b;C++)l[v+C]=l[I+C]+o(0,l[v+C-A],0);for(;C<A;C++)l[v+C]=l[I+C]+o(l[v+C-b],l[v+C-A],l[v+C-b-A])}return l}function o(l,c,f){const h=l+c-f,m=h-l,b=h-c,A=h-f;return m*m<=b*b&&m*m<=A*A?l:b*b<=A*A?c:f}function u(l,c,f){f.width=e.readUint(l,c),c+=4,f.height=e.readUint(l,c),c+=4,f.depth=l[c],c++,f.ctype=l[c],c++,f.compress=l[c],c++,f.filter=l[c],c++,f.interlace=l[c],c++}function d(l,c,f,h,m,b,A,v,I){const T=Math.min(c,m),C=Math.min(f,b);let P=0,w=0;for(let R=0;R<C;R++)for(let x=0;x<T;x++)if(A>=0&&v>=0?(P=R*c+x<<2,w=(v+R)*m+A+x<<2):(P=(-v+R)*c-A+x<<2,w=R*m+x<<2),I==0)h[w]=l[P],h[w+1]=l[P+1],h[w+2]=l[P+2],h[w+3]=l[P+3];else if(I==1){var L=l[P+3]*.00392156862745098,p=l[P]*L,y=l[P+1]*L,S=l[P+2]*L,D=h[w+3]*(1/255),j=h[w]*D,F=h[w+1]*D,E=h[w+2]*D;const g=1-L,V=L+D*g,O=V==0?0:1/V;h[w+3]=255*V,h[w+0]=(p+j*g)*O,h[w+1]=(y+F*g)*O,h[w+2]=(S+E*g)*O}else if(I==2)L=l[P+3],p=l[P],y=l[P+1],S=l[P+2],D=h[w+3],j=h[w],F=h[w+1],E=h[w+2],L==D&&p==j&&y==F&&S==E?(h[w]=0,h[w+1]=0,h[w+2]=0,h[w+3]=0):(h[w]=p,h[w+1]=y,h[w+2]=S,h[w+3]=L);else if(I==3){if(L=l[P+3],p=l[P],y=l[P+1],S=l[P+2],D=h[w+3],j=h[w],F=h[w+1],E=h[w+2],L==D&&p==j&&y==F&&S==E)continue;if(L<220&&D>20)return!1}return!0}return{decode:function(c){const f=new Uint8Array(c);let h=8;const m=e,b=m.readUshort,A=m.readUint,v={tabs:{},frames:[]},I=new Uint8Array(f.length);let T,C=0,P=0;const w=[137,80,78,71,13,10,26,10];for(var L=0;L<8;L++)if(f[L]!=w[L])throw"The input is not a PNG file!";for(;h<f.length;){const R=m.readUint(f,h);h+=4;const x=m.readASCII(f,h,4);if(h+=4,x=="IHDR")u(f,h,v);else if(x=="iCCP"){for(var p=h;f[p]!=0;)p++;m.readASCII(f,h,p-h),f[p+1];const g=f.slice(p+2,h+R);let V=null;try{V=r(g)}catch{V=i(g)}v.tabs[x]=V}else if(x=="CgBI")v.tabs[x]=f.slice(h,h+4);else if(x=="IDAT"){for(L=0;L<R;L++)I[C+L]=f[h+L];C+=R}else if(x=="acTL")v.tabs[x]={num_frames:A(f,h),num_plays:A(f,h+4)},T=new Uint8Array(f.length);else if(x=="fcTL"){P!=0&&((E=v.frames[v.frames.length-1]).data=n(v,T.slice(0,P),E.rect.width,E.rect.height),P=0);const g={x:A(f,h+12),y:A(f,h+16),width:A(f,h+4),height:A(f,h+8)};let V=b(f,h+22);V=b(f,h+20)/(V==0?100:V);const O={rect:g,delay:Math.round(1e3*V),dispose:f[h+24],blend:f[h+25]};v.frames.push(O)}else if(x=="fdAT"){for(L=0;L<R-4;L++)T[P+L]=f[h+L+4];P+=R-4}else if(x=="pHYs")v.tabs[x]=[m.readUint(f,h),m.readUint(f,h+4),f[h+8]];else if(x=="cHRM")for(v.tabs[x]=[],L=0;L<8;L++)v.tabs[x].push(m.readUint(f,h+4*L));else if(x=="tEXt"||x=="zTXt"){v.tabs[x]==null&&(v.tabs[x]={});var y=m.nextZero(f,h),S=m.readASCII(f,h,y-h),D=h+R-y-1;if(x=="tEXt")F=m.readASCII(f,y+1,D);else{var j=r(f.slice(y+2,y+2+D));F=m.readUTF8(j,0,j.length)}v.tabs[x][S]=F}else if(x=="iTXt"){v.tabs[x]==null&&(v.tabs[x]={}),y=0,p=h,y=m.nextZero(f,p),S=m.readASCII(f,p,y-p);const g=f[p=y+1];var F;f[p+1],p+=2,y=m.nextZero(f,p),m.readASCII(f,p,y-p),p=y+1,y=m.nextZero(f,p),m.readUTF8(f,p,y-p),D=R-((p=y+1)-h),g==0?F=m.readUTF8(f,p,D):(j=r(f.slice(p,p+D)),F=m.readUTF8(j,0,j.length)),v.tabs[x][S]=F}else if(x=="PLTE")v.tabs[x]=m.readBytes(f,h,R);else if(x=="hIST"){const g=v.tabs.PLTE.length/3;for(v.tabs[x]=[],L=0;L<g;L++)v.tabs[x].push(b(f,h+2*L))}else if(x=="tRNS")v.ctype==3?v.tabs[x]=m.readBytes(f,h,R):v.ctype==0?v.tabs[x]=b(f,h):v.ctype==2&&(v.tabs[x]=[b(f,h),b(f,h+2),b(f,h+4)]);else if(x=="gAMA")v.tabs[x]=m.readUint(f,h)/1e5;else if(x=="sRGB")v.tabs[x]=f[h];else if(x=="bKGD")v.ctype==0||v.ctype==4?v.tabs[x]=[b(f,h)]:v.ctype==2||v.ctype==6?v.tabs[x]=[b(f,h),b(f,h+2),b(f,h+4)]:v.ctype==3&&(v.tabs[x]=f[h]);else if(x=="IEND")break;h+=R,m.readUint(f,h),h+=4}var E;return P!=0&&((E=v.frames[v.frames.length-1]).data=n(v,T.slice(0,P),E.rect.width,E.rect.height)),v.data=n(v,I,v.width,v.height),delete v.compress,delete v.interlace,delete v.filter,v},toRGBA8:function(c){const f=c.width,h=c.height;if(c.tabs.acTL==null)return[t(c.data,f,h,c).buffer];const m=[];c.frames[0].data==null&&(c.frames[0].data=c.data);const b=f*h*4,A=new Uint8Array(b),v=new Uint8Array(b),I=new Uint8Array(b);for(let C=0;C<c.frames.length;C++){const P=c.frames[C],w=P.rect.x,L=P.rect.y,p=P.rect.width,y=P.rect.height,S=t(P.data,p,y,c);if(C!=0)for(var T=0;T<b;T++)I[T]=A[T];if(P.blend==0?d(S,p,y,A,f,h,w,L,0):P.blend==1&&d(S,p,y,A,f,h,w,L,1),m.push(A.buffer.slice(0)),P.dispose!=0){if(P.dispose==1)d(v,p,y,A,f,h,w,L,0);else if(P.dispose==2)for(T=0;T<b;T++)A[T]=I[T]}}return m},_paeth:o,_copyTile:d,_bin:e}})();(function(){const{_copyTile:e}=Ue,{_bin:t}=Ue,n=Ue._paeth;var r={table:(function(){const p=new Uint32Array(256);for(let y=0;y<256;y++){let S=y;for(let D=0;D<8;D++)1&S?S=3988292384^S>>>1:S>>>=1;p[y]=S}return p})(),update(p,y,S,D){for(let j=0;j<D;j++)p=r.table[255&(p^y[S+j])]^p>>>8;return p},crc:(p,y,S)=>4294967295^r.update(4294967295,p,y,S)};function i(p,y,S,D){y[S]+=p[0]*D>>4,y[S+1]+=p[1]*D>>4,y[S+2]+=p[2]*D>>4,y[S+3]+=p[3]*D>>4}function a(p){return Math.max(0,Math.min(255,p))}function s(p,y){const S=p[0]-y[0],D=p[1]-y[1],j=p[2]-y[2],F=p[3]-y[3];return S*S+D*D+j*j+F*F}function o(p,y,S,D,j,F,E){E==null&&(E=1);const R=D.length,x=[];for(var g=0;g<R;g++){const M=D[g];x.push([M>>>0&255,M>>>8&255,M>>>16&255,M>>>24&255])}for(g=0;g<R;g++){let M=4294967295;for(var V=0,O=0;O<R;O++){var U=s(x[g],x[O]);O!=g&&U<M&&(M=U,V=O)}}const N=new Uint32Array(j.buffer),_=new Int16Array(y*S*4),W=[0,8,2,10,12,4,14,6,3,11,1,9,15,7,13,5];for(g=0;g<W.length;g++)W[g]=255*((W[g]+.5)/16-.5);for(let M=0;M<S;M++)for(let H=0;H<y;H++){var $;g=4*(M*y+H),E!=2?$=[a(p[g]+_[g]),a(p[g+1]+_[g+1]),a(p[g+2]+_[g+2]),a(p[g+3]+_[g+3])]:(U=W[4*(3&M)+(3&H)],$=[a(p[g]+U),a(p[g+1]+U),a(p[g+2]+U),a(p[g+3]+U)]),V=0;let B=16777215;for(O=0;O<R;O++){const J=s($,x[O]);J<B&&(B=J,V=O)}const G=x[V],Q=[$[0]-G[0],$[1]-G[1],$[2]-G[2],$[3]-G[3]];E==1&&(H!=y-1&&i(Q,_,g+4,7),M!=S-1&&(H!=0&&i(Q,_,g+4*y-4,3),i(Q,_,g+4*y,5),H!=y-1&&i(Q,_,g+4*y+4,1))),F[g>>2]=V,N[g>>2]=D[V]}}function u(p,y,S,D,j){j==null&&(j={});const{crc:F}=r,E=t.writeUint,R=t.writeUshort,x=t.writeASCII;let g=8;const V=p.frames.length>1;let O,U=!1,N=33+(V?20:0);if(j.sRGB!=null&&(N+=13),j.pHYs!=null&&(N+=21),j.iCCP!=null&&(O=pako.deflate(j.iCCP),N+=21+O.length+4),p.ctype==3){for(var _=p.plte.length,W=0;W<_;W++)p.plte[W]>>>24!=255&&(U=!0);N+=8+3*_+4+(U?8+1*_+4:0)}for(var $=0;$<p.frames.length;$++)V&&(N+=38),N+=(G=p.frames[$]).cimg.length+12,$!=0&&(N+=4);N+=12;const M=new Uint8Array(N),H=[137,80,78,71,13,10,26,10];for(W=0;W<8;W++)M[W]=H[W];if(E(M,g,13),g+=4,x(M,g,"IHDR"),g+=4,E(M,g,y),g+=4,E(M,g,S),g+=4,M[g]=p.depth,g++,M[g]=p.ctype,g++,M[g]=0,g++,M[g]=0,g++,M[g]=0,g++,E(M,g,F(M,g-17,17)),g+=4,j.sRGB!=null&&(E(M,g,1),g+=4,x(M,g,"sRGB"),g+=4,M[g]=j.sRGB,g++,E(M,g,F(M,g-5,5)),g+=4),j.iCCP!=null){const Q=13+O.length;E(M,g,Q),g+=4,x(M,g,"iCCP"),g+=4,x(M,g,"ICC profile"),g+=11,g+=2,M.set(O,g),g+=O.length,E(M,g,F(M,g-(Q+4),Q+4)),g+=4}if(j.pHYs!=null&&(E(M,g,9),g+=4,x(M,g,"pHYs"),g+=4,E(M,g,j.pHYs[0]),g+=4,E(M,g,j.pHYs[1]),g+=4,M[g]=j.pHYs[2],g++,E(M,g,F(M,g-13,13)),g+=4),V&&(E(M,g,8),g+=4,x(M,g,"acTL"),g+=4,E(M,g,p.frames.length),g+=4,E(M,g,j.loop!=null?j.loop:0),g+=4,E(M,g,F(M,g-12,12)),g+=4),p.ctype==3){for(E(M,g,3*(_=p.plte.length)),g+=4,x(M,g,"PLTE"),g+=4,W=0;W<_;W++){const Q=3*W,J=p.plte[W],le=255&J,he=J>>>8&255,At=J>>>16&255;M[g+Q+0]=le,M[g+Q+1]=he,M[g+Q+2]=At}if(g+=3*_,E(M,g,F(M,g-3*_-4,3*_+4)),g+=4,U){for(E(M,g,_),g+=4,x(M,g,"tRNS"),g+=4,W=0;W<_;W++)M[g+W]=p.plte[W]>>>24&255;g+=_,E(M,g,F(M,g-_-4,_+4)),g+=4}}let B=0;for($=0;$<p.frames.length;$++){var G=p.frames[$];V&&(E(M,g,26),g+=4,x(M,g,"fcTL"),g+=4,E(M,g,B++),g+=4,E(M,g,G.rect.width),g+=4,E(M,g,G.rect.height),g+=4,E(M,g,G.rect.x),g+=4,E(M,g,G.rect.y),g+=4,R(M,g,D[$]),g+=2,R(M,g,1e3),g+=2,M[g]=G.dispose,g++,M[g]=G.blend,g++,E(M,g,F(M,g-30,30)),g+=4);const Q=G.cimg;E(M,g,(_=Q.length)+($==0?0:4)),g+=4;const J=g;x(M,g,$==0?"IDAT":"fdAT"),g+=4,$!=0&&(E(M,g,B++),g+=4),M.set(Q,g),g+=_,E(M,g,F(M,J,g-J)),g+=4}return E(M,g,0),g+=4,x(M,g,"IEND"),g+=4,E(M,g,F(M,g-4,4)),g+=4,M.buffer}function d(p,y,S){for(let D=0;D<p.frames.length;D++){const j=p.frames[D];j.rect.width;const F=j.rect.height,E=new Uint8Array(F*j.bpl+F);j.cimg=h(j.img,F,j.bpp,j.bpl,E,y,S)}}function l(p,y,S,D,j){const F=j[0],E=j[1],R=j[2],x=j[3],g=j[4],V=j[5];let O=6,U=8,N=255;for(var _=0;_<p.length;_++){const be=new Uint8Array(p[_]);for(var W=be.length,$=0;$<W;$+=4)N&=be[$+3]}const M=N!=255,H=(function(ie,te,ge,Ae,ce,ke){const fe=[];for(var ne=0;ne<ie.length;ne++){const Se=new Uint8Array(ie[ne]),$e=new Uint32Array(Se.buffer);var Me;let Fe=0,tt=0,Ye=te,Tt=ge,ua=Ae?1:0;if(ne!=0){const Dy=ke||Ae||ne==1||fe[ne-2].dispose!=0?1:2;let ca=0,hc=1e9;for(let wn=0;wn<Dy;wn++){var ut=new Uint8Array(ie[ne-1-wn]);const Iy=new Uint32Array(ie[ne-1-wn]);let ct=te,ft=ge,Gt=-1,An=-1;for(let Pt=0;Pt<ge;Pt++)for(let Et=0;Et<te;Et++)$e[xe=Pt*te+Et]!=Iy[xe]&&(Et<ct&&(ct=Et),Et>Gt&&(Gt=Et),Pt<ft&&(ft=Pt),Pt>An&&(An=Pt));Gt==-1&&(ct=ft=Gt=An=0),ce&&((1&ct)==1&&ct--,(1&ft)==1&&ft--);const mc=(Gt-ct+1)*(An-ft+1);mc<hc&&(hc=mc,ca=wn,Fe=ct,tt=ft,Ye=Gt-ct+1,Tt=An-ft+1)}ut=new Uint8Array(ie[ne-1-ca]),ca==1&&(fe[ne-1].dispose=2),Me=new Uint8Array(Ye*Tt*4),e(ut,te,ge,Me,Ye,Tt,-Fe,-tt,0),ua=e(Se,te,ge,Me,Ye,Tt,-Fe,-tt,3)?1:0,ua==1?f(Se,te,ge,Me,{x:Fe,y:tt,width:Ye,height:Tt}):e(Se,te,ge,Me,Ye,Tt,-Fe,-tt,0)}else Me=Se.slice(0);fe.push({rect:{x:Fe,y:tt,width:Ye,height:Tt},img:Me,blend:ua,dispose:0})}if(Ae)for(ne=0;ne<fe.length;ne++){if((St=fe[ne]).blend==1)continue;const Se=St.rect,$e=fe[ne-1].rect,Fe=Math.min(Se.x,$e.x),tt=Math.min(Se.y,$e.y),Ye={x:Fe,y:tt,width:Math.max(Se.x+Se.width,$e.x+$e.width)-Fe,height:Math.max(Se.y+Se.height,$e.y+$e.height)-tt};fe[ne-1].dispose=1,ne-1!=0&&c(ie,te,ge,fe,ne-1,Ye,ce),c(ie,te,ge,fe,ne,Ye,ce)}let lr=0;if(ie.length!=1)for(var xe=0;xe<fe.length;xe++){var St;lr+=(St=fe[xe]).rect.width*St.rect.height}return fe})(p,y,S,F,E,R),B={},G=[],Q=[];if(D!=0){const be=[];for($=0;$<H.length;$++)be.push(H[$].img.buffer);const ie=(function(ce){let ke=0;for(var fe=0;fe<ce.length;fe++)ke+=ce[fe].byteLength;const ne=new Uint8Array(ke);let Me=0;for(fe=0;fe<ce.length;fe++){const ut=new Uint8Array(ce[fe]),lr=ut.length;for(let xe=0;xe<lr;xe+=4){let St=ut[xe],Se=ut[xe+1],$e=ut[xe+2];const Fe=ut[xe+3];Fe==0&&(St=Se=$e=0),ne[Me+xe]=St,ne[Me+xe+1]=Se,ne[Me+xe+2]=$e,ne[Me+xe+3]=Fe}Me+=lr}return ne.buffer})(be),te=b(ie,D);for($=0;$<te.plte.length;$++)G.push(te.plte[$].est.rgba);let ge=0;for($=0;$<H.length;$++){const Ae=(le=H[$]).img.length;var J=new Uint8Array(te.inds.buffer,ge>>2,Ae>>2);Q.push(J);const ce=new Uint8Array(te.abuf,ge,Ae);V&&o(le.img,le.rect.width,le.rect.height,G,ce,J),le.img.set(ce),ge+=Ae}}else for(_=0;_<H.length;_++){var le=H[_];const be=new Uint32Array(le.img.buffer);var he=le.rect.width;for(W=be.length,J=new Uint8Array(W),Q.push(J),$=0;$<W;$++){const ie=be[$];if($!=0&&ie==be[$-1])J[$]=J[$-1];else if($>he&&ie==be[$-he])J[$]=J[$-he];else{let te=B[ie];if(te==null&&(B[ie]=te=G.length,G.push(ie),G.length>=300))break;J[$]=te}}}const At=G.length;for(At<=256&&g==0&&(U=At<=2?1:At<=4?2:At<=16?4:8,U=Math.max(U,x)),_=0;_<H.length;_++){(le=H[_]).rect.x,le.rect.y,he=le.rect.width;const be=le.rect.height;let ie=le.img;new Uint32Array(ie.buffer);let te=4*he,ge=4;if(At<=256&&g==0){te=Math.ceil(U*he/8);var He=new Uint8Array(te*be);const Ae=Q[_];for(let ce=0;ce<be;ce++){$=ce*te;const ke=ce*he;if(U==8)for(var oe=0;oe<he;oe++)He[$+oe]=Ae[ke+oe];else if(U==4)for(oe=0;oe<he;oe++)He[$+(oe>>1)]|=Ae[ke+oe]<<4-4*(1&oe);else if(U==2)for(oe=0;oe<he;oe++)He[$+(oe>>2)]|=Ae[ke+oe]<<6-2*(3&oe);else if(U==1)for(oe=0;oe<he;oe++)He[$+(oe>>3)]|=Ae[ke+oe]<<7-1*(7&oe)}ie=He,O=3,ge=1}else if(M==0&&H.length==1){He=new Uint8Array(he*be*3);const Ae=he*be;for($=0;$<Ae;$++){const ce=3*$,ke=4*$;He[ce]=ie[ke],He[ce+1]=ie[ke+1],He[ce+2]=ie[ke+2]}ie=He,O=2,ge=3,te=3*he}le.img=ie,le.bpl=te,le.bpp=ge}return{ctype:O,depth:U,plte:G,frames:H}}function c(p,y,S,D,j,F,E){const R=Uint8Array,x=Uint32Array,g=new R(p[j-1]),V=new x(p[j-1]),O=j+1<p.length?new R(p[j+1]):null,U=new R(p[j]),N=new x(U.buffer);let _=y,W=S,$=-1,M=-1;for(let B=0;B<F.height;B++)for(let G=0;G<F.width;G++){const Q=F.x+G,J=F.y+B,le=J*y+Q,he=N[le];he==0||D[j-1].dispose==0&&V[le]==he&&(O==null||O[4*le+3]!=0)||(Q<_&&(_=Q),Q>$&&($=Q),J<W&&(W=J),J>M&&(M=J))}$==-1&&(_=W=$=M=0),E&&((1&_)==1&&_--,(1&W)==1&&W--),F={x:_,y:W,width:$-_+1,height:M-W+1};const H=D[j];H.rect=F,H.blend=1,H.img=new Uint8Array(F.width*F.height*4),D[j-1].dispose==0?(e(g,y,S,H.img,F.width,F.height,-F.x,-F.y,0),f(U,y,S,H.img,F)):e(U,y,S,H.img,F.width,F.height,-F.x,-F.y,0)}function f(p,y,S,D,j){e(p,y,S,D,j.width,j.height,-j.x,-j.y,2)}function h(p,y,S,D,j,F,E){const R=[];let x,g=[0,1,2,3,4];F!=-1?g=[F]:(y*D>5e5||S==1)&&(g=[0]),E&&(x={level:0});const V=B1;for(var O=0;O<g.length;O++){for(let _=0;_<y;_++)m(j,p,_,D,S,g[O]);R.push(V.deflate(j,x))}let U,N=1e9;for(O=0;O<R.length;O++)R[O].length<N&&(U=O,N=R[O].length);return R[U]}function m(p,y,S,D,j,F){const E=S*D;let R=E+S;if(p[R]=F,R++,F==0)if(D<500)for(var x=0;x<D;x++)p[R+x]=y[E+x];else p.set(new Uint8Array(y.buffer,E,D),R);else if(F==1){for(x=0;x<j;x++)p[R+x]=y[E+x];for(x=j;x<D;x++)p[R+x]=y[E+x]-y[E+x-j]+256&255}else if(S==0){for(x=0;x<j;x++)p[R+x]=y[E+x];if(F==2)for(x=j;x<D;x++)p[R+x]=y[E+x];if(F==3)for(x=j;x<D;x++)p[R+x]=y[E+x]-(y[E+x-j]>>1)+256&255;if(F==4)for(x=j;x<D;x++)p[R+x]=y[E+x]-n(y[E+x-j],0,0)+256&255}else{if(F==2)for(x=0;x<D;x++)p[R+x]=y[E+x]+256-y[E+x-D]&255;if(F==3){for(x=0;x<j;x++)p[R+x]=y[E+x]+256-(y[E+x-D]>>1)&255;for(x=j;x<D;x++)p[R+x]=y[E+x]+256-(y[E+x-D]+y[E+x-j]>>1)&255}if(F==4){for(x=0;x<j;x++)p[R+x]=y[E+x]+256-n(0,y[E+x-D],0)&255;for(x=j;x<D;x++)p[R+x]=y[E+x]+256-n(y[E+x-j],y[E+x-D],y[E+x-j-D])&255}}}function b(p,y){const S=new Uint8Array(p),D=S.slice(0),j=new Uint32Array(D.buffer),F=A(D,y),E=F[0],R=F[1],x=S.length,g=new Uint8Array(x>>2);let V;if(S.length<2e7)for(var O=0;O<x;O+=4)V=v(E,U=S[O]*(1/255),N=S[O+1]*(1/255),_=S[O+2]*(1/255),W=S[O+3]*(1/255)),g[O>>2]=V.ind,j[O>>2]=V.est.rgba;else for(O=0;O<x;O+=4){var U=S[O]*.00392156862745098,N=S[O+1]*(1/255),_=S[O+2]*(1/255),W=S[O+3]*(1/255);for(V=E;V.left;)V=I(V.est,U,N,_,W)<=0?V.left:V.right;g[O>>2]=V.ind,j[O>>2]=V.est.rgba}return{abuf:D.buffer,inds:g,plte:R}}function A(p,y,S){S==null&&(S=1e-4);const D=new Uint32Array(p.buffer),j={i0:0,i1:p.length,bst:null,est:null,tdst:0,left:null,right:null};j.bst=P(p,j.i0,j.i1),j.est=w(j.bst);const F=[j];for(;F.length<y;){let R=0,x=0;for(var E=0;E<F.length;E++)F[E].est.L>R&&(R=F[E].est.L,x=E);if(R<S)break;const g=F[x],V=T(p,D,g.i0,g.i1,g.est.e,g.est.eMq255);if(g.i0>=V||g.i1<=V){g.est.L=0;continue}const O={i0:g.i0,i1:V,bst:null,est:null,tdst:0,left:null,right:null};O.bst=P(p,O.i0,O.i1),O.est=w(O.bst);const U={i0:V,i1:g.i1,bst:null,est:null,tdst:0,left:null,right:null};for(U.bst={R:[],m:[],N:g.bst.N-O.bst.N},E=0;E<16;E++)U.bst.R[E]=g.bst.R[E]-O.bst.R[E];for(E=0;E<4;E++)U.bst.m[E]=g.bst.m[E]-O.bst.m[E];U.est=w(U.bst),g.left=O,g.right=U,F[x]=O,F.push(U)}for(F.sort(((R,x)=>x.bst.N-R.bst.N)),E=0;E<F.length;E++)F[E].ind=E;return[j,F]}function v(p,y,S,D,j){if(p.left==null)return p.tdst=(function(O,U,N,_,W){const $=U-O[0],M=N-O[1],H=_-O[2],B=W-O[3];return $*$+M*M+H*H+B*B})(p.est.q,y,S,D,j),p;const F=I(p.est,y,S,D,j);let E=p.left,R=p.right;F>0&&(E=p.right,R=p.left);const x=v(E,y,S,D,j);if(x.tdst<=F*F)return x;const g=v(R,y,S,D,j);return g.tdst<x.tdst?g:x}function I(p,y,S,D,j){const{e:F}=p;return F[0]*y+F[1]*S+F[2]*D+F[3]*j-p.eMq}function T(p,y,S,D,j,F){for(D-=4;S<D;){for(;C(p,S,j)<=F;)S+=4;for(;C(p,D,j)>F;)D-=4;if(S>=D)break;const E=y[S>>2];y[S>>2]=y[D>>2],y[D>>2]=E,S+=4,D-=4}for(;C(p,S,j)>F;)S-=4;return S+4}function C(p,y,S){return p[y]*S[0]+p[y+1]*S[1]+p[y+2]*S[2]+p[y+3]*S[3]}function P(p,y,S){const D=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],j=[0,0,0,0],F=S-y>>2;for(let E=y;E<S;E+=4){const R=p[E]*.00392156862745098,x=p[E+1]*(1/255),g=p[E+2]*(1/255),V=p[E+3]*(1/255);j[0]+=R,j[1]+=x,j[2]+=g,j[3]+=V,D[0]+=R*R,D[1]+=R*x,D[2]+=R*g,D[3]+=R*V,D[5]+=x*x,D[6]+=x*g,D[7]+=x*V,D[10]+=g*g,D[11]+=g*V,D[15]+=V*V}return D[4]=D[1],D[8]=D[2],D[9]=D[6],D[12]=D[3],D[13]=D[7],D[14]=D[11],{R:D,m:j,N:F}}function w(p){const{R:y}=p,{m:S}=p,{N:D}=p,j=S[0],F=S[1],E=S[2],R=S[3],x=D==0?0:1/D,g=[y[0]-j*j*x,y[1]-j*F*x,y[2]-j*E*x,y[3]-j*R*x,y[4]-F*j*x,y[5]-F*F*x,y[6]-F*E*x,y[7]-F*R*x,y[8]-E*j*x,y[9]-E*F*x,y[10]-E*E*x,y[11]-E*R*x,y[12]-R*j*x,y[13]-R*F*x,y[14]-R*E*x,y[15]-R*R*x],V=g,O=L;let U=[Math.random(),Math.random(),Math.random(),Math.random()],N=0,_=0;if(D!=0)for(let $=0;$<16&&(U=O.multVec(V,U),_=Math.sqrt(O.dot(U,U)),U=O.sml(1/_,U),!($!=0&&Math.abs(_-N)<1e-9));$++)N=_;const W=[j*x,F*x,E*x,R*x];return{Cov:g,q:W,e:U,L:N,eMq255:O.dot(O.sml(255,W),U),eMq:O.dot(U,W),rgba:(Math.round(255*W[3])<<24|Math.round(255*W[2])<<16|Math.round(255*W[1])<<8|Math.round(255*W[0])<<0)>>>0}}var L={multVec:(p,y)=>[p[0]*y[0]+p[1]*y[1]+p[2]*y[2]+p[3]*y[3],p[4]*y[0]+p[5]*y[1]+p[6]*y[2]+p[7]*y[3],p[8]*y[0]+p[9]*y[1]+p[10]*y[2]+p[11]*y[3],p[12]*y[0]+p[13]*y[1]+p[14]*y[2]+p[15]*y[3]],dot:(p,y)=>p[0]*y[0]+p[1]*y[1]+p[2]*y[2]+p[3]*y[3],sml:(p,y)=>[p*y[0],p*y[1],p*y[2],p*y[3]]};Ue.encode=function(y,S,D,j,F,E,R){j==null&&(j=0),R==null&&(R=!1);const x=l(y,S,D,j,[!1,!1,!1,0,R,!1]);return d(x,-1),u(x,S,D,F,E)},Ue.encodeLL=function(y,S,D,j,F,E,R,x){const g={ctype:0+(j==1?0:2)+(F==0?0:4),depth:E,frames:[]},V=(j+F)*E,O=V*S;for(let U=0;U<y.length;U++)g.frames.push({rect:{x:0,y:0,width:S,height:D},img:new Uint8Array(y[U]),blend:0,dispose:1,bpp:Math.ceil(V/8),bpl:Math.ceil(O/8)});return d(g,0,!0),u(g,S,D,R,x)},Ue.encode.compress=l,Ue.encode.dither=o,Ue.quantize=b,Ue.quantize.getKDtree=A,Ue.quantize.getNearest=v})();const Xu={toArrayBuffer(e,t){const n=e.width,r=e.height,i=n<<2,a=e.getContext("2d").getImageData(0,0,n,r),s=new Uint32Array(a.data.buffer),o=(32*n+31)/32<<2,u=o*r,d=122+u,l=new ArrayBuffer(d),c=new DataView(l),f=1<<20;let h,m,b,A,v=f,I=0,T=0,C=0;function P(p){c.setUint16(T,p,!0),T+=2}function w(p){c.setUint32(T,p,!0),T+=4}function L(p){T+=p}P(19778),w(d),L(4),w(122),w(108),w(n),w(-r>>>0),P(1),P(32),w(3),w(u),w(2835),w(2835),L(8),w(16711680),w(65280),w(255),w(4278190080),w(1466527264),(function p(){for(;I<r&&v>0;){for(A=122+I*o,h=0;h<i;)v--,m=s[C++],b=m>>>24,c.setUint32(A+h,m<<8|b),h+=4;I++}C<s.length?(v=f,setTimeout(p,Xu._dly)):t(l)})()},toBlob(e,t){this.toArrayBuffer(e,(n=>{t(new Blob([n],{type:"image/bmp"}))}))},_dly:9};var Pe={CHROME:"CHROME",FIREFOX:"FIREFOX",DESKTOP_SAFARI:"DESKTOP_SAFARI",IE:"IE",IOS:"IOS",ETC:"ETC"},W1={[Pe.CHROME]:16384,[Pe.FIREFOX]:11180,[Pe.DESKTOP_SAFARI]:16384,[Pe.IE]:8192,[Pe.IOS]:4096,[Pe.ETC]:8192};const sa=typeof window<"u",qu=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,rr=sa&&window.cordova&&window.cordova.require&&window.cordova.require("cordova/modulemapper"),H1=(sa||qu)&&(rr&&rr.getOriginalSymbol(window,"File")||typeof File<"u"&&File),Qu=(sa||qu)&&(rr&&rr.getOriginalSymbol(window,"FileReader")||typeof FileReader<"u"&&FileReader);function oa(e,t,n=Date.now()){return new Promise((r=>{const i=e.split(","),a=i[0].match(/:(.*?);/)[1],s=globalThis.atob(i[1]);let o=s.length;const u=new Uint8Array(o);for(;o--;)u[o]=s.charCodeAt(o);const d=new Blob([u],{type:a});d.name=t,d.lastModified=n,r(d)}))}function Zu(e){return new Promise(((t,n)=>{const r=new Qu;r.onload=()=>t(r.result),r.onerror=i=>n(i),r.readAsDataURL(e)}))}function Ju(e){return new Promise(((t,n)=>{const r=new Image;r.onload=()=>t(r),r.onerror=i=>n(i),r.src=e}))}function wt(){if(wt.cachedResult!==void 0)return wt.cachedResult;let e=Pe.ETC;const{userAgent:t}=navigator;return/Chrom(e|ium)/i.test(t)?e=Pe.CHROME:/iP(ad|od|hone)/i.test(t)&&/WebKit/i.test(t)?e=Pe.IOS:/Safari/i.test(t)?e=Pe.DESKTOP_SAFARI:/Firefox/i.test(t)?e=Pe.FIREFOX:(/MSIE/i.test(t)||document.documentMode)&&(e=Pe.IE),wt.cachedResult=e,wt.cachedResult}function ec(e,t){const n=wt(),r=W1[n];let i=e,a=t,s=i*a;const o=i>a?a/i:i/a;for(;s>r*r;){const u=(r+i)/2,d=(r+a)/2;u<d?(a=d,i=d*o):(a=u*o,i=u),s=i*a}return{width:i,height:a}}function ir(e,t){let n,r;try{if(n=new OffscreenCanvas(e,t),r=n.getContext("2d"),r===null)throw new Error("getContext of OffscreenCanvas returns null")}catch{n=document.createElement("canvas"),r=n.getContext("2d")}return n.width=e,n.height=t,[n,r]}function tc(e,t){const{width:n,height:r}=ec(e.width,e.height),[i,a]=ir(n,r);return t&&/jpe?g/.test(t)&&(a.fillStyle="white",a.fillRect(0,0,i.width,i.height)),a.drawImage(e,0,0,i.width,i.height),i}function ar(){return ar.cachedResult!==void 0||(ar.cachedResult=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&typeof document<"u"&&"ontouchend"in document),ar.cachedResult}function sr(e,t={}){return new Promise((function(n,r){let i,a;var s=function(){try{return a=tc(i,t.fileType||e.type),n([i,a])}catch(u){return r(u)}},o=function(u){try{var d=function(l){try{throw l}catch(c){return r(c)}};try{let l;return Zu(e).then((function(c){try{return l=c,Ju(l).then((function(f){try{return i=f,(function(){try{return s()}catch(h){return r(h)}})()}catch(h){return d(h)}}),d)}catch(f){return d(f)}}),d)}catch(l){d(l)}}catch(l){return r(l)}};try{if(ar()||[Pe.DESKTOP_SAFARI,Pe.MOBILE_SAFARI].includes(wt()))throw new Error("Skip createImageBitmap on IOS and Safari");return createImageBitmap(e).then((function(u){try{return i=u,s()}catch{return o()}}),o)}catch{o()}}))}function or(e,t,n,r,i=1){return new Promise((function(a,s){let o;if(t==="image/png"){let d,l,c;return d=e.getContext("2d"),{data:l}=d.getImageData(0,0,e.width,e.height),c=Ue.encode([l.buffer],e.width,e.height,4096*i),o=new Blob([c],{type:t}),o.name=n,o.lastModified=r,u.call(this)}{let d=function(){return u.call(this)};if(t==="image/bmp")return new Promise((l=>Xu.toBlob(e,l))).then((function(l){try{return o=l,o.name=n,o.lastModified=r,d.call(this)}catch(c){return s(c)}}).bind(this),s);{let l=function(){return d.call(this)};if(typeof OffscreenCanvas=="function"&&e instanceof OffscreenCanvas)return e.convertToBlob({type:t,quality:i}).then((function(c){try{return o=c,o.name=n,o.lastModified=r,l.call(this)}catch(f){return s(f)}}).bind(this),s);{let c;return c=e.toDataURL(t,i),oa(c,n,r).then((function(f){try{return o=f,l.call(this)}catch(h){return s(h)}}).bind(this),s)}}}function u(){return a(o)}}))}function We(e){e.width=0,e.height=0}function Yt(){return new Promise((function(e,t){let n,r,i,a;return Yt.cachedResult!==void 0?e(Yt.cachedResult):oa("data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q==","test.jpg",Date.now()).then((function(s){try{return n=s,sr(n).then((function(o){try{return r=o[1],or(r,n.type,n.name,n.lastModified).then((function(u){try{return i=u,We(r),sr(i).then((function(d){try{return a=d[0],Yt.cachedResult=a.width===1&&a.height===2,e(Yt.cachedResult)}catch(l){return t(l)}}),t)}catch(d){return t(d)}}),t)}catch(u){return t(u)}}),t)}catch(o){return t(o)}}),t)}))}function nc(e){return new Promise(((t,n)=>{const r=new Qu;r.onload=i=>{const a=new DataView(i.target.result);if(a.getUint16(0,!1)!=65496)return t(-2);const s=a.byteLength;let o=2;for(;o<s;){if(a.getUint16(o+2,!1)<=8)return t(-1);const u=a.getUint16(o,!1);if(o+=2,u==65505){if(a.getUint32(o+=2,!1)!=1165519206)return t(-1);const d=a.getUint16(o+=6,!1)==18761;o+=a.getUint32(o+4,d);const l=a.getUint16(o,d);o+=2;for(let c=0;c<l;c++)if(a.getUint16(o+12*c,d)==274)return t(a.getUint16(o+12*c+8,d))}else{if((65280&u)!=65280)break;o+=a.getUint16(o,!1)}}return t(-1)},r.onerror=i=>n(i),r.readAsArrayBuffer(e)}))}function rc(e,t){const{width:n}=e,{height:r}=e,{maxWidthOrHeight:i}=t;let a,s=e;return isFinite(i)&&(n>i||r>i)&&([s,a]=ir(n,r),n>r?(s.width=i,s.height=r/n*i):(s.width=n/r*i,s.height=i),a.drawImage(e,0,0,s.width,s.height),We(e)),s}function ic(e,t){const{width:n}=e,{height:r}=e,[i,a]=ir(n,r);switch(t>4&&t<9?(i.width=r,i.height=n):(i.width=n,i.height=r),t){case 2:a.transform(-1,0,0,1,n,0);break;case 3:a.transform(-1,0,0,-1,n,r);break;case 4:a.transform(1,0,0,-1,0,r);break;case 5:a.transform(0,1,1,0,0,0);break;case 6:a.transform(0,1,-1,0,r,0);break;case 7:a.transform(0,-1,-1,0,r,n);break;case 8:a.transform(0,-1,1,0,0,n)}return a.drawImage(e,0,0,n,r),We(e),i}function ac(e,t,n=0){return new Promise((function(r,i){let a,s,o,u,d,l,c,f,h,m,b,A,v,I,T,C,P,w,L,p;function y(D=5){if(t.signal&&t.signal.aborted)throw t.signal.reason;a+=D,t.onProgress(Math.min(a,100))}function S(D){if(t.signal&&t.signal.aborted)throw t.signal.reason;a=Math.min(Math.max(D,a),100),t.onProgress(a)}return a=n,s=t.maxIteration||10,o=1024*t.maxSizeMB*1024,y(),sr(e,t).then((function(D){try{return[,u]=D,y(),d=rc(u,t),y(),new Promise((function(j,F){var E;if(!(E=t.exifOrientation))return nc(e).then((function(x){try{return E=x,R.call(this)}catch(g){return F(g)}}).bind(this),F);function R(){return j(E)}return R.call(this)})).then((function(j){try{return l=j,y(),Yt().then((function(F){try{return c=F?d:ic(d,l),y(),f=t.initialQuality||1,h=t.fileType||e.type,or(c,h,e.name,e.lastModified,f).then((function(E){try{{let x=function(){if(s--&&(T>o||T>v)){let V,O;return V=p?.95*L.width:L.width,O=p?.95*L.height:L.height,[P,w]=ir(V,O),w.drawImage(L,0,0,V,O),f*=h==="image/png"?.85:.95,or(P,h,e.name,e.lastModified,f).then((function(U){try{return C=U,We(L),L=P,T=C.size,S(Math.min(99,Math.floor((I-T)/(I-o)*100))),x}catch(N){return i(N)}}),i)}return[1]},g=function(){return We(L),We(P),We(d),We(c),We(u),S(100),r(C)};if(m=E,y(),b=m.size>o,A=m.size>e.size,!b&&!A)return S(100),r(m);var R;return v=e.size,I=m.size,T=I,L=c,p=!t.alwaysKeepResolution&&b,(R=(function(V){for(;V;){if(V.then)return void V.then(R,i);try{if(V.pop){if(V.length)return V.pop()?g.call(this):V;V=x}else V=V.call(this)}catch(O){return i(O)}}}).bind(this))(x)}}catch(x){return i(x)}}).bind(this),i)}catch(E){return i(E)}}).bind(this),i)}catch(F){return i(F)}}).bind(this),i)}catch(j){return i(j)}}).bind(this),i)}))}const Y1=`
792
571
  let scriptImported = false
793
572
  self.addEventListener('message', async (e) => {
794
573
  const { file, id, imageCompressionLibUrl, options } = e.data
@@ -807,5 +586,5 @@ self.addEventListener('message', async (e) => {
807
586
  self.postMessage({ error: e.message + '\\n' + e.stack, id })
808
587
  }
809
588
  })
810
- `;let b3;function Q9(i,s){return new Promise(((d,f)=>{b3||(b3=(function(g){const b=[];return b.push(g),URL.createObjectURL(new Blob(b))})(X9));const m=new Worker(b3);m.addEventListener("message",(function(g){if(s.signal&&s.signal.aborted)m.terminate();else if(g.data.progress===void 0){if(g.data.error)return f(new Error(g.data.error)),void m.terminate();d(g.data.file),m.terminate()}else s.onProgress(g.data.progress)})),m.addEventListener("error",f),s.signal&&s.signal.addEventListener("abort",(()=>{f(s.signal.reason),m.terminate()})),m.postMessage({file:i,imageCompressionLibUrl:s.libURL,options:{...s,onProgress:void 0,signal:void 0}})}))}function Pa(i,s){return new Promise((function(d,f){let m,p,g,b,x,M;if(m={...s},g=0,{onProgress:b}=m,m.maxSizeMB=m.maxSizeMB||Number.POSITIVE_INFINITY,x=typeof m.useWebWorker!="boolean"||m.useWebWorker,delete m.useWebWorker,m.onProgress=z=>{g=z,typeof b=="function"&&b(g)},!(i instanceof Blob||i instanceof G9))return f(new Error("The file given is not an instance of Blob or File"));if(!/^image/.test(i.type))return f(new Error("The file given is not an image"));if(M=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,!x||typeof Worker!="function"||M)return Z6(i,m).then((function(z){try{return p=z,D.call(this)}catch(_){return f(_)}}).bind(this),f);var A=(function(){try{return D.call(this)}catch(z){return f(z)}}).bind(this),E=function(z){try{return Z6(i,m).then((function(_){try{return p=_,A()}catch(V){return f(V)}}),f)}catch(_){return f(_)}};try{return m.libURL=m.libURL||"https://cdn.jsdelivr.net/npm/browser-image-compression@2.0.2/dist/browser-image-compression.js",Q9(i,m).then((function(z){try{return p=z,A()}catch{return E()}}),E)}catch{E()}function D(){try{p.name=i.name,p.lastModified=i.lastModified}catch{}try{m.preserveExif&&i.type==="image/jpeg"&&(!m.fileType||m.fileType&&m.fileType===i.type)&&(p=N6(i,p))}catch{}return d(p)}}))}Pa.getDataUrlFromFile=V6,Pa.getFilefromDataUrl=v3,Pa.loadImage=L6,Pa.drawImageInCanvas=q6,Pa.drawFileInCanvas=F1,Pa.canvasToFile=$1,Pa.getExifOrientation=G6,Pa.handleMaxWidthOrHeight=X6,Pa.followExifOrientation=Q6,Pa.cleanupCanvasMemory=mu,Pa.isAutoOrientationInBrowser=bh,Pa.approximateBelowMaximumCanvasSizeOfBrowser=Y6,Pa.copyExifWithoutOrientation=N6,Pa.getBrowserName=hf,Pa.version="2.0.2";const k6=i=>{if(!i||typeof i!="string")return"unknown";const s=[".jpg",".jpeg",".png",".gif",".bmp",".webp",".svg"],d=[".mp4",".avi",".mov",".wmv",".flv",".mkv",".webm"];for(const f of s)if(i.toLowerCase().includes(f))return"image";for(const f of d)if(i.toLowerCase().includes(f))return"video";return"unknown"};async function J6(i,s,d){if(k6(i.name)!=="image")return i;const f={maxSizeMB:1,maxWidthOrHeight:1920,useWebWorker:!0,onProgress:m=>d(m)};try{s(!0);const m=await Pa(i,f);return m instanceof File?m:new File([m],i.name,{type:i.type})}catch(m){return console.error("Compression failed; using original file:",m),i}finally{s(!1)}}async function Z9(i,s,d,f,m){i.preventDefault();for(const p of i.dataTransfer.items)if(p.kind==="file"){const g=p.getAsFile();if(!g)continue;const b=await J6(g,f,m);s(URL.createObjectURL(b)),d(b.name)}}async function k9(i,s,d,f,m){const p=i.target.files?.[0];if(!p)return;const g=await J6(p,f,m);s(URL.createObjectURL(g)),d(g.name)}function J9(i,s){i.preventDefault(),s.current&&(s.current.style.borderColor="blue")}function K6(i,s){i.preventDefault(),s.current&&(s.current.style.borderColor="grey")}function K9({progress:i=null}){const s=i!==null?i/100*360:0;return ot.jsx("div",{className:"w-full h-full flex justify-center items-center",children:ot.jsx("div",{className:"grid justify-center items-center w-32 h-32 rounded-full",style:{background:`conic-gradient(rgb(59, 130, 246) ${s}deg, transparent 0)`},children:ot.jsx("div",{className:"w-30 h-30 bg-white rounded-full text-center text-(--draftify-theme-color) grid items-center ",children:ot.jsxs("div",{children:[ot.jsx("div",{className:"italic text-[13px]",children:"progress"}),ot.jsx("div",{className:"text-xl font-bold",children:i!==null&&`${i}%`})]})})})})}function F6({mediaBlock:i,modifyMedia:s}){const[d,f]=Ot.useState(""),[m,p]=Ot.useState(""),[g,b]=Ot.useState(""),[x,M]=Ot.useState(""),[A,E]=Ot.useState(!1),[D,z]=Ot.useState(null),_=Ot.useRef(null);Ot.useEffect(()=>{window.addEventListener("dragover",L=>L.preventDefault()),window.addEventListener("drop",L=>L.preventDefault())},[]),Ot.useEffect(()=>{f("To remove image or media component, refresh first."),i.data.src!==""&&(p(i.data.src),b(i.type))},[i.data.src,i.type]),Ot.useEffect(()=>{i.type==="image"?s({imageBlockId:i.id,src:m,alt:i.data.alt,caption:i.data.caption}):i.type==="video"&&s({videoBlockId:i.id,src:m,provider:i.data.provider}),x&&b(k6(x))},[m]);const V=()=>{p(""),M("")};return ot.jsx("div",{className:"border w-full h-68.75",children:m&&!A?g==="image"?ot.jsxs("div",{className:"relative w-full h-68.75 text-(--draftify-theme-color) font-medium border-blue-200 pb-6.25",children:[ot.jsx("img",{src:m,alt:"",className:"flex-1 media"}),ot.jsxs("div",{className:"absolute bottom-0.5 flex gap-2 items-center w-full h-6.25 text-[12px]",children:[d&&ot.jsx("div",{className:"text-(--draftify-theme-color)",children:d}),ot.jsxs("div",{onClick:V,className:"flex gap-2 border rounded-[5px] items-center px-1 bg-(--draftify-theme-color) text-white cursor-pointer",children:["refresh",ot.jsx(li,{icon:["fas","refresh"]})]})]})]}):g==="video"||g==="media"?ot.jsxs("div",{className:"relative w-full h-68.75 text-blue-600 font-medium border-blue-200 pb-6.25",children:[ot.jsx("video",{autoPlay:!0,muted:!0,controls:!0,className:"flex-1 media",children:ot.jsx("source",{src:m,type:"video/mp4"})}),ot.jsxs("div",{className:"absolute bottom-0.5 flex gap-2 items-center w-full h-6.25 text-[12px]",children:[d&&ot.jsx("div",{className:"text-(--draftify-theme-color)",children:d}),ot.jsxs("div",{onClick:V,className:"flex gap-2 border rounded-[5px] items-center px-1 bg-(--draftify-theme-color) text-white cursor-pointer",children:["refresh",ot.jsx(li,{icon:["fas","refresh"]})]})]})]}):g==="unknown"&&ot.jsxs("div",{className:"flex flex-col items-center justify-center h-full gap-4 p-4 text-gray-500 text-center",children:[ot.jsx(li,{icon:["fas","file"],size:"2x"}),ot.jsxs("p",{className:"text-sm font-medium",children:["wrong format: ",x]}),ot.jsx("p",{className:"text-sm font-medium",children:"accepted formats: png, jpg, jpeg, gif, mp4, webm,ogg"}),ot.jsx(li,{icon:["fas","refresh"],onClick:()=>{p(""),M("")}})]}):A?ot.jsx(K9,{progress:D}):ot.jsxs("div",{ref:_,onDrop:L=>Z9(L,p,M,E,z),onDragOver:L=>J9(L,_),onDragLeave:L=>K6(L,_),onMouseLeave:L=>K6(L,_),className:"border-2 border-dashed w-full h-full grid items-center",children:[ot.jsx("input",{type:"file",id:"file",className:"hidden",onChange:L=>k9(L,p,M,E,z)}),ot.jsxs("label",{htmlFor:"file",className:"flex flex-col justify-center items-center text-center gap-5 px-4 py-2 rounded-[10px] cursor-pointer",children:[ot.jsx("div",{className:"border rounded-[50%] flex justify-center items-center w-15 h-15 text-[20px] cursor-pointer",children:ot.jsx(li,{icon:["fas","arrow-up-from-bracket"]})}),ot.jsxs("div",{className:"normal-title",children:["Drop your"," ",i.type==="image"?ot.jsx("strong",{children:"image/GIF"}):ot.jsx("strong",{children:"video"})," ","here",ot.jsx("div",{className:"normal-text text-(--grey-secondary)",children:"or click to browse"})]})]})]})})}function F9({imageBlock:i}){return ot.jsx("div",{children:ot.jsx("img",{src:i.data.src,alt:"",className:"media rounded-[10px]"})},i.id)}function $9({videoBlock:i}){return ot.jsx("div",{children:i.data.src&&ot.jsx("video",{autoPlay:!0,muted:!0,controls:!0,className:"rounded-[10px] media",children:ot.jsx("source",{src:i.data.src,type:"video/mp4"})})},i.id)}function I9({linkBlock:i,modifyLink:s}){const[d,f]=Ot.useState(i.data.linkText),[m,p]=Ot.useState(i.data.url);return Ot.useEffect(()=>{s({linkBlockId:i.id,linkText:d,url:m})},[d,m,i.id]),ot.jsxs("div",{className:"flex",children:[ot.jsx("input",{type:"text",placeholder:"Enter link text...",className:"flex-1 border-b link",autoFocus:!0,value:i.data.linkText,onChange:g=>f(g.target.value)}),ot.jsx("span",{children:"["}),ot.jsx("input",{type:"url",placeholder:"url",className:"flex-1 border-b link",autoFocus:!0,value:i.data.url,onChange:g=>p(g.target.value)}),ot.jsx("span",{children:"]"})]})}function W9({linkBlock:i}){return ot.jsx("a",{href:i.data.url,className:"link",children:i.data.linkText},i.id)}function P9({codeBlock:i,modifyCode:s}){return ot.jsx("textarea",{className:"code",placeholder:"Code block...",autoFocus:!0,value:i.data.code,onChange:d=>s({codeBlockId:i.id,language:i.data.language,code:d.target.value})})}function tU({codeBlock:i}){return ot.jsx("pre",{className:"code",children:ot.jsx("code",{children:i.data.code})},i.id)}function eU({block:i,modifyHeading:s,modifySubheading:d,modifyParagraph:f,modifyQuote:m,modifyList:p,modifyTable:g,modifyImage:b,modifyVideo:x,modifyLink:M,modifyCode:A}){switch(i.type){case"heading":return ot.jsx(x9,{headingBlock:i,modifyHeading:s});case"subheading":return ot.jsx(M9,{subheadingBlock:i,modifySubheading:d});case"paragraph":return ot.jsx(O9,{paragraphBlock:i,modifyParagraph:f});case"quote":return ot.jsx(U9,{quoteBlock:i,modifyQuote:m});case"list":return ot.jsx(R9,{listBlock:i,modifyList:p});case"table":return ot.jsx(N9,{tableBlock:i,modifyTable:g});case"image":return ot.jsx(F6,{mediaBlock:i,modifyMedia:b});case"video":return ot.jsx(F6,{mediaBlock:i,modifyMedia:x});case"link":return ot.jsx(I9,{linkBlock:i,modifyLink:M});case"code":return ot.jsx(P9,{codeBlock:i,modifyCode:A});default:return null}}function m0({text:i,children:s}){return ot.jsxs("div",{className:"relative inline-block group",children:[s,ot.jsx("span",{className:`absolute bottom-full mb-2 left-1/2 -translate-x-1/2\r
811
- bg-gray-800 text-white text-xs rounded py-1 px-2 opacity-0 group-hover:opacity-100 group-hover:transition-y-[5px] transition duration-300 whitespace-nowrap z-10`,children:i})]})}const nU=[{id:1,type:"heading",icon:["fas","heading"]},{id:2,type:"subheading",icon:["fas","heading"]},{id:3,type:"paragraph",icon:["fas","paragraph"]},{id:4,type:"quote",icon:["fas","quote-right"]},{id:5,type:"list",icon:["fas","list"]},{id:6,type:"table",icon:["fas","table-list"]},{id:7,type:"image",icon:["far","image"]},{id:8,type:"video",icon:["fas","play"]},{id:9,type:"link",icon:["fas","link"]},{id:10,type:"code",icon:["fas","code"]}];function aU({handleClick:i}){const[s,d]=Ot.useState(null),f=(m,p)=>{d(m),i(p)};return ot.jsx("div",{className:"flex flex-wrap gap-[5px] md:gap-[10px] items-center",children:nU.map(m=>ot.jsx(m0,{text:`${m.type}`,children:ot.jsxs("div",{className:`flex items-center gap-[10px] h-[40px] p-2 border-2 border-gray-600 cursor-pointer rounded-[10px] text-sm md:text-md ${s===m.id?"text-(--draftify-theme-color)":"text-gray-600"}`,onClick:()=>m.type!=="table"&&f(m.id,m.type),children:[ot.jsxs("div",{className:"flex",children:[ot.jsx(li,{icon:m.icon,onClick:()=>m.type==="table"&&f(m.id,m.type)}),ot.jsx("div",{className:"text-xs",children:m.type==="subheading"?"2":""})]}),m.type==="table"&&ot.jsx(H9,{handleClick:i,block:m})]})},m.id))})}function lU({blocksData:i}){return i.length!==0&&i.map(s=>{switch(s.type){case"heading":return ot.jsx(D9,{headingBlock:s},s.id);case"subheading":return ot.jsx(C9,{subheadingBlock:s},s.id);case"paragraph":return ot.jsx(z9,{paragraphBlock:s},s.id);case"quote":return ot.jsx(_9,{quoteBlock:s},s.id);case"list":return ot.jsx(w9,{listBlock:s},s.id);case"table":return ot.jsx(j9,{tableBlock:s},s.id);case"image":return ot.jsx(F9,{imageBlock:s},s.id);case"video":return ot.jsx($9,{videoBlock:s},s.id);case"link":return ot.jsx(W9,{linkBlock:s},s.id);case"code":return ot.jsx(tU,{codeBlock:s},s.id);default:return null}})}function iU({view:i,setView:s,setPromptVisiblility:d,blocksData:f,setPromptAction:m,handleCopy:p}){const[g,b]=Ot.useState(!1),x=Ot.useRef(null),M=Ot.useRef(null);function A(E,D,z){!D||!z||(E==="editor"?z.style.transform="translateX(14px)":z.style.transform="translateX(0)")}return Ot.useEffect(()=>{setTimeout(()=>{b(!1)},3e3)},[g]),ot.jsx("div",{className:"md:h-10",children:ot.jsxs("div",{className:"relative grid md:flex items-center text-[12px] italic gap-2.5",children:[ot.jsxs("div",{className:"md:flex gap-2.5 items-center font-bold logo-text text-[20px]",children:["DRAFTIFY PRO"," ",ot.jsx("div",{className:"underline font-normal text-[12px]",children:"Write. Create. Build your story block by block."})]}),ot.jsxs("div",{className:"md:absolute right-0 flex items-center gap-2.5",children:[ot.jsx(m0,{text:"e.g. for dev dummy data",children:ot.jsxs("button",{className:"border rounded-[10px] bg-(--hovered-draftify-theme-color) text-white hover:font-semibold hover:bg-(--draftify-theme-color) p-1 cursor-pointer",onClick:()=>{m("downloadJSON"),d(!0)},children:["Download JSON ",ot.jsx(li,{icon:["fas","download"]})]})}),ot.jsx(m0,{text:"Download as document",children:ot.jsxs("button",{className:"border rounded-[10px] bg-(--hovered-draftify-theme-color) text-white hover:font-semibold hover:bg-(--draftify-theme-color) p-1 cursor-pointer",onClick:()=>{m("exportDocx"),d(!0)},children:["Export .docx ",ot.jsx(li,{icon:["fas","download"]})]})}),ot.jsx(m0,{text:"copy to clipboard",children:ot.jsx("button",{className:`p-1 cursor-pointer ${g?"text-green-400":"text-(--hovered-draftify-theme-color)"}`,children:ot.jsx(li,{icon:["fas",`${g?"check":"copy"}`],onClick:()=>p(f,b)})})}),ot.jsxs(m0,{text:"toggle btn editor & preview",children:[ot.jsx("div",{ref:x,className:"border w-7.5 h-4 rounded-2xl cursor-pointer duration-300 flex items-center p-0",onClick:()=>{s(E=>E==="editor"?"preview":"editor"),A(i,x.current,M.current)},children:ot.jsx("div",{ref:M,className:"w-3 h-3 rounded-xl bg-[#232323] duration-300 flex items-center leading-2 justify-center translate-x-px",children:ot.jsx("div",{className:"flex items-center h-full text-white -translate-y-0.5",children:i==="editor"?"e":"p"})})})," "]}),ot.jsxs("div",{className:"w-25",children:["viewing ",i]})]})]})})}function oU(){return ot.jsx("div",{className:"group flex flex-col justify-center gap-y-[3px] w-[15px] h-full border border-(--draftify-theme-color) hover:border-black rounded-tl-[5px] rounded-bl-[5px] cursor-move",children:[1,2,3].map(i=>ot.jsx("div",{className:"w-1 h-1 rounded-2.5 bg-(--draftify-theme-color) group-hover:bg-black self-center"},i))})}function uU({gridDots:i}){return ot.jsx("div",{className:"fixed top-0 left-0 w-full h-full -z-1",children:i.map(s=>ot.jsx("div",{className:"absolute w-px h-px bg-black","data-x":s.x,"data-y":s.y,style:{left:`${s.x*20}px`,top:`${s.y*20}px`}},s.key))})}function sU({docTitle:i,setDocTitle:s,description:d,setDescription:f,author:m,setAuthor:p,promptAction:g,handlePromptAction:b,setPromptVisiblility:x}){return ot.jsxs("div",{className:"doc-metadata-prompt",children:[ot.jsxs("div",{className:"flex",children:[ot.jsx("div",{className:" flex-1 mb-2.5",children:"Would you like to add metadata before downloading?"}),ot.jsx("div",{children:ot.jsx(li,{icon:["fas","xmark"],className:"cursor-pointer",onClick:()=>x(!1)})})]}),ot.jsxs("div",{className:"font-semibold",children:[ot.jsxs("div",{children:[ot.jsx("div",{children:" document title: (optional)"}),ot.jsx("input",{type:"text",className:"w-full border rounded-md p-1",value:i,onChange:M=>s(M.target.value)})]}),ot.jsxs("div",{children:[ot.jsx("div",{children:"description: (optional)"}),ot.jsx("textarea",{name:"description",className:"w-full border rounded-md p-1",value:d,onChange:M=>f(M.target.value)})]}),ot.jsxs("div",{children:[ot.jsx("div",{children:"author: (optional)"}),ot.jsx("input",{type:"text",className:"w-full border rounded-md p-1",value:m,onChange:M=>p(M.target.value)})]})]}),ot.jsxs("div",{className:"mt-4 flex gap-2",children:[ot.jsx("button",{className:"flex-1 px-4 py-2 bg-gray-300 text-black rounded-md hover:bg-gray-400 cursor-pointer",onClick:()=>b(g,"ignore"),children:"Ignore"}),ot.jsx("button",{className:"flex-1 px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 cursor-pointer",onClick:()=>b(g,"add"),children:"Add"})]})]})}function rU(i=[]){const[s,d]=Ot.useState([]),[f,m]=Ot.useState({metadata:{},version:"1.0.0",blocks:s}),[p,g]=Ot.useState(""),[b,x]=Ot.useState(""),[M,A]=Ot.useState(""),[E,D]=Ot.useState([]),[z,_]=Ot.useState("editor"),[V,L]=Ot.useState(!1),[B,it]=Ot.useState("");Ot.useEffect(()=>{if(typeof window<"u"&&localStorage.getItem("draftifyDoc")){const zt=localStorage.getItem("draftifyDoc"),Rt=JSON.parse(zt);m(Rt),g(Rt.metadata?.docTitle||""),x(Rt.metadata?.description||""),A(Rt.metadata?.author||""),d($e.normalizeDocument(Rt).blocks||$e.normalizeBlock(i))}else d($e.normalizeBlock(i))},[]),Ot.useEffect(()=>{(async Rt=>{const wt=await Promise.all(Rt.map(async Ht=>{if(Ht.type==="image"&&Ht.file){const ye=await $e.imageToBase64(Ht);return{...Ht,content:ye,file:void 0}}return Ht}));localStorage.setItem("draftifyDoc",JSON.stringify({...f,blocks:wt}))})(s)},[s,f]),Ot.useEffect(()=>{const zt={docTitle:p||"Untitled",description:b||"",author:M||"Unknown",createdAt:new Date().toISOString()};m(Rt=>({...Rt,metadata:zt}))},[p,b,M]);const k=(zt,Rt)=>{const wt={docTitle:"Untitled Document",description:"",author:"Unknown Author",createdAt:new Date().toISOString()};zt==="downloadJSON"?$e.handleDownloadJSON(Rt==="add"?f:{...f,metadata:wt}):zt==="exportDocx"&&$e.exportBlocksToDocx(Rt==="add"?f:{...f,metadata:wt}),L(!1)},P=(zt,Rt)=>{switch(zt){case"heading":d(wt=>[...wt,$e.createHeadingBlock()]);break;case"subheading":d(wt=>[...wt,$e.createSubheadingBlock()]);break;case"paragraph":d(wt=>[...wt,$e.createParagraphBlock()]);break;case"quote":d(wt=>[...wt,$e.createQuoteBlock()]);break;case"list":d(wt=>[...wt,$e.createListBlock()]);break;case"table":d(wt=>[...wt,$e.createTableBlock(Rt)]);break;case"image":d(wt=>[...wt,$e.createImageBlock()]);break;case"video":d(wt=>[...wt,$e.createVideoBlock()]);break;case"link":d(wt=>[...wt,$e.createLinkBlock()]);break;case"code":d(wt=>[...wt,$e.createCodeBlock()]);break}},tt=({headingBlockId:zt,newContent:Rt,level:wt})=>{d(Ht=>$e.modifyHeadingBlock(Ht,zt,Rt,wt))},Y=({subheadingBlockId:zt,newContent:Rt})=>{d(wt=>$e.modifySubheadingBlock(wt,zt,Rt))},rt=({paragraphBlockId:zt,newContent:Rt})=>{d(wt=>$e.modifyParagraphBlock(wt,zt,Rt))},j=({quoteBlockId:zt,newContent:Rt,author:wt})=>{d(Ht=>$e.modifyQuoteBlock(Ht,zt,Rt,wt))},H=({listBlockId:zt,listStyle:Rt,items:wt})=>{d(Ht=>$e.modifyListBlock(Ht,zt,Rt,wt))},q=({tableBlockId:zt,tableContent:Rt})=>{d(wt=>$e.modifyTableBlock(wt,zt,Rt))},at=({imageBlockId:zt,src:Rt,alt:wt,caption:Ht})=>{d(ye=>$e.modifyImageBlock(ye,zt,Rt,wt,Ht))},K=({videoBlockId:zt,src:Rt,provider:wt})=>{d(Ht=>$e.modifyVideoBlock(Ht,zt,Rt,wt))},lt=({linkBlockId:zt,linkText:Rt,url:wt})=>{d(Ht=>$e.modifyLinkBlock(Ht,zt,Rt,wt))},et=({codeBlockId:zt,language:Rt,code:wt})=>{d(Ht=>$e.modifyCodeBlock(Ht,zt,Rt,wt))},ct=zt=>{const Rt=s.find(wt=>wt.id===zt);(Rt.type==="image"||Rt.type==="video")&&Rt.data.src!==""||d(wt=>wt.filter(Ht=>Ht.id!==zt))},R=(zt,Rt)=>{d(wt=>{const Ht=[...wt],[ye]=Ht.splice(zt,1);return Ht.splice(Rt,0,ye),Ht})},w=(zt,Rt)=>{zt.preventDefault(),zt.currentTarget.classList.remove("bg-gray-100");const wt=parseInt(zt.dataTransfer.getData("text/plain")),Ht=Rt;wt!==Ht&&R(wt,Ht)},J=(zt,Rt)=>{zt.dataTransfer.setData("text/plain",Rt),zt.currentTarget.style.opacity="0.5"},F=zt=>{zt.currentTarget.style.opacity="1"},dt=zt=>{zt.currentTarget.classList.add("bg-gray-100")},ut=zt=>{zt.currentTarget.classList.remove("bg-gray-100")},pt={show:{transition:{staggerChildren:.07}}},Et={hidden:{opacity:0,y:20},show:{opacity:1,y:0},exit:{opacity:0,y:-20}},ht={type:"spring",stiffness:300,damping:20},bt={scale:1.02,backgroundColor:"rgba(243, 244, 246, 0.8)"};return{view:z,setView:_,gridDots:E,setGridDots:D,docTitle:p,setDocTitle:g,description:b,setDescription:x,author:M,setAuthor:A,handleCopy:$e.handleCopy,handlePromptAction:k,promptAction:B,setPromptAction:it,promptVisibility:V,setPromptVisiblility:L,blocksData:s,handleClick:P,modifyHeading:tt,modifySubheading:Y,modifyParagraph:rt,modifyQuote:j,modifyList:H,modifyTable:q,modifyImage:at,modifyVideo:K,modifyLink:lt,modifyCode:et,onDropHandler:w,onDragStart:J,onDragEnd:F,onDragEnter:dt,onDragLeave:ut,containerVariants:pt,itemVariants:Et,transitions:ht,whileHover:bt,handleDelete:ct}}function cU(i){Ot.useEffect(()=>{function s(){const f=Math.ceil(window.innerWidth/20),m=Math.ceil(document.documentElement.scrollHeight/20),p=[];for(let g=0;g<m;g++)for(let b=0;b<f;b++)p.push({x:b,y:g,key:`${b}-${g}`});i(p)}return s(),window.addEventListener("resize",s),()=>window.removeEventListener("resize",s)},[i])}var fU={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z"]},dU={prefix:"fas",iconName:"code",icon:[576,512,[],"f121","M360.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z"]},hU={prefix:"fas",iconName:"arrow-up-from-bracket",icon:[448,512,[],"e09a","M246.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 109.3 192 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128zM64 352c0-17.7-14.3-32-32-32S0 334.3 0 352l0 64c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-64z"]},mU={prefix:"fas",iconName:"table-list",icon:[448,512,["th-list"],"f00b","M0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm64 0l0 64 64 0 0-64-64 0zm320 0l-192 0 0 64 192 0 0-64zM64 224l0 64 64 0 0-64-64 0zm320 0l-192 0 0 64 192 0 0-64zM64 352l0 64 64 0 0-64-64 0zm320 0l-192 0 0 64 192 0 0-64z"]},pU={prefix:"fas",iconName:"link",icon:[576,512,[128279,"chain"],"f0c1","M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z"]},yU={prefix:"fas",iconName:"paragraph",icon:[448,512,[182],"f1dd","M160 0L416 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0 0 416c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-416-48 0 0 416c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-160-48 0C71.6 320 0 248.4 0 160S71.6 0 160 0z"]},gU={prefix:"fas",iconName:"play",icon:[448,512,[9654],"f04b","M91.2 36.9c-12.4-6.8-27.4-6.5-39.6 .7S32 57.9 32 72l0 368c0 14.1 7.5 27.2 19.6 34.4s27.2 7.5 39.6 .7l336-184c12.8-7 20.8-20.5 20.8-35.1s-8-28.1-20.8-35.1l-336-184z"]},vU={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z"]},bU={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]},SU={prefix:"fas",iconName:"quote-right",icon:[448,512,[8221,"quote-right-alt"],"f10e","M448 296c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 136zm-256 0c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 136z"]},AU={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM16 232l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0z"]},TU={prefix:"fas",iconName:"angle-down",icon:[384,512,[8964],"f107","M169.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 306.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},EU={prefix:"fas",iconName:"heading",icon:[448,512,["header"],"f1dc","M0 64C0 46.3 14.3 32 32 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 112 224 0 0-112-16 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 320 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-144-224 0 0 144 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-320-16 0C14.3 96 0 81.7 0 64z"]},xU={prefix:"fas",iconName:"download",icon:[448,512,[],"f019","M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},DU={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z"]},MU={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M65.9 228.5c13.3-93 93.4-164.5 190.1-164.5 53 0 101 21.5 135.8 56.2 .2 .2 .4 .4 .6 .6l7.6 7.2-47.9 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 53.4-11.3-10.7C390.5 28.6 326.5 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1zm443.5 64c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-53 0-101-21.5-135.8-56.2-.2-.2-.4-.4-.6-.6l-7.6-7.2 47.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 320c-8.5 0-16.7 3.4-22.7 9.5S-.1 343.7 0 352.3l1 127c.1 17.7 14.6 31.9 32.3 31.7S65.2 496.4 65 478.7l-.4-51.5 10.7 10.1c46.3 46.1 110.2 74.7 180.7 74.7 129 0 235.7-95.4 253.4-219.5z"]},CU=MU;var OU={prefix:"far",iconName:"image",icon:[448,512,[],"f03e","M64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm128 32a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm136 72c8.5 0 16.4 4.5 20.7 11.8l80 136c4.4 7.4 4.4 16.6 .1 24.1S352.6 384 344 384l-240 0c-8.9 0-17.2-5-21.3-12.9s-3.5-17.5 1.6-24.8l56-80c4.5-6.4 11.8-10.2 19.7-10.2s15.2 3.8 19.7 10.2l17.2 24.6 46.5-79c4.3-7.3 12.2-11.8 20.7-11.8z"]};o9.add(EU,yU,mU,AU,pU,dU,OU,SU,gU,TU,bU,hU,fU,xU,CU,DU,vU);function $6(){const{view:i,setView:s,gridDots:d,setGridDots:f,docTitle:m,setDocTitle:p,description:g,setDescription:b,author:x,setAuthor:M,handleCopy:A,handlePromptAction:E,promptAction:D,setPromptAction:z,promptVisibility:_,setPromptVisiblility:V,blocksData:L,handleClick:B,modifyHeading:it,modifySubheading:k,modifyParagraph:P,modifyQuote:tt,modifyList:Y,modifyTable:rt,modifyImage:j,modifyVideo:H,modifyLink:q,modifyCode:at,onDropHandler:K,onDragStart:lt,onDragEnd:et,onDragEnter:ct,onDragLeave:R,containerVariants:w,itemVariants:J,transitions:F,whileHover:dt,handleDelete:ut}=rU([]);return cU(f),ot.jsxs(ot.Fragment,{children:[ot.jsx(uU,{gridDots:d}),ot.jsxs("div",{className:"draftify-container",children:[ot.jsx(iU,{view:i,setView:s,blocksData:L,setPromptAction:z,setPromptVisiblility:V,handleCopy:A}),_&&ot.jsx(sU,{docTitle:m,setDocTitle:p,description:g,setDescription:b,author:x,setAuthor:M,promptAction:D,handlePromptAction:E,setPromptVisiblility:V}),i==="editor"&&ot.jsxs(ot.Fragment,{children:[ot.jsx(aU,{handleClick:B}),ot.jsx("div",{className:"editor-area",onSubmit:pt=>pt.preventDefault(),children:ot.jsx(F5.div,{className:"grid gap-2.5",variants:w,animate:"show",exit:"hidden",children:ot.jsx(vC,{children:L.map((pt,Et)=>ot.jsxs(F5.div,{layout:!0,variants:J,transition:F,whileHover:dt,draggable:!0,onDragStart:ht=>lt(ht,Et),onDragEnd:ht=>et(ht),onDragOver:ht=>ht.preventDefault(),onDragEnter:ht=>ct(ht),onDragLeave:ht=>R(ht),onDrop:ht=>K(ht,Et),className:"block-container",children:[ot.jsx(oU,{}),ot.jsx(eU,{block:pt,modifyHeading:it,modifySubheading:k,modifyParagraph:P,modifyQuote:tt,modifyList:Y,modifyTable:rt,modifyImage:j,modifyVideo:H,modifyLink:q,modifyCode:at}),ot.jsx(li,{icon:["fas","trash"],className:"cursor-pointer hover:text-red-500",onClick:()=>ut(pt.id)})]},pt.id))})})})]}),i==="preview"&&ot.jsx("div",{className:"output-area",onSubmit:pt=>pt.preventDefault(),children:ot.jsx(lU,{blocksData:L})})]})]})}return y8.createRoot(document.getElementById("root")).render(ot.jsx(Ot.StrictMode,{children:ot.jsx($6,{})})),$6}));
589
+ `;let la;function G1(e,t){return new Promise(((n,r)=>{la||(la=(function(s){const o=[];return o.push(s),URL.createObjectURL(new Blob(o))})(Y1));const i=new Worker(la);i.addEventListener("message",(function(s){if(t.signal&&t.signal.aborted)i.terminate();else if(s.data.progress===void 0){if(s.data.error)return r(new Error(s.data.error)),void i.terminate();n(s.data.file),i.terminate()}else t.onProgress(s.data.progress)})),i.addEventListener("error",r),t.signal&&t.signal.addEventListener("abort",(()=>{r(t.signal.reason),i.terminate()})),i.postMessage({file:e,imageCompressionLibUrl:t.libURL,options:{...t,onProgress:void 0,signal:void 0}})}))}function ve(e,t){return new Promise((function(n,r){let i,a,s,o,u,d;if(i={...t},s=0,{onProgress:o}=i,i.maxSizeMB=i.maxSizeMB||Number.POSITIVE_INFINITY,u=typeof i.useWebWorker!="boolean"||i.useWebWorker,delete i.useWebWorker,i.onProgress=h=>{s=h,typeof o=="function"&&o(s)},!(e instanceof Blob||e instanceof H1))return r(new Error("The file given is not an instance of Blob or File"));if(!/^image/.test(e.type))return r(new Error("The file given is not an image"));if(d=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,!u||typeof Worker!="function"||d)return ac(e,i).then((function(h){try{return a=h,f.call(this)}catch(m){return r(m)}}).bind(this),r);var l=(function(){try{return f.call(this)}catch(h){return r(h)}}).bind(this),c=function(h){try{return ac(e,i).then((function(m){try{return a=m,l()}catch(b){return r(b)}}),r)}catch(m){return r(m)}};try{return i.libURL=i.libURL||"https://cdn.jsdelivr.net/npm/browser-image-compression@2.0.2/dist/browser-image-compression.js",G1(e,i).then((function(h){try{return a=h,l()}catch{return c()}}),c)}catch{c()}function f(){try{a.name=e.name,a.lastModified=e.lastModified}catch{}try{i.preserveExif&&e.type==="image/jpeg"&&(!i.fileType||i.fileType&&i.fileType===e.type)&&(a=Ku(e,a))}catch{}return n(a)}}))}ve.getDataUrlFromFile=Zu,ve.getFilefromDataUrl=oa,ve.loadImage=Ju,ve.drawImageInCanvas=tc,ve.drawFileInCanvas=sr,ve.canvasToFile=or,ve.getExifOrientation=nc,ve.handleMaxWidthOrHeight=rc,ve.followExifOrientation=ic,ve.cleanupCanvasMemory=We,ve.isAutoOrientationInBrowser=Yt,ve.approximateBelowMaximumCanvasSizeOfBrowser=ec,ve.copyExifWithoutOrientation=Ku,ve.getBrowserName=wt,ve.version="2.0.2";const sc=e=>{if(!e||typeof e!="string")return"unknown";const t=[".jpg",".jpeg",".png",".gif",".bmp",".webp",".svg"],n=[".mp4",".avi",".mov",".wmv",".flv",".mkv",".webm"];for(const r of t)if(e.toLowerCase().includes(r))return"image";for(const r of n)if(e.toLowerCase().includes(r))return"video";return"unknown"};async function oc(e,t,n){if(sc(e.name)!=="image")return e;const r={maxSizeMB:1,maxWidthOrHeight:1920,useWebWorker:!0,onProgress:i=>n(i)};try{t(!0);const i=await ve(e,r);return i instanceof File?i:new File([i],e.name,{type:e.type})}catch(i){return console.error("Compression failed; using original file:",i),e}finally{t(!1)}}async function K1(e,t,n,r,i){e.preventDefault();for(const a of e.dataTransfer.items)if(a.kind==="file"){const s=a.getAsFile();if(!s)continue;const o=await oc(s,r,i);t(URL.createObjectURL(o)),n(o.name)}}async function X1(e,t,n,r,i){const a=e.target.files?.[0];if(!a)return;const s=await oc(a,r,i);t(URL.createObjectURL(s)),n(s.name)}function q1(e,t){e.preventDefault(),t.current&&(t.current.style.borderColor="blue")}function lc(e,t){e.preventDefault(),t.current&&(t.current.style.borderColor="grey")}function Q1({progress:e=null}){const t=e!==null?e/100*360:0;return k.jsx("div",{className:"w-full h-full flex justify-center items-center",children:k.jsx("div",{className:"grid justify-center items-center w-32 h-32 rounded-full",style:{background:`conic-gradient(rgb(59, 130, 246) ${t}deg, transparent 0)`},children:k.jsx("div",{className:"w-30 h-30 bg-white rounded-full text-center text-(--draftify-theme-color) grid items-center ",children:k.jsxs("div",{children:[k.jsx("div",{className:"italic text-[13px]",children:"progress"}),k.jsx("div",{className:"text-xl font-bold",children:e!==null&&`${e}%`})]})})})})}function uc({mediaBlock:e,modifyMedia:t}){const[n,r]=z.useState(""),[i,a]=z.useState(""),[s,o]=z.useState(""),[u,d]=z.useState(""),[l,c]=z.useState(!1),[f,h]=z.useState(null),m=z.useRef(null);z.useEffect(()=>{window.addEventListener("dragover",A=>A.preventDefault()),window.addEventListener("drop",A=>A.preventDefault())},[]),z.useEffect(()=>{r("To remove image or media component, refresh first."),e.data.src!==""&&(a(e.data.src),o(e.type))},[e.data.src,e.type]),z.useEffect(()=>{e.type==="image"?t({imageBlockId:e.id,src:i,alt:e.data.alt,caption:e.data.caption}):e.type==="video"&&t({videoBlockId:e.id,src:i,provider:e.data.provider}),u&&o(sc(u))},[i]);const b=()=>{a(""),d("")};return k.jsx("div",{className:"border w-full h-68.75",children:i&&!l?s==="image"?k.jsxs("div",{className:"relative w-full h-68.75 text-(--draftify-theme-color) font-medium border-blue-200 pb-6.25",children:[k.jsx("img",{src:i,alt:"",className:"flex-1 media"}),k.jsxs("div",{className:"absolute bottom-0.5 flex gap-2 items-center w-full h-6.25 text-[12px]",children:[n&&k.jsx("div",{className:"text-(--draftify-theme-color)",children:n}),k.jsxs("div",{onClick:b,className:"flex gap-2 border rounded-[5px] items-center px-1 bg-(--draftify-theme-color) text-white cursor-pointer",children:["refresh",k.jsx(Ce,{icon:["fas","refresh"]})]})]})]}):s==="video"||s==="media"?k.jsxs("div",{className:"relative w-full h-68.75 text-blue-600 font-medium border-blue-200 pb-6.25",children:[k.jsx("video",{autoPlay:!0,muted:!0,controls:!0,className:"flex-1 media",children:k.jsx("source",{src:i,type:"video/mp4"})}),k.jsxs("div",{className:"absolute bottom-0.5 flex gap-2 items-center w-full h-6.25 text-[12px]",children:[n&&k.jsx("div",{className:"text-(--draftify-theme-color)",children:n}),k.jsxs("div",{onClick:b,className:"flex gap-2 border rounded-[5px] items-center px-1 bg-(--draftify-theme-color) text-white cursor-pointer",children:["refresh",k.jsx(Ce,{icon:["fas","refresh"]})]})]})]}):s==="unknown"&&k.jsxs("div",{className:"flex flex-col items-center justify-center h-full gap-4 p-4 text-gray-500 text-center",children:[k.jsx(Ce,{icon:["fas","file"],size:"2x"}),k.jsxs("p",{className:"text-sm font-medium",children:["wrong format: ",u]}),k.jsx("p",{className:"text-sm font-medium",children:"accepted formats: png, jpg, jpeg, gif, mp4, webm,ogg"}),k.jsx(Ce,{icon:["fas","refresh"],onClick:()=>{a(""),d("")}})]}):l?k.jsx(Q1,{progress:f}):k.jsxs("div",{ref:m,onDrop:A=>K1(A,a,d,c,h),onDragOver:A=>q1(A,m),onDragLeave:A=>lc(A,m),onMouseLeave:A=>lc(A,m),className:"border-2 border-dashed w-full h-full grid items-center",children:[k.jsx("input",{type:"file",id:"file",className:"hidden",onChange:A=>X1(A,a,d,c,h)}),k.jsxs("label",{htmlFor:"file",className:"flex flex-col justify-center items-center text-center gap-5 px-4 py-2 rounded-[10px] cursor-pointer",children:[k.jsx("div",{className:"border rounded-[50%] flex justify-center items-center w-15 h-15 text-[20px] cursor-pointer",children:k.jsx(Ce,{icon:["fas","arrow-up-from-bracket"]})}),k.jsxs("div",{className:"normal-title",children:["Drop your"," ",e.type==="image"?k.jsx("strong",{children:"image/GIF"}):k.jsx("strong",{children:"video"})," ","here",k.jsx("div",{className:"normal-text text-(--grey-secondary)",children:"or click to browse"})]})]})]})})}function Z1({imageBlock:e}){return k.jsx("div",{children:k.jsx("img",{src:e.data.src,alt:"",className:"media rounded-[10px]"})},e.id)}function J1({videoBlock:e}){return k.jsx("div",{children:e.data.src&&k.jsx("video",{autoPlay:!0,muted:!0,controls:!0,className:"rounded-[10px] media",children:k.jsx("source",{src:e.data.src,type:"video/mp4"})})},e.id)}function ey({linkBlock:e,modifyLink:t}){const[n,r]=z.useState(e.data.linkText),[i,a]=z.useState(e.data.url);return z.useEffect(()=>{t({linkBlockId:e.id,linkText:n,url:i})},[n,i,e.id]),k.jsxs("div",{className:"flex",children:[k.jsx("input",{type:"text",placeholder:"Enter link text...",className:"flex-1 border-b link",autoFocus:!0,value:e.data.linkText,onChange:s=>r(s.target.value)}),k.jsx("span",{children:"["}),k.jsx("input",{type:"url",placeholder:"url",className:"flex-1 border-b link",autoFocus:!0,value:e.data.url,onChange:s=>a(s.target.value)}),k.jsx("span",{children:"]"})]})}function ty({linkBlock:e}){return k.jsx("a",{href:e.data.url,className:"link",children:e.data.linkText},e.id)}function ny({codeBlock:e,modifyCode:t}){return k.jsx("textarea",{className:"code",placeholder:"Code block...",autoFocus:!0,value:e.data.code,onChange:n=>t({codeBlockId:e.id,language:e.data.language,code:n.target.value})})}function ry({codeBlock:e}){return k.jsx("pre",{className:"code",children:k.jsx("code",{children:e.data.code})},e.id)}function iy({block:e,modifyHeading:t,modifySubheading:n,modifyParagraph:r,modifyQuote:i,modifyList:a,modifyTable:s,modifyImage:o,modifyVideo:u,modifyLink:d,modifyCode:l}){switch(e.type){case"heading":return k.jsx(C1,{headingBlock:e,modifyHeading:t});case"subheading":return k.jsx(M1,{subheadingBlock:e,modifySubheading:n});case"paragraph":return k.jsx(I1,{paragraphBlock:e,modifyParagraph:r});case"quote":return k.jsx(O1,{quoteBlock:e,modifyQuote:i});case"list":return k.jsx(F1,{listBlock:e,modifyList:a});case"table":return k.jsx(R1,{tableBlock:e,modifyTable:s});case"image":return k.jsx(uc,{mediaBlock:e,modifyMedia:o});case"video":return k.jsx(uc,{mediaBlock:e,modifyMedia:u});case"link":return k.jsx(ey,{linkBlock:e,modifyLink:d});case"code":return k.jsx(ny,{codeBlock:e,modifyCode:l});default:return null}}function xn({text:e,children:t}){return k.jsxs("div",{className:"relative inline-block group",children:[t,k.jsx("span",{className:`absolute bottom-full mb-2 left-1/2 -translate-x-1/2\r
590
+ bg-gray-800 text-white text-xs rounded py-1 px-2 opacity-0 group-hover:opacity-100 group-hover:transition-y-[5px] transition duration-300 whitespace-nowrap z-10`,children:e})]})}const ay=[{id:1,type:"heading",icon:["fas","heading"]},{id:2,type:"subheading",icon:["fas","heading"]},{id:3,type:"paragraph",icon:["fas","paragraph"]},{id:4,type:"quote",icon:["fas","quote-right"]},{id:5,type:"list",icon:["fas","list"]},{id:6,type:"table",icon:["fas","table-list"]},{id:7,type:"image",icon:["far","image"]},{id:8,type:"video",icon:["fas","play"]},{id:9,type:"link",icon:["fas","link"]},{id:10,type:"code",icon:["fas","code"]}];function sy({handleClick:e}){const[t,n]=z.useState(null),r=(i,a)=>{n(i),e(a)};return k.jsx("div",{className:"flex flex-wrap gap-[5px] md:gap-[10px] items-center",children:ay.map(i=>k.jsx(xn,{text:`${i.type}`,children:k.jsxs("div",{className:`flex items-center gap-[10px] h-[40px] p-2 border-2 border-gray-600 cursor-pointer rounded-[10px] text-sm md:text-md ${t===i.id?"text-(--draftify-theme-color)":"text-gray-600"}`,onClick:()=>i.type!=="table"&&r(i.id,i.type),children:[k.jsxs("div",{className:"flex",children:[k.jsx(Ce,{icon:i.icon,onClick:()=>i.type==="table"&&r(i.id,i.type)}),k.jsx("div",{className:"text-xs",children:i.type==="subheading"?"2":""})]}),i.type==="table"&&k.jsx(_1,{handleClick:e,block:i})]})},i.id))})}function cc({blocksData:e}){return e.length!==0&&e.map(t=>{switch(t.type){case"heading":return k.jsx(k1,{headingBlock:t},t.id);case"subheading":return k.jsx(D1,{subheadingBlock:t},t.id);case"paragraph":return k.jsx(j1,{paragraphBlock:t},t.id);case"quote":return k.jsx(L1,{quoteBlock:t},t.id);case"list":return k.jsx(N1,{listBlock:t},t.id);case"table":return k.jsx(V1,{tableBlock:t},t.id);case"image":return k.jsx(Z1,{imageBlock:t},t.id);case"video":return k.jsx(J1,{videoBlock:t},t.id);case"link":return k.jsx(ty,{linkBlock:t},t.id);case"code":return k.jsx(ry,{codeBlock:t},t.id);default:return null}})}function oy({view:e,setView:t,setPromptVisiblility:n,blocksData:r,setPromptAction:i,handleCopy:a}){const[s,o]=z.useState(!1),u=z.useRef(null),d=z.useRef(null);function l(c,f,h){!f||!h||(c==="editor"?h.style.transform="translateX(14px)":h.style.transform="translateX(0)")}return z.useEffect(()=>{setTimeout(()=>{o(!1)},3e3)},[s]),k.jsx("div",{className:"md:h-10",children:k.jsxs("div",{className:"relative grid md:flex items-center text-[12px] italic gap-2.5",children:[k.jsxs("div",{className:"md:flex gap-2.5 items-center font-bold logo-text text-[20px]",children:["DRAFTIFY PRO"," ",k.jsx("div",{className:"underline font-normal text-[12px]",children:"Write. Create. Build your story block by block."})]}),k.jsxs("div",{className:"md:absolute right-0 flex items-center gap-2.5",children:[k.jsx(xn,{text:"e.g. for dev dummy data",children:k.jsxs("button",{className:"border rounded-[10px] bg-(--hovered-draftify-theme-color) text-white hover:font-semibold hover:bg-(--draftify-theme-color) p-1 cursor-pointer",onClick:()=>{i("downloadJSON"),n(!0)},children:["Download JSON ",k.jsx(Ce,{icon:["fas","download"]})]})}),k.jsx(xn,{text:"Download as document",children:k.jsxs("button",{className:"border rounded-[10px] bg-(--hovered-draftify-theme-color) text-white hover:font-semibold hover:bg-(--draftify-theme-color) p-1 cursor-pointer",onClick:()=>{i("exportDocx"),n(!0)},children:["Export .docx ",k.jsx(Ce,{icon:["fas","download"]})]})}),k.jsx(xn,{text:"copy to clipboard",children:k.jsx("button",{className:`p-1 cursor-pointer ${s?"text-green-400":"text-(--hovered-draftify-theme-color)"}`,children:k.jsx(Ce,{icon:["fas",`${s?"check":"copy"}`],onClick:()=>a(r,o)})})}),k.jsxs(xn,{text:"toggle btn editor & preview",children:[k.jsx("div",{ref:u,className:"border w-7.5 h-4 rounded-2xl cursor-pointer duration-300 flex items-center p-0",onClick:()=>{t(c=>c==="editor"?"preview":"editor"),l(e,u.current,d.current)},children:k.jsx("div",{ref:d,className:"w-3 h-3 rounded-xl bg-[#232323] duration-300 flex items-center leading-2 justify-center translate-x-px",children:k.jsx("div",{className:"flex items-center h-full text-white -translate-y-0.5",children:e==="editor"?"e":"p"})})})," "]}),k.jsxs("div",{className:"w-25",children:["viewing ",e]})]})]})})}function ly(){return k.jsx("div",{className:"group flex flex-col justify-center gap-y-[3px] w-[15px] h-full border border-(--draftify-theme-color) hover:border-black rounded-tl-[5px] rounded-bl-[5px] cursor-move",children:[1,2,3].map(e=>k.jsx("div",{className:"w-1 h-1 rounded-2.5 bg-(--draftify-theme-color) group-hover:bg-black self-center"},e))})}function uy({gridDots:e}){return k.jsx("div",{className:"fixed top-0 left-0 w-full h-full -z-1",children:e.map(t=>k.jsx("div",{className:"absolute w-px h-px bg-black","data-x":t.x,"data-y":t.y,style:{left:`${t.x*20}px`,top:`${t.y*20}px`}},t.key))})}function cy({docTitle:e,setDocTitle:t,description:n,setDescription:r,author:i,setAuthor:a,promptAction:s,handlePromptAction:o,setPromptVisiblility:u}){return k.jsxs("div",{className:"doc-metadata-prompt",children:[k.jsxs("div",{className:"flex",children:[k.jsx("div",{className:" flex-1 mb-2.5",children:"Would you like to add metadata before downloading?"}),k.jsx("div",{children:k.jsx(Ce,{icon:["fas","xmark"],className:"cursor-pointer",onClick:()=>u(!1)})})]}),k.jsxs("div",{className:"font-semibold",children:[k.jsxs("div",{children:[k.jsx("div",{children:" document title: (optional)"}),k.jsx("input",{type:"text",className:"w-full border rounded-md p-1",value:e,onChange:d=>t(d.target.value)})]}),k.jsxs("div",{children:[k.jsx("div",{children:"description: (optional)"}),k.jsx("textarea",{name:"description",className:"w-full border rounded-md p-1",value:n,onChange:d=>r(d.target.value)})]}),k.jsxs("div",{children:[k.jsx("div",{children:"author: (optional)"}),k.jsx("input",{type:"text",className:"w-full border rounded-md p-1",value:i,onChange:d=>a(d.target.value)})]})]}),k.jsxs("div",{className:"mt-4 flex gap-2",children:[k.jsx("button",{className:"flex-1 px-4 py-2 bg-gray-300 text-black rounded-md hover:bg-gray-400 cursor-pointer",onClick:()=>o(s,"ignore"),children:"Ignore"}),k.jsx("button",{className:"flex-1 px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 cursor-pointer",onClick:()=>o(s,"add"),children:"Add"})]})]})}function fc({blocksData:e,modifyBlocks:t}){const[n,r]=z.useState({metadata:{},version:"1.0.0",blocks:e}),[i,a]=z.useState(""),[s,o]=z.useState(""),[u,d]=z.useState(""),[l,c]=z.useState([]),[f,h]=z.useState("editor"),[m,b]=z.useState(!1),[A,v]=z.useState("");z.useEffect(()=>{if(!Array.isArray(e))throw new Error("DraftifyReact: blocksData must be an array of DraftifyBlock[]");if(typeof window<"u"&&localStorage.getItem("draftifyDoc")){const M=localStorage.getItem("draftifyDoc"),H=JSON.parse(M);r(H),a(H.metadata?.docTitle||""),o(H.metadata?.description||""),d(H.metadata?.author||""),t(Z.normalizeDocument(H).blocks||Z.normalizeBlock(e))}else t(Z.normalizeBlock(e))},[]),z.useEffect(()=>{(async H=>{const B=await Promise.all(H.map(async G=>{if(G.type==="image"&&G.file){const Q=await Z.imageToBase64(G);return{...G,content:Q,file:void 0}}return G}));localStorage.setItem("draftifyDoc",JSON.stringify({...n,blocks:B}))})(e)},[e,n]),z.useEffect(()=>{const M={docTitle:i||"Untitled",description:s||"",author:u||"Unknown",createdAt:new Date().toISOString()};r(H=>({...H,metadata:M}))},[i,s,u]);const I=(M,H)=>{const B={docTitle:"Untitled Document",description:"",author:"Unknown Author",createdAt:new Date().toISOString()};M==="downloadJSON"?Z.handleDownloadJSON(H==="add"?n:{...n,metadata:B}):M==="exportDocx"&&Z.exportBlocksToDocx(H==="add"?n:{...n,metadata:B}),b(!1)},T=(M,H)=>{switch(M){case"heading":t(B=>[...B,Z.createHeadingBlock()]);break;case"subheading":t(B=>[...B,Z.createSubheadingBlock()]);break;case"paragraph":t(B=>[...B,Z.createParagraphBlock()]);break;case"quote":t(B=>[...B,Z.createQuoteBlock()]);break;case"list":t(B=>[...B,Z.createListBlock()]);break;case"table":t(B=>[...B,Z.createTableBlock(H)]);break;case"image":t(B=>[...B,Z.createImageBlock()]);break;case"video":t(B=>[...B,Z.createVideoBlock()]);break;case"link":t(B=>[...B,Z.createLinkBlock()]);break;case"code":t(B=>[...B,Z.createCodeBlock()]);break}},C=({headingBlockId:M,newContent:H,level:B})=>{t(G=>Z.modifyHeadingBlock(G,M,H,B))},P=({subheadingBlockId:M,newContent:H})=>{t(B=>Z.modifySubheadingBlock(B,M,H))},w=({paragraphBlockId:M,newContent:H})=>{t(B=>Z.modifyParagraphBlock(B,M,H))},L=({quoteBlockId:M,newContent:H,author:B})=>{t(G=>Z.modifyQuoteBlock(G,M,H,B))},p=({listBlockId:M,listStyle:H,items:B})=>{t(G=>Z.modifyListBlock(G,M,H,B))},y=({tableBlockId:M,tableContent:H})=>{t(B=>Z.modifyTableBlock(B,M,H))},S=({imageBlockId:M,src:H,alt:B,caption:G})=>{t(Q=>Z.modifyImageBlock(Q,M,H,B,G))},D=({videoBlockId:M,src:H,provider:B})=>{t(G=>Z.modifyVideoBlock(G,M,H,B))},j=({linkBlockId:M,linkText:H,url:B})=>{t(G=>Z.modifyLinkBlock(G,M,H,B))},F=({codeBlockId:M,language:H,code:B})=>{t(G=>Z.modifyCodeBlock(G,M,H,B))},E=M=>{const H=e.find(B=>B.id===M);(H.type==="image"||H.type==="video")&&H.data.src!==""||t(B=>B.filter(G=>G.id!==M))},R=(M,H)=>{t(B=>{const G=[...B],[Q]=G.splice(M,1);return G.splice(H,0,Q),G})},x=(M,H)=>{M.preventDefault(),M.currentTarget.classList.remove("bg-gray-100");const B=parseInt(M.dataTransfer.getData("text/plain")),G=H;B!==G&&R(B,G)},g=(M,H)=>{M.dataTransfer.setData("text/plain",H),M.currentTarget.style.opacity="0.5"},V=M=>{M.currentTarget.style.opacity="1"},O=M=>{M.currentTarget.classList.add("bg-gray-100")},U=M=>{M.currentTarget.classList.remove("bg-gray-100")},N={show:{transition:{staggerChildren:.07}}},_={hidden:{opacity:0,y:20},show:{opacity:1,y:0},exit:{opacity:0,y:-20}},W={type:"spring",stiffness:300,damping:20},$={scale:1.02,backgroundColor:"rgba(243, 244, 246, 0.8)"};return{view:f,setView:h,gridDots:l,setGridDots:c,docTitle:i,setDocTitle:a,description:s,setDescription:o,author:u,setAuthor:d,handleCopy:Z.handleCopy,handlePromptAction:I,promptAction:A,setPromptAction:v,promptVisibility:m,setPromptVisiblility:b,blocksData:e,handleClick:T,modifyHeading:C,modifySubheading:P,modifyParagraph:w,modifyQuote:L,modifyList:p,modifyTable:y,modifyImage:S,modifyVideo:D,modifyLink:j,modifyCode:F,onDropHandler:x,onDragStart:g,onDragEnd:V,onDragEnter:O,onDragLeave:U,containerVariants:N,itemVariants:_,transitions:W,whileHover:$,handleDelete:E}}function fy(e){z.useEffect(()=>{function t(){const r=Math.ceil(window.innerWidth/20),i=Math.ceil(document.documentElement.scrollHeight/20),a=[];for(let s=0;s<i;s++)for(let o=0;o<r;o++)a.push({x:o,y:s,key:`${o}-${s}`});e(a)}return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[e])}var dy={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z"]},hy={prefix:"fas",iconName:"code",icon:[576,512,[],"f121","M360.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z"]},my={prefix:"fas",iconName:"arrow-up-from-bracket",icon:[448,512,[],"e09a","M246.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 109.3 192 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128zM64 352c0-17.7-14.3-32-32-32S0 334.3 0 352l0 64c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-64z"]},py={prefix:"fas",iconName:"table-list",icon:[448,512,["th-list"],"f00b","M0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm64 0l0 64 64 0 0-64-64 0zm320 0l-192 0 0 64 192 0 0-64zM64 224l0 64 64 0 0-64-64 0zm320 0l-192 0 0 64 192 0 0-64zM64 352l0 64 64 0 0-64-64 0zm320 0l-192 0 0 64 192 0 0-64z"]},gy={prefix:"fas",iconName:"link",icon:[576,512,[128279,"chain"],"f0c1","M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z"]},yy={prefix:"fas",iconName:"paragraph",icon:[448,512,[182],"f1dd","M160 0L416 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0 0 416c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-416-48 0 0 416c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-160-48 0C71.6 320 0 248.4 0 160S71.6 0 160 0z"]},vy={prefix:"fas",iconName:"play",icon:[448,512,[9654],"f04b","M91.2 36.9c-12.4-6.8-27.4-6.5-39.6 .7S32 57.9 32 72l0 368c0 14.1 7.5 27.2 19.6 34.4s27.2 7.5 39.6 .7l336-184c12.8-7 20.8-20.5 20.8-35.1s-8-28.1-20.8-35.1l-336-184z"]},by={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z"]},xy={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]},wy={prefix:"fas",iconName:"quote-right",icon:[448,512,[8221,"quote-right-alt"],"f10e","M448 296c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 136zm-256 0c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 136z"]},Ay={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM16 232l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0z"]},Sy={prefix:"fas",iconName:"angle-down",icon:[384,512,[8964],"f107","M169.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 306.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},Ty={prefix:"fas",iconName:"heading",icon:[448,512,["header"],"f1dc","M0 64C0 46.3 14.3 32 32 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 112 224 0 0-112-16 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 320 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-144-224 0 0 144 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-320-16 0C14.3 96 0 81.7 0 64z"]},Py={prefix:"fas",iconName:"download",icon:[448,512,[],"f019","M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},Ey={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z"]},Cy={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M65.9 228.5c13.3-93 93.4-164.5 190.1-164.5 53 0 101 21.5 135.8 56.2 .2 .2 .4 .4 .6 .6l7.6 7.2-47.9 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 53.4-11.3-10.7C390.5 28.6 326.5 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1zm443.5 64c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-53 0-101-21.5-135.8-56.2-.2-.2-.4-.4-.6-.6l-7.6-7.2 47.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 320c-8.5 0-16.7 3.4-22.7 9.5S-.1 343.7 0 352.3l1 127c.1 17.7 14.6 31.9 32.3 31.7S65.2 496.4 65 478.7l-.4-51.5 10.7 10.1c46.3 46.1 110.2 74.7 180.7 74.7 129 0 235.7-95.4 253.4-219.5z"]},ky=Cy;var My={prefix:"far",iconName:"image",icon:[448,512,[],"f03e","M64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm128 32a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm136 72c8.5 0 16.4 4.5 20.7 11.8l80 136c4.4 7.4 4.4 16.6 .1 24.1S352.6 384 344 384l-240 0c-8.9 0-17.2-5-21.3-12.9s-3.5-17.5 1.6-24.8l56-80c4.5-6.4 11.8-10.2 19.7-10.2s15.2 3.8 19.7 10.2l17.2 24.6 46.5-79c4.3-7.3 12.2-11.8 20.7-11.8z"]};u1.add(Ty,yy,py,Ay,gy,hy,My,wy,vy,Sy,xy,my,dy,Py,ky,Ey,by);function dc({blocksData:e,modifyBlocks:t}){const{view:n,setView:r,gridDots:i,setGridDots:a,docTitle:s,setDocTitle:o,description:u,setDescription:d,author:l,setAuthor:c,handleCopy:f,handlePromptAction:h,promptAction:m,setPromptAction:b,promptVisibility:A,setPromptVisiblility:v,handleClick:I,modifyHeading:T,modifySubheading:C,modifyParagraph:P,modifyQuote:w,modifyList:L,modifyTable:p,modifyImage:y,modifyVideo:S,modifyLink:D,modifyCode:j,onDropHandler:F,onDragStart:E,onDragEnd:R,onDragEnter:x,onDragLeave:g,containerVariants:V,itemVariants:O,transitions:U,whileHover:N,handleDelete:_}=fc({blocksData:e,modifyBlocks:t});return fy(a),k.jsxs(k.Fragment,{children:[k.jsx(uy,{gridDots:i}),k.jsxs("div",{className:"draftify-container",children:[k.jsx(oy,{view:n,setView:r,blocksData:e,setPromptAction:b,setPromptVisiblility:v,handleCopy:f}),A&&k.jsx(cy,{docTitle:s,setDocTitle:o,description:u,setDescription:d,author:l,setAuthor:c,promptAction:m,handlePromptAction:h,setPromptVisiblility:v}),n==="editor"&&k.jsxs(k.Fragment,{children:[k.jsx(sy,{handleClick:I}),k.jsx("div",{className:"editor-area",onSubmit:W=>W.preventDefault(),children:k.jsx(ul.div,{className:"grid gap-2.5",variants:V,animate:"show",exit:"hidden",children:k.jsx(wd,{children:e.map((W,$)=>k.jsxs(ul.div,{layout:!0,variants:O,transition:U,whileHover:N,draggable:!0,onDragStart:M=>E(M,$),onDragEnd:M=>R(M),onDragOver:M=>M.preventDefault(),onDragEnter:M=>x(M),onDragLeave:M=>g(M),onDrop:M=>F(M,$),className:"block-container",children:[k.jsx(ly,{}),k.jsx(iy,{block:W,modifyHeading:T,modifySubheading:C,modifyParagraph:P,modifyQuote:w,modifyList:L,modifyTable:p,modifyImage:y,modifyVideo:S,modifyLink:D,modifyCode:j}),k.jsx(Ce,{icon:["fas","trash"],className:"cursor-pointer hover:text-red-500",onClick:()=>_(W.id)})]},W.id))})})})]}),n==="preview"&&k.jsx("div",{className:"output-area",onSubmit:W=>W.preventDefault(),children:k.jsx(cc,{blocksData:e})})]})]})}Ne.DraftifyReact=dc,Ne.Reader=cc,Ne.default=dc,Ne.useDraftifyReact=fc,Object.defineProperties(Ne,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));