@sgrsoft/vpe-react-sdk 0.1.0 → 0.1.1

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,12 +1,12 @@
1
- (function(xn,Hi){typeof exports=="object"&&typeof module<"u"?Hi(exports):typeof define=="function"&&define.amd?define(["exports"],Hi):(xn=typeof globalThis<"u"?globalThis:xn||self,Hi(xn.VpeReactSdk={}))})(this,(function(xn){"use strict";function Hi(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Ru={exports:{}},ji={};var M0;function I8(){if(M0)return ji;M0=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function u(r,c,h){var d=null;if(h!==void 0&&(d=""+h),c.key!==void 0&&(d=""+c.key),"key"in c){h={};for(var g in c)g!=="key"&&(h[g]=c[g])}else h=c;return c=h.ref,{$$typeof:a,type:r,key:d,ref:c!==void 0?c:null,props:h}}return ji.Fragment=i,ji.jsx=u,ji.jsxs=u,ji}var x0;function t4(){return x0||(x0=1,Ru.exports=I8()),Ru.exports}var A=t4(),Hu={exports:{}},Oi={},ju={exports:{}},Ou={};var V0;function e4(){return V0||(V0=1,(function(a){function i(F,N){var X=F.length;F.push(N);t:for(;0<X;){var ot=X-1>>>1,bt=F[ot];if(0<c(bt,N))F[ot]=N,F[X]=bt,X=ot;else break t}}function u(F){return F.length===0?null:F[0]}function r(F){if(F.length===0)return null;var N=F[0],X=F.pop();if(X!==N){F[0]=X;t:for(var ot=0,bt=F.length,Wt=bt>>>1;ot<Wt;){var x=2*(ot+1)-1,G=F[x],P=x+1,tt=F[P];if(0>c(G,X))P<bt&&0>c(tt,G)?(F[ot]=tt,F[P]=X,ot=P):(F[ot]=G,F[x]=X,ot=x);else if(P<bt&&0>c(tt,X))F[ot]=tt,F[P]=X,ot=P;else break t}}return N}function c(F,N){var X=F.sortIndex-N.sortIndex;return X!==0?X:F.id-N.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;a.unstable_now=function(){return h.now()}}else{var d=Date,g=d.now();a.unstable_now=function(){return d.now()-g}}var p=[],y=[],v=1,b=null,E=3,L=!1,O=!1,B=!1,U=!1,j=typeof setTimeout=="function"?setTimeout:null,Y=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null;function q(F){for(var N=u(y);N!==null;){if(N.callback===null)r(y);else if(N.startTime<=F)r(y),N.sortIndex=N.expirationTime,i(p,N);else break;N=u(y)}}function z(F){if(B=!1,q(F),!O)if(u(p)!==null)O=!0,k||(k=!0,$());else{var N=u(y);N!==null&&mt(z,N.startTime-F)}}var k=!1,J=-1,K=5,I=-1;function at(){return U?!0:!(a.unstable_now()-I<K)}function Rt(){if(U=!1,k){var F=a.unstable_now();I=F;var N=!0;try{t:{O=!1,B&&(B=!1,Y(J),J=-1),L=!0;var X=E;try{e:{for(q(F),b=u(p);b!==null&&!(b.expirationTime>F&&at());){var ot=b.callback;if(typeof ot=="function"){b.callback=null,E=b.priorityLevel;var bt=ot(b.expirationTime<=F);if(F=a.unstable_now(),typeof bt=="function"){b.callback=bt,q(F),N=!0;break e}b===u(p)&&r(p),q(F)}else r(p);b=u(p)}if(b!==null)N=!0;else{var Wt=u(y);Wt!==null&&mt(z,Wt.startTime-F),N=!1}}break t}finally{b=null,E=X,L=!1}N=void 0}}finally{N?$():k=!1}}}var $;if(typeof Q=="function")$=function(){Q(Rt)};else if(typeof MessageChannel<"u"){var ct=new MessageChannel,Mt=ct.port2;ct.port1.onmessage=Rt,$=function(){Mt.postMessage(null)}}else $=function(){j(Rt,0)};function mt(F,N){J=j(function(){F(a.unstable_now())},N)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(F){F.callback=null},a.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<F?Math.floor(1e3/F):5},a.unstable_getCurrentPriorityLevel=function(){return E},a.unstable_next=function(F){switch(E){case 1:case 2:case 3:var N=3;break;default:N=E}var X=E;E=N;try{return F()}finally{E=X}},a.unstable_requestPaint=function(){U=!0},a.unstable_runWithPriority=function(F,N){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var X=E;E=F;try{return N()}finally{E=X}},a.unstable_scheduleCallback=function(F,N,X){var ot=a.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?ot+X:ot):X=ot,F){case 1:var bt=-1;break;case 2:bt=250;break;case 5:bt=1073741823;break;case 4:bt=1e4;break;default:bt=5e3}return bt=X+bt,F={id:v++,callback:N,priorityLevel:F,startTime:X,expirationTime:bt,sortIndex:-1},X>ot?(F.sortIndex=X,i(y,F),u(p)===null&&F===u(y)&&(B?(Y(J),J=-1):B=!0,mt(z,X-ot))):(F.sortIndex=bt,i(p,F),O||L||(O=!0,k||(k=!0,$()))),F},a.unstable_shouldYield=at,a.unstable_wrapCallback=function(F){var N=E;return function(){var X=E;E=N;try{return F.apply(this,arguments)}finally{E=X}}}})(Ou)),Ou}var L0;function n4(){return L0||(L0=1,ju.exports=e4()),ju.exports}var zu={exports:{}},rt={},C0;function a4(){if(C0)return rt;C0=1;var a={};var i=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),g=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),L=Symbol.iterator;function O(x){return x===null||typeof x!="object"?null:(x=L&&x[L]||x["@@iterator"],typeof x=="function"?x:null)}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,j={};function Y(x,G,P){this.props=x,this.context=G,this.refs=j,this.updater=P||B}Y.prototype.isReactComponent={},Y.prototype.setState=function(x,G){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,G,"setState")},Y.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function Q(){}Q.prototype=Y.prototype;function q(x,G,P){this.props=x,this.context=G,this.refs=j,this.updater=P||B}var z=q.prototype=new Q;z.constructor=q,U(z,Y.prototype),z.isPureReactComponent=!0;var k=Array.isArray;function J(){}var K={H:null,A:null,T:null,S:null},I=Object.prototype.hasOwnProperty;function at(x,G,P){var tt=P.ref;return{$$typeof:i,type:x,key:G,ref:tt!==void 0?tt:null,props:P}}function Rt(x,G){return at(x.type,G,x.props)}function $(x){return typeof x=="object"&&x!==null&&x.$$typeof===i}function ct(x){var G={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(P){return G[P]})}var Mt=/\/+/g;function mt(x,G){return typeof x=="object"&&x!==null&&x.key!=null?ct(""+x.key):G.toString(36)}function F(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(J,J):(x.status="pending",x.then(function(G){x.status==="pending"&&(x.status="fulfilled",x.value=G)},function(G){x.status==="pending"&&(x.status="rejected",x.reason=G)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function N(x,G,P,tt,ut){var lt=typeof x;(lt==="undefined"||lt==="boolean")&&(x=null);var ht=!1;if(x===null)ht=!0;else switch(lt){case"bigint":case"string":case"number":ht=!0;break;case"object":switch(x.$$typeof){case i:case u:ht=!0;break;case b:return ht=x._init,N(ht(x._payload),G,P,tt,ut)}}if(ht)return ut=ut(x),ht=tt===""?"."+mt(x,0):tt,k(ut)?(P="",ht!=null&&(P=ht.replace(Mt,"$&/")+"/"),N(ut,G,P,"",function(On){return On})):ut!=null&&($(ut)&&(ut=Rt(ut,P+(ut.key==null||x&&x.key===ut.key?"":(""+ut.key).replace(Mt,"$&/")+"/")+ht)),G.push(ut)),1;ht=0;var Jt=tt===""?".":tt+":";if(k(x))for(var Bt=0;Bt<x.length;Bt++)tt=x[Bt],lt=Jt+mt(tt,Bt),ht+=N(tt,G,P,lt,ut);else if(Bt=O(x),typeof Bt=="function")for(x=Bt.call(x),Bt=0;!(tt=x.next()).done;)tt=tt.value,lt=Jt+mt(tt,Bt++),ht+=N(tt,G,P,lt,ut);else if(lt==="object"){if(typeof x.then=="function")return N(F(x),G,P,tt,ut);throw G=String(x),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return ht}function X(x,G,P){if(x==null)return x;var tt=[],ut=0;return N(x,tt,"","",function(lt){return G.call(P,lt,ut++)}),tt}function ot(x){if(x._status===-1){var G=x._result;G=G(),G.then(function(P){(x._status===0||x._status===-1)&&(x._status=1,x._result=P)},function(P){(x._status===0||x._status===-1)&&(x._status=2,x._result=P)}),x._status===-1&&(x._status=0,x._result=G)}if(x._status===1)return x._result.default;throw x._result}var bt=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(G))return}else if(typeof a=="object"&&typeof a.emit=="function"){a.emit("uncaughtException",x);return}console.error(x)},Wt={map:X,forEach:function(x,G,P){X(x,function(){G.apply(this,arguments)},P)},count:function(x){var G=0;return X(x,function(){G++}),G},toArray:function(x){return X(x,function(G){return G})||[]},only:function(x){if(!$(x))throw Error("React.Children.only expected to receive a single React element child.");return x}};return rt.Activity=E,rt.Children=Wt,rt.Component=Y,rt.Fragment=r,rt.Profiler=h,rt.PureComponent=q,rt.StrictMode=c,rt.Suspense=y,rt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,rt.__COMPILER_RUNTIME={__proto__:null,c:function(x){return K.H.useMemoCache(x)}},rt.cache=function(x){return function(){return x.apply(null,arguments)}},rt.cacheSignal=function(){return null},rt.cloneElement=function(x,G,P){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var tt=U({},x.props),ut=x.key;if(G!=null)for(lt in G.key!==void 0&&(ut=""+G.key),G)!I.call(G,lt)||lt==="key"||lt==="__self"||lt==="__source"||lt==="ref"&&G.ref===void 0||(tt[lt]=G[lt]);var lt=arguments.length-2;if(lt===1)tt.children=P;else if(1<lt){for(var ht=Array(lt),Jt=0;Jt<lt;Jt++)ht[Jt]=arguments[Jt+2];tt.children=ht}return at(x.type,ut,tt)},rt.createContext=function(x){return x={$$typeof:g,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:d,_context:x},x},rt.createElement=function(x,G,P){var tt,ut={},lt=null;if(G!=null)for(tt in G.key!==void 0&&(lt=""+G.key),G)I.call(G,tt)&&tt!=="key"&&tt!=="__self"&&tt!=="__source"&&(ut[tt]=G[tt]);var ht=arguments.length-2;if(ht===1)ut.children=P;else if(1<ht){for(var Jt=Array(ht),Bt=0;Bt<ht;Bt++)Jt[Bt]=arguments[Bt+2];ut.children=Jt}if(x&&x.defaultProps)for(tt in ht=x.defaultProps,ht)ut[tt]===void 0&&(ut[tt]=ht[tt]);return at(x,lt,ut)},rt.createRef=function(){return{current:null}},rt.forwardRef=function(x){return{$$typeof:p,render:x}},rt.isValidElement=$,rt.lazy=function(x){return{$$typeof:b,_payload:{_status:-1,_result:x},_init:ot}},rt.memo=function(x,G){return{$$typeof:v,type:x,compare:G===void 0?null:G}},rt.startTransition=function(x){var G=K.T,P={};K.T=P;try{var tt=x(),ut=K.S;ut!==null&&ut(P,tt),typeof tt=="object"&&tt!==null&&typeof tt.then=="function"&&tt.then(J,bt)}catch(lt){bt(lt)}finally{G!==null&&P.types!==null&&(G.types=P.types),K.T=G}},rt.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},rt.use=function(x){return K.H.use(x)},rt.useActionState=function(x,G,P){return K.H.useActionState(x,G,P)},rt.useCallback=function(x,G){return K.H.useCallback(x,G)},rt.useContext=function(x){return K.H.useContext(x)},rt.useDebugValue=function(){},rt.useDeferredValue=function(x,G){return K.H.useDeferredValue(x,G)},rt.useEffect=function(x,G){return K.H.useEffect(x,G)},rt.useEffectEvent=function(x){return K.H.useEffectEvent(x)},rt.useId=function(){return K.H.useId()},rt.useImperativeHandle=function(x,G,P){return K.H.useImperativeHandle(x,G,P)},rt.useInsertionEffect=function(x,G){return K.H.useInsertionEffect(x,G)},rt.useLayoutEffect=function(x,G){return K.H.useLayoutEffect(x,G)},rt.useMemo=function(x,G){return K.H.useMemo(x,G)},rt.useOptimistic=function(x,G){return K.H.useOptimistic(x,G)},rt.useReducer=function(x,G,P){return K.H.useReducer(x,G,P)},rt.useRef=function(x){return K.H.useRef(x)},rt.useState=function(x){return K.H.useState(x)},rt.useSyncExternalStore=function(x,G,P){return K.H.useSyncExternalStore(x,G,P)},rt.useTransition=function(){return K.H.useTransition()},rt.version="19.2.1",rt}var D0;function Bu(){return D0||(D0=1,zu.exports=a4()),zu.exports}var wu={exports:{}},ue={};var R0;function i4(){if(R0)return ue;R0=1;var a=Bu();function i(p){var y="https://react.dev/errors/"+p;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)y+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+p+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var r={d:{f:u,r:function(){throw Error(i(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},c=Symbol.for("react.portal");function h(p,y,v){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:b==null?null:""+b,children:p,containerInfo:y,implementation:v}}var d=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(p,y){if(p==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return ue.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ue.createPortal=function(p,y){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(i(299));return h(p,y,null,v)},ue.flushSync=function(p){var y=d.T,v=r.p;try{if(d.T=null,r.p=2,p)return p()}finally{d.T=y,r.p=v,r.d.f()}},ue.preconnect=function(p,y){typeof p=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,r.d.C(p,y))},ue.prefetchDNS=function(p){typeof p=="string"&&r.d.D(p)},ue.preinit=function(p,y){if(typeof p=="string"&&y&&typeof y.as=="string"){var v=y.as,b=g(v,y.crossOrigin),E=typeof y.integrity=="string"?y.integrity:void 0,L=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;v==="style"?r.d.S(p,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:b,integrity:E,fetchPriority:L}):v==="script"&&r.d.X(p,{crossOrigin:b,integrity:E,fetchPriority:L,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},ue.preinitModule=function(p,y){if(typeof p=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var v=g(y.as,y.crossOrigin);r.d.M(p,{crossOrigin:v,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&r.d.M(p)},ue.preload=function(p,y){if(typeof p=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var v=y.as,b=g(v,y.crossOrigin);r.d.L(p,v,{crossOrigin:b,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},ue.preloadModule=function(p,y){if(typeof p=="string")if(y){var v=g(y.as,y.crossOrigin);r.d.m(p,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:v,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else r.d.m(p)},ue.requestFormReset=function(p){r.d.r(p)},ue.unstable_batchedUpdates=function(p,y){return p(y)},ue.useFormState=function(p,y,v){return d.H.useFormState(p,y,v)},ue.useFormStatus=function(){return d.H.useHostTransitionStatus()},ue.version="19.2.1",ue}var H0;function l4(){if(H0)return wu.exports;H0=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),wu.exports=i4(),wu.exports}var j0;function s4(){if(j0)return Oi;j0=1;var a={};var i=n4(),u=Bu(),r=l4();function c(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function h(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function d(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function g(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 p(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 y(t){if(d(t)!==t)throw Error(c(188))}function v(t){var e=t.alternate;if(!e){if(e=d(t),e===null)throw Error(c(188));return e!==t?null:t}for(var n=t,l=e;;){var s=n.return;if(s===null)break;var o=s.alternate;if(o===null){if(l=s.return,l!==null){n=l;continue}break}if(s.child===o.child){for(o=s.child;o;){if(o===n)return y(s),t;if(o===l)return y(s),e;o=o.sibling}throw Error(c(188))}if(n.return!==l.return)n=s,l=o;else{for(var m=!1,S=s.child;S;){if(S===n){m=!0,n=s,l=o;break}if(S===l){m=!0,l=s,n=o;break}S=S.sibling}if(!m){for(S=o.child;S;){if(S===n){m=!0,n=o,l=s;break}if(S===l){m=!0,l=o,n=s;break}S=S.sibling}if(!m)throw Error(c(189))}}if(n.alternate!==l)throw Error(c(190))}if(n.tag!==3)throw Error(c(188));return n.stateNode.current===n?t:e}function b(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=b(t),e!==null)return e;t=t.sibling}return null}var E=Object.assign,L=Symbol.for("react.element"),O=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),Q=Symbol.for("react.consumer"),q=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),at=Symbol.for("react.activity"),Rt=Symbol.for("react.memo_cache_sentinel"),$=Symbol.iterator;function ct(t){return t===null||typeof t!="object"?null:(t=$&&t[$]||t["@@iterator"],typeof t=="function"?t:null)}var Mt=Symbol.for("react.client.reference");function mt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Mt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case U:return"Fragment";case Y:return"Profiler";case j:return"StrictMode";case k:return"Suspense";case J:return"SuspenseList";case at:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case B:return"Portal";case q:return t.displayName||"Context";case Q:return(t._context.displayName||"Context")+".Consumer";case z:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case K:return e=t.displayName||null,e!==null?e:mt(t.type)||"Memo";case I:e=t._payload,t=t._init;try{return mt(t(e))}catch{}}return null}var F=Array.isArray,N=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ot={pending:!1,data:null,method:null,action:null},bt=[],Wt=-1;function x(t){return{current:t}}function G(t){0>Wt||(t.current=bt[Wt],bt[Wt]=null,Wt--)}function P(t,e){Wt++,bt[Wt]=t.current,t.current=e}var tt=x(null),ut=x(null),lt=x(null),ht=x(null);function Jt(t,e){switch(P(lt,e),P(ut,t),P(tt,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?A8(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=A8(e),t=T8(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}G(tt),P(tt,t)}function Bt(){G(tt),G(ut),G(lt)}function On(t){t.memoizedState!==null&&P(ht,t);var e=tt.current,n=T8(e,t.type);e!==n&&(P(ut,t),P(tt,n))}function zn(t){ut.current===t&&(G(tt),G(ut)),ht.current===t&&(G(ht),Gl._currentValue=ot)}var Ka,$i;function sn(t){if(Ka===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Ka=e&&e[1]||"",$i=-1<n.stack.indexOf(`
1
+ (function(xn,Hi){typeof exports=="object"&&typeof module<"u"?Hi(exports):typeof define=="function"&&define.amd?define(["exports"],Hi):(xn=typeof globalThis<"u"?globalThis:xn||self,Hi(xn.VpeReactSdk={}))})(this,(function(xn){"use strict";function Hi(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Ru={exports:{}},ji={};var M0;function I8(){if(M0)return ji;M0=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function u(r,c,h){var d=null;if(h!==void 0&&(d=""+h),c.key!==void 0&&(d=""+c.key),"key"in c){h={};for(var g in c)g!=="key"&&(h[g]=c[g])}else h=c;return c=h.ref,{$$typeof:a,type:r,key:d,ref:c!==void 0?c:null,props:h}}return ji.Fragment=i,ji.jsx=u,ji.jsxs=u,ji}var x0;function tp(){return x0||(x0=1,Ru.exports=I8()),Ru.exports}var A=tp(),Hu={exports:{}},Oi={},ju={exports:{}},Ou={};var V0;function ep(){return V0||(V0=1,(function(a){function i(F,N){var X=F.length;F.push(N);t:for(;0<X;){var ot=X-1>>>1,bt=F[ot];if(0<c(bt,N))F[ot]=N,F[X]=bt,X=ot;else break t}}function u(F){return F.length===0?null:F[0]}function r(F){if(F.length===0)return null;var N=F[0],X=F.pop();if(X!==N){F[0]=X;t:for(var ot=0,bt=F.length,Wt=bt>>>1;ot<Wt;){var x=2*(ot+1)-1,G=F[x],P=x+1,tt=F[P];if(0>c(G,X))P<bt&&0>c(tt,G)?(F[ot]=tt,F[P]=X,ot=P):(F[ot]=G,F[x]=X,ot=x);else if(P<bt&&0>c(tt,X))F[ot]=tt,F[P]=X,ot=P;else break t}}return N}function c(F,N){var X=F.sortIndex-N.sortIndex;return X!==0?X:F.id-N.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;a.unstable_now=function(){return h.now()}}else{var d=Date,g=d.now();a.unstable_now=function(){return d.now()-g}}var p=[],y=[],v=1,b=null,E=3,L=!1,O=!1,B=!1,U=!1,H=typeof setTimeout=="function"?setTimeout:null,Y=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null;function q(F){for(var N=u(y);N!==null;){if(N.callback===null)r(y);else if(N.startTime<=F)r(y),N.sortIndex=N.expirationTime,i(p,N);else break;N=u(y)}}function z(F){if(B=!1,q(F),!O)if(u(p)!==null)O=!0,k||(k=!0,$());else{var N=u(y);N!==null&&mt(z,N.startTime-F)}}var k=!1,J=-1,K=5,I=-1;function at(){return U?!0:!(a.unstable_now()-I<K)}function Rt(){if(U=!1,k){var F=a.unstable_now();I=F;var N=!0;try{t:{O=!1,B&&(B=!1,Y(J),J=-1),L=!0;var X=E;try{e:{for(q(F),b=u(p);b!==null&&!(b.expirationTime>F&&at());){var ot=b.callback;if(typeof ot=="function"){b.callback=null,E=b.priorityLevel;var bt=ot(b.expirationTime<=F);if(F=a.unstable_now(),typeof bt=="function"){b.callback=bt,q(F),N=!0;break e}b===u(p)&&r(p),q(F)}else r(p);b=u(p)}if(b!==null)N=!0;else{var Wt=u(y);Wt!==null&&mt(z,Wt.startTime-F),N=!1}}break t}finally{b=null,E=X,L=!1}N=void 0}}finally{N?$():k=!1}}}var $;if(typeof Q=="function")$=function(){Q(Rt)};else if(typeof MessageChannel<"u"){var ct=new MessageChannel,Mt=ct.port2;ct.port1.onmessage=Rt,$=function(){Mt.postMessage(null)}}else $=function(){H(Rt,0)};function mt(F,N){J=H(function(){F(a.unstable_now())},N)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(F){F.callback=null},a.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<F?Math.floor(1e3/F):5},a.unstable_getCurrentPriorityLevel=function(){return E},a.unstable_next=function(F){switch(E){case 1:case 2:case 3:var N=3;break;default:N=E}var X=E;E=N;try{return F()}finally{E=X}},a.unstable_requestPaint=function(){U=!0},a.unstable_runWithPriority=function(F,N){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var X=E;E=F;try{return N()}finally{E=X}},a.unstable_scheduleCallback=function(F,N,X){var ot=a.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?ot+X:ot):X=ot,F){case 1:var bt=-1;break;case 2:bt=250;break;case 5:bt=1073741823;break;case 4:bt=1e4;break;default:bt=5e3}return bt=X+bt,F={id:v++,callback:N,priorityLevel:F,startTime:X,expirationTime:bt,sortIndex:-1},X>ot?(F.sortIndex=X,i(y,F),u(p)===null&&F===u(y)&&(B?(Y(J),J=-1):B=!0,mt(z,X-ot))):(F.sortIndex=bt,i(p,F),O||L||(O=!0,k||(k=!0,$()))),F},a.unstable_shouldYield=at,a.unstable_wrapCallback=function(F){var N=E;return function(){var X=E;E=N;try{return F.apply(this,arguments)}finally{E=X}}}})(Ou)),Ou}var L0;function np(){return L0||(L0=1,ju.exports=ep()),ju.exports}var zu={exports:{}},rt={},C0;function ap(){if(C0)return rt;C0=1;var a={};var i=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),g=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),L=Symbol.iterator;function O(x){return x===null||typeof x!="object"?null:(x=L&&x[L]||x["@@iterator"],typeof x=="function"?x:null)}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,H={};function Y(x,G,P){this.props=x,this.context=G,this.refs=H,this.updater=P||B}Y.prototype.isReactComponent={},Y.prototype.setState=function(x,G){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,G,"setState")},Y.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function Q(){}Q.prototype=Y.prototype;function q(x,G,P){this.props=x,this.context=G,this.refs=H,this.updater=P||B}var z=q.prototype=new Q;z.constructor=q,U(z,Y.prototype),z.isPureReactComponent=!0;var k=Array.isArray;function J(){}var K={H:null,A:null,T:null,S:null},I=Object.prototype.hasOwnProperty;function at(x,G,P){var tt=P.ref;return{$$typeof:i,type:x,key:G,ref:tt!==void 0?tt:null,props:P}}function Rt(x,G){return at(x.type,G,x.props)}function $(x){return typeof x=="object"&&x!==null&&x.$$typeof===i}function ct(x){var G={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(P){return G[P]})}var Mt=/\/+/g;function mt(x,G){return typeof x=="object"&&x!==null&&x.key!=null?ct(""+x.key):G.toString(36)}function F(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(J,J):(x.status="pending",x.then(function(G){x.status==="pending"&&(x.status="fulfilled",x.value=G)},function(G){x.status==="pending"&&(x.status="rejected",x.reason=G)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function N(x,G,P,tt,ut){var lt=typeof x;(lt==="undefined"||lt==="boolean")&&(x=null);var ht=!1;if(x===null)ht=!0;else switch(lt){case"bigint":case"string":case"number":ht=!0;break;case"object":switch(x.$$typeof){case i:case u:ht=!0;break;case b:return ht=x._init,N(ht(x._payload),G,P,tt,ut)}}if(ht)return ut=ut(x),ht=tt===""?"."+mt(x,0):tt,k(ut)?(P="",ht!=null&&(P=ht.replace(Mt,"$&/")+"/"),N(ut,G,P,"",function(jn){return jn})):ut!=null&&($(ut)&&(ut=Rt(ut,P+(ut.key==null||x&&x.key===ut.key?"":(""+ut.key).replace(Mt,"$&/")+"/")+ht)),G.push(ut)),1;ht=0;var Jt=tt===""?".":tt+":";if(k(x))for(var Bt=0;Bt<x.length;Bt++)tt=x[Bt],lt=Jt+mt(tt,Bt),ht+=N(tt,G,P,lt,ut);else if(Bt=O(x),typeof Bt=="function")for(x=Bt.call(x),Bt=0;!(tt=x.next()).done;)tt=tt.value,lt=Jt+mt(tt,Bt++),ht+=N(tt,G,P,lt,ut);else if(lt==="object"){if(typeof x.then=="function")return N(F(x),G,P,tt,ut);throw G=String(x),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return ht}function X(x,G,P){if(x==null)return x;var tt=[],ut=0;return N(x,tt,"","",function(lt){return G.call(P,lt,ut++)}),tt}function ot(x){if(x._status===-1){var G=x._result;G=G(),G.then(function(P){(x._status===0||x._status===-1)&&(x._status=1,x._result=P)},function(P){(x._status===0||x._status===-1)&&(x._status=2,x._result=P)}),x._status===-1&&(x._status=0,x._result=G)}if(x._status===1)return x._result.default;throw x._result}var bt=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(G))return}else if(typeof a=="object"&&typeof a.emit=="function"){a.emit("uncaughtException",x);return}console.error(x)},Wt={map:X,forEach:function(x,G,P){X(x,function(){G.apply(this,arguments)},P)},count:function(x){var G=0;return X(x,function(){G++}),G},toArray:function(x){return X(x,function(G){return G})||[]},only:function(x){if(!$(x))throw Error("React.Children.only expected to receive a single React element child.");return x}};return rt.Activity=E,rt.Children=Wt,rt.Component=Y,rt.Fragment=r,rt.Profiler=h,rt.PureComponent=q,rt.StrictMode=c,rt.Suspense=y,rt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,rt.__COMPILER_RUNTIME={__proto__:null,c:function(x){return K.H.useMemoCache(x)}},rt.cache=function(x){return function(){return x.apply(null,arguments)}},rt.cacheSignal=function(){return null},rt.cloneElement=function(x,G,P){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var tt=U({},x.props),ut=x.key;if(G!=null)for(lt in G.key!==void 0&&(ut=""+G.key),G)!I.call(G,lt)||lt==="key"||lt==="__self"||lt==="__source"||lt==="ref"&&G.ref===void 0||(tt[lt]=G[lt]);var lt=arguments.length-2;if(lt===1)tt.children=P;else if(1<lt){for(var ht=Array(lt),Jt=0;Jt<lt;Jt++)ht[Jt]=arguments[Jt+2];tt.children=ht}return at(x.type,ut,tt)},rt.createContext=function(x){return x={$$typeof:g,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:d,_context:x},x},rt.createElement=function(x,G,P){var tt,ut={},lt=null;if(G!=null)for(tt in G.key!==void 0&&(lt=""+G.key),G)I.call(G,tt)&&tt!=="key"&&tt!=="__self"&&tt!=="__source"&&(ut[tt]=G[tt]);var ht=arguments.length-2;if(ht===1)ut.children=P;else if(1<ht){for(var Jt=Array(ht),Bt=0;Bt<ht;Bt++)Jt[Bt]=arguments[Bt+2];ut.children=Jt}if(x&&x.defaultProps)for(tt in ht=x.defaultProps,ht)ut[tt]===void 0&&(ut[tt]=ht[tt]);return at(x,lt,ut)},rt.createRef=function(){return{current:null}},rt.forwardRef=function(x){return{$$typeof:p,render:x}},rt.isValidElement=$,rt.lazy=function(x){return{$$typeof:b,_payload:{_status:-1,_result:x},_init:ot}},rt.memo=function(x,G){return{$$typeof:v,type:x,compare:G===void 0?null:G}},rt.startTransition=function(x){var G=K.T,P={};K.T=P;try{var tt=x(),ut=K.S;ut!==null&&ut(P,tt),typeof tt=="object"&&tt!==null&&typeof tt.then=="function"&&tt.then(J,bt)}catch(lt){bt(lt)}finally{G!==null&&P.types!==null&&(G.types=P.types),K.T=G}},rt.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},rt.use=function(x){return K.H.use(x)},rt.useActionState=function(x,G,P){return K.H.useActionState(x,G,P)},rt.useCallback=function(x,G){return K.H.useCallback(x,G)},rt.useContext=function(x){return K.H.useContext(x)},rt.useDebugValue=function(){},rt.useDeferredValue=function(x,G){return K.H.useDeferredValue(x,G)},rt.useEffect=function(x,G){return K.H.useEffect(x,G)},rt.useEffectEvent=function(x){return K.H.useEffectEvent(x)},rt.useId=function(){return K.H.useId()},rt.useImperativeHandle=function(x,G,P){return K.H.useImperativeHandle(x,G,P)},rt.useInsertionEffect=function(x,G){return K.H.useInsertionEffect(x,G)},rt.useLayoutEffect=function(x,G){return K.H.useLayoutEffect(x,G)},rt.useMemo=function(x,G){return K.H.useMemo(x,G)},rt.useOptimistic=function(x,G){return K.H.useOptimistic(x,G)},rt.useReducer=function(x,G,P){return K.H.useReducer(x,G,P)},rt.useRef=function(x){return K.H.useRef(x)},rt.useState=function(x){return K.H.useState(x)},rt.useSyncExternalStore=function(x,G,P){return K.H.useSyncExternalStore(x,G,P)},rt.useTransition=function(){return K.H.useTransition()},rt.version="19.2.1",rt}var D0;function Bu(){return D0||(D0=1,zu.exports=ap()),zu.exports}var wu={exports:{}},ue={};var R0;function ip(){if(R0)return ue;R0=1;var a=Bu();function i(p){var y="https://react.dev/errors/"+p;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)y+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+p+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var r={d:{f:u,r:function(){throw Error(i(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},c=Symbol.for("react.portal");function h(p,y,v){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:b==null?null:""+b,children:p,containerInfo:y,implementation:v}}var d=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(p,y){if(p==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return ue.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ue.createPortal=function(p,y){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(i(299));return h(p,y,null,v)},ue.flushSync=function(p){var y=d.T,v=r.p;try{if(d.T=null,r.p=2,p)return p()}finally{d.T=y,r.p=v,r.d.f()}},ue.preconnect=function(p,y){typeof p=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,r.d.C(p,y))},ue.prefetchDNS=function(p){typeof p=="string"&&r.d.D(p)},ue.preinit=function(p,y){if(typeof p=="string"&&y&&typeof y.as=="string"){var v=y.as,b=g(v,y.crossOrigin),E=typeof y.integrity=="string"?y.integrity:void 0,L=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;v==="style"?r.d.S(p,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:b,integrity:E,fetchPriority:L}):v==="script"&&r.d.X(p,{crossOrigin:b,integrity:E,fetchPriority:L,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},ue.preinitModule=function(p,y){if(typeof p=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var v=g(y.as,y.crossOrigin);r.d.M(p,{crossOrigin:v,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&r.d.M(p)},ue.preload=function(p,y){if(typeof p=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var v=y.as,b=g(v,y.crossOrigin);r.d.L(p,v,{crossOrigin:b,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},ue.preloadModule=function(p,y){if(typeof p=="string")if(y){var v=g(y.as,y.crossOrigin);r.d.m(p,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:v,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else r.d.m(p)},ue.requestFormReset=function(p){r.d.r(p)},ue.unstable_batchedUpdates=function(p,y){return p(y)},ue.useFormState=function(p,y,v){return d.H.useFormState(p,y,v)},ue.useFormStatus=function(){return d.H.useHostTransitionStatus()},ue.version="19.2.1",ue}var H0;function lp(){if(H0)return wu.exports;H0=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),wu.exports=ip(),wu.exports}var j0;function sp(){if(j0)return Oi;j0=1;var a={};var i=np(),u=Bu(),r=lp();function c(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function h(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function d(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function g(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 p(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 y(t){if(d(t)!==t)throw Error(c(188))}function v(t){var e=t.alternate;if(!e){if(e=d(t),e===null)throw Error(c(188));return e!==t?null:t}for(var n=t,l=e;;){var s=n.return;if(s===null)break;var o=s.alternate;if(o===null){if(l=s.return,l!==null){n=l;continue}break}if(s.child===o.child){for(o=s.child;o;){if(o===n)return y(s),t;if(o===l)return y(s),e;o=o.sibling}throw Error(c(188))}if(n.return!==l.return)n=s,l=o;else{for(var m=!1,S=s.child;S;){if(S===n){m=!0,n=s,l=o;break}if(S===l){m=!0,l=s,n=o;break}S=S.sibling}if(!m){for(S=o.child;S;){if(S===n){m=!0,n=o,l=s;break}if(S===l){m=!0,l=o,n=s;break}S=S.sibling}if(!m)throw Error(c(189))}}if(n.alternate!==l)throw Error(c(190))}if(n.tag!==3)throw Error(c(188));return n.stateNode.current===n?t:e}function b(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=b(t),e!==null)return e;t=t.sibling}return null}var E=Object.assign,L=Symbol.for("react.element"),O=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),Q=Symbol.for("react.consumer"),q=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),at=Symbol.for("react.activity"),Rt=Symbol.for("react.memo_cache_sentinel"),$=Symbol.iterator;function ct(t){return t===null||typeof t!="object"?null:(t=$&&t[$]||t["@@iterator"],typeof t=="function"?t:null)}var Mt=Symbol.for("react.client.reference");function mt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Mt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case U:return"Fragment";case Y:return"Profiler";case H:return"StrictMode";case k:return"Suspense";case J:return"SuspenseList";case at:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case B:return"Portal";case q:return t.displayName||"Context";case Q:return(t._context.displayName||"Context")+".Consumer";case z:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case K:return e=t.displayName||null,e!==null?e:mt(t.type)||"Memo";case I:e=t._payload,t=t._init;try{return mt(t(e))}catch{}}return null}var F=Array.isArray,N=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ot={pending:!1,data:null,method:null,action:null},bt=[],Wt=-1;function x(t){return{current:t}}function G(t){0>Wt||(t.current=bt[Wt],bt[Wt]=null,Wt--)}function P(t,e){Wt++,bt[Wt]=t.current,t.current=e}var tt=x(null),ut=x(null),lt=x(null),ht=x(null);function Jt(t,e){switch(P(lt,e),P(ut,t),P(tt,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?A8(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=A8(e),t=T8(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}G(tt),P(tt,t)}function Bt(){G(tt),G(ut),G(lt)}function jn(t){t.memoizedState!==null&&P(ht,t);var e=tt.current,n=T8(e,t.type);e!==n&&(P(ut,t),P(tt,n))}function On(t){ut.current===t&&(G(tt),G(ut)),ht.current===t&&(G(ht),Gl._currentValue=ot)}var Ka,$i;function sn(t){if(Ka===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Ka=e&&e[1]||"",$i=-1<n.stack.indexOf(`
2
2
  at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
3
- `+Ka+t+$i}var da=!1;function Wi(t,e){if(!t||da)return"";da=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(H){var R=H}Reflect.construct(t,[],_)}else{try{_.call()}catch(H){R=H}t.call(_.prototype)}}else{try{throw Error()}catch(H){R=H}(_=t())&&typeof _.catch=="function"&&_.catch(function(){})}}catch(H){if(H&&R&&typeof H.stack=="string")return[H.stack,R.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=l.DetermineComponentFrameRoot(),m=o[0],S=o[1];if(m&&S){var T=m.split(`
3
+ `+Ka+t+$i}var da=!1;function Wi(t,e){if(!t||da)return"";da=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(j){var R=j}Reflect.construct(t,[],_)}else{try{_.call()}catch(j){R=j}t.call(_.prototype)}}else{try{throw Error()}catch(j){R=j}(_=t())&&typeof _.catch=="function"&&_.catch(function(){})}}catch(j){if(j&&R&&typeof j.stack=="string")return[j.stack,R.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=l.DetermineComponentFrameRoot(),m=o[0],S=o[1];if(m&&S){var T=m.split(`
4
4
  `),D=S.split(`
5
5
  `);for(s=l=0;l<T.length&&!T[l].includes("DetermineComponentFrameRoot");)l++;for(;s<D.length&&!D[s].includes("DetermineComponentFrameRoot");)s++;if(l===T.length||s===D.length)for(l=T.length-1,s=D.length-1;1<=l&&0<=s&&T[l]!==D[s];)s--;for(;1<=l&&0<=s;l--,s--)if(T[l]!==D[s]){if(l!==1||s!==1)do if(l--,s--,0>s||T[l]!==D[s]){var w=`
6
- `+T[l].replace(" at new "," at ");return t.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",t.displayName)),w}while(1<=l&&0<=s);break}}}finally{da=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?sn(n):""}function m3(t,e){switch(t.tag){case 26:case 27:case 5:return sn(t.type);case 16:return sn("Lazy");case 13:return t.child!==e&&e!==null?sn("Suspense Fallback"):sn("Suspense");case 19:return sn("SuspenseList");case 0:case 15:return Wi(t.type,!1);case 11:return Wi(t.type.render,!1);case 1:return Wi(t.type,!0);case 31:return sn("Activity");default:return""}}function Id(t){try{var e="",n=null;do e+=m3(t,n),n=t,t=t.return;while(t);return e}catch(l){return`
6
+ `+T[l].replace(" at new "," at ");return t.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",t.displayName)),w}while(1<=l&&0<=s);break}}}finally{da=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?sn(n):""}function p3(t,e){switch(t.tag){case 26:case 27:case 5:return sn(t.type);case 16:return sn("Lazy");case 13:return t.child!==e&&e!==null?sn("Suspense Fallback"):sn("Suspense");case 19:return sn("SuspenseList");case 0:case 15:return Wi(t.type,!1);case 11:return Wi(t.type.render,!1);case 1:return Wi(t.type,!0);case 31:return sn("Activity");default:return""}}function Id(t){try{var e="",n=null;do e+=p3(t,n),n=t,t=t.return;while(t);return e}catch(l){return`
7
7
  Error generating stack: `+l.message+`
8
- `+l.stack}}var ro=Object.prototype.hasOwnProperty,oo=i.unstable_scheduleCallback,co=i.unstable_cancelCallback,p3=i.unstable_shouldYield,y3=i.unstable_requestPaint,Ae=i.unstable_now,g3=i.unstable_getCurrentPriorityLevel,th=i.unstable_ImmediatePriority,eh=i.unstable_UserBlockingPriority,hs=i.unstable_NormalPriority,v3=i.unstable_LowPriority,nh=i.unstable_IdlePriority,S3=i.log,b3=i.unstable_setDisableYieldValue,Ii=null,Te=null;function Bn(t){if(typeof S3=="function"&&b3(t),Te&&typeof Te.setStrictMode=="function")try{Te.setStrictMode(Ii,t)}catch{}}var Me=Math.clz32?Math.clz32:T3,E3=Math.log,A3=Math.LN2;function T3(t){return t>>>=0,t===0?32:31-(E3(t)/A3|0)|0}var ms=256,ps=262144,ys=4194304;function ha(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 t}}function gs(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var s=0,o=t.suspendedLanes,m=t.pingedLanes;t=t.warmLanes;var S=l&134217727;return S!==0?(l=S&~o,l!==0?s=ha(l):(m&=S,m!==0?s=ha(m):n||(n=S&~t,n!==0&&(s=ha(n))))):(S=l&~o,S!==0?s=ha(S):m!==0?s=ha(m):n||(n=l&~t,n!==0&&(s=ha(n)))),s===0?0:e!==0&&e!==s&&(e&o)===0&&(o=s&-s,n=e&-e,o>=n||o===32&&(n&4194048)!==0)?e:s}function tl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function M3(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-1}}function ah(){var t=ys;return ys<<=1,(ys&62914560)===0&&(ys=4194304),t}function fo(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function el(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function x3(t,e,n,l,s,o){var m=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var S=t.entanglements,T=t.expirationTimes,D=t.hiddenUpdates;for(n=m&~n;0<n;){var w=31-Me(n),_=1<<w;S[w]=0,T[w]=-1;var R=D[w];if(R!==null)for(D[w]=null,w=0;w<R.length;w++){var H=R[w];H!==null&&(H.lane&=-536870913)}n&=~_}l!==0&&ih(t,l,0),o!==0&&s===0&&t.tag!==0&&(t.suspendedLanes|=o&~(m&~e))}function ih(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-Me(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|n&261930}function lh(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var l=31-Me(n),s=1<<l;s&e|t[l]&e&&(t[l]|=e),n&=~s}}function sh(t,e){var n=e&-e;return n=(n&42)!==0?1:ho(n),(n&(t.suspendedLanes|e))!==0?0:n}function ho(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 mo(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function uh(){var t=X.p;return t!==0?t:(t=window.event,t===void 0?32:K8(t.type))}function rh(t,e){var n=X.p;try{return X.p=t,e()}finally{X.p=n}}var wn=Math.random().toString(36).slice(2),ne="__reactFiber$"+wn,he="__reactProps$"+wn,Fa="__reactContainer$"+wn,po="__reactEvents$"+wn,V3="__reactListeners$"+wn,L3="__reactHandles$"+wn,oh="__reactResources$"+wn,nl="__reactMarker$"+wn;function yo(t){delete t[ne],delete t[he],delete t[po],delete t[V3],delete t[L3]}function Qa(t){var e=t[ne];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Fa]||n[ne]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=R8(t);t!==null;){if(n=t[ne])return n;t=R8(t)}return e}t=n,n=t.parentNode}return null}function Pa(t){if(t=t[ne]||t[Fa]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function al(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function Ja(t){var e=t[oh];return e||(e=t[oh]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function It(t){t[nl]=!0}var ch=new Set,fh={};function ma(t,e){$a(t,e),$a(t+"Capture",e)}function $a(t,e){for(fh[t]=e,t=0;t<e.length;t++)ch.add(e[t])}var C3=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]*$"),dh={},hh={};function D3(t){return ro.call(hh,t)?!0:ro.call(dh,t)?!1:C3.test(t)?hh[t]=!0:(dh[t]=!0,!1)}function vs(t,e,n){if(D3(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function Ss(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function un(t,e,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+l)}}function Be(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function mh(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function R3(t,e,n){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var s=l.get,o=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return s.call(this)},set:function(m){n=""+m,o.call(this,m)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(m){n=""+m},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function go(t){if(!t._valueTracker){var e=mh(t)?"checked":"value";t._valueTracker=R3(t,e,""+t[e])}}function ph(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),l="";return t&&(l=mh(t)?t.checked?"true":"false":t.value),t=l,t!==n?(e.setValue(t),!0):!1}function bs(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}}var H3=/[\n"\\]/g;function we(t){return t.replace(H3,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function vo(t,e,n,l,s,o,m,S){t.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?t.type=m:t.removeAttribute("type"),e!=null?m==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Be(e)):t.value!==""+Be(e)&&(t.value=""+Be(e)):m!=="submit"&&m!=="reset"||t.removeAttribute("value"),e!=null?So(t,m,Be(e)):n!=null?So(t,m,Be(n)):l!=null&&t.removeAttribute("value"),s==null&&o!=null&&(t.defaultChecked=!!o),s!=null&&(t.checked=s&&typeof s!="function"&&typeof s!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.name=""+Be(S):t.removeAttribute("name")}function yh(t,e,n,l,s,o,m,S){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),e!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||e!=null)){go(t);return}n=n!=null?""+Be(n):"",e=e!=null?""+Be(e):n,S||e===t.value||(t.value=e),t.defaultValue=e}l=l??s,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=S?t.checked:!!l,t.defaultChecked=!!l,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(t.name=m),go(t)}function So(t,e,n){e==="number"&&bs(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Wa(t,e,n,l){if(t=t.options,e){e={};for(var s=0;s<n.length;s++)e["$"+n[s]]=!0;for(n=0;n<t.length;n++)s=e.hasOwnProperty("$"+t[n].value),t[n].selected!==s&&(t[n].selected=s),s&&l&&(t[n].defaultSelected=!0)}else{for(n=""+Be(n),e=null,s=0;s<t.length;s++){if(t[s].value===n){t[s].selected=!0,l&&(t[s].defaultSelected=!0);return}e!==null||t[s].disabled||(e=t[s])}e!==null&&(e.selected=!0)}}function gh(t,e,n){if(e!=null&&(e=""+Be(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Be(n):""}function vh(t,e,n,l){if(e==null){if(l!=null){if(n!=null)throw Error(c(92));if(F(l)){if(1<l.length)throw Error(c(93));l=l[0]}n=l}n==null&&(n=""),e=n}n=Be(e),t.defaultValue=n,l=t.textContent,l===n&&l!==""&&l!==null&&(t.value=l),go(t)}function Ia(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var j3=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 Sh(t,e,n){var l=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,n):typeof n!="number"||n===0||j3.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function bh(t,e,n){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var s in e)l=e[s],e.hasOwnProperty(s)&&n[s]!==l&&Sh(t,s,l)}else for(var o in e)e.hasOwnProperty(o)&&Sh(t,o,e[o])}function bo(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}}var O3=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"]]),z3=/^[\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 Es(t){return z3.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function rn(){}var Eo=null;function Ao(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ti=null,ei=null;function Eh(t){var e=Pa(t);if(e&&(t=e.stateNode)){var n=t[he]||null;t:switch(t=e.stateNode,e.type){case"input":if(vo(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+we(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var l=n[e];if(l!==t&&l.form===t.form){var s=l[he]||null;if(!s)throw Error(c(90));vo(l,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(e=0;e<n.length;e++)l=n[e],l.form===t.form&&ph(l)}break t;case"textarea":gh(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Wa(t,!!n.multiple,e,!1)}}}var To=!1;function Ah(t,e,n){if(To)return t(e,n);To=!0;try{var l=t(e);return l}finally{if(To=!1,(ti!==null||ei!==null)&&(ru(),ti&&(e=ti,t=ei,ei=ti=null,Eh(e),t)))for(e=0;e<t.length;e++)Eh(t[e])}}function il(t,e){var n=t.stateNode;if(n===null)return null;var l=n[he]||null;if(l===null)return null;n=l[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":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(c(231,e,typeof n));return n}var on=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Mo=!1;if(on)try{var ll={};Object.defineProperty(ll,"passive",{get:function(){Mo=!0}}),window.addEventListener("test",ll,ll),window.removeEventListener("test",ll,ll)}catch{Mo=!1}var Nn=null,xo=null,As=null;function Th(){if(As)return As;var t,e=xo,n=e.length,l,s="value"in Nn?Nn.value:Nn.textContent,o=s.length;for(t=0;t<n&&e[t]===s[t];t++);var m=n-t;for(l=1;l<=m&&e[n-l]===s[o-l];l++);return As=s.slice(t,1<l?1-l:void 0)}function Ts(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 Ms(){return!0}function Mh(){return!1}function me(t){function e(n,l,s,o,m){this._reactName=n,this._targetInst=s,this.type=l,this.nativeEvent=o,this.target=m,this.currentTarget=null;for(var S in t)t.hasOwnProperty(S)&&(n=t[S],this[S]=n?n(o):o[S]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ms:Mh,this.isPropagationStopped=Mh,this}return E(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ms)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ms)},persist:function(){},isPersistent:Ms}),e}var pa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xs=me(pa),sl=E({},pa,{view:0,detail:0}),B3=me(sl),Vo,Lo,ul,Vs=E({},sl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Do,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!==ul&&(ul&&t.type==="mousemove"?(Vo=t.screenX-ul.screenX,Lo=t.screenY-ul.screenY):Lo=Vo=0,ul=t),Vo)},movementY:function(t){return"movementY"in t?t.movementY:Lo}}),xh=me(Vs),w3=E({},Vs,{dataTransfer:0}),N3=me(w3),Z3=E({},sl,{relatedTarget:0}),Co=me(Z3),U3=E({},pa,{animationName:0,elapsedTime:0,pseudoElement:0}),_3=me(U3),G3=E({},pa,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),q3=me(G3),Y3=E({},pa,{data:0}),Vh=me(Y3),X3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},k3={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"},K3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function F3(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=K3[t])?!!e[t]:!1}function Do(){return F3}var Q3=E({},sl,{key:function(t){if(t.key){var e=X3[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ts(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?k3[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Do,charCode:function(t){return t.type==="keypress"?Ts(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ts(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),P3=me(Q3),J3=E({},Vs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Lh=me(J3),$3=E({},sl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Do}),W3=me($3),I3=E({},pa,{propertyName:0,elapsedTime:0,pseudoElement:0}),t5=me(I3),e5=E({},Vs,{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}),n5=me(e5),a5=E({},pa,{newState:0,oldState:0}),i5=me(a5),l5=[9,13,27,32],Ro=on&&"CompositionEvent"in window,rl=null;on&&"documentMode"in document&&(rl=document.documentMode);var s5=on&&"TextEvent"in window&&!rl,Ch=on&&(!Ro||rl&&8<rl&&11>=rl),Dh=" ",Rh=!1;function Hh(t,e){switch(t){case"keyup":return l5.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ni=!1;function u5(t,e){switch(t){case"compositionend":return jh(e);case"keypress":return e.which!==32?null:(Rh=!0,Dh);case"textInput":return t=e.data,t===Dh&&Rh?null:t;default:return null}}function r5(t,e){if(ni)return t==="compositionend"||!Ro&&Hh(t,e)?(t=Th(),As=xo=Nn=null,ni=!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 Ch&&e.locale!=="ko"?null:e.data;default:return null}}var o5={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 Oh(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!o5[t.type]:e==="textarea"}function zh(t,e,n,l){ti?ei?ei.push(l):ei=[l]:ti=l,e=pu(e,"onChange"),0<e.length&&(n=new xs("onChange","change",null,n,l),t.push({event:n,listeners:e}))}var ol=null,cl=null;function c5(t){y8(t,0)}function Ls(t){var e=al(t);if(ph(e))return t}function Bh(t,e){if(t==="change")return e}var wh=!1;if(on){var Ho;if(on){var jo="oninput"in document;if(!jo){var Nh=document.createElement("div");Nh.setAttribute("oninput","return;"),jo=typeof Nh.oninput=="function"}Ho=jo}else Ho=!1;wh=Ho&&(!document.documentMode||9<document.documentMode)}function Zh(){ol&&(ol.detachEvent("onpropertychange",Uh),cl=ol=null)}function Uh(t){if(t.propertyName==="value"&&Ls(cl)){var e=[];zh(e,cl,t,Ao(t)),Ah(c5,e)}}function f5(t,e,n){t==="focusin"?(Zh(),ol=e,cl=n,ol.attachEvent("onpropertychange",Uh)):t==="focusout"&&Zh()}function d5(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ls(cl)}function h5(t,e){if(t==="click")return Ls(e)}function m5(t,e){if(t==="input"||t==="change")return Ls(e)}function p5(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var xe=typeof Object.is=="function"?Object.is:p5;function fl(t,e){if(xe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),l=Object.keys(e);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var s=n[l];if(!ro.call(e,s)||!xe(t[s],e[s]))return!1}return!0}function _h(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Gh(t,e){var n=_h(t);t=0;for(var l;n;){if(n.nodeType===3){if(l=t+n.textContent.length,t<=e&&l>=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=_h(n)}}function qh(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?qh(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Yh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=bs(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=bs(t.document)}return e}function Oo(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")}var y5=on&&"documentMode"in document&&11>=document.documentMode,ai=null,zo=null,dl=null,Bo=!1;function Xh(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Bo||ai==null||ai!==bs(l)||(l=ai,"selectionStart"in l&&Oo(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),dl&&fl(dl,l)||(dl=l,l=pu(zo,"onSelect"),0<l.length&&(e=new xs("onSelect","select",null,e,n),t.push({event:e,listeners:l}),e.target=ai)))}function ya(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var ii={animationend:ya("Animation","AnimationEnd"),animationiteration:ya("Animation","AnimationIteration"),animationstart:ya("Animation","AnimationStart"),transitionrun:ya("Transition","TransitionRun"),transitionstart:ya("Transition","TransitionStart"),transitioncancel:ya("Transition","TransitionCancel"),transitionend:ya("Transition","TransitionEnd")},wo={},kh={};on&&(kh=document.createElement("div").style,"AnimationEvent"in window||(delete ii.animationend.animation,delete ii.animationiteration.animation,delete ii.animationstart.animation),"TransitionEvent"in window||delete ii.transitionend.transition);function ga(t){if(wo[t])return wo[t];if(!ii[t])return t;var e=ii[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in kh)return wo[t]=e[n];return t}var Kh=ga("animationend"),Fh=ga("animationiteration"),Qh=ga("animationstart"),g5=ga("transitionrun"),v5=ga("transitionstart"),S5=ga("transitioncancel"),Ph=ga("transitionend"),Jh=new Map,No="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(" ");No.push("scrollEnd");function Fe(t,e){Jh.set(t,e),ma(e,[t])}var Cs=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 a=="object"&&typeof a.emit=="function"){a.emit("uncaughtException",t);return}console.error(t)},Ne=[],li=0,Zo=0;function Ds(){for(var t=li,e=Zo=li=0;e<t;){var n=Ne[e];Ne[e++]=null;var l=Ne[e];Ne[e++]=null;var s=Ne[e];Ne[e++]=null;var o=Ne[e];if(Ne[e++]=null,l!==null&&s!==null){var m=l.pending;m===null?s.next=s:(s.next=m.next,m.next=s),l.pending=s}o!==0&&$h(n,s,o)}}function Rs(t,e,n,l){Ne[li++]=t,Ne[li++]=e,Ne[li++]=n,Ne[li++]=l,Zo|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Uo(t,e,n,l){return Rs(t,e,n,l),Hs(t)}function va(t,e){return Rs(t,null,null,e),Hs(t)}function $h(t,e,n){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n);for(var s=!1,o=t.return;o!==null;)o.childLanes|=n,l=o.alternate,l!==null&&(l.childLanes|=n),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(s=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,s&&e!==null&&(s=31-Me(n),t=o.hiddenUpdates,l=t[s],l===null?t[s]=[e]:l.push(e),e.lane=n|536870912),o):null}function Hs(t){if(50<zl)throw zl=0,Qc=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var si={};function b5(t,e,n,l){this.tag=t,this.key=n,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=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ve(t,e,n,l){return new b5(t,e,n,l)}function _o(t){return t=t.prototype,!(!t||!t.isReactComponent)}function cn(t,e){var n=t.alternate;return n===null?(n=Ve(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function Wh(t,e){t.flags&=65011714;var n=t.alternate;return n===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.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function js(t,e,n,l,s,o){var m=0;if(l=t,typeof t=="function")_o(t)&&(m=1);else if(typeof t=="string")m=xS(t,n,tt.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case at:return t=Ve(31,n,e,s),t.elementType=at,t.lanes=o,t;case U:return Sa(n.children,s,o,e);case j:m=8,s|=24;break;case Y:return t=Ve(12,n,e,s|2),t.elementType=Y,t.lanes=o,t;case k:return t=Ve(13,n,e,s),t.elementType=k,t.lanes=o,t;case J:return t=Ve(19,n,e,s),t.elementType=J,t.lanes=o,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case q:m=10;break t;case Q:m=9;break t;case z:m=11;break t;case K:m=14;break t;case I:m=16,l=null;break t}m=29,n=Error(c(130,t===null?"null":typeof t,"")),l=null}return e=Ve(m,n,e,s),e.elementType=t,e.type=l,e.lanes=o,e}function Sa(t,e,n,l){return t=Ve(7,t,l,e),t.lanes=n,t}function Go(t,e,n){return t=Ve(6,t,null,e),t.lanes=n,t}function Ih(t){var e=Ve(18,null,null,0);return e.stateNode=t,e}function qo(t,e,n){return e=Ve(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var tm=new WeakMap;function Ze(t,e){if(typeof t=="object"&&t!==null){var n=tm.get(t);return n!==void 0?n:(e={value:t,source:e,stack:Id(e)},tm.set(t,e),e)}return{value:t,source:e,stack:Id(e)}}var ui=[],ri=0,Os=null,hl=0,Ue=[],_e=0,Zn=null,Ie=1,tn="";function fn(t,e){ui[ri++]=hl,ui[ri++]=Os,Os=t,hl=e}function em(t,e,n){Ue[_e++]=Ie,Ue[_e++]=tn,Ue[_e++]=Zn,Zn=t;var l=Ie;t=tn;var s=32-Me(l)-1;l&=~(1<<s),n+=1;var o=32-Me(e)+s;if(30<o){var m=s-s%5;o=(l&(1<<m)-1).toString(32),l>>=m,s-=m,Ie=1<<32-Me(e)+s|n<<s|l,tn=o+t}else Ie=1<<o|n<<s|l,tn=t}function Yo(t){t.return!==null&&(fn(t,1),em(t,1,0))}function Xo(t){for(;t===Os;)Os=ui[--ri],ui[ri]=null,hl=ui[--ri],ui[ri]=null;for(;t===Zn;)Zn=Ue[--_e],Ue[_e]=null,tn=Ue[--_e],Ue[_e]=null,Ie=Ue[--_e],Ue[_e]=null}function nm(t,e){Ue[_e++]=Ie,Ue[_e++]=tn,Ue[_e++]=Zn,Ie=e.id,tn=e.overflow,Zn=t}var ae=null,jt=null,St=!1,Un=null,Ge=!1,ko=Error(c(519));function _n(t){var e=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ml(Ze(e,t)),ko}function am(t){var e=t.stateNode,n=t.type,l=t.memoizedProps;switch(e[ne]=t,e[he]=l,n){case"dialog":yt("cancel",e),yt("close",e);break;case"iframe":case"object":case"embed":yt("load",e);break;case"video":case"audio":for(n=0;n<wl.length;n++)yt(wl[n],e);break;case"source":yt("error",e);break;case"img":case"image":case"link":yt("error",e),yt("load",e);break;case"details":yt("toggle",e);break;case"input":yt("invalid",e),yh(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":yt("invalid",e);break;case"textarea":yt("invalid",e),vh(e,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||l.suppressHydrationWarning===!0||b8(e.textContent,n)?(l.popover!=null&&(yt("beforetoggle",e),yt("toggle",e)),l.onScroll!=null&&yt("scroll",e),l.onScrollEnd!=null&&yt("scrollend",e),l.onClick!=null&&(e.onclick=rn),e=!0):e=!1,e||_n(t,!0)}function im(t){for(ae=t.return;ae;)switch(ae.tag){case 5:case 31:case 13:Ge=!1;return;case 27:case 3:Ge=!0;return;default:ae=ae.return}}function oi(t){if(t!==ae)return!1;if(!St)return im(t),St=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||o0(t.type,t.memoizedProps)),n=!n),n&&jt&&_n(t),im(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));jt=D8(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));jt=D8(t)}else e===27?(e=jt,ta(t.type)?(t=m0,m0=null,jt=t):jt=e):jt=ae?Ye(t.stateNode.nextSibling):null;return!0}function ba(){jt=ae=null,St=!1}function Ko(){var t=Un;return t!==null&&(ve===null?ve=t:ve.push.apply(ve,t),Un=null),t}function ml(t){Un===null?Un=[t]:Un.push(t)}var Fo=x(null),Ea=null,dn=null;function Gn(t,e,n){P(Fo,e._currentValue),e._currentValue=n}function hn(t){t._currentValue=Fo.current,G(Fo)}function Qo(t,e,n){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===n)break;t=t.return}}function Po(t,e,n,l){var s=t.child;for(s!==null&&(s.return=t);s!==null;){var o=s.dependencies;if(o!==null){var m=s.child;o=o.firstContext;t:for(;o!==null;){var S=o;o=s;for(var T=0;T<e.length;T++)if(S.context===e[T]){o.lanes|=n,S=o.alternate,S!==null&&(S.lanes|=n),Qo(o.return,n,t),l||(m=null);break t}o=S.next}}else if(s.tag===18){if(m=s.return,m===null)throw Error(c(341));m.lanes|=n,o=m.alternate,o!==null&&(o.lanes|=n),Qo(m,n,t),m=null}else m=s.child;if(m!==null)m.return=s;else for(m=s;m!==null;){if(m===t){m=null;break}if(s=m.sibling,s!==null){s.return=m.return,m=s;break}m=m.return}s=m}}function ci(t,e,n,l){t=null;for(var s=e,o=!1;s!==null;){if(!o){if((s.flags&524288)!==0)o=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var m=s.alternate;if(m===null)throw Error(c(387));if(m=m.memoizedProps,m!==null){var S=s.type;xe(s.pendingProps.value,m.value)||(t!==null?t.push(S):t=[S])}}else if(s===ht.current){if(m=s.alternate,m===null)throw Error(c(387));m.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(t!==null?t.push(Gl):t=[Gl])}s=s.return}t!==null&&Po(e,t,n,l),e.flags|=262144}function zs(t){for(t=t.firstContext;t!==null;){if(!xe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Aa(t){Ea=t,dn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ie(t){return lm(Ea,t)}function Bs(t,e){return Ea===null&&Aa(t),lm(t,e)}function lm(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},dn===null){if(t===null)throw Error(c(308));dn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else dn=dn.next=e;return n}var E5=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},A5=i.unstable_scheduleCallback,T5=i.unstable_NormalPriority,Xt={$$typeof:q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Jo(){return{controller:new E5,data:new Map,refCount:0}}function pl(t){t.refCount--,t.refCount===0&&A5(T5,function(){t.controller.abort()})}var yl=null,$o=0,fi=0,di=null;function M5(t,e){if(yl===null){var n=yl=[];$o=0,fi=t0(),di={status:"pending",value:void 0,then:function(l){n.push(l)}}}return $o++,e.then(sm,sm),e}function sm(){if(--$o===0&&yl!==null){di!==null&&(di.status="fulfilled");var t=yl;yl=null,fi=0,di=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function x5(t,e){var n=[],l={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var s=0;s<n.length;s++)(0,n[s])(e)},function(s){for(l.status="rejected",l.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),l}var um=N.S;N.S=function(t,e){X6=Ae(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&M5(t,e),um!==null&&um(t,e)};var Ta=x(null);function Wo(){var t=Ta.current;return t!==null?t:Ht.pooledCache}function ws(t,e){e===null?P(Ta,Ta.current):P(Ta,e.pool)}function rm(){var t=Wo();return t===null?null:{parent:Xt._currentValue,pool:t}}var hi=Error(c(460)),Io=Error(c(474)),Ns=Error(c(542)),Zs={then:function(){}};function om(t){return t=t.status,t==="fulfilled"||t==="rejected"}function cm(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(rn,rn),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,dm(t),t;default:if(typeof e.status=="string")e.then(rn,rn);else{if(t=Ht,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var s=e;s.status="fulfilled",s.value=l}},function(l){if(e.status==="pending"){var s=e;s.status="rejected",s.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,dm(t),t}throw xa=e,hi}}function Ma(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(xa=n,hi):n}}var xa=null;function fm(){if(xa===null)throw Error(c(459));var t=xa;return xa=null,t}function dm(t){if(t===hi||t===Ns)throw Error(c(483))}var mi=null,gl=0;function Us(t){var e=gl;return gl+=1,mi===null&&(mi=[]),cm(mi,t,e)}function vl(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function _s(t,e){throw e.$$typeof===L?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function hm(t){function e(V,M){if(t){var C=V.deletions;C===null?(V.deletions=[M],V.flags|=16):C.push(M)}}function n(V,M){if(!t)return null;for(;M!==null;)e(V,M),M=M.sibling;return null}function l(V){for(var M=new Map;V!==null;)V.key!==null?M.set(V.key,V):M.set(V.index,V),V=V.sibling;return M}function s(V,M){return V=cn(V,M),V.index=0,V.sibling=null,V}function o(V,M,C){return V.index=C,t?(C=V.alternate,C!==null?(C=C.index,C<M?(V.flags|=67108866,M):C):(V.flags|=67108866,M)):(V.flags|=1048576,M)}function m(V){return t&&V.alternate===null&&(V.flags|=67108866),V}function S(V,M,C,Z){return M===null||M.tag!==6?(M=Go(C,V.mode,Z),M.return=V,M):(M=s(M,C),M.return=V,M)}function T(V,M,C,Z){var nt=C.type;return nt===U?w(V,M,C.props.children,Z,C.key):M!==null&&(M.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===I&&Ma(nt)===M.type)?(M=s(M,C.props),vl(M,C),M.return=V,M):(M=js(C.type,C.key,C.props,null,V.mode,Z),vl(M,C),M.return=V,M)}function D(V,M,C,Z){return M===null||M.tag!==4||M.stateNode.containerInfo!==C.containerInfo||M.stateNode.implementation!==C.implementation?(M=qo(C,V.mode,Z),M.return=V,M):(M=s(M,C.children||[]),M.return=V,M)}function w(V,M,C,Z,nt){return M===null||M.tag!==7?(M=Sa(C,V.mode,Z,nt),M.return=V,M):(M=s(M,C),M.return=V,M)}function _(V,M,C){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=Go(""+M,V.mode,C),M.return=V,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case O:return C=js(M.type,M.key,M.props,null,V.mode,C),vl(C,M),C.return=V,C;case B:return M=qo(M,V.mode,C),M.return=V,M;case I:return M=Ma(M),_(V,M,C)}if(F(M)||ct(M))return M=Sa(M,V.mode,C,null),M.return=V,M;if(typeof M.then=="function")return _(V,Us(M),C);if(M.$$typeof===q)return _(V,Bs(V,M),C);_s(V,M)}return null}function R(V,M,C,Z){var nt=M!==null?M.key:null;if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return nt!==null?null:S(V,M,""+C,Z);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case O:return C.key===nt?T(V,M,C,Z):null;case B:return C.key===nt?D(V,M,C,Z):null;case I:return C=Ma(C),R(V,M,C,Z)}if(F(C)||ct(C))return nt!==null?null:w(V,M,C,Z,null);if(typeof C.then=="function")return R(V,M,Us(C),Z);if(C.$$typeof===q)return R(V,M,Bs(V,C),Z);_s(V,C)}return null}function H(V,M,C,Z,nt){if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return V=V.get(C)||null,S(M,V,""+Z,nt);if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case O:return V=V.get(Z.key===null?C:Z.key)||null,T(M,V,Z,nt);case B:return V=V.get(Z.key===null?C:Z.key)||null,D(M,V,Z,nt);case I:return Z=Ma(Z),H(V,M,C,Z,nt)}if(F(Z)||ct(Z))return V=V.get(C)||null,w(M,V,Z,nt,null);if(typeof Z.then=="function")return H(V,M,C,Us(Z),nt);if(Z.$$typeof===q)return H(V,M,C,Bs(M,Z),nt);_s(M,Z)}return null}function W(V,M,C,Z){for(var nt=null,Et=null,et=M,dt=M=0,vt=null;et!==null&&dt<C.length;dt++){et.index>dt?(vt=et,et=null):vt=et.sibling;var At=R(V,et,C[dt],Z);if(At===null){et===null&&(et=vt);break}t&&et&&At.alternate===null&&e(V,et),M=o(At,M,dt),Et===null?nt=At:Et.sibling=At,Et=At,et=vt}if(dt===C.length)return n(V,et),St&&fn(V,dt),nt;if(et===null){for(;dt<C.length;dt++)et=_(V,C[dt],Z),et!==null&&(M=o(et,M,dt),Et===null?nt=et:Et.sibling=et,Et=et);return St&&fn(V,dt),nt}for(et=l(et);dt<C.length;dt++)vt=H(et,V,dt,C[dt],Z),vt!==null&&(t&&vt.alternate!==null&&et.delete(vt.key===null?dt:vt.key),M=o(vt,M,dt),Et===null?nt=vt:Et.sibling=vt,Et=vt);return t&&et.forEach(function(la){return e(V,la)}),St&&fn(V,dt),nt}function it(V,M,C,Z){if(C==null)throw Error(c(151));for(var nt=null,Et=null,et=M,dt=M=0,vt=null,At=C.next();et!==null&&!At.done;dt++,At=C.next()){et.index>dt?(vt=et,et=null):vt=et.sibling;var la=R(V,et,At.value,Z);if(la===null){et===null&&(et=vt);break}t&&et&&la.alternate===null&&e(V,et),M=o(la,M,dt),Et===null?nt=la:Et.sibling=la,Et=la,et=vt}if(At.done)return n(V,et),St&&fn(V,dt),nt;if(et===null){for(;!At.done;dt++,At=C.next())At=_(V,At.value,Z),At!==null&&(M=o(At,M,dt),Et===null?nt=At:Et.sibling=At,Et=At);return St&&fn(V,dt),nt}for(et=l(et);!At.done;dt++,At=C.next())At=H(et,V,dt,At.value,Z),At!==null&&(t&&At.alternate!==null&&et.delete(At.key===null?dt:At.key),M=o(At,M,dt),Et===null?nt=At:Et.sibling=At,Et=At);return t&&et.forEach(function(wS){return e(V,wS)}),St&&fn(V,dt),nt}function Dt(V,M,C,Z){if(typeof C=="object"&&C!==null&&C.type===U&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case O:t:{for(var nt=C.key;M!==null;){if(M.key===nt){if(nt=C.type,nt===U){if(M.tag===7){n(V,M.sibling),Z=s(M,C.props.children),Z.return=V,V=Z;break t}}else if(M.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===I&&Ma(nt)===M.type){n(V,M.sibling),Z=s(M,C.props),vl(Z,C),Z.return=V,V=Z;break t}n(V,M);break}else e(V,M);M=M.sibling}C.type===U?(Z=Sa(C.props.children,V.mode,Z,C.key),Z.return=V,V=Z):(Z=js(C.type,C.key,C.props,null,V.mode,Z),vl(Z,C),Z.return=V,V=Z)}return m(V);case B:t:{for(nt=C.key;M!==null;){if(M.key===nt)if(M.tag===4&&M.stateNode.containerInfo===C.containerInfo&&M.stateNode.implementation===C.implementation){n(V,M.sibling),Z=s(M,C.children||[]),Z.return=V,V=Z;break t}else{n(V,M);break}else e(V,M);M=M.sibling}Z=qo(C,V.mode,Z),Z.return=V,V=Z}return m(V);case I:return C=Ma(C),Dt(V,M,C,Z)}if(F(C))return W(V,M,C,Z);if(ct(C)){if(nt=ct(C),typeof nt!="function")throw Error(c(150));return C=nt.call(C),it(V,M,C,Z)}if(typeof C.then=="function")return Dt(V,M,Us(C),Z);if(C.$$typeof===q)return Dt(V,M,Bs(V,C),Z);_s(V,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,M!==null&&M.tag===6?(n(V,M.sibling),Z=s(M,C),Z.return=V,V=Z):(n(V,M),Z=Go(C,V.mode,Z),Z.return=V,V=Z),m(V)):n(V,M)}return function(V,M,C,Z){try{gl=0;var nt=Dt(V,M,C,Z);return mi=null,nt}catch(et){if(et===hi||et===Ns)throw et;var Et=Ve(29,et,null,V.mode);return Et.lanes=Z,Et.return=V,Et}finally{}}}var Va=hm(!0),mm=hm(!1),qn=!1;function tc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ec(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 Yn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Xn(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Tt&2)!==0){var s=l.pending;return s===null?e.next=e:(e.next=s.next,s.next=e),l.pending=e,e=Hs(t),$h(t,null,n),e}return Rs(t,l,e,n),Hs(t)}function Sl(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,lh(t,n)}}function nc(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var s=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var m={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?s=o=m:o=o.next=m,n=n.next}while(n!==null);o===null?s=o=e:o=o.next=e}else s=o=e;n={baseState:l.baseState,firstBaseUpdate:s,lastBaseUpdate:o,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var ac=!1;function bl(){if(ac){var t=di;if(t!==null)throw t}}function El(t,e,n,l){ac=!1;var s=t.updateQueue;qn=!1;var o=s.firstBaseUpdate,m=s.lastBaseUpdate,S=s.shared.pending;if(S!==null){s.shared.pending=null;var T=S,D=T.next;T.next=null,m===null?o=D:m.next=D,m=T;var w=t.alternate;w!==null&&(w=w.updateQueue,S=w.lastBaseUpdate,S!==m&&(S===null?w.firstBaseUpdate=D:S.next=D,w.lastBaseUpdate=T))}if(o!==null){var _=s.baseState;m=0,w=D=T=null,S=o;do{var R=S.lane&-536870913,H=R!==S.lane;if(H?(gt&R)===R:(l&R)===R){R!==0&&R===fi&&(ac=!0),w!==null&&(w=w.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});t:{var W=t,it=S;R=e;var Dt=n;switch(it.tag){case 1:if(W=it.payload,typeof W=="function"){_=W.call(Dt,_,R);break t}_=W;break t;case 3:W.flags=W.flags&-65537|128;case 0:if(W=it.payload,R=typeof W=="function"?W.call(Dt,_,R):W,R==null)break t;_=E({},_,R);break t;case 2:qn=!0}}R=S.callback,R!==null&&(t.flags|=64,H&&(t.flags|=8192),H=s.callbacks,H===null?s.callbacks=[R]:H.push(R))}else H={lane:R,tag:S.tag,payload:S.payload,callback:S.callback,next:null},w===null?(D=w=H,T=_):w=w.next=H,m|=R;if(S=S.next,S===null){if(S=s.shared.pending,S===null)break;H=S,S=H.next,H.next=null,s.lastBaseUpdate=H,s.shared.pending=null}}while(!0);w===null&&(T=_),s.baseState=T,s.firstBaseUpdate=D,s.lastBaseUpdate=w,o===null&&(s.shared.lanes=0),Pn|=m,t.lanes=m,t.memoizedState=_}}function pm(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function ym(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)pm(n[t],e)}var pi=x(null),Gs=x(0);function gm(t,e){t=An,P(Gs,t),P(pi,e),An=t|e.baseLanes}function ic(){P(Gs,An),P(pi,pi.current)}function lc(){An=Gs.current,G(pi),G(Gs)}var Le=x(null),qe=null;function kn(t){var e=t.alternate;P(Gt,Gt.current&1),P(Le,t),qe===null&&(e===null||pi.current!==null||e.memoizedState!==null)&&(qe=t)}function sc(t){P(Gt,Gt.current),P(Le,t),qe===null&&(qe=t)}function vm(t){t.tag===22?(P(Gt,Gt.current),P(Le,t),qe===null&&(qe=t)):Kn()}function Kn(){P(Gt,Gt.current),P(Le,Le.current)}function Ce(t){G(Le),qe===t&&(qe=null),G(Gt)}var Gt=x(0);function qs(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||d0(n)||h0(n)))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}var mn=0,ft=null,Lt=null,kt=null,Ys=!1,yi=!1,La=!1,Xs=0,Al=0,gi=null,V5=0;function Ut(){throw Error(c(321))}function uc(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!xe(t[n],e[n]))return!1;return!0}function rc(t,e,n,l,s,o){return mn=o,ft=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,N.H=t===null||t.memoizedState===null?e6:Tc,La=!1,o=n(l,s),La=!1,yi&&(o=bm(e,n,l,s)),Sm(t),o}function Sm(t){N.H=xl;var e=Lt!==null&&Lt.next!==null;if(mn=0,kt=Lt=ft=null,Ys=!1,Al=0,gi=null,e)throw Error(c(300));t===null||Kt||(t=t.dependencies,t!==null&&zs(t)&&(Kt=!0))}function bm(t,e,n,l){ft=t;var s=0;do{if(yi&&(gi=null),Al=0,yi=!1,25<=s)throw Error(c(301));if(s+=1,kt=Lt=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}N.H=n6,o=e(n,l)}while(yi);return o}function L5(){var t=N.H,e=t.useState()[0];return e=typeof e.then=="function"?Tl(e):e,t=t.useState()[0],(Lt!==null?Lt.memoizedState:null)!==t&&(ft.flags|=1024),e}function oc(){var t=Xs!==0;return Xs=0,t}function cc(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function fc(t){if(Ys){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Ys=!1}mn=0,kt=Lt=ft=null,yi=!1,Al=Xs=0,gi=null}function ce(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kt===null?ft.memoizedState=kt=t:kt=kt.next=t,kt}function qt(){if(Lt===null){var t=ft.alternate;t=t!==null?t.memoizedState:null}else t=Lt.next;var e=kt===null?ft.memoizedState:kt.next;if(e!==null)kt=e,Lt=t;else{if(t===null)throw ft.alternate===null?Error(c(467)):Error(c(310));Lt=t,t={memoizedState:Lt.memoizedState,baseState:Lt.baseState,baseQueue:Lt.baseQueue,queue:Lt.queue,next:null},kt===null?ft.memoizedState=kt=t:kt=kt.next=t}return kt}function ks(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Tl(t){var e=Al;return Al+=1,gi===null&&(gi=[]),t=cm(gi,t,e),e=ft,(kt===null?e.memoizedState:kt.next)===null&&(e=e.alternate,N.H=e===null||e.memoizedState===null?e6:Tc),t}function Ks(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Tl(t);if(t.$$typeof===q)return ie(t)}throw Error(c(438,String(t)))}function dc(t){var e=null,n=ft.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var l=ft.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(s){return s.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=ks(),ft.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),l=0;l<t;l++)n[l]=Rt;return e.index++,n}function pn(t,e){return typeof e=="function"?e(t):e}function Fs(t){var e=qt();return hc(e,Lt,t)}function hc(t,e,n){var l=t.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=n;var s=t.baseQueue,o=l.pending;if(o!==null){if(s!==null){var m=s.next;s.next=o.next,o.next=m}e.baseQueue=s=o,l.pending=null}if(o=t.baseState,s===null)t.memoizedState=o;else{e=s.next;var S=m=null,T=null,D=e,w=!1;do{var _=D.lane&-536870913;if(_!==D.lane?(gt&_)===_:(mn&_)===_){var R=D.revertLane;if(R===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),_===fi&&(w=!0);else if((mn&R)===R){D=D.next,R===fi&&(w=!0);continue}else _={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},T===null?(S=T=_,m=o):T=T.next=_,ft.lanes|=R,Pn|=R;_=D.action,La&&n(o,_),o=D.hasEagerState?D.eagerState:n(o,_)}else R={lane:_,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},T===null?(S=T=R,m=o):T=T.next=R,ft.lanes|=_,Pn|=_;D=D.next}while(D!==null&&D!==e);if(T===null?m=o:T.next=S,!xe(o,t.memoizedState)&&(Kt=!0,w&&(n=di,n!==null)))throw n;t.memoizedState=o,t.baseState=m,t.baseQueue=T,l.lastRenderedState=o}return s===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function mc(t){var e=qt(),n=e.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=t;var l=n.dispatch,s=n.pending,o=e.memoizedState;if(s!==null){n.pending=null;var m=s=s.next;do o=t(o,m.action),m=m.next;while(m!==s);xe(o,e.memoizedState)||(Kt=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),n.lastRenderedState=o}return[o,l]}function Em(t,e,n){var l=ft,s=qt(),o=St;if(o){if(n===void 0)throw Error(c(407));n=n()}else n=e();var m=!xe((Lt||s).memoizedState,n);if(m&&(s.memoizedState=n,Kt=!0),s=s.queue,gc(Mm.bind(null,l,s,t),[t]),s.getSnapshot!==e||m||kt!==null&&kt.memoizedState.tag&1){if(l.flags|=2048,vi(9,{destroy:void 0},Tm.bind(null,l,s,n,e),null),Ht===null)throw Error(c(349));o||(mn&127)!==0||Am(l,e,n)}return n}function Am(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=ft.updateQueue,e===null?(e=ks(),ft.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Tm(t,e,n,l){e.value=n,e.getSnapshot=l,xm(e)&&Vm(t)}function Mm(t,e,n){return n(function(){xm(e)&&Vm(t)})}function xm(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!xe(t,n)}catch{return!0}}function Vm(t){var e=va(t,2);e!==null&&Se(e,t,2)}function pc(t){var e=ce();if(typeof t=="function"){var n=t;if(t=n(),La){Bn(!0);try{n()}finally{Bn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pn,lastRenderedState:t},e}function Lm(t,e,n,l){return t.baseState=n,hc(t,Lt,typeof l=="function"?l:pn)}function C5(t,e,n,l,s){if(Js(t))throw Error(c(485));if(t=e.action,t!==null){var o={payload:s,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){o.listeners.push(m)}};N.T!==null?n(!0):o.isTransition=!1,l(o),n=e.pending,n===null?(o.next=e.pending=o,Cm(e,o)):(o.next=n.next,e.pending=n.next=o)}}function Cm(t,e){var n=e.action,l=e.payload,s=t.state;if(e.isTransition){var o=N.T,m={};N.T=m;try{var S=n(s,l),T=N.S;T!==null&&T(m,S),Dm(t,e,S)}catch(D){yc(t,e,D)}finally{o!==null&&m.types!==null&&(o.types=m.types),N.T=o}}else try{o=n(s,l),Dm(t,e,o)}catch(D){yc(t,e,D)}}function Dm(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){Rm(t,e,l)},function(l){return yc(t,e,l)}):Rm(t,e,n)}function Rm(t,e,n){e.status="fulfilled",e.value=n,Hm(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Cm(t,n)))}function yc(t,e,n){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=n,Hm(e),e=e.next;while(e!==l)}t.action=null}function Hm(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function jm(t,e){return e}function Om(t,e){if(St){var n=Ht.formState;if(n!==null){t:{var l=ft;if(St){if(jt){e:{for(var s=jt,o=Ge;s.nodeType!==8;){if(!o){s=null;break e}if(s=Ye(s.nextSibling),s===null){s=null;break e}}o=s.data,s=o==="F!"||o==="F"?s:null}if(s){jt=Ye(s.nextSibling),l=s.data==="F!";break t}}_n(l)}l=!1}l&&(e=n[0])}}return n=ce(),n.memoizedState=n.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jm,lastRenderedState:e},n.queue=l,n=Wm.bind(null,ft,l),l.dispatch=n,l=pc(!1),o=Ac.bind(null,ft,!1,l.queue),l=ce(),s={state:e,dispatch:null,action:t,pending:null},l.queue=s,n=C5.bind(null,ft,s,o,n),s.dispatch=n,l.memoizedState=t,[e,n,!1]}function zm(t){var e=qt();return Bm(e,Lt,t)}function Bm(t,e,n){if(e=hc(t,e,jm)[0],t=Fs(pn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=Tl(e)}catch(m){throw m===hi?Ns:m}else l=e;e=qt();var s=e.queue,o=s.dispatch;return n!==e.memoizedState&&(ft.flags|=2048,vi(9,{destroy:void 0},D5.bind(null,s,n),null)),[l,o,t]}function D5(t,e){t.action=e}function wm(t){var e=qt(),n=Lt;if(n!==null)return Bm(e,n,t);qt(),e=e.memoizedState,n=qt();var l=n.queue.dispatch;return n.memoizedState=t,[e,l,!1]}function vi(t,e,n,l){return t={tag:t,create:n,deps:l,inst:e,next:null},e=ft.updateQueue,e===null&&(e=ks(),ft.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(l=n.next,n.next=t,t.next=l,e.lastEffect=t),t}function Nm(){return qt().memoizedState}function Qs(t,e,n,l){var s=ce();ft.flags|=t,s.memoizedState=vi(1|e,{destroy:void 0},n,l===void 0?null:l)}function Ps(t,e,n,l){var s=qt();l=l===void 0?null:l;var o=s.memoizedState.inst;Lt!==null&&l!==null&&uc(l,Lt.memoizedState.deps)?s.memoizedState=vi(e,o,n,l):(ft.flags|=t,s.memoizedState=vi(1|e,o,n,l))}function Zm(t,e){Qs(8390656,8,t,e)}function gc(t,e){Ps(2048,8,t,e)}function R5(t){ft.flags|=4;var e=ft.updateQueue;if(e===null)e=ks(),ft.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Um(t){var e=qt().memoizedState;return R5({ref:e,nextImpl:t}),function(){if((Tt&2)!==0)throw Error(c(440));return e.impl.apply(void 0,arguments)}}function _m(t,e){return Ps(4,2,t,e)}function Gm(t,e){return Ps(4,4,t,e)}function qm(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Ym(t,e,n){n=n!=null?n.concat([t]):null,Ps(4,4,qm.bind(null,e,t),n)}function vc(){}function Xm(t,e){var n=qt();e=e===void 0?null:e;var l=n.memoizedState;return e!==null&&uc(e,l[1])?l[0]:(n.memoizedState=[t,e],t)}function km(t,e){var n=qt();e=e===void 0?null:e;var l=n.memoizedState;if(e!==null&&uc(e,l[1]))return l[0];if(l=t(),La){Bn(!0);try{t()}finally{Bn(!1)}}return n.memoizedState=[l,e],l}function Sc(t,e,n){return n===void 0||(mn&1073741824)!==0&&(gt&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=K6(),ft.lanes|=t,Pn|=t,n)}function Km(t,e,n,l){return xe(n,e)?n:pi.current!==null?(t=Sc(t,n,l),xe(t,e)||(Kt=!0),t):(mn&42)===0||(mn&1073741824)!==0&&(gt&261930)===0?(Kt=!0,t.memoizedState=n):(t=K6(),ft.lanes|=t,Pn|=t,e)}function Fm(t,e,n,l,s){var o=X.p;X.p=o!==0&&8>o?o:8;var m=N.T,S={};N.T=S,Ac(t,!1,e,n);try{var T=s(),D=N.S;if(D!==null&&D(S,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var w=x5(T,l);Ml(t,e,w,He(t))}else Ml(t,e,l,He(t))}catch(_){Ml(t,e,{then:function(){},status:"rejected",reason:_},He())}finally{X.p=o,m!==null&&S.types!==null&&(m.types=S.types),N.T=m}}function H5(){}function bc(t,e,n,l){if(t.tag!==5)throw Error(c(476));var s=Qm(t).queue;Fm(t,s,e,ot,n===null?H5:function(){return Pm(t),n(l)})}function Qm(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:ot,baseState:ot,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pn,lastRenderedState:ot},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Pm(t){var e=Qm(t);e.next===null&&(e=t.alternate.memoizedState),Ml(t,e.next.queue,{},He())}function Ec(){return ie(Gl)}function Jm(){return qt().memoizedState}function $m(){return qt().memoizedState}function j5(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=He();t=Yn(n);var l=Xn(e,t,n);l!==null&&(Se(l,e,n),Sl(l,e,n)),e={cache:Jo()},t.payload=e;return}e=e.return}}function O5(t,e,n){var l=He();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Js(t)?Im(e,n):(n=Uo(t,e,n,l),n!==null&&(Se(n,t,l),t6(n,e,l)))}function Wm(t,e,n){var l=He();Ml(t,e,n,l)}function Ml(t,e,n,l){var s={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Js(t))Im(e,s);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var m=e.lastRenderedState,S=o(m,n);if(s.hasEagerState=!0,s.eagerState=S,xe(S,m))return Rs(t,e,s,0),Ht===null&&Ds(),!1}catch{}finally{}if(n=Uo(t,e,s,l),n!==null)return Se(n,t,l),t6(n,e,l),!0}return!1}function Ac(t,e,n,l){if(l={lane:2,revertLane:t0(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Js(t)){if(e)throw Error(c(479))}else e=Uo(t,n,l,2),e!==null&&Se(e,t,2)}function Js(t){var e=t.alternate;return t===ft||e!==null&&e===ft}function Im(t,e){yi=Ys=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function t6(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,lh(t,n)}}var xl={readContext:ie,use:Ks,useCallback:Ut,useContext:Ut,useEffect:Ut,useImperativeHandle:Ut,useLayoutEffect:Ut,useInsertionEffect:Ut,useMemo:Ut,useReducer:Ut,useRef:Ut,useState:Ut,useDebugValue:Ut,useDeferredValue:Ut,useTransition:Ut,useSyncExternalStore:Ut,useId:Ut,useHostTransitionStatus:Ut,useFormState:Ut,useActionState:Ut,useOptimistic:Ut,useMemoCache:Ut,useCacheRefresh:Ut};xl.useEffectEvent=Ut;var e6={readContext:ie,use:Ks,useCallback:function(t,e){return ce().memoizedState=[t,e===void 0?null:e],t},useContext:ie,useEffect:Zm,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Qs(4194308,4,qm.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Qs(4194308,4,t,e)},useInsertionEffect:function(t,e){Qs(4,2,t,e)},useMemo:function(t,e){var n=ce();e=e===void 0?null:e;var l=t();if(La){Bn(!0);try{t()}finally{Bn(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=ce();if(n!==void 0){var s=n(e);if(La){Bn(!0);try{n(e)}finally{Bn(!1)}}}else s=e;return l.memoizedState=l.baseState=s,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:s},l.queue=t,t=t.dispatch=O5.bind(null,ft,t),[l.memoizedState,t]},useRef:function(t){var e=ce();return t={current:t},e.memoizedState=t},useState:function(t){t=pc(t);var e=t.queue,n=Wm.bind(null,ft,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:vc,useDeferredValue:function(t,e){var n=ce();return Sc(n,t,e)},useTransition:function(){var t=pc(!1);return t=Fm.bind(null,ft,t.queue,!0,!1),ce().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=ft,s=ce();if(St){if(n===void 0)throw Error(c(407));n=n()}else{if(n=e(),Ht===null)throw Error(c(349));(gt&127)!==0||Am(l,e,n)}s.memoizedState=n;var o={value:n,getSnapshot:e};return s.queue=o,Zm(Mm.bind(null,l,o,t),[t]),l.flags|=2048,vi(9,{destroy:void 0},Tm.bind(null,l,o,n,e),null),n},useId:function(){var t=ce(),e=Ht.identifierPrefix;if(St){var n=tn,l=Ie;n=(l&~(1<<32-Me(l)-1)).toString(32)+n,e="_"+e+"R_"+n,n=Xs++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=V5++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Ec,useFormState:Om,useActionState:Om,useOptimistic:function(t){var e=ce();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=Ac.bind(null,ft,!0,n),n.dispatch=e,[t,e]},useMemoCache:dc,useCacheRefresh:function(){return ce().memoizedState=j5.bind(null,ft)},useEffectEvent:function(t){var e=ce(),n={impl:t};return e.memoizedState=n,function(){if((Tt&2)!==0)throw Error(c(440));return n.impl.apply(void 0,arguments)}}},Tc={readContext:ie,use:Ks,useCallback:Xm,useContext:ie,useEffect:gc,useImperativeHandle:Ym,useInsertionEffect:_m,useLayoutEffect:Gm,useMemo:km,useReducer:Fs,useRef:Nm,useState:function(){return Fs(pn)},useDebugValue:vc,useDeferredValue:function(t,e){var n=qt();return Km(n,Lt.memoizedState,t,e)},useTransition:function(){var t=Fs(pn)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:Tl(t),e]},useSyncExternalStore:Em,useId:Jm,useHostTransitionStatus:Ec,useFormState:zm,useActionState:zm,useOptimistic:function(t,e){var n=qt();return Lm(n,Lt,t,e)},useMemoCache:dc,useCacheRefresh:$m};Tc.useEffectEvent=Um;var n6={readContext:ie,use:Ks,useCallback:Xm,useContext:ie,useEffect:gc,useImperativeHandle:Ym,useInsertionEffect:_m,useLayoutEffect:Gm,useMemo:km,useReducer:mc,useRef:Nm,useState:function(){return mc(pn)},useDebugValue:vc,useDeferredValue:function(t,e){var n=qt();return Lt===null?Sc(n,t,e):Km(n,Lt.memoizedState,t,e)},useTransition:function(){var t=mc(pn)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:Tl(t),e]},useSyncExternalStore:Em,useId:Jm,useHostTransitionStatus:Ec,useFormState:wm,useActionState:wm,useOptimistic:function(t,e){var n=qt();return Lt!==null?Lm(n,Lt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:dc,useCacheRefresh:$m};n6.useEffectEvent=Um;function Mc(t,e,n,l){e=t.memoizedState,n=n(l,e),n=n==null?e:E({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var xc={enqueueSetState:function(t,e,n){t=t._reactInternals;var l=He(),s=Yn(l);s.payload=e,n!=null&&(s.callback=n),e=Xn(t,s,l),e!==null&&(Se(e,t,l),Sl(e,t,l))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var l=He(),s=Yn(l);s.tag=1,s.payload=e,n!=null&&(s.callback=n),e=Xn(t,s,l),e!==null&&(Se(e,t,l),Sl(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=He(),l=Yn(n);l.tag=2,e!=null&&(l.callback=e),e=Xn(t,l,n),e!==null&&(Se(e,t,n),Sl(e,t,n))}};function a6(t,e,n,l,s,o,m){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,o,m):e.prototype&&e.prototype.isPureReactComponent?!fl(n,l)||!fl(s,o):!0}function i6(t,e,n,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,l),e.state!==t&&xc.enqueueReplaceState(e,e.state,null)}function Ca(t,e){var n=e;if("ref"in e){n={};for(var l in e)l!=="ref"&&(n[l]=e[l])}if(t=t.defaultProps){n===e&&(n=E({},n));for(var s in t)n[s]===void 0&&(n[s]=t[s])}return n}function l6(t){Cs(t)}function s6(t){console.error(t)}function u6(t){Cs(t)}function $s(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function r6(t,e,n){try{var l=t.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Vc(t,e,n){return n=Yn(n),n.tag=3,n.payload={element:null},n.callback=function(){$s(t,e)},n}function o6(t){return t=Yn(t),t.tag=3,t}function c6(t,e,n,l){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var o=l.value;t.payload=function(){return s(o)},t.callback=function(){r6(e,n,l)}}var m=n.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(t.callback=function(){r6(e,n,l),typeof s!="function"&&(Jn===null?Jn=new Set([this]):Jn.add(this));var S=l.stack;this.componentDidCatch(l.value,{componentStack:S!==null?S:""})})}function z5(t,e,n,l,s){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=n.alternate,e!==null&&ci(e,n,s,!0),n=Le.current,n!==null){switch(n.tag){case 31:case 13:return qe===null?ou():n.alternate===null&&_t===0&&(_t=3),n.flags&=-257,n.flags|=65536,n.lanes=s,l===Zs?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([l]):e.add(l),$c(t,l,s)),!1;case 22:return n.flags|=65536,l===Zs?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([l]):n.add(l)),$c(t,l,s)),!1}throw Error(c(435,n.tag))}return $c(t,l,s),ou(),!1}if(St)return e=Le.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=s,l!==ko&&(t=Error(c(422),{cause:l}),ml(Ze(t,n)))):(l!==ko&&(e=Error(c(423),{cause:l}),ml(Ze(e,n))),t=t.current.alternate,t.flags|=65536,s&=-s,t.lanes|=s,l=Ze(l,n),s=Vc(t.stateNode,l,s),nc(t,s),_t!==4&&(_t=2)),!1;var o=Error(c(520),{cause:l});if(o=Ze(o,n),Ol===null?Ol=[o]:Ol.push(o),_t!==4&&(_t=2),e===null)return!0;l=Ze(l,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=s&-s,n.lanes|=t,t=Vc(n.stateNode,l,t),nc(n,t),!1;case 1:if(e=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(Jn===null||!Jn.has(o))))return n.flags|=65536,s&=-s,n.lanes|=s,s=o6(s),c6(s,t,n,l),nc(n,s),!1}n=n.return}while(n!==null);return!1}var Lc=Error(c(461)),Kt=!1;function le(t,e,n,l){e.child=t===null?mm(e,null,n,l):Va(e,t.child,n,l)}function f6(t,e,n,l,s){n=n.render;var o=e.ref;if("ref"in l){var m={};for(var S in l)S!=="ref"&&(m[S]=l[S])}else m=l;return Aa(e),l=rc(t,e,n,m,o,s),S=oc(),t!==null&&!Kt?(cc(t,e,s),yn(t,e,s)):(St&&S&&Yo(e),e.flags|=1,le(t,e,l,s),e.child)}function d6(t,e,n,l,s){if(t===null){var o=n.type;return typeof o=="function"&&!_o(o)&&o.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=o,h6(t,e,o,l,s)):(t=js(n.type,null,l,e,e.mode,s),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!Bc(t,s)){var m=o.memoizedProps;if(n=n.compare,n=n!==null?n:fl,n(m,l)&&t.ref===e.ref)return yn(t,e,s)}return e.flags|=1,t=cn(o,l),t.ref=e.ref,t.return=e,e.child=t}function h6(t,e,n,l,s){if(t!==null){var o=t.memoizedProps;if(fl(o,l)&&t.ref===e.ref)if(Kt=!1,e.pendingProps=l=o,Bc(t,s))(t.flags&131072)!==0&&(Kt=!0);else return e.lanes=t.lanes,yn(t,e,s)}return Cc(t,e,n,l,s)}function m6(t,e,n,l){var s=l.children,o=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(o=o!==null?o.baseLanes|n:n,t!==null){for(l=e.child=t.child,s=0;l!==null;)s=s|l.lanes|l.childLanes,l=l.sibling;l=s&~o}else l=0,e.child=null;return p6(t,e,o,n,l)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&ws(e,o!==null?o.cachePool:null),o!==null?gm(e,o):ic(),vm(e);else return l=e.lanes=536870912,p6(t,e,o!==null?o.baseLanes|n:n,n,l)}else o!==null?(ws(e,o.cachePool),gm(e,o),Kn(),e.memoizedState=null):(t!==null&&ws(e,null),ic(),Kn());return le(t,e,s,n),e.child}function Vl(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function p6(t,e,n,l,s){var o=Wo();return o=o===null?null:{parent:Xt._currentValue,pool:o},e.memoizedState={baseLanes:n,cachePool:o},t!==null&&ws(e,null),ic(),vm(e),t!==null&&ci(t,e,l,!0),e.childLanes=s,null}function Ws(t,e){return e=tu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function y6(t,e,n){return Va(e,t.child,null,n),t=Ws(e,e.pendingProps),t.flags|=2,Ce(e),e.memoizedState=null,t}function B5(t,e,n){var l=e.pendingProps,s=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(St){if(l.mode==="hidden")return t=Ws(e,l),e.lanes=536870912,Vl(null,t);if(sc(e),(t=jt)?(t=C8(t,Ge),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Zn!==null?{id:Ie,overflow:tn}:null,retryLane:536870912,hydrationErrors:null},n=Ih(t),n.return=e,e.child=n,ae=e,jt=null)):t=null,t===null)throw _n(e);return e.lanes=536870912,null}return Ws(e,l)}var o=t.memoizedState;if(o!==null){var m=o.dehydrated;if(sc(e),s)if(e.flags&256)e.flags&=-257,e=y6(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(c(558));else if(Kt||ci(t,e,n,!1),s=(n&t.childLanes)!==0,Kt||s){if(l=Ht,l!==null&&(m=sh(l,n),m!==0&&m!==o.retryLane))throw o.retryLane=m,va(t,m),Se(l,t,m),Lc;ou(),e=y6(t,e,n)}else t=o.treeContext,jt=Ye(m.nextSibling),ae=e,St=!0,Un=null,Ge=!1,t!==null&&nm(e,t),e=Ws(e,l),e.flags|=4096;return e}return t=cn(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Is(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(c(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function Cc(t,e,n,l,s){return Aa(e),n=rc(t,e,n,l,void 0,s),l=oc(),t!==null&&!Kt?(cc(t,e,s),yn(t,e,s)):(St&&l&&Yo(e),e.flags|=1,le(t,e,n,s),e.child)}function g6(t,e,n,l,s,o){return Aa(e),e.updateQueue=null,n=bm(e,l,n,s),Sm(t),l=oc(),t!==null&&!Kt?(cc(t,e,o),yn(t,e,o)):(St&&l&&Yo(e),e.flags|=1,le(t,e,n,o),e.child)}function v6(t,e,n,l,s){if(Aa(e),e.stateNode===null){var o=si,m=n.contextType;typeof m=="object"&&m!==null&&(o=ie(m)),o=new n(l,o),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=xc,e.stateNode=o,o._reactInternals=e,o=e.stateNode,o.props=l,o.state=e.memoizedState,o.refs={},tc(e),m=n.contextType,o.context=typeof m=="object"&&m!==null?ie(m):si,o.state=e.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(Mc(e,n,m,l),o.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(m=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),m!==o.state&&xc.enqueueReplaceState(o,o.state,null),El(e,l,o,s),bl(),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){o=e.stateNode;var S=e.memoizedProps,T=Ca(n,S);o.props=T;var D=o.context,w=n.contextType;m=si,typeof w=="object"&&w!==null&&(m=ie(w));var _=n.getDerivedStateFromProps;w=typeof _=="function"||typeof o.getSnapshotBeforeUpdate=="function",S=e.pendingProps!==S,w||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(S||D!==m)&&i6(e,o,l,m),qn=!1;var R=e.memoizedState;o.state=R,El(e,l,o,s),bl(),D=e.memoizedState,S||R!==D||qn?(typeof _=="function"&&(Mc(e,n,_,l),D=e.memoizedState),(T=qn||a6(e,n,T,l,R,D,m))?(w||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=D),o.props=l,o.state=D,o.context=m,l=T):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{o=e.stateNode,ec(t,e),m=e.memoizedProps,w=Ca(n,m),o.props=w,_=e.pendingProps,R=o.context,D=n.contextType,T=si,typeof D=="object"&&D!==null&&(T=ie(D)),S=n.getDerivedStateFromProps,(D=typeof S=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(m!==_||R!==T)&&i6(e,o,l,T),qn=!1,R=e.memoizedState,o.state=R,El(e,l,o,s),bl();var H=e.memoizedState;m!==_||R!==H||qn||t!==null&&t.dependencies!==null&&zs(t.dependencies)?(typeof S=="function"&&(Mc(e,n,S,l),H=e.memoizedState),(w=qn||a6(e,n,w,l,R,H,T)||t!==null&&t.dependencies!==null&&zs(t.dependencies))?(D||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(l,H,T),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(l,H,T)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||m===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=H),o.props=l,o.state=H,o.context=T,l=w):(typeof o.componentDidUpdate!="function"||m===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),l=!1)}return o=l,Is(t,e),l=(e.flags&128)!==0,o||l?(o=e.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:o.render(),e.flags|=1,t!==null&&l?(e.child=Va(e,t.child,null,s),e.child=Va(e,null,n,s)):le(t,e,n,s),e.memoizedState=o.state,t=e.child):t=yn(t,e,s),t}function S6(t,e,n,l){return ba(),e.flags|=256,le(t,e,n,l),e.child}var Dc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Rc(t){return{baseLanes:t,cachePool:rm()}}function Hc(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=Re),t}function b6(t,e,n){var l=e.pendingProps,s=!1,o=(e.flags&128)!==0,m;if((m=o)||(m=t!==null&&t.memoizedState===null?!1:(Gt.current&2)!==0),m&&(s=!0,e.flags&=-129),m=(e.flags&32)!==0,e.flags&=-33,t===null){if(St){if(s?kn(e):Kn(),(t=jt)?(t=C8(t,Ge),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Zn!==null?{id:Ie,overflow:tn}:null,retryLane:536870912,hydrationErrors:null},n=Ih(t),n.return=e,e.child=n,ae=e,jt=null)):t=null,t===null)throw _n(e);return h0(t)?e.lanes=32:e.lanes=536870912,null}var S=l.children;return l=l.fallback,s?(Kn(),s=e.mode,S=tu({mode:"hidden",children:S},s),l=Sa(l,s,n,null),S.return=e,l.return=e,S.sibling=l,e.child=S,l=e.child,l.memoizedState=Rc(n),l.childLanes=Hc(t,m,n),e.memoizedState=Dc,Vl(null,l)):(kn(e),jc(e,S))}var T=t.memoizedState;if(T!==null&&(S=T.dehydrated,S!==null)){if(o)e.flags&256?(kn(e),e.flags&=-257,e=Oc(t,e,n)):e.memoizedState!==null?(Kn(),e.child=t.child,e.flags|=128,e=null):(Kn(),S=l.fallback,s=e.mode,l=tu({mode:"visible",children:l.children},s),S=Sa(S,s,n,null),S.flags|=2,l.return=e,S.return=e,l.sibling=S,e.child=l,Va(e,t.child,null,n),l=e.child,l.memoizedState=Rc(n),l.childLanes=Hc(t,m,n),e.memoizedState=Dc,e=Vl(null,l));else if(kn(e),h0(S)){if(m=S.nextSibling&&S.nextSibling.dataset,m)var D=m.dgst;m=D,l=Error(c(419)),l.stack="",l.digest=m,ml({value:l,source:null,stack:null}),e=Oc(t,e,n)}else if(Kt||ci(t,e,n,!1),m=(n&t.childLanes)!==0,Kt||m){if(m=Ht,m!==null&&(l=sh(m,n),l!==0&&l!==T.retryLane))throw T.retryLane=l,va(t,l),Se(m,t,l),Lc;d0(S)||ou(),e=Oc(t,e,n)}else d0(S)?(e.flags|=192,e.child=t.child,e=null):(t=T.treeContext,jt=Ye(S.nextSibling),ae=e,St=!0,Un=null,Ge=!1,t!==null&&nm(e,t),e=jc(e,l.children),e.flags|=4096);return e}return s?(Kn(),S=l.fallback,s=e.mode,T=t.child,D=T.sibling,l=cn(T,{mode:"hidden",children:l.children}),l.subtreeFlags=T.subtreeFlags&65011712,D!==null?S=cn(D,S):(S=Sa(S,s,n,null),S.flags|=2),S.return=e,l.return=e,l.sibling=S,e.child=l,Vl(null,l),l=e.child,S=t.child.memoizedState,S===null?S=Rc(n):(s=S.cachePool,s!==null?(T=Xt._currentValue,s=s.parent!==T?{parent:T,pool:T}:s):s=rm(),S={baseLanes:S.baseLanes|n,cachePool:s}),l.memoizedState=S,l.childLanes=Hc(t,m,n),e.memoizedState=Dc,Vl(t.child,l)):(kn(e),n=t.child,t=n.sibling,n=cn(n,{mode:"visible",children:l.children}),n.return=e,n.sibling=null,t!==null&&(m=e.deletions,m===null?(e.deletions=[t],e.flags|=16):m.push(t)),e.child=n,e.memoizedState=null,n)}function jc(t,e){return e=tu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function tu(t,e){return t=Ve(22,t,null,e),t.lanes=0,t}function Oc(t,e,n){return Va(e,t.child,null,n),t=jc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function E6(t,e,n){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),Qo(t.return,e,n)}function zc(t,e,n,l,s,o){var m=t.memoizedState;m===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:s,treeForkCount:o}:(m.isBackwards=e,m.rendering=null,m.renderingStartTime=0,m.last=l,m.tail=n,m.tailMode=s,m.treeForkCount=o)}function A6(t,e,n){var l=e.pendingProps,s=l.revealOrder,o=l.tail;l=l.children;var m=Gt.current,S=(m&2)!==0;if(S?(m=m&1|2,e.flags|=128):m&=1,P(Gt,m),le(t,e,l,n),l=St?hl:0,!S&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&E6(t,n,e);else if(t.tag===19)E6(t,n,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(s){case"forwards":for(n=e.child,s=null;n!==null;)t=n.alternate,t!==null&&qs(t)===null&&(s=n),n=n.sibling;n=s,n===null?(s=e.child,e.child=null):(s=n.sibling,n.sibling=null),zc(e,!1,s,n,o,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=e.child,e.child=null;s!==null;){if(t=s.alternate,t!==null&&qs(t)===null){e.child=s;break}t=s.sibling,s.sibling=n,n=s,s=t}zc(e,!0,n,null,o,l);break;case"together":zc(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function yn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Pn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(ci(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,n=cn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=cn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Bc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&zs(t)))}function w5(t,e,n){switch(e.tag){case 3:Jt(e,e.stateNode.containerInfo),Gn(e,Xt,t.memoizedState.cache),ba();break;case 27:case 5:On(e);break;case 4:Jt(e,e.stateNode.containerInfo);break;case 10:Gn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,sc(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(kn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?b6(t,e,n):(kn(e),t=yn(t,e,n),t!==null?t.sibling:null);kn(e);break;case 19:var s=(t.flags&128)!==0;if(l=(n&e.childLanes)!==0,l||(ci(t,e,n,!1),l=(n&e.childLanes)!==0),s){if(l)return A6(t,e,n);e.flags|=128}if(s=e.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),P(Gt,Gt.current),l)break;return null;case 22:return e.lanes=0,m6(t,e,n,e.pendingProps);case 24:Gn(e,Xt,t.memoizedState.cache)}return yn(t,e,n)}function T6(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Kt=!0;else{if(!Bc(t,n)&&(e.flags&128)===0)return Kt=!1,w5(t,e,n);Kt=(t.flags&131072)!==0}else Kt=!1,St&&(e.flags&1048576)!==0&&em(e,hl,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=Ma(e.elementType),e.type=t,typeof t=="function")_o(t)?(l=Ca(t,l),e.tag=1,e=v6(null,e,t,l,n)):(e.tag=0,e=Cc(null,e,t,l,n));else{if(t!=null){var s=t.$$typeof;if(s===z){e.tag=11,e=f6(null,e,t,l,n);break t}else if(s===K){e.tag=14,e=d6(null,e,t,l,n);break t}}throw e=mt(t)||t,Error(c(306,e,""))}}return e;case 0:return Cc(t,e,e.type,e.pendingProps,n);case 1:return l=e.type,s=Ca(l,e.pendingProps),v6(t,e,l,s,n);case 3:t:{if(Jt(e,e.stateNode.containerInfo),t===null)throw Error(c(387));l=e.pendingProps;var o=e.memoizedState;s=o.element,ec(t,e),El(e,l,null,n);var m=e.memoizedState;if(l=m.cache,Gn(e,Xt,l),l!==o.cache&&Po(e,[Xt],n,!0),bl(),l=m.element,o.isDehydrated)if(o={element:l,isDehydrated:!1,cache:m.cache},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){e=S6(t,e,l,n);break t}else if(l!==s){s=Ze(Error(c(424)),e),ml(s),e=S6(t,e,l,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(jt=Ye(t.firstChild),ae=e,St=!0,Un=null,Ge=!0,n=mm(e,null,l,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(ba(),l===s){e=yn(t,e,n);break t}le(t,e,l,n)}e=e.child}return e;case 26:return Is(t,e),t===null?(n=z8(e.type,null,e.pendingProps,null))?e.memoizedState=n:St||(n=e.type,t=e.pendingProps,l=yu(lt.current).createElement(n),l[ne]=e,l[he]=t,se(l,n,t),It(l),e.stateNode=l):e.memoizedState=z8(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return On(e),t===null&&St&&(l=e.stateNode=H8(e.type,e.pendingProps,lt.current),ae=e,Ge=!0,s=jt,ta(e.type)?(m0=s,jt=Ye(l.firstChild)):jt=s),le(t,e,e.pendingProps.children,n),Is(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&St&&((s=l=jt)&&(l=dS(l,e.type,e.pendingProps,Ge),l!==null?(e.stateNode=l,ae=e,jt=Ye(l.firstChild),Ge=!1,s=!0):s=!1),s||_n(e)),On(e),s=e.type,o=e.pendingProps,m=t!==null?t.memoizedProps:null,l=o.children,o0(s,o)?l=null:m!==null&&o0(s,m)&&(e.flags|=32),e.memoizedState!==null&&(s=rc(t,e,L5,null,null,n),Gl._currentValue=s),Is(t,e),le(t,e,l,n),e.child;case 6:return t===null&&St&&((t=n=jt)&&(n=hS(n,e.pendingProps,Ge),n!==null?(e.stateNode=n,ae=e,jt=null,t=!0):t=!1),t||_n(e)),null;case 13:return b6(t,e,n);case 4:return Jt(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=Va(e,null,l,n):le(t,e,l,n),e.child;case 11:return f6(t,e,e.type,e.pendingProps,n);case 7:return le(t,e,e.pendingProps,n),e.child;case 8:return le(t,e,e.pendingProps.children,n),e.child;case 12:return le(t,e,e.pendingProps.children,n),e.child;case 10:return l=e.pendingProps,Gn(e,e.type,l.value),le(t,e,l.children,n),e.child;case 9:return s=e.type._context,l=e.pendingProps.children,Aa(e),s=ie(s),l=l(s),e.flags|=1,le(t,e,l,n),e.child;case 14:return d6(t,e,e.type,e.pendingProps,n);case 15:return h6(t,e,e.type,e.pendingProps,n);case 19:return A6(t,e,n);case 31:return B5(t,e,n);case 22:return m6(t,e,n,e.pendingProps);case 24:return Aa(e),l=ie(Xt),t===null?(s=Wo(),s===null&&(s=Ht,o=Jo(),s.pooledCache=o,o.refCount++,o!==null&&(s.pooledCacheLanes|=n),s=o),e.memoizedState={parent:l,cache:s},tc(e),Gn(e,Xt,s)):((t.lanes&n)!==0&&(ec(t,e),El(e,null,null,n),bl()),s=t.memoizedState,o=e.memoizedState,s.parent!==l?(s={parent:l,cache:l},e.memoizedState=s,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=s),Gn(e,Xt,l)):(l=o.cache,Gn(e,Xt,l),l!==s.cache&&Po(e,[Xt],n,!0))),le(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function gn(t){t.flags|=4}function wc(t,e,n,l,s){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(s&335544128)===s)if(t.stateNode.complete)t.flags|=8192;else if(J6())t.flags|=8192;else throw xa=Zs,Io}else t.flags&=-16777217}function M6(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!U8(e))if(J6())t.flags|=8192;else throw xa=Zs,Io}function eu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?ah():536870912,t.lanes|=e,Ai|=e)}function Ll(t,e){if(!St)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Ot(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,l=0;if(e)for(var s=t.child;s!==null;)n|=s.lanes|s.childLanes,l|=s.subtreeFlags&65011712,l|=s.flags&65011712,s.return=t,s=s.sibling;else for(s=t.child;s!==null;)n|=s.lanes|s.childLanes,l|=s.subtreeFlags,l|=s.flags,s.return=t,s=s.sibling;return t.subtreeFlags|=l,t.childLanes=n,e}function N5(t,e,n){var l=e.pendingProps;switch(Xo(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ot(e),null;case 1:return Ot(e),null;case 3:return n=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),hn(Xt),Bt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(oi(e)?gn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Ko())),Ot(e),null;case 26:var s=e.type,o=e.memoizedState;return t===null?(gn(e),o!==null?(Ot(e),M6(e,o)):(Ot(e),wc(e,s,null,l,n))):o?o!==t.memoizedState?(gn(e),Ot(e),M6(e,o)):(Ot(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&gn(e),Ot(e),wc(e,s,t,l,n)),null;case 27:if(zn(e),n=lt.current,s=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&gn(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Ot(e),null}t=tt.current,oi(e)?am(e):(t=H8(s,l,n),e.stateNode=t,gn(e))}return Ot(e),null;case 5:if(zn(e),s=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&gn(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Ot(e),null}if(o=tt.current,oi(e))am(e);else{var m=yu(lt.current);switch(o){case 1:o=m.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:o=m.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":o=m.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":o=m.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":o=m.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof l.is=="string"?m.createElement("select",{is:l.is}):m.createElement("select"),l.multiple?o.multiple=!0:l.size&&(o.size=l.size);break;default:o=typeof l.is=="string"?m.createElement(s,{is:l.is}):m.createElement(s)}}o[ne]=e,o[he]=l;t:for(m=e.child;m!==null;){if(m.tag===5||m.tag===6)o.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break t;for(;m.sibling===null;){if(m.return===null||m.return===e)break t;m=m.return}m.sibling.return=m.return,m=m.sibling}e.stateNode=o;t:switch(se(o,s,l),s){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&gn(e)}}return Ot(e),wc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&gn(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(c(166));if(t=lt.current,oi(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,s=ae,s!==null)switch(s.tag){case 27:case 5:l=s.memoizedProps}t[ne]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||b8(t.nodeValue,n)),t||_n(e,!0)}else t=yu(t).createTextNode(l),t[ne]=e,e.stateNode=t}return Ot(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(l=oi(e),n!==null){if(t===null){if(!l)throw Error(c(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(557));t[ne]=e}else ba(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ot(e),t=!1}else n=Ko(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(Ce(e),e):(Ce(e),null);if((e.flags&128)!==0)throw Error(c(558))}return Ot(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(s=oi(e),l!==null&&l.dehydrated!==null){if(t===null){if(!s)throw Error(c(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(c(317));s[ne]=e}else ba(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ot(e),s=!1}else s=Ko(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=s),s=!0;if(!s)return e.flags&256?(Ce(e),e):(Ce(e),null)}return Ce(e),(e.flags&128)!==0?(e.lanes=n,e):(n=l!==null,t=t!==null&&t.memoizedState!==null,n&&(l=e.child,s=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(s=l.alternate.memoizedState.cachePool.pool),o=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(o=l.memoizedState.cachePool.pool),o!==s&&(l.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),eu(e,e.updateQueue),Ot(e),null);case 4:return Bt(),t===null&&i0(e.stateNode.containerInfo),Ot(e),null;case 10:return hn(e.type),Ot(e),null;case 19:if(G(Gt),l=e.memoizedState,l===null)return Ot(e),null;if(s=(e.flags&128)!==0,o=l.rendering,o===null)if(s)Ll(l,!1);else{if(_t!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=qs(t),o!==null){for(e.flags|=128,Ll(l,!1),t=o.updateQueue,e.updateQueue=t,eu(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)Wh(n,t),n=n.sibling;return P(Gt,Gt.current&1|2),St&&fn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&Ae()>su&&(e.flags|=128,s=!0,Ll(l,!1),e.lanes=4194304)}else{if(!s)if(t=qs(o),t!==null){if(e.flags|=128,s=!0,t=t.updateQueue,e.updateQueue=t,eu(e,t),Ll(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!St)return Ot(e),null}else 2*Ae()-l.renderingStartTime>su&&n!==536870912&&(e.flags|=128,s=!0,Ll(l,!1),e.lanes=4194304);l.isBackwards?(o.sibling=e.child,e.child=o):(t=l.last,t!==null?t.sibling=o:e.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ae(),t.sibling=null,n=Gt.current,P(Gt,s?n&1|2:n&1),St&&fn(e,l.treeForkCount),t):(Ot(e),null);case 22:case 23:return Ce(e),lc(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(Ot(e),e.subtreeFlags&6&&(e.flags|=8192)):Ot(e),n=e.updateQueue,n!==null&&eu(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&G(Ta),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),hn(Xt),Ot(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function Z5(t,e){switch(Xo(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return hn(Xt),Bt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return zn(e),null;case 31:if(e.memoizedState!==null){if(Ce(e),e.alternate===null)throw Error(c(340));ba()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ce(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));ba()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return G(Gt),null;case 4:return Bt(),null;case 10:return hn(e.type),null;case 22:case 23:return Ce(e),lc(),t!==null&&G(Ta),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return hn(Xt),null;case 25:return null;default:return null}}function x6(t,e){switch(Xo(e),e.tag){case 3:hn(Xt),Bt();break;case 26:case 27:case 5:zn(e);break;case 4:Bt();break;case 31:e.memoizedState!==null&&Ce(e);break;case 13:Ce(e);break;case 19:G(Gt);break;case 10:hn(e.type);break;case 22:case 23:Ce(e),lc(),t!==null&&G(Ta);break;case 24:hn(Xt)}}function Cl(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var s=l.next;n=s;do{if((n.tag&t)===t){l=void 0;var o=n.create,m=n.inst;l=o(),m.destroy=l}n=n.next}while(n!==s)}}catch(S){Vt(e,e.return,S)}}function Fn(t,e,n){try{var l=e.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var o=s.next;l=o;do{if((l.tag&t)===t){var m=l.inst,S=m.destroy;if(S!==void 0){m.destroy=void 0,s=e;var T=n,D=S;try{D()}catch(w){Vt(s,T,w)}}}l=l.next}while(l!==o)}}catch(w){Vt(e,e.return,w)}}function V6(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{ym(e,n)}catch(l){Vt(t,t.return,l)}}}function L6(t,e,n){n.props=Ca(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){Vt(t,e,l)}}function Dl(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(s){Vt(t,e,s)}}function en(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(s){Vt(t,e,s)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(s){Vt(t,e,s)}else n.current=null}function C6(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(s){Vt(t,t.return,s)}}function Nc(t,e,n){try{var l=t.stateNode;sS(l,t.type,n,e),l[he]=e}catch(s){Vt(t,t.return,s)}}function D6(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ta(t.type)||t.tag===4}function Zc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||D6(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&&ta(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 Uc(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=rn));else if(l!==4&&(l===27&&ta(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Uc(t,e,n),t=t.sibling;t!==null;)Uc(t,e,n),t=t.sibling}function nu(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&ta(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(nu(t,e,n),t=t.sibling;t!==null;)nu(t,e,n),t=t.sibling}function R6(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,s=e.attributes;s.length;)e.removeAttributeNode(s[0]);se(e,l,n),e[ne]=t,e[he]=n}catch(o){Vt(t,t.return,o)}}var vn=!1,Ft=!1,_c=!1,H6=typeof WeakSet=="function"?WeakSet:Set,te=null;function U5(t,e){if(t=t.containerInfo,u0=Tu,t=Yh(t),Oo(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var s=l.anchorOffset,o=l.focusNode;l=l.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break t}var m=0,S=-1,T=-1,D=0,w=0,_=t,R=null;e:for(;;){for(var H;_!==n||s!==0&&_.nodeType!==3||(S=m+s),_!==o||l!==0&&_.nodeType!==3||(T=m+l),_.nodeType===3&&(m+=_.nodeValue.length),(H=_.firstChild)!==null;)R=_,_=H;for(;;){if(_===t)break e;if(R===n&&++D===s&&(S=m),R===o&&++w===l&&(T=m),(H=_.nextSibling)!==null)break;_=R,R=_.parentNode}_=H}n=S===-1||T===-1?null:{start:S,end:T}}else n=null}n=n||{start:0,end:0}}else n=null;for(r0={focusedElem:t,selectionRange:n},Tu=!1,te=e;te!==null;)if(e=te,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,te=t;else for(;te!==null;){switch(e=te,o=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n<t.length;n++)s=t[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&o!==null){t=void 0,n=e,s=o.memoizedProps,o=o.memoizedState,l=n.stateNode;try{var W=Ca(n.type,s);t=l.getSnapshotBeforeUpdate(W,o),l.__reactInternalSnapshotBeforeUpdate=t}catch(it){Vt(n,n.return,it)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)f0(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":f0(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(c(163))}if(t=e.sibling,t!==null){t.return=e.return,te=t;break}te=e.return}}function j6(t,e,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:bn(t,n),l&4&&Cl(5,n);break;case 1:if(bn(t,n),l&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(m){Vt(n,n.return,m)}else{var s=Ca(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(s,e,t.__reactInternalSnapshotBeforeUpdate)}catch(m){Vt(n,n.return,m)}}l&64&&V6(n),l&512&&Dl(n,n.return);break;case 3:if(bn(t,n),l&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{ym(t,e)}catch(m){Vt(n,n.return,m)}}break;case 27:e===null&&l&4&&R6(n);case 26:case 5:bn(t,n),e===null&&l&4&&C6(n),l&512&&Dl(n,n.return);break;case 12:bn(t,n);break;case 31:bn(t,n),l&4&&B6(t,n);break;case 13:bn(t,n),l&4&&w6(t,n),l&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=Q5.bind(null,n),mS(t,n))));break;case 22:if(l=n.memoizedState!==null||vn,!l){e=e!==null&&e.memoizedState!==null||Ft,s=vn;var o=Ft;vn=l,(Ft=e)&&!o?En(t,n,(n.subtreeFlags&8772)!==0):bn(t,n),vn=s,Ft=o}break;case 30:break;default:bn(t,n)}}function O6(t){var e=t.alternate;e!==null&&(t.alternate=null,O6(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&yo(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var wt=null,pe=!1;function Sn(t,e,n){for(n=n.child;n!==null;)z6(t,e,n),n=n.sibling}function z6(t,e,n){if(Te&&typeof Te.onCommitFiberUnmount=="function")try{Te.onCommitFiberUnmount(Ii,n)}catch{}switch(n.tag){case 26:Ft||en(n,e),Sn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Ft||en(n,e);var l=wt,s=pe;ta(n.type)&&(wt=n.stateNode,pe=!1),Sn(t,e,n),Zl(n.stateNode),wt=l,pe=s;break;case 5:Ft||en(n,e);case 6:if(l=wt,s=pe,wt=null,Sn(t,e,n),wt=l,pe=s,wt!==null)if(pe)try{(wt.nodeType===9?wt.body:wt.nodeName==="HTML"?wt.ownerDocument.body:wt).removeChild(n.stateNode)}catch(o){Vt(n,e,o)}else try{wt.removeChild(n.stateNode)}catch(o){Vt(n,e,o)}break;case 18:wt!==null&&(pe?(t=wt,V8(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),Ri(t)):V8(wt,n.stateNode));break;case 4:l=wt,s=pe,wt=n.stateNode.containerInfo,pe=!0,Sn(t,e,n),wt=l,pe=s;break;case 0:case 11:case 14:case 15:Fn(2,n,e),Ft||Fn(4,n,e),Sn(t,e,n);break;case 1:Ft||(en(n,e),l=n.stateNode,typeof l.componentWillUnmount=="function"&&L6(n,e,l)),Sn(t,e,n);break;case 21:Sn(t,e,n);break;case 22:Ft=(l=Ft)||n.memoizedState!==null,Sn(t,e,n),Ft=l;break;default:Sn(t,e,n)}}function B6(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ri(t)}catch(n){Vt(e,e.return,n)}}}function w6(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ri(t)}catch(n){Vt(e,e.return,n)}}function _5(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new H6),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new H6),e;default:throw Error(c(435,t.tag))}}function au(t,e){var n=_5(t);e.forEach(function(l){if(!n.has(l)){n.add(l);var s=P5.bind(null,t,l);l.then(s,s)}})}function ye(t,e){var n=e.deletions;if(n!==null)for(var l=0;l<n.length;l++){var s=n[l],o=t,m=e,S=m;t:for(;S!==null;){switch(S.tag){case 27:if(ta(S.type)){wt=S.stateNode,pe=!1;break t}break;case 5:wt=S.stateNode,pe=!1;break t;case 3:case 4:wt=S.stateNode.containerInfo,pe=!0;break t}S=S.return}if(wt===null)throw Error(c(160));z6(o,m,s),wt=null,pe=!1,o=s.alternate,o!==null&&(o.return=null),s.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)N6(e,t),e=e.sibling}var Qe=null;function N6(t,e){var n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ye(e,t),ge(t),l&4&&(Fn(3,t,t.return),Cl(3,t),Fn(5,t,t.return));break;case 1:ye(e,t),ge(t),l&512&&(Ft||n===null||en(n,n.return)),l&64&&vn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var s=Qe;if(ye(e,t),ge(t),l&512&&(Ft||n===null||en(n,n.return)),l&4){var o=n!==null?n.memoizedState:null;if(l=t.memoizedState,n===null)if(l===null)if(t.stateNode===null){t:{l=t.type,n=t.memoizedProps,s=s.ownerDocument||s;e:switch(l){case"title":o=s.getElementsByTagName("title")[0],(!o||o[nl]||o[ne]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=s.createElement(l),s.head.insertBefore(o,s.querySelector("head > title"))),se(o,l,n),o[ne]=t,It(o),l=o;break t;case"link":var m=N8("link","href",s).get(l+(n.href||""));if(m){for(var S=0;S<m.length;S++)if(o=m[S],o.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&o.getAttribute("rel")===(n.rel==null?null:n.rel)&&o.getAttribute("title")===(n.title==null?null:n.title)&&o.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){m.splice(S,1);break e}}o=s.createElement(l),se(o,l,n),s.head.appendChild(o);break;case"meta":if(m=N8("meta","content",s).get(l+(n.content||""))){for(S=0;S<m.length;S++)if(o=m[S],o.getAttribute("content")===(n.content==null?null:""+n.content)&&o.getAttribute("name")===(n.name==null?null:n.name)&&o.getAttribute("property")===(n.property==null?null:n.property)&&o.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute("charset")===(n.charSet==null?null:n.charSet)){m.splice(S,1);break e}}o=s.createElement(l),se(o,l,n),s.head.appendChild(o);break;default:throw Error(c(468,l))}o[ne]=t,It(o),l=o}t.stateNode=l}else Z8(s,t.type,t.stateNode);else t.stateNode=w8(s,l,t.memoizedProps);else o!==l?(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,l===null?Z8(s,t.type,t.stateNode):w8(s,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Nc(t,t.memoizedProps,n.memoizedProps)}break;case 27:ye(e,t),ge(t),l&512&&(Ft||n===null||en(n,n.return)),n!==null&&l&4&&Nc(t,t.memoizedProps,n.memoizedProps);break;case 5:if(ye(e,t),ge(t),l&512&&(Ft||n===null||en(n,n.return)),t.flags&32){s=t.stateNode;try{Ia(s,"")}catch(W){Vt(t,t.return,W)}}l&4&&t.stateNode!=null&&(s=t.memoizedProps,Nc(t,s,n!==null?n.memoizedProps:s)),l&1024&&(_c=!0);break;case 6:if(ye(e,t),ge(t),l&4){if(t.stateNode===null)throw Error(c(162));l=t.memoizedProps,n=t.stateNode;try{n.nodeValue=l}catch(W){Vt(t,t.return,W)}}break;case 3:if(Su=null,s=Qe,Qe=gu(e.containerInfo),ye(e,t),Qe=s,ge(t),l&4&&n!==null&&n.memoizedState.isDehydrated)try{Ri(e.containerInfo)}catch(W){Vt(t,t.return,W)}_c&&(_c=!1,Z6(t));break;case 4:l=Qe,Qe=gu(t.stateNode.containerInfo),ye(e,t),ge(t),Qe=l;break;case 12:ye(e,t),ge(t);break;case 31:ye(e,t),ge(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,au(t,l)));break;case 13:ye(e,t),ge(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(lu=Ae()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,au(t,l)));break;case 22:s=t.memoizedState!==null;var T=n!==null&&n.memoizedState!==null,D=vn,w=Ft;if(vn=D||s,Ft=w||T,ye(e,t),Ft=w,vn=D,ge(t),l&8192)t:for(e=t.stateNode,e._visibility=s?e._visibility&-2:e._visibility|1,s&&(n===null||T||vn||Ft||Da(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){T=n=e;try{if(o=T.stateNode,s)m=o.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{S=T.stateNode;var _=T.memoizedProps.style,R=_!=null&&_.hasOwnProperty("display")?_.display:null;S.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(W){Vt(T,T.return,W)}}}else if(e.tag===6){if(n===null){T=e;try{T.stateNode.nodeValue=s?"":T.memoizedProps}catch(W){Vt(T,T.return,W)}}}else if(e.tag===18){if(n===null){T=e;try{var H=T.stateNode;s?L8(H,!0):L8(T.stateNode,!1)}catch(W){Vt(T,T.return,W)}}}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;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,au(t,n))));break;case 19:ye(e,t),ge(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,au(t,l)));break;case 30:break;case 21:break;default:ye(e,t),ge(t)}}function ge(t){var e=t.flags;if(e&2){try{for(var n,l=t.return;l!==null;){if(D6(l)){n=l;break}l=l.return}if(n==null)throw Error(c(160));switch(n.tag){case 27:var s=n.stateNode,o=Zc(t);nu(t,o,s);break;case 5:var m=n.stateNode;n.flags&32&&(Ia(m,""),n.flags&=-33);var S=Zc(t);nu(t,S,m);break;case 3:case 4:var T=n.stateNode.containerInfo,D=Zc(t);Uc(t,D,T);break;default:throw Error(c(161))}}catch(w){Vt(t,t.return,w)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Z6(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Z6(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function bn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)j6(t,e.alternate,e),e=e.sibling}function Da(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Fn(4,e,e.return),Da(e);break;case 1:en(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&L6(e,e.return,n),Da(e);break;case 27:Zl(e.stateNode);case 26:case 5:en(e,e.return),Da(e);break;case 22:e.memoizedState===null&&Da(e);break;case 30:Da(e);break;default:Da(e)}t=t.sibling}}function En(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,s=t,o=e,m=o.flags;switch(o.tag){case 0:case 11:case 15:En(s,o,n),Cl(4,o);break;case 1:if(En(s,o,n),l=o,s=l.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(D){Vt(l,l.return,D)}if(l=o,s=l.updateQueue,s!==null){var S=l.stateNode;try{var T=s.shared.hiddenCallbacks;if(T!==null)for(s.shared.hiddenCallbacks=null,s=0;s<T.length;s++)pm(T[s],S)}catch(D){Vt(l,l.return,D)}}n&&m&64&&V6(o),Dl(o,o.return);break;case 27:R6(o);case 26:case 5:En(s,o,n),n&&l===null&&m&4&&C6(o),Dl(o,o.return);break;case 12:En(s,o,n);break;case 31:En(s,o,n),n&&m&4&&B6(s,o);break;case 13:En(s,o,n),n&&m&4&&w6(s,o);break;case 22:o.memoizedState===null&&En(s,o,n),Dl(o,o.return);break;case 30:break;default:En(s,o,n)}e=e.sibling}}function Gc(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&pl(n))}function qc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&pl(t))}function Pe(t,e,n,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)U6(t,e,n,l),e=e.sibling}function U6(t,e,n,l){var s=e.flags;switch(e.tag){case 0:case 11:case 15:Pe(t,e,n,l),s&2048&&Cl(9,e);break;case 1:Pe(t,e,n,l);break;case 3:Pe(t,e,n,l),s&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&pl(t)));break;case 12:if(s&2048){Pe(t,e,n,l),t=e.stateNode;try{var o=e.memoizedProps,m=o.id,S=o.onPostCommit;typeof S=="function"&&S(m,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(T){Vt(e,e.return,T)}}else Pe(t,e,n,l);break;case 31:Pe(t,e,n,l);break;case 13:Pe(t,e,n,l);break;case 23:break;case 22:o=e.stateNode,m=e.alternate,e.memoizedState!==null?o._visibility&2?Pe(t,e,n,l):Rl(t,e):o._visibility&2?Pe(t,e,n,l):(o._visibility|=2,Si(t,e,n,l,(e.subtreeFlags&10256)!==0||!1)),s&2048&&Gc(m,e);break;case 24:Pe(t,e,n,l),s&2048&&qc(e.alternate,e);break;default:Pe(t,e,n,l)}}function Si(t,e,n,l,s){for(s=s&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var o=t,m=e,S=n,T=l,D=m.flags;switch(m.tag){case 0:case 11:case 15:Si(o,m,S,T,s),Cl(8,m);break;case 23:break;case 22:var w=m.stateNode;m.memoizedState!==null?w._visibility&2?Si(o,m,S,T,s):Rl(o,m):(w._visibility|=2,Si(o,m,S,T,s)),s&&D&2048&&Gc(m.alternate,m);break;case 24:Si(o,m,S,T,s),s&&D&2048&&qc(m.alternate,m);break;default:Si(o,m,S,T,s)}e=e.sibling}}function Rl(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,l=e,s=l.flags;switch(l.tag){case 22:Rl(n,l),s&2048&&Gc(l.alternate,l);break;case 24:Rl(n,l),s&2048&&qc(l.alternate,l);break;default:Rl(n,l)}e=e.sibling}}var Hl=8192;function bi(t,e,n){if(t.subtreeFlags&Hl)for(t=t.child;t!==null;)_6(t,e,n),t=t.sibling}function _6(t,e,n){switch(t.tag){case 26:bi(t,e,n),t.flags&Hl&&t.memoizedState!==null&&VS(n,Qe,t.memoizedState,t.memoizedProps);break;case 5:bi(t,e,n);break;case 3:case 4:var l=Qe;Qe=gu(t.stateNode.containerInfo),bi(t,e,n),Qe=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=Hl,Hl=16777216,bi(t,e,n),Hl=l):bi(t,e,n));break;default:bi(t,e,n)}}function G6(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 jl(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];te=l,Y6(l,t)}G6(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)q6(t),t=t.sibling}function q6(t){switch(t.tag){case 0:case 11:case 15:jl(t),t.flags&2048&&Fn(9,t,t.return);break;case 3:jl(t);break;case 12:jl(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,iu(t)):jl(t);break;default:jl(t)}}function iu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];te=l,Y6(l,t)}G6(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Fn(8,e,e.return),iu(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,iu(e));break;default:iu(e)}t=t.sibling}}function Y6(t,e){for(;te!==null;){var n=te;switch(n.tag){case 0:case 11:case 15:Fn(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:pl(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,te=l;else t:for(n=t;te!==null;){l=te;var s=l.sibling,o=l.return;if(O6(l),l===n){te=null;break t}if(s!==null){s.return=o,te=s;break t}te=o}}}var G5={getCacheForType:function(t){var e=ie(Xt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return ie(Xt).controller.signal}},q5=typeof WeakMap=="function"?WeakMap:Map,Tt=0,Ht=null,pt=null,gt=0,xt=0,De=null,Qn=!1,Ei=!1,Yc=!1,An=0,_t=0,Pn=0,Ra=0,Xc=0,Re=0,Ai=0,Ol=null,ve=null,kc=!1,lu=0,X6=0,su=1/0,uu=null,Jn=null,$t=0,$n=null,Ti=null,Tn=0,Kc=0,Fc=null,k6=null,zl=0,Qc=null;function He(){return(Tt&2)!==0&&gt!==0?gt&-gt:N.T!==null?t0():uh()}function K6(){if(Re===0)if((gt&536870912)===0||St){var t=ps;ps<<=1,(ps&3932160)===0&&(ps=262144),Re=t}else Re=536870912;return t=Le.current,t!==null&&(t.flags|=32),Re}function Se(t,e,n){(t===Ht&&(xt===2||xt===9)||t.cancelPendingCommit!==null)&&(Mi(t,0),Wn(t,gt,Re,!1)),el(t,n),((Tt&2)===0||t!==Ht)&&(t===Ht&&((Tt&2)===0&&(Ra|=n),_t===4&&Wn(t,gt,Re,!1)),nn(t))}function F6(t,e,n){if((Tt&6)!==0)throw Error(c(327));var l=!n&&(e&127)===0&&(e&t.expiredLanes)===0||tl(t,e),s=l?k5(t,e):Jc(t,e,!0),o=l;do{if(s===0){Ei&&!l&&Wn(t,e,0,!1);break}else{if(n=t.current.alternate,o&&!Y5(n)){s=Jc(t,e,!1),o=!1;continue}if(s===2){if(o=e,t.errorRecoveryDisabledLanes&o)var m=0;else m=t.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){e=m;t:{var S=t;s=Ol;var T=S.current.memoizedState.isDehydrated;if(T&&(Mi(S,m).flags|=256),m=Jc(S,m,!1),m!==2){if(Yc&&!T){S.errorRecoveryDisabledLanes|=o,Ra|=o,s=4;break t}o=ve,ve=s,o!==null&&(ve===null?ve=o:ve.push.apply(ve,o))}s=m}if(o=!1,s!==2)continue}}if(s===1){Mi(t,0),Wn(t,e,0,!0);break}t:{switch(l=t,o=s,o){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:Wn(l,e,Re,!Qn);break t;case 2:ve=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(s=lu+300-Ae(),10<s)){if(Wn(l,e,Re,!Qn),gs(l,0,!0)!==0)break t;Tn=e,l.timeoutHandle=M8(Q6.bind(null,l,n,ve,uu,kc,e,Re,Ra,Ai,Qn,o,"Throttled",-0,0),s);break t}Q6(l,n,ve,uu,kc,e,Re,Ra,Ai,Qn,o,null,-0,0)}}break}while(!0);nn(t)}function Q6(t,e,n,l,s,o,m,S,T,D,w,_,R,H){if(t.timeoutHandle=-1,_=e.subtreeFlags,_&8192||(_&16785408)===16785408){_={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:rn},_6(e,o,_);var W=(o&62914560)===o?lu-Ae():(o&4194048)===o?X6-Ae():0;if(W=LS(_,W),W!==null){Tn=o,t.cancelPendingCommit=W(n8.bind(null,t,e,o,n,l,s,m,S,T,w,_,null,R,H)),Wn(t,o,m,!D);return}}n8(t,e,o,n,l,s,m,S,T)}function Y5(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var s=n[l],o=s.getSnapshot;s=s.value;try{if(!xe(o(),s))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;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 Wn(t,e,n,l){e&=~Xc,e&=~Ra,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var s=e;0<s;){var o=31-Me(s),m=1<<o;l[o]=-1,s&=~m}n!==0&&ih(t,n,e)}function ru(){return(Tt&6)===0?(Bl(0),!1):!0}function Pc(){if(pt!==null){if(xt===0)var t=pt.return;else t=pt,dn=Ea=null,fc(t),mi=null,gl=0,t=pt;for(;t!==null;)x6(t.alternate,t),t=t.return;pt=null}}function Mi(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,oS(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),Tn=0,Pc(),Ht=t,pt=n=cn(t.current,null),gt=e,xt=0,De=null,Qn=!1,Ei=tl(t,e),Yc=!1,Ai=Re=Xc=Ra=Pn=_t=0,ve=Ol=null,kc=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var s=31-Me(l),o=1<<s;e|=t[s],l&=~o}return An=e,Ds(),n}function P6(t,e){ft=null,N.H=xl,e===hi||e===Ns?(e=fm(),xt=3):e===Io?(e=fm(),xt=4):xt=e===Lc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,De=e,pt===null&&(_t=1,$s(t,Ze(e,t.current)))}function J6(){var t=Le.current;return t===null?!0:(gt&4194048)===gt?qe===null:(gt&62914560)===gt||(gt&536870912)!==0?t===qe:!1}function $6(){var t=N.H;return N.H=xl,t===null?xl:t}function W6(){var t=N.A;return N.A=G5,t}function ou(){_t=4,Qn||(gt&4194048)!==gt&&Le.current!==null||(Ei=!0),(Pn&134217727)===0&&(Ra&134217727)===0||Ht===null||Wn(Ht,gt,Re,!1)}function Jc(t,e,n){var l=Tt;Tt|=2;var s=$6(),o=W6();(Ht!==t||gt!==e)&&(uu=null,Mi(t,e)),e=!1;var m=_t;t:do try{if(xt!==0&&pt!==null){var S=pt,T=De;switch(xt){case 8:Pc(),m=6;break t;case 3:case 2:case 9:case 6:Le.current===null&&(e=!0);var D=xt;if(xt=0,De=null,xi(t,S,T,D),n&&Ei){m=0;break t}break;default:D=xt,xt=0,De=null,xi(t,S,T,D)}}X5(),m=_t;break}catch(w){P6(t,w)}while(!0);return e&&t.shellSuspendCounter++,dn=Ea=null,Tt=l,N.H=s,N.A=o,pt===null&&(Ht=null,gt=0,Ds()),m}function X5(){for(;pt!==null;)I6(pt)}function k5(t,e){var n=Tt;Tt|=2;var l=$6(),s=W6();Ht!==t||gt!==e?(uu=null,su=Ae()+500,Mi(t,e)):Ei=tl(t,e);t:do try{if(xt!==0&&pt!==null){e=pt;var o=De;e:switch(xt){case 1:xt=0,De=null,xi(t,e,o,1);break;case 2:case 9:if(om(o)){xt=0,De=null,t8(e);break}e=function(){xt!==2&&xt!==9||Ht!==t||(xt=7),nn(t)},o.then(e,e);break t;case 3:xt=7;break t;case 4:xt=5;break t;case 7:om(o)?(xt=0,De=null,t8(e)):(xt=0,De=null,xi(t,e,o,7));break;case 5:var m=null;switch(pt.tag){case 26:m=pt.memoizedState;case 5:case 27:var S=pt;if(m?U8(m):S.stateNode.complete){xt=0,De=null;var T=S.sibling;if(T!==null)pt=T;else{var D=S.return;D!==null?(pt=D,cu(D)):pt=null}break e}}xt=0,De=null,xi(t,e,o,5);break;case 6:xt=0,De=null,xi(t,e,o,6);break;case 8:Pc(),_t=6;break t;default:throw Error(c(462))}}K5();break}catch(w){P6(t,w)}while(!0);return dn=Ea=null,N.H=l,N.A=s,Tt=n,pt!==null?0:(Ht=null,gt=0,Ds(),_t)}function K5(){for(;pt!==null&&!p3();)I6(pt)}function I6(t){var e=T6(t.alternate,t,An);t.memoizedProps=t.pendingProps,e===null?cu(t):pt=e}function t8(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=g6(n,e,e.pendingProps,e.type,void 0,gt);break;case 11:e=g6(n,e,e.pendingProps,e.type.render,e.ref,gt);break;case 5:fc(e);default:x6(n,e),e=pt=Wh(e,An),e=T6(n,e,An)}t.memoizedProps=t.pendingProps,e===null?cu(t):pt=e}function xi(t,e,n,l){dn=Ea=null,fc(e),mi=null,gl=0;var s=e.return;try{if(z5(t,s,e,n,gt)){_t=1,$s(t,Ze(n,t.current)),pt=null;return}}catch(o){if(s!==null)throw pt=s,o;_t=1,$s(t,Ze(n,t.current)),pt=null;return}e.flags&32768?(St||l===1?t=!0:Ei||(gt&536870912)!==0?t=!1:(Qn=t=!0,(l===2||l===9||l===3||l===6)&&(l=Le.current,l!==null&&l.tag===13&&(l.flags|=16384))),e8(e,t)):cu(e)}function cu(t){var e=t;do{if((e.flags&32768)!==0){e8(e,Qn);return}t=e.return;var n=N5(e.alternate,e,An);if(n!==null){pt=n;return}if(e=e.sibling,e!==null){pt=e;return}pt=e=t}while(e!==null);_t===0&&(_t=5)}function e8(t,e){do{var n=Z5(t.alternate,t);if(n!==null){n.flags&=32767,pt=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){pt=t;return}pt=t=n}while(t!==null);_t=6,pt=null}function n8(t,e,n,l,s,o,m,S,T){t.cancelPendingCommit=null;do fu();while($t!==0);if((Tt&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(o=e.lanes|e.childLanes,o|=Zo,x3(t,n,o,m,S,T),t===Ht&&(pt=Ht=null,gt=0),Ti=e,$n=t,Tn=n,Kc=o,Fc=s,k6=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,J5(hs,function(){return u8(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=N.T,N.T=null,s=X.p,X.p=2,m=Tt,Tt|=4;try{U5(t,e,n)}finally{Tt=m,X.p=s,N.T=l}}$t=1,a8(),i8(),l8()}}function a8(){if($t===1){$t=0;var t=$n,e=Ti,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=N.T,N.T=null;var l=X.p;X.p=2;var s=Tt;Tt|=4;try{N6(e,t);var o=r0,m=Yh(t.containerInfo),S=o.focusedElem,T=o.selectionRange;if(m!==S&&S&&S.ownerDocument&&qh(S.ownerDocument.documentElement,S)){if(T!==null&&Oo(S)){var D=T.start,w=T.end;if(w===void 0&&(w=D),"selectionStart"in S)S.selectionStart=D,S.selectionEnd=Math.min(w,S.value.length);else{var _=S.ownerDocument||document,R=_&&_.defaultView||window;if(R.getSelection){var H=R.getSelection(),W=S.textContent.length,it=Math.min(T.start,W),Dt=T.end===void 0?it:Math.min(T.end,W);!H.extend&&it>Dt&&(m=Dt,Dt=it,it=m);var V=Gh(S,it),M=Gh(S,Dt);if(V&&M&&(H.rangeCount!==1||H.anchorNode!==V.node||H.anchorOffset!==V.offset||H.focusNode!==M.node||H.focusOffset!==M.offset)){var C=_.createRange();C.setStart(V.node,V.offset),H.removeAllRanges(),it>Dt?(H.addRange(C),H.extend(M.node,M.offset)):(C.setEnd(M.node,M.offset),H.addRange(C))}}}}for(_=[],H=S;H=H.parentNode;)H.nodeType===1&&_.push({element:H,left:H.scrollLeft,top:H.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<_.length;S++){var Z=_[S];Z.element.scrollLeft=Z.left,Z.element.scrollTop=Z.top}}Tu=!!u0,r0=u0=null}finally{Tt=s,X.p=l,N.T=n}}t.current=e,$t=2}}function i8(){if($t===2){$t=0;var t=$n,e=Ti,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=N.T,N.T=null;var l=X.p;X.p=2;var s=Tt;Tt|=4;try{j6(t,e.alternate,e)}finally{Tt=s,X.p=l,N.T=n}}$t=3}}function l8(){if($t===4||$t===3){$t=0,y3();var t=$n,e=Ti,n=Tn,l=k6;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?$t=5:($t=0,Ti=$n=null,s8(t,t.pendingLanes));var s=t.pendingLanes;if(s===0&&(Jn=null),mo(n),e=e.stateNode,Te&&typeof Te.onCommitFiberRoot=="function")try{Te.onCommitFiberRoot(Ii,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=N.T,s=X.p,X.p=2,N.T=null;try{for(var o=t.onRecoverableError,m=0;m<l.length;m++){var S=l[m];o(S.value,{componentStack:S.stack})}}finally{N.T=e,X.p=s}}(Tn&3)!==0&&fu(),nn(t),s=t.pendingLanes,(n&261930)!==0&&(s&42)!==0?t===Qc?zl++:(zl=0,Qc=t):zl=0,Bl(0)}}function s8(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,pl(e)))}function fu(){return a8(),i8(),l8(),u8()}function u8(){if($t!==5)return!1;var t=$n,e=Kc;Kc=0;var n=mo(Tn),l=N.T,s=X.p;try{X.p=32>n?32:n,N.T=null,n=Fc,Fc=null;var o=$n,m=Tn;if($t=0,Ti=$n=null,Tn=0,(Tt&6)!==0)throw Error(c(331));var S=Tt;if(Tt|=4,q6(o.current),U6(o,o.current,m,n),Tt=S,Bl(0,!1),Te&&typeof Te.onPostCommitFiberRoot=="function")try{Te.onPostCommitFiberRoot(Ii,o)}catch{}return!0}finally{X.p=s,N.T=l,s8(t,e)}}function r8(t,e,n){e=Ze(n,e),e=Vc(t.stateNode,e,2),t=Xn(t,e,2),t!==null&&(el(t,2),nn(t))}function Vt(t,e,n){if(t.tag===3)r8(t,t,n);else for(;e!==null;){if(e.tag===3){r8(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Jn===null||!Jn.has(l))){t=Ze(n,t),n=o6(2),l=Xn(e,n,2),l!==null&&(c6(n,l,e,t),el(l,2),nn(l));break}}e=e.return}}function $c(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new q5;var s=new Set;l.set(e,s)}else s=l.get(e),s===void 0&&(s=new Set,l.set(e,s));s.has(n)||(Yc=!0,s.add(n),t=F5.bind(null,t,e,n),e.then(t,t))}function F5(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Ht===t&&(gt&n)===n&&(_t===4||_t===3&&(gt&62914560)===gt&&300>Ae()-lu?(Tt&2)===0&&Mi(t,0):Xc|=n,Ai===gt&&(Ai=0)),nn(t)}function o8(t,e){e===0&&(e=ah()),t=va(t,e),t!==null&&(el(t,e),nn(t))}function Q5(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),o8(t,n)}function P5(t,e){var n=0;switch(t.tag){case 31:case 13:var l=t.stateNode,s=t.memoizedState;s!==null&&(n=s.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(c(314))}l!==null&&l.delete(e),o8(t,n)}function J5(t,e){return oo(t,e)}var du=null,Vi=null,Wc=!1,hu=!1,Ic=!1,In=0;function nn(t){t!==Vi&&t.next===null&&(Vi===null?du=Vi=t:Vi=Vi.next=t),hu=!0,Wc||(Wc=!0,W5())}function Bl(t,e){if(!Ic&&hu){Ic=!0;do for(var n=!1,l=du;l!==null;){if(t!==0){var s=l.pendingLanes;if(s===0)var o=0;else{var m=l.suspendedLanes,S=l.pingedLanes;o=(1<<31-Me(42|t)+1)-1,o&=s&~(m&~S),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,h8(l,o))}else o=gt,o=gs(l,l===Ht?o:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(o&3)===0||tl(l,o)||(n=!0,h8(l,o));l=l.next}while(n);Ic=!1}}function $5(){c8()}function c8(){hu=Wc=!1;var t=0;In!==0&&rS()&&(t=In);for(var e=Ae(),n=null,l=du;l!==null;){var s=l.next,o=f8(l,e);o===0?(l.next=null,n===null?du=s:n.next=s,s===null&&(Vi=n)):(n=l,(t!==0||(o&3)!==0)&&(hu=!0)),l=s}$t!==0&&$t!==5||Bl(t),In!==0&&(In=0)}function f8(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,s=t.expirationTimes,o=t.pendingLanes&-62914561;0<o;){var m=31-Me(o),S=1<<m,T=s[m];T===-1?((S&n)===0||(S&l)!==0)&&(s[m]=M3(S,e)):T<=e&&(t.expiredLanes|=S),o&=~S}if(e=Ht,n=gt,n=gs(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,n===0||t===e&&(xt===2||xt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&co(l),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||tl(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(l!==null&&co(l),mo(n)){case 2:case 8:n=eh;break;case 32:n=hs;break;case 268435456:n=nh;break;default:n=hs}return l=d8.bind(null,t),n=oo(n,l),t.callbackPriority=e,t.callbackNode=n,e}return l!==null&&l!==null&&co(l),t.callbackPriority=2,t.callbackNode=null,2}function d8(t,e){if($t!==0&&$t!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(fu()&&t.callbackNode!==n)return null;var l=gt;return l=gs(t,t===Ht?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(F6(t,l,e),f8(t,Ae()),t.callbackNode!=null&&t.callbackNode===n?d8.bind(null,t):null)}function h8(t,e){if(fu())return null;F6(t,e,!0)}function W5(){cS(function(){(Tt&6)!==0?oo(th,$5):c8()})}function t0(){if(In===0){var t=fi;t===0&&(t=ms,ms<<=1,(ms&261888)===0&&(ms=256)),In=t}return In}function m8(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Es(""+t)}function p8(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function I5(t,e,n,l,s){if(e==="submit"&&n&&n.stateNode===s){var o=m8((s[he]||null).action),m=l.submitter;m&&(e=(e=m[he]||null)?m8(e.formAction):m.getAttribute("formAction"),e!==null&&(o=e,m=null));var S=new xs("action","action",null,l,s);t.push({event:S,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(In!==0){var T=m?p8(s,m):new FormData(s);bc(n,{pending:!0,data:T,method:s.method,action:o},null,T)}}else typeof o=="function"&&(S.preventDefault(),T=m?p8(s,m):new FormData(s),bc(n,{pending:!0,data:T,method:s.method,action:o},o,T))},currentTarget:s}]})}}for(var e0=0;e0<No.length;e0++){var n0=No[e0],tS=n0.toLowerCase(),eS=n0[0].toUpperCase()+n0.slice(1);Fe(tS,"on"+eS)}Fe(Kh,"onAnimationEnd"),Fe(Fh,"onAnimationIteration"),Fe(Qh,"onAnimationStart"),Fe("dblclick","onDoubleClick"),Fe("focusin","onFocus"),Fe("focusout","onBlur"),Fe(g5,"onTransitionRun"),Fe(v5,"onTransitionStart"),Fe(S5,"onTransitionCancel"),Fe(Ph,"onTransitionEnd"),$a("onMouseEnter",["mouseout","mouseover"]),$a("onMouseLeave",["mouseout","mouseover"]),$a("onPointerEnter",["pointerout","pointerover"]),$a("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 wl="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(" "),nS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(wl));function y8(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var l=t[n],s=l.event;l=l.listeners;t:{var o=void 0;if(e)for(var m=l.length-1;0<=m;m--){var S=l[m],T=S.instance,D=S.currentTarget;if(S=S.listener,T!==o&&s.isPropagationStopped())break t;o=S,s.currentTarget=D;try{o(s)}catch(w){Cs(w)}s.currentTarget=null,o=T}else for(m=0;m<l.length;m++){if(S=l[m],T=S.instance,D=S.currentTarget,S=S.listener,T!==o&&s.isPropagationStopped())break t;o=S,s.currentTarget=D;try{o(s)}catch(w){Cs(w)}s.currentTarget=null,o=T}}}}function yt(t,e){var n=e[po];n===void 0&&(n=e[po]=new Set);var l=t+"__bubble";n.has(l)||(g8(e,t,2,!1),n.add(l))}function a0(t,e,n){var l=0;e&&(l|=4),g8(n,t,l,e)}var mu="_reactListening"+Math.random().toString(36).slice(2);function i0(t){if(!t[mu]){t[mu]=!0,ch.forEach(function(n){n!=="selectionchange"&&(nS.has(n)||a0(n,!1,t),a0(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[mu]||(e[mu]=!0,a0("selectionchange",!1,e))}}function g8(t,e,n,l){switch(K8(e)){case 2:var s=RS;break;case 8:s=HS;break;default:s=S0}n=s.bind(null,e,n,t),s=void 0,!Mo||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(s=!0),l?s!==void 0?t.addEventListener(e,n,{capture:!0,passive:s}):t.addEventListener(e,n,!0):s!==void 0?t.addEventListener(e,n,{passive:s}):t.addEventListener(e,n,!1)}function l0(t,e,n,l,s){var o=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var m=l.tag;if(m===3||m===4){var S=l.stateNode.containerInfo;if(S===s)break;if(m===4)for(m=l.return;m!==null;){var T=m.tag;if((T===3||T===4)&&m.stateNode.containerInfo===s)return;m=m.return}for(;S!==null;){if(m=Qa(S),m===null)return;if(T=m.tag,T===5||T===6||T===26||T===27){l=o=m;continue t}S=S.parentNode}}l=l.return}Ah(function(){var D=o,w=Ao(n),_=[];t:{var R=Jh.get(t);if(R!==void 0){var H=xs,W=t;switch(t){case"keypress":if(Ts(n)===0)break t;case"keydown":case"keyup":H=P3;break;case"focusin":W="focus",H=Co;break;case"focusout":W="blur",H=Co;break;case"beforeblur":case"afterblur":H=Co;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":H=xh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=N3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=W3;break;case Kh:case Fh:case Qh:H=_3;break;case Ph:H=t5;break;case"scroll":case"scrollend":H=B3;break;case"wheel":H=n5;break;case"copy":case"cut":case"paste":H=q3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=Lh;break;case"toggle":case"beforetoggle":H=i5}var it=(e&4)!==0,Dt=!it&&(t==="scroll"||t==="scrollend"),V=it?R!==null?R+"Capture":null:R;it=[];for(var M=D,C;M!==null;){var Z=M;if(C=Z.stateNode,Z=Z.tag,Z!==5&&Z!==26&&Z!==27||C===null||V===null||(Z=il(M,V),Z!=null&&it.push(Nl(M,Z,C))),Dt)break;M=M.return}0<it.length&&(R=new H(R,W,null,n,w),_.push({event:R,listeners:it}))}}if((e&7)===0){t:{if(R=t==="mouseover"||t==="pointerover",H=t==="mouseout"||t==="pointerout",R&&n!==Eo&&(W=n.relatedTarget||n.fromElement)&&(Qa(W)||W[Fa]))break t;if((H||R)&&(R=w.window===w?w:(R=w.ownerDocument)?R.defaultView||R.parentWindow:window,H?(W=n.relatedTarget||n.toElement,H=D,W=W?Qa(W):null,W!==null&&(Dt=d(W),it=W.tag,W!==Dt||it!==5&&it!==27&&it!==6)&&(W=null)):(H=null,W=D),H!==W)){if(it=xh,Z="onMouseLeave",V="onMouseEnter",M="mouse",(t==="pointerout"||t==="pointerover")&&(it=Lh,Z="onPointerLeave",V="onPointerEnter",M="pointer"),Dt=H==null?R:al(H),C=W==null?R:al(W),R=new it(Z,M+"leave",H,n,w),R.target=Dt,R.relatedTarget=C,Z=null,Qa(w)===D&&(it=new it(V,M+"enter",W,n,w),it.target=C,it.relatedTarget=Dt,Z=it),Dt=Z,H&&W)e:{for(it=aS,V=H,M=W,C=0,Z=V;Z;Z=it(Z))C++;Z=0;for(var nt=M;nt;nt=it(nt))Z++;for(;0<C-Z;)V=it(V),C--;for(;0<Z-C;)M=it(M),Z--;for(;C--;){if(V===M||M!==null&&V===M.alternate){it=V;break e}V=it(V),M=it(M)}it=null}else it=null;H!==null&&v8(_,R,H,it,!1),W!==null&&Dt!==null&&v8(_,Dt,W,it,!0)}}t:{if(R=D?al(D):window,H=R.nodeName&&R.nodeName.toLowerCase(),H==="select"||H==="input"&&R.type==="file")var Et=Bh;else if(Oh(R))if(wh)Et=m5;else{Et=d5;var et=f5}else H=R.nodeName,!H||H.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?D&&bo(D.elementType)&&(Et=Bh):Et=h5;if(Et&&(Et=Et(t,D))){zh(_,Et,n,w);break t}et&&et(t,R,D),t==="focusout"&&D&&R.type==="number"&&D.memoizedProps.value!=null&&So(R,"number",R.value)}switch(et=D?al(D):window,t){case"focusin":(Oh(et)||et.contentEditable==="true")&&(ai=et,zo=D,dl=null);break;case"focusout":dl=zo=ai=null;break;case"mousedown":Bo=!0;break;case"contextmenu":case"mouseup":case"dragend":Bo=!1,Xh(_,n,w);break;case"selectionchange":if(y5)break;case"keydown":case"keyup":Xh(_,n,w)}var dt;if(Ro)t:{switch(t){case"compositionstart":var vt="onCompositionStart";break t;case"compositionend":vt="onCompositionEnd";break t;case"compositionupdate":vt="onCompositionUpdate";break t}vt=void 0}else ni?Hh(t,n)&&(vt="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(vt="onCompositionStart");vt&&(Ch&&n.locale!=="ko"&&(ni||vt!=="onCompositionStart"?vt==="onCompositionEnd"&&ni&&(dt=Th()):(Nn=w,xo="value"in Nn?Nn.value:Nn.textContent,ni=!0)),et=pu(D,vt),0<et.length&&(vt=new Vh(vt,t,null,n,w),_.push({event:vt,listeners:et}),dt?vt.data=dt:(dt=jh(n),dt!==null&&(vt.data=dt)))),(dt=s5?u5(t,n):r5(t,n))&&(vt=pu(D,"onBeforeInput"),0<vt.length&&(et=new Vh("onBeforeInput","beforeinput",null,n,w),_.push({event:et,listeners:vt}),et.data=dt)),I5(_,t,D,n,w)}y8(_,e)})}function Nl(t,e,n){return{instance:t,listener:e,currentTarget:n}}function pu(t,e){for(var n=e+"Capture",l=[];t!==null;){var s=t,o=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||o===null||(s=il(t,n),s!=null&&l.unshift(Nl(t,s,o)),s=il(t,e),s!=null&&l.push(Nl(t,s,o))),t.tag===3)return l;t=t.return}return[]}function aS(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function v8(t,e,n,l,s){for(var o=e._reactName,m=[];n!==null&&n!==l;){var S=n,T=S.alternate,D=S.stateNode;if(S=S.tag,T!==null&&T===l)break;S!==5&&S!==26&&S!==27||D===null||(T=D,s?(D=il(n,o),D!=null&&m.unshift(Nl(n,D,T))):s||(D=il(n,o),D!=null&&m.push(Nl(n,D,T)))),n=n.return}m.length!==0&&t.push({event:e,listeners:m})}var iS=/\r\n?/g,lS=/\u0000|\uFFFD/g;function S8(t){return(typeof t=="string"?t:""+t).replace(iS,`
9
- `).replace(lS,"")}function b8(t,e){return e=S8(e),S8(t)===e}function Ct(t,e,n,l,s,o){switch(n){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||Ia(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&Ia(t,""+l);break;case"className":Ss(t,"class",l);break;case"tabIndex":Ss(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Ss(t,n,l);break;case"style":bh(t,l,o);break;case"data":if(e!=="object"){Ss(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Es(""+l),t.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(n,"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 o=="function"&&(n==="formAction"?(e!=="input"&&Ct(t,e,"name",s.name,s,null),Ct(t,e,"formEncType",s.formEncType,s,null),Ct(t,e,"formMethod",s.formMethod,s,null),Ct(t,e,"formTarget",s.formTarget,s,null)):(Ct(t,e,"encType",s.encType,s,null),Ct(t,e,"method",s.method,s,null),Ct(t,e,"target",s.target,s,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Es(""+l),t.setAttribute(n,l);break;case"onClick":l!=null&&(t.onclick=rn);break;case"onScroll":l!=null&&yt("scroll",t);break;case"onScrollEnd":l!=null&&yt("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(s.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}n=Es(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""+l):t.removeAttribute(n);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":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":l===!0?t.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,l):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(n,l):t.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(n):t.setAttribute(n,l);break;case"popover":yt("beforetoggle",t),yt("toggle",t),vs(t,"popover",l);break;case"xlinkActuate":un(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":un(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":un(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":un(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":un(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":un(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":un(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":un(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":un(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":vs(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=O3.get(n)||n,vs(t,n,l))}}function s0(t,e,n,l,s,o){switch(n){case"style":bh(t,l,o);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(s.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"children":typeof l=="string"?Ia(t,l):(typeof l=="number"||typeof l=="bigint")&&Ia(t,""+l);break;case"onScroll":l!=null&&yt("scroll",t);break;case"onScrollEnd":l!=null&&yt("scrollend",t);break;case"onClick":l!=null&&(t.onclick=rn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!fh.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),e=n.slice(2,s?n.length-7:void 0),o=t[he]||null,o=o!=null?o[n]:null,typeof o=="function"&&t.removeEventListener(e,o,s),typeof l=="function")){typeof o!="function"&&o!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,l,s);break t}n in t?t[n]=l:l===!0?t.setAttribute(n,""):vs(t,n,l)}}}function se(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":yt("error",t),yt("load",t);var l=!1,s=!1,o;for(o in n)if(n.hasOwnProperty(o)){var m=n[o];if(m!=null)switch(o){case"src":l=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:Ct(t,e,o,m,n,null)}}s&&Ct(t,e,"srcSet",n.srcSet,n,null),l&&Ct(t,e,"src",n.src,n,null);return;case"input":yt("invalid",t);var S=o=m=s=null,T=null,D=null;for(l in n)if(n.hasOwnProperty(l)){var w=n[l];if(w!=null)switch(l){case"name":s=w;break;case"type":m=w;break;case"checked":T=w;break;case"defaultChecked":D=w;break;case"value":o=w;break;case"defaultValue":S=w;break;case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(c(137,e));break;default:Ct(t,e,l,w,n,null)}}yh(t,o,S,T,D,m,s,!1);return;case"select":yt("invalid",t),l=m=o=null;for(s in n)if(n.hasOwnProperty(s)&&(S=n[s],S!=null))switch(s){case"value":o=S;break;case"defaultValue":m=S;break;case"multiple":l=S;default:Ct(t,e,s,S,n,null)}e=o,n=m,t.multiple=!!l,e!=null?Wa(t,!!l,e,!1):n!=null&&Wa(t,!!l,n,!0);return;case"textarea":yt("invalid",t),o=s=l=null;for(m in n)if(n.hasOwnProperty(m)&&(S=n[m],S!=null))switch(m){case"value":l=S;break;case"defaultValue":s=S;break;case"children":o=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(c(91));break;default:Ct(t,e,m,S,n,null)}vh(t,l,s,o);return;case"option":for(T in n)if(n.hasOwnProperty(T)&&(l=n[T],l!=null))switch(T){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Ct(t,e,T,l,n,null)}return;case"dialog":yt("beforetoggle",t),yt("toggle",t),yt("cancel",t),yt("close",t);break;case"iframe":case"object":yt("load",t);break;case"video":case"audio":for(l=0;l<wl.length;l++)yt(wl[l],t);break;case"image":yt("error",t),yt("load",t);break;case"details":yt("toggle",t);break;case"embed":case"source":case"link":yt("error",t),yt("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(D in n)if(n.hasOwnProperty(D)&&(l=n[D],l!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:Ct(t,e,D,l,n,null)}return;default:if(bo(e)){for(w in n)n.hasOwnProperty(w)&&(l=n[w],l!==void 0&&s0(t,e,w,l,n,void 0));return}}for(S in n)n.hasOwnProperty(S)&&(l=n[S],l!=null&&Ct(t,e,S,l,n,null))}function sS(t,e,n,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,o=null,m=null,S=null,T=null,D=null,w=null;for(H in n){var _=n[H];if(n.hasOwnProperty(H)&&_!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":T=_;default:l.hasOwnProperty(H)||Ct(t,e,H,null,l,_)}}for(var R in l){var H=l[R];if(_=n[R],l.hasOwnProperty(R)&&(H!=null||_!=null))switch(R){case"type":o=H;break;case"name":s=H;break;case"checked":D=H;break;case"defaultChecked":w=H;break;case"value":m=H;break;case"defaultValue":S=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(c(137,e));break;default:H!==_&&Ct(t,e,R,H,l,_)}}vo(t,m,S,T,D,w,o,s);return;case"select":H=m=S=R=null;for(o in n)if(T=n[o],n.hasOwnProperty(o)&&T!=null)switch(o){case"value":break;case"multiple":H=T;default:l.hasOwnProperty(o)||Ct(t,e,o,null,l,T)}for(s in l)if(o=l[s],T=n[s],l.hasOwnProperty(s)&&(o!=null||T!=null))switch(s){case"value":R=o;break;case"defaultValue":S=o;break;case"multiple":m=o;default:o!==T&&Ct(t,e,s,o,l,T)}e=S,n=m,l=H,R!=null?Wa(t,!!n,R,!1):!!l!=!!n&&(e!=null?Wa(t,!!n,e,!0):Wa(t,!!n,n?[]:"",!1));return;case"textarea":H=R=null;for(S in n)if(s=n[S],n.hasOwnProperty(S)&&s!=null&&!l.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:Ct(t,e,S,null,l,s)}for(m in l)if(s=l[m],o=n[m],l.hasOwnProperty(m)&&(s!=null||o!=null))switch(m){case"value":R=s;break;case"defaultValue":H=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(c(91));break;default:s!==o&&Ct(t,e,m,s,l,o)}gh(t,R,H);return;case"option":for(var W in n)if(R=n[W],n.hasOwnProperty(W)&&R!=null&&!l.hasOwnProperty(W))switch(W){case"selected":t.selected=!1;break;default:Ct(t,e,W,null,l,R)}for(T in l)if(R=l[T],H=n[T],l.hasOwnProperty(T)&&R!==H&&(R!=null||H!=null))switch(T){case"selected":t.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:Ct(t,e,T,R,l,H)}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 it in n)R=n[it],n.hasOwnProperty(it)&&R!=null&&!l.hasOwnProperty(it)&&Ct(t,e,it,null,l,R);for(D in l)if(R=l[D],H=n[D],l.hasOwnProperty(D)&&R!==H&&(R!=null||H!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(c(137,e));break;default:Ct(t,e,D,R,l,H)}return;default:if(bo(e)){for(var Dt in n)R=n[Dt],n.hasOwnProperty(Dt)&&R!==void 0&&!l.hasOwnProperty(Dt)&&s0(t,e,Dt,void 0,l,R);for(w in l)R=l[w],H=n[w],!l.hasOwnProperty(w)||R===H||R===void 0&&H===void 0||s0(t,e,w,R,l,H);return}}for(var V in n)R=n[V],n.hasOwnProperty(V)&&R!=null&&!l.hasOwnProperty(V)&&Ct(t,e,V,null,l,R);for(_ in l)R=l[_],H=n[_],!l.hasOwnProperty(_)||R===H||R==null&&H==null||Ct(t,e,_,R,l,H)}function E8(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function uS(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var s=n[l],o=s.transferSize,m=s.initiatorType,S=s.duration;if(o&&S&&E8(m)){for(m=0,S=s.responseEnd,l+=1;l<n.length;l++){var T=n[l],D=T.startTime;if(D>S)break;var w=T.transferSize,_=T.initiatorType;w&&E8(_)&&(T=T.responseEnd,m+=w*(T<S?1:(S-D)/(T-D)))}if(--l,e+=8*(o+m)/(s.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}var u0=null,r0=null;function yu(t){return t.nodeType===9?t:t.ownerDocument}function A8(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function T8(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function o0(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}var c0=null;function rS(){var t=window.event;return t&&t.type==="popstate"?t===c0?!1:(c0=t,!0):(c0=null,!1)}var M8=typeof setTimeout=="function"?setTimeout:void 0,oS=typeof clearTimeout=="function"?clearTimeout:void 0,x8=typeof Promise=="function"?Promise:void 0,cS=typeof queueMicrotask=="function"?queueMicrotask:typeof x8<"u"?function(t){return x8.resolve(null).then(t).catch(fS)}:M8;function fS(t){setTimeout(function(){throw t})}function ta(t){return t==="head"}function V8(t,e){var n=e,l=0;do{var s=n.nextSibling;if(t.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"||n==="/&"){if(l===0){t.removeChild(s),Ri(e);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")Zl(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,Zl(n);for(var o=n.firstChild;o;){var m=o.nextSibling,S=o.nodeName;o[nl]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&o.rel.toLowerCase()==="stylesheet"||n.removeChild(o),o=m}}else n==="body"&&Zl(t.ownerDocument.body);n=s}while(n);Ri(e)}function L8(t,e){var n=t;t=0;do{var l=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=l}while(n)}function f0(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":f0(n),yo(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function dS(t,e,n,l){for(;t.nodeType===1;){var s=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[nl])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(o!==s.rel||t.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||t.getAttribute("title")!==(s.title==null?null:s.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(o=t.getAttribute("src"),(o!==(s.src==null?null:s.src)||t.getAttribute("type")!==(s.type==null?null:s.type)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var o=s.name==null?null:""+s.name;if(s.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;if(t=Ye(t.nextSibling),t===null)break}return null}function hS(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Ye(t.nextSibling),t===null))return null;return t}function C8(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ye(t.nextSibling),t===null))return null;return t}function d0(t){return t.data==="$?"||t.data==="$~"}function h0(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function mS(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var l=function(){e(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Ye(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==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var m0=null;function D8(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return Ye(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function R8(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function H8(t,e,n){switch(e=yu(n),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function Zl(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);yo(t)}var Xe=new Map,j8=new Set;function gu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Mn=X.d;X.d={f:pS,r:yS,D:gS,C:vS,L:SS,m:bS,X:AS,S:ES,M:TS};function pS(){var t=Mn.f(),e=ru();return t||e}function yS(t){var e=Pa(t);e!==null&&e.tag===5&&e.type==="form"?Pm(e):Mn.r(t)}var Li=typeof document>"u"?null:document;function O8(t,e,n){var l=Li;if(l&&typeof e=="string"&&e){var s=we(e);s='link[rel="'+t+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),j8.has(s)||(j8.add(s),t={rel:t,crossOrigin:n,href:e},l.querySelector(s)===null&&(e=l.createElement("link"),se(e,"link",t),It(e),l.head.appendChild(e)))}}function gS(t){Mn.D(t),O8("dns-prefetch",t,null)}function vS(t,e){Mn.C(t,e),O8("preconnect",t,e)}function SS(t,e,n){Mn.L(t,e,n);var l=Li;if(l&&t&&e){var s='link[rel="preload"][as="'+we(e)+'"]';e==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+we(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+we(n.imageSizes)+'"]')):s+='[href="'+we(t)+'"]';var o=s;switch(e){case"style":o=Ci(t);break;case"script":o=Di(t)}Xe.has(o)||(t=E({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Xe.set(o,t),l.querySelector(s)!==null||e==="style"&&l.querySelector(Ul(o))||e==="script"&&l.querySelector(_l(o))||(e=l.createElement("link"),se(e,"link",t),It(e),l.head.appendChild(e)))}}function bS(t,e){Mn.m(t,e);var n=Li;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",s='link[rel="modulepreload"][as="'+we(l)+'"][href="'+we(t)+'"]',o=s;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Di(t)}if(!Xe.has(o)&&(t=E({rel:"modulepreload",href:t},e),Xe.set(o,t),n.querySelector(s)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(_l(o)))return}l=n.createElement("link"),se(l,"link",t),It(l),n.head.appendChild(l)}}}function ES(t,e,n){Mn.S(t,e,n);var l=Li;if(l&&t){var s=Ja(l).hoistableStyles,o=Ci(t);e=e||"default";var m=s.get(o);if(!m){var S={loading:0,preload:null};if(m=l.querySelector(Ul(o)))S.loading=5;else{t=E({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Xe.get(o))&&p0(t,n);var T=m=l.createElement("link");It(T),se(T,"link",t),T._p=new Promise(function(D,w){T.onload=D,T.onerror=w}),T.addEventListener("load",function(){S.loading|=1}),T.addEventListener("error",function(){S.loading|=2}),S.loading|=4,vu(m,e,l)}m={type:"stylesheet",instance:m,count:1,state:S},s.set(o,m)}}}function AS(t,e){Mn.X(t,e);var n=Li;if(n&&t){var l=Ja(n).hoistableScripts,s=Di(t),o=l.get(s);o||(o=n.querySelector(_l(s)),o||(t=E({src:t,async:!0},e),(e=Xe.get(s))&&y0(t,e),o=n.createElement("script"),It(o),se(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(s,o))}}function TS(t,e){Mn.M(t,e);var n=Li;if(n&&t){var l=Ja(n).hoistableScripts,s=Di(t),o=l.get(s);o||(o=n.querySelector(_l(s)),o||(t=E({src:t,async:!0,type:"module"},e),(e=Xe.get(s))&&y0(t,e),o=n.createElement("script"),It(o),se(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(s,o))}}function z8(t,e,n,l){var s=(s=lt.current)?gu(s):null;if(!s)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=Ci(n.href),n=Ja(s).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=Ci(n.href);var o=Ja(s).hoistableStyles,m=o.get(t);if(m||(s=s.ownerDocument||s,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,m),(o=s.querySelector(Ul(t)))&&!o._p&&(m.instance=o,m.state.loading=5),Xe.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Xe.set(t,n),o||MS(s,t,n,m.state))),e&&l===null)throw Error(c(528,""));return m}if(e&&l!==null)throw Error(c(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Di(n),n=Ja(s).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function Ci(t){return'href="'+we(t)+'"'}function Ul(t){return'link[rel="stylesheet"]['+t+"]"}function B8(t){return E({},t,{"data-precedence":t.precedence,precedence:null})}function MS(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),se(e,"link",n),It(e),t.head.appendChild(e))}function Di(t){return'[src="'+we(t)+'"]'}function _l(t){return"script[async]"+t}function w8(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+we(n.href)+'"]');if(l)return e.instance=l,It(l),l;var s=E({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),It(l),se(l,"style",s),vu(l,n.precedence,t),e.instance=l;case"stylesheet":s=Ci(n.href);var o=t.querySelector(Ul(s));if(o)return e.state.loading|=4,e.instance=o,It(o),o;l=B8(n),(s=Xe.get(s))&&p0(l,s),o=(t.ownerDocument||t).createElement("link"),It(o);var m=o;return m._p=new Promise(function(S,T){m.onload=S,m.onerror=T}),se(o,"link",l),e.state.loading|=4,vu(o,n.precedence,t),e.instance=o;case"script":return o=Di(n.src),(s=t.querySelector(_l(o)))?(e.instance=s,It(s),s):(l=n,(s=Xe.get(o))&&(l=E({},n),y0(l,s)),t=t.ownerDocument||t,s=t.createElement("script"),It(s),se(s,"link",l),t.head.appendChild(s),e.instance=s);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,vu(l,n.precedence,t));return e.instance}function vu(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=l.length?l[l.length-1]:null,o=s,m=0;m<l.length;m++){var S=l[m];if(S.dataset.precedence===e)o=S;else if(o!==s)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function p0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function y0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Su=null;function N8(t,e,n){if(Su===null){var l=new Map,s=Su=new Map;s.set(n,l)}else s=Su,l=s.get(n),l||(l=new Map,s.set(n,l));if(l.has(t))return l;for(l.set(t,null),n=n.getElementsByTagName(t),s=0;s<n.length;s++){var o=n[s];if(!(o[nl]||o[ne]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var m=o.getAttribute(e)||"";m=t+m;var S=l.get(m);S?S.push(o):l.set(m,[o])}}return l}function Z8(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function xS(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function U8(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function VS(t,e,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var s=Ci(l.href),o=e.querySelector(Ul(s));if(o){e=o._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=bu.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=o,It(o);return}o=e.ownerDocument||e,l=B8(l),(s=Xe.get(s))&&p0(l,s),o=o.createElement("link"),It(o);var m=o;m._p=new Promise(function(S,T){m.onload=S,m.onerror=T}),se(o,"link",l),n.instance=o}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=bu.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var g0=0;function LS(t,e){return t.stylesheets&&t.count===0&&Au(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var l=setTimeout(function(){if(t.stylesheets&&Au(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},6e4+e);0<t.imgBytes&&g0===0&&(g0=62500*uS());var s=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Au(t,t.stylesheets),t.unsuspend)){var o=t.unsuspend;t.unsuspend=null,o()}},(t.imgBytes>g0?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(s)}}:null}function bu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Au(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Eu=null;function Au(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Eu=new Map,e.forEach(CS,t),Eu=null,bu.call(t))}function CS(t,e){if(!(e.state.loading&4)){var n=Eu.get(t);if(n)var l=n.get(null);else{n=new Map,Eu.set(t,n);for(var s=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<s.length;o++){var m=s[o];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(n.set(m.dataset.precedence,m),l=m)}l&&n.set(null,l)}s=e.instance,m=s.getAttribute("data-precedence"),o=n.get(m)||l,o===l&&n.set(null,s),n.set(m,s),this.count++,l=bu.bind(this),s.addEventListener("load",l),s.addEventListener("error",l),o?o.parentNode.insertBefore(s,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(s,t.firstChild)),e.state.loading|=4}}var Gl={$$typeof:q,Provider:null,Consumer:null,_currentValue:ot,_currentValue2:ot,_threadCount:0};function DS(t,e,n,l,s,o,m,S,T){this.tag=1,this.containerInfo=t,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=fo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fo(0),this.hiddenUpdates=fo(null),this.identifierPrefix=l,this.onUncaughtError=s,this.onCaughtError=o,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map}function _8(t,e,n,l,s,o,m,S,T,D,w,_){return t=new DS(t,e,n,m,T,D,w,_,S),e=1,o===!0&&(e|=24),o=Ve(3,null,null,e),t.current=o,o.stateNode=t,e=Jo(),e.refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:l,isDehydrated:n,cache:e},tc(o),t}function G8(t){return t?(t=si,t):si}function q8(t,e,n,l,s,o){s=G8(s),l.context===null?l.context=s:l.pendingContext=s,l=Yn(e),l.payload={element:n},o=o===void 0?null:o,o!==null&&(l.callback=o),n=Xn(t,l,e),n!==null&&(Se(n,t,e),Sl(n,t,e))}function Y8(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function v0(t,e){Y8(t,e),(t=t.alternate)&&Y8(t,e)}function X8(t){if(t.tag===13||t.tag===31){var e=va(t,67108864);e!==null&&Se(e,t,67108864),v0(t,67108864)}}function k8(t){if(t.tag===13||t.tag===31){var e=He();e=ho(e);var n=va(t,e);n!==null&&Se(n,t,e),v0(t,e)}}var Tu=!0;function RS(t,e,n,l){var s=N.T;N.T=null;var o=X.p;try{X.p=2,S0(t,e,n,l)}finally{X.p=o,N.T=s}}function HS(t,e,n,l){var s=N.T;N.T=null;var o=X.p;try{X.p=8,S0(t,e,n,l)}finally{X.p=o,N.T=s}}function S0(t,e,n,l){if(Tu){var s=b0(l);if(s===null)l0(t,e,l,Mu,n),F8(t,l);else if(OS(s,t,e,n,l))l.stopPropagation();else if(F8(t,l),e&4&&-1<jS.indexOf(t)){for(;s!==null;){var o=Pa(s);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var m=ha(o.pendingLanes);if(m!==0){var S=o;for(S.pendingLanes|=2,S.entangledLanes|=2;m;){var T=1<<31-Me(m);S.entanglements[1]|=T,m&=~T}nn(o),(Tt&6)===0&&(su=Ae()+500,Bl(0))}}break;case 31:case 13:S=va(o,2),S!==null&&Se(S,o,2),ru(),v0(o,2)}if(o=b0(l),o===null&&l0(t,e,l,Mu,n),o===s)break;s=o}s!==null&&l.stopPropagation()}else l0(t,e,l,null,n)}}function b0(t){return t=Ao(t),E0(t)}var Mu=null;function E0(t){if(Mu=null,t=Qa(t),t!==null){var e=d(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=g(e),t!==null)return t;t=null}else if(n===31){if(t=p(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Mu=t,null}function K8(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 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(g3()){case th:return 2;case eh:return 8;case hs:case v3:return 32;case nh:return 268435456;default:return 32}default:return 32}}var A0=!1,ea=null,na=null,aa=null,ql=new Map,Yl=new Map,ia=[],jS="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 F8(t,e){switch(t){case"focusin":case"focusout":ea=null;break;case"dragenter":case"dragleave":na=null;break;case"mouseover":case"mouseout":aa=null;break;case"pointerover":case"pointerout":ql.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yl.delete(e.pointerId)}}function Xl(t,e,n,l,s,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:n,eventSystemFlags:l,nativeEvent:o,targetContainers:[s]},e!==null&&(e=Pa(e),e!==null&&X8(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,s!==null&&e.indexOf(s)===-1&&e.push(s),t)}function OS(t,e,n,l,s){switch(e){case"focusin":return ea=Xl(ea,t,e,n,l,s),!0;case"dragenter":return na=Xl(na,t,e,n,l,s),!0;case"mouseover":return aa=Xl(aa,t,e,n,l,s),!0;case"pointerover":var o=s.pointerId;return ql.set(o,Xl(ql.get(o)||null,t,e,n,l,s)),!0;case"gotpointercapture":return o=s.pointerId,Yl.set(o,Xl(Yl.get(o)||null,t,e,n,l,s)),!0}return!1}function Q8(t){var e=Qa(t.target);if(e!==null){var n=d(e);if(n!==null){if(e=n.tag,e===13){if(e=g(n),e!==null){t.blockedOn=e,rh(t.priority,function(){k8(n)});return}}else if(e===31){if(e=p(n),e!==null){t.blockedOn=e,rh(t.priority,function(){k8(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function xu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=b0(t.nativeEvent);if(n===null){n=t.nativeEvent;var l=new n.constructor(n.type,n);Eo=l,n.target.dispatchEvent(l),Eo=null}else return e=Pa(n),e!==null&&X8(e),t.blockedOn=n,!1;e.shift()}return!0}function P8(t,e,n){xu(t)&&n.delete(e)}function zS(){A0=!1,ea!==null&&xu(ea)&&(ea=null),na!==null&&xu(na)&&(na=null),aa!==null&&xu(aa)&&(aa=null),ql.forEach(P8),Yl.forEach(P8)}function Vu(t,e){t.blockedOn===e&&(t.blockedOn=null,A0||(A0=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,zS)))}var Lu=null;function J8(t){Lu!==t&&(Lu=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){Lu===t&&(Lu=null);for(var e=0;e<t.length;e+=3){var n=t[e],l=t[e+1],s=t[e+2];if(typeof l!="function"){if(E0(l||n)===null)continue;break}var o=Pa(n);o!==null&&(t.splice(e,3),e-=3,bc(o,{pending:!0,data:s,method:n.method,action:l},l,s))}}))}function Ri(t){function e(T){return Vu(T,t)}ea!==null&&Vu(ea,t),na!==null&&Vu(na,t),aa!==null&&Vu(aa,t),ql.forEach(e),Yl.forEach(e);for(var n=0;n<ia.length;n++){var l=ia[n];l.blockedOn===t&&(l.blockedOn=null)}for(;0<ia.length&&(n=ia[0],n.blockedOn===null);)Q8(n),n.blockedOn===null&&ia.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var s=n[l],o=n[l+1],m=s[he]||null;if(typeof o=="function")m||J8(n);else if(m){var S=null;if(o&&o.hasAttribute("formAction")){if(s=o,m=o[he]||null)S=m.formAction;else if(E0(s)!==null)continue}else S=m.action;typeof S=="function"?n[l+1]=S:(n.splice(l,3),l-=3),J8(n)}}}function $8(){function t(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(m){return s=m})},focusReset:"manual",scroll:"manual"})}function e(){s!==null&&(s(),s=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,s=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),s!==null&&(s(),s=null)}}}function T0(t){this._internalRoot=t}Cu.prototype.render=T0.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var n=e.current,l=He();q8(n,l,t,e,null,null)},Cu.prototype.unmount=T0.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;q8(t.current,2,null,t,null,null),ru(),e[Fa]=null}};function Cu(t){this._internalRoot=t}Cu.prototype.unstable_scheduleHydration=function(t){if(t){var e=uh();t={blockedOn:null,target:t,priority:e};for(var n=0;n<ia.length&&e!==0&&e<ia[n].priority;n++);ia.splice(n,0,t),n===0&&Q8(t)}};var W8=u.version;if(W8!=="19.2.1")throw Error(c(527,W8,"19.2.1"));X.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=v(e),t=t!==null?b(t):null,t=t===null?null:t.stateNode,t};var BS={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:N,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Du=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Du.isDisabled&&Du.supportsFiber)try{Ii=Du.inject(BS),Te=Du}catch{}}return Oi.createRoot=function(t,e){if(!h(t))throw Error(c(299));var n=!1,l="",s=l6,o=s6,m=u6;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(s=e.onUncaughtError),e.onCaughtError!==void 0&&(o=e.onCaughtError),e.onRecoverableError!==void 0&&(m=e.onRecoverableError)),e=_8(t,1,!1,null,null,n,l,null,s,o,m,$8),t[Fa]=e.current,i0(t),new T0(e)},Oi.hydrateRoot=function(t,e,n){if(!h(t))throw Error(c(299));var l=!1,s="",o=l6,m=s6,S=u6,T=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(m=n.onCaughtError),n.onRecoverableError!==void 0&&(S=n.onRecoverableError),n.formState!==void 0&&(T=n.formState)),e=_8(t,1,!0,e,n??null,l,s,T,o,m,S,$8),e.context=G8(null),n=e.current,l=He(),l=ho(l),s=Yn(l),s.callback=null,Xn(n,s,l),n=l,e.current.lanes=n,el(e,n),nn(e),t[Fa]=e.current,i0(t),new Cu(e)},Oi.version="19.2.1",Oi}var O0;function u4(){if(O0)return Hu.exports;O0=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),Hu.exports=s4(),Hu.exports}var r4=u4();const o4=Hi(r4);var f=Bu();const c4={common:{cancel:"Cancel",auto:"Auto",normal:"Normal",notUse:"Not used",prev:"Previous video",next:"Next video",delayText:"seconds until auto-play",license:"License",play:"Play",pause:"Pause",replay:"Replay",fullOn:"Fullscreen",fullOff:"Exit fullscreen",muteOn:"Mute",muteOff:"Unmute",captionOff:"Turn off captions",captionOn:"Turn on captions",setting:"Settings",live:"LIVE",miniPlayer:"Mini player",isMute:"You are muted.",subtitle:"Subtitles",subtitleNot:"Subtitles not available"},settings:{autoplay:"Autoplay",playbackRate:"Playback speed",captions:"Subtitles",quality:"Quality"},error:{"01":{title:"Cannot play video",desc:"Invalid access. Please check your access_key."},"02":{title:"Cannot play video",desc:"You do not have permission to play this video."},"03":{title:"Authentication Failed",desc:"The network connection is unstable."},"04":{title:"Cannot play video",desc:"The video could not be played."},"05":{title:"Cannot play video",desc:"The license is not valid."},"06":{title:"Cannot play video",desc:"Monthly basic API calls exceeded. Please switch to a paid version."},"07":{title:"Cannot play video",desc:"Unsupported format."},"08":{title:"Cannot play video",desc:"Invalid URL format."},"09":{title:"Cannot play video",desc:"The live stream is OFFLINE."},10:{title:"Cannot play video",desc:"Cannot play DASH video on iOS."},11:{title:"Cannot play video",desc:"Invalid DRM token."},12:{title:"Cannot play video",desc:"Failed to communicate with the DRM license server."},13:{title:"Cannot play video",desc:"FairPlay certificate validation failed."},14:{title:"Cannot play video",desc:"Screen capture / screen recording has been detected."},15:{title:"Player Execution Failed",desc:"Required module was not loaded. (hls.js)"},16:{title:"Player Execution Failed",desc:"Required module was not loaded. (dash.js)"}},alternative:{hour:"hour(s)",minute:"minute(s)",second:"second(s)",after:"In a moment",afterMin:"min",afterHour:"hour",afterDay:"day",startPlay:"Video will start in {timeTxt}.",nextPlay:"Next video will play in {timeTxt} seconds.",afterPlay:"Scheduled"}},f4={common:{cancel:"취소",auto:"자동",normal:"보통",notUse:"사용안함",prev:"이전 동영상",next:"다음 동영상",delayText:"초 뒤 자동재생",license:"라이선스",play:"재생",pause:"일시정지",replay:"다시보기",fullOn:"전체화면",fullOff:"전체화면 해제",muteOn:"음소거",muteOff:"음소거 해제",captionOff:"자막끄기",captionOn:"자막켜기",setting:"설정",live:"실시간",miniPlayer:"미니플레이어",isMute:"음소거 상태입니다.",subtitle:"자막",subtitleNot:"자막 사용 불가"},settings:{autoplay:"자동재생",playbackRate:"재생 속도",captions:"자막",quality:"해상도"},error:{"01":{title:"동영상을 재생할 수 없음",desc:"잘못된 접근입니다. access_key를 확인해주세요."},"02":{title:"동영상을 재생할 수 없음",desc:"동영상을 재생할 권한이 없습니다."},"03":{title:"인증 실패",desc:"네트워크 연결이 원활하지 않습니다."},"04":{title:"동영상을 재생할 수 없음",desc:"동영상을 재생할 수 없습니다."},"05":{title:"동영상을 재생할 수 없음",desc:"라이선스가 유효하지 않습니다."},"06":{title:"동영상을 재생할 수 없음",desc:"월 기본 제공 호출 건수를 초과하였습니다. 유료 버전으로 전환 후 사용 부탁 드립니다."},"07":{title:"동영상을 재생할 수 없음",desc:"지원하지 않는 형식입니다."},"08":{title:"동영상을 재생할 수 없음",desc:"URL 형식이 잘못되었습니다."},"09":{title:"동영상을 재생할 수 없음",desc:"라이브스트림이 OFFLINE 입니다."},10:{title:"동영상을 재생할 수 없음",desc:"iOS에서 Dash 비디오를 재생할 수 없습니다."},11:{title:"동영상을 재생할 수 없음",desc:"DRM 토큰이 잘못되었습니다."},12:{title:"동영상을 재생할 수 없음",desc:"DRM 라이선스 서버와 통신에 실패하였습니다."},13:{title:"동영상을 재생할 수 없음",desc:"FairPlay 인증서 검증에 실패하였습니다."},14:{title:"동영상을 재생할 수 없음",desc:"화면 캡쳐 / 화면 녹화가 감지되었습니다."},15:{title:"플레이어 실행 실패",desc:"필수 모듈이 로드되지 않았습니다. (hls.js)"},16:{title:"플레이어 실행 실패",desc:"필수 모듈이 로드되지 않았습니다. (dash.js)"}},alternative:{hour:"시",minute:"분",second:"초",after:"잠시 ",afterMin:"분 ",afterHour:"시간 ",afterDay:"일 ",startPlay:"{timeTxt} 후 영상이 시작됩니다.",nextPlay:"{timeTxt}초 후 다음 영상이 재생됩니다.",afterPlay:"예정"}},d4={common:{cancel:"キャンセル",auto:"自動",normal:"標準",notUse:"使用しない",prev:"前の動画",next:"次の動画",delayText:"秒後に自動再生",license:"ライセンス",play:"再生",pause:"一時停止",replay:"リプレイ",fullOn:"全画面表示",fullOff:"全画面表示を終了",muteOn:"ミュート",muteOff:"ミュート解除",captionOff:"字幕をオフにする",captionOn:"字幕をオンにする",setting:"設定",live:"ライブ",miniPlayer:"ミニプレーヤー",isMute:"ミュート状態です。",subtitle:"字幕",subtitleNot:"字幕は利用できません"},settings:{autoplay:"自動再生",playbackRate:"再生速度",captions:"字幕",quality:"画質"},error:{"01":{title:"動画を再生できません",desc:"不正なアクセスです。access_keyを確認してください。"},"02":{title:"動画を再生できません",desc:"この動画を再生する権限がありません。"},"03":{title:"認証に失敗しました",desc:"ネットワーク接続が不安定です。"},"04":{title:"動画を再生できません",desc:"動画を再生できませんでした。"},"05":{title:"動画を再生できません",desc:"ライセンスが無効です。"},"06":{title:"動画を再生できません",desc:"月間の基本提供呼び出し回数を超過しました。有料版に切り替えてご利用ください。"},"07":{title:"動画を再生できません",desc:"サポートされていない形式です。"},"08":{title:"動画を再生できません",desc:"URLの形式が正しくありません。"},"09":{title:"動画を再生できません",desc:"ライブストリームはオフラインです。"},10:{title:"動画を再生できません",desc:"iOSではDASHビデオを再生できません。"},11:{title:"動画を再生できません",desc:"DRMトークンが無効です。"},12:{title:"動画を再生できません",desc:"DRMライセンスサーバーとの通信に失敗しました。"},13:{title:"動画を再生できません",desc:"FairPlay証明書の検証に失敗しました。"},14:{title:"動画を再生できません",desc:"画面キャプチャ/画面録画が検出されました。"},15:{title:"プレーヤーの起動に失敗しました",desc:"必須モジュールが読み込まれていません。(hls.js)"},16:{title:"プレーヤーの起動に失敗しました",desc:"必須モジュールが読み込まれていません。(dash.js)"}},alternative:{hour:"時間",minute:"分",second:"秒",after:"しばらくして",afterMin:"分後",afterHour:"時間後",afterDay:"日後",startPlay:"{timeTxt}後に動画が始まります。",nextPlay:"{timeTxt}秒後に次の動画が再生されます。",afterPlay:"予定"}},z0={en:c4,ko:f4,ja:d4},h4=()=>typeof navigator<"u"&&typeof navigator.language<"u";function m4(a){const i=a.split("-")[0];return i in z0?i:"en"}function B0(a){let i="en";a?i=a:h4()&&(i=navigator.language);const u=m4(i);return z0[u]}B0();const p4={AF:"Afghanistan",AX:"Åland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia (Plurinational State of)",BQ:"Bonaire, Sint Eustatius and Saba",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",CV:"Cabo Verde",KH:"Cambodia",CM:"Cameroon",CA:"Canada",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo (Democratic Republic of the)",CK:"Cook Islands",CR:"Costa Rica",CI:"Côte d'Ivoire",HR:"Croatia",CU:"Cuba",CW:"Curaçao",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and McDonald Islands",VA:"Holy See",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran (Islamic Republic of)",IQ:"Iraq",IE:"Ireland",IM:"Isle of Man",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea (Democratic People's Republic of)",KR:"Korea, Republic of",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia (the former Yugoslav Republic of)",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia (Federated States of)",MD:"Moldova (Republic of)",MC:"Monaco",MN:"Mongolia",ME:"Montenegro",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestine, State of",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",BL:"Saint Barthélemy",SH:"Saint Helena, Ascension and Tristan da Cunha",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",MF:"Saint Martin (French part)",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SX:"Sint Maarten (Dutch part)",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",SS:"South Sudan",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States of America",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela (Bolivarian Republic of)",VN:"Viet Nam",VG:"Virgin Islands (British)",VI:"Virgin Islands (U.S.)",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe"},y4={gov:{prod:{log:"https://papi.vpe.gov-ntruss.com/player/maSync",report:"https://log.vpe.gov-ntruss.com/stats"},beta:{log:"https://papi.beta-vpe.gov-ntruss.com/player/maSync",report:"https://log.beta-vpe.gov-ntruss.com/stats"}},pub:{prod:{log:"https://papi.vpe.naverncp.com/player/maSync",report:"https://log.vpe.naverncp.com/stats"},beta:{log:"https://papi.beta-vpe.naverncp.com/player/maSync",report:"https://log.beta-vpe.naverncp.com/stats"}}};let be={video:{},browser:{},device:{},connection:{},screen:{},player_version:"latest",extra:{sessionId:null,playerType:"VPE React Native"},log_type:"vpe",privacy:{cookie_enabled:!0}},Vn={platform:"pub",stage:"prod",sync:!1,syncResult:{}};const g4=new Date().getTime(),w0=()=>{const a=new Date,i=h=>String(h).padStart(2,"0"),u=`${a.getFullYear()}-${i(a.getMonth()+1)}-${i(a.getDate())} ${i(a.getHours())}:${i(a.getMinutes())}:${i(a.getSeconds())}`,r=Math.floor(a.getTime()/1e3),c=new Date().getTime()-g4;return{logDate:u,logDateUnix:r,thisSec:c}};function v4(a){return typeof a=="object"&&a!==null&&!Array.isArray(a)}function S4(a,i){Object.entries(i).forEach(([u,r])=>{v4(r)?(a[u]||(a[u]={}),Object.entries(r).forEach(([c,h])=>{h!=null&&(a[u][c]=h)})):r!=null&&(a[u]=r)})}function b4(a){const i=[];return a?.r1&&i.push(a.r1),a?.r2&&i.push(a.r2),a?.r3&&i.push(a.r3),i.join(" ")}function E4(a){try{const i=Vn.syncResult?.geoLocation;i&&(a.address=b4(i),a.isp=i.net||"",a.ip=Vn.syncResult?.ip||"",a.nation=i.country||"")}catch{}}const A4=async a=>{if(!a)return;const{platform:i,stage:u}=Vn,r=y4[i][u].log;try{const c=await(await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({access_key:a})})).json();Vn.sync=c.result?.sync||!1,Vn.syncResult=c.result||{};const{logDate:h,logDateUnix:d}=w0();return be.extra.logDate=h,be.extra.logDateUnix=d,Vn.syncResult?.geoLocation&&E4(be.extra),c}catch(c){return console.error("MA config initialization failed:",c),null}};async function T4(a,i,u,r,c){Vn.platform=a,Vn.stage=i,S4(be,u),r&&(be.extra.vpePackageId=r),c&&(be.extra.vpeKey=c),be.extra.nation?be.browser.country=p4[be.extra.nation]||"Korea, Republic of":be.browser.country="Korea, Republic of";const{logDate:h,logDateUnix:d}=w0();be.extra.logDate=h,be.extra.logDateUnix=d,be.extra.created_at=d}const M4=(a={})=>{const i={autostart:!0,muted:!1,aspectRatio:"16/9",objectFit:"contain",controls:!0,keyboardShortcut:!1,startMutedInfoNotVisible:!1,allowsPictureInPicture:!1,staysActiveInBackground:!1,screenRecordingPrevention:!1,modalFullscreen:!1,lang:"ko",ui:"all",controlBtn:{play:!0,fullscreen:!0,progressBar:!0,volume:!1,times:!0,pictureInPicture:!0,setting:!0,subtitle:!0},progressBarColor:"#4299f5",controlActiveTime:3e3,playRateSetting:[.5,.75,1,1.5,2],autoPause:!1,repeat:!1,setStartTime:void 0,playIndex:0,lowLatencyMode:!0,touchGestures:!0,descriptionNotVisible:!1,devTestAppId:void 0,token:"",visibleWatermark:!1,watermarkText:"NAVER CLOUD PLATFORM",watermarkConfig:{randPosition:!0,randPositionInterVal:3e3,x:10,y:10,opacity:.5},captionStyle:{fontSize:12,color:"#ffffff",backgroundColor:"rgba(0, 0, 0, 0.4)",edgeStyle:"dropshadow"},override:null},u={...i,...a};return a.controlBtn&&(u.controlBtn={...i.controlBtn,...a.controlBtn}),a.watermarkConfig&&(u.watermarkConfig={...i.watermarkConfig,...a.watermarkConfig}),a.captionStyle&&(u.captionStyle={...i.captionStyle,...a.captionStyle}),u.objectFit==="fill"&&(u.objectFit="stretch"),u.controlBtn?.progressBar===void 0&&(u.controlBtn.progressBar=!0),u},x4={gov:{prod:{config:"aHR0cHM6Ly9wYXBpLnZwZS5nb3YtbnRydXNzLmNvbS9wbGF5ZXIvY29uZmln",report:"aHR0cHM6Ly9sb2cudnBlLmdvdi1udHJ1c3MuY29tL3N0YXRz"},beta:{config:"aHR0cHM6Ly9wYXBpLmJldGEtdnBlLmdvdi1udHJ1c3MuY29tL3BsYXllci9jb25maWc=",report:"aHR0cHM6Ly9sb2cuYmV0YS12cGUuZ292LW50cnVzcy5jb20vc3RhdHM="}},pub:{prod:{config:"aHR0cHM6Ly9wYXBpLnZwZS5uYXZlcm5jcC5jb20vcGxheWVyL2NvbmZpZw==",report:"aHR0cHM6Ly9sb2cudnBlLm5hdmVybmNwLmNvbS9zdGF0cw=="},beta:{config:"aHR0cHM6Ly9wYXBpLmJldGEtdnBlLm5hdmVybmNwLmNvbS9wbGF5ZXIvY29uZmln",report:"aHR0cHM6Ly9sb2cuYmV0YS12cGUubmF2ZXJuY3AuY29tL3N0YXRz"}}};let N0=[];const V4=a=>{try{return atob(a)}catch(i){return console.error("Base64 decoding failed:",i),""}};class L4{serverConfig={};playerInfo=null;accessKey;appId;platform;stage;isDev;translator;errorState;constructor({accessKey:i,appId:u,platform:r,stage:c,isDev:h=!1,language:d}){this.accessKey=i,this.appId=u||location.origin,this.platform=r,this.stage=c,this.isDev=h,this.translator=B0(d),this.errorState={errorCode:null,errorMessage:null}}async initialize(){const i=["accessKey","appId","E0002","E0001","E0003"],u="VPE Player: accessKey 또는 appId가 없어 키 인증을 건너뜁니다.";if([this[i[0]],this[i[1]]].some(c=>!c))return console.warn(u),{error:this.setErrorRun(i[2])};const r=c=>(this.serverConfig=c,this.playerInfo=this.createPlayerInfo(c),this.playerInfo);try{const c=await this.performKeyCheck();if(c.code!==200)return{error:this.setErrorRun(i[3])};const h=r(c);return await T4(this.platform,this.stage,h,this.appId,this.accessKey),await A4(this.accessKey),{options:this.serverConfig.result?.options,playerInfo:h}}catch(c){return console.error("VPE SDK Initialization failed:",c),{error:this.setErrorRun(i[4])}}}async performKeyCheck(){const i=["?preview=true","config","Content-Type","application/json","access_key","domain","POST"],u=this.isDev?i[0]:"",r=V4(x4[this.platform][this.stage][i[1]])+u,c=JSON.stringify([i[4],i[5]].reduce((d,g,p)=>(d[g]=[this.accessKey,this.appId][p],d),{})),h=await fetch(r,{method:i[6],headers:{[i[2]]:i[3]},body:c});if(!h.ok)throw new Error(["API","Error:",h.status,h.statusText].join(" "));return h.json()}getBrowserInfo(){const i=navigator.userAgent;return/Edg\/(\d+\.\d+)/.test(i)?{origin:"Edge",version:RegExp.$1}:/Chrome\/(\d+\.\d+)/.test(i)&&!i.includes("Edg")?{origin:"Chrome",version:RegExp.$1}:/Firefox\/(\d+\.\d+)/.test(i)?{origin:"Firefox",version:RegExp.$1}:/Version\/(\d+\.\d+)/.test(i)&&i.includes("Safari")?{origin:"Safari",version:RegExp.$1}:{origin:"Unknown",version:"Unknown"}}createPlayerInfo(i){const[u,r]=i.result.name.split("|"),c=navigator.connection||navigator.mozConnection||navigator.webkitConnection,h=this.getBrowserInfo(),d=navigator.userAgentData;return{cid:i.result.cid,player_name:u,player_version:r,pricing:i.result.pricing,maUse:i.result.options?.maUse==="Y"?"Y":"N",browser:{lang:navigator.language,ua:navigator.userAgent},screen:{width:window.screen.width,height:window.screen.height},connection:{network:c?.effectiveType??"unknown",downlink:c?.downlink??null,rtt:c?.rtt??null,save_data:c?.saveData??!1},device:{platform:d?.platform??"Unknown",mobile:d?.mobile??!1,memory:navigator.deviceMemory??null,processor:navigator.hardwareConcurrency??null},video:{url:""},extra:{vpeKey:this.accessKey,playerType:"VPE",playerVersion:r,device:d?.platform??"Unknown",os:d?.platform??"Unknown",osOrigin:d?.platform??"Unknown",osVersion:d?.platformVersion??"Unknown",vpePackageId:this.appId,actionDuration:0,actionType:"ready",browser:h.origin,browserOrigin:h.origin,browserVersion:h.version,protocol:location.protocol,quality:"Other",qualityOrigin:"Auto",host:`${this.appId}&${d?.platform??"Unknown"}&${d?.platformVersion??"Unknown"}`,location:`${this.appId}://appView/video/vpe`,title:""}}}setErrorRun(i){const u=i.slice(-2),r=this.translator.error[u]||this.translator.error["01"],c={errorCode:i,errorMessage:r};return this.errorState=c,console.error("ncplayer : ",c),c}getErrorState(){return this.errorState}isPaidTier(){return this.serverConfig.result?.pricing==="pay"}isInitialized(){return!!this.serverConfig.result}getValidatedOptions(i){const u=M4(this.serverConfig.result?.options?.options),r={...u,...i??{}};return i?.controlBtn&&(r.controlBtn={...u.controlBtn,...i.controlBtn}),i?.watermarkConfig&&(r.watermarkConfig={...u.watermarkConfig,...i.watermarkConfig}),r.playlist&&!Array.isArray(r.playlist)&&(r.playlist=[{file:r.playlist}]),N0=r.playlist||[],r}getPlaylist(){return N0||[]}$t(i){const u=i.split(".");let r=this.translator;for(const c of u)if(r&&typeof r=="object"&&c in r)r=r[c];else return i;return typeof r=="string"?r:i}}const Nu=new Map;function C4(a,i){if(Nu.has(a))return Nu.get(a);const r={value:typeof i=="function"?i():i,listeners:new Set};return Nu.set(a,r),r}function Z0(a,i){const u=C4(a,i),r=g=>(u.listeners.add(g),()=>u.listeners.delete(g)),c=()=>u.value,h=g=>{u.value=typeof g=="function"?g(u.value):g,u.listeners.forEach(p=>p())};return[f.useSyncExternalStore(r,c),h]}const Zu=new Map;function D4(a,i){if(Zu.has(a))return Zu.get(a);const r={value:typeof i=="function"?i():i,listeners:new Set};return Zu.set(a,r),r}function U0(a,i){const u=D4(a,i),r=g=>(u.listeners.add(g),()=>u.listeners.delete(g)),c=()=>u.value,h=f.useCallback(g=>{u.value=typeof g=="function"?g(u.value):g,u.listeners.forEach(p=>p())},[u]);return[f.useSyncExternalStore(r,c),h]}const R4="playerState",H4={isUserTouch:!1,isPlaying:!1,initPlay:!1,isEnded:!1,isMuted:!1,isLive:!1,isDvr:!1,isSeeked:!1,isWaiting:!0,isLoading:!0,hasSubtitle:!1,isPictureInPicture:!1,isSettingModal:!1,isFullscreen:!1,isSubtitle:!0,subTitleIdx:0,currentTime:0,duration:0,buffered:0,bufferedStart:0,bufferedEnd:0,playbackRate:1,isVolume:100,levels:[],currentLevel:-1,isAutoLevel:!0};function fe(){const[a,i]=U0(R4,H4),u=f.useCallback(r=>{i(c=>{const h=typeof r=="function"?r(c):r;return{...c,...h}})},[i]);return[a,u]}const j4="playerController",O4={videoEl:null,hls:null};function Ee(){const[a,i]=U0(j4,O4),[u,r]=fe(),c=f.useCallback(q=>{i(z=>({...z,videoEl:q}))},[i]),h=f.useCallback(q=>{i(z=>({...z,hls:q}))},[i]),d=f.useCallback(()=>{r({isUserTouch:!0})},[r]),g=f.useCallback(()=>{const q=a.videoEl;q&&q.paused&&q.play()},[a.videoEl]),p=f.useCallback(()=>{const q=a.videoEl;q&&(q.paused||q.pause())},[a.videoEl]),y=f.useCallback(q=>{const z=a.videoEl;if(!z||Number.isNaN(q))return;const k=Math.max(0,Math.min(q,z.duration||q));z.currentTime=k,r({currentTime:k})},[r,a.videoEl]),v=f.useCallback(q=>{const z=a.videoEl;if(!z||Number.isNaN(q))return;const k=Math.max(0,Math.min(100,q));z.volume=k/100,z.muted=k===0},[a.videoEl]),b=f.useCallback(q=>{const z=a.videoEl;z&&(z.muted=q)},[a.videoEl]),E=f.useCallback(q=>{const z=a.videoEl;if(!z)return;const k=z.textTracks;if(!k||k.length===0)return;const J=Math.max(0,Math.min(u.subTitleIdx??0,k.length-1));for(let K=0;K<k.length;K+=1)k[K].mode=q&&K===J?"showing":"disabled";r({isSubtitle:q})},[u.subTitleIdx,r,a.videoEl]),L=f.useCallback(()=>{const q=a.videoEl;if(!q)return;const z=q.textTracks;if(!z||z.length===0){r({isSubtitle:!1});return}let k=!1;for(let J=0;J<z.length;J+=1)if(z[J].mode==="showing"){k=!0;break}k?localStorage.removeItem("vpeSubtitleEnabled"):localStorage.setItem("vpeSubtitleEnabled","Y"),E(!k)},[r,E,a.videoEl]),O=f.useCallback(q=>{const z=a.videoEl;if(!z)return;const k=Array.from(z.querySelectorAll("track")),J=z.textTracks;if((!J||J.length===0)&&k.length===0){r({isSubtitle:!1}),localStorage.removeItem("vpeSubtitleEnabled");return}const K=k.length>0?k.length-1:J.length-1,I=Math.max(0,Math.min(q,K));if(k.length>0)k.forEach((at,Rt)=>{at.track&&(at.track.mode=Rt===I?"showing":"disabled")});else for(let at=0;at<J.length;at+=1)J[at].mode=at===I?"showing":"disabled";r({isSubtitle:!0,subTitleIdx:I}),localStorage.setItem("vpeSubtitleEnabled","Y")},[r,a.videoEl]),B=f.useCallback(()=>{const q=a.videoEl;q&&(q.muted=!q.muted)},[a.videoEl]),U=f.useCallback(()=>{const q=a.videoEl;q&&(q.paused?g():p())},[p,g,a.videoEl]),j=f.useCallback(q=>{const z=a.hls;if(z){if(q==="auto"){z.currentLevel=-1,r({currentLevel:-1,isAutoLevel:!0});return}z.currentLevel=q,r({currentLevel:q,isAutoLevel:!1})}},[r,a.hls]),Y=f.useCallback(q=>{const z=a.videoEl;z&&(z.playbackRate=q)},[a.videoEl]),Q=f.useCallback(async()=>{const q=a.videoEl;if(!q||typeof document>"u")return;const z=document;if(z.pictureInPictureElement){typeof z.exitPictureInPicture=="function"&&await z.exitPictureInPicture();return}const k=q.requestPictureInPicture;typeof k=="function"&&await k.call(q)},[a.videoEl]);return{videoEl:a.videoEl,hls:a.hls,setVideoElement:c,setHlsInstance:h,play:g,pause:p,seekTo:y,setVolume:v,setMuted:b,setSubtitleEnabled:E,toggleSubtitle:L,toggleMute:B,togglePlay:U,useTouch:d,playBackRate:Y,selectSubTitle:O,selectQualityLevel:j,togglePictureInPicture:Q}}function z4(a,i,u=!1){f.useEffect(()=>{const r=a.current;if(!r)return;const c=()=>{i({isPlaying:!0,initPlay:!0,isEnded:!1})},h=()=>{i({isPlaying:!1})},d=()=>{u||Math.round(r.currentTime)%1==0&&i({currentTime:r.currentTime,duration:r.duration})},g=()=>{if(r.buffered.length>0){const Y=r.buffered.start(0),Q=r.buffered.end(r.buffered.length-1);i({buffered:Q,bufferedStart:Y,bufferedEnd:Q})}},p=()=>{i({isEnded:!0})},y=()=>{i({isSeeked:!0})},v=()=>{setTimeout(()=>{i({isSeeked:!1})},200)},b=()=>{i({isMuted:r.muted,isVolume:Math.round(r.volume*100)})},E=()=>{i({isLoading:!0,isWaiting:!0})},L=()=>{i({isLoading:!1})},O=()=>{i({isLoading:!1})},B=()=>{i({isWaiting:!0})},U=()=>{i({isWaiting:!1,isLoading:!1})},j=()=>{i({isWaiting:!0})};return r.addEventListener("play",c),r.addEventListener("pause",h),r.addEventListener("timeupdate",d),r.addEventListener("ended",p),r.addEventListener("progress",g),r.addEventListener("seeking",y),r.addEventListener("seeked",v),r.addEventListener("volumechange",b),r.addEventListener("loadstart",E),r.addEventListener("loadedmetadata",L),r.addEventListener("loadeddata",O),r.addEventListener("waiting",B),r.addEventListener("playing",U),r.addEventListener("stalled",j),b(),()=>{r.removeEventListener("play",c),r.removeEventListener("pause",h),r.removeEventListener("timeupdate",d),r.removeEventListener("ended",p),r.removeEventListener("progress",g),r.removeEventListener("seeking",y),r.removeEventListener("seeked",v),r.removeEventListener("volumechange",b),r.removeEventListener("loadstart",E),r.removeEventListener("loadedmetadata",L),r.removeEventListener("loadeddata",O),r.removeEventListener("waiting",B),r.removeEventListener("playing",U),r.removeEventListener("stalled",j)}},[u,i,a])}function B4(a){const i=f.useRef(null),[u,r]=fe(),{setVideoElement:c,setHlsInstance:h}=Ee(),d=a.hlsLib,g=a.options;return f.useEffect(()=>{const p=i.current,y=a?.src?.file;if(!(!p||!y)){if(d?.isSupported?.()){const v=new d({lowLatencyMode:g.lowLatencyMode,liveSyncDuration:g.lowLatencyMode?3:5,backBufferLength:g.lowLatencyMode?30:90,startPosition:-1});h(v),v.attachMedia(p),v.on(d.Events.MEDIA_ATTACHED,()=>{v.loadSource(y)});const b=E=>{if(typeof E?.details?.live=="boolean"){const L=E.details.live,O=E.details.totalduration,B=L&&typeof O=="number"&&Number.isFinite(O)&&O>0;r({isLive:L,isDvr:B})}};return v.on(d.Events.MANIFEST_PARSED,(E,L)=>{b(L);const O=(v.levels??[]).map((B,U)=>({index:U,width:B.width,height:B.height,bitrate:B.bitrate,name:B.name}));r({levels:O,currentLevel:v.currentLevel,isAutoLevel:v.autoLevelEnabled})}),v.on(d.Events.LEVEL_LOADED,(E,L)=>{b(L)}),v.on(d.Events.LEVEL_SWITCHED,(E,L)=>{r({currentLevel:L.level,isAutoLevel:v.autoLevelEnabled})}),v.on(d.Events.ERROR,(E,L)=>{a.onError&&a.onError({evt:E,data:L})}),()=>{h(null),v.destroy()}}p.src=y}},[d,a?.src?.file,a.onError,h,r]),f.useEffect(()=>{const p=i.current;if(!p||d?.isSupported?.())return;const y=()=>{const v=p.duration,b=!Number.isFinite(v)||v===1/0,E=b?Number.isFinite(v)&&v>0:!1;r({isLive:b,isDvr:E})};return p.addEventListener("loadedmetadata",y),p.addEventListener("durationchange",y),y(),()=>{p.removeEventListener("loadedmetadata",y),p.removeEventListener("durationchange",y)}},[d,r]),f.useEffect(()=>(c(i.current),()=>c(null)),[c]),f.useEffect(()=>{const p=i.current;if(!p)return;const y=g?.playbackRate;typeof y=="number"&&(p.playbackRate=y,r({playbackRate:y}))},[g]),f.useEffect(()=>{const p=i.current;if(!p||!a.src?.vtt?.length)return;const y=50,v=16,b=1.2,E=40,O=-Math.max(1,Math.round(y/(v*b))),B=z=>{if(z.cues)for(let k=0;k<z.cues.length;k+=1){const J=z.cues[k];J.line=O,J.lineAlign="center"}},U=z=>{if(!z.cues)return;const k=p.getBoundingClientRect(),J=k.width>0?E*2*100/k.width:0,K=Math.max(10,Math.min(100,100-J));for(let I=0;I<z.cues.length;I+=1){const at=z.cues[I];at.size=K,at.position=50,at.align="center"}},j=z=>{B(z),U(z)},Y=Array.from(p.querySelectorAll("track")),Q=z=>{const k=z.currentTarget;k?.track&&j(k.track)};Y.forEach(z=>{z.addEventListener("load",Q),z.track&&j(z.track)});const q=new ResizeObserver(()=>{Y.forEach(z=>{z.track&&U(z.track)})});return q.observe(p),()=>{Y.forEach(z=>{z.removeEventListener("load",Q)}),q.disconnect()}},[g,a.src?.vtt]),z4(i,r,u.isSeeked),f.useEffect(()=>{const p=a.src?.vtt??[],y=p.length>0,v=p.findIndex(E=>E.default),b=v>=0?v:0;r({hasSubtitle:y,isSubtitle:!1,subTitleIdx:b})},[a.src?.vtt,r]),f.useEffect(()=>{if(!u.isSubtitle)return;const p=i.current;if(!p||!a.src?.vtt?.length)return;const y=new Map,v=[],b=async(L,O)=>{try{const B=await fetch(O,{mode:"cors"});if(!B.ok)return;const U=await B.blob(),j=URL.createObjectURL(U);v.push(j),y.set(L,L.src),L.src=j}catch{}},E=Array.from(p.querySelectorAll("track"));return E.forEach(L=>{L.src&&b(L,L.src)}),()=>{E.forEach(L=>{const O=y.get(L);O&&(L.src=O)}),v.forEach(L=>URL.revokeObjectURL(L))}},[a.src?.vtt,u.subTitleIdx,u.isSubtitle]),f.useEffect(()=>{const p=i.current;if(!p)return;const y=Array.from(p.querySelectorAll("track")),v=p.textTracks;if((!v||v.length===0)&&y.length===0)return;const b=u.subTitleIdx,E=u.isSubtitle,L=()=>{if(y.length>0){y.forEach(B=>{B.track&&(B.default=!1,B.track.mode="disabled")}),y.forEach((B,U)=>{B.track&&E&&U===b&&(B.default=!0,B.track.mode="showing")});return}for(let B=0;B<v.length;B+=1)v[B].mode="disabled";E&&v[b]&&(v[b].mode="showing")};L();const O=()=>{L()};return y.forEach(B=>{B.addEventListener("load",O)}),()=>{y.forEach(B=>{B.removeEventListener("load",O)})}},[u.isSubtitle,u.subTitleIdx,a.src?.vtt]),f.useEffect(()=>{const p=i.current;p&&g.autostart&&p.play().catch(y=>{console.log(y),p.muted=!0,p.play()})},[g.autostart]),f.useEffect(()=>{setTimeout(()=>{if(!i.current)return;const y=localStorage.getItem("vpeSubtitleEnabled");y!==null&&u.hasSubtitle&&r({isSubtitle:!!y})},1e3)},[u.hasSubtitle,r]),A.jsx(A.Fragment,{children:a?.src?.file&&A.jsx("video",{playsInline:!0,ref:i,className:"w-full h-full ",controls:!1,autoPlay:g?.autostart,muted:g?.muted,loop:g?.repeat,style:{maxHeight:"100%",background:a.src.poster?u.initPlay?"transparent":`url(${a.src.poster}) center / ${g?.objectFit??"contain"} no-repeat`:void 0,objectFit:g?.objectFit??"contain"},children:a.src.vtt?.map(p=>A.jsx("track",{kind:"subtitles",srcLang:p.id,label:p.label,src:p.src,default:p.default},`${p.id}-${p.src}`))})})}function w4(a){return A.jsx(A.Fragment,{children:a?.src?.file&&A.jsx("div",{children:a.src.file})})}function N4(a){return A.jsx(A.Fragment,{children:a?.src?.file&&A.jsx("div",{children:a.src.file})})}function Z4(a){return A.jsx(B4,{...a})}function U4(a){return A.jsx(w4,{...a})}function _4(a){return A.jsx(N4,{...a})}function G4(a){const i=f.useRef(null),u=f.useRef(null),r=a.hlsLib;return f.useEffect(()=>{const c=i.current,h=a?.src?.file;if(!(!c||!h)){if(r?.isSupported?.()){const d=new r({startLevel:0,autoLevelCapping:0});return d.attachMedia(c),d.on(r.Events.MEDIA_ATTACHED,()=>{d.loadSource(h)}),d.on(r.Events.MANIFEST_PARSED,()=>{d.currentLevel=0,d.autoLevelEnabled=!1}),d.on(r.Events.ERROR,(g,p)=>{a.onError&&a.onError({evt:g,data:p})}),()=>{d.destroy()}}c.src=h}},[r,a?.src?.file,a.onError]),f.useEffect(()=>{const c=i.current;if(!c||!a.isHovering||typeof a.previewTime!="number")return;u.current=a.previewTime;const h=()=>{const g=u.current;if(typeof g!="number"||Number.isNaN(g))return;const p=c.duration,y=Math.max(0,Math.min(g,Number.isFinite(p)?p:g));Math.abs(c.currentTime-y)>.25&&(c.currentTime=y),c.pause()};if(c.readyState>=1){h();return}const d=()=>h();return c.addEventListener("loadedmetadata",d,{once:!0}),()=>{c.removeEventListener("loadedmetadata",d)}},[a.isHovering,a.previewTime]),A.jsx(A.Fragment,{children:a?.src?.file&&A.jsx("video",{playsInline:!0,ref:i,className:"w-full h-full",controls:!1,autoPlay:!1,muted:!0,preload:"metadata",style:{objectFit:"cover"}})})}function q4(a="(max-width: 768px)"){const[i,u]=f.useState({isMobile:!1,isPortrait:!1});return f.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=window.matchMedia(a),c=window.matchMedia("(orientation: portrait)"),h=()=>u({isMobile:r.matches,isPortrait:c.matches});return h(),r.addEventListener("change",h),c.addEventListener("change",h),()=>{r.removeEventListener("change",h),c.removeEventListener("change",h)}},[a]),i}class Y4{formatTime(i){if(!i)return"00:00";const u=Math.floor(i),r=String(Math.floor(u/3600)).padStart(2,"0"),c=String(Math.floor(u%3600/60)).padStart(2,"0"),h=String(u%60).padStart(2,"0");return r!=="00"?`${r}:${c}:${h}`:`${c}:${h}`}}const Uu=new Y4,Ha=a=>Math.max(0,Math.min(100,a));function _0({color:a="#ff0000",src:i,hlsLib:u,dashLib:r,options:c,onError:h}){const{isMobile:d}=q4(),[g,p]=fe(),{seekTo:y}=Ee(),[v,b]=f.useState(!1),[E,L]=f.useState(0),[O,B]=f.useState(0),[U,j]=f.useState(null),[Y,Q]=f.useState(null),[q,z]=f.useState(null),k=f.useRef(null),J=f.useRef(null),K=f.useRef(null),I=a||"#ff0000",at="5px",Rt=g.duration??0,$=Rt>0?Rt:0,ct=$>0?(g.currentTime??0)/$*100:0,Mt=$>0?(g.buffered??0)/$*100:0,mt=!!g.isLive,N=(mt&&Rt>0?Math.abs(Rt-(g.currentTime??0))<30:!1)?100:Ha(E),X=U??ct,ot=Y??X,bt=q??X,Wt=$>0?$*(X/100):0,x=U!==null,G=f.useCallback(ut=>{const lt=k.current;if(!lt)return null;const ht=lt.getBoundingClientRect();if(ht.width<=0)return null;const Jt="clientX"in ut?ut.clientX:0;return Math.min(Math.max(Jt-ht.left,0),ht.width)/ht.width*100},[]),P=f.useCallback(ut=>{const lt=k.current;if(!lt)return;const ht=lt.getBoundingClientRect();if(ht.width<=0)return;const Jt=$i=>{const sn=$i>0?$i/2/ht.width*100:0,da=Math.max(0,Math.min(50,sn)),Wi=Math.max(da,100-da);return{minPercent:da,maxPercent:Wi}},Bt=J.current?.offsetWidth??0,On=Jt(Bt),zn=G(ut);if(zn===null)return;j(Ha(zn));const Ka=Math.max(On.minPercent,Math.min(On.maxPercent,zn));z(Ka),Q(Ka)},[G]),tt=f.useCallback(()=>{j(null),Q(null),z(null)},[]);return f.useEffect(()=>{v||(L(ct),B(Mt))},[v,ct,Mt]),A.jsx("div",{className:"seekSliderWrapper",style:{paddingBottom:"5px",paddingTop:"5px"},onMouseMove:P,onMouseLeave:tt,children:A.jsxs("div",{style:{margin:"0px 0px",position:"relative","--seekSliderColor":I,"--seekSliderThumbColor":I,"--rlMargin":at},children:[A.jsx("div",{style:{position:"absolute",top:0,left:"var(--rlMargin)",right:"var(--rlMargin)",bottom:0,display:"flex",alignItems:"center"},ref:k,children:A.jsxs("div",{className:"seekSliderBg",style:{position:"relative",borderRadius:"5px",backgroundColor:"rgba(255,255,255,0.38)",width:"100%"},children:[x&&!g.isLive&&!d&&A.jsx("div",{className:"seekSliderThumbVideo",style:{position:"absolute",aspectRatio:c?.aspectRatio??"16/9",backgroundColor:"#000",border:"1px solid rgba(205,205,205,0.25)",left:`${Ha(bt)}%`,transform:"translateX(-50%)"},ref:J,children:A.jsx(A.Fragment,{children:u&&A.jsx(G4,{src:i,hlsLib:u,options:c,onError:h,previewTime:Wt,isHovering:x})})}),x&&!g.isLive&&A.jsx("div",{className:"seekSliderThumbTime",style:{position:"absolute",top:"-30px",left:`${Ha(ot)}%`,transform:"translateX(-50%)",backgroundColor:"rgba(5,5,5,0.36)",color:"#fff",fontSize:"0.7em",padding:"5px 13px",borderRadius:100},ref:K,children:Uu.formatTime(Wt)})]})}),A.jsx("div",{style:{position:"absolute",top:0,left:"var(--rlMargin)",right:"var(--rlMargin)",bottom:0,display:"flex",alignItems:"center",zIndex:0},children:A.jsx("div",{className:"seekSliderBg ",style:{borderRadius:"5px",backgroundColor:"rgba(255,255,255,0.32)",display:"flex",justifyContent:"flex-end",alignItems:"center",width:`${O<1?1:O>98?100:O}%`}})}),A.jsx("div",{style:{position:"absolute",top:0,left:"var(--rlMargin)",right:"var(--rlMargin)",bottom:0,display:"flex",alignItems:"center",zIndex:1},children:A.jsx("div",{className:"seekSliderBg ",style:{borderRadius:"5px",backgroundColor:"var(--seekSliderColor)",display:"flex",justifyContent:"flex-end",alignItems:"center",width:`${N<1?1:N}%`},children:A.jsx("div",{style:{position:"relative"},children:A.jsx("div",{className:"seekSliderThumb",style:{backgroundColor:"var(--seekSliderColor)"}})})})}),A.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,height:"100%",display:"flex",alignItems:"center",zIndex:2},className:"tra200",children:A.jsx("input",{type:"range",style:{width:"calc(100%)"},className:"seekSlider",min:0,max:100,value:N,onPointerDown:ut=>{if(mt)return;p({isSeeked:!0}),b(!0);const lt=G(ut);lt!==null&&L(Ha(lt))},onPointerUp:()=>{if(mt)return;b(!1);const ut=$*(N/100);y(ut)},onChange:ut=>{if(mt)return;const lt=Number(ut.currentTarget.value),ht=Number.isNaN(lt)?0:lt;L(Ha(ht))},disabled:mt||$===0})})]})})}const X4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M244,56v48a12,12,0,0,1-12,12H184a12,12,0,1,1,0-24H201.1l-19-17.38c-.13-.12-.26-.24-.38-.37A76,76,0,1,0,127,204h1a75.53,75.53,0,0,0,52.15-20.72,12,12,0,0,1,16.49,17.45A99.45,99.45,0,0,1,128,228h-1.37A100,100,0,1,1,198.51,57.06L220,76.72V56a12,12,0,0,1,24,0Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),f.createElement("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1-5.66-13.66l17-17-10.55-9.65-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,1,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60l10.93,10L226.34,50.3A8,8,0,0,1,240,56Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M238,56v48a6,6,0,0,1-6,6H184a6,6,0,0,1,0-12h32.55l-30.38-27.8c-.06-.06-.12-.13-.19-.19a82,82,0,1,0-1.7,117.65,6,6,0,0,1,8.24,8.73A93.46,93.46,0,0,1,128,222h-1.28A94,94,0,1,1,194.37,61.4L226,90.35V56a6,6,0,1,1,12,0Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M236,56v48a4,4,0,0,1-4,4H184a4,4,0,0,1,0-8h37.7L187.53,68.69l-.13-.12a84,84,0,1,0-1.75,120.51,4,4,0,0,1,5.5,5.82A91.43,91.43,0,0,1,128,220h-1.26A92,92,0,1,1,193,62.84l35,32.05V56a4,4,0,1,1,8,0Z"}))]]),k4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216.49,56.48,177,96h19a12,12,0,0,1,0,24H148a12,12,0,0,1-12-12V60a12,12,0,0,1,24,0V79l39.51-39.52a12,12,0,0,1,17,17ZM108,136H60a12,12,0,0,0,0,24H79L39.51,199.51a12,12,0,0,0,17,17L96,177v19a12,12,0,0,0,24,0V148A12,12,0,0,0,108,136Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Z",opacity:"0.2"}),f.createElement("path",{d:"M213.66,53.66,163.31,104H192a8,8,0,0,1,0,16H144a8,8,0,0,1-8-8V64a8,8,0,0,1,16,0V92.69l50.34-50.35a8,8,0,0,1,11.32,11.32ZM112,136H64a8,8,0,0,0,0,16H92.69L42.34,202.34a8,8,0,0,0,11.32,11.32L104,163.31V192a8,8,0,0,0,16,0V144A8,8,0,0,0,112,136Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M120,144v48a8,8,0,0,1-13.66,5.66L88,179.31,53.66,213.66a8,8,0,0,1-11.32-11.32L76.69,168,58.34,149.66A8,8,0,0,1,64,136h48A8,8,0,0,1,120,144ZM213.66,42.34a8,8,0,0,0-11.32,0L168,76.69,149.66,58.34A8,8,0,0,0,136,64v48a8,8,0,0,0,8,8h48a8,8,0,0,0,5.66-13.66L179.31,88l34.35-34.34A8,8,0,0,0,213.66,42.34Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M212.24,52.24,158.48,106H192a6,6,0,0,1,0,12H144a6,6,0,0,1-6-6V64a6,6,0,0,1,12,0V97.52l53.76-53.76a6,6,0,0,1,8.48,8.48ZM112,138H64a6,6,0,0,0,0,12H97.52L43.76,203.76a6,6,0,1,0,8.48,8.48L106,158.48V192a6,6,0,0,0,12,0V144A6,6,0,0,0,112,138Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M213.66,53.66,163.31,104H192a8,8,0,0,1,0,16H144a8,8,0,0,1-8-8V64a8,8,0,0,1,16,0V92.69l50.34-50.35a8,8,0,0,1,11.32,11.32ZM112,136H64a8,8,0,0,0,0,16H92.69L42.34,202.34a8,8,0,0,0,11.32,11.32L104,163.31V192a8,8,0,0,0,16,0V144A8,8,0,0,0,112,136Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M210.83,50.83,153.66,108H192a4,4,0,0,1,0,8H144a4,4,0,0,1-4-4V64a4,4,0,0,1,8,0v38.34l57.17-57.17a4,4,0,1,1,5.66,5.66ZM112,140H64a4,4,0,0,0,0,8h38.34L45.17,205.17a4,4,0,0,0,5.66,5.66L108,153.66V192a4,4,0,0,0,8,0V144A4,4,0,0,0,112,140Z"}))]]),K4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M220,48V96a12,12,0,0,1-24,0V77l-39.51,39.52a12,12,0,0,1-17-17L179,60H160a12,12,0,0,1,0-24h48A12,12,0,0,1,220,48ZM99.51,139.51,60,179V160a12,12,0,0,0-24,0v48a12,12,0,0,0,12,12H96a12,12,0,0,0,0-24H77l39.52-39.51a12,12,0,0,0-17-17Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Z",opacity:"0.2"}),f.createElement("path",{d:"M216,48V96a8,8,0,0,1-16,0V67.31l-50.34,50.35a8,8,0,0,1-11.32-11.32L188.69,56H160a8,8,0,0,1,0-16h48A8,8,0,0,1,216,48ZM106.34,138.34,56,188.69V160a8,8,0,0,0-16,0v48a8,8,0,0,0,8,8H96a8,8,0,0,0,0-16H67.31l50.35-50.34a8,8,0,0,0-11.32-11.32Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M117.66,138.34a8,8,0,0,1,0,11.32L83.31,184l18.35,18.34A8,8,0,0,1,96,216H48a8,8,0,0,1-8-8V160a8,8,0,0,1,13.66-5.66L72,172.69l34.34-34.35A8,8,0,0,1,117.66,138.34ZM208,40H160a8,8,0,0,0-5.66,13.66L172.69,72l-34.35,34.34a8,8,0,0,0,11.32,11.32L184,83.31l18.34,18.35A8,8,0,0,0,216,96V48A8,8,0,0,0,208,40Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M214,48V96a6,6,0,0,1-12,0V62.48l-53.76,53.76a6,6,0,0,1-8.48-8.48L193.52,54H160a6,6,0,0,1,0-12h48A6,6,0,0,1,214,48ZM107.76,139.76,54,193.52V160a6,6,0,0,0-12,0v48a6,6,0,0,0,6,6H96a6,6,0,0,0,0-12H62.48l53.76-53.76a6,6,0,0,0-8.48-8.48Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,48V96a8,8,0,0,1-16,0V67.31l-50.34,50.35a8,8,0,0,1-11.32-11.32L188.69,56H160a8,8,0,0,1,0-16h48A8,8,0,0,1,216,48ZM106.34,138.34,56,188.69V160a8,8,0,0,0-16,0v48a8,8,0,0,0,8,8H96a8,8,0,0,0,0-16H67.31l50.35-50.34a8,8,0,0,0-11.32-11.32Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M212,48V96a4,4,0,0,1-8,0V57.66l-57.17,57.17a4,4,0,0,1-5.66-5.66L198.34,52H160a4,4,0,0,1,0-8h48A4,4,0,0,1,212,48ZM109.17,141.17,52,198.34V160a4,4,0,0,0-8,0v48a4,4,0,0,0,4,4H96a4,4,0,0,0,0-8H57.66l57.17-57.17a4,4,0,0,0-5.66-5.66Z"}))]]),F4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M204.4,51.6a108,108,0,1,0,0,152.8A108.16,108.16,0,0,0,204.4,51.6Zm-17,135.82a84,84,0,1,1,0-118.84A84.12,84.12,0,0,1,187.42,187.42Zm-58.93-67.91a12,12,0,0,1,0,17l-32,32a12,12,0,0,1-17-17L103,128,79.49,104.47a12,12,0,1,1,17-17Zm56,17-32,32a12,12,0,0,1-17-17L159,128l-23.52-23.53a12,12,0,1,1,17-17l32,32A12,12,0,0,1,184.51,136.49Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M195.88,195.88a96,96,0,1,1,0-135.76A96,96,0,0,1,195.88,195.88Z",opacity:"0.2"}),f.createElement("path",{d:"M201.54,54.46A104,104,0,0,0,54.46,201.54,104,104,0,0,0,201.54,54.46ZM190.23,190.23a88,88,0,1,1,0-124.46A88.11,88.11,0,0,1,190.23,190.23Zm-64.57-67.89a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L108.69,128,82.34,101.66A8,8,0,0,1,93.66,90.34Zm56,0a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L164.69,128l-26.35-26.34a8,8,0,0,1,11.32-11.32Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M201.57,54.42a104,104,0,1,0,0,147.15A104.17,104.17,0,0,0,201.57,54.42Zm-75.91,79.24-32,32a8,8,0,1,1-11.32-11.32L108.68,128,82.32,101.64A8,8,0,1,1,93.64,90.32l32,32A8,8,0,0,1,125.66,133.66Zm56,0-32,32a8,8,0,0,1-11.32-11.32L164.71,128l-26.36-26.36a8,8,0,1,1,11.32-11.32l32,32A8,8,0,0,1,181.68,133.66Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M200.12,55.87A102,102,0,0,0,55.87,200.12,102,102,0,1,0,200.12,55.87Zm-8.48,135.77a90,90,0,1,1,0-127.28A90.1,90.1,0,0,1,191.64,191.64Zm-67.4-67.88a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48-8.48L111.51,128,83.76,100.24a6,6,0,0,1,8.48-8.48Zm56,0a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48-8.48L167.51,128l-27.75-27.76a6,6,0,0,1,8.48-8.48Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M201.54,54.46A104,104,0,0,0,54.46,201.54,104,104,0,0,0,201.54,54.46ZM190.23,190.23a88,88,0,1,1,0-124.46A88.11,88.11,0,0,1,190.23,190.23Zm-64.57-67.89a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L108.69,128,82.34,101.66A8,8,0,0,1,93.66,90.34Zm56,0a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L164.69,128l-26.35-26.34a8,8,0,0,1,11.32-11.32Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M198.71,57.29A100,100,0,1,0,57.29,198.71,100,100,0,1,0,198.71,57.29Zm-5.66,135.76A92,92,0,1,1,220,128,91.37,91.37,0,0,1,193.05,193.05Zm-70.22-67.88a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66-5.66L114.34,128,85.17,98.83a4,4,0,0,1,5.66-5.66Zm56,0a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66-5.66L170.34,128,141.17,98.83a4,4,0,0,1,5.66-5.66Z"}))]]),Q4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),f.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),P4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),f.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),J4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),f.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),$4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,44H32A20,20,0,0,0,12,64V192a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V64A20,20,0,0,0,224,44Zm-4,144H36V68H220ZM52,128a44,44,0,0,1,66-38.11,12,12,0,0,1-12,20.78,20,20,0,1,0,0,34.66,12,12,0,1,1,12,20.77A44,44,0,0,1,52,128Zm80,0a44,44,0,0,1,66-38.11,12,12,0,0,1-12,20.78,20,20,0,1,0,0,34.66,12,12,0,1,1,12,20.77A44,44,0,0,1,132,128Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M232,64V192a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H224A8,8,0,0,1,232,64Z",opacity:"0.2"}),f.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,144H32V64H224V192ZM118.93,151.71A8,8,0,0,1,116,162.64a40,40,0,1,1,0-69.28,8,8,0,1,1-8,13.85,24,24,0,1,0,0,41.58A8,8,0,0,1,118.93,151.71Zm80,0A8,8,0,0,1,196,162.64a40,40,0,1,1,0-69.28,8,8,0,1,1-8,13.85,24,24,0,1,0,0,41.58A8,8,0,0,1,198.93,151.71Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM116,162.64a40,40,0,1,1,0-69.28,8,8,0,1,1-8,13.85,24,24,0,1,0,0,41.58,8,8,0,0,1,8,13.85Zm80,0a40,40,0,1,1,0-69.28,8,8,0,1,1-8,13.85,24,24,0,1,0,0,41.58,8,8,0,0,1,8,13.85Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,50H32A14,14,0,0,0,18,64V192a14,14,0,0,0,14,14H224a14,14,0,0,0,14-14V64A14,14,0,0,0,224,50Zm2,142a2,2,0,0,1-2,2H32a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H224a2,2,0,0,1,2,2ZM117.19,152.71a6,6,0,0,1-2.19,8.2,38,38,0,1,1,0-65.82,6,6,0,1,1-6,10.38,26,26,0,1,0,0,45.05A6,6,0,0,1,117.19,152.71Zm80,0a6,6,0,0,1-2.19,8.2,38,38,0,1,1,0-65.82,6,6,0,1,1-6,10.38,26,26,0,1,0,0,45.05A6,6,0,0,1,197.19,152.71Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,144H32V64H224V192ZM118.92,151.71A8,8,0,0,1,116,162.64a40,40,0,1,1,0-69.28,8,8,0,1,1-8,13.85,24,24,0,1,0,0,41.58A8,8,0,0,1,118.92,151.71Zm80,0A8,8,0,0,1,196,162.64a40,40,0,1,1,0-69.28,8,8,0,1,1-8,13.85,24,24,0,1,0,0,41.58A8,8,0,0,1,198.92,151.71Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,52H32A12,12,0,0,0,20,64V192a12,12,0,0,0,12,12H224a12,12,0,0,0,12-12V64A12,12,0,0,0,224,52Zm4,140a4,4,0,0,1-4,4H32a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H224a4,4,0,0,1,4,4ZM115.46,153.71a4,4,0,0,1-1.46,5.47,36,36,0,1,1,0-62.36,4,4,0,0,1-4,6.92,28,28,0,1,0,0,48.52A4,4,0,0,1,115.46,153.71Zm80,0a4,4,0,0,1-1.46,5.47,36,36,0,1,1,0-62.36,4,4,0,0,1-4,6.92,28,28,0,1,0,0,48.52A4,4,0,0,1,195.46,153.71Z"}))]]),W4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M140,124v92a12,12,0,0,1-24,0V124a12,12,0,0,1,24,0Zm60,68a12,12,0,0,0-12,12v12a12,12,0,0,0,24,0V204A12,12,0,0,0,200,192Zm24-40H212V40a12,12,0,0,0-24,0V152H176a12,12,0,0,0,0,24h48a12,12,0,0,0,0-24ZM56,160a12,12,0,0,0-12,12v44a12,12,0,0,0,24,0V172A12,12,0,0,0,56,160Zm24-40H68V40a12,12,0,0,0-24,0v80H32a12,12,0,0,0,0,24H80a12,12,0,0,0,0-24Zm72-48H140V40a12,12,0,0,0-24,0V72H104a12,12,0,0,0,0,24h48a12,12,0,0,0,0-24Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M200,40V216H56V40Z",opacity:"0.2"}),f.createElement("path",{d:"M136,120v96a8,8,0,0,1-16,0V120a8,8,0,0,1,16,0Zm64,72a8,8,0,0,0-8,8v16a8,8,0,0,0,16,0V200A8,8,0,0,0,200,192Zm24-32H208V40a8,8,0,0,0-16,0V160H176a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16ZM56,160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168A8,8,0,0,0,56,160Zm24-32H64V40a8,8,0,0,0-16,0v88H32a8,8,0,0,0,0,16H80a8,8,0,0,0,0-16Zm72-48H136V40a8,8,0,0,0-16,0V80H104a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M136,120v96a8,8,0,0,1-16,0V120a8,8,0,0,1,16,0Zm64,72a8,8,0,0,0-8,8v16a8,8,0,0,0,16,0V200A8,8,0,0,0,200,192Zm24-48H208V40a8,8,0,0,0-16,0V144H176a8,8,0,0,0-8,8v16a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,224,144ZM56,160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168A8,8,0,0,0,56,160Zm24-48H64V40a8,8,0,0,0-16,0v72H32a8,8,0,0,0-8,8v16a8,8,0,0,0,8,8H80a8,8,0,0,0,8-8V120A8,8,0,0,0,80,112Zm72-48H136V40a8,8,0,0,0-16,0V64H104a8,8,0,0,0-8,8V88a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V72A8,8,0,0,0,152,64Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M134,120v96a6,6,0,0,1-12,0V120a6,6,0,0,1,12,0Zm66,74a6,6,0,0,0-6,6v16a6,6,0,0,0,12,0V200A6,6,0,0,0,200,194Zm24-32H206V40a6,6,0,0,0-12,0V162H176a6,6,0,0,0,0,12h48a6,6,0,0,0,0-12ZM56,162a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V168A6,6,0,0,0,56,162Zm24-32H62V40a6,6,0,0,0-12,0v90H32a6,6,0,0,0,0,12H80a6,6,0,0,0,0-12Zm72-48H134V40a6,6,0,0,0-12,0V82H104a6,6,0,0,0,0,12h48a6,6,0,0,0,0-12Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M136,120v96a8,8,0,0,1-16,0V120a8,8,0,0,1,16,0Zm64,72a8,8,0,0,0-8,8v16a8,8,0,0,0,16,0V200A8,8,0,0,0,200,192Zm24-32H208V40a8,8,0,0,0-16,0V160H176a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16ZM56,160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168A8,8,0,0,0,56,160Zm24-32H64V40a8,8,0,0,0-16,0v88H32a8,8,0,0,0,0,16H80a8,8,0,0,0,0-16Zm72-48H136V40a8,8,0,0,0-16,0V80H104a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M132,120v96a4,4,0,0,1-8,0V120a4,4,0,0,1,8,0Zm68,76a4,4,0,0,0-4,4v16a4,4,0,0,0,8,0V200A4,4,0,0,0,200,196Zm24-32H204V40a4,4,0,0,0-8,0V164H176a4,4,0,0,0,0,8h48a4,4,0,0,0,0-8ZM56,164a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V168A4,4,0,0,0,56,164Zm24-32H60V40a4,4,0,0,0-8,0v92H32a4,4,0,0,0,0,8H80a4,4,0,0,0,0-8Zm72-48H132V40a4,4,0,0,0-8,0V84H104a4,4,0,0,0,0,8h48a4,4,0,0,0,0-8Z"}))]]),I4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),f.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z"}))]]),tp=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M200,28H160a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V48A20,20,0,0,0,200,28Zm-4,176H164V52h32ZM96,28H56A20,20,0,0,0,36,48V208a20,20,0,0,0,20,20H96a20,20,0,0,0,20-20V48A20,20,0,0,0,96,28ZM92,204H60V52H92Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M208,48V208a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8h40A8,8,0,0,1,208,48ZM96,40H56a8,8,0,0,0-8,8V208a8,8,0,0,0,8,8H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z",opacity:"0.2"}),f.createElement("path",{d:"M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,48V208a16,16,0,0,1-16,16H160a16,16,0,0,1-16-16V48a16,16,0,0,1,16-16h40A16,16,0,0,1,216,48ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M200,34H160a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V48A14,14,0,0,0,200,34Zm2,174a2,2,0,0,1-2,2H160a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2h40a2,2,0,0,1,2,2ZM96,34H56A14,14,0,0,0,42,48V208a14,14,0,0,0,14,14H96a14,14,0,0,0,14-14V48A14,14,0,0,0,96,34Zm2,174a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H96a2,2,0,0,1,2,2Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M200,36H160a12,12,0,0,0-12,12V208a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V48A12,12,0,0,0,200,36Zm4,172a4,4,0,0,1-4,4H160a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4h40a4,4,0,0,1,4,4ZM96,36H56A12,12,0,0,0,44,48V208a12,12,0,0,0,12,12H96a12,12,0,0,0,12-12V48A12,12,0,0,0,96,36Zm4,172a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H96a4,4,0,0,1,4,4Z"}))]]),ep=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,44H40A20,20,0,0,0,20,64V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V64A20,20,0,0,0,216,44ZM44,68H212v48H136a12,12,0,0,0-12,12v60H44ZM148,188V140h64v48Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,64v64H136v72H40a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H216A8,8,0,0,1,224,64Z",opacity:"0.2"}),f.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,64H216v56H136a8,8,0,0,0-8,8v64H40ZM216,192H144V136h72v56Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48Zm0,144H136V128h80v64Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,50H40A14,14,0,0,0,26,64V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V64A14,14,0,0,0,216,50ZM38,192V64a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2v58H136a6,6,0,0,0-6,6v66H40A2,2,0,0,1,38,192Zm178,2H142V134h76v58A2,2,0,0,1,216,194Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,64H216v56H136a8,8,0,0,0-8,8v64H40ZM216,192H144V136h72v56Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,52H40A12,12,0,0,0,28,64V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V64A12,12,0,0,0,216,52ZM36,192V64a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4v60H136a4,4,0,0,0-4,4v68H40A4,4,0,0,1,36,192Zm180,4H140V132h80v60A4,4,0,0,1,216,196Z"}))]]),np=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M234.49,111.07,90.41,22.94A20,20,0,0,0,60,39.87V216.13a20,20,0,0,0,30.41,16.93l144.08-88.13a19.82,19.82,0,0,0,0-33.86ZM84,208.85V47.15L216.16,128Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M228.23,134.69,84.15,222.81A8,8,0,0,1,72,216.12V39.88a8,8,0,0,1,12.15-6.69l144.08,88.12A7.82,7.82,0,0,1,228.23,134.69Z",opacity:"0.2"}),f.createElement("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M231.36,116.19,87.28,28.06a14,14,0,0,0-14.18-.27A13.69,13.69,0,0,0,66,39.87V216.13a13.69,13.69,0,0,0,7.1,12.08,14,14,0,0,0,14.18-.27l144.08-88.13a13.82,13.82,0,0,0,0-23.62Zm-6.26,13.38L81,217.7a2,2,0,0,1-2.06,0,1.78,1.78,0,0,1-1-1.61V39.87a1.78,1.78,0,0,1,1-1.61A2.06,2.06,0,0,1,80,38a2,2,0,0,1,1,.31L225.1,126.43a1.82,1.82,0,0,1,0,3.14Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M230.32,117.9,86.24,29.79a11.91,11.91,0,0,0-12.17-.23A11.71,11.71,0,0,0,68,39.89V216.11a11.71,11.71,0,0,0,6.07,10.33,11.91,11.91,0,0,0,12.17-.23L230.32,138.1a11.82,11.82,0,0,0,0-20.2Zm-4.18,13.37L82.06,219.39a4,4,0,0,1-4.07.07,3.77,3.77,0,0,1-2-3.35V39.89a3.77,3.77,0,0,1,2-3.35,4,4,0,0,1,4.07.07l144.08,88.12a3.8,3.8,0,0,1,0,6.54Z"}))]]),ap=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M165.27,21.22a12,12,0,0,0-12.64,1.31L83.88,76H40A20,20,0,0,0,20,96v64a20,20,0,0,0,20,20H83.88l68.75,53.47A12,12,0,0,0,172,224V32A12,12,0,0,0,165.27,21.22ZM148,199.47,95.37,158.53A12,12,0,0,0,88,156H44V100H88a12,12,0,0,0,7.37-2.53L148,56.54ZM212,104v48a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm36-16v80a12,12,0,0,1-24,0V88a12,12,0,0,1,24,0Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M160,32V224L88,168H40a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H88Z",opacity:"0.2"}),f.createElement("path",{d:"M163.51,24.81a8,8,0,0,0-8.42.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A8,8,0,0,0,168,224V32A8,8,0,0,0,163.51,24.81ZM152,207.64,92.91,161.69A7.94,7.94,0,0,0,88,160H40V96H88a7.94,7.94,0,0,0,4.91-1.69L152,48.36ZM208,104v48a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32-16v80a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M168,32V224a8,8,0,0,1-12.91,6.31L85.25,176H40a16,16,0,0,1-16-16V96A16,16,0,0,1,40,80H85.25l69.84-54.31A8,8,0,0,1,168,32Zm32,64a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V104A8,8,0,0,0,200,96Zm32-16a8,8,0,0,0-8,8v80a8,8,0,0,0,16,0V88A8,8,0,0,0,232,80Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M162.64,26.61a6,6,0,0,0-6.32.65L85.94,82H40A14,14,0,0,0,26,96v64a14,14,0,0,0,14,14H85.94l70.38,54.74A6,6,0,0,0,166,224V32A6,6,0,0,0,162.64,26.61ZM154,211.73,91.68,163.26A6,6,0,0,0,88,162H40a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H88a6,6,0,0,0,3.68-1.26L154,44.27ZM206,104v48a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm32-16v80a6,6,0,0,1-12,0V88a6,6,0,0,1,12,0Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M163.51,24.81a8,8,0,0,0-8.42.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A8,8,0,0,0,168,224V32A8,8,0,0,0,163.51,24.81ZM152,207.64,92.91,161.69A7.94,7.94,0,0,0,88,160H40V96H88a7.94,7.94,0,0,0,4.91-1.69L152,48.36ZM208,104v48a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32-16v80a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M161.76,28.41a4,4,0,0,0-4.22.43L86.63,84H40A12,12,0,0,0,28,96v64a12,12,0,0,0,12,12H86.63l70.91,55.16A4.07,4.07,0,0,0,160,228a3.92,3.92,0,0,0,1.76-.41A4,4,0,0,0,164,224V32A4,4,0,0,0,161.76,28.41ZM156,215.82l-65.54-51A4.06,4.06,0,0,0,88,164H40a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H88a4.06,4.06,0,0,0,2.46-.84l65.54-51ZM204,104v48a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm32-16v80a4,4,0,0,1-8,0V88a4,4,0,0,1,8,0Z"}))]]),ip=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M165.27,21.22a12,12,0,0,0-12.64,1.31L83.88,76H40A20,20,0,0,0,20,96v64a20,20,0,0,0,20,20H83.88l68.75,53.47A12,12,0,0,0,172,224V32A12,12,0,0,0,165.27,21.22ZM148,199.46,95.37,158.53A12,12,0,0,0,88,156H44V100H88a12,12,0,0,0,7.37-2.53L148,56.54ZM212,104v48a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M160,32V224L88,168H40a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H88Z",opacity:"0.2"}),f.createElement("path",{d:"M163.51,24.81a8,8,0,0,0-8.42.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A8,8,0,0,0,168,224V32A8,8,0,0,0,163.51,24.81ZM152,207.64,92.91,161.69A7.94,7.94,0,0,0,88,160H40V96H88a7.94,7.94,0,0,0,4.91-1.69L152,48.36ZM208,104v48a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M168,32V224a8,8,0,0,1-12.91,6.31L85.25,176H40a16,16,0,0,1-16-16V96A16,16,0,0,1,40,80H85.25l69.84-54.31A8,8,0,0,1,168,32Zm32,64a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V104A8,8,0,0,0,200,96Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M162.64,26.61a6,6,0,0,0-6.32.65L85.94,82H40A14,14,0,0,0,26,96v64a14,14,0,0,0,14,14H85.94l70.38,54.74A6,6,0,0,0,166,224V32A6,6,0,0,0,162.64,26.61ZM154,211.73,91.68,163.26A6,6,0,0,0,88,162H40a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H88a6,6,0,0,0,3.68-1.26L154,44.27ZM206,104v48a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M163.51,24.81a8,8,0,0,0-8.42.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A8,8,0,0,0,168,224V32A8,8,0,0,0,163.51,24.81ZM152,207.64,92.91,161.69A7.94,7.94,0,0,0,88,160H40V96H88a7.94,7.94,0,0,0,4.91-1.69L152,48.36ZM208,104v48a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M161.76,28.41a4,4,0,0,0-4.22.43L86.63,84H40A12,12,0,0,0,28,96v64a12,12,0,0,0,12,12H86.63l70.91,55.16A4.07,4.07,0,0,0,160,228a3.92,3.92,0,0,0,1.76-.41A4,4,0,0,0,164,224V32A4,4,0,0,0,161.76,28.41ZM156,215.82l-65.54-51A4.06,4.06,0,0,0,88,164H40a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H88a4.06,4.06,0,0,0,2.46-.84l65.54-51ZM204,104v48a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"}))]]),lp=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M165.27,21.22a12,12,0,0,0-12.64,1.31L83.88,76H40A20,20,0,0,0,20,96v64a20,20,0,0,0,20,20H83.88l68.75,53.47A12,12,0,0,0,172,224V32A12,12,0,0,0,165.27,21.22ZM148,199.46,95.37,158.53A12,12,0,0,0,88,156H44V100H88a12,12,0,0,0,7.37-2.53L148,56.54Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M160,32V224L88,168H40a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H88Z",opacity:"0.2"}),f.createElement("path",{d:"M163.51,24.81a8,8,0,0,0-8.42.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A8,8,0,0,0,168,224V32A8,8,0,0,0,163.51,24.81ZM152,207.64,92.91,161.69A7.94,7.94,0,0,0,88,160H40V96H88a7.94,7.94,0,0,0,4.91-1.69L152,48.36Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M163.52,24.81a8,8,0,0,0-8.43.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A7.94,7.94,0,0,0,160,232a8,8,0,0,0,8-8V32A8,8,0,0,0,163.52,24.81Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M162.64,26.61a6,6,0,0,0-6.32.65L85.94,82H40A14,14,0,0,0,26,96v64a14,14,0,0,0,14,14H85.94l70.38,54.74A6,6,0,0,0,166,224V32A6,6,0,0,0,162.64,26.61ZM154,211.73,91.68,163.26A6,6,0,0,0,88,162H40a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H88a6,6,0,0,0,3.68-1.26L154,44.27Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M163.51,24.81a8,8,0,0,0-8.42.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A8,8,0,0,0,168,224V32A8,8,0,0,0,163.51,24.81ZM152,207.64,92.91,161.69A7.94,7.94,0,0,0,88,160H40V96H88a7.94,7.94,0,0,0,4.91-1.69L152,48.36Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M161.76,28.41a4,4,0,0,0-4.22.43L86.63,84H40A12,12,0,0,0,28,96v64a12,12,0,0,0,12,12H86.63l70.91,55.16A4.07,4.07,0,0,0,160,228a3.92,3.92,0,0,0,1.76-.41A4,4,0,0,0,164,224V32A4,4,0,0,0,161.76,28.41ZM156,215.82l-65.54-51A4.06,4.06,0,0,0,88,164H40a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H88a4.06,4.06,0,0,0,2.46-.84l65.54-51Z"}))]]),sp=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M248,88v80a12,12,0,0,1-24,0V88a12,12,0,0,1,24,0ZM224.88,207.93a12,12,0,1,1-17.76,16.14L172,185.44V224a12,12,0,0,1-19.37,9.47L83.88,180H40a20,20,0,0,1-20-20V96A20,20,0,0,1,40,76H72.51L47.12,48.07A12,12,0,0,1,64.88,31.93ZM148,159,94.33,100H44v56H88a12,12,0,0,1,7.37,2.53L148,199.46Zm-14.15-91.5,14.15-11v38.4a12,12,0,0,0,24,0V32a12,12,0,0,0-19.37-9.47L119.12,48.6a12,12,0,1,0,14.73,18.94ZM200,150.94a12,12,0,0,0,12-12V104a12,12,0,0,0-24,0v34.94A12,12,0,0,0,200,150.94Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M160,32V224L88,168H40a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H88Z",opacity:"0.2"}),f.createElement("path",{d:"M192,152V104a8,8,0,0,1,16,0v48a8,8,0,0,1-16,0Zm40-72a8,8,0,0,0-8,8v80a8,8,0,0,0,16,0V88A8,8,0,0,0,232,80ZM221.92,210.62a8,8,0,1,1-11.84,10.76L168,175.09V224a8,8,0,0,1-12.91,6.31L85.25,176H40a16,16,0,0,1-16-16V96A16,16,0,0,1,40,80H81.55L50.08,45.38A8,8,0,0,1,61.92,34.62ZM152,157.49,96.1,96H40v64H88a7.94,7.94,0,0,1,4.91,1.69L152,207.64ZM125.06,69.31l26.94-21v58.47a8,8,0,0,0,16,0V32a8,8,0,0,0-12.91-6.31l-39.85,31a8,8,0,0,0,9.82,12.63Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M221.92,210.62a8,8,0,1,1-11.84,10.76L168,175.09v48.6a8.29,8.29,0,0,1-3.91,7.18,8,8,0,0,1-9-.56L85.25,176H40a16,16,0,0,1-16-16V96A16,16,0,0,1,40,80H81.55L50.08,45.38A8,8,0,0,1,61.92,34.62ZM200.53,160a8.17,8.17,0,0,0,7.47-8.25V104.27A8.17,8.17,0,0,0,200.53,96a8,8,0,0,0-8.53,8v48A8,8,0,0,0,200.53,160ZM161,119.87a4,4,0,0,0,7-2.7V32.24a8.25,8.25,0,0,0-2.88-6.39,8,8,0,0,0-10-.16L111.83,59.33a4,4,0,0,0-.5,5.85ZM231.47,80A8.17,8.17,0,0,0,224,88.27v79.46a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8V88A8,8,0,0,0,231.47,80Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M194,152V104a6,6,0,0,1,12,0v48a6,6,0,0,1-12,0Zm38-70a6,6,0,0,0-6,6v80a6,6,0,0,0,12,0V88A6,6,0,0,0,232,82ZM220.44,212a6,6,0,0,1-8.88,8.08L166,169.92V224a6,6,0,0,1-9.68,4.74L85.94,174H40a14,14,0,0,1-14-14V96A14,14,0,0,1,40,82H86.07L51.56,44A6,6,0,0,1,60.44,36ZM154,156.72,97,94H40a2,2,0,0,0-2,2v64a2,2,0,0,0,2,2H88a6,6,0,0,1,3.68,1.26L154,211.73Zm-30.17-89L154,44.27v62.56a6,6,0,0,0,12,0V32a6,6,0,0,0-9.68-4.74l-39.85,31a6,6,0,1,0,7.36,9.47Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M192,152V104a8,8,0,0,1,16,0v48a8,8,0,0,1-16,0Zm40-72a8,8,0,0,0-8,8v80a8,8,0,0,0,16,0V88A8,8,0,0,0,232,80ZM221.92,210.62a8,8,0,1,1-11.84,10.76L168,175.09V224a8,8,0,0,1-12.91,6.31L85.25,176H40a16,16,0,0,1-16-16V96A16,16,0,0,1,40,80H81.55L50.08,45.38A8,8,0,0,1,61.92,34.62ZM152,157.49,96.1,96H40v64H88a7.94,7.94,0,0,1,4.91,1.69L152,207.64ZM125.06,69.31l26.94-21v58.47a8,8,0,0,0,16,0V32a8,8,0,0,0-12.91-6.31l-39.85,31a8,8,0,0,0,9.82,12.63Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M196,152V104a4,4,0,0,1,8,0v48a4,4,0,0,1-8,0Zm36-68a4,4,0,0,0-4,4v80a4,4,0,0,0,8,0V88A4,4,0,0,0,232,84ZM219,213.31a4,4,0,1,1-5.92,5.38l-49-53.94V224a4,4,0,0,1-2.24,3.59A3.92,3.92,0,0,1,160,228a4.07,4.07,0,0,1-2.46-.84L86.63,172H40a12,12,0,0,1-12-12V96A12,12,0,0,1,40,84H90.59L53,42.69A4,4,0,0,1,59,37.31ZM156,156,97.87,92H40a4,4,0,0,0-4,4v64a4,4,0,0,0,4,4H88a4.06,4.06,0,0,1,2.46.84l65.54,51Zm-33.39-89.8,33.39-26v66.65a4,4,0,0,0,8,0V32a4,4,0,0,0-6.46-3.16l-39.85,31a4,4,0,1,0,4.92,6.31Z"}))]]),up=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),f.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),rp=f.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),Qt=f.forwardRef((a,i)=>{const{alt:u,color:r,size:c,weight:h,mirrored:d,children:g,weights:p,...y}=a,{color:v="currentColor",size:b,weight:E="regular",mirrored:L=!1,...O}=f.useContext(rp);return f.createElement("svg",{ref:i,xmlns:"http://www.w3.org/2000/svg",width:c??b,height:c??b,fill:r??v,viewBox:"0 0 256 256",transform:d||L?"scale(-1, 1)":void 0,...O,...y},!!u&&f.createElement("title",null,u),g,p.get(h??E))});Qt.displayName="IconBase";const _u=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:X4}));_u.displayName="ArrowClockwiseIcon";const G0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:k4}));G0.displayName="ArrowsInSimpleIcon";const q0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:K4}));q0.displayName="ArrowsOutSimpleIcon";const Y0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:F4}));Y0.displayName="CaretCircleDoubleRightIcon";const X0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:Q4}));X0.displayName="CaretLeftIcon";const zi=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:P4}));zi.displayName="CaretRightIcon";const ja=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:J4}));ja.displayName="CheckIcon";const kl=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:$4}));kl.displayName="ClosedCaptioningIcon";const k0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:W4}));k0.displayName="FadersIcon";const K0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:I4}));K0.displayName="GearIcon";const Gu=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:tp}));Gu.displayName="PauseIcon";const F0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:ep}));F0.displayName="PictureInPictureIcon";const qu=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:np}));qu.displayName="PlayIcon";const Q0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:ap}));Q0.displayName="SpeakerSimpleHighIcon";const P0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:ip}));P0.displayName="SpeakerSimpleLowIcon";const J0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:lp}));J0.displayName="SpeakerSimpleNoneIcon";const $0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:sp}));$0.displayName="SpeakerSimpleSlashIcon";const W0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:up}));W0.displayName="XIcon";function Oa(a){const i=a.noBg??!1;return A.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},className:i?"obtnNoBg":"obtn",children:a.children})}function op(a){const i=a.noPadding??!1,u=a.cap??0;return A.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:i?0:"0.5rem",paddingRight:i?0:"0.5rem",gap:u||0,position:"relative"},className:a.noBg?"obtn-group-nobg":"obtn-group",children:a.children})}function Kl(a){return A.jsx(op,{...a,children:a.children})}const Ln={background:"transparent",border:0,padding:0,lineHeight:"100%",display:"flex",justifyContent:"center",alignItems:"center",color:"#ffffff"},I0={border:0,background:"transparent"},cp={display:"flex",justifyContent:"space-between",alignItems:"center",paddingLeft:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",borderBottom:"1px solid rgb(205 205 205 / 8%)"},fp={flex:1},dp={display:"flex",alignItems:"center",gap:6},hp={padding:0,display:"flex",alignItems:"center",gap:6},Fl={padding:"1.5rem 0em",display:"flex",flexDirection:"column",gap:"20px"},Je={display:"flex",width:"100%",alignItems:"center",border:0,background:"transparent",gap:10,cursor:"pointer"},Cn={flex:1,justifyContent:"start",display:"flex"},Yu={display:"flex",alignItems:"center",gap:5},Ql={fontSize:"0.9rem",opacity:.6};function tf({size:a=25,weight:i="fill",color:u="#ffffff",text:r={},pos:c="left"}){const[h]=fe(),{play:d,pause:g}=Ee();return A.jsx(Oa,{noBg:!0,children:A.jsxs("div",{className:`vpe-popover-wrap vp-${c}`,children:[A.jsx("div",{className:"vpe-popver",children:A.jsx("div",{className:"vpe-popver-text",children:h.isPlaying?r?.pause??"일시정지":r?.play??"재생"})}),A.jsx("button",{type:"button",onClick:h.isPlaying?g:d,style:Ln,children:h.isEnded?A.jsx(_u,{size:a,weight:i,color:u}):A.jsx(A.Fragment,{children:h.isPlaying?A.jsx(Gu,{size:a,weight:i,color:u}):A.jsx(qu,{size:a,weight:i,color:u})})})]})})}function mp({size:a=50,weight:i="fill",color:u="#ffffff",isPortrait:r=!1,isMobile:c=!1}){const[h]=fe(),[d,g]=f.useState(0),{play:p,pause:y}=Ee();return f.useEffect(()=>{g(v=>v+1)},[h.isPlaying]),A.jsx("div",{className:h.isEnded?"":"center-play-btn-anim",children:A.jsx(Kl,{noPadding:!0,children:A.jsx(Oa,{children:A.jsx("button",{type:"button",style:Ln,onClick:()=>{(c||r)&&(h.isPlaying?y():p())},children:h.isEnded?A.jsx(_u,{size:a,weight:i,color:u}):A.jsx(A.Fragment,{children:h.isPlaying?A.jsx(Gu,{size:a,weight:i,color:u}):A.jsx(qu,{size:a,weight:i,color:u})})})})})},d)}function pp({color:a="#ffffff"}){const[i]=fe(),{seekTo:u}=Ee(),c=(i.bufferedEnd??i.buffered??0)||i.duration||0,h=!!i.isLive,g=h&&c>0?Math.abs((i.currentTime??0)-c)<10:h,p=()=>{h&&(!c||Number.isNaN(c)||u(Math.max(0,c-.1)))};return A.jsx(A.Fragment,{children:i.isLive?A.jsxs("button",{type:"button",onClick:p,style:{display:"flex",alignItems:"center",gap:5,paddingLeft:"1rem",paddingRight:"1rem",border:0,background:"transparent",color:"#ffffff",cursor:"pointer"},children:[A.jsx("span",{style:{width:"10px",height:"10px",borderRadius:"30px",backgroundColor:g?"#ff0000":a,display:"inline-block"}}),A.jsx("span",{style:{fontWeight:"bold",fontSize:"0.9rem"},children:"LIVE"})]}):A.jsxs(A.Fragment,{children:[A.jsx("div",{className:"defObj",style:{margin:"0.5rem 0",padding:"0 0.5rem",paddingLeft:"1rem",minWidth:"70px",display:"flex",justifyContent:"center",alignItems:"center"},children:Uu.formatTime(i.currentTime??0)||0}),A.jsx("div",{className:"defObj",style:{fontSize:"1em",lineHeight:"1em",opacity:.3,paddingLeft:"0.2rem"},children:"/"}),A.jsx("div",{className:"defObj",style:{padding:"0 0.5rem",paddingRight:"1rem",minWidth:"70px",display:"flex",justifyContent:"center",alignItems:"center"},children:Uu.formatTime(i.duration??0)||0})]})})}function yp({text:a={},color:i="#ffffff"}){const[u]=fe(),{selectQualityLevel:r}=Ee(),c=f.useRef(!1),h=u.currentLevel??-1,d=u.levels?.find(p=>p.index===h),g=u.isAutoLevel?a.auto:d?.name??(d?.height?`${d.height}p`:`${h}`);return A.jsxs("div",{style:{position:"relative"},children:[c.current&&A.jsx("div",{style:{position:"absolute",width:"100px",height:"auto",backgroundColor:"rgba(0, 0, 0, 0.85)",borderRadius:"5px",padding:"1rem 0.8rem",bottom:"80px",left:"-50%",fontSize:"0.9rem",color:"#ffffff",zIndex:99999},children:A.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:15},children:[A.jsx("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{r(-1)},children:A.jsx("div",{style:{color:"#ffffff",fontSize:"0.8rem"},children:a?.auto??"Auto"})}),[...u.levels??[]].sort((p,y)=>(y.height??0)-(p.height??0)).map(p=>{const y=p.name??(p.height?`${p.height}p`:`${p.index}`);return A.jsx("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{r(p.index),c.current=!1},children:A.jsx("div",{style:{color:"#ffffff",fontSize:"0.8rem"},children:y})},p.index)})]})}),A.jsx("button",{type:"button",onClick:()=>{c.current=!c.current},style:{...Ln,paddingLeft:"0.6rem",paddingRight:"0.6rem",color:`${i}`},children:A.jsx("span",{style:{fontSize:"0.8rem",fontWeight:800,letterSpacing:"-0.5px"},children:g})})]})}function gp({color:a="#ffffff",click:i=()=>{},title:u=""}){return A.jsx(A.Fragment,{children:u&&A.jsx(Kl,{children:A.jsx("button",{type:"button",onClick:i,style:{border:0,background:"transparent",lineHeight:"100%",display:"flex",alignItems:"center",height:"46px"},children:A.jsxs("div",{className:"defObj",style:{paddingLeft:"0.5rem",paddingRight:"0.2rem",maxWidth:"15rem",lineHeight:"1rem",display:"flex",alignItems:"center",color:`${a}`},children:[A.jsx("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:u}),A.jsx("div",{style:{paddingTop:"2px"},children:A.jsx(zi,{size:15})})]})})})})}function ef(a){return A.jsx("div",{style:{flex:1,display:"flex"},children:a.children})}function vp({size:a=25,weight:i="fill",color:u="#ffffff",options:r={},text:c={},pos:h="left"}){const[d,g]=fe(),{videoEl:p}=Ee(),y=f.useRef(0),v=f.useRef(""),b=typeof navigator<"u"&&/iPhone/.test(navigator.userAgent)&&/Safari/.test(navigator.userAgent)&&!/Chrome|CriOS|FxiOS|EdgiOS/.test(navigator.userAgent),E=()=>{const U=document.querySelector(".vpe-fullscreen-target")||document.querySelector(".vpe-root-wrap");return U instanceof HTMLElement?U:null},L=U=>{if(U)if(U.classList.contains("vpe-ios-fullscreen")){g({isFullscreen:!1}),U.classList.remove("vpe-ios-fullscreen"),document.body.style.backgroundColor=v.current;const j=document.getElementById("vpeIosFullscreenTmpDiv");j&&j.remove(),window.scrollY=y.current}else{g({isFullscreen:!0}),U.classList.add("vpe-ios-fullscreen"),y.current=window.scrollY,v.current=document.body.style.backgroundColor,document.body.style.backgroundColor="#000000";const j=document.createElement("div");j.id="vpeIosFullscreenTmpDiv",j.style.height="120dvh",document.body.appendChild(j),window.scrollTo({top:document.body.scrollHeight,behavior:"smooth"})}},O=()=>{if(!p)return!1;const U=p.webkitEnterFullscreen;return typeof U!="function"?!1:(U.call(p),!0)},B=()=>{if(b)if(r.iosFullscreenNativeMode){if(O())return}else{const j=document.querySelector(".vpe-root-wrap");L(j);return}if(document.fullscreenElement){document.exitFullscreen?.();return}const U=E();U&&U.requestFullscreen?.()};return f.useEffect(()=>{const U=()=>{b&&!r.iosFullscreenNativeMode||g({isFullscreen:!!document.fullscreenElement})};return document.addEventListener("fullscreenchange",U),U(),()=>{document.removeEventListener("fullscreenchange",U)}},[g]),A.jsx(Oa,{noBg:!0,children:A.jsxs("div",{className:`vpe-popover-wrap vp-${h}`,children:[A.jsx("div",{className:"vpe-popver",children:A.jsx("div",{className:"vpe-popver-text",children:d.isFullscreen?c?.fullOff??"전체화면 해제":c?.fullOn??"전체화면"})}),A.jsx("button",{type:"button",onClick:B,style:Ln,children:d.isFullscreen?A.jsx(G0,{size:a,weight:i,color:u}):A.jsx(q0,{size:a,weight:i,color:u})})]})})}function Sp({size:a=25,color:i="#ffffff",text:u={},pos:r="left"}){const[c]=fe(),{toggleSubtitle:h}=Ee();return A.jsx(A.Fragment,{children:c.hasSubtitle&&A.jsx(Oa,{noBg:!0,children:A.jsxs("div",{className:`vpe-popover-wrap vp-${r}`,children:[A.jsx("div",{className:"vpe-popver",children:A.jsx("div",{className:"vpe-popver-text",children:c.isSubtitle?u?.captionOff??"자막끄기":u?.captionOn??"자막켜기"})}),A.jsx("button",{type:"button",onClick:h,style:Ln,children:c.isSubtitle?A.jsx(kl,{size:a,weight:"fill",color:i}):A.jsx(kl,{size:a,weight:"regular",color:i})})]})})})}function bp({size:a=25,weight:i="fill",color:u="#ffffff",text:r={},pos:c="left"}){const[h]=fe(),{setVolume:d,toggleMute:g}=Ee(),p=h.isVolume??0,y=h.isMuted?0:p;return A.jsxs("div",{className:"VolumBtnWrap",children:[A.jsxs("div",{className:`vpe-popover-wrap vp-${c}`,children:[A.jsx("div",{className:"vpe-popver",children:A.jsx("div",{className:"vpe-popver-text",children:h.isMuted?r?.muteOff??"음소거 해제":r?.muteOn??"음소거"})}),A.jsx("button",{type:"button",onClick:g,style:Ln,children:A.jsxs(A.Fragment,{children:[(p===0||h.isMuted)&&A.jsx($0,{size:a,weight:i,color:u}),p>=5&&p<=10&&!h.isMuted&&A.jsx(J0,{size:a,weight:i,color:u}),p>=11&&p<=50&&!h.isMuted&&A.jsx(P0,{size:a,weight:i,color:u}),p>=51&&!h.isMuted&&A.jsx(Q0,{size:a,weight:i,color:u})]})})]}),A.jsx("div",{className:"vslideWrap",children:A.jsx("input",{type:"range",min:0,max:100,value:y,onChange:v=>{const b=Number(v.currentTarget.value);d(Number.isNaN(b)?0:b)},className:"VolumSlide"})})]})}function Ep({color:a="#ffffff",size:i=25,text:u={},pos:r="left"}){const[c,h]=fe();return A.jsx(A.Fragment,{children:A.jsx(Oa,{noBg:!0,children:A.jsxs("div",{className:`vpe-popover-wrap vp-${r}`,children:[A.jsx("div",{className:"vpe-popver",children:A.jsx("div",{className:"vpe-popver-text",children:u?.setting??"설정"})}),A.jsx("button",{type:"button",onClick:()=>{h({isSettingModal:!c.isSettingModal})},style:Ln,children:A.jsx(K0,{size:i,weight:"fill",color:a})})]})})})}function Ap({color:a="#ffffff",size:i=25,text:u={},pos:r="left"}){const{togglePictureInPicture:c}=Ee();return A.jsx(A.Fragment,{children:A.jsx(Oa,{noBg:!0,children:A.jsxs("div",{className:`vpe-popover-wrap vp-${r}`,children:[A.jsx("div",{className:"vpe-popver",children:A.jsx("div",{className:"vpe-popver-text",children:u?.miniPlayer??"미니플레이어"})}),A.jsx("button",{type:"button",onClick:()=>{c()},style:Ln,children:A.jsx(F0,{size:i,weight:"fill",color:a})})]})})})}function Tp(a){const{useTouch:i}=Ee();return A.jsx("div",{className:"absolute z-[2] h-full w-full bg-neutral-900/20 flex items-center justify-center",style:{background:`url(${a.poster}) center / ${a.options?.objectFit||"contain"} no-repeat`},onClick:()=>{i()},onTouchStart:()=>{i()},children:A.jsx("div",{children:A.jsx(Kl,{noPadding:!0,children:A.jsx(tf,{size:50})})})})}function nf(a){const[i]=fe(),{poster:u,options:r}=a,c={display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",position:"absolute",zIndex:9999,background:`url(${u}) center / ${r?.objectFit||"contain"} no-repeat`};return A.jsx(A.Fragment,{children:i.isLoading&&A.jsx("div",{style:c,children:A.jsx("div",{className:"ncplayer-spinner"})})})}function Mp(a){const[i,u]=fe(),{playBackRate:r,selectQualityLevel:c}=Ee(),{text:h}=a,d=a.vtt??a.src?.vtt??[],g=i.currentLevel??-1,p=i.levels?.find(j=>j.index===g),y=i.isAutoLevel?h.auto:p?.name??(p?.height?`${p.height}p`:`${g}`),[v,b]=f.useState(0),[E,L]=f.useState("forward"),[O,B]=f.useState(!1),U=f.useCallback(j=>{L(j>v?"forward":"back"),b(j),B(!0)},[v]);return f.useEffect(()=>{if(!O)return;const j=window.setTimeout(()=>{B(!1)},200);return()=>window.clearTimeout(j)},[O]),A.jsx("div",{className:"vpe-setting-modal",children:A.jsxs("div",{className:"vpe-setting-content",children:[A.jsxs("div",{style:cp,children:[A.jsxs("div",{style:fp,children:[v===0&&A.jsx("div",{children:h.setting}),v>0&&A.jsx("div",{style:dp,children:A.jsx("div",{children:A.jsxs("button",{onClick:()=>{U(0)},type:"button",style:{...I0,...hp},children:[A.jsx(X0,{size:25,color:"#ffffff"}),A.jsxs("div",{children:[v==1&&h.quality,v==2&&h.playbackRate,v==3&&h.captions]})]})})})]}),A.jsx("div",{children:A.jsx("button",{type:"button",style:I0,onClick:()=>{u({isSettingModal:!1})},children:A.jsx(W0,{size:25,color:"#ffffff"})})})]}),A.jsxs("div",{className:"vpe-modal-menu",children:[v===0&&A.jsxs("div",{className:`vpe-modal-menu-panel ${O?`vpe-modal-menu-${E}`:""}`,style:Fl,children:[A.jsxs("button",{type:"button",style:Je,className:"vpe-menu-item",onClick:()=>{U(1)},children:[A.jsx("div",{children:A.jsx(k0,{size:25,color:"#ffffff"})}),A.jsx("div",{style:Cn,children:h.quality}),A.jsxs("div",{style:Yu,children:[A.jsx("span",{style:Ql,children:y}),A.jsx(zi,{size:20,color:"#ffffff"})]})]}),A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{U(2)},children:[A.jsx("div",{children:A.jsx(Y0,{size:25,color:"#ffffff"})}),A.jsx("div",{style:Cn,children:h.playbackRate}),A.jsxs("div",{style:Yu,children:[A.jsxs("span",{style:Ql,children:[i.playbackRate,"x"]}),A.jsx(zi,{size:20,color:"#ffffff"})]})]}),A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{U(3)},children:[A.jsx("div",{children:A.jsx(kl,{size:25,color:"#ffffff"})}),A.jsx("div",{style:Cn,children:h.captions}),A.jsxs("div",{style:Yu,children:[A.jsx(A.Fragment,{children:i.isSubtitle?A.jsx(A.Fragment,{children:d.map((j,Y)=>A.jsx("span",{children:i.subTitleIdx===Y&&A.jsx("span",{style:Ql,children:j.label})},`${j.id}-${j.src}`))}):A.jsx("span",{style:Ql,children:h.notUse})}),A.jsx(zi,{size:20,color:"#ffffff"})]})]})]},v),v===1&&A.jsxs("div",{className:`vpe-modal-menu-panel ${O?`vpe-modal-menu-${E}`:""}`,style:Fl,children:[A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{c("auto")},children:[A.jsx("div",{children:A.jsx(ja,{size:15,color:i.isAutoLevel?"#ffffff":"transparent"})}),A.jsx("div",{style:Cn,children:h.auto})]}),[...i.levels??[]].sort((j,Y)=>(Y.height??0)-(j.height??0)).map(j=>{const Y=j.name??(j.height?`${j.height}p`:`${j.index}`);return A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{c(j.index)},children:[A.jsx("div",{children:A.jsx(ja,{size:15,color:!i.isAutoLevel&&i.currentLevel===j.index?"#ffffff":"transparent"})}),A.jsx("div",{style:Cn,children:Y})]},j.index)})]},v),v===2&&A.jsx("div",{className:`vpe-modal-menu-panel ${O?`vpe-modal-menu-${E}`:""}`,style:Fl,children:(a.options?.playRateSetting??[]).map(j=>A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{r(j),u({playbackRate:j}),U(0)},children:[A.jsx("div",{children:A.jsx(ja,{size:15,color:i.playbackRate===j?"#ffffff":"transparent"})}),A.jsxs("div",{style:Cn,children:[j,"x"]})]},j))},v),v===3&&A.jsxs("div",{className:`vpe-modal-menu-panel ${O?`vpe-modal-menu-${E}`:""}`,style:Fl,children:[A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{u({isSubtitle:!1})},children:[A.jsx("div",{children:A.jsx(ja,{size:15,color:i.isSubtitle?"transparent":"#ffffff"})}),A.jsx("div",{style:Cn,children:h.notUse})]}),d.map((j,Y)=>A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{u({isSubtitle:!0,subTitleIdx:Y})},children:[A.jsx("div",{children:A.jsx(ja,{size:15,color:i.isSubtitle&&i.subTitleIdx===Y?"#ffffff":"transparent"})}),A.jsx("div",{style:Cn,children:j.label})]},`${j.id}-${j.src}`))]},v)]})]})})}const Xu=f.createContext({});function ku(a){const i=f.useRef(null);return i.current===null&&(i.current=a()),i.current}const Ku=typeof window<"u",af=Ku?f.useLayoutEffect:f.useEffect,Pl=f.createContext(null);function Fu(a,i){a.indexOf(i)===-1&&a.push(i)}function Qu(a,i){const u=a.indexOf(i);u>-1&&a.splice(u,1)}const an=(a,i,u)=>u>i?i:u<a?a:u;let Pu=()=>{};const ln={},lf=a=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(a);function sf(a){return typeof a=="object"&&a!==null}const uf=a=>/^0[^.\s]+$/u.test(a);function Ju(a){let i;return()=>(i===void 0&&(i=a()),i)}const je=a=>a,xp=(a,i)=>u=>i(a(u)),Bi=(...a)=>a.reduce(xp),wi=(a,i,u)=>{const r=i-a;return r===0?1:(u-a)/r};class $u{constructor(){this.subscriptions=[]}add(i){return Fu(this.subscriptions,i),()=>Qu(this.subscriptions,i)}notify(i,u,r){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](i,u,r);else for(let h=0;h<c;h++){const d=this.subscriptions[h];d&&d(i,u,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const $e=a=>a*1e3,Oe=a=>a/1e3;function rf(a,i){return i?a*(1e3/i):0}const of=(a,i,u)=>(((1-3*u+3*i)*a+(3*u-6*i))*a+3*i)*a,Vp=1e-7,Lp=12;function Cp(a,i,u,r,c){let h,d,g=0;do d=i+(u-i)/2,h=of(d,r,c)-a,h>0?u=d:i=d;while(Math.abs(h)>Vp&&++g<Lp);return d}function Ni(a,i,u,r){if(a===i&&u===r)return je;const c=h=>Cp(h,0,1,a,u);return h=>h===0||h===1?h:of(c(h),i,r)}const cf=a=>i=>i<=.5?a(2*i)/2:(2-a(2*(1-i)))/2,ff=a=>i=>1-a(1-i),df=Ni(.33,1.53,.69,.99),Wu=ff(df),hf=cf(Wu),mf=a=>(a*=2)<1?.5*Wu(a):.5*(2-Math.pow(2,-10*(a-1))),Iu=a=>1-Math.sin(Math.acos(a)),pf=ff(Iu),yf=cf(Iu),Dp=Ni(.42,0,1,1),Rp=Ni(0,0,.58,1),gf=Ni(.42,0,.58,1),Hp=a=>Array.isArray(a)&&typeof a[0]!="number",vf=a=>Array.isArray(a)&&typeof a[0]=="number",jp={linear:je,easeIn:Dp,easeInOut:gf,easeOut:Rp,circIn:Iu,circInOut:yf,circOut:pf,backIn:Wu,backInOut:hf,backOut:df,anticipate:mf},Op=a=>typeof a=="string",Sf=a=>{if(vf(a)){Pu(a.length===4);const[i,u,r,c]=a;return Ni(i,u,r,c)}else if(Op(a))return jp[a];return a},Jl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function zp(a,i){let u=new Set,r=new Set,c=!1,h=!1;const d=new WeakSet;let g={delta:0,timestamp:0,isProcessing:!1};function p(v){d.has(v)&&(y.schedule(v),a()),v(g)}const y={schedule:(v,b=!1,E=!1)=>{const O=E&&c?u:r;return b&&d.add(v),O.has(v)||O.add(v),v},cancel:v=>{r.delete(v),d.delete(v)},process:v=>{if(g=v,c){h=!0;return}c=!0,[u,r]=[r,u],u.forEach(p),u.clear(),c=!1,h&&(h=!1,y.process(v))}};return y}const Bp=40;function bf(a,i){let u=!1,r=!0;const c={delta:0,timestamp:0,isProcessing:!1},h=()=>u=!0,d=Jl.reduce((Q,q)=>(Q[q]=zp(h),Q),{}),{setup:g,read:p,resolveKeyframes:y,preUpdate:v,update:b,preRender:E,render:L,postRender:O}=d,B=()=>{const Q=ln.useManualTiming?c.timestamp:performance.now();u=!1,ln.useManualTiming||(c.delta=r?1e3/60:Math.max(Math.min(Q-c.timestamp,Bp),1)),c.timestamp=Q,c.isProcessing=!0,g.process(c),p.process(c),y.process(c),v.process(c),b.process(c),E.process(c),L.process(c),O.process(c),c.isProcessing=!1,u&&i&&(r=!1,a(B))},U=()=>{u=!0,r=!0,c.isProcessing||a(B)};return{schedule:Jl.reduce((Q,q)=>{const z=d[q];return Q[q]=(k,J=!1,K=!1)=>(u||U(),z.schedule(k,J,K)),Q},{}),cancel:Q=>{for(let q=0;q<Jl.length;q++)d[Jl[q]].cancel(Q)},state:c,steps:d}}const{schedule:zt,cancel:Dn,state:ee,steps:tr}=bf(typeof requestAnimationFrame<"u"?requestAnimationFrame:je,!0);let $l;function wp(){$l=void 0}const de={now:()=>($l===void 0&&de.set(ee.isProcessing||ln.useManualTiming?ee.timestamp:performance.now()),$l),set:a=>{$l=a,queueMicrotask(wp)}},Ef=a=>i=>typeof i=="string"&&i.startsWith(a),Af=Ef("--"),Np=Ef("var(--"),er=a=>Np(a)?Zp.test(a.split("/*")[0].trim()):!1,Zp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,za={test:a=>typeof a=="number",parse:parseFloat,transform:a=>a},Zi={...za,transform:a=>an(0,1,a)},Wl={...za,default:1},Ui=a=>Math.round(a*1e5)/1e5,nr=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Up(a){return a==null}const _p=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ar=(a,i)=>u=>!!(typeof u=="string"&&_p.test(u)&&u.startsWith(a)||i&&!Up(u)&&Object.prototype.hasOwnProperty.call(u,i)),Tf=(a,i,u)=>r=>{if(typeof r!="string")return r;const[c,h,d,g]=r.match(nr);return{[a]:parseFloat(c),[i]:parseFloat(h),[u]:parseFloat(d),alpha:g!==void 0?parseFloat(g):1}},Gp=a=>an(0,255,a),ir={...za,transform:a=>Math.round(Gp(a))},sa={test:ar("rgb","red"),parse:Tf("red","green","blue"),transform:({red:a,green:i,blue:u,alpha:r=1})=>"rgba("+ir.transform(a)+", "+ir.transform(i)+", "+ir.transform(u)+", "+Ui(Zi.transform(r))+")"};function qp(a){let i="",u="",r="",c="";return a.length>5?(i=a.substring(1,3),u=a.substring(3,5),r=a.substring(5,7),c=a.substring(7,9)):(i=a.substring(1,2),u=a.substring(2,3),r=a.substring(3,4),c=a.substring(4,5),i+=i,u+=u,r+=r,c+=c),{red:parseInt(i,16),green:parseInt(u,16),blue:parseInt(r,16),alpha:c?parseInt(c,16)/255:1}}const lr={test:ar("#"),parse:qp,transform:sa.transform},_i=a=>({test:i=>typeof i=="string"&&i.endsWith(a)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${a}`}),Rn=_i("deg"),We=_i("%"),st=_i("px"),Yp=_i("vh"),Xp=_i("vw"),Mf={...We,parse:a=>We.parse(a)/100,transform:a=>We.transform(a*100)},Ba={test:ar("hsl","hue"),parse:Tf("hue","saturation","lightness"),transform:({hue:a,saturation:i,lightness:u,alpha:r=1})=>"hsla("+Math.round(a)+", "+We.transform(Ui(i))+", "+We.transform(Ui(u))+", "+Ui(Zi.transform(r))+")"},Yt={test:a=>sa.test(a)||lr.test(a)||Ba.test(a),parse:a=>sa.test(a)?sa.parse(a):Ba.test(a)?Ba.parse(a):lr.parse(a),transform:a=>typeof a=="string"?a:a.hasOwnProperty("red")?sa.transform(a):Ba.transform(a),getAnimatableNone:a=>{const i=Yt.parse(a);return i.alpha=0,Yt.transform(i)}},kp=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Kp(a){return isNaN(a)&&typeof a=="string"&&(a.match(nr)?.length||0)+(a.match(kp)?.length||0)>0}const xf="number",Vf="color",Fp="var",Qp="var(",Lf="${}",Pp=/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 Gi(a){const i=a.toString(),u=[],r={color:[],number:[],var:[]},c=[];let h=0;const g=i.replace(Pp,p=>(Yt.test(p)?(r.color.push(h),c.push(Vf),u.push(Yt.parse(p))):p.startsWith(Qp)?(r.var.push(h),c.push(Fp),u.push(p)):(r.number.push(h),c.push(xf),u.push(parseFloat(p))),++h,Lf)).split(Lf);return{values:u,split:g,indexes:r,types:c}}function Cf(a){return Gi(a).values}function Df(a){const{split:i,types:u}=Gi(a),r=i.length;return c=>{let h="";for(let d=0;d<r;d++)if(h+=i[d],c[d]!==void 0){const g=u[d];g===xf?h+=Ui(c[d]):g===Vf?h+=Yt.transform(c[d]):h+=c[d]}return h}}const Jp=a=>typeof a=="number"?0:Yt.test(a)?Yt.getAnimatableNone(a):a;function $p(a){const i=Cf(a);return Df(a)(i.map(Jp))}const Hn={test:Kp,parse:Cf,createTransformer:Df,getAnimatableNone:$p};function sr(a,i,u){return u<0&&(u+=1),u>1&&(u-=1),u<1/6?a+(i-a)*6*u:u<1/2?i:u<2/3?a+(i-a)*(2/3-u)*6:a}function Wp({hue:a,saturation:i,lightness:u,alpha:r}){a/=360,i/=100,u/=100;let c=0,h=0,d=0;if(!i)c=h=d=u;else{const g=u<.5?u*(1+i):u+i-u*i,p=2*u-g;c=sr(p,g,a+1/3),h=sr(p,g,a),d=sr(p,g,a-1/3)}return{red:Math.round(c*255),green:Math.round(h*255),blue:Math.round(d*255),alpha:r}}function Il(a,i){return u=>u>0?i:a}const Nt=(a,i,u)=>a+(i-a)*u,ur=(a,i,u)=>{const r=a*a,c=u*(i*i-r)+r;return c<0?0:Math.sqrt(c)},Ip=[lr,sa,Ba],ty=a=>Ip.find(i=>i.test(a));function Rf(a){const i=ty(a);if(!i)return!1;let u=i.parse(a);return i===Ba&&(u=Wp(u)),u}const Hf=(a,i)=>{const u=Rf(a),r=Rf(i);if(!u||!r)return Il(a,i);const c={...u};return h=>(c.red=ur(u.red,r.red,h),c.green=ur(u.green,r.green,h),c.blue=ur(u.blue,r.blue,h),c.alpha=Nt(u.alpha,r.alpha,h),sa.transform(c))},rr=new Set(["none","hidden"]);function ey(a,i){return rr.has(a)?u=>u<=0?a:i:u=>u>=1?i:a}function ny(a,i){return u=>Nt(a,i,u)}function or(a){return typeof a=="number"?ny:typeof a=="string"?er(a)?Il:Yt.test(a)?Hf:ly:Array.isArray(a)?jf:typeof a=="object"?Yt.test(a)?Hf:ay:Il}function jf(a,i){const u=[...a],r=u.length,c=a.map((h,d)=>or(h)(h,i[d]));return h=>{for(let d=0;d<r;d++)u[d]=c[d](h);return u}}function ay(a,i){const u={...a,...i},r={};for(const c in u)a[c]!==void 0&&i[c]!==void 0&&(r[c]=or(a[c])(a[c],i[c]));return c=>{for(const h in r)u[h]=r[h](c);return u}}function iy(a,i){const u=[],r={color:0,var:0,number:0};for(let c=0;c<i.values.length;c++){const h=i.types[c],d=a.indexes[h][r[h]],g=a.values[d]??0;u[c]=g,r[h]++}return u}const ly=(a,i)=>{const u=Hn.createTransformer(i),r=Gi(a),c=Gi(i);return r.indexes.var.length===c.indexes.var.length&&r.indexes.color.length===c.indexes.color.length&&r.indexes.number.length>=c.indexes.number.length?rr.has(a)&&!c.values.length||rr.has(i)&&!r.values.length?ey(a,i):Bi(jf(iy(r,c),c.values),u):Il(a,i)};function Of(a,i,u){return typeof a=="number"&&typeof i=="number"&&typeof u=="number"?Nt(a,i,u):or(a)(a,i)}const sy=a=>{const i=({timestamp:u})=>a(u);return{start:(u=!0)=>zt.update(i,u),stop:()=>Dn(i),now:()=>ee.isProcessing?ee.timestamp:de.now()}},zf=(a,i,u=10)=>{let r="";const c=Math.max(Math.round(i/u),2);for(let h=0;h<c;h++)r+=Math.round(a(h/(c-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},ts=2e4;function cr(a){let i=0;const u=50;let r=a.next(i);for(;!r.done&&i<ts;)i+=u,r=a.next(i);return i>=ts?1/0:i}function uy(a,i=100,u){const r=u({...a,keyframes:[0,i]}),c=Math.min(cr(r),ts);return{type:"keyframes",ease:h=>r.next(c*h).value/i,duration:Oe(c)}}const ry=5;function Bf(a,i,u){const r=Math.max(i-ry,0);return rf(u-a(r),i-r)}const Zt={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},fr=.001;function oy({duration:a=Zt.duration,bounce:i=Zt.bounce,velocity:u=Zt.velocity,mass:r=Zt.mass}){let c,h,d=1-i;d=an(Zt.minDamping,Zt.maxDamping,d),a=an(Zt.minDuration,Zt.maxDuration,Oe(a)),d<1?(c=y=>{const v=y*d,b=v*a,E=v-u,L=dr(y,d),O=Math.exp(-b);return fr-E/L*O},h=y=>{const b=y*d*a,E=b*u+u,L=Math.pow(d,2)*Math.pow(y,2)*a,O=Math.exp(-b),B=dr(Math.pow(y,2),d);return(-c(y)+fr>0?-1:1)*((E-L)*O)/B}):(c=y=>{const v=Math.exp(-y*a),b=(y-u)*a+1;return-fr+v*b},h=y=>{const v=Math.exp(-y*a),b=(u-y)*(a*a);return v*b});const g=5/a,p=fy(c,h,g);if(a=$e(a),isNaN(p))return{stiffness:Zt.stiffness,damping:Zt.damping,duration:a};{const y=Math.pow(p,2)*r;return{stiffness:y,damping:d*2*Math.sqrt(r*y),duration:a}}}const cy=12;function fy(a,i,u){let r=u;for(let c=1;c<cy;c++)r=r-a(r)/i(r);return r}function dr(a,i){return a*Math.sqrt(1-i*i)}const dy=["duration","bounce"],hy=["stiffness","damping","mass"];function wf(a,i){return i.some(u=>a[u]!==void 0)}function my(a){let i={velocity:Zt.velocity,stiffness:Zt.stiffness,damping:Zt.damping,mass:Zt.mass,isResolvedFromDuration:!1,...a};if(!wf(a,hy)&&wf(a,dy))if(a.visualDuration){const u=a.visualDuration,r=2*Math.PI/(u*1.2),c=r*r,h=2*an(.05,1,1-(a.bounce||0))*Math.sqrt(c);i={...i,mass:Zt.mass,stiffness:c,damping:h}}else{const u=oy(a);i={...i,...u,mass:Zt.mass},i.isResolvedFromDuration=!0}return i}function es(a=Zt.visualDuration,i=Zt.bounce){const u=typeof a!="object"?{visualDuration:a,keyframes:[0,1],bounce:i}:a;let{restSpeed:r,restDelta:c}=u;const h=u.keyframes[0],d=u.keyframes[u.keyframes.length-1],g={done:!1,value:h},{stiffness:p,damping:y,mass:v,duration:b,velocity:E,isResolvedFromDuration:L}=my({...u,velocity:-Oe(u.velocity||0)}),O=E||0,B=y/(2*Math.sqrt(p*v)),U=d-h,j=Oe(Math.sqrt(p/v)),Y=Math.abs(U)<5;r||(r=Y?Zt.restSpeed.granular:Zt.restSpeed.default),c||(c=Y?Zt.restDelta.granular:Zt.restDelta.default);let Q;if(B<1){const z=dr(j,B);Q=k=>{const J=Math.exp(-B*j*k);return d-J*((O+B*j*U)/z*Math.sin(z*k)+U*Math.cos(z*k))}}else if(B===1)Q=z=>d-Math.exp(-j*z)*(U+(O+j*U)*z);else{const z=j*Math.sqrt(B*B-1);Q=k=>{const J=Math.exp(-B*j*k),K=Math.min(z*k,300);return d-J*((O+B*j*U)*Math.sinh(K)+z*U*Math.cosh(K))/z}}const q={calculatedDuration:L&&b||null,next:z=>{const k=Q(z);if(L)g.done=z>=b;else{let J=z===0?O:0;B<1&&(J=z===0?$e(O):Bf(Q,z,k));const K=Math.abs(J)<=r,I=Math.abs(d-k)<=c;g.done=K&&I}return g.value=g.done?d:k,g},toString:()=>{const z=Math.min(cr(q),ts),k=zf(J=>q.next(z*J).value,z,30);return z+"ms "+k},toTransition:()=>{}};return q}es.applyToOptions=a=>{const i=uy(a,100,es);return a.ease=i.ease,a.duration=$e(i.duration),a.type="keyframes",a};function hr({keyframes:a,velocity:i=0,power:u=.8,timeConstant:r=325,bounceDamping:c=10,bounceStiffness:h=500,modifyTarget:d,min:g,max:p,restDelta:y=.5,restSpeed:v}){const b=a[0],E={done:!1,value:b},L=K=>g!==void 0&&K<g||p!==void 0&&K>p,O=K=>g===void 0?p:p===void 0||Math.abs(g-K)<Math.abs(p-K)?g:p;let B=u*i;const U=b+B,j=d===void 0?U:d(U);j!==U&&(B=j-b);const Y=K=>-B*Math.exp(-K/r),Q=K=>j+Y(K),q=K=>{const I=Y(K),at=Q(K);E.done=Math.abs(I)<=y,E.value=E.done?j:at};let z,k;const J=K=>{L(E.value)&&(z=K,k=es({keyframes:[E.value,O(E.value)],velocity:Bf(Q,K,E.value),damping:c,stiffness:h,restDelta:y,restSpeed:v}))};return J(0),{calculatedDuration:null,next:K=>{let I=!1;return!k&&z===void 0&&(I=!0,q(K),J(K)),z!==void 0&&K>=z?k.next(K-z):(!I&&q(K),E)}}}function py(a,i,u){const r=[],c=u||ln.mix||Of,h=a.length-1;for(let d=0;d<h;d++){let g=c(a[d],a[d+1]);if(i){const p=Array.isArray(i)?i[d]||je:i;g=Bi(p,g)}r.push(g)}return r}function yy(a,i,{clamp:u=!0,ease:r,mixer:c}={}){const h=a.length;if(Pu(h===i.length),h===1)return()=>i[0];if(h===2&&i[0]===i[1])return()=>i[1];const d=a[0]===a[1];a[0]>a[h-1]&&(a=[...a].reverse(),i=[...i].reverse());const g=py(i,r,c),p=g.length,y=v=>{if(d&&v<a[0])return i[0];let b=0;if(p>1)for(;b<a.length-2&&!(v<a[b+1]);b++);const E=wi(a[b],a[b+1],v);return g[b](E)};return u?v=>y(an(a[0],a[h-1],v)):y}function gy(a,i){const u=a[a.length-1];for(let r=1;r<=i;r++){const c=wi(0,i,r);a.push(Nt(u,1,c))}}function vy(a){const i=[0];return gy(i,a.length-1),i}function Sy(a,i){return a.map(u=>u*i)}function by(a,i){return a.map(()=>i||gf).splice(0,a.length-1)}function qi({duration:a=300,keyframes:i,times:u,ease:r="easeInOut"}){const c=Hp(r)?r.map(Sf):Sf(r),h={done:!1,value:i[0]},d=Sy(u&&u.length===i.length?u:vy(i),a),g=yy(d,i,{ease:Array.isArray(c)?c:by(i,c)});return{calculatedDuration:a,next:p=>(h.value=g(p),h.done=p>=a,h)}}const Ey=a=>a!==null;function mr(a,{repeat:i,repeatType:u="loop"},r,c=1){const h=a.filter(Ey),g=c<0||i&&u!=="loop"&&i%2===1?0:h.length-1;return!g||r===void 0?h[g]:r}const Ay={decay:hr,inertia:hr,tween:qi,keyframes:qi,spring:es};function Nf(a){typeof a.type=="string"&&(a.type=Ay[a.type])}class pr{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,u){return this.finished.then(i,u)}}const Ty=a=>a/100;class yr extends pr{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:u}=this.options;u&&u.updatedAt!==de.now()&&this.tick(de.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;Nf(i);const{type:u=qi,repeat:r=0,repeatDelay:c=0,repeatType:h,velocity:d=0}=i;let{keyframes:g}=i;const p=u||qi;p!==qi&&typeof g[0]!="number"&&(this.mixKeyframes=Bi(Ty,Of(g[0],g[1])),g=[0,100]);const y=p({...i,keyframes:g});h==="mirror"&&(this.mirroredGenerator=p({...i,keyframes:[...g].reverse(),velocity:-d})),y.calculatedDuration===null&&(y.calculatedDuration=cr(y));const{calculatedDuration:v}=y;this.calculatedDuration=v,this.resolvedDuration=v+c,this.totalDuration=this.resolvedDuration*(r+1)-c,this.generator=y}updateTime(i){const u=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=u}tick(i,u=!1){const{generator:r,totalDuration:c,mixKeyframes:h,mirroredGenerator:d,resolvedDuration:g,calculatedDuration:p}=this;if(this.startTime===null)return r.next(0);const{delay:y=0,keyframes:v,repeat:b,repeatType:E,repeatDelay:L,type:O,onUpdate:B,finalKeyframe:U}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-c/this.speed,this.startTime)),u?this.currentTime=i:this.updateTime(i);const j=this.currentTime-y*(this.playbackSpeed>=0?1:-1),Y=this.playbackSpeed>=0?j<0:j>c;this.currentTime=Math.max(j,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let Q=this.currentTime,q=r;if(b){const K=Math.min(this.currentTime,c)/g;let I=Math.floor(K),at=K%1;!at&&K>=1&&(at=1),at===1&&I--,I=Math.min(I,b+1),!!(I%2)&&(E==="reverse"?(at=1-at,L&&(at-=L/g)):E==="mirror"&&(q=d)),Q=an(0,1,at)*g}const z=Y?{done:!1,value:v[0]}:q.next(Q);h&&(z.value=h(z.value));let{done:k}=z;!Y&&p!==null&&(k=this.playbackSpeed>=0?this.currentTime>=c:this.currentTime<=0);const J=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return J&&O!==hr&&(z.value=mr(v,this.options,U,this.speed)),B&&B(z.value),J&&this.finish(),z}then(i,u){return this.finished.then(i,u)}get duration(){return Oe(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Oe(i)}get time(){return Oe(this.currentTime)}set time(i){i=$e(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(i){this.updateTime(de.now());const u=this.playbackSpeed!==i;this.playbackSpeed=i,u&&(this.time=Oe(this.currentTime))}play(){if(this.isStopped)return;const{driver:i=sy,startTime:u}=this.options;this.driver||(this.driver=i(c=>this.tick(c))),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=u??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(de.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(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),i.observe(this)}}function My(a){for(let i=1;i<a.length;i++)a[i]??(a[i]=a[i-1])}const ua=a=>a*180/Math.PI,gr=a=>{const i=ua(Math.atan2(a[1],a[0]));return vr(i)},xy={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:a=>(Math.abs(a[0])+Math.abs(a[3]))/2,rotate:gr,rotateZ:gr,skewX:a=>ua(Math.atan(a[1])),skewY:a=>ua(Math.atan(a[2])),skew:a=>(Math.abs(a[1])+Math.abs(a[2]))/2},vr=a=>(a=a%360,a<0&&(a+=360),a),Zf=gr,Uf=a=>Math.sqrt(a[0]*a[0]+a[1]*a[1]),_f=a=>Math.sqrt(a[4]*a[4]+a[5]*a[5]),Vy={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Uf,scaleY:_f,scale:a=>(Uf(a)+_f(a))/2,rotateX:a=>vr(ua(Math.atan2(a[6],a[5]))),rotateY:a=>vr(ua(Math.atan2(-a[2],a[0]))),rotateZ:Zf,rotate:Zf,skewX:a=>ua(Math.atan(a[4])),skewY:a=>ua(Math.atan(a[1])),skew:a=>(Math.abs(a[1])+Math.abs(a[4]))/2};function Sr(a){return a.includes("scale")?1:0}function br(a,i){if(!a||a==="none")return Sr(i);const u=a.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,c;if(u)r=Vy,c=u;else{const g=a.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=xy,c=g}if(!c)return Sr(i);const h=r[i],d=c[1].split(",").map(Cy);return typeof h=="function"?h(d):d[h]}const Ly=(a,i)=>{const{transform:u="none"}=getComputedStyle(a);return br(u,i)};function Cy(a){return parseFloat(a.trim())}const wa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Na=new Set(wa),Gf=a=>a===za||a===st,Dy=new Set(["x","y","z"]),Ry=wa.filter(a=>!Dy.has(a));function Hy(a){const i=[];return Ry.forEach(u=>{const r=a.getValue(u);r!==void 0&&(i.push([u,r.get()]),r.set(u.startsWith("scale")?1:0))}),i}const ra={width:({x:a},{paddingLeft:i="0",paddingRight:u="0"})=>a.max-a.min-parseFloat(i)-parseFloat(u),height:({y:a},{paddingTop:i="0",paddingBottom:u="0"})=>a.max-a.min-parseFloat(i)-parseFloat(u),top:(a,{top:i})=>parseFloat(i),left:(a,{left:i})=>parseFloat(i),bottom:({y:a},{top:i})=>parseFloat(i)+(a.max-a.min),right:({x:a},{left:i})=>parseFloat(i)+(a.max-a.min),x:(a,{transform:i})=>br(i,"x"),y:(a,{transform:i})=>br(i,"y")};ra.translateX=ra.x,ra.translateY=ra.y;const oa=new Set;let Er=!1,Ar=!1,Tr=!1;function qf(){if(Ar){const a=Array.from(oa).filter(r=>r.needsMeasurement),i=new Set(a.map(r=>r.element)),u=new Map;i.forEach(r=>{const c=Hy(r);c.length&&(u.set(r,c),r.render())}),a.forEach(r=>r.measureInitialState()),i.forEach(r=>{r.render();const c=u.get(r);c&&c.forEach(([h,d])=>{r.getValue(h)?.set(d)})}),a.forEach(r=>r.measureEndState()),a.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Ar=!1,Er=!1,oa.forEach(a=>a.complete(Tr)),oa.clear()}function Yf(){oa.forEach(a=>{a.readKeyframes(),a.needsMeasurement&&(Ar=!0)})}function jy(){Tr=!0,Yf(),qf(),Tr=!1}class Mr{constructor(i,u,r,c,h,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=u,this.name=r,this.motionValue=c,this.element=h,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(oa.add(this),Er||(Er=!0,zt.read(Yf),zt.resolveKeyframes(qf))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:u,element:r,motionValue:c}=this;if(i[0]===null){const h=c?.get(),d=i[i.length-1];if(h!==void 0)i[0]=h;else if(r&&u){const g=r.readValue(u,d);g!=null&&(i[0]=g)}i[0]===void 0&&(i[0]=d),c&&h===void 0&&c.set(i[0])}My(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),oa.delete(this)}cancel(){this.state==="scheduled"&&(oa.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Oy=a=>a.startsWith("--");function zy(a,i,u){Oy(i)?a.style.setProperty(i,u):a.style[i]=u}const By=Ju(()=>window.ScrollTimeline!==void 0),wy={};function Ny(a,i){const u=Ju(a);return()=>wy[i]??u()}const Xf=Ny(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Yi=([a,i,u,r])=>`cubic-bezier(${a}, ${i}, ${u}, ${r})`,kf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Yi([0,.65,.55,1]),circOut:Yi([.55,0,1,.45]),backIn:Yi([.31,.01,.66,-.59]),backOut:Yi([.33,1.53,.69,.99])};function Kf(a,i){if(a)return typeof a=="function"?Xf()?zf(a,i):"ease-out":vf(a)?Yi(a):Array.isArray(a)?a.map(u=>Kf(u,i)||kf.easeOut):kf[a]}function Zy(a,i,u,{delay:r=0,duration:c=300,repeat:h=0,repeatType:d="loop",ease:g="easeOut",times:p}={},y=void 0){const v={[i]:u};p&&(v.offset=p);const b=Kf(g,c);Array.isArray(b)&&(v.easing=b);const E={delay:r,duration:c,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:h+1,direction:d==="reverse"?"alternate":"normal"};return y&&(E.pseudoElement=y),a.animate(v,E)}function Ff(a){return typeof a=="function"&&"applyToOptions"in a}function Uy({type:a,...i}){return Ff(a)&&Xf()?a.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class _y extends pr{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,!i)return;const{element:u,name:r,keyframes:c,pseudoElement:h,allowFlatten:d=!1,finalKeyframe:g,onComplete:p}=i;this.isPseudoElement=!!h,this.allowFlatten=d,this.options=i,Pu(typeof i.type!="string");const y=Uy(i);this.animation=Zy(u,r,c,y,h),y.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!h){const v=mr(c,this.options,g,this.speed);this.updateMotionValue?this.updateMotionValue(v):zy(u,r,v),this.animation.cancel()}p?.(),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:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const i=this.animation.effect?.getComputedTiming?.().duration||0;return Oe(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Oe(i)}get time(){return Oe(Number(this.animation.currentTime)||0)}set time(i){this.finishedTime=null,this.animation.currentTime=$e(i)}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(i){this.animation.startTime=i}attachTimeline({timeline:i,observe:u}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,i&&By()?(this.animation.timeline=i,je):u(this)}}const Qf={anticipate:mf,backInOut:hf,circInOut:yf};function Gy(a){return a in Qf}function qy(a){typeof a.ease=="string"&&Gy(a.ease)&&(a.ease=Qf[a.ease])}const Pf=10;class Yy extends _y{constructor(i){qy(i),Nf(i),super(i),i.startTime&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:u,onUpdate:r,onComplete:c,element:h,...d}=this.options;if(!u)return;if(i!==void 0){u.set(i);return}const g=new yr({...d,autoplay:!1}),p=$e(this.finishedTime??this.time);u.setWithVelocity(g.sample(p-Pf).value,g.sample(p).value,Pf),g.stop()}}const Jf=(a,i)=>i==="zIndex"?!1:!!(typeof a=="number"||Array.isArray(a)||typeof a=="string"&&(Hn.test(a)||a==="0")&&!a.startsWith("url("));function Xy(a){const i=a[0];if(a.length===1)return!0;for(let u=0;u<a.length;u++)if(a[u]!==i)return!0}function ky(a,i,u,r){const c=a[0];if(c===null)return!1;if(i==="display"||i==="visibility")return!0;const h=a[a.length-1],d=Jf(c,i),g=Jf(h,i);return!d||!g?!1:Xy(a)||(u==="spring"||Ff(u))&&r}function xr(a){a.duration=0,a.type="keyframes"}const Ky=new Set(["opacity","clipPath","filter","transform"]),Fy=Ju(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Qy(a){const{motionValue:i,name:u,repeatDelay:r,repeatType:c,damping:h,type:d}=a;if(!(i?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:y}=i.owner.getProps();return Fy()&&u&&Ky.has(u)&&(u!=="transform"||!y)&&!p&&!r&&c!=="mirror"&&h!==0&&d!=="inertia"}const Py=40;class Jy extends pr{constructor({autoplay:i=!0,delay:u=0,type:r="keyframes",repeat:c=0,repeatDelay:h=0,repeatType:d="loop",keyframes:g,name:p,motionValue:y,element:v,...b}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=de.now();const E={autoplay:i,delay:u,type:r,repeat:c,repeatDelay:h,repeatType:d,name:p,motionValue:y,element:v,...b},L=v?.KeyframeResolver||Mr;this.keyframeResolver=new L(g,(O,B,U)=>this.onKeyframesResolved(O,B,E,!U),p,y,v),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(i,u,r,c){this.keyframeResolver=void 0;const{name:h,type:d,velocity:g,delay:p,isHandoff:y,onUpdate:v}=r;this.resolvedAt=de.now(),ky(i,h,d,g)||((ln.instantAnimations||!p)&&v?.(mr(i,r,u)),i[0]=i[i.length-1],xr(r),r.repeat=0);const E={startTime:c?this.resolvedAt?this.resolvedAt-this.createdAt>Py?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:u,...r,keyframes:i},L=!y&&Qy(E)?new Yy({...E,element:E.motionValue.owner.current}):new yr(E);L.finished.then(()=>this.notifyFinished()).catch(je),this.pendingTimeline&&(this.stopTimeline=L.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=L}get finished(){return this._animation?this.animation.finished:this._finished}then(i,u){return this.finished.finally(i).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),jy()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const $y=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Wy(a){const i=$y.exec(a);if(!i)return[,];const[,u,r,c]=i;return[`--${u??r}`,c]}function $f(a,i,u=1){const[r,c]=Wy(a);if(!r)return;const h=window.getComputedStyle(i).getPropertyValue(r);if(h){const d=h.trim();return lf(d)?parseFloat(d):d}return er(c)?$f(c,i,u+1):c}function Vr(a,i){return a?.[i]??a?.default??a}const Wf=new Set(["width","height","top","left","right","bottom",...wa]),Iy={test:a=>a==="auto",parse:a=>a},If=a=>i=>i.test(a),t1=[za,st,We,Rn,Xp,Yp,Iy],e1=a=>t1.find(If(a));function tg(a){return typeof a=="number"?a===0:a!==null?a==="none"||a==="0"||uf(a):!0}const eg=new Set(["brightness","contrast","saturate","opacity"]);function ng(a){const[i,u]=a.slice(0,-1).split("(");if(i==="drop-shadow")return a;const[r]=u.match(nr)||[];if(!r)return a;const c=u.replace(r,"");let h=eg.has(i)?1:0;return r!==u&&(h*=100),i+"("+h+c+")"}const ag=/\b([a-z-]*)\(.*?\)/gu,Lr={...Hn,getAnimatableNone:a=>{const i=a.match(ag);return i?i.map(ng).join(" "):a}},n1={...za,transform:Math.round},Cr={borderWidth:st,borderTopWidth:st,borderRightWidth:st,borderBottomWidth:st,borderLeftWidth:st,borderRadius:st,radius:st,borderTopLeftRadius:st,borderTopRightRadius:st,borderBottomRightRadius:st,borderBottomLeftRadius:st,width:st,maxWidth:st,height:st,maxHeight:st,top:st,right:st,bottom:st,left:st,padding:st,paddingTop:st,paddingRight:st,paddingBottom:st,paddingLeft:st,margin:st,marginTop:st,marginRight:st,marginBottom:st,marginLeft:st,backgroundPositionX:st,backgroundPositionY:st,...{rotate:Rn,rotateX:Rn,rotateY:Rn,rotateZ:Rn,scale:Wl,scaleX:Wl,scaleY:Wl,scaleZ:Wl,skew:Rn,skewX:Rn,skewY:Rn,distance:st,translateX:st,translateY:st,translateZ:st,x:st,y:st,z:st,perspective:st,transformPerspective:st,opacity:Zi,originX:Mf,originY:Mf,originZ:st},zIndex:n1,fillOpacity:Zi,strokeOpacity:Zi,numOctaves:n1},ig={...Cr,color:Yt,backgroundColor:Yt,outlineColor:Yt,fill:Yt,stroke:Yt,borderColor:Yt,borderTopColor:Yt,borderRightColor:Yt,borderBottomColor:Yt,borderLeftColor:Yt,filter:Lr,WebkitFilter:Lr},a1=a=>ig[a];function i1(a,i){let u=a1(a);return u!==Lr&&(u=Hn),u.getAnimatableNone?u.getAnimatableNone(i):void 0}const lg=new Set(["auto","none","0"]);function sg(a,i,u){let r=0,c;for(;r<a.length&&!c;){const h=a[r];typeof h=="string"&&!lg.has(h)&&Gi(h).values.length&&(c=a[r]),r++}if(c&&u)for(const h of i)a[h]=i1(u,c)}class ug extends Mr{constructor(i,u,r,c,h){super(i,u,r,c,h,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:u,name:r}=this;if(!u||!u.current)return;super.readKeyframes();for(let p=0;p<i.length;p++){let y=i[p];if(typeof y=="string"&&(y=y.trim(),er(y))){const v=$f(y,u.current);v!==void 0&&(i[p]=v),p===i.length-1&&(this.finalKeyframe=y)}}if(this.resolveNoneKeyframes(),!Wf.has(r)||i.length!==2)return;const[c,h]=i,d=e1(c),g=e1(h);if(d!==g)if(Gf(d)&&Gf(g))for(let p=0;p<i.length;p++){const y=i[p];typeof y=="string"&&(i[p]=parseFloat(y))}else ra[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:u}=this,r=[];for(let c=0;c<i.length;c++)(i[c]===null||tg(i[c]))&&r.push(c);r.length&&sg(i,r,u)}measureInitialState(){const{element:i,unresolvedKeyframes:u,name:r}=this;if(!i||!i.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ra[r](i.measureViewportBox(),window.getComputedStyle(i.current)),u[0]=this.measuredOrigin;const c=u[u.length-1];c!==void 0&&i.getValue(r,c).jump(c,!1)}measureEndState(){const{element:i,name:u,unresolvedKeyframes:r}=this;if(!i||!i.current)return;const c=i.getValue(u);c&&c.jump(this.measuredOrigin,!1);const h=r.length-1,d=r[h];r[h]=ra[u](i.measureViewportBox(),window.getComputedStyle(i.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),this.removedTransforms?.length&&this.removedTransforms.forEach(([g,p])=>{i.getValue(g).set(p)}),this.resolveNoneKeyframes()}}function rg(a,i,u){if(a instanceof EventTarget)return[a];if(typeof a=="string"){let r=document;const c=u?.[a]??r.querySelectorAll(a);return c?Array.from(c):[]}return Array.from(a)}const l1=(a,i)=>i&&typeof a=="number"?i.transform(a):a;function s1(a){return sf(a)&&"offsetHeight"in a}const u1=30,og=a=>!isNaN(parseFloat(a));class cg{constructor(i,u={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const c=de.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const h of this.dependents)h.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=u.owner}setCurrent(i){this.current=i,this.updatedAt=de.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=og(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,u){this.events[i]||(this.events[i]=new $u);const r=this.events[i].add(u);return i==="change"?()=>{r(),zt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,u){this.passiveEffect=i,this.stopPassiveEffect=u}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,u,r){this.set(u),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-r}jump(i,u=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,u&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const i=de.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>u1)return 0;const u=Math.min(this.updatedAt-this.prevUpdatedAt,u1);return rf(parseFloat(this.current)-parseFloat(this.prevFrameValue),u)}start(i){return this.stop(),new Promise(u=>{this.hasAnimated=!0,this.animation=i(u),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 Za(a,i){return new cg(a,i)}const{schedule:Dr}=bf(queueMicrotask,!1),ke={x:!1,y:!1};function r1(){return ke.x||ke.y}function fg(a){return a==="x"||a==="y"?ke[a]?null:(ke[a]=!0,()=>{ke[a]=!1}):ke.x||ke.y?null:(ke.x=ke.y=!0,()=>{ke.x=ke.y=!1})}function o1(a,i){const u=rg(a),r=new AbortController,c={passive:!0,...i,signal:r.signal};return[u,c,()=>r.abort()]}function c1(a){return!(a.pointerType==="touch"||r1())}function dg(a,i,u={}){const[r,c,h]=o1(a,u),d=g=>{if(!c1(g))return;const{target:p}=g,y=i(p,g);if(typeof y!="function"||!p)return;const v=b=>{c1(b)&&(y(b),p.removeEventListener("pointerleave",v))};p.addEventListener("pointerleave",v,c)};return r.forEach(g=>{g.addEventListener("pointerenter",d,c)}),h}const f1=(a,i)=>i?a===i?!0:f1(a,i.parentElement):!1,Rr=a=>a.pointerType==="mouse"?typeof a.button!="number"||a.button<=0:a.isPrimary!==!1,hg=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function mg(a){return hg.has(a.tagName)||a.tabIndex!==-1}const ns=new WeakSet;function d1(a){return i=>{i.key==="Enter"&&a(i)}}function Hr(a,i){a.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const pg=(a,i)=>{const u=a.currentTarget;if(!u)return;const r=d1(()=>{if(ns.has(u))return;Hr(u,"down");const c=d1(()=>{Hr(u,"up")}),h=()=>Hr(u,"cancel");u.addEventListener("keyup",c,i),u.addEventListener("blur",h,i)});u.addEventListener("keydown",r,i),u.addEventListener("blur",()=>u.removeEventListener("keydown",r),i)};function h1(a){return Rr(a)&&!r1()}function yg(a,i,u={}){const[r,c,h]=o1(a,u),d=g=>{const p=g.currentTarget;if(!h1(g))return;ns.add(p);const y=i(p,g),v=(L,O)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",E),ns.has(p)&&ns.delete(p),h1(L)&&typeof y=="function"&&y(L,{success:O})},b=L=>{v(L,p===window||p===document||u.useGlobalTarget||f1(p,L.target))},E=L=>{v(L,!1)};window.addEventListener("pointerup",b,c),window.addEventListener("pointercancel",E,c)};return r.forEach(g=>{(u.useGlobalTarget?window:g).addEventListener("pointerdown",d,c),s1(g)&&(g.addEventListener("focus",y=>pg(y,c)),!mg(g)&&!g.hasAttribute("tabindex")&&(g.tabIndex=0))}),h}function m1(a){return sf(a)&&"ownerSVGElement"in a}function gg(a){return m1(a)&&a.tagName==="svg"}const re=a=>!!(a&&a.getVelocity),vg=[...t1,Yt,Hn],Sg=a=>vg.find(If(a)),jr=f.createContext({transformPagePoint:a=>a,isStatic:!1,reducedMotion:"never"});function p1(a,i){if(typeof a=="function")return a(i);a!=null&&(a.current=i)}function bg(...a){return i=>{let u=!1;const r=a.map(c=>{const h=p1(c,i);return!u&&typeof h=="function"&&(u=!0),h});if(u)return()=>{for(let c=0;c<r.length;c++){const h=r[c];typeof h=="function"?h():p1(a[c],null)}}}}function Eg(...a){return f.useCallback(bg(...a),a)}class Ag extends f.Component{getSnapshotBeforeUpdate(i){const u=this.props.childRef.current;if(u&&i.isPresent&&!this.props.isPresent){const r=u.offsetParent,c=s1(r)&&r.offsetWidth||0,h=this.props.sizeRef.current;h.height=u.offsetHeight||0,h.width=u.offsetWidth||0,h.top=u.offsetTop,h.left=u.offsetLeft,h.right=c-h.width-h.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Tg({children:a,isPresent:i,anchorX:u,root:r}){const c=f.useId(),h=f.useRef(null),d=f.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:g}=f.useContext(jr),p=Eg(h,a?.ref);return f.useInsertionEffect(()=>{const{width:y,height:v,top:b,left:E,right:L}=d.current;if(i||!h.current||!y||!v)return;const O=u==="left"?`left: ${E}`:`right: ${L}`;h.current.dataset.motionPopId=c;const B=document.createElement("style");g&&(B.nonce=g);const U=r??document.head;return U.appendChild(B),B.sheet&&B.sheet.insertRule(`
8
+ `+l.stack}}var ro=Object.prototype.hasOwnProperty,oo=i.unstable_scheduleCallback,co=i.unstable_cancelCallback,y3=i.unstable_shouldYield,g3=i.unstable_requestPaint,Ae=i.unstable_now,v3=i.unstable_getCurrentPriorityLevel,th=i.unstable_ImmediatePriority,eh=i.unstable_UserBlockingPriority,hs=i.unstable_NormalPriority,S3=i.unstable_LowPriority,nh=i.unstable_IdlePriority,b3=i.log,E3=i.unstable_setDisableYieldValue,Ii=null,Te=null;function zn(t){if(typeof b3=="function"&&E3(t),Te&&typeof Te.setStrictMode=="function")try{Te.setStrictMode(Ii,t)}catch{}}var Me=Math.clz32?Math.clz32:M3,A3=Math.log,T3=Math.LN2;function M3(t){return t>>>=0,t===0?32:31-(A3(t)/T3|0)|0}var ms=256,ps=262144,ys=4194304;function ha(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 t}}function gs(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var s=0,o=t.suspendedLanes,m=t.pingedLanes;t=t.warmLanes;var S=l&134217727;return S!==0?(l=S&~o,l!==0?s=ha(l):(m&=S,m!==0?s=ha(m):n||(n=S&~t,n!==0&&(s=ha(n))))):(S=l&~o,S!==0?s=ha(S):m!==0?s=ha(m):n||(n=l&~t,n!==0&&(s=ha(n)))),s===0?0:e!==0&&e!==s&&(e&o)===0&&(o=s&-s,n=e&-e,o>=n||o===32&&(n&4194048)!==0)?e:s}function tl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function x3(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-1}}function ah(){var t=ys;return ys<<=1,(ys&62914560)===0&&(ys=4194304),t}function fo(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function el(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function V3(t,e,n,l,s,o){var m=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var S=t.entanglements,T=t.expirationTimes,D=t.hiddenUpdates;for(n=m&~n;0<n;){var w=31-Me(n),_=1<<w;S[w]=0,T[w]=-1;var R=D[w];if(R!==null)for(D[w]=null,w=0;w<R.length;w++){var j=R[w];j!==null&&(j.lane&=-536870913)}n&=~_}l!==0&&ih(t,l,0),o!==0&&s===0&&t.tag!==0&&(t.suspendedLanes|=o&~(m&~e))}function ih(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-Me(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|n&261930}function lh(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var l=31-Me(n),s=1<<l;s&e|t[l]&e&&(t[l]|=e),n&=~s}}function sh(t,e){var n=e&-e;return n=(n&42)!==0?1:ho(n),(n&(t.suspendedLanes|e))!==0?0:n}function ho(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 mo(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function uh(){var t=X.p;return t!==0?t:(t=window.event,t===void 0?32:K8(t.type))}function rh(t,e){var n=X.p;try{return X.p=t,e()}finally{X.p=n}}var Bn=Math.random().toString(36).slice(2),ne="__reactFiber$"+Bn,he="__reactProps$"+Bn,Fa="__reactContainer$"+Bn,po="__reactEvents$"+Bn,L3="__reactListeners$"+Bn,C3="__reactHandles$"+Bn,oh="__reactResources$"+Bn,nl="__reactMarker$"+Bn;function yo(t){delete t[ne],delete t[he],delete t[po],delete t[L3],delete t[C3]}function Qa(t){var e=t[ne];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Fa]||n[ne]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=R8(t);t!==null;){if(n=t[ne])return n;t=R8(t)}return e}t=n,n=t.parentNode}return null}function Pa(t){if(t=t[ne]||t[Fa]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function al(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function Ja(t){var e=t[oh];return e||(e=t[oh]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function It(t){t[nl]=!0}var ch=new Set,fh={};function ma(t,e){$a(t,e),$a(t+"Capture",e)}function $a(t,e){for(fh[t]=e,t=0;t<e.length;t++)ch.add(e[t])}var D3=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]*$"),dh={},hh={};function R3(t){return ro.call(hh,t)?!0:ro.call(dh,t)?!1:D3.test(t)?hh[t]=!0:(dh[t]=!0,!1)}function vs(t,e,n){if(R3(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function Ss(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function un(t,e,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+l)}}function Be(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function mh(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function H3(t,e,n){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var s=l.get,o=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return s.call(this)},set:function(m){n=""+m,o.call(this,m)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(m){n=""+m},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function go(t){if(!t._valueTracker){var e=mh(t)?"checked":"value";t._valueTracker=H3(t,e,""+t[e])}}function ph(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),l="";return t&&(l=mh(t)?t.checked?"true":"false":t.value),t=l,t!==n?(e.setValue(t),!0):!1}function bs(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}}var j3=/[\n"\\]/g;function we(t){return t.replace(j3,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function vo(t,e,n,l,s,o,m,S){t.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?t.type=m:t.removeAttribute("type"),e!=null?m==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Be(e)):t.value!==""+Be(e)&&(t.value=""+Be(e)):m!=="submit"&&m!=="reset"||t.removeAttribute("value"),e!=null?So(t,m,Be(e)):n!=null?So(t,m,Be(n)):l!=null&&t.removeAttribute("value"),s==null&&o!=null&&(t.defaultChecked=!!o),s!=null&&(t.checked=s&&typeof s!="function"&&typeof s!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.name=""+Be(S):t.removeAttribute("name")}function yh(t,e,n,l,s,o,m,S){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),e!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||e!=null)){go(t);return}n=n!=null?""+Be(n):"",e=e!=null?""+Be(e):n,S||e===t.value||(t.value=e),t.defaultValue=e}l=l??s,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=S?t.checked:!!l,t.defaultChecked=!!l,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(t.name=m),go(t)}function So(t,e,n){e==="number"&&bs(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Wa(t,e,n,l){if(t=t.options,e){e={};for(var s=0;s<n.length;s++)e["$"+n[s]]=!0;for(n=0;n<t.length;n++)s=e.hasOwnProperty("$"+t[n].value),t[n].selected!==s&&(t[n].selected=s),s&&l&&(t[n].defaultSelected=!0)}else{for(n=""+Be(n),e=null,s=0;s<t.length;s++){if(t[s].value===n){t[s].selected=!0,l&&(t[s].defaultSelected=!0);return}e!==null||t[s].disabled||(e=t[s])}e!==null&&(e.selected=!0)}}function gh(t,e,n){if(e!=null&&(e=""+Be(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Be(n):""}function vh(t,e,n,l){if(e==null){if(l!=null){if(n!=null)throw Error(c(92));if(F(l)){if(1<l.length)throw Error(c(93));l=l[0]}n=l}n==null&&(n=""),e=n}n=Be(e),t.defaultValue=n,l=t.textContent,l===n&&l!==""&&l!==null&&(t.value=l),go(t)}function Ia(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var O3=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 Sh(t,e,n){var l=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,n):typeof n!="number"||n===0||O3.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function bh(t,e,n){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var s in e)l=e[s],e.hasOwnProperty(s)&&n[s]!==l&&Sh(t,s,l)}else for(var o in e)e.hasOwnProperty(o)&&Sh(t,o,e[o])}function bo(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}}var z3=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"]]),B3=/^[\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 Es(t){return B3.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function rn(){}var Eo=null;function Ao(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ti=null,ei=null;function Eh(t){var e=Pa(t);if(e&&(t=e.stateNode)){var n=t[he]||null;t:switch(t=e.stateNode,e.type){case"input":if(vo(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+we(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var l=n[e];if(l!==t&&l.form===t.form){var s=l[he]||null;if(!s)throw Error(c(90));vo(l,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(e=0;e<n.length;e++)l=n[e],l.form===t.form&&ph(l)}break t;case"textarea":gh(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Wa(t,!!n.multiple,e,!1)}}}var To=!1;function Ah(t,e,n){if(To)return t(e,n);To=!0;try{var l=t(e);return l}finally{if(To=!1,(ti!==null||ei!==null)&&(ru(),ti&&(e=ti,t=ei,ei=ti=null,Eh(e),t)))for(e=0;e<t.length;e++)Eh(t[e])}}function il(t,e){var n=t.stateNode;if(n===null)return null;var l=n[he]||null;if(l===null)return null;n=l[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":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(c(231,e,typeof n));return n}var on=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Mo=!1;if(on)try{var ll={};Object.defineProperty(ll,"passive",{get:function(){Mo=!0}}),window.addEventListener("test",ll,ll),window.removeEventListener("test",ll,ll)}catch{Mo=!1}var wn=null,xo=null,As=null;function Th(){if(As)return As;var t,e=xo,n=e.length,l,s="value"in wn?wn.value:wn.textContent,o=s.length;for(t=0;t<n&&e[t]===s[t];t++);var m=n-t;for(l=1;l<=m&&e[n-l]===s[o-l];l++);return As=s.slice(t,1<l?1-l:void 0)}function Ts(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 Ms(){return!0}function Mh(){return!1}function me(t){function e(n,l,s,o,m){this._reactName=n,this._targetInst=s,this.type=l,this.nativeEvent=o,this.target=m,this.currentTarget=null;for(var S in t)t.hasOwnProperty(S)&&(n=t[S],this[S]=n?n(o):o[S]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ms:Mh,this.isPropagationStopped=Mh,this}return E(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ms)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ms)},persist:function(){},isPersistent:Ms}),e}var pa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xs=me(pa),sl=E({},pa,{view:0,detail:0}),w3=me(sl),Vo,Lo,ul,Vs=E({},sl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Do,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!==ul&&(ul&&t.type==="mousemove"?(Vo=t.screenX-ul.screenX,Lo=t.screenY-ul.screenY):Lo=Vo=0,ul=t),Vo)},movementY:function(t){return"movementY"in t?t.movementY:Lo}}),xh=me(Vs),N3=E({},Vs,{dataTransfer:0}),Z3=me(N3),U3=E({},sl,{relatedTarget:0}),Co=me(U3),_3=E({},pa,{animationName:0,elapsedTime:0,pseudoElement:0}),G3=me(_3),q3=E({},pa,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Y3=me(q3),X3=E({},pa,{data:0}),Vh=me(X3),k3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},K3={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"},F3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Q3(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=F3[t])?!!e[t]:!1}function Do(){return Q3}var P3=E({},sl,{key:function(t){if(t.key){var e=k3[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ts(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?K3[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Do,charCode:function(t){return t.type==="keypress"?Ts(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ts(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),J3=me(P3),$3=E({},Vs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Lh=me($3),W3=E({},sl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Do}),I3=me(W3),t5=E({},pa,{propertyName:0,elapsedTime:0,pseudoElement:0}),e5=me(t5),n5=E({},Vs,{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}),a5=me(n5),i5=E({},pa,{newState:0,oldState:0}),l5=me(i5),s5=[9,13,27,32],Ro=on&&"CompositionEvent"in window,rl=null;on&&"documentMode"in document&&(rl=document.documentMode);var u5=on&&"TextEvent"in window&&!rl,Ch=on&&(!Ro||rl&&8<rl&&11>=rl),Dh=" ",Rh=!1;function Hh(t,e){switch(t){case"keyup":return s5.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ni=!1;function r5(t,e){switch(t){case"compositionend":return jh(e);case"keypress":return e.which!==32?null:(Rh=!0,Dh);case"textInput":return t=e.data,t===Dh&&Rh?null:t;default:return null}}function o5(t,e){if(ni)return t==="compositionend"||!Ro&&Hh(t,e)?(t=Th(),As=xo=wn=null,ni=!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 Ch&&e.locale!=="ko"?null:e.data;default:return null}}var c5={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 Oh(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!c5[t.type]:e==="textarea"}function zh(t,e,n,l){ti?ei?ei.push(l):ei=[l]:ti=l,e=pu(e,"onChange"),0<e.length&&(n=new xs("onChange","change",null,n,l),t.push({event:n,listeners:e}))}var ol=null,cl=null;function f5(t){y8(t,0)}function Ls(t){var e=al(t);if(ph(e))return t}function Bh(t,e){if(t==="change")return e}var wh=!1;if(on){var Ho;if(on){var jo="oninput"in document;if(!jo){var Nh=document.createElement("div");Nh.setAttribute("oninput","return;"),jo=typeof Nh.oninput=="function"}Ho=jo}else Ho=!1;wh=Ho&&(!document.documentMode||9<document.documentMode)}function Zh(){ol&&(ol.detachEvent("onpropertychange",Uh),cl=ol=null)}function Uh(t){if(t.propertyName==="value"&&Ls(cl)){var e=[];zh(e,cl,t,Ao(t)),Ah(f5,e)}}function d5(t,e,n){t==="focusin"?(Zh(),ol=e,cl=n,ol.attachEvent("onpropertychange",Uh)):t==="focusout"&&Zh()}function h5(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ls(cl)}function m5(t,e){if(t==="click")return Ls(e)}function p5(t,e){if(t==="input"||t==="change")return Ls(e)}function y5(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var xe=typeof Object.is=="function"?Object.is:y5;function fl(t,e){if(xe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),l=Object.keys(e);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var s=n[l];if(!ro.call(e,s)||!xe(t[s],e[s]))return!1}return!0}function _h(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Gh(t,e){var n=_h(t);t=0;for(var l;n;){if(n.nodeType===3){if(l=t+n.textContent.length,t<=e&&l>=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=_h(n)}}function qh(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?qh(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Yh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=bs(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=bs(t.document)}return e}function Oo(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")}var g5=on&&"documentMode"in document&&11>=document.documentMode,ai=null,zo=null,dl=null,Bo=!1;function Xh(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Bo||ai==null||ai!==bs(l)||(l=ai,"selectionStart"in l&&Oo(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),dl&&fl(dl,l)||(dl=l,l=pu(zo,"onSelect"),0<l.length&&(e=new xs("onSelect","select",null,e,n),t.push({event:e,listeners:l}),e.target=ai)))}function ya(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var ii={animationend:ya("Animation","AnimationEnd"),animationiteration:ya("Animation","AnimationIteration"),animationstart:ya("Animation","AnimationStart"),transitionrun:ya("Transition","TransitionRun"),transitionstart:ya("Transition","TransitionStart"),transitioncancel:ya("Transition","TransitionCancel"),transitionend:ya("Transition","TransitionEnd")},wo={},kh={};on&&(kh=document.createElement("div").style,"AnimationEvent"in window||(delete ii.animationend.animation,delete ii.animationiteration.animation,delete ii.animationstart.animation),"TransitionEvent"in window||delete ii.transitionend.transition);function ga(t){if(wo[t])return wo[t];if(!ii[t])return t;var e=ii[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in kh)return wo[t]=e[n];return t}var Kh=ga("animationend"),Fh=ga("animationiteration"),Qh=ga("animationstart"),v5=ga("transitionrun"),S5=ga("transitionstart"),b5=ga("transitioncancel"),Ph=ga("transitionend"),Jh=new Map,No="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(" ");No.push("scrollEnd");function Fe(t,e){Jh.set(t,e),ma(e,[t])}var Cs=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 a=="object"&&typeof a.emit=="function"){a.emit("uncaughtException",t);return}console.error(t)},Ne=[],li=0,Zo=0;function Ds(){for(var t=li,e=Zo=li=0;e<t;){var n=Ne[e];Ne[e++]=null;var l=Ne[e];Ne[e++]=null;var s=Ne[e];Ne[e++]=null;var o=Ne[e];if(Ne[e++]=null,l!==null&&s!==null){var m=l.pending;m===null?s.next=s:(s.next=m.next,m.next=s),l.pending=s}o!==0&&$h(n,s,o)}}function Rs(t,e,n,l){Ne[li++]=t,Ne[li++]=e,Ne[li++]=n,Ne[li++]=l,Zo|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Uo(t,e,n,l){return Rs(t,e,n,l),Hs(t)}function va(t,e){return Rs(t,null,null,e),Hs(t)}function $h(t,e,n){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n);for(var s=!1,o=t.return;o!==null;)o.childLanes|=n,l=o.alternate,l!==null&&(l.childLanes|=n),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(s=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,s&&e!==null&&(s=31-Me(n),t=o.hiddenUpdates,l=t[s],l===null?t[s]=[e]:l.push(e),e.lane=n|536870912),o):null}function Hs(t){if(50<zl)throw zl=0,Qc=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var si={};function E5(t,e,n,l){this.tag=t,this.key=n,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=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ve(t,e,n,l){return new E5(t,e,n,l)}function _o(t){return t=t.prototype,!(!t||!t.isReactComponent)}function cn(t,e){var n=t.alternate;return n===null?(n=Ve(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function Wh(t,e){t.flags&=65011714;var n=t.alternate;return n===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.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function js(t,e,n,l,s,o){var m=0;if(l=t,typeof t=="function")_o(t)&&(m=1);else if(typeof t=="string")m=VS(t,n,tt.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case at:return t=Ve(31,n,e,s),t.elementType=at,t.lanes=o,t;case U:return Sa(n.children,s,o,e);case H:m=8,s|=24;break;case Y:return t=Ve(12,n,e,s|2),t.elementType=Y,t.lanes=o,t;case k:return t=Ve(13,n,e,s),t.elementType=k,t.lanes=o,t;case J:return t=Ve(19,n,e,s),t.elementType=J,t.lanes=o,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case q:m=10;break t;case Q:m=9;break t;case z:m=11;break t;case K:m=14;break t;case I:m=16,l=null;break t}m=29,n=Error(c(130,t===null?"null":typeof t,"")),l=null}return e=Ve(m,n,e,s),e.elementType=t,e.type=l,e.lanes=o,e}function Sa(t,e,n,l){return t=Ve(7,t,l,e),t.lanes=n,t}function Go(t,e,n){return t=Ve(6,t,null,e),t.lanes=n,t}function Ih(t){var e=Ve(18,null,null,0);return e.stateNode=t,e}function qo(t,e,n){return e=Ve(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var tm=new WeakMap;function Ze(t,e){if(typeof t=="object"&&t!==null){var n=tm.get(t);return n!==void 0?n:(e={value:t,source:e,stack:Id(e)},tm.set(t,e),e)}return{value:t,source:e,stack:Id(e)}}var ui=[],ri=0,Os=null,hl=0,Ue=[],_e=0,Nn=null,Ie=1,tn="";function fn(t,e){ui[ri++]=hl,ui[ri++]=Os,Os=t,hl=e}function em(t,e,n){Ue[_e++]=Ie,Ue[_e++]=tn,Ue[_e++]=Nn,Nn=t;var l=Ie;t=tn;var s=32-Me(l)-1;l&=~(1<<s),n+=1;var o=32-Me(e)+s;if(30<o){var m=s-s%5;o=(l&(1<<m)-1).toString(32),l>>=m,s-=m,Ie=1<<32-Me(e)+s|n<<s|l,tn=o+t}else Ie=1<<o|n<<s|l,tn=t}function Yo(t){t.return!==null&&(fn(t,1),em(t,1,0))}function Xo(t){for(;t===Os;)Os=ui[--ri],ui[ri]=null,hl=ui[--ri],ui[ri]=null;for(;t===Nn;)Nn=Ue[--_e],Ue[_e]=null,tn=Ue[--_e],Ue[_e]=null,Ie=Ue[--_e],Ue[_e]=null}function nm(t,e){Ue[_e++]=Ie,Ue[_e++]=tn,Ue[_e++]=Nn,Ie=e.id,tn=e.overflow,Nn=t}var ae=null,jt=null,St=!1,Zn=null,Ge=!1,ko=Error(c(519));function Un(t){var e=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ml(Ze(e,t)),ko}function am(t){var e=t.stateNode,n=t.type,l=t.memoizedProps;switch(e[ne]=t,e[he]=l,n){case"dialog":yt("cancel",e),yt("close",e);break;case"iframe":case"object":case"embed":yt("load",e);break;case"video":case"audio":for(n=0;n<wl.length;n++)yt(wl[n],e);break;case"source":yt("error",e);break;case"img":case"image":case"link":yt("error",e),yt("load",e);break;case"details":yt("toggle",e);break;case"input":yt("invalid",e),yh(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":yt("invalid",e);break;case"textarea":yt("invalid",e),vh(e,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||l.suppressHydrationWarning===!0||b8(e.textContent,n)?(l.popover!=null&&(yt("beforetoggle",e),yt("toggle",e)),l.onScroll!=null&&yt("scroll",e),l.onScrollEnd!=null&&yt("scrollend",e),l.onClick!=null&&(e.onclick=rn),e=!0):e=!1,e||Un(t,!0)}function im(t){for(ae=t.return;ae;)switch(ae.tag){case 5:case 31:case 13:Ge=!1;return;case 27:case 3:Ge=!0;return;default:ae=ae.return}}function oi(t){if(t!==ae)return!1;if(!St)return im(t),St=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||o0(t.type,t.memoizedProps)),n=!n),n&&jt&&Un(t),im(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));jt=D8(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));jt=D8(t)}else e===27?(e=jt,In(t.type)?(t=m0,m0=null,jt=t):jt=e):jt=ae?Ye(t.stateNode.nextSibling):null;return!0}function ba(){jt=ae=null,St=!1}function Ko(){var t=Zn;return t!==null&&(ve===null?ve=t:ve.push.apply(ve,t),Zn=null),t}function ml(t){Zn===null?Zn=[t]:Zn.push(t)}var Fo=x(null),Ea=null,dn=null;function _n(t,e,n){P(Fo,e._currentValue),e._currentValue=n}function hn(t){t._currentValue=Fo.current,G(Fo)}function Qo(t,e,n){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===n)break;t=t.return}}function Po(t,e,n,l){var s=t.child;for(s!==null&&(s.return=t);s!==null;){var o=s.dependencies;if(o!==null){var m=s.child;o=o.firstContext;t:for(;o!==null;){var S=o;o=s;for(var T=0;T<e.length;T++)if(S.context===e[T]){o.lanes|=n,S=o.alternate,S!==null&&(S.lanes|=n),Qo(o.return,n,t),l||(m=null);break t}o=S.next}}else if(s.tag===18){if(m=s.return,m===null)throw Error(c(341));m.lanes|=n,o=m.alternate,o!==null&&(o.lanes|=n),Qo(m,n,t),m=null}else m=s.child;if(m!==null)m.return=s;else for(m=s;m!==null;){if(m===t){m=null;break}if(s=m.sibling,s!==null){s.return=m.return,m=s;break}m=m.return}s=m}}function ci(t,e,n,l){t=null;for(var s=e,o=!1;s!==null;){if(!o){if((s.flags&524288)!==0)o=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var m=s.alternate;if(m===null)throw Error(c(387));if(m=m.memoizedProps,m!==null){var S=s.type;xe(s.pendingProps.value,m.value)||(t!==null?t.push(S):t=[S])}}else if(s===ht.current){if(m=s.alternate,m===null)throw Error(c(387));m.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(t!==null?t.push(Gl):t=[Gl])}s=s.return}t!==null&&Po(e,t,n,l),e.flags|=262144}function zs(t){for(t=t.firstContext;t!==null;){if(!xe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Aa(t){Ea=t,dn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ie(t){return lm(Ea,t)}function Bs(t,e){return Ea===null&&Aa(t),lm(t,e)}function lm(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},dn===null){if(t===null)throw Error(c(308));dn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else dn=dn.next=e;return n}var A5=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},T5=i.unstable_scheduleCallback,M5=i.unstable_NormalPriority,Xt={$$typeof:q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Jo(){return{controller:new A5,data:new Map,refCount:0}}function pl(t){t.refCount--,t.refCount===0&&T5(M5,function(){t.controller.abort()})}var yl=null,$o=0,fi=0,di=null;function x5(t,e){if(yl===null){var n=yl=[];$o=0,fi=t0(),di={status:"pending",value:void 0,then:function(l){n.push(l)}}}return $o++,e.then(sm,sm),e}function sm(){if(--$o===0&&yl!==null){di!==null&&(di.status="fulfilled");var t=yl;yl=null,fi=0,di=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function V5(t,e){var n=[],l={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var s=0;s<n.length;s++)(0,n[s])(e)},function(s){for(l.status="rejected",l.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),l}var um=N.S;N.S=function(t,e){X6=Ae(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&x5(t,e),um!==null&&um(t,e)};var Ta=x(null);function Wo(){var t=Ta.current;return t!==null?t:Ht.pooledCache}function ws(t,e){e===null?P(Ta,Ta.current):P(Ta,e.pool)}function rm(){var t=Wo();return t===null?null:{parent:Xt._currentValue,pool:t}}var hi=Error(c(460)),Io=Error(c(474)),Ns=Error(c(542)),Zs={then:function(){}};function om(t){return t=t.status,t==="fulfilled"||t==="rejected"}function cm(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(rn,rn),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,dm(t),t;default:if(typeof e.status=="string")e.then(rn,rn);else{if(t=Ht,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var s=e;s.status="fulfilled",s.value=l}},function(l){if(e.status==="pending"){var s=e;s.status="rejected",s.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,dm(t),t}throw xa=e,hi}}function Ma(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(xa=n,hi):n}}var xa=null;function fm(){if(xa===null)throw Error(c(459));var t=xa;return xa=null,t}function dm(t){if(t===hi||t===Ns)throw Error(c(483))}var mi=null,gl=0;function Us(t){var e=gl;return gl+=1,mi===null&&(mi=[]),cm(mi,t,e)}function vl(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function _s(t,e){throw e.$$typeof===L?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function hm(t){function e(V,M){if(t){var C=V.deletions;C===null?(V.deletions=[M],V.flags|=16):C.push(M)}}function n(V,M){if(!t)return null;for(;M!==null;)e(V,M),M=M.sibling;return null}function l(V){for(var M=new Map;V!==null;)V.key!==null?M.set(V.key,V):M.set(V.index,V),V=V.sibling;return M}function s(V,M){return V=cn(V,M),V.index=0,V.sibling=null,V}function o(V,M,C){return V.index=C,t?(C=V.alternate,C!==null?(C=C.index,C<M?(V.flags|=67108866,M):C):(V.flags|=67108866,M)):(V.flags|=1048576,M)}function m(V){return t&&V.alternate===null&&(V.flags|=67108866),V}function S(V,M,C,Z){return M===null||M.tag!==6?(M=Go(C,V.mode,Z),M.return=V,M):(M=s(M,C),M.return=V,M)}function T(V,M,C,Z){var nt=C.type;return nt===U?w(V,M,C.props.children,Z,C.key):M!==null&&(M.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===I&&Ma(nt)===M.type)?(M=s(M,C.props),vl(M,C),M.return=V,M):(M=js(C.type,C.key,C.props,null,V.mode,Z),vl(M,C),M.return=V,M)}function D(V,M,C,Z){return M===null||M.tag!==4||M.stateNode.containerInfo!==C.containerInfo||M.stateNode.implementation!==C.implementation?(M=qo(C,V.mode,Z),M.return=V,M):(M=s(M,C.children||[]),M.return=V,M)}function w(V,M,C,Z,nt){return M===null||M.tag!==7?(M=Sa(C,V.mode,Z,nt),M.return=V,M):(M=s(M,C),M.return=V,M)}function _(V,M,C){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=Go(""+M,V.mode,C),M.return=V,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case O:return C=js(M.type,M.key,M.props,null,V.mode,C),vl(C,M),C.return=V,C;case B:return M=qo(M,V.mode,C),M.return=V,M;case I:return M=Ma(M),_(V,M,C)}if(F(M)||ct(M))return M=Sa(M,V.mode,C,null),M.return=V,M;if(typeof M.then=="function")return _(V,Us(M),C);if(M.$$typeof===q)return _(V,Bs(V,M),C);_s(V,M)}return null}function R(V,M,C,Z){var nt=M!==null?M.key:null;if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return nt!==null?null:S(V,M,""+C,Z);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case O:return C.key===nt?T(V,M,C,Z):null;case B:return C.key===nt?D(V,M,C,Z):null;case I:return C=Ma(C),R(V,M,C,Z)}if(F(C)||ct(C))return nt!==null?null:w(V,M,C,Z,null);if(typeof C.then=="function")return R(V,M,Us(C),Z);if(C.$$typeof===q)return R(V,M,Bs(V,C),Z);_s(V,C)}return null}function j(V,M,C,Z,nt){if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return V=V.get(C)||null,S(M,V,""+Z,nt);if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case O:return V=V.get(Z.key===null?C:Z.key)||null,T(M,V,Z,nt);case B:return V=V.get(Z.key===null?C:Z.key)||null,D(M,V,Z,nt);case I:return Z=Ma(Z),j(V,M,C,Z,nt)}if(F(Z)||ct(Z))return V=V.get(C)||null,w(M,V,Z,nt,null);if(typeof Z.then=="function")return j(V,M,C,Us(Z),nt);if(Z.$$typeof===q)return j(V,M,C,Bs(M,Z),nt);_s(M,Z)}return null}function W(V,M,C,Z){for(var nt=null,Et=null,et=M,dt=M=0,vt=null;et!==null&&dt<C.length;dt++){et.index>dt?(vt=et,et=null):vt=et.sibling;var At=R(V,et,C[dt],Z);if(At===null){et===null&&(et=vt);break}t&&et&&At.alternate===null&&e(V,et),M=o(At,M,dt),Et===null?nt=At:Et.sibling=At,Et=At,et=vt}if(dt===C.length)return n(V,et),St&&fn(V,dt),nt;if(et===null){for(;dt<C.length;dt++)et=_(V,C[dt],Z),et!==null&&(M=o(et,M,dt),Et===null?nt=et:Et.sibling=et,Et=et);return St&&fn(V,dt),nt}for(et=l(et);dt<C.length;dt++)vt=j(et,V,dt,C[dt],Z),vt!==null&&(t&&vt.alternate!==null&&et.delete(vt.key===null?dt:vt.key),M=o(vt,M,dt),Et===null?nt=vt:Et.sibling=vt,Et=vt);return t&&et.forEach(function(ia){return e(V,ia)}),St&&fn(V,dt),nt}function it(V,M,C,Z){if(C==null)throw Error(c(151));for(var nt=null,Et=null,et=M,dt=M=0,vt=null,At=C.next();et!==null&&!At.done;dt++,At=C.next()){et.index>dt?(vt=et,et=null):vt=et.sibling;var ia=R(V,et,At.value,Z);if(ia===null){et===null&&(et=vt);break}t&&et&&ia.alternate===null&&e(V,et),M=o(ia,M,dt),Et===null?nt=ia:Et.sibling=ia,Et=ia,et=vt}if(At.done)return n(V,et),St&&fn(V,dt),nt;if(et===null){for(;!At.done;dt++,At=C.next())At=_(V,At.value,Z),At!==null&&(M=o(At,M,dt),Et===null?nt=At:Et.sibling=At,Et=At);return St&&fn(V,dt),nt}for(et=l(et);!At.done;dt++,At=C.next())At=j(et,V,dt,At.value,Z),At!==null&&(t&&At.alternate!==null&&et.delete(At.key===null?dt:At.key),M=o(At,M,dt),Et===null?nt=At:Et.sibling=At,Et=At);return t&&et.forEach(function(NS){return e(V,NS)}),St&&fn(V,dt),nt}function Dt(V,M,C,Z){if(typeof C=="object"&&C!==null&&C.type===U&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case O:t:{for(var nt=C.key;M!==null;){if(M.key===nt){if(nt=C.type,nt===U){if(M.tag===7){n(V,M.sibling),Z=s(M,C.props.children),Z.return=V,V=Z;break t}}else if(M.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===I&&Ma(nt)===M.type){n(V,M.sibling),Z=s(M,C.props),vl(Z,C),Z.return=V,V=Z;break t}n(V,M);break}else e(V,M);M=M.sibling}C.type===U?(Z=Sa(C.props.children,V.mode,Z,C.key),Z.return=V,V=Z):(Z=js(C.type,C.key,C.props,null,V.mode,Z),vl(Z,C),Z.return=V,V=Z)}return m(V);case B:t:{for(nt=C.key;M!==null;){if(M.key===nt)if(M.tag===4&&M.stateNode.containerInfo===C.containerInfo&&M.stateNode.implementation===C.implementation){n(V,M.sibling),Z=s(M,C.children||[]),Z.return=V,V=Z;break t}else{n(V,M);break}else e(V,M);M=M.sibling}Z=qo(C,V.mode,Z),Z.return=V,V=Z}return m(V);case I:return C=Ma(C),Dt(V,M,C,Z)}if(F(C))return W(V,M,C,Z);if(ct(C)){if(nt=ct(C),typeof nt!="function")throw Error(c(150));return C=nt.call(C),it(V,M,C,Z)}if(typeof C.then=="function")return Dt(V,M,Us(C),Z);if(C.$$typeof===q)return Dt(V,M,Bs(V,C),Z);_s(V,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,M!==null&&M.tag===6?(n(V,M.sibling),Z=s(M,C),Z.return=V,V=Z):(n(V,M),Z=Go(C,V.mode,Z),Z.return=V,V=Z),m(V)):n(V,M)}return function(V,M,C,Z){try{gl=0;var nt=Dt(V,M,C,Z);return mi=null,nt}catch(et){if(et===hi||et===Ns)throw et;var Et=Ve(29,et,null,V.mode);return Et.lanes=Z,Et.return=V,Et}finally{}}}var Va=hm(!0),mm=hm(!1),Gn=!1;function tc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ec(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:0,payload:null,callback:null,next:null}}function Yn(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Tt&2)!==0){var s=l.pending;return s===null?e.next=e:(e.next=s.next,s.next=e),l.pending=e,e=Hs(t),$h(t,null,n),e}return Rs(t,l,e,n),Hs(t)}function Sl(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,lh(t,n)}}function nc(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var s=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var m={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?s=o=m:o=o.next=m,n=n.next}while(n!==null);o===null?s=o=e:o=o.next=e}else s=o=e;n={baseState:l.baseState,firstBaseUpdate:s,lastBaseUpdate:o,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var ac=!1;function bl(){if(ac){var t=di;if(t!==null)throw t}}function El(t,e,n,l){ac=!1;var s=t.updateQueue;Gn=!1;var o=s.firstBaseUpdate,m=s.lastBaseUpdate,S=s.shared.pending;if(S!==null){s.shared.pending=null;var T=S,D=T.next;T.next=null,m===null?o=D:m.next=D,m=T;var w=t.alternate;w!==null&&(w=w.updateQueue,S=w.lastBaseUpdate,S!==m&&(S===null?w.firstBaseUpdate=D:S.next=D,w.lastBaseUpdate=T))}if(o!==null){var _=s.baseState;m=0,w=D=T=null,S=o;do{var R=S.lane&-536870913,j=R!==S.lane;if(j?(gt&R)===R:(l&R)===R){R!==0&&R===fi&&(ac=!0),w!==null&&(w=w.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});t:{var W=t,it=S;R=e;var Dt=n;switch(it.tag){case 1:if(W=it.payload,typeof W=="function"){_=W.call(Dt,_,R);break t}_=W;break t;case 3:W.flags=W.flags&-65537|128;case 0:if(W=it.payload,R=typeof W=="function"?W.call(Dt,_,R):W,R==null)break t;_=E({},_,R);break t;case 2:Gn=!0}}R=S.callback,R!==null&&(t.flags|=64,j&&(t.flags|=8192),j=s.callbacks,j===null?s.callbacks=[R]:j.push(R))}else j={lane:R,tag:S.tag,payload:S.payload,callback:S.callback,next:null},w===null?(D=w=j,T=_):w=w.next=j,m|=R;if(S=S.next,S===null){if(S=s.shared.pending,S===null)break;j=S,S=j.next,j.next=null,s.lastBaseUpdate=j,s.shared.pending=null}}while(!0);w===null&&(T=_),s.baseState=T,s.firstBaseUpdate=D,s.lastBaseUpdate=w,o===null&&(s.shared.lanes=0),Qn|=m,t.lanes=m,t.memoizedState=_}}function pm(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function ym(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)pm(n[t],e)}var pi=x(null),Gs=x(0);function gm(t,e){t=An,P(Gs,t),P(pi,e),An=t|e.baseLanes}function ic(){P(Gs,An),P(pi,pi.current)}function lc(){An=Gs.current,G(pi),G(Gs)}var Le=x(null),qe=null;function Xn(t){var e=t.alternate;P(Gt,Gt.current&1),P(Le,t),qe===null&&(e===null||pi.current!==null||e.memoizedState!==null)&&(qe=t)}function sc(t){P(Gt,Gt.current),P(Le,t),qe===null&&(qe=t)}function vm(t){t.tag===22?(P(Gt,Gt.current),P(Le,t),qe===null&&(qe=t)):kn()}function kn(){P(Gt,Gt.current),P(Le,Le.current)}function Ce(t){G(Le),qe===t&&(qe=null),G(Gt)}var Gt=x(0);function qs(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||d0(n)||h0(n)))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}var mn=0,ft=null,Lt=null,kt=null,Ys=!1,yi=!1,La=!1,Xs=0,Al=0,gi=null,L5=0;function Ut(){throw Error(c(321))}function uc(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!xe(t[n],e[n]))return!1;return!0}function rc(t,e,n,l,s,o){return mn=o,ft=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,N.H=t===null||t.memoizedState===null?e6:Tc,La=!1,o=n(l,s),La=!1,yi&&(o=bm(e,n,l,s)),Sm(t),o}function Sm(t){N.H=xl;var e=Lt!==null&&Lt.next!==null;if(mn=0,kt=Lt=ft=null,Ys=!1,Al=0,gi=null,e)throw Error(c(300));t===null||Kt||(t=t.dependencies,t!==null&&zs(t)&&(Kt=!0))}function bm(t,e,n,l){ft=t;var s=0;do{if(yi&&(gi=null),Al=0,yi=!1,25<=s)throw Error(c(301));if(s+=1,kt=Lt=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}N.H=n6,o=e(n,l)}while(yi);return o}function C5(){var t=N.H,e=t.useState()[0];return e=typeof e.then=="function"?Tl(e):e,t=t.useState()[0],(Lt!==null?Lt.memoizedState:null)!==t&&(ft.flags|=1024),e}function oc(){var t=Xs!==0;return Xs=0,t}function cc(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function fc(t){if(Ys){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Ys=!1}mn=0,kt=Lt=ft=null,yi=!1,Al=Xs=0,gi=null}function ce(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kt===null?ft.memoizedState=kt=t:kt=kt.next=t,kt}function qt(){if(Lt===null){var t=ft.alternate;t=t!==null?t.memoizedState:null}else t=Lt.next;var e=kt===null?ft.memoizedState:kt.next;if(e!==null)kt=e,Lt=t;else{if(t===null)throw ft.alternate===null?Error(c(467)):Error(c(310));Lt=t,t={memoizedState:Lt.memoizedState,baseState:Lt.baseState,baseQueue:Lt.baseQueue,queue:Lt.queue,next:null},kt===null?ft.memoizedState=kt=t:kt=kt.next=t}return kt}function ks(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Tl(t){var e=Al;return Al+=1,gi===null&&(gi=[]),t=cm(gi,t,e),e=ft,(kt===null?e.memoizedState:kt.next)===null&&(e=e.alternate,N.H=e===null||e.memoizedState===null?e6:Tc),t}function Ks(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Tl(t);if(t.$$typeof===q)return ie(t)}throw Error(c(438,String(t)))}function dc(t){var e=null,n=ft.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var l=ft.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(s){return s.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=ks(),ft.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),l=0;l<t;l++)n[l]=Rt;return e.index++,n}function pn(t,e){return typeof e=="function"?e(t):e}function Fs(t){var e=qt();return hc(e,Lt,t)}function hc(t,e,n){var l=t.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=n;var s=t.baseQueue,o=l.pending;if(o!==null){if(s!==null){var m=s.next;s.next=o.next,o.next=m}e.baseQueue=s=o,l.pending=null}if(o=t.baseState,s===null)t.memoizedState=o;else{e=s.next;var S=m=null,T=null,D=e,w=!1;do{var _=D.lane&-536870913;if(_!==D.lane?(gt&_)===_:(mn&_)===_){var R=D.revertLane;if(R===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),_===fi&&(w=!0);else if((mn&R)===R){D=D.next,R===fi&&(w=!0);continue}else _={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},T===null?(S=T=_,m=o):T=T.next=_,ft.lanes|=R,Qn|=R;_=D.action,La&&n(o,_),o=D.hasEagerState?D.eagerState:n(o,_)}else R={lane:_,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},T===null?(S=T=R,m=o):T=T.next=R,ft.lanes|=_,Qn|=_;D=D.next}while(D!==null&&D!==e);if(T===null?m=o:T.next=S,!xe(o,t.memoizedState)&&(Kt=!0,w&&(n=di,n!==null)))throw n;t.memoizedState=o,t.baseState=m,t.baseQueue=T,l.lastRenderedState=o}return s===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function mc(t){var e=qt(),n=e.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=t;var l=n.dispatch,s=n.pending,o=e.memoizedState;if(s!==null){n.pending=null;var m=s=s.next;do o=t(o,m.action),m=m.next;while(m!==s);xe(o,e.memoizedState)||(Kt=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),n.lastRenderedState=o}return[o,l]}function Em(t,e,n){var l=ft,s=qt(),o=St;if(o){if(n===void 0)throw Error(c(407));n=n()}else n=e();var m=!xe((Lt||s).memoizedState,n);if(m&&(s.memoizedState=n,Kt=!0),s=s.queue,gc(Mm.bind(null,l,s,t),[t]),s.getSnapshot!==e||m||kt!==null&&kt.memoizedState.tag&1){if(l.flags|=2048,vi(9,{destroy:void 0},Tm.bind(null,l,s,n,e),null),Ht===null)throw Error(c(349));o||(mn&127)!==0||Am(l,e,n)}return n}function Am(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=ft.updateQueue,e===null?(e=ks(),ft.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Tm(t,e,n,l){e.value=n,e.getSnapshot=l,xm(e)&&Vm(t)}function Mm(t,e,n){return n(function(){xm(e)&&Vm(t)})}function xm(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!xe(t,n)}catch{return!0}}function Vm(t){var e=va(t,2);e!==null&&Se(e,t,2)}function pc(t){var e=ce();if(typeof t=="function"){var n=t;if(t=n(),La){zn(!0);try{n()}finally{zn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pn,lastRenderedState:t},e}function Lm(t,e,n,l){return t.baseState=n,hc(t,Lt,typeof l=="function"?l:pn)}function D5(t,e,n,l,s){if(Js(t))throw Error(c(485));if(t=e.action,t!==null){var o={payload:s,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){o.listeners.push(m)}};N.T!==null?n(!0):o.isTransition=!1,l(o),n=e.pending,n===null?(o.next=e.pending=o,Cm(e,o)):(o.next=n.next,e.pending=n.next=o)}}function Cm(t,e){var n=e.action,l=e.payload,s=t.state;if(e.isTransition){var o=N.T,m={};N.T=m;try{var S=n(s,l),T=N.S;T!==null&&T(m,S),Dm(t,e,S)}catch(D){yc(t,e,D)}finally{o!==null&&m.types!==null&&(o.types=m.types),N.T=o}}else try{o=n(s,l),Dm(t,e,o)}catch(D){yc(t,e,D)}}function Dm(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){Rm(t,e,l)},function(l){return yc(t,e,l)}):Rm(t,e,n)}function Rm(t,e,n){e.status="fulfilled",e.value=n,Hm(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Cm(t,n)))}function yc(t,e,n){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=n,Hm(e),e=e.next;while(e!==l)}t.action=null}function Hm(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function jm(t,e){return e}function Om(t,e){if(St){var n=Ht.formState;if(n!==null){t:{var l=ft;if(St){if(jt){e:{for(var s=jt,o=Ge;s.nodeType!==8;){if(!o){s=null;break e}if(s=Ye(s.nextSibling),s===null){s=null;break e}}o=s.data,s=o==="F!"||o==="F"?s:null}if(s){jt=Ye(s.nextSibling),l=s.data==="F!";break t}}Un(l)}l=!1}l&&(e=n[0])}}return n=ce(),n.memoizedState=n.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jm,lastRenderedState:e},n.queue=l,n=Wm.bind(null,ft,l),l.dispatch=n,l=pc(!1),o=Ac.bind(null,ft,!1,l.queue),l=ce(),s={state:e,dispatch:null,action:t,pending:null},l.queue=s,n=D5.bind(null,ft,s,o,n),s.dispatch=n,l.memoizedState=t,[e,n,!1]}function zm(t){var e=qt();return Bm(e,Lt,t)}function Bm(t,e,n){if(e=hc(t,e,jm)[0],t=Fs(pn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=Tl(e)}catch(m){throw m===hi?Ns:m}else l=e;e=qt();var s=e.queue,o=s.dispatch;return n!==e.memoizedState&&(ft.flags|=2048,vi(9,{destroy:void 0},R5.bind(null,s,n),null)),[l,o,t]}function R5(t,e){t.action=e}function wm(t){var e=qt(),n=Lt;if(n!==null)return Bm(e,n,t);qt(),e=e.memoizedState,n=qt();var l=n.queue.dispatch;return n.memoizedState=t,[e,l,!1]}function vi(t,e,n,l){return t={tag:t,create:n,deps:l,inst:e,next:null},e=ft.updateQueue,e===null&&(e=ks(),ft.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(l=n.next,n.next=t,t.next=l,e.lastEffect=t),t}function Nm(){return qt().memoizedState}function Qs(t,e,n,l){var s=ce();ft.flags|=t,s.memoizedState=vi(1|e,{destroy:void 0},n,l===void 0?null:l)}function Ps(t,e,n,l){var s=qt();l=l===void 0?null:l;var o=s.memoizedState.inst;Lt!==null&&l!==null&&uc(l,Lt.memoizedState.deps)?s.memoizedState=vi(e,o,n,l):(ft.flags|=t,s.memoizedState=vi(1|e,o,n,l))}function Zm(t,e){Qs(8390656,8,t,e)}function gc(t,e){Ps(2048,8,t,e)}function H5(t){ft.flags|=4;var e=ft.updateQueue;if(e===null)e=ks(),ft.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Um(t){var e=qt().memoizedState;return H5({ref:e,nextImpl:t}),function(){if((Tt&2)!==0)throw Error(c(440));return e.impl.apply(void 0,arguments)}}function _m(t,e){return Ps(4,2,t,e)}function Gm(t,e){return Ps(4,4,t,e)}function qm(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Ym(t,e,n){n=n!=null?n.concat([t]):null,Ps(4,4,qm.bind(null,e,t),n)}function vc(){}function Xm(t,e){var n=qt();e=e===void 0?null:e;var l=n.memoizedState;return e!==null&&uc(e,l[1])?l[0]:(n.memoizedState=[t,e],t)}function km(t,e){var n=qt();e=e===void 0?null:e;var l=n.memoizedState;if(e!==null&&uc(e,l[1]))return l[0];if(l=t(),La){zn(!0);try{t()}finally{zn(!1)}}return n.memoizedState=[l,e],l}function Sc(t,e,n){return n===void 0||(mn&1073741824)!==0&&(gt&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=K6(),ft.lanes|=t,Qn|=t,n)}function Km(t,e,n,l){return xe(n,e)?n:pi.current!==null?(t=Sc(t,n,l),xe(t,e)||(Kt=!0),t):(mn&42)===0||(mn&1073741824)!==0&&(gt&261930)===0?(Kt=!0,t.memoizedState=n):(t=K6(),ft.lanes|=t,Qn|=t,e)}function Fm(t,e,n,l,s){var o=X.p;X.p=o!==0&&8>o?o:8;var m=N.T,S={};N.T=S,Ac(t,!1,e,n);try{var T=s(),D=N.S;if(D!==null&&D(S,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var w=V5(T,l);Ml(t,e,w,He(t))}else Ml(t,e,l,He(t))}catch(_){Ml(t,e,{then:function(){},status:"rejected",reason:_},He())}finally{X.p=o,m!==null&&S.types!==null&&(m.types=S.types),N.T=m}}function j5(){}function bc(t,e,n,l){if(t.tag!==5)throw Error(c(476));var s=Qm(t).queue;Fm(t,s,e,ot,n===null?j5:function(){return Pm(t),n(l)})}function Qm(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:ot,baseState:ot,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pn,lastRenderedState:ot},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:pn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Pm(t){var e=Qm(t);e.next===null&&(e=t.alternate.memoizedState),Ml(t,e.next.queue,{},He())}function Ec(){return ie(Gl)}function Jm(){return qt().memoizedState}function $m(){return qt().memoizedState}function O5(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=He();t=qn(n);var l=Yn(e,t,n);l!==null&&(Se(l,e,n),Sl(l,e,n)),e={cache:Jo()},t.payload=e;return}e=e.return}}function z5(t,e,n){var l=He();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Js(t)?Im(e,n):(n=Uo(t,e,n,l),n!==null&&(Se(n,t,l),t6(n,e,l)))}function Wm(t,e,n){var l=He();Ml(t,e,n,l)}function Ml(t,e,n,l){var s={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Js(t))Im(e,s);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var m=e.lastRenderedState,S=o(m,n);if(s.hasEagerState=!0,s.eagerState=S,xe(S,m))return Rs(t,e,s,0),Ht===null&&Ds(),!1}catch{}finally{}if(n=Uo(t,e,s,l),n!==null)return Se(n,t,l),t6(n,e,l),!0}return!1}function Ac(t,e,n,l){if(l={lane:2,revertLane:t0(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Js(t)){if(e)throw Error(c(479))}else e=Uo(t,n,l,2),e!==null&&Se(e,t,2)}function Js(t){var e=t.alternate;return t===ft||e!==null&&e===ft}function Im(t,e){yi=Ys=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function t6(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,lh(t,n)}}var xl={readContext:ie,use:Ks,useCallback:Ut,useContext:Ut,useEffect:Ut,useImperativeHandle:Ut,useLayoutEffect:Ut,useInsertionEffect:Ut,useMemo:Ut,useReducer:Ut,useRef:Ut,useState:Ut,useDebugValue:Ut,useDeferredValue:Ut,useTransition:Ut,useSyncExternalStore:Ut,useId:Ut,useHostTransitionStatus:Ut,useFormState:Ut,useActionState:Ut,useOptimistic:Ut,useMemoCache:Ut,useCacheRefresh:Ut};xl.useEffectEvent=Ut;var e6={readContext:ie,use:Ks,useCallback:function(t,e){return ce().memoizedState=[t,e===void 0?null:e],t},useContext:ie,useEffect:Zm,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Qs(4194308,4,qm.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Qs(4194308,4,t,e)},useInsertionEffect:function(t,e){Qs(4,2,t,e)},useMemo:function(t,e){var n=ce();e=e===void 0?null:e;var l=t();if(La){zn(!0);try{t()}finally{zn(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=ce();if(n!==void 0){var s=n(e);if(La){zn(!0);try{n(e)}finally{zn(!1)}}}else s=e;return l.memoizedState=l.baseState=s,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:s},l.queue=t,t=t.dispatch=z5.bind(null,ft,t),[l.memoizedState,t]},useRef:function(t){var e=ce();return t={current:t},e.memoizedState=t},useState:function(t){t=pc(t);var e=t.queue,n=Wm.bind(null,ft,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:vc,useDeferredValue:function(t,e){var n=ce();return Sc(n,t,e)},useTransition:function(){var t=pc(!1);return t=Fm.bind(null,ft,t.queue,!0,!1),ce().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=ft,s=ce();if(St){if(n===void 0)throw Error(c(407));n=n()}else{if(n=e(),Ht===null)throw Error(c(349));(gt&127)!==0||Am(l,e,n)}s.memoizedState=n;var o={value:n,getSnapshot:e};return s.queue=o,Zm(Mm.bind(null,l,o,t),[t]),l.flags|=2048,vi(9,{destroy:void 0},Tm.bind(null,l,o,n,e),null),n},useId:function(){var t=ce(),e=Ht.identifierPrefix;if(St){var n=tn,l=Ie;n=(l&~(1<<32-Me(l)-1)).toString(32)+n,e="_"+e+"R_"+n,n=Xs++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=L5++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Ec,useFormState:Om,useActionState:Om,useOptimistic:function(t){var e=ce();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=Ac.bind(null,ft,!0,n),n.dispatch=e,[t,e]},useMemoCache:dc,useCacheRefresh:function(){return ce().memoizedState=O5.bind(null,ft)},useEffectEvent:function(t){var e=ce(),n={impl:t};return e.memoizedState=n,function(){if((Tt&2)!==0)throw Error(c(440));return n.impl.apply(void 0,arguments)}}},Tc={readContext:ie,use:Ks,useCallback:Xm,useContext:ie,useEffect:gc,useImperativeHandle:Ym,useInsertionEffect:_m,useLayoutEffect:Gm,useMemo:km,useReducer:Fs,useRef:Nm,useState:function(){return Fs(pn)},useDebugValue:vc,useDeferredValue:function(t,e){var n=qt();return Km(n,Lt.memoizedState,t,e)},useTransition:function(){var t=Fs(pn)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:Tl(t),e]},useSyncExternalStore:Em,useId:Jm,useHostTransitionStatus:Ec,useFormState:zm,useActionState:zm,useOptimistic:function(t,e){var n=qt();return Lm(n,Lt,t,e)},useMemoCache:dc,useCacheRefresh:$m};Tc.useEffectEvent=Um;var n6={readContext:ie,use:Ks,useCallback:Xm,useContext:ie,useEffect:gc,useImperativeHandle:Ym,useInsertionEffect:_m,useLayoutEffect:Gm,useMemo:km,useReducer:mc,useRef:Nm,useState:function(){return mc(pn)},useDebugValue:vc,useDeferredValue:function(t,e){var n=qt();return Lt===null?Sc(n,t,e):Km(n,Lt.memoizedState,t,e)},useTransition:function(){var t=mc(pn)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:Tl(t),e]},useSyncExternalStore:Em,useId:Jm,useHostTransitionStatus:Ec,useFormState:wm,useActionState:wm,useOptimistic:function(t,e){var n=qt();return Lt!==null?Lm(n,Lt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:dc,useCacheRefresh:$m};n6.useEffectEvent=Um;function Mc(t,e,n,l){e=t.memoizedState,n=n(l,e),n=n==null?e:E({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var xc={enqueueSetState:function(t,e,n){t=t._reactInternals;var l=He(),s=qn(l);s.payload=e,n!=null&&(s.callback=n),e=Yn(t,s,l),e!==null&&(Se(e,t,l),Sl(e,t,l))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var l=He(),s=qn(l);s.tag=1,s.payload=e,n!=null&&(s.callback=n),e=Yn(t,s,l),e!==null&&(Se(e,t,l),Sl(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=He(),l=qn(n);l.tag=2,e!=null&&(l.callback=e),e=Yn(t,l,n),e!==null&&(Se(e,t,n),Sl(e,t,n))}};function a6(t,e,n,l,s,o,m){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,o,m):e.prototype&&e.prototype.isPureReactComponent?!fl(n,l)||!fl(s,o):!0}function i6(t,e,n,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,l),e.state!==t&&xc.enqueueReplaceState(e,e.state,null)}function Ca(t,e){var n=e;if("ref"in e){n={};for(var l in e)l!=="ref"&&(n[l]=e[l])}if(t=t.defaultProps){n===e&&(n=E({},n));for(var s in t)n[s]===void 0&&(n[s]=t[s])}return n}function l6(t){Cs(t)}function s6(t){console.error(t)}function u6(t){Cs(t)}function $s(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function r6(t,e,n){try{var l=t.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Vc(t,e,n){return n=qn(n),n.tag=3,n.payload={element:null},n.callback=function(){$s(t,e)},n}function o6(t){return t=qn(t),t.tag=3,t}function c6(t,e,n,l){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var o=l.value;t.payload=function(){return s(o)},t.callback=function(){r6(e,n,l)}}var m=n.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(t.callback=function(){r6(e,n,l),typeof s!="function"&&(Pn===null?Pn=new Set([this]):Pn.add(this));var S=l.stack;this.componentDidCatch(l.value,{componentStack:S!==null?S:""})})}function B5(t,e,n,l,s){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=n.alternate,e!==null&&ci(e,n,s,!0),n=Le.current,n!==null){switch(n.tag){case 31:case 13:return qe===null?ou():n.alternate===null&&_t===0&&(_t=3),n.flags&=-257,n.flags|=65536,n.lanes=s,l===Zs?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([l]):e.add(l),$c(t,l,s)),!1;case 22:return n.flags|=65536,l===Zs?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([l]):n.add(l)),$c(t,l,s)),!1}throw Error(c(435,n.tag))}return $c(t,l,s),ou(),!1}if(St)return e=Le.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=s,l!==ko&&(t=Error(c(422),{cause:l}),ml(Ze(t,n)))):(l!==ko&&(e=Error(c(423),{cause:l}),ml(Ze(e,n))),t=t.current.alternate,t.flags|=65536,s&=-s,t.lanes|=s,l=Ze(l,n),s=Vc(t.stateNode,l,s),nc(t,s),_t!==4&&(_t=2)),!1;var o=Error(c(520),{cause:l});if(o=Ze(o,n),Ol===null?Ol=[o]:Ol.push(o),_t!==4&&(_t=2),e===null)return!0;l=Ze(l,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=s&-s,n.lanes|=t,t=Vc(n.stateNode,l,t),nc(n,t),!1;case 1:if(e=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(Pn===null||!Pn.has(o))))return n.flags|=65536,s&=-s,n.lanes|=s,s=o6(s),c6(s,t,n,l),nc(n,s),!1}n=n.return}while(n!==null);return!1}var Lc=Error(c(461)),Kt=!1;function le(t,e,n,l){e.child=t===null?mm(e,null,n,l):Va(e,t.child,n,l)}function f6(t,e,n,l,s){n=n.render;var o=e.ref;if("ref"in l){var m={};for(var S in l)S!=="ref"&&(m[S]=l[S])}else m=l;return Aa(e),l=rc(t,e,n,m,o,s),S=oc(),t!==null&&!Kt?(cc(t,e,s),yn(t,e,s)):(St&&S&&Yo(e),e.flags|=1,le(t,e,l,s),e.child)}function d6(t,e,n,l,s){if(t===null){var o=n.type;return typeof o=="function"&&!_o(o)&&o.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=o,h6(t,e,o,l,s)):(t=js(n.type,null,l,e,e.mode,s),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!Bc(t,s)){var m=o.memoizedProps;if(n=n.compare,n=n!==null?n:fl,n(m,l)&&t.ref===e.ref)return yn(t,e,s)}return e.flags|=1,t=cn(o,l),t.ref=e.ref,t.return=e,e.child=t}function h6(t,e,n,l,s){if(t!==null){var o=t.memoizedProps;if(fl(o,l)&&t.ref===e.ref)if(Kt=!1,e.pendingProps=l=o,Bc(t,s))(t.flags&131072)!==0&&(Kt=!0);else return e.lanes=t.lanes,yn(t,e,s)}return Cc(t,e,n,l,s)}function m6(t,e,n,l){var s=l.children,o=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(o=o!==null?o.baseLanes|n:n,t!==null){for(l=e.child=t.child,s=0;l!==null;)s=s|l.lanes|l.childLanes,l=l.sibling;l=s&~o}else l=0,e.child=null;return p6(t,e,o,n,l)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&ws(e,o!==null?o.cachePool:null),o!==null?gm(e,o):ic(),vm(e);else return l=e.lanes=536870912,p6(t,e,o!==null?o.baseLanes|n:n,n,l)}else o!==null?(ws(e,o.cachePool),gm(e,o),kn(),e.memoizedState=null):(t!==null&&ws(e,null),ic(),kn());return le(t,e,s,n),e.child}function Vl(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function p6(t,e,n,l,s){var o=Wo();return o=o===null?null:{parent:Xt._currentValue,pool:o},e.memoizedState={baseLanes:n,cachePool:o},t!==null&&ws(e,null),ic(),vm(e),t!==null&&ci(t,e,l,!0),e.childLanes=s,null}function Ws(t,e){return e=tu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function y6(t,e,n){return Va(e,t.child,null,n),t=Ws(e,e.pendingProps),t.flags|=2,Ce(e),e.memoizedState=null,t}function w5(t,e,n){var l=e.pendingProps,s=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(St){if(l.mode==="hidden")return t=Ws(e,l),e.lanes=536870912,Vl(null,t);if(sc(e),(t=jt)?(t=C8(t,Ge),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Nn!==null?{id:Ie,overflow:tn}:null,retryLane:536870912,hydrationErrors:null},n=Ih(t),n.return=e,e.child=n,ae=e,jt=null)):t=null,t===null)throw Un(e);return e.lanes=536870912,null}return Ws(e,l)}var o=t.memoizedState;if(o!==null){var m=o.dehydrated;if(sc(e),s)if(e.flags&256)e.flags&=-257,e=y6(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(c(558));else if(Kt||ci(t,e,n,!1),s=(n&t.childLanes)!==0,Kt||s){if(l=Ht,l!==null&&(m=sh(l,n),m!==0&&m!==o.retryLane))throw o.retryLane=m,va(t,m),Se(l,t,m),Lc;ou(),e=y6(t,e,n)}else t=o.treeContext,jt=Ye(m.nextSibling),ae=e,St=!0,Zn=null,Ge=!1,t!==null&&nm(e,t),e=Ws(e,l),e.flags|=4096;return e}return t=cn(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Is(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(c(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function Cc(t,e,n,l,s){return Aa(e),n=rc(t,e,n,l,void 0,s),l=oc(),t!==null&&!Kt?(cc(t,e,s),yn(t,e,s)):(St&&l&&Yo(e),e.flags|=1,le(t,e,n,s),e.child)}function g6(t,e,n,l,s,o){return Aa(e),e.updateQueue=null,n=bm(e,l,n,s),Sm(t),l=oc(),t!==null&&!Kt?(cc(t,e,o),yn(t,e,o)):(St&&l&&Yo(e),e.flags|=1,le(t,e,n,o),e.child)}function v6(t,e,n,l,s){if(Aa(e),e.stateNode===null){var o=si,m=n.contextType;typeof m=="object"&&m!==null&&(o=ie(m)),o=new n(l,o),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=xc,e.stateNode=o,o._reactInternals=e,o=e.stateNode,o.props=l,o.state=e.memoizedState,o.refs={},tc(e),m=n.contextType,o.context=typeof m=="object"&&m!==null?ie(m):si,o.state=e.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(Mc(e,n,m,l),o.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(m=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),m!==o.state&&xc.enqueueReplaceState(o,o.state,null),El(e,l,o,s),bl(),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){o=e.stateNode;var S=e.memoizedProps,T=Ca(n,S);o.props=T;var D=o.context,w=n.contextType;m=si,typeof w=="object"&&w!==null&&(m=ie(w));var _=n.getDerivedStateFromProps;w=typeof _=="function"||typeof o.getSnapshotBeforeUpdate=="function",S=e.pendingProps!==S,w||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(S||D!==m)&&i6(e,o,l,m),Gn=!1;var R=e.memoizedState;o.state=R,El(e,l,o,s),bl(),D=e.memoizedState,S||R!==D||Gn?(typeof _=="function"&&(Mc(e,n,_,l),D=e.memoizedState),(T=Gn||a6(e,n,T,l,R,D,m))?(w||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=D),o.props=l,o.state=D,o.context=m,l=T):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{o=e.stateNode,ec(t,e),m=e.memoizedProps,w=Ca(n,m),o.props=w,_=e.pendingProps,R=o.context,D=n.contextType,T=si,typeof D=="object"&&D!==null&&(T=ie(D)),S=n.getDerivedStateFromProps,(D=typeof S=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(m!==_||R!==T)&&i6(e,o,l,T),Gn=!1,R=e.memoizedState,o.state=R,El(e,l,o,s),bl();var j=e.memoizedState;m!==_||R!==j||Gn||t!==null&&t.dependencies!==null&&zs(t.dependencies)?(typeof S=="function"&&(Mc(e,n,S,l),j=e.memoizedState),(w=Gn||a6(e,n,w,l,R,j,T)||t!==null&&t.dependencies!==null&&zs(t.dependencies))?(D||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(l,j,T),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(l,j,T)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||m===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=j),o.props=l,o.state=j,o.context=T,l=w):(typeof o.componentDidUpdate!="function"||m===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),l=!1)}return o=l,Is(t,e),l=(e.flags&128)!==0,o||l?(o=e.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:o.render(),e.flags|=1,t!==null&&l?(e.child=Va(e,t.child,null,s),e.child=Va(e,null,n,s)):le(t,e,n,s),e.memoizedState=o.state,t=e.child):t=yn(t,e,s),t}function S6(t,e,n,l){return ba(),e.flags|=256,le(t,e,n,l),e.child}var Dc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Rc(t){return{baseLanes:t,cachePool:rm()}}function Hc(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=Re),t}function b6(t,e,n){var l=e.pendingProps,s=!1,o=(e.flags&128)!==0,m;if((m=o)||(m=t!==null&&t.memoizedState===null?!1:(Gt.current&2)!==0),m&&(s=!0,e.flags&=-129),m=(e.flags&32)!==0,e.flags&=-33,t===null){if(St){if(s?Xn(e):kn(),(t=jt)?(t=C8(t,Ge),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Nn!==null?{id:Ie,overflow:tn}:null,retryLane:536870912,hydrationErrors:null},n=Ih(t),n.return=e,e.child=n,ae=e,jt=null)):t=null,t===null)throw Un(e);return h0(t)?e.lanes=32:e.lanes=536870912,null}var S=l.children;return l=l.fallback,s?(kn(),s=e.mode,S=tu({mode:"hidden",children:S},s),l=Sa(l,s,n,null),S.return=e,l.return=e,S.sibling=l,e.child=S,l=e.child,l.memoizedState=Rc(n),l.childLanes=Hc(t,m,n),e.memoizedState=Dc,Vl(null,l)):(Xn(e),jc(e,S))}var T=t.memoizedState;if(T!==null&&(S=T.dehydrated,S!==null)){if(o)e.flags&256?(Xn(e),e.flags&=-257,e=Oc(t,e,n)):e.memoizedState!==null?(kn(),e.child=t.child,e.flags|=128,e=null):(kn(),S=l.fallback,s=e.mode,l=tu({mode:"visible",children:l.children},s),S=Sa(S,s,n,null),S.flags|=2,l.return=e,S.return=e,l.sibling=S,e.child=l,Va(e,t.child,null,n),l=e.child,l.memoizedState=Rc(n),l.childLanes=Hc(t,m,n),e.memoizedState=Dc,e=Vl(null,l));else if(Xn(e),h0(S)){if(m=S.nextSibling&&S.nextSibling.dataset,m)var D=m.dgst;m=D,l=Error(c(419)),l.stack="",l.digest=m,ml({value:l,source:null,stack:null}),e=Oc(t,e,n)}else if(Kt||ci(t,e,n,!1),m=(n&t.childLanes)!==0,Kt||m){if(m=Ht,m!==null&&(l=sh(m,n),l!==0&&l!==T.retryLane))throw T.retryLane=l,va(t,l),Se(m,t,l),Lc;d0(S)||ou(),e=Oc(t,e,n)}else d0(S)?(e.flags|=192,e.child=t.child,e=null):(t=T.treeContext,jt=Ye(S.nextSibling),ae=e,St=!0,Zn=null,Ge=!1,t!==null&&nm(e,t),e=jc(e,l.children),e.flags|=4096);return e}return s?(kn(),S=l.fallback,s=e.mode,T=t.child,D=T.sibling,l=cn(T,{mode:"hidden",children:l.children}),l.subtreeFlags=T.subtreeFlags&65011712,D!==null?S=cn(D,S):(S=Sa(S,s,n,null),S.flags|=2),S.return=e,l.return=e,l.sibling=S,e.child=l,Vl(null,l),l=e.child,S=t.child.memoizedState,S===null?S=Rc(n):(s=S.cachePool,s!==null?(T=Xt._currentValue,s=s.parent!==T?{parent:T,pool:T}:s):s=rm(),S={baseLanes:S.baseLanes|n,cachePool:s}),l.memoizedState=S,l.childLanes=Hc(t,m,n),e.memoizedState=Dc,Vl(t.child,l)):(Xn(e),n=t.child,t=n.sibling,n=cn(n,{mode:"visible",children:l.children}),n.return=e,n.sibling=null,t!==null&&(m=e.deletions,m===null?(e.deletions=[t],e.flags|=16):m.push(t)),e.child=n,e.memoizedState=null,n)}function jc(t,e){return e=tu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function tu(t,e){return t=Ve(22,t,null,e),t.lanes=0,t}function Oc(t,e,n){return Va(e,t.child,null,n),t=jc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function E6(t,e,n){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),Qo(t.return,e,n)}function zc(t,e,n,l,s,o){var m=t.memoizedState;m===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:s,treeForkCount:o}:(m.isBackwards=e,m.rendering=null,m.renderingStartTime=0,m.last=l,m.tail=n,m.tailMode=s,m.treeForkCount=o)}function A6(t,e,n){var l=e.pendingProps,s=l.revealOrder,o=l.tail;l=l.children;var m=Gt.current,S=(m&2)!==0;if(S?(m=m&1|2,e.flags|=128):m&=1,P(Gt,m),le(t,e,l,n),l=St?hl:0,!S&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&E6(t,n,e);else if(t.tag===19)E6(t,n,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(s){case"forwards":for(n=e.child,s=null;n!==null;)t=n.alternate,t!==null&&qs(t)===null&&(s=n),n=n.sibling;n=s,n===null?(s=e.child,e.child=null):(s=n.sibling,n.sibling=null),zc(e,!1,s,n,o,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=e.child,e.child=null;s!==null;){if(t=s.alternate,t!==null&&qs(t)===null){e.child=s;break}t=s.sibling,s.sibling=n,n=s,s=t}zc(e,!0,n,null,o,l);break;case"together":zc(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function yn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Qn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(ci(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,n=cn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=cn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Bc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&zs(t)))}function N5(t,e,n){switch(e.tag){case 3:Jt(e,e.stateNode.containerInfo),_n(e,Xt,t.memoizedState.cache),ba();break;case 27:case 5:jn(e);break;case 4:Jt(e,e.stateNode.containerInfo);break;case 10:_n(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,sc(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(Xn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?b6(t,e,n):(Xn(e),t=yn(t,e,n),t!==null?t.sibling:null);Xn(e);break;case 19:var s=(t.flags&128)!==0;if(l=(n&e.childLanes)!==0,l||(ci(t,e,n,!1),l=(n&e.childLanes)!==0),s){if(l)return A6(t,e,n);e.flags|=128}if(s=e.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),P(Gt,Gt.current),l)break;return null;case 22:return e.lanes=0,m6(t,e,n,e.pendingProps);case 24:_n(e,Xt,t.memoizedState.cache)}return yn(t,e,n)}function T6(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Kt=!0;else{if(!Bc(t,n)&&(e.flags&128)===0)return Kt=!1,N5(t,e,n);Kt=(t.flags&131072)!==0}else Kt=!1,St&&(e.flags&1048576)!==0&&em(e,hl,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=Ma(e.elementType),e.type=t,typeof t=="function")_o(t)?(l=Ca(t,l),e.tag=1,e=v6(null,e,t,l,n)):(e.tag=0,e=Cc(null,e,t,l,n));else{if(t!=null){var s=t.$$typeof;if(s===z){e.tag=11,e=f6(null,e,t,l,n);break t}else if(s===K){e.tag=14,e=d6(null,e,t,l,n);break t}}throw e=mt(t)||t,Error(c(306,e,""))}}return e;case 0:return Cc(t,e,e.type,e.pendingProps,n);case 1:return l=e.type,s=Ca(l,e.pendingProps),v6(t,e,l,s,n);case 3:t:{if(Jt(e,e.stateNode.containerInfo),t===null)throw Error(c(387));l=e.pendingProps;var o=e.memoizedState;s=o.element,ec(t,e),El(e,l,null,n);var m=e.memoizedState;if(l=m.cache,_n(e,Xt,l),l!==o.cache&&Po(e,[Xt],n,!0),bl(),l=m.element,o.isDehydrated)if(o={element:l,isDehydrated:!1,cache:m.cache},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){e=S6(t,e,l,n);break t}else if(l!==s){s=Ze(Error(c(424)),e),ml(s),e=S6(t,e,l,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(jt=Ye(t.firstChild),ae=e,St=!0,Zn=null,Ge=!0,n=mm(e,null,l,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(ba(),l===s){e=yn(t,e,n);break t}le(t,e,l,n)}e=e.child}return e;case 26:return Is(t,e),t===null?(n=z8(e.type,null,e.pendingProps,null))?e.memoizedState=n:St||(n=e.type,t=e.pendingProps,l=yu(lt.current).createElement(n),l[ne]=e,l[he]=t,se(l,n,t),It(l),e.stateNode=l):e.memoizedState=z8(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return jn(e),t===null&&St&&(l=e.stateNode=H8(e.type,e.pendingProps,lt.current),ae=e,Ge=!0,s=jt,In(e.type)?(m0=s,jt=Ye(l.firstChild)):jt=s),le(t,e,e.pendingProps.children,n),Is(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&St&&((s=l=jt)&&(l=hS(l,e.type,e.pendingProps,Ge),l!==null?(e.stateNode=l,ae=e,jt=Ye(l.firstChild),Ge=!1,s=!0):s=!1),s||Un(e)),jn(e),s=e.type,o=e.pendingProps,m=t!==null?t.memoizedProps:null,l=o.children,o0(s,o)?l=null:m!==null&&o0(s,m)&&(e.flags|=32),e.memoizedState!==null&&(s=rc(t,e,C5,null,null,n),Gl._currentValue=s),Is(t,e),le(t,e,l,n),e.child;case 6:return t===null&&St&&((t=n=jt)&&(n=mS(n,e.pendingProps,Ge),n!==null?(e.stateNode=n,ae=e,jt=null,t=!0):t=!1),t||Un(e)),null;case 13:return b6(t,e,n);case 4:return Jt(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=Va(e,null,l,n):le(t,e,l,n),e.child;case 11:return f6(t,e,e.type,e.pendingProps,n);case 7:return le(t,e,e.pendingProps,n),e.child;case 8:return le(t,e,e.pendingProps.children,n),e.child;case 12:return le(t,e,e.pendingProps.children,n),e.child;case 10:return l=e.pendingProps,_n(e,e.type,l.value),le(t,e,l.children,n),e.child;case 9:return s=e.type._context,l=e.pendingProps.children,Aa(e),s=ie(s),l=l(s),e.flags|=1,le(t,e,l,n),e.child;case 14:return d6(t,e,e.type,e.pendingProps,n);case 15:return h6(t,e,e.type,e.pendingProps,n);case 19:return A6(t,e,n);case 31:return w5(t,e,n);case 22:return m6(t,e,n,e.pendingProps);case 24:return Aa(e),l=ie(Xt),t===null?(s=Wo(),s===null&&(s=Ht,o=Jo(),s.pooledCache=o,o.refCount++,o!==null&&(s.pooledCacheLanes|=n),s=o),e.memoizedState={parent:l,cache:s},tc(e),_n(e,Xt,s)):((t.lanes&n)!==0&&(ec(t,e),El(e,null,null,n),bl()),s=t.memoizedState,o=e.memoizedState,s.parent!==l?(s={parent:l,cache:l},e.memoizedState=s,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=s),_n(e,Xt,l)):(l=o.cache,_n(e,Xt,l),l!==s.cache&&Po(e,[Xt],n,!0))),le(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function gn(t){t.flags|=4}function wc(t,e,n,l,s){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(s&335544128)===s)if(t.stateNode.complete)t.flags|=8192;else if(J6())t.flags|=8192;else throw xa=Zs,Io}else t.flags&=-16777217}function M6(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!U8(e))if(J6())t.flags|=8192;else throw xa=Zs,Io}function eu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?ah():536870912,t.lanes|=e,Ai|=e)}function Ll(t,e){if(!St)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Ot(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,l=0;if(e)for(var s=t.child;s!==null;)n|=s.lanes|s.childLanes,l|=s.subtreeFlags&65011712,l|=s.flags&65011712,s.return=t,s=s.sibling;else for(s=t.child;s!==null;)n|=s.lanes|s.childLanes,l|=s.subtreeFlags,l|=s.flags,s.return=t,s=s.sibling;return t.subtreeFlags|=l,t.childLanes=n,e}function Z5(t,e,n){var l=e.pendingProps;switch(Xo(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ot(e),null;case 1:return Ot(e),null;case 3:return n=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),hn(Xt),Bt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(oi(e)?gn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Ko())),Ot(e),null;case 26:var s=e.type,o=e.memoizedState;return t===null?(gn(e),o!==null?(Ot(e),M6(e,o)):(Ot(e),wc(e,s,null,l,n))):o?o!==t.memoizedState?(gn(e),Ot(e),M6(e,o)):(Ot(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&gn(e),Ot(e),wc(e,s,t,l,n)),null;case 27:if(On(e),n=lt.current,s=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&gn(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Ot(e),null}t=tt.current,oi(e)?am(e):(t=H8(s,l,n),e.stateNode=t,gn(e))}return Ot(e),null;case 5:if(On(e),s=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&gn(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Ot(e),null}if(o=tt.current,oi(e))am(e);else{var m=yu(lt.current);switch(o){case 1:o=m.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:o=m.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":o=m.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":o=m.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":o=m.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof l.is=="string"?m.createElement("select",{is:l.is}):m.createElement("select"),l.multiple?o.multiple=!0:l.size&&(o.size=l.size);break;default:o=typeof l.is=="string"?m.createElement(s,{is:l.is}):m.createElement(s)}}o[ne]=e,o[he]=l;t:for(m=e.child;m!==null;){if(m.tag===5||m.tag===6)o.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break t;for(;m.sibling===null;){if(m.return===null||m.return===e)break t;m=m.return}m.sibling.return=m.return,m=m.sibling}e.stateNode=o;t:switch(se(o,s,l),s){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&gn(e)}}return Ot(e),wc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&gn(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(c(166));if(t=lt.current,oi(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,s=ae,s!==null)switch(s.tag){case 27:case 5:l=s.memoizedProps}t[ne]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||b8(t.nodeValue,n)),t||Un(e,!0)}else t=yu(t).createTextNode(l),t[ne]=e,e.stateNode=t}return Ot(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(l=oi(e),n!==null){if(t===null){if(!l)throw Error(c(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(557));t[ne]=e}else ba(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ot(e),t=!1}else n=Ko(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(Ce(e),e):(Ce(e),null);if((e.flags&128)!==0)throw Error(c(558))}return Ot(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(s=oi(e),l!==null&&l.dehydrated!==null){if(t===null){if(!s)throw Error(c(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(c(317));s[ne]=e}else ba(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ot(e),s=!1}else s=Ko(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=s),s=!0;if(!s)return e.flags&256?(Ce(e),e):(Ce(e),null)}return Ce(e),(e.flags&128)!==0?(e.lanes=n,e):(n=l!==null,t=t!==null&&t.memoizedState!==null,n&&(l=e.child,s=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(s=l.alternate.memoizedState.cachePool.pool),o=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(o=l.memoizedState.cachePool.pool),o!==s&&(l.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),eu(e,e.updateQueue),Ot(e),null);case 4:return Bt(),t===null&&i0(e.stateNode.containerInfo),Ot(e),null;case 10:return hn(e.type),Ot(e),null;case 19:if(G(Gt),l=e.memoizedState,l===null)return Ot(e),null;if(s=(e.flags&128)!==0,o=l.rendering,o===null)if(s)Ll(l,!1);else{if(_t!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=qs(t),o!==null){for(e.flags|=128,Ll(l,!1),t=o.updateQueue,e.updateQueue=t,eu(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)Wh(n,t),n=n.sibling;return P(Gt,Gt.current&1|2),St&&fn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&Ae()>su&&(e.flags|=128,s=!0,Ll(l,!1),e.lanes=4194304)}else{if(!s)if(t=qs(o),t!==null){if(e.flags|=128,s=!0,t=t.updateQueue,e.updateQueue=t,eu(e,t),Ll(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!St)return Ot(e),null}else 2*Ae()-l.renderingStartTime>su&&n!==536870912&&(e.flags|=128,s=!0,Ll(l,!1),e.lanes=4194304);l.isBackwards?(o.sibling=e.child,e.child=o):(t=l.last,t!==null?t.sibling=o:e.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ae(),t.sibling=null,n=Gt.current,P(Gt,s?n&1|2:n&1),St&&fn(e,l.treeForkCount),t):(Ot(e),null);case 22:case 23:return Ce(e),lc(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(Ot(e),e.subtreeFlags&6&&(e.flags|=8192)):Ot(e),n=e.updateQueue,n!==null&&eu(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&G(Ta),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),hn(Xt),Ot(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function U5(t,e){switch(Xo(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return hn(Xt),Bt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return On(e),null;case 31:if(e.memoizedState!==null){if(Ce(e),e.alternate===null)throw Error(c(340));ba()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ce(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));ba()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return G(Gt),null;case 4:return Bt(),null;case 10:return hn(e.type),null;case 22:case 23:return Ce(e),lc(),t!==null&&G(Ta),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return hn(Xt),null;case 25:return null;default:return null}}function x6(t,e){switch(Xo(e),e.tag){case 3:hn(Xt),Bt();break;case 26:case 27:case 5:On(e);break;case 4:Bt();break;case 31:e.memoizedState!==null&&Ce(e);break;case 13:Ce(e);break;case 19:G(Gt);break;case 10:hn(e.type);break;case 22:case 23:Ce(e),lc(),t!==null&&G(Ta);break;case 24:hn(Xt)}}function Cl(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var s=l.next;n=s;do{if((n.tag&t)===t){l=void 0;var o=n.create,m=n.inst;l=o(),m.destroy=l}n=n.next}while(n!==s)}}catch(S){Vt(e,e.return,S)}}function Kn(t,e,n){try{var l=e.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var o=s.next;l=o;do{if((l.tag&t)===t){var m=l.inst,S=m.destroy;if(S!==void 0){m.destroy=void 0,s=e;var T=n,D=S;try{D()}catch(w){Vt(s,T,w)}}}l=l.next}while(l!==o)}}catch(w){Vt(e,e.return,w)}}function V6(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{ym(e,n)}catch(l){Vt(t,t.return,l)}}}function L6(t,e,n){n.props=Ca(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){Vt(t,e,l)}}function Dl(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(s){Vt(t,e,s)}}function en(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(s){Vt(t,e,s)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(s){Vt(t,e,s)}else n.current=null}function C6(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(s){Vt(t,t.return,s)}}function Nc(t,e,n){try{var l=t.stateNode;uS(l,t.type,n,e),l[he]=e}catch(s){Vt(t,t.return,s)}}function D6(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&In(t.type)||t.tag===4}function Zc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||D6(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&&In(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 Uc(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=rn));else if(l!==4&&(l===27&&In(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Uc(t,e,n),t=t.sibling;t!==null;)Uc(t,e,n),t=t.sibling}function nu(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&In(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(nu(t,e,n),t=t.sibling;t!==null;)nu(t,e,n),t=t.sibling}function R6(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,s=e.attributes;s.length;)e.removeAttributeNode(s[0]);se(e,l,n),e[ne]=t,e[he]=n}catch(o){Vt(t,t.return,o)}}var vn=!1,Ft=!1,_c=!1,H6=typeof WeakSet=="function"?WeakSet:Set,te=null;function _5(t,e){if(t=t.containerInfo,u0=Tu,t=Yh(t),Oo(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var s=l.anchorOffset,o=l.focusNode;l=l.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break t}var m=0,S=-1,T=-1,D=0,w=0,_=t,R=null;e:for(;;){for(var j;_!==n||s!==0&&_.nodeType!==3||(S=m+s),_!==o||l!==0&&_.nodeType!==3||(T=m+l),_.nodeType===3&&(m+=_.nodeValue.length),(j=_.firstChild)!==null;)R=_,_=j;for(;;){if(_===t)break e;if(R===n&&++D===s&&(S=m),R===o&&++w===l&&(T=m),(j=_.nextSibling)!==null)break;_=R,R=_.parentNode}_=j}n=S===-1||T===-1?null:{start:S,end:T}}else n=null}n=n||{start:0,end:0}}else n=null;for(r0={focusedElem:t,selectionRange:n},Tu=!1,te=e;te!==null;)if(e=te,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,te=t;else for(;te!==null;){switch(e=te,o=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n<t.length;n++)s=t[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&o!==null){t=void 0,n=e,s=o.memoizedProps,o=o.memoizedState,l=n.stateNode;try{var W=Ca(n.type,s);t=l.getSnapshotBeforeUpdate(W,o),l.__reactInternalSnapshotBeforeUpdate=t}catch(it){Vt(n,n.return,it)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)f0(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":f0(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(c(163))}if(t=e.sibling,t!==null){t.return=e.return,te=t;break}te=e.return}}function j6(t,e,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:bn(t,n),l&4&&Cl(5,n);break;case 1:if(bn(t,n),l&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(m){Vt(n,n.return,m)}else{var s=Ca(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(s,e,t.__reactInternalSnapshotBeforeUpdate)}catch(m){Vt(n,n.return,m)}}l&64&&V6(n),l&512&&Dl(n,n.return);break;case 3:if(bn(t,n),l&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{ym(t,e)}catch(m){Vt(n,n.return,m)}}break;case 27:e===null&&l&4&&R6(n);case 26:case 5:bn(t,n),e===null&&l&4&&C6(n),l&512&&Dl(n,n.return);break;case 12:bn(t,n);break;case 31:bn(t,n),l&4&&B6(t,n);break;case 13:bn(t,n),l&4&&w6(t,n),l&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=P5.bind(null,n),pS(t,n))));break;case 22:if(l=n.memoizedState!==null||vn,!l){e=e!==null&&e.memoizedState!==null||Ft,s=vn;var o=Ft;vn=l,(Ft=e)&&!o?En(t,n,(n.subtreeFlags&8772)!==0):bn(t,n),vn=s,Ft=o}break;case 30:break;default:bn(t,n)}}function O6(t){var e=t.alternate;e!==null&&(t.alternate=null,O6(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&yo(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var wt=null,pe=!1;function Sn(t,e,n){for(n=n.child;n!==null;)z6(t,e,n),n=n.sibling}function z6(t,e,n){if(Te&&typeof Te.onCommitFiberUnmount=="function")try{Te.onCommitFiberUnmount(Ii,n)}catch{}switch(n.tag){case 26:Ft||en(n,e),Sn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Ft||en(n,e);var l=wt,s=pe;In(n.type)&&(wt=n.stateNode,pe=!1),Sn(t,e,n),Zl(n.stateNode),wt=l,pe=s;break;case 5:Ft||en(n,e);case 6:if(l=wt,s=pe,wt=null,Sn(t,e,n),wt=l,pe=s,wt!==null)if(pe)try{(wt.nodeType===9?wt.body:wt.nodeName==="HTML"?wt.ownerDocument.body:wt).removeChild(n.stateNode)}catch(o){Vt(n,e,o)}else try{wt.removeChild(n.stateNode)}catch(o){Vt(n,e,o)}break;case 18:wt!==null&&(pe?(t=wt,V8(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),Ri(t)):V8(wt,n.stateNode));break;case 4:l=wt,s=pe,wt=n.stateNode.containerInfo,pe=!0,Sn(t,e,n),wt=l,pe=s;break;case 0:case 11:case 14:case 15:Kn(2,n,e),Ft||Kn(4,n,e),Sn(t,e,n);break;case 1:Ft||(en(n,e),l=n.stateNode,typeof l.componentWillUnmount=="function"&&L6(n,e,l)),Sn(t,e,n);break;case 21:Sn(t,e,n);break;case 22:Ft=(l=Ft)||n.memoizedState!==null,Sn(t,e,n),Ft=l;break;default:Sn(t,e,n)}}function B6(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ri(t)}catch(n){Vt(e,e.return,n)}}}function w6(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ri(t)}catch(n){Vt(e,e.return,n)}}function G5(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new H6),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new H6),e;default:throw Error(c(435,t.tag))}}function au(t,e){var n=G5(t);e.forEach(function(l){if(!n.has(l)){n.add(l);var s=J5.bind(null,t,l);l.then(s,s)}})}function ye(t,e){var n=e.deletions;if(n!==null)for(var l=0;l<n.length;l++){var s=n[l],o=t,m=e,S=m;t:for(;S!==null;){switch(S.tag){case 27:if(In(S.type)){wt=S.stateNode,pe=!1;break t}break;case 5:wt=S.stateNode,pe=!1;break t;case 3:case 4:wt=S.stateNode.containerInfo,pe=!0;break t}S=S.return}if(wt===null)throw Error(c(160));z6(o,m,s),wt=null,pe=!1,o=s.alternate,o!==null&&(o.return=null),s.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)N6(e,t),e=e.sibling}var Qe=null;function N6(t,e){var n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ye(e,t),ge(t),l&4&&(Kn(3,t,t.return),Cl(3,t),Kn(5,t,t.return));break;case 1:ye(e,t),ge(t),l&512&&(Ft||n===null||en(n,n.return)),l&64&&vn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var s=Qe;if(ye(e,t),ge(t),l&512&&(Ft||n===null||en(n,n.return)),l&4){var o=n!==null?n.memoizedState:null;if(l=t.memoizedState,n===null)if(l===null)if(t.stateNode===null){t:{l=t.type,n=t.memoizedProps,s=s.ownerDocument||s;e:switch(l){case"title":o=s.getElementsByTagName("title")[0],(!o||o[nl]||o[ne]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=s.createElement(l),s.head.insertBefore(o,s.querySelector("head > title"))),se(o,l,n),o[ne]=t,It(o),l=o;break t;case"link":var m=N8("link","href",s).get(l+(n.href||""));if(m){for(var S=0;S<m.length;S++)if(o=m[S],o.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&o.getAttribute("rel")===(n.rel==null?null:n.rel)&&o.getAttribute("title")===(n.title==null?null:n.title)&&o.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){m.splice(S,1);break e}}o=s.createElement(l),se(o,l,n),s.head.appendChild(o);break;case"meta":if(m=N8("meta","content",s).get(l+(n.content||""))){for(S=0;S<m.length;S++)if(o=m[S],o.getAttribute("content")===(n.content==null?null:""+n.content)&&o.getAttribute("name")===(n.name==null?null:n.name)&&o.getAttribute("property")===(n.property==null?null:n.property)&&o.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute("charset")===(n.charSet==null?null:n.charSet)){m.splice(S,1);break e}}o=s.createElement(l),se(o,l,n),s.head.appendChild(o);break;default:throw Error(c(468,l))}o[ne]=t,It(o),l=o}t.stateNode=l}else Z8(s,t.type,t.stateNode);else t.stateNode=w8(s,l,t.memoizedProps);else o!==l?(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,l===null?Z8(s,t.type,t.stateNode):w8(s,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Nc(t,t.memoizedProps,n.memoizedProps)}break;case 27:ye(e,t),ge(t),l&512&&(Ft||n===null||en(n,n.return)),n!==null&&l&4&&Nc(t,t.memoizedProps,n.memoizedProps);break;case 5:if(ye(e,t),ge(t),l&512&&(Ft||n===null||en(n,n.return)),t.flags&32){s=t.stateNode;try{Ia(s,"")}catch(W){Vt(t,t.return,W)}}l&4&&t.stateNode!=null&&(s=t.memoizedProps,Nc(t,s,n!==null?n.memoizedProps:s)),l&1024&&(_c=!0);break;case 6:if(ye(e,t),ge(t),l&4){if(t.stateNode===null)throw Error(c(162));l=t.memoizedProps,n=t.stateNode;try{n.nodeValue=l}catch(W){Vt(t,t.return,W)}}break;case 3:if(Su=null,s=Qe,Qe=gu(e.containerInfo),ye(e,t),Qe=s,ge(t),l&4&&n!==null&&n.memoizedState.isDehydrated)try{Ri(e.containerInfo)}catch(W){Vt(t,t.return,W)}_c&&(_c=!1,Z6(t));break;case 4:l=Qe,Qe=gu(t.stateNode.containerInfo),ye(e,t),ge(t),Qe=l;break;case 12:ye(e,t),ge(t);break;case 31:ye(e,t),ge(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,au(t,l)));break;case 13:ye(e,t),ge(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(lu=Ae()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,au(t,l)));break;case 22:s=t.memoizedState!==null;var T=n!==null&&n.memoizedState!==null,D=vn,w=Ft;if(vn=D||s,Ft=w||T,ye(e,t),Ft=w,vn=D,ge(t),l&8192)t:for(e=t.stateNode,e._visibility=s?e._visibility&-2:e._visibility|1,s&&(n===null||T||vn||Ft||Da(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){T=n=e;try{if(o=T.stateNode,s)m=o.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{S=T.stateNode;var _=T.memoizedProps.style,R=_!=null&&_.hasOwnProperty("display")?_.display:null;S.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(W){Vt(T,T.return,W)}}}else if(e.tag===6){if(n===null){T=e;try{T.stateNode.nodeValue=s?"":T.memoizedProps}catch(W){Vt(T,T.return,W)}}}else if(e.tag===18){if(n===null){T=e;try{var j=T.stateNode;s?L8(j,!0):L8(T.stateNode,!1)}catch(W){Vt(T,T.return,W)}}}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;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,au(t,n))));break;case 19:ye(e,t),ge(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,au(t,l)));break;case 30:break;case 21:break;default:ye(e,t),ge(t)}}function ge(t){var e=t.flags;if(e&2){try{for(var n,l=t.return;l!==null;){if(D6(l)){n=l;break}l=l.return}if(n==null)throw Error(c(160));switch(n.tag){case 27:var s=n.stateNode,o=Zc(t);nu(t,o,s);break;case 5:var m=n.stateNode;n.flags&32&&(Ia(m,""),n.flags&=-33);var S=Zc(t);nu(t,S,m);break;case 3:case 4:var T=n.stateNode.containerInfo,D=Zc(t);Uc(t,D,T);break;default:throw Error(c(161))}}catch(w){Vt(t,t.return,w)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Z6(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Z6(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function bn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)j6(t,e.alternate,e),e=e.sibling}function Da(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Kn(4,e,e.return),Da(e);break;case 1:en(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&L6(e,e.return,n),Da(e);break;case 27:Zl(e.stateNode);case 26:case 5:en(e,e.return),Da(e);break;case 22:e.memoizedState===null&&Da(e);break;case 30:Da(e);break;default:Da(e)}t=t.sibling}}function En(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,s=t,o=e,m=o.flags;switch(o.tag){case 0:case 11:case 15:En(s,o,n),Cl(4,o);break;case 1:if(En(s,o,n),l=o,s=l.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(D){Vt(l,l.return,D)}if(l=o,s=l.updateQueue,s!==null){var S=l.stateNode;try{var T=s.shared.hiddenCallbacks;if(T!==null)for(s.shared.hiddenCallbacks=null,s=0;s<T.length;s++)pm(T[s],S)}catch(D){Vt(l,l.return,D)}}n&&m&64&&V6(o),Dl(o,o.return);break;case 27:R6(o);case 26:case 5:En(s,o,n),n&&l===null&&m&4&&C6(o),Dl(o,o.return);break;case 12:En(s,o,n);break;case 31:En(s,o,n),n&&m&4&&B6(s,o);break;case 13:En(s,o,n),n&&m&4&&w6(s,o);break;case 22:o.memoizedState===null&&En(s,o,n),Dl(o,o.return);break;case 30:break;default:En(s,o,n)}e=e.sibling}}function Gc(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&pl(n))}function qc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&pl(t))}function Pe(t,e,n,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)U6(t,e,n,l),e=e.sibling}function U6(t,e,n,l){var s=e.flags;switch(e.tag){case 0:case 11:case 15:Pe(t,e,n,l),s&2048&&Cl(9,e);break;case 1:Pe(t,e,n,l);break;case 3:Pe(t,e,n,l),s&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&pl(t)));break;case 12:if(s&2048){Pe(t,e,n,l),t=e.stateNode;try{var o=e.memoizedProps,m=o.id,S=o.onPostCommit;typeof S=="function"&&S(m,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(T){Vt(e,e.return,T)}}else Pe(t,e,n,l);break;case 31:Pe(t,e,n,l);break;case 13:Pe(t,e,n,l);break;case 23:break;case 22:o=e.stateNode,m=e.alternate,e.memoizedState!==null?o._visibility&2?Pe(t,e,n,l):Rl(t,e):o._visibility&2?Pe(t,e,n,l):(o._visibility|=2,Si(t,e,n,l,(e.subtreeFlags&10256)!==0||!1)),s&2048&&Gc(m,e);break;case 24:Pe(t,e,n,l),s&2048&&qc(e.alternate,e);break;default:Pe(t,e,n,l)}}function Si(t,e,n,l,s){for(s=s&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var o=t,m=e,S=n,T=l,D=m.flags;switch(m.tag){case 0:case 11:case 15:Si(o,m,S,T,s),Cl(8,m);break;case 23:break;case 22:var w=m.stateNode;m.memoizedState!==null?w._visibility&2?Si(o,m,S,T,s):Rl(o,m):(w._visibility|=2,Si(o,m,S,T,s)),s&&D&2048&&Gc(m.alternate,m);break;case 24:Si(o,m,S,T,s),s&&D&2048&&qc(m.alternate,m);break;default:Si(o,m,S,T,s)}e=e.sibling}}function Rl(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,l=e,s=l.flags;switch(l.tag){case 22:Rl(n,l),s&2048&&Gc(l.alternate,l);break;case 24:Rl(n,l),s&2048&&qc(l.alternate,l);break;default:Rl(n,l)}e=e.sibling}}var Hl=8192;function bi(t,e,n){if(t.subtreeFlags&Hl)for(t=t.child;t!==null;)_6(t,e,n),t=t.sibling}function _6(t,e,n){switch(t.tag){case 26:bi(t,e,n),t.flags&Hl&&t.memoizedState!==null&&LS(n,Qe,t.memoizedState,t.memoizedProps);break;case 5:bi(t,e,n);break;case 3:case 4:var l=Qe;Qe=gu(t.stateNode.containerInfo),bi(t,e,n),Qe=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=Hl,Hl=16777216,bi(t,e,n),Hl=l):bi(t,e,n));break;default:bi(t,e,n)}}function G6(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 jl(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];te=l,Y6(l,t)}G6(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)q6(t),t=t.sibling}function q6(t){switch(t.tag){case 0:case 11:case 15:jl(t),t.flags&2048&&Kn(9,t,t.return);break;case 3:jl(t);break;case 12:jl(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,iu(t)):jl(t);break;default:jl(t)}}function iu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];te=l,Y6(l,t)}G6(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Kn(8,e,e.return),iu(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,iu(e));break;default:iu(e)}t=t.sibling}}function Y6(t,e){for(;te!==null;){var n=te;switch(n.tag){case 0:case 11:case 15:Kn(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:pl(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,te=l;else t:for(n=t;te!==null;){l=te;var s=l.sibling,o=l.return;if(O6(l),l===n){te=null;break t}if(s!==null){s.return=o,te=s;break t}te=o}}}var q5={getCacheForType:function(t){var e=ie(Xt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return ie(Xt).controller.signal}},Y5=typeof WeakMap=="function"?WeakMap:Map,Tt=0,Ht=null,pt=null,gt=0,xt=0,De=null,Fn=!1,Ei=!1,Yc=!1,An=0,_t=0,Qn=0,Ra=0,Xc=0,Re=0,Ai=0,Ol=null,ve=null,kc=!1,lu=0,X6=0,su=1/0,uu=null,Pn=null,$t=0,Jn=null,Ti=null,Tn=0,Kc=0,Fc=null,k6=null,zl=0,Qc=null;function He(){return(Tt&2)!==0&&gt!==0?gt&-gt:N.T!==null?t0():uh()}function K6(){if(Re===0)if((gt&536870912)===0||St){var t=ps;ps<<=1,(ps&3932160)===0&&(ps=262144),Re=t}else Re=536870912;return t=Le.current,t!==null&&(t.flags|=32),Re}function Se(t,e,n){(t===Ht&&(xt===2||xt===9)||t.cancelPendingCommit!==null)&&(Mi(t,0),$n(t,gt,Re,!1)),el(t,n),((Tt&2)===0||t!==Ht)&&(t===Ht&&((Tt&2)===0&&(Ra|=n),_t===4&&$n(t,gt,Re,!1)),nn(t))}function F6(t,e,n){if((Tt&6)!==0)throw Error(c(327));var l=!n&&(e&127)===0&&(e&t.expiredLanes)===0||tl(t,e),s=l?K5(t,e):Jc(t,e,!0),o=l;do{if(s===0){Ei&&!l&&$n(t,e,0,!1);break}else{if(n=t.current.alternate,o&&!X5(n)){s=Jc(t,e,!1),o=!1;continue}if(s===2){if(o=e,t.errorRecoveryDisabledLanes&o)var m=0;else m=t.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){e=m;t:{var S=t;s=Ol;var T=S.current.memoizedState.isDehydrated;if(T&&(Mi(S,m).flags|=256),m=Jc(S,m,!1),m!==2){if(Yc&&!T){S.errorRecoveryDisabledLanes|=o,Ra|=o,s=4;break t}o=ve,ve=s,o!==null&&(ve===null?ve=o:ve.push.apply(ve,o))}s=m}if(o=!1,s!==2)continue}}if(s===1){Mi(t,0),$n(t,e,0,!0);break}t:{switch(l=t,o=s,o){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:$n(l,e,Re,!Fn);break t;case 2:ve=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(s=lu+300-Ae(),10<s)){if($n(l,e,Re,!Fn),gs(l,0,!0)!==0)break t;Tn=e,l.timeoutHandle=M8(Q6.bind(null,l,n,ve,uu,kc,e,Re,Ra,Ai,Fn,o,"Throttled",-0,0),s);break t}Q6(l,n,ve,uu,kc,e,Re,Ra,Ai,Fn,o,null,-0,0)}}break}while(!0);nn(t)}function Q6(t,e,n,l,s,o,m,S,T,D,w,_,R,j){if(t.timeoutHandle=-1,_=e.subtreeFlags,_&8192||(_&16785408)===16785408){_={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:rn},_6(e,o,_);var W=(o&62914560)===o?lu-Ae():(o&4194048)===o?X6-Ae():0;if(W=CS(_,W),W!==null){Tn=o,t.cancelPendingCommit=W(n8.bind(null,t,e,o,n,l,s,m,S,T,w,_,null,R,j)),$n(t,o,m,!D);return}}n8(t,e,o,n,l,s,m,S,T)}function X5(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var s=n[l],o=s.getSnapshot;s=s.value;try{if(!xe(o(),s))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;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 $n(t,e,n,l){e&=~Xc,e&=~Ra,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var s=e;0<s;){var o=31-Me(s),m=1<<o;l[o]=-1,s&=~m}n!==0&&ih(t,n,e)}function ru(){return(Tt&6)===0?(Bl(0),!1):!0}function Pc(){if(pt!==null){if(xt===0)var t=pt.return;else t=pt,dn=Ea=null,fc(t),mi=null,gl=0,t=pt;for(;t!==null;)x6(t.alternate,t),t=t.return;pt=null}}function Mi(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,cS(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),Tn=0,Pc(),Ht=t,pt=n=cn(t.current,null),gt=e,xt=0,De=null,Fn=!1,Ei=tl(t,e),Yc=!1,Ai=Re=Xc=Ra=Qn=_t=0,ve=Ol=null,kc=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var s=31-Me(l),o=1<<s;e|=t[s],l&=~o}return An=e,Ds(),n}function P6(t,e){ft=null,N.H=xl,e===hi||e===Ns?(e=fm(),xt=3):e===Io?(e=fm(),xt=4):xt=e===Lc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,De=e,pt===null&&(_t=1,$s(t,Ze(e,t.current)))}function J6(){var t=Le.current;return t===null?!0:(gt&4194048)===gt?qe===null:(gt&62914560)===gt||(gt&536870912)!==0?t===qe:!1}function $6(){var t=N.H;return N.H=xl,t===null?xl:t}function W6(){var t=N.A;return N.A=q5,t}function ou(){_t=4,Fn||(gt&4194048)!==gt&&Le.current!==null||(Ei=!0),(Qn&134217727)===0&&(Ra&134217727)===0||Ht===null||$n(Ht,gt,Re,!1)}function Jc(t,e,n){var l=Tt;Tt|=2;var s=$6(),o=W6();(Ht!==t||gt!==e)&&(uu=null,Mi(t,e)),e=!1;var m=_t;t:do try{if(xt!==0&&pt!==null){var S=pt,T=De;switch(xt){case 8:Pc(),m=6;break t;case 3:case 2:case 9:case 6:Le.current===null&&(e=!0);var D=xt;if(xt=0,De=null,xi(t,S,T,D),n&&Ei){m=0;break t}break;default:D=xt,xt=0,De=null,xi(t,S,T,D)}}k5(),m=_t;break}catch(w){P6(t,w)}while(!0);return e&&t.shellSuspendCounter++,dn=Ea=null,Tt=l,N.H=s,N.A=o,pt===null&&(Ht=null,gt=0,Ds()),m}function k5(){for(;pt!==null;)I6(pt)}function K5(t,e){var n=Tt;Tt|=2;var l=$6(),s=W6();Ht!==t||gt!==e?(uu=null,su=Ae()+500,Mi(t,e)):Ei=tl(t,e);t:do try{if(xt!==0&&pt!==null){e=pt;var o=De;e:switch(xt){case 1:xt=0,De=null,xi(t,e,o,1);break;case 2:case 9:if(om(o)){xt=0,De=null,t8(e);break}e=function(){xt!==2&&xt!==9||Ht!==t||(xt=7),nn(t)},o.then(e,e);break t;case 3:xt=7;break t;case 4:xt=5;break t;case 7:om(o)?(xt=0,De=null,t8(e)):(xt=0,De=null,xi(t,e,o,7));break;case 5:var m=null;switch(pt.tag){case 26:m=pt.memoizedState;case 5:case 27:var S=pt;if(m?U8(m):S.stateNode.complete){xt=0,De=null;var T=S.sibling;if(T!==null)pt=T;else{var D=S.return;D!==null?(pt=D,cu(D)):pt=null}break e}}xt=0,De=null,xi(t,e,o,5);break;case 6:xt=0,De=null,xi(t,e,o,6);break;case 8:Pc(),_t=6;break t;default:throw Error(c(462))}}F5();break}catch(w){P6(t,w)}while(!0);return dn=Ea=null,N.H=l,N.A=s,Tt=n,pt!==null?0:(Ht=null,gt=0,Ds(),_t)}function F5(){for(;pt!==null&&!y3();)I6(pt)}function I6(t){var e=T6(t.alternate,t,An);t.memoizedProps=t.pendingProps,e===null?cu(t):pt=e}function t8(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=g6(n,e,e.pendingProps,e.type,void 0,gt);break;case 11:e=g6(n,e,e.pendingProps,e.type.render,e.ref,gt);break;case 5:fc(e);default:x6(n,e),e=pt=Wh(e,An),e=T6(n,e,An)}t.memoizedProps=t.pendingProps,e===null?cu(t):pt=e}function xi(t,e,n,l){dn=Ea=null,fc(e),mi=null,gl=0;var s=e.return;try{if(B5(t,s,e,n,gt)){_t=1,$s(t,Ze(n,t.current)),pt=null;return}}catch(o){if(s!==null)throw pt=s,o;_t=1,$s(t,Ze(n,t.current)),pt=null;return}e.flags&32768?(St||l===1?t=!0:Ei||(gt&536870912)!==0?t=!1:(Fn=t=!0,(l===2||l===9||l===3||l===6)&&(l=Le.current,l!==null&&l.tag===13&&(l.flags|=16384))),e8(e,t)):cu(e)}function cu(t){var e=t;do{if((e.flags&32768)!==0){e8(e,Fn);return}t=e.return;var n=Z5(e.alternate,e,An);if(n!==null){pt=n;return}if(e=e.sibling,e!==null){pt=e;return}pt=e=t}while(e!==null);_t===0&&(_t=5)}function e8(t,e){do{var n=U5(t.alternate,t);if(n!==null){n.flags&=32767,pt=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){pt=t;return}pt=t=n}while(t!==null);_t=6,pt=null}function n8(t,e,n,l,s,o,m,S,T){t.cancelPendingCommit=null;do fu();while($t!==0);if((Tt&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(o=e.lanes|e.childLanes,o|=Zo,V3(t,n,o,m,S,T),t===Ht&&(pt=Ht=null,gt=0),Ti=e,Jn=t,Tn=n,Kc=o,Fc=s,k6=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,$5(hs,function(){return u8(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=N.T,N.T=null,s=X.p,X.p=2,m=Tt,Tt|=4;try{_5(t,e,n)}finally{Tt=m,X.p=s,N.T=l}}$t=1,a8(),i8(),l8()}}function a8(){if($t===1){$t=0;var t=Jn,e=Ti,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=N.T,N.T=null;var l=X.p;X.p=2;var s=Tt;Tt|=4;try{N6(e,t);var o=r0,m=Yh(t.containerInfo),S=o.focusedElem,T=o.selectionRange;if(m!==S&&S&&S.ownerDocument&&qh(S.ownerDocument.documentElement,S)){if(T!==null&&Oo(S)){var D=T.start,w=T.end;if(w===void 0&&(w=D),"selectionStart"in S)S.selectionStart=D,S.selectionEnd=Math.min(w,S.value.length);else{var _=S.ownerDocument||document,R=_&&_.defaultView||window;if(R.getSelection){var j=R.getSelection(),W=S.textContent.length,it=Math.min(T.start,W),Dt=T.end===void 0?it:Math.min(T.end,W);!j.extend&&it>Dt&&(m=Dt,Dt=it,it=m);var V=Gh(S,it),M=Gh(S,Dt);if(V&&M&&(j.rangeCount!==1||j.anchorNode!==V.node||j.anchorOffset!==V.offset||j.focusNode!==M.node||j.focusOffset!==M.offset)){var C=_.createRange();C.setStart(V.node,V.offset),j.removeAllRanges(),it>Dt?(j.addRange(C),j.extend(M.node,M.offset)):(C.setEnd(M.node,M.offset),j.addRange(C))}}}}for(_=[],j=S;j=j.parentNode;)j.nodeType===1&&_.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<_.length;S++){var Z=_[S];Z.element.scrollLeft=Z.left,Z.element.scrollTop=Z.top}}Tu=!!u0,r0=u0=null}finally{Tt=s,X.p=l,N.T=n}}t.current=e,$t=2}}function i8(){if($t===2){$t=0;var t=Jn,e=Ti,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=N.T,N.T=null;var l=X.p;X.p=2;var s=Tt;Tt|=4;try{j6(t,e.alternate,e)}finally{Tt=s,X.p=l,N.T=n}}$t=3}}function l8(){if($t===4||$t===3){$t=0,g3();var t=Jn,e=Ti,n=Tn,l=k6;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?$t=5:($t=0,Ti=Jn=null,s8(t,t.pendingLanes));var s=t.pendingLanes;if(s===0&&(Pn=null),mo(n),e=e.stateNode,Te&&typeof Te.onCommitFiberRoot=="function")try{Te.onCommitFiberRoot(Ii,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=N.T,s=X.p,X.p=2,N.T=null;try{for(var o=t.onRecoverableError,m=0;m<l.length;m++){var S=l[m];o(S.value,{componentStack:S.stack})}}finally{N.T=e,X.p=s}}(Tn&3)!==0&&fu(),nn(t),s=t.pendingLanes,(n&261930)!==0&&(s&42)!==0?t===Qc?zl++:(zl=0,Qc=t):zl=0,Bl(0)}}function s8(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,pl(e)))}function fu(){return a8(),i8(),l8(),u8()}function u8(){if($t!==5)return!1;var t=Jn,e=Kc;Kc=0;var n=mo(Tn),l=N.T,s=X.p;try{X.p=32>n?32:n,N.T=null,n=Fc,Fc=null;var o=Jn,m=Tn;if($t=0,Ti=Jn=null,Tn=0,(Tt&6)!==0)throw Error(c(331));var S=Tt;if(Tt|=4,q6(o.current),U6(o,o.current,m,n),Tt=S,Bl(0,!1),Te&&typeof Te.onPostCommitFiberRoot=="function")try{Te.onPostCommitFiberRoot(Ii,o)}catch{}return!0}finally{X.p=s,N.T=l,s8(t,e)}}function r8(t,e,n){e=Ze(n,e),e=Vc(t.stateNode,e,2),t=Yn(t,e,2),t!==null&&(el(t,2),nn(t))}function Vt(t,e,n){if(t.tag===3)r8(t,t,n);else for(;e!==null;){if(e.tag===3){r8(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Pn===null||!Pn.has(l))){t=Ze(n,t),n=o6(2),l=Yn(e,n,2),l!==null&&(c6(n,l,e,t),el(l,2),nn(l));break}}e=e.return}}function $c(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new Y5;var s=new Set;l.set(e,s)}else s=l.get(e),s===void 0&&(s=new Set,l.set(e,s));s.has(n)||(Yc=!0,s.add(n),t=Q5.bind(null,t,e,n),e.then(t,t))}function Q5(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Ht===t&&(gt&n)===n&&(_t===4||_t===3&&(gt&62914560)===gt&&300>Ae()-lu?(Tt&2)===0&&Mi(t,0):Xc|=n,Ai===gt&&(Ai=0)),nn(t)}function o8(t,e){e===0&&(e=ah()),t=va(t,e),t!==null&&(el(t,e),nn(t))}function P5(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),o8(t,n)}function J5(t,e){var n=0;switch(t.tag){case 31:case 13:var l=t.stateNode,s=t.memoizedState;s!==null&&(n=s.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(c(314))}l!==null&&l.delete(e),o8(t,n)}function $5(t,e){return oo(t,e)}var du=null,Vi=null,Wc=!1,hu=!1,Ic=!1,Wn=0;function nn(t){t!==Vi&&t.next===null&&(Vi===null?du=Vi=t:Vi=Vi.next=t),hu=!0,Wc||(Wc=!0,I5())}function Bl(t,e){if(!Ic&&hu){Ic=!0;do for(var n=!1,l=du;l!==null;){if(t!==0){var s=l.pendingLanes;if(s===0)var o=0;else{var m=l.suspendedLanes,S=l.pingedLanes;o=(1<<31-Me(42|t)+1)-1,o&=s&~(m&~S),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,h8(l,o))}else o=gt,o=gs(l,l===Ht?o:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(o&3)===0||tl(l,o)||(n=!0,h8(l,o));l=l.next}while(n);Ic=!1}}function W5(){c8()}function c8(){hu=Wc=!1;var t=0;Wn!==0&&oS()&&(t=Wn);for(var e=Ae(),n=null,l=du;l!==null;){var s=l.next,o=f8(l,e);o===0?(l.next=null,n===null?du=s:n.next=s,s===null&&(Vi=n)):(n=l,(t!==0||(o&3)!==0)&&(hu=!0)),l=s}$t!==0&&$t!==5||Bl(t),Wn!==0&&(Wn=0)}function f8(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,s=t.expirationTimes,o=t.pendingLanes&-62914561;0<o;){var m=31-Me(o),S=1<<m,T=s[m];T===-1?((S&n)===0||(S&l)!==0)&&(s[m]=x3(S,e)):T<=e&&(t.expiredLanes|=S),o&=~S}if(e=Ht,n=gt,n=gs(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,n===0||t===e&&(xt===2||xt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&co(l),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||tl(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(l!==null&&co(l),mo(n)){case 2:case 8:n=eh;break;case 32:n=hs;break;case 268435456:n=nh;break;default:n=hs}return l=d8.bind(null,t),n=oo(n,l),t.callbackPriority=e,t.callbackNode=n,e}return l!==null&&l!==null&&co(l),t.callbackPriority=2,t.callbackNode=null,2}function d8(t,e){if($t!==0&&$t!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(fu()&&t.callbackNode!==n)return null;var l=gt;return l=gs(t,t===Ht?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(F6(t,l,e),f8(t,Ae()),t.callbackNode!=null&&t.callbackNode===n?d8.bind(null,t):null)}function h8(t,e){if(fu())return null;F6(t,e,!0)}function I5(){fS(function(){(Tt&6)!==0?oo(th,W5):c8()})}function t0(){if(Wn===0){var t=fi;t===0&&(t=ms,ms<<=1,(ms&261888)===0&&(ms=256)),Wn=t}return Wn}function m8(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Es(""+t)}function p8(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function tS(t,e,n,l,s){if(e==="submit"&&n&&n.stateNode===s){var o=m8((s[he]||null).action),m=l.submitter;m&&(e=(e=m[he]||null)?m8(e.formAction):m.getAttribute("formAction"),e!==null&&(o=e,m=null));var S=new xs("action","action",null,l,s);t.push({event:S,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Wn!==0){var T=m?p8(s,m):new FormData(s);bc(n,{pending:!0,data:T,method:s.method,action:o},null,T)}}else typeof o=="function"&&(S.preventDefault(),T=m?p8(s,m):new FormData(s),bc(n,{pending:!0,data:T,method:s.method,action:o},o,T))},currentTarget:s}]})}}for(var e0=0;e0<No.length;e0++){var n0=No[e0],eS=n0.toLowerCase(),nS=n0[0].toUpperCase()+n0.slice(1);Fe(eS,"on"+nS)}Fe(Kh,"onAnimationEnd"),Fe(Fh,"onAnimationIteration"),Fe(Qh,"onAnimationStart"),Fe("dblclick","onDoubleClick"),Fe("focusin","onFocus"),Fe("focusout","onBlur"),Fe(v5,"onTransitionRun"),Fe(S5,"onTransitionStart"),Fe(b5,"onTransitionCancel"),Fe(Ph,"onTransitionEnd"),$a("onMouseEnter",["mouseout","mouseover"]),$a("onMouseLeave",["mouseout","mouseover"]),$a("onPointerEnter",["pointerout","pointerover"]),$a("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 wl="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(" "),aS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(wl));function y8(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var l=t[n],s=l.event;l=l.listeners;t:{var o=void 0;if(e)for(var m=l.length-1;0<=m;m--){var S=l[m],T=S.instance,D=S.currentTarget;if(S=S.listener,T!==o&&s.isPropagationStopped())break t;o=S,s.currentTarget=D;try{o(s)}catch(w){Cs(w)}s.currentTarget=null,o=T}else for(m=0;m<l.length;m++){if(S=l[m],T=S.instance,D=S.currentTarget,S=S.listener,T!==o&&s.isPropagationStopped())break t;o=S,s.currentTarget=D;try{o(s)}catch(w){Cs(w)}s.currentTarget=null,o=T}}}}function yt(t,e){var n=e[po];n===void 0&&(n=e[po]=new Set);var l=t+"__bubble";n.has(l)||(g8(e,t,2,!1),n.add(l))}function a0(t,e,n){var l=0;e&&(l|=4),g8(n,t,l,e)}var mu="_reactListening"+Math.random().toString(36).slice(2);function i0(t){if(!t[mu]){t[mu]=!0,ch.forEach(function(n){n!=="selectionchange"&&(aS.has(n)||a0(n,!1,t),a0(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[mu]||(e[mu]=!0,a0("selectionchange",!1,e))}}function g8(t,e,n,l){switch(K8(e)){case 2:var s=HS;break;case 8:s=jS;break;default:s=S0}n=s.bind(null,e,n,t),s=void 0,!Mo||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(s=!0),l?s!==void 0?t.addEventListener(e,n,{capture:!0,passive:s}):t.addEventListener(e,n,!0):s!==void 0?t.addEventListener(e,n,{passive:s}):t.addEventListener(e,n,!1)}function l0(t,e,n,l,s){var o=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var m=l.tag;if(m===3||m===4){var S=l.stateNode.containerInfo;if(S===s)break;if(m===4)for(m=l.return;m!==null;){var T=m.tag;if((T===3||T===4)&&m.stateNode.containerInfo===s)return;m=m.return}for(;S!==null;){if(m=Qa(S),m===null)return;if(T=m.tag,T===5||T===6||T===26||T===27){l=o=m;continue t}S=S.parentNode}}l=l.return}Ah(function(){var D=o,w=Ao(n),_=[];t:{var R=Jh.get(t);if(R!==void 0){var j=xs,W=t;switch(t){case"keypress":if(Ts(n)===0)break t;case"keydown":case"keyup":j=J3;break;case"focusin":W="focus",j=Co;break;case"focusout":W="blur",j=Co;break;case"beforeblur":case"afterblur":j=Co;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":j=xh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=Z3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=I3;break;case Kh:case Fh:case Qh:j=G3;break;case Ph:j=e5;break;case"scroll":case"scrollend":j=w3;break;case"wheel":j=a5;break;case"copy":case"cut":case"paste":j=Y3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=Lh;break;case"toggle":case"beforetoggle":j=l5}var it=(e&4)!==0,Dt=!it&&(t==="scroll"||t==="scrollend"),V=it?R!==null?R+"Capture":null:R;it=[];for(var M=D,C;M!==null;){var Z=M;if(C=Z.stateNode,Z=Z.tag,Z!==5&&Z!==26&&Z!==27||C===null||V===null||(Z=il(M,V),Z!=null&&it.push(Nl(M,Z,C))),Dt)break;M=M.return}0<it.length&&(R=new j(R,W,null,n,w),_.push({event:R,listeners:it}))}}if((e&7)===0){t:{if(R=t==="mouseover"||t==="pointerover",j=t==="mouseout"||t==="pointerout",R&&n!==Eo&&(W=n.relatedTarget||n.fromElement)&&(Qa(W)||W[Fa]))break t;if((j||R)&&(R=w.window===w?w:(R=w.ownerDocument)?R.defaultView||R.parentWindow:window,j?(W=n.relatedTarget||n.toElement,j=D,W=W?Qa(W):null,W!==null&&(Dt=d(W),it=W.tag,W!==Dt||it!==5&&it!==27&&it!==6)&&(W=null)):(j=null,W=D),j!==W)){if(it=xh,Z="onMouseLeave",V="onMouseEnter",M="mouse",(t==="pointerout"||t==="pointerover")&&(it=Lh,Z="onPointerLeave",V="onPointerEnter",M="pointer"),Dt=j==null?R:al(j),C=W==null?R:al(W),R=new it(Z,M+"leave",j,n,w),R.target=Dt,R.relatedTarget=C,Z=null,Qa(w)===D&&(it=new it(V,M+"enter",W,n,w),it.target=C,it.relatedTarget=Dt,Z=it),Dt=Z,j&&W)e:{for(it=iS,V=j,M=W,C=0,Z=V;Z;Z=it(Z))C++;Z=0;for(var nt=M;nt;nt=it(nt))Z++;for(;0<C-Z;)V=it(V),C--;for(;0<Z-C;)M=it(M),Z--;for(;C--;){if(V===M||M!==null&&V===M.alternate){it=V;break e}V=it(V),M=it(M)}it=null}else it=null;j!==null&&v8(_,R,j,it,!1),W!==null&&Dt!==null&&v8(_,Dt,W,it,!0)}}t:{if(R=D?al(D):window,j=R.nodeName&&R.nodeName.toLowerCase(),j==="select"||j==="input"&&R.type==="file")var Et=Bh;else if(Oh(R))if(wh)Et=p5;else{Et=h5;var et=d5}else j=R.nodeName,!j||j.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?D&&bo(D.elementType)&&(Et=Bh):Et=m5;if(Et&&(Et=Et(t,D))){zh(_,Et,n,w);break t}et&&et(t,R,D),t==="focusout"&&D&&R.type==="number"&&D.memoizedProps.value!=null&&So(R,"number",R.value)}switch(et=D?al(D):window,t){case"focusin":(Oh(et)||et.contentEditable==="true")&&(ai=et,zo=D,dl=null);break;case"focusout":dl=zo=ai=null;break;case"mousedown":Bo=!0;break;case"contextmenu":case"mouseup":case"dragend":Bo=!1,Xh(_,n,w);break;case"selectionchange":if(g5)break;case"keydown":case"keyup":Xh(_,n,w)}var dt;if(Ro)t:{switch(t){case"compositionstart":var vt="onCompositionStart";break t;case"compositionend":vt="onCompositionEnd";break t;case"compositionupdate":vt="onCompositionUpdate";break t}vt=void 0}else ni?Hh(t,n)&&(vt="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(vt="onCompositionStart");vt&&(Ch&&n.locale!=="ko"&&(ni||vt!=="onCompositionStart"?vt==="onCompositionEnd"&&ni&&(dt=Th()):(wn=w,xo="value"in wn?wn.value:wn.textContent,ni=!0)),et=pu(D,vt),0<et.length&&(vt=new Vh(vt,t,null,n,w),_.push({event:vt,listeners:et}),dt?vt.data=dt:(dt=jh(n),dt!==null&&(vt.data=dt)))),(dt=u5?r5(t,n):o5(t,n))&&(vt=pu(D,"onBeforeInput"),0<vt.length&&(et=new Vh("onBeforeInput","beforeinput",null,n,w),_.push({event:et,listeners:vt}),et.data=dt)),tS(_,t,D,n,w)}y8(_,e)})}function Nl(t,e,n){return{instance:t,listener:e,currentTarget:n}}function pu(t,e){for(var n=e+"Capture",l=[];t!==null;){var s=t,o=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||o===null||(s=il(t,n),s!=null&&l.unshift(Nl(t,s,o)),s=il(t,e),s!=null&&l.push(Nl(t,s,o))),t.tag===3)return l;t=t.return}return[]}function iS(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function v8(t,e,n,l,s){for(var o=e._reactName,m=[];n!==null&&n!==l;){var S=n,T=S.alternate,D=S.stateNode;if(S=S.tag,T!==null&&T===l)break;S!==5&&S!==26&&S!==27||D===null||(T=D,s?(D=il(n,o),D!=null&&m.unshift(Nl(n,D,T))):s||(D=il(n,o),D!=null&&m.push(Nl(n,D,T)))),n=n.return}m.length!==0&&t.push({event:e,listeners:m})}var lS=/\r\n?/g,sS=/\u0000|\uFFFD/g;function S8(t){return(typeof t=="string"?t:""+t).replace(lS,`
9
+ `).replace(sS,"")}function b8(t,e){return e=S8(e),S8(t)===e}function Ct(t,e,n,l,s,o){switch(n){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||Ia(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&Ia(t,""+l);break;case"className":Ss(t,"class",l);break;case"tabIndex":Ss(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Ss(t,n,l);break;case"style":bh(t,l,o);break;case"data":if(e!=="object"){Ss(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Es(""+l),t.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(n,"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 o=="function"&&(n==="formAction"?(e!=="input"&&Ct(t,e,"name",s.name,s,null),Ct(t,e,"formEncType",s.formEncType,s,null),Ct(t,e,"formMethod",s.formMethod,s,null),Ct(t,e,"formTarget",s.formTarget,s,null)):(Ct(t,e,"encType",s.encType,s,null),Ct(t,e,"method",s.method,s,null),Ct(t,e,"target",s.target,s,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Es(""+l),t.setAttribute(n,l);break;case"onClick":l!=null&&(t.onclick=rn);break;case"onScroll":l!=null&&yt("scroll",t);break;case"onScrollEnd":l!=null&&yt("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(s.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}n=Es(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""+l):t.removeAttribute(n);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":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":l===!0?t.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,l):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(n,l):t.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(n):t.setAttribute(n,l);break;case"popover":yt("beforetoggle",t),yt("toggle",t),vs(t,"popover",l);break;case"xlinkActuate":un(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":un(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":un(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":un(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":un(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":un(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":un(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":un(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":un(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":vs(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=z3.get(n)||n,vs(t,n,l))}}function s0(t,e,n,l,s,o){switch(n){case"style":bh(t,l,o);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(s.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"children":typeof l=="string"?Ia(t,l):(typeof l=="number"||typeof l=="bigint")&&Ia(t,""+l);break;case"onScroll":l!=null&&yt("scroll",t);break;case"onScrollEnd":l!=null&&yt("scrollend",t);break;case"onClick":l!=null&&(t.onclick=rn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!fh.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),e=n.slice(2,s?n.length-7:void 0),o=t[he]||null,o=o!=null?o[n]:null,typeof o=="function"&&t.removeEventListener(e,o,s),typeof l=="function")){typeof o!="function"&&o!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,l,s);break t}n in t?t[n]=l:l===!0?t.setAttribute(n,""):vs(t,n,l)}}}function se(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":yt("error",t),yt("load",t);var l=!1,s=!1,o;for(o in n)if(n.hasOwnProperty(o)){var m=n[o];if(m!=null)switch(o){case"src":l=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:Ct(t,e,o,m,n,null)}}s&&Ct(t,e,"srcSet",n.srcSet,n,null),l&&Ct(t,e,"src",n.src,n,null);return;case"input":yt("invalid",t);var S=o=m=s=null,T=null,D=null;for(l in n)if(n.hasOwnProperty(l)){var w=n[l];if(w!=null)switch(l){case"name":s=w;break;case"type":m=w;break;case"checked":T=w;break;case"defaultChecked":D=w;break;case"value":o=w;break;case"defaultValue":S=w;break;case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(c(137,e));break;default:Ct(t,e,l,w,n,null)}}yh(t,o,S,T,D,m,s,!1);return;case"select":yt("invalid",t),l=m=o=null;for(s in n)if(n.hasOwnProperty(s)&&(S=n[s],S!=null))switch(s){case"value":o=S;break;case"defaultValue":m=S;break;case"multiple":l=S;default:Ct(t,e,s,S,n,null)}e=o,n=m,t.multiple=!!l,e!=null?Wa(t,!!l,e,!1):n!=null&&Wa(t,!!l,n,!0);return;case"textarea":yt("invalid",t),o=s=l=null;for(m in n)if(n.hasOwnProperty(m)&&(S=n[m],S!=null))switch(m){case"value":l=S;break;case"defaultValue":s=S;break;case"children":o=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(c(91));break;default:Ct(t,e,m,S,n,null)}vh(t,l,s,o);return;case"option":for(T in n)if(n.hasOwnProperty(T)&&(l=n[T],l!=null))switch(T){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Ct(t,e,T,l,n,null)}return;case"dialog":yt("beforetoggle",t),yt("toggle",t),yt("cancel",t),yt("close",t);break;case"iframe":case"object":yt("load",t);break;case"video":case"audio":for(l=0;l<wl.length;l++)yt(wl[l],t);break;case"image":yt("error",t),yt("load",t);break;case"details":yt("toggle",t);break;case"embed":case"source":case"link":yt("error",t),yt("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(D in n)if(n.hasOwnProperty(D)&&(l=n[D],l!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:Ct(t,e,D,l,n,null)}return;default:if(bo(e)){for(w in n)n.hasOwnProperty(w)&&(l=n[w],l!==void 0&&s0(t,e,w,l,n,void 0));return}}for(S in n)n.hasOwnProperty(S)&&(l=n[S],l!=null&&Ct(t,e,S,l,n,null))}function uS(t,e,n,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,o=null,m=null,S=null,T=null,D=null,w=null;for(j in n){var _=n[j];if(n.hasOwnProperty(j)&&_!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":T=_;default:l.hasOwnProperty(j)||Ct(t,e,j,null,l,_)}}for(var R in l){var j=l[R];if(_=n[R],l.hasOwnProperty(R)&&(j!=null||_!=null))switch(R){case"type":o=j;break;case"name":s=j;break;case"checked":D=j;break;case"defaultChecked":w=j;break;case"value":m=j;break;case"defaultValue":S=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(c(137,e));break;default:j!==_&&Ct(t,e,R,j,l,_)}}vo(t,m,S,T,D,w,o,s);return;case"select":j=m=S=R=null;for(o in n)if(T=n[o],n.hasOwnProperty(o)&&T!=null)switch(o){case"value":break;case"multiple":j=T;default:l.hasOwnProperty(o)||Ct(t,e,o,null,l,T)}for(s in l)if(o=l[s],T=n[s],l.hasOwnProperty(s)&&(o!=null||T!=null))switch(s){case"value":R=o;break;case"defaultValue":S=o;break;case"multiple":m=o;default:o!==T&&Ct(t,e,s,o,l,T)}e=S,n=m,l=j,R!=null?Wa(t,!!n,R,!1):!!l!=!!n&&(e!=null?Wa(t,!!n,e,!0):Wa(t,!!n,n?[]:"",!1));return;case"textarea":j=R=null;for(S in n)if(s=n[S],n.hasOwnProperty(S)&&s!=null&&!l.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:Ct(t,e,S,null,l,s)}for(m in l)if(s=l[m],o=n[m],l.hasOwnProperty(m)&&(s!=null||o!=null))switch(m){case"value":R=s;break;case"defaultValue":j=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(c(91));break;default:s!==o&&Ct(t,e,m,s,l,o)}gh(t,R,j);return;case"option":for(var W in n)if(R=n[W],n.hasOwnProperty(W)&&R!=null&&!l.hasOwnProperty(W))switch(W){case"selected":t.selected=!1;break;default:Ct(t,e,W,null,l,R)}for(T in l)if(R=l[T],j=n[T],l.hasOwnProperty(T)&&R!==j&&(R!=null||j!=null))switch(T){case"selected":t.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:Ct(t,e,T,R,l,j)}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 it in n)R=n[it],n.hasOwnProperty(it)&&R!=null&&!l.hasOwnProperty(it)&&Ct(t,e,it,null,l,R);for(D in l)if(R=l[D],j=n[D],l.hasOwnProperty(D)&&R!==j&&(R!=null||j!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(c(137,e));break;default:Ct(t,e,D,R,l,j)}return;default:if(bo(e)){for(var Dt in n)R=n[Dt],n.hasOwnProperty(Dt)&&R!==void 0&&!l.hasOwnProperty(Dt)&&s0(t,e,Dt,void 0,l,R);for(w in l)R=l[w],j=n[w],!l.hasOwnProperty(w)||R===j||R===void 0&&j===void 0||s0(t,e,w,R,l,j);return}}for(var V in n)R=n[V],n.hasOwnProperty(V)&&R!=null&&!l.hasOwnProperty(V)&&Ct(t,e,V,null,l,R);for(_ in l)R=l[_],j=n[_],!l.hasOwnProperty(_)||R===j||R==null&&j==null||Ct(t,e,_,R,l,j)}function E8(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function rS(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var s=n[l],o=s.transferSize,m=s.initiatorType,S=s.duration;if(o&&S&&E8(m)){for(m=0,S=s.responseEnd,l+=1;l<n.length;l++){var T=n[l],D=T.startTime;if(D>S)break;var w=T.transferSize,_=T.initiatorType;w&&E8(_)&&(T=T.responseEnd,m+=w*(T<S?1:(S-D)/(T-D)))}if(--l,e+=8*(o+m)/(s.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}var u0=null,r0=null;function yu(t){return t.nodeType===9?t:t.ownerDocument}function A8(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function T8(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function o0(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}var c0=null;function oS(){var t=window.event;return t&&t.type==="popstate"?t===c0?!1:(c0=t,!0):(c0=null,!1)}var M8=typeof setTimeout=="function"?setTimeout:void 0,cS=typeof clearTimeout=="function"?clearTimeout:void 0,x8=typeof Promise=="function"?Promise:void 0,fS=typeof queueMicrotask=="function"?queueMicrotask:typeof x8<"u"?function(t){return x8.resolve(null).then(t).catch(dS)}:M8;function dS(t){setTimeout(function(){throw t})}function In(t){return t==="head"}function V8(t,e){var n=e,l=0;do{var s=n.nextSibling;if(t.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"||n==="/&"){if(l===0){t.removeChild(s),Ri(e);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")Zl(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,Zl(n);for(var o=n.firstChild;o;){var m=o.nextSibling,S=o.nodeName;o[nl]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&o.rel.toLowerCase()==="stylesheet"||n.removeChild(o),o=m}}else n==="body"&&Zl(t.ownerDocument.body);n=s}while(n);Ri(e)}function L8(t,e){var n=t;t=0;do{var l=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=l}while(n)}function f0(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":f0(n),yo(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function hS(t,e,n,l){for(;t.nodeType===1;){var s=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[nl])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(o!==s.rel||t.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||t.getAttribute("title")!==(s.title==null?null:s.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(o=t.getAttribute("src"),(o!==(s.src==null?null:s.src)||t.getAttribute("type")!==(s.type==null?null:s.type)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var o=s.name==null?null:""+s.name;if(s.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;if(t=Ye(t.nextSibling),t===null)break}return null}function mS(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Ye(t.nextSibling),t===null))return null;return t}function C8(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ye(t.nextSibling),t===null))return null;return t}function d0(t){return t.data==="$?"||t.data==="$~"}function h0(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function pS(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var l=function(){e(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Ye(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==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var m0=null;function D8(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return Ye(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function R8(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function H8(t,e,n){switch(e=yu(n),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function Zl(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);yo(t)}var Xe=new Map,j8=new Set;function gu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Mn=X.d;X.d={f:yS,r:gS,D:vS,C:SS,L:bS,m:ES,X:TS,S:AS,M:MS};function yS(){var t=Mn.f(),e=ru();return t||e}function gS(t){var e=Pa(t);e!==null&&e.tag===5&&e.type==="form"?Pm(e):Mn.r(t)}var Li=typeof document>"u"?null:document;function O8(t,e,n){var l=Li;if(l&&typeof e=="string"&&e){var s=we(e);s='link[rel="'+t+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),j8.has(s)||(j8.add(s),t={rel:t,crossOrigin:n,href:e},l.querySelector(s)===null&&(e=l.createElement("link"),se(e,"link",t),It(e),l.head.appendChild(e)))}}function vS(t){Mn.D(t),O8("dns-prefetch",t,null)}function SS(t,e){Mn.C(t,e),O8("preconnect",t,e)}function bS(t,e,n){Mn.L(t,e,n);var l=Li;if(l&&t&&e){var s='link[rel="preload"][as="'+we(e)+'"]';e==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+we(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+we(n.imageSizes)+'"]')):s+='[href="'+we(t)+'"]';var o=s;switch(e){case"style":o=Ci(t);break;case"script":o=Di(t)}Xe.has(o)||(t=E({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Xe.set(o,t),l.querySelector(s)!==null||e==="style"&&l.querySelector(Ul(o))||e==="script"&&l.querySelector(_l(o))||(e=l.createElement("link"),se(e,"link",t),It(e),l.head.appendChild(e)))}}function ES(t,e){Mn.m(t,e);var n=Li;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",s='link[rel="modulepreload"][as="'+we(l)+'"][href="'+we(t)+'"]',o=s;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Di(t)}if(!Xe.has(o)&&(t=E({rel:"modulepreload",href:t},e),Xe.set(o,t),n.querySelector(s)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(_l(o)))return}l=n.createElement("link"),se(l,"link",t),It(l),n.head.appendChild(l)}}}function AS(t,e,n){Mn.S(t,e,n);var l=Li;if(l&&t){var s=Ja(l).hoistableStyles,o=Ci(t);e=e||"default";var m=s.get(o);if(!m){var S={loading:0,preload:null};if(m=l.querySelector(Ul(o)))S.loading=5;else{t=E({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Xe.get(o))&&p0(t,n);var T=m=l.createElement("link");It(T),se(T,"link",t),T._p=new Promise(function(D,w){T.onload=D,T.onerror=w}),T.addEventListener("load",function(){S.loading|=1}),T.addEventListener("error",function(){S.loading|=2}),S.loading|=4,vu(m,e,l)}m={type:"stylesheet",instance:m,count:1,state:S},s.set(o,m)}}}function TS(t,e){Mn.X(t,e);var n=Li;if(n&&t){var l=Ja(n).hoistableScripts,s=Di(t),o=l.get(s);o||(o=n.querySelector(_l(s)),o||(t=E({src:t,async:!0},e),(e=Xe.get(s))&&y0(t,e),o=n.createElement("script"),It(o),se(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(s,o))}}function MS(t,e){Mn.M(t,e);var n=Li;if(n&&t){var l=Ja(n).hoistableScripts,s=Di(t),o=l.get(s);o||(o=n.querySelector(_l(s)),o||(t=E({src:t,async:!0,type:"module"},e),(e=Xe.get(s))&&y0(t,e),o=n.createElement("script"),It(o),se(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(s,o))}}function z8(t,e,n,l){var s=(s=lt.current)?gu(s):null;if(!s)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=Ci(n.href),n=Ja(s).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=Ci(n.href);var o=Ja(s).hoistableStyles,m=o.get(t);if(m||(s=s.ownerDocument||s,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,m),(o=s.querySelector(Ul(t)))&&!o._p&&(m.instance=o,m.state.loading=5),Xe.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Xe.set(t,n),o||xS(s,t,n,m.state))),e&&l===null)throw Error(c(528,""));return m}if(e&&l!==null)throw Error(c(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Di(n),n=Ja(s).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function Ci(t){return'href="'+we(t)+'"'}function Ul(t){return'link[rel="stylesheet"]['+t+"]"}function B8(t){return E({},t,{"data-precedence":t.precedence,precedence:null})}function xS(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),se(e,"link",n),It(e),t.head.appendChild(e))}function Di(t){return'[src="'+we(t)+'"]'}function _l(t){return"script[async]"+t}function w8(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+we(n.href)+'"]');if(l)return e.instance=l,It(l),l;var s=E({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),It(l),se(l,"style",s),vu(l,n.precedence,t),e.instance=l;case"stylesheet":s=Ci(n.href);var o=t.querySelector(Ul(s));if(o)return e.state.loading|=4,e.instance=o,It(o),o;l=B8(n),(s=Xe.get(s))&&p0(l,s),o=(t.ownerDocument||t).createElement("link"),It(o);var m=o;return m._p=new Promise(function(S,T){m.onload=S,m.onerror=T}),se(o,"link",l),e.state.loading|=4,vu(o,n.precedence,t),e.instance=o;case"script":return o=Di(n.src),(s=t.querySelector(_l(o)))?(e.instance=s,It(s),s):(l=n,(s=Xe.get(o))&&(l=E({},n),y0(l,s)),t=t.ownerDocument||t,s=t.createElement("script"),It(s),se(s,"link",l),t.head.appendChild(s),e.instance=s);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,vu(l,n.precedence,t));return e.instance}function vu(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=l.length?l[l.length-1]:null,o=s,m=0;m<l.length;m++){var S=l[m];if(S.dataset.precedence===e)o=S;else if(o!==s)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function p0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function y0(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Su=null;function N8(t,e,n){if(Su===null){var l=new Map,s=Su=new Map;s.set(n,l)}else s=Su,l=s.get(n),l||(l=new Map,s.set(n,l));if(l.has(t))return l;for(l.set(t,null),n=n.getElementsByTagName(t),s=0;s<n.length;s++){var o=n[s];if(!(o[nl]||o[ne]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var m=o.getAttribute(e)||"";m=t+m;var S=l.get(m);S?S.push(o):l.set(m,[o])}}return l}function Z8(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function VS(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function U8(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function LS(t,e,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var s=Ci(l.href),o=e.querySelector(Ul(s));if(o){e=o._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=bu.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=o,It(o);return}o=e.ownerDocument||e,l=B8(l),(s=Xe.get(s))&&p0(l,s),o=o.createElement("link"),It(o);var m=o;m._p=new Promise(function(S,T){m.onload=S,m.onerror=T}),se(o,"link",l),n.instance=o}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=bu.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var g0=0;function CS(t,e){return t.stylesheets&&t.count===0&&Au(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var l=setTimeout(function(){if(t.stylesheets&&Au(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},6e4+e);0<t.imgBytes&&g0===0&&(g0=62500*rS());var s=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Au(t,t.stylesheets),t.unsuspend)){var o=t.unsuspend;t.unsuspend=null,o()}},(t.imgBytes>g0?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(s)}}:null}function bu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Au(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Eu=null;function Au(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Eu=new Map,e.forEach(DS,t),Eu=null,bu.call(t))}function DS(t,e){if(!(e.state.loading&4)){var n=Eu.get(t);if(n)var l=n.get(null);else{n=new Map,Eu.set(t,n);for(var s=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<s.length;o++){var m=s[o];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(n.set(m.dataset.precedence,m),l=m)}l&&n.set(null,l)}s=e.instance,m=s.getAttribute("data-precedence"),o=n.get(m)||l,o===l&&n.set(null,s),n.set(m,s),this.count++,l=bu.bind(this),s.addEventListener("load",l),s.addEventListener("error",l),o?o.parentNode.insertBefore(s,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(s,t.firstChild)),e.state.loading|=4}}var Gl={$$typeof:q,Provider:null,Consumer:null,_currentValue:ot,_currentValue2:ot,_threadCount:0};function RS(t,e,n,l,s,o,m,S,T){this.tag=1,this.containerInfo=t,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=fo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fo(0),this.hiddenUpdates=fo(null),this.identifierPrefix=l,this.onUncaughtError=s,this.onCaughtError=o,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map}function _8(t,e,n,l,s,o,m,S,T,D,w,_){return t=new RS(t,e,n,m,T,D,w,_,S),e=1,o===!0&&(e|=24),o=Ve(3,null,null,e),t.current=o,o.stateNode=t,e=Jo(),e.refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:l,isDehydrated:n,cache:e},tc(o),t}function G8(t){return t?(t=si,t):si}function q8(t,e,n,l,s,o){s=G8(s),l.context===null?l.context=s:l.pendingContext=s,l=qn(e),l.payload={element:n},o=o===void 0?null:o,o!==null&&(l.callback=o),n=Yn(t,l,e),n!==null&&(Se(n,t,e),Sl(n,t,e))}function Y8(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function v0(t,e){Y8(t,e),(t=t.alternate)&&Y8(t,e)}function X8(t){if(t.tag===13||t.tag===31){var e=va(t,67108864);e!==null&&Se(e,t,67108864),v0(t,67108864)}}function k8(t){if(t.tag===13||t.tag===31){var e=He();e=ho(e);var n=va(t,e);n!==null&&Se(n,t,e),v0(t,e)}}var Tu=!0;function HS(t,e,n,l){var s=N.T;N.T=null;var o=X.p;try{X.p=2,S0(t,e,n,l)}finally{X.p=o,N.T=s}}function jS(t,e,n,l){var s=N.T;N.T=null;var o=X.p;try{X.p=8,S0(t,e,n,l)}finally{X.p=o,N.T=s}}function S0(t,e,n,l){if(Tu){var s=b0(l);if(s===null)l0(t,e,l,Mu,n),F8(t,l);else if(zS(s,t,e,n,l))l.stopPropagation();else if(F8(t,l),e&4&&-1<OS.indexOf(t)){for(;s!==null;){var o=Pa(s);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var m=ha(o.pendingLanes);if(m!==0){var S=o;for(S.pendingLanes|=2,S.entangledLanes|=2;m;){var T=1<<31-Me(m);S.entanglements[1]|=T,m&=~T}nn(o),(Tt&6)===0&&(su=Ae()+500,Bl(0))}}break;case 31:case 13:S=va(o,2),S!==null&&Se(S,o,2),ru(),v0(o,2)}if(o=b0(l),o===null&&l0(t,e,l,Mu,n),o===s)break;s=o}s!==null&&l.stopPropagation()}else l0(t,e,l,null,n)}}function b0(t){return t=Ao(t),E0(t)}var Mu=null;function E0(t){if(Mu=null,t=Qa(t),t!==null){var e=d(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=g(e),t!==null)return t;t=null}else if(n===31){if(t=p(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Mu=t,null}function K8(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 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(v3()){case th:return 2;case eh:return 8;case hs:case S3:return 32;case nh:return 268435456;default:return 32}default:return 32}}var A0=!1,ta=null,ea=null,na=null,ql=new Map,Yl=new Map,aa=[],OS="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 F8(t,e){switch(t){case"focusin":case"focusout":ta=null;break;case"dragenter":case"dragleave":ea=null;break;case"mouseover":case"mouseout":na=null;break;case"pointerover":case"pointerout":ql.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yl.delete(e.pointerId)}}function Xl(t,e,n,l,s,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:n,eventSystemFlags:l,nativeEvent:o,targetContainers:[s]},e!==null&&(e=Pa(e),e!==null&&X8(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,s!==null&&e.indexOf(s)===-1&&e.push(s),t)}function zS(t,e,n,l,s){switch(e){case"focusin":return ta=Xl(ta,t,e,n,l,s),!0;case"dragenter":return ea=Xl(ea,t,e,n,l,s),!0;case"mouseover":return na=Xl(na,t,e,n,l,s),!0;case"pointerover":var o=s.pointerId;return ql.set(o,Xl(ql.get(o)||null,t,e,n,l,s)),!0;case"gotpointercapture":return o=s.pointerId,Yl.set(o,Xl(Yl.get(o)||null,t,e,n,l,s)),!0}return!1}function Q8(t){var e=Qa(t.target);if(e!==null){var n=d(e);if(n!==null){if(e=n.tag,e===13){if(e=g(n),e!==null){t.blockedOn=e,rh(t.priority,function(){k8(n)});return}}else if(e===31){if(e=p(n),e!==null){t.blockedOn=e,rh(t.priority,function(){k8(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function xu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=b0(t.nativeEvent);if(n===null){n=t.nativeEvent;var l=new n.constructor(n.type,n);Eo=l,n.target.dispatchEvent(l),Eo=null}else return e=Pa(n),e!==null&&X8(e),t.blockedOn=n,!1;e.shift()}return!0}function P8(t,e,n){xu(t)&&n.delete(e)}function BS(){A0=!1,ta!==null&&xu(ta)&&(ta=null),ea!==null&&xu(ea)&&(ea=null),na!==null&&xu(na)&&(na=null),ql.forEach(P8),Yl.forEach(P8)}function Vu(t,e){t.blockedOn===e&&(t.blockedOn=null,A0||(A0=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,BS)))}var Lu=null;function J8(t){Lu!==t&&(Lu=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){Lu===t&&(Lu=null);for(var e=0;e<t.length;e+=3){var n=t[e],l=t[e+1],s=t[e+2];if(typeof l!="function"){if(E0(l||n)===null)continue;break}var o=Pa(n);o!==null&&(t.splice(e,3),e-=3,bc(o,{pending:!0,data:s,method:n.method,action:l},l,s))}}))}function Ri(t){function e(T){return Vu(T,t)}ta!==null&&Vu(ta,t),ea!==null&&Vu(ea,t),na!==null&&Vu(na,t),ql.forEach(e),Yl.forEach(e);for(var n=0;n<aa.length;n++){var l=aa[n];l.blockedOn===t&&(l.blockedOn=null)}for(;0<aa.length&&(n=aa[0],n.blockedOn===null);)Q8(n),n.blockedOn===null&&aa.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var s=n[l],o=n[l+1],m=s[he]||null;if(typeof o=="function")m||J8(n);else if(m){var S=null;if(o&&o.hasAttribute("formAction")){if(s=o,m=o[he]||null)S=m.formAction;else if(E0(s)!==null)continue}else S=m.action;typeof S=="function"?n[l+1]=S:(n.splice(l,3),l-=3),J8(n)}}}function $8(){function t(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(m){return s=m})},focusReset:"manual",scroll:"manual"})}function e(){s!==null&&(s(),s=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,s=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),s!==null&&(s(),s=null)}}}function T0(t){this._internalRoot=t}Cu.prototype.render=T0.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var n=e.current,l=He();q8(n,l,t,e,null,null)},Cu.prototype.unmount=T0.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;q8(t.current,2,null,t,null,null),ru(),e[Fa]=null}};function Cu(t){this._internalRoot=t}Cu.prototype.unstable_scheduleHydration=function(t){if(t){var e=uh();t={blockedOn:null,target:t,priority:e};for(var n=0;n<aa.length&&e!==0&&e<aa[n].priority;n++);aa.splice(n,0,t),n===0&&Q8(t)}};var W8=u.version;if(W8!=="19.2.1")throw Error(c(527,W8,"19.2.1"));X.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=v(e),t=t!==null?b(t):null,t=t===null?null:t.stateNode,t};var wS={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:N,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Du=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Du.isDisabled&&Du.supportsFiber)try{Ii=Du.inject(wS),Te=Du}catch{}}return Oi.createRoot=function(t,e){if(!h(t))throw Error(c(299));var n=!1,l="",s=l6,o=s6,m=u6;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(s=e.onUncaughtError),e.onCaughtError!==void 0&&(o=e.onCaughtError),e.onRecoverableError!==void 0&&(m=e.onRecoverableError)),e=_8(t,1,!1,null,null,n,l,null,s,o,m,$8),t[Fa]=e.current,i0(t),new T0(e)},Oi.hydrateRoot=function(t,e,n){if(!h(t))throw Error(c(299));var l=!1,s="",o=l6,m=s6,S=u6,T=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(m=n.onCaughtError),n.onRecoverableError!==void 0&&(S=n.onRecoverableError),n.formState!==void 0&&(T=n.formState)),e=_8(t,1,!0,e,n??null,l,s,T,o,m,S,$8),e.context=G8(null),n=e.current,l=He(),l=ho(l),s=qn(l),s.callback=null,Yn(n,s,l),n=l,e.current.lanes=n,el(e,n),nn(e),t[Fa]=e.current,i0(t),new Cu(e)},Oi.version="19.2.1",Oi}var O0;function up(){if(O0)return Hu.exports;O0=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),Hu.exports=sp(),Hu.exports}var rp=up();const op=Hi(rp);var f=Bu();const cp={common:{cancel:"Cancel",auto:"Auto",normal:"Normal",notUse:"Not used",prev:"Previous video",next:"Next video",delayText:"seconds until auto-play",license:"License",play:"Play",pause:"Pause",replay:"Replay",fullOn:"Fullscreen",fullOff:"Exit fullscreen",muteOn:"Mute",muteOff:"Unmute",captionOff:"Turn off captions",captionOn:"Turn on captions",setting:"Settings",live:"LIVE",miniPlayer:"Mini player",isMute:"You are muted.",subtitle:"Subtitles",subtitleNot:"Subtitles not available"},settings:{autoplay:"Autoplay",playbackRate:"Playback speed",captions:"Subtitles",quality:"Quality"},error:{"01":{title:"Cannot play video",desc:"Invalid access. Please check your access_key."},"02":{title:"Cannot play video",desc:"You do not have permission to play this video."},"03":{title:"Authentication Failed",desc:"The network connection is unstable."},"04":{title:"Cannot play video",desc:"The video could not be played."},"05":{title:"Cannot play video",desc:"The license is not valid."},"06":{title:"Cannot play video",desc:"Monthly basic API calls exceeded. Please switch to a paid version."},"07":{title:"Cannot play video",desc:"Unsupported format."},"08":{title:"Cannot play video",desc:"Invalid URL format."},"09":{title:"Cannot play video",desc:"The live stream is OFFLINE."},10:{title:"Cannot play video",desc:"Cannot play DASH video on iOS."},11:{title:"Cannot play video",desc:"Invalid DRM token."},12:{title:"Cannot play video",desc:"Failed to communicate with the DRM license server."},13:{title:"Cannot play video",desc:"FairPlay certificate validation failed."},14:{title:"Cannot play video",desc:"Screen capture / screen recording has been detected."},15:{title:"Player Execution Failed",desc:"Required module was not loaded. (hls.js)"},16:{title:"Player Execution Failed",desc:"Required module was not loaded. (dash.js)"}},alternative:{hour:"hour(s)",minute:"minute(s)",second:"second(s)",after:"In a moment",afterMin:"min",afterHour:"hour",afterDay:"day",startPlay:"Video will start in {timeTxt}.",nextPlay:"Next video will play in {timeTxt} seconds.",afterPlay:"Scheduled"}},fp={common:{cancel:"취소",auto:"자동",normal:"보통",notUse:"사용안함",prev:"이전 동영상",next:"다음 동영상",delayText:"초 뒤 자동재생",license:"라이선스",play:"재생",pause:"일시정지",replay:"다시보기",fullOn:"전체화면",fullOff:"전체화면 해제",muteOn:"음소거",muteOff:"음소거 해제",captionOff:"자막끄기",captionOn:"자막켜기",setting:"설정",live:"실시간",miniPlayer:"미니플레이어",isMute:"음소거 상태입니다.",subtitle:"자막",subtitleNot:"자막 사용 불가"},settings:{autoplay:"자동재생",playbackRate:"재생 속도",captions:"자막",quality:"해상도"},error:{"01":{title:"동영상을 재생할 수 없음",desc:"잘못된 접근입니다. access_key를 확인해주세요."},"02":{title:"동영상을 재생할 수 없음",desc:"동영상을 재생할 권한이 없습니다."},"03":{title:"인증 실패",desc:"네트워크 연결이 원활하지 않습니다."},"04":{title:"동영상을 재생할 수 없음",desc:"동영상을 재생할 수 없습니다."},"05":{title:"동영상을 재생할 수 없음",desc:"라이선스가 유효하지 않습니다."},"06":{title:"동영상을 재생할 수 없음",desc:"월 기본 제공 호출 건수를 초과하였습니다. 유료 버전으로 전환 후 사용 부탁 드립니다."},"07":{title:"동영상을 재생할 수 없음",desc:"지원하지 않는 형식입니다."},"08":{title:"동영상을 재생할 수 없음",desc:"URL 형식이 잘못되었습니다."},"09":{title:"동영상을 재생할 수 없음",desc:"라이브스트림이 OFFLINE 입니다."},10:{title:"동영상을 재생할 수 없음",desc:"iOS에서 Dash 비디오를 재생할 수 없습니다."},11:{title:"동영상을 재생할 수 없음",desc:"DRM 토큰이 잘못되었습니다."},12:{title:"동영상을 재생할 수 없음",desc:"DRM 라이선스 서버와 통신에 실패하였습니다."},13:{title:"동영상을 재생할 수 없음",desc:"FairPlay 인증서 검증에 실패하였습니다."},14:{title:"동영상을 재생할 수 없음",desc:"화면 캡쳐 / 화면 녹화가 감지되었습니다."},15:{title:"플레이어 실행 실패",desc:"필수 모듈이 로드되지 않았습니다. (hls.js)"},16:{title:"플레이어 실행 실패",desc:"필수 모듈이 로드되지 않았습니다. (dash.js)"}},alternative:{hour:"시",minute:"분",second:"초",after:"잠시 ",afterMin:"분 ",afterHour:"시간 ",afterDay:"일 ",startPlay:"{timeTxt} 후 영상이 시작됩니다.",nextPlay:"{timeTxt}초 후 다음 영상이 재생됩니다.",afterPlay:"예정"}},dp={common:{cancel:"キャンセル",auto:"自動",normal:"標準",notUse:"使用しない",prev:"前の動画",next:"次の動画",delayText:"秒後に自動再生",license:"ライセンス",play:"再生",pause:"一時停止",replay:"リプレイ",fullOn:"全画面表示",fullOff:"全画面表示を終了",muteOn:"ミュート",muteOff:"ミュート解除",captionOff:"字幕をオフにする",captionOn:"字幕をオンにする",setting:"設定",live:"ライブ",miniPlayer:"ミニプレーヤー",isMute:"ミュート状態です。",subtitle:"字幕",subtitleNot:"字幕は利用できません"},settings:{autoplay:"自動再生",playbackRate:"再生速度",captions:"字幕",quality:"画質"},error:{"01":{title:"動画を再生できません",desc:"不正なアクセスです。access_keyを確認してください。"},"02":{title:"動画を再生できません",desc:"この動画を再生する権限がありません。"},"03":{title:"認証に失敗しました",desc:"ネットワーク接続が不安定です。"},"04":{title:"動画を再生できません",desc:"動画を再生できませんでした。"},"05":{title:"動画を再生できません",desc:"ライセンスが無効です。"},"06":{title:"動画を再生できません",desc:"月間の基本提供呼び出し回数を超過しました。有料版に切り替えてご利用ください。"},"07":{title:"動画を再生できません",desc:"サポートされていない形式です。"},"08":{title:"動画を再生できません",desc:"URLの形式が正しくありません。"},"09":{title:"動画を再生できません",desc:"ライブストリームはオフラインです。"},10:{title:"動画を再生できません",desc:"iOSではDASHビデオを再生できません。"},11:{title:"動画を再生できません",desc:"DRMトークンが無効です。"},12:{title:"動画を再生できません",desc:"DRMライセンスサーバーとの通信に失敗しました。"},13:{title:"動画を再生できません",desc:"FairPlay証明書の検証に失敗しました。"},14:{title:"動画を再生できません",desc:"画面キャプチャ/画面録画が検出されました。"},15:{title:"プレーヤーの起動に失敗しました",desc:"必須モジュールが読み込まれていません。(hls.js)"},16:{title:"プレーヤーの起動に失敗しました",desc:"必須モジュールが読み込まれていません。(dash.js)"}},alternative:{hour:"時間",minute:"分",second:"秒",after:"しばらくして",afterMin:"分後",afterHour:"時間後",afterDay:"日後",startPlay:"{timeTxt}後に動画が始まります。",nextPlay:"{timeTxt}秒後に次の動画が再生されます。",afterPlay:"予定"}},z0={en:cp,ko:fp,ja:dp},hp=()=>typeof navigator<"u"&&typeof navigator.language<"u";function mp(a){const i=a.split("-")[0];return i in z0?i:"en"}function B0(a){let i="en";a?i=a:hp()&&(i=navigator.language);const u=mp(i);return z0[u]}B0();const pp={AF:"Afghanistan",AX:"Åland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia (Plurinational State of)",BQ:"Bonaire, Sint Eustatius and Saba",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",CV:"Cabo Verde",KH:"Cambodia",CM:"Cameroon",CA:"Canada",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo (Democratic Republic of the)",CK:"Cook Islands",CR:"Costa Rica",CI:"Côte d'Ivoire",HR:"Croatia",CU:"Cuba",CW:"Curaçao",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and McDonald Islands",VA:"Holy See",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran (Islamic Republic of)",IQ:"Iraq",IE:"Ireland",IM:"Isle of Man",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea (Democratic People's Republic of)",KR:"Korea, Republic of",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia (the former Yugoslav Republic of)",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia (Federated States of)",MD:"Moldova (Republic of)",MC:"Monaco",MN:"Mongolia",ME:"Montenegro",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestine, State of",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",BL:"Saint Barthélemy",SH:"Saint Helena, Ascension and Tristan da Cunha",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",MF:"Saint Martin (French part)",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SX:"Sint Maarten (Dutch part)",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",SS:"South Sudan",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States of America",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela (Bolivarian Republic of)",VN:"Viet Nam",VG:"Virgin Islands (British)",VI:"Virgin Islands (U.S.)",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe"},yp={gov:{prod:{log:"https://papi.vpe.gov-ntruss.com/player/maSync",report:"https://log.vpe.gov-ntruss.com/stats"},beta:{log:"https://papi.beta-vpe.gov-ntruss.com/player/maSync",report:"https://log.beta-vpe.gov-ntruss.com/stats"}},pub:{prod:{log:"https://papi.vpe.naverncp.com/player/maSync",report:"https://log.vpe.naverncp.com/stats"},beta:{log:"https://papi.beta-vpe.naverncp.com/player/maSync",report:"https://log.beta-vpe.naverncp.com/stats"}}};let be={video:{},browser:{},device:{},connection:{},screen:{},player_version:"latest",extra:{sessionId:null,playerType:"VPE React Native"},log_type:"vpe",privacy:{cookie_enabled:!0}},Vn={platform:"pub",stage:"prod",sync:!1,syncResult:{}};const gp=new Date().getTime(),w0=()=>{const a=new Date,i=h=>String(h).padStart(2,"0"),u=`${a.getFullYear()}-${i(a.getMonth()+1)}-${i(a.getDate())} ${i(a.getHours())}:${i(a.getMinutes())}:${i(a.getSeconds())}`,r=Math.floor(a.getTime()/1e3),c=new Date().getTime()-gp;return{logDate:u,logDateUnix:r,thisSec:c}};function vp(a){return typeof a=="object"&&a!==null&&!Array.isArray(a)}function Sp(a,i){Object.entries(i).forEach(([u,r])=>{vp(r)?(a[u]||(a[u]={}),Object.entries(r).forEach(([c,h])=>{h!=null&&(a[u][c]=h)})):r!=null&&(a[u]=r)})}function bp(a){const i=[];return a?.r1&&i.push(a.r1),a?.r2&&i.push(a.r2),a?.r3&&i.push(a.r3),i.join(" ")}function Ep(a){try{const i=Vn.syncResult?.geoLocation;i&&(a.address=bp(i),a.isp=i.net||"",a.ip=Vn.syncResult?.ip||"",a.nation=i.country||"")}catch{}}const Ap=async a=>{if(!a)return;const{platform:i,stage:u}=Vn,r=yp[i][u].log;try{const c=await(await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({access_key:a})})).json();Vn.sync=c.result?.sync||!1,Vn.syncResult=c.result||{};const{logDate:h,logDateUnix:d}=w0();return be.extra.logDate=h,be.extra.logDateUnix=d,Vn.syncResult?.geoLocation&&Ep(be.extra),c}catch(c){return console.error("MA config initialization failed:",c),null}};async function Tp(a,i,u,r,c){Vn.platform=a,Vn.stage=i,Sp(be,u),r&&(be.extra.vpePackageId=r),c&&(be.extra.vpeKey=c),be.extra.nation?be.browser.country=pp[be.extra.nation]||"Korea, Republic of":be.browser.country="Korea, Republic of";const{logDate:h,logDateUnix:d}=w0();be.extra.logDate=h,be.extra.logDateUnix=d,be.extra.created_at=d}const Mp=(a={})=>{const i={autostart:!0,muted:!1,aspectRatio:"16/9",objectFit:"contain",controls:!0,keyboardShortcut:!1,startMutedInfoNotVisible:!1,allowsPictureInPicture:!1,staysActiveInBackground:!1,screenRecordingPrevention:!1,modalFullscreen:!1,lang:"ko",ui:"all",controlBtn:{play:!0,fullscreen:!0,progressBar:!0,volume:!1,times:!0,pictureInPicture:!0,setting:!0,subtitle:!0},progressBarColor:"#4299f5",controlActiveTime:3e3,playRateSetting:[.5,.75,1,1.5,2],autoPause:!1,repeat:!1,setStartTime:void 0,playIndex:0,lowLatencyMode:!0,touchGestures:!0,descriptionNotVisible:!1,devTestAppId:void 0,token:"",visibleWatermark:!1,watermarkText:"NAVER CLOUD PLATFORM",watermarkConfig:{randPosition:!0,randPositionInterVal:3e3,x:10,y:10,opacity:.5},captionStyle:{fontSize:12,color:"#ffffff",backgroundColor:"rgba(0, 0, 0, 0.4)",edgeStyle:"dropshadow"},override:null},u={...i,...a};return a.controlBtn&&(u.controlBtn={...i.controlBtn,...a.controlBtn}),a.watermarkConfig&&(u.watermarkConfig={...i.watermarkConfig,...a.watermarkConfig}),a.captionStyle&&(u.captionStyle={...i.captionStyle,...a.captionStyle}),u.objectFit==="fill"&&(u.objectFit="stretch"),u.controlBtn?.progressBar===void 0&&(u.controlBtn.progressBar=!0),u},xp={gov:{prod:{config:"aHR0cHM6Ly9wYXBpLnZwZS5nb3YtbnRydXNzLmNvbS9wbGF5ZXIvY29uZmln",report:"aHR0cHM6Ly9sb2cudnBlLmdvdi1udHJ1c3MuY29tL3N0YXRz"},beta:{config:"aHR0cHM6Ly9wYXBpLmJldGEtdnBlLmdvdi1udHJ1c3MuY29tL3BsYXllci9jb25maWc=",report:"aHR0cHM6Ly9sb2cuYmV0YS12cGUuZ292LW50cnVzcy5jb20vc3RhdHM="}},pub:{prod:{config:"aHR0cHM6Ly9wYXBpLnZwZS5uYXZlcm5jcC5jb20vcGxheWVyL2NvbmZpZw==",report:"aHR0cHM6Ly9sb2cudnBlLm5hdmVybmNwLmNvbS9zdGF0cw=="},beta:{config:"aHR0cHM6Ly9wYXBpLmJldGEtdnBlLm5hdmVybmNwLmNvbS9wbGF5ZXIvY29uZmln",report:"aHR0cHM6Ly9sb2cuYmV0YS12cGUubmF2ZXJuY3AuY29tL3N0YXRz"}}};let N0=[];const Vp=a=>{try{return atob(a)}catch(i){return console.error("Base64 decoding failed:",i),""}};class Lp{serverConfig={};playerInfo=null;accessKey;appId;platform;stage;isDev;translator;errorState;constructor({accessKey:i,appId:u,platform:r,stage:c,isDev:h=!1,language:d}){this.accessKey=i,this.appId=u||location.origin,this.platform=r,this.stage=c,this.isDev=h,this.translator=B0(d),this.errorState={errorCode:null,errorMessage:null}}async initialize(){const i=["accessKey","appId","E0002","E0001","E0003"],u="VPE Player: accessKey 또는 appId가 없어 키 인증을 건너뜁니다.";if([this[i[0]],this[i[1]]].some(c=>!c))return console.warn(u),{error:this.setErrorRun(i[2])};const r=c=>(this.serverConfig=c,this.playerInfo=this.createPlayerInfo(c),this.playerInfo);try{const c=await this.performKeyCheck();if(c.code!==200)return{error:this.setErrorRun(i[3])};const h=r(c);return await Tp(this.platform,this.stage,h,this.appId,this.accessKey),await Ap(this.accessKey),{options:this.serverConfig.result?.options,playerInfo:h}}catch(c){return console.error("VPE SDK Initialization failed:",c),{error:this.setErrorRun(i[4])}}}async performKeyCheck(){const i=["?preview=true","config","Content-Type","application/json","access_key","domain","POST"],u=this.isDev?i[0]:"",r=Vp(xp[this.platform][this.stage][i[1]])+u,c=JSON.stringify([i[4],i[5]].reduce((d,g,p)=>(d[g]=[this.accessKey,this.appId][p],d),{})),h=await fetch(r,{method:i[6],headers:{[i[2]]:i[3]},body:c});if(!h.ok)throw new Error(["API","Error:",h.status,h.statusText].join(" "));return h.json()}getBrowserInfo(){const i=navigator.userAgent;return/Edg\/(\d+\.\d+)/.test(i)?{origin:"Edge",version:RegExp.$1}:/Chrome\/(\d+\.\d+)/.test(i)&&!i.includes("Edg")?{origin:"Chrome",version:RegExp.$1}:/Firefox\/(\d+\.\d+)/.test(i)?{origin:"Firefox",version:RegExp.$1}:/Version\/(\d+\.\d+)/.test(i)&&i.includes("Safari")?{origin:"Safari",version:RegExp.$1}:{origin:"Unknown",version:"Unknown"}}createPlayerInfo(i){const[u,r]=i.result.name.split("|"),c=navigator.connection||navigator.mozConnection||navigator.webkitConnection,h=this.getBrowserInfo(),d=navigator.userAgentData;return{cid:i.result.cid,player_name:u,player_version:r,pricing:i.result.pricing,maUse:i.result.options?.maUse==="Y"?"Y":"N",browser:{lang:navigator.language,ua:navigator.userAgent},screen:{width:window.screen.width,height:window.screen.height},connection:{network:c?.effectiveType??"unknown",downlink:c?.downlink??null,rtt:c?.rtt??null,save_data:c?.saveData??!1},device:{platform:d?.platform??"Unknown",mobile:d?.mobile??!1,memory:navigator.deviceMemory??null,processor:navigator.hardwareConcurrency??null},video:{url:""},extra:{vpeKey:this.accessKey,playerType:"VPE",playerVersion:r,device:d?.platform??"Unknown",os:d?.platform??"Unknown",osOrigin:d?.platform??"Unknown",osVersion:d?.platformVersion??"Unknown",vpePackageId:this.appId,actionDuration:0,actionType:"ready",browser:h.origin,browserOrigin:h.origin,browserVersion:h.version,protocol:location.protocol,quality:"Other",qualityOrigin:"Auto",host:`${this.appId}&${d?.platform??"Unknown"}&${d?.platformVersion??"Unknown"}`,location:`${this.appId}://appView/video/vpe`,title:""}}}setErrorRun(i){const u=i.slice(-2),r=this.translator.error[u]||this.translator.error["01"],c={errorCode:i,errorMessage:r};return this.errorState=c,console.error("ncplayer : ",c),c}getErrorState(){return this.errorState}isPaidTier(){return this.serverConfig.result?.pricing==="pay"}isInitialized(){return!!this.serverConfig.result}getValidatedOptions(i){const u=Mp(this.serverConfig.result?.options?.options),r={...u,...i??{}};return i?.controlBtn&&(r.controlBtn={...u.controlBtn,...i.controlBtn}),i?.watermarkConfig&&(r.watermarkConfig={...u.watermarkConfig,...i.watermarkConfig}),r.playlist&&!Array.isArray(r.playlist)&&(r.playlist=[{file:r.playlist}]),N0=r.playlist||[],r}getPlaylist(){return N0||[]}$t(i){const u=i.split(".");let r=this.translator;for(const c of u)if(r&&typeof r=="object"&&c in r)r=r[c];else return i;return typeof r=="string"?r:i}}const Nu=new Map;function Cp(a,i){if(Nu.has(a))return Nu.get(a);const r={value:typeof i=="function"?i():i,listeners:new Set};return Nu.set(a,r),r}function Z0(a,i){const u=Cp(a,i),r=g=>(u.listeners.add(g),()=>u.listeners.delete(g)),c=()=>u.value,h=g=>{u.value=typeof g=="function"?g(u.value):g,u.listeners.forEach(p=>p())};return[f.useSyncExternalStore(r,c),h]}const Zu=new Map;function Dp(a,i){if(Zu.has(a))return Zu.get(a);const r={value:typeof i=="function"?i():i,listeners:new Set};return Zu.set(a,r),r}function U0(a,i){const u=Dp(a,i),r=p=>(u.listeners.add(p),()=>u.listeners.delete(p)),c=()=>u.value,h=()=>u.value,d=f.useCallback(p=>{u.value=typeof p=="function"?p(u.value):p,u.listeners.forEach(y=>y())},[u]);return[f.useSyncExternalStore(r,c,h),d]}const Rp="playerState",Hp={isUserTouch:!1,isPlaying:!1,initPlay:!1,isEnded:!1,isMuted:!1,isLive:!1,isDvr:!1,isSeeked:!1,isWaiting:!0,isLoading:!0,hasSubtitle:!1,isPictureInPicture:!1,isSettingModal:!1,isFullscreen:!1,isSubtitle:!0,subTitleIdx:0,currentTime:0,duration:0,buffered:0,bufferedStart:0,bufferedEnd:0,playbackRate:1,isVolume:100,levels:[],currentLevel:-1,isAutoLevel:!0};function fe(){const[a,i]=U0(Rp,Hp),u=f.useCallback(r=>{i(c=>{const h=typeof r=="function"?r(c):r;return{...c,...h}})},[i]);return[a,u]}const jp="playerController",Op={videoEl:null,hls:null};function Ee(){const[a,i]=U0(jp,Op),[u,r]=fe(),c=f.useCallback(q=>{i(z=>({...z,videoEl:q}))},[i]),h=f.useCallback(q=>{i(z=>({...z,hls:q}))},[i]),d=f.useCallback(()=>{r({isUserTouch:!0})},[r]),g=f.useCallback(()=>{const q=a.videoEl;q&&q.paused&&q.play()},[a.videoEl]),p=f.useCallback(()=>{const q=a.videoEl;q&&(q.paused||q.pause())},[a.videoEl]),y=f.useCallback(q=>{const z=a.videoEl;if(!z||Number.isNaN(q))return;const k=Math.max(0,Math.min(q,z.duration||q));z.currentTime=k,r({currentTime:k})},[r,a.videoEl]),v=f.useCallback(q=>{const z=a.videoEl;if(!z||Number.isNaN(q))return;const k=Math.max(0,Math.min(100,q));z.volume=k/100,z.muted=k===0},[a.videoEl]),b=f.useCallback(q=>{const z=a.videoEl;z&&(z.muted=q)},[a.videoEl]),E=f.useCallback(q=>{const z=a.videoEl;if(!z)return;const k=z.textTracks;if(!k||k.length===0)return;const J=Math.max(0,Math.min(u.subTitleIdx??0,k.length-1));for(let K=0;K<k.length;K+=1)k[K].mode=q&&K===J?"showing":"disabled";r({isSubtitle:q})},[u.subTitleIdx,r,a.videoEl]),L=f.useCallback(()=>{const q=a.videoEl;if(!q)return;const z=q.textTracks;if(!z||z.length===0){r({isSubtitle:!1});return}let k=!1;for(let J=0;J<z.length;J+=1)if(z[J].mode==="showing"){k=!0;break}k?localStorage.removeItem("vpeSubtitleEnabled"):localStorage.setItem("vpeSubtitleEnabled","Y"),E(!k)},[r,E,a.videoEl]),O=f.useCallback(q=>{const z=a.videoEl;if(!z)return;const k=Array.from(z.querySelectorAll("track")),J=z.textTracks;if((!J||J.length===0)&&k.length===0){r({isSubtitle:!1}),localStorage.removeItem("vpeSubtitleEnabled");return}const K=k.length>0?k.length-1:J.length-1,I=Math.max(0,Math.min(q,K));if(k.length>0)k.forEach((at,Rt)=>{at.track&&(at.track.mode=Rt===I?"showing":"disabled")});else for(let at=0;at<J.length;at+=1)J[at].mode=at===I?"showing":"disabled";r({isSubtitle:!0,subTitleIdx:I}),localStorage.setItem("vpeSubtitleEnabled","Y")},[r,a.videoEl]),B=f.useCallback(()=>{const q=a.videoEl;q&&(q.muted=!q.muted)},[a.videoEl]),U=f.useCallback(()=>{const q=a.videoEl;q&&(q.paused?g():p())},[p,g,a.videoEl]),H=f.useCallback(q=>{const z=a.hls;if(z){if(q==="auto"){z.currentLevel=-1,r({currentLevel:-1,isAutoLevel:!0});return}z.currentLevel=q,r({currentLevel:q,isAutoLevel:!1})}},[r,a.hls]),Y=f.useCallback(q=>{const z=a.videoEl;z&&(z.playbackRate=q)},[a.videoEl]),Q=f.useCallback(async()=>{const q=a.videoEl;if(!q||typeof document>"u")return;const z=document;if(z.pictureInPictureElement){typeof z.exitPictureInPicture=="function"&&await z.exitPictureInPicture();return}const k=q.requestPictureInPicture;typeof k=="function"&&await k.call(q)},[a.videoEl]);return{videoEl:a.videoEl,hls:a.hls,setVideoElement:c,setHlsInstance:h,play:g,pause:p,seekTo:y,setVolume:v,setMuted:b,setSubtitleEnabled:E,toggleSubtitle:L,toggleMute:B,togglePlay:U,useTouch:d,playBackRate:Y,selectSubTitle:O,selectQualityLevel:H,togglePictureInPicture:Q}}function zp(a,i,u=!1){f.useEffect(()=>{const r=a.current;if(!r)return;const c=()=>{i({isPlaying:!0,initPlay:!0,isEnded:!1})},h=()=>{i({isPlaying:!1})},d=()=>{u||Math.round(r.currentTime)%1==0&&i({currentTime:r.currentTime,duration:r.duration})},g=()=>{if(r.buffered.length>0){const Y=r.buffered.start(0),Q=r.buffered.end(r.buffered.length-1);i({buffered:Q,bufferedStart:Y,bufferedEnd:Q})}},p=()=>{i({isEnded:!0})},y=()=>{i({isSeeked:!0})},v=()=>{setTimeout(()=>{i({isSeeked:!1})},200)},b=()=>{i({isMuted:r.muted,isVolume:Math.round(r.volume*100)})},E=()=>{i({isLoading:!0,isWaiting:!0})},L=()=>{i({isLoading:!1})},O=()=>{i({isLoading:!1})},B=()=>{i({isWaiting:!0})},U=()=>{i({isWaiting:!1,isLoading:!1})},H=()=>{i({isWaiting:!0})};return r.addEventListener("play",c),r.addEventListener("pause",h),r.addEventListener("timeupdate",d),r.addEventListener("ended",p),r.addEventListener("progress",g),r.addEventListener("seeking",y),r.addEventListener("seeked",v),r.addEventListener("volumechange",b),r.addEventListener("loadstart",E),r.addEventListener("loadedmetadata",L),r.addEventListener("loadeddata",O),r.addEventListener("waiting",B),r.addEventListener("playing",U),r.addEventListener("stalled",H),b(),()=>{r.removeEventListener("play",c),r.removeEventListener("pause",h),r.removeEventListener("timeupdate",d),r.removeEventListener("ended",p),r.removeEventListener("progress",g),r.removeEventListener("seeking",y),r.removeEventListener("seeked",v),r.removeEventListener("volumechange",b),r.removeEventListener("loadstart",E),r.removeEventListener("loadedmetadata",L),r.removeEventListener("loadeddata",O),r.removeEventListener("waiting",B),r.removeEventListener("playing",U),r.removeEventListener("stalled",H)}},[u,i,a])}function Bp(a){const i=f.useRef(null),[u,r]=fe(),{setVideoElement:c,setHlsInstance:h}=Ee(),d=a.hlsLib,g=a.options;return f.useEffect(()=>{const p=i.current,y=a?.src?.file;if(!(!p||!y)){if(d?.isSupported?.()){const v=new d({lowLatencyMode:g.lowLatencyMode,liveSyncDuration:g.lowLatencyMode?3:5,backBufferLength:g.lowLatencyMode?30:90,startPosition:-1});h(v),v.attachMedia(p),v.on(d.Events.MEDIA_ATTACHED,()=>{v.loadSource(y)});const b=E=>{if(typeof E?.details?.live=="boolean"){const L=E.details.live,O=E.details.totalduration,B=L&&typeof O=="number"&&Number.isFinite(O)&&O>0;r({isLive:L,isDvr:B})}};return v.on(d.Events.MANIFEST_PARSED,(E,L)=>{b(L);const O=(v.levels??[]).map((B,U)=>({index:U,width:B.width,height:B.height,bitrate:B.bitrate,name:B.name}));r({levels:O,currentLevel:v.currentLevel,isAutoLevel:v.autoLevelEnabled})}),v.on(d.Events.LEVEL_LOADED,(E,L)=>{b(L)}),v.on(d.Events.LEVEL_SWITCHED,(E,L)=>{r({currentLevel:L.level,isAutoLevel:v.autoLevelEnabled})}),v.on(d.Events.ERROR,(E,L)=>{a.onError&&a.onError({evt:E,data:L})}),()=>{h(null),v.destroy()}}p.src=y}},[d,a?.src?.file,a.onError,h,r]),f.useEffect(()=>{const p=i.current;if(!p||d?.isSupported?.())return;const y=()=>{const v=p.duration,b=!Number.isFinite(v)||v===1/0,E=b?Number.isFinite(v)&&v>0:!1;r({isLive:b,isDvr:E})};return p.addEventListener("loadedmetadata",y),p.addEventListener("durationchange",y),y(),()=>{p.removeEventListener("loadedmetadata",y),p.removeEventListener("durationchange",y)}},[d,r]),f.useEffect(()=>(c(i.current),()=>c(null)),[c]),f.useEffect(()=>{const p=i.current;if(!p)return;const y=g?.playbackRate;typeof y=="number"&&(p.playbackRate=y,r({playbackRate:y}))},[g]),f.useEffect(()=>{const p=i.current;if(!p||!a.src?.vtt?.length)return;const y=50,v=16,b=1.2,E=40,O=-Math.max(1,Math.round(y/(v*b))),B=z=>{if(z.cues)for(let k=0;k<z.cues.length;k+=1){const J=z.cues[k];J.line=O,J.lineAlign="center"}},U=z=>{if(!z.cues)return;const k=p.getBoundingClientRect(),J=k.width>0?E*2*100/k.width:0,K=Math.max(10,Math.min(100,100-J));for(let I=0;I<z.cues.length;I+=1){const at=z.cues[I];at.size=K,at.position=50,at.align="center"}},H=z=>{B(z),U(z)},Y=Array.from(p.querySelectorAll("track")),Q=z=>{const k=z.currentTarget;k?.track&&H(k.track)};Y.forEach(z=>{z.addEventListener("load",Q),z.track&&H(z.track)});const q=new ResizeObserver(()=>{Y.forEach(z=>{z.track&&U(z.track)})});return q.observe(p),()=>{Y.forEach(z=>{z.removeEventListener("load",Q)}),q.disconnect()}},[g,a.src?.vtt]),zp(i,r,u.isSeeked),f.useEffect(()=>{const p=a.src?.vtt??[],y=p.length>0,v=p.findIndex(E=>E.default),b=v>=0?v:0;r({hasSubtitle:y,isSubtitle:!1,subTitleIdx:b})},[a.src?.vtt,r]),f.useEffect(()=>{if(!u.isSubtitle)return;const p=i.current;if(!p||!a.src?.vtt?.length)return;const y=new Map,v=[],b=async(L,O)=>{try{const B=await fetch(O,{mode:"cors"});if(!B.ok)return;const U=await B.blob(),H=URL.createObjectURL(U);v.push(H),y.set(L,L.src),L.src=H}catch{}},E=Array.from(p.querySelectorAll("track"));return E.forEach(L=>{L.src&&b(L,L.src)}),()=>{E.forEach(L=>{const O=y.get(L);O&&(L.src=O)}),v.forEach(L=>URL.revokeObjectURL(L))}},[a.src?.vtt,u.subTitleIdx,u.isSubtitle]),f.useEffect(()=>{const p=i.current;if(!p)return;const y=Array.from(p.querySelectorAll("track")),v=p.textTracks;if((!v||v.length===0)&&y.length===0)return;const b=u.subTitleIdx,E=u.isSubtitle,L=()=>{if(y.length>0){y.forEach(B=>{B.track&&(B.default=!1,B.track.mode="disabled")}),y.forEach((B,U)=>{B.track&&E&&U===b&&(B.default=!0,B.track.mode="showing")});return}for(let B=0;B<v.length;B+=1)v[B].mode="disabled";E&&v[b]&&(v[b].mode="showing")};L();const O=()=>{L()};return y.forEach(B=>{B.addEventListener("load",O)}),()=>{y.forEach(B=>{B.removeEventListener("load",O)})}},[u.isSubtitle,u.subTitleIdx,a.src?.vtt]),f.useEffect(()=>{const p=i.current;p&&g.autostart&&p.play().catch(y=>{console.log(y),p.muted=!0,p.play()})},[g.autostart]),f.useEffect(()=>{setTimeout(()=>{if(!i.current)return;const y=localStorage.getItem("vpeSubtitleEnabled");y!==null&&u.hasSubtitle&&r({isSubtitle:!!y})},1e3)},[u.hasSubtitle,r]),A.jsx(A.Fragment,{children:a?.src?.file&&A.jsx("video",{playsInline:!0,ref:i,controls:!1,autoPlay:g?.autostart,muted:g?.muted,loop:g?.repeat,style:{width:"100%",height:"100%",maxHeight:"100%",background:a.src.poster?u.initPlay?"transparent":`url(${a.src.poster}) center / ${g?.objectFit??"contain"} no-repeat`:void 0,objectFit:g?.objectFit??"contain"},children:a.src.vtt?.map(p=>A.jsx("track",{kind:"subtitles",srcLang:p.id,label:p.label,src:p.src,default:p.default},`${p.id}-${p.src}`))})})}function wp(a){return A.jsx(A.Fragment,{children:a?.src?.file&&A.jsx("div",{children:a.src.file})})}function Np(a){return A.jsx(A.Fragment,{children:a?.src?.file&&A.jsx("div",{children:a.src.file})})}function Zp(a){return A.jsx(Bp,{...a})}function Up(a){return A.jsx(wp,{...a})}function _p(a){return A.jsx(Np,{...a})}function Gp(a){const i=f.useRef(null),u=f.useRef(null),r=a.hlsLib;return f.useEffect(()=>{const c=i.current,h=a?.src?.file;if(!(!c||!h)){if(r?.isSupported?.()){const d=new r({startLevel:0,autoLevelCapping:0});return d.attachMedia(c),d.on(r.Events.MEDIA_ATTACHED,()=>{d.loadSource(h)}),d.on(r.Events.MANIFEST_PARSED,()=>{d.currentLevel=0,d.autoLevelEnabled=!1}),d.on(r.Events.ERROR,(g,p)=>{a.onError&&a.onError({evt:g,data:p})}),()=>{d.destroy()}}c.src=h}},[r,a?.src?.file,a.onError]),f.useEffect(()=>{const c=i.current;if(!c||!a.isHovering||typeof a.previewTime!="number")return;u.current=a.previewTime;const h=()=>{const g=u.current;if(typeof g!="number"||Number.isNaN(g))return;const p=c.duration,y=Math.max(0,Math.min(g,Number.isFinite(p)?p:g));Math.abs(c.currentTime-y)>.25&&(c.currentTime=y),c.pause()};if(c.readyState>=1){h();return}const d=()=>h();return c.addEventListener("loadedmetadata",d,{once:!0}),()=>{c.removeEventListener("loadedmetadata",d)}},[a.isHovering,a.previewTime]),A.jsx(A.Fragment,{children:a?.src?.file&&A.jsx("video",{playsInline:!0,ref:i,className:"w-full h-full",controls:!1,autoPlay:!1,muted:!0,preload:"metadata",style:{objectFit:"cover"}})})}function qp(a="(max-width: 768px)"){const[i,u]=f.useState({isMobile:!1,isPortrait:!1});return f.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=window.matchMedia(a),c=window.matchMedia("(orientation: portrait)"),h=()=>u({isMobile:r.matches,isPortrait:c.matches});return h(),r.addEventListener("change",h),c.addEventListener("change",h),()=>{r.removeEventListener("change",h),c.removeEventListener("change",h)}},[a]),i}class Yp{formatTime(i){if(!i)return"00:00";const u=Math.floor(i),r=String(Math.floor(u/3600)).padStart(2,"0"),c=String(Math.floor(u%3600/60)).padStart(2,"0"),h=String(u%60).padStart(2,"0");return r!=="00"?`${r}:${c}:${h}`:`${c}:${h}`}}const Uu=new Yp,Ha=a=>Math.max(0,Math.min(100,a));function _0({color:a="#31ec2a",src:i,hlsLib:u,dashLib:r,options:c,onError:h}){const{isMobile:d}=qp(),[g,p]=fe(),{seekTo:y}=Ee(),[v,b]=f.useState(!1),[E,L]=f.useState(0),[O,B]=f.useState(0),[U,H]=f.useState(null),[Y,Q]=f.useState(null),[q,z]=f.useState(null),k=f.useRef(null),J=f.useRef(null),K=f.useRef(null),I=a||"#31ec2a",at="5px",Rt=g.duration??0,$=Rt>0?Rt:0,ct=$>0?(g.currentTime??0)/$*100:0,Mt=$>0?(g.buffered??0)/$*100:0,mt=!!g.isLive,N=(mt&&Rt>0?Math.abs(Rt-(g.currentTime??0))<30:!1)?100:Ha(E),X=U??ct,ot=Y??X,bt=q??X,Wt=$>0?$*(X/100):0,x=U!==null,G=f.useCallback(ut=>{const lt=k.current;if(!lt)return null;const ht=lt.getBoundingClientRect();if(ht.width<=0)return null;const Jt="clientX"in ut?ut.clientX:0;return Math.min(Math.max(Jt-ht.left,0),ht.width)/ht.width*100},[]),P=f.useCallback(ut=>{const lt=k.current;if(!lt)return;const ht=lt.getBoundingClientRect();if(ht.width<=0)return;const Jt=$i=>{const sn=$i>0?$i/2/ht.width*100:0,da=Math.max(0,Math.min(50,sn)),Wi=Math.max(da,100-da);return{minPercent:da,maxPercent:Wi}},Bt=J.current?.offsetWidth??0,jn=Jt(Bt),On=G(ut);if(On===null)return;H(Ha(On));const Ka=Math.max(jn.minPercent,Math.min(jn.maxPercent,On));z(Ka),Q(Ka)},[G]),tt=f.useCallback(()=>{H(null),Q(null),z(null)},[]);return f.useEffect(()=>{v||(L(ct),B(Mt))},[v,ct,Mt]),A.jsx("div",{className:"seekSliderWrapper",style:{paddingBottom:"5px",paddingTop:"5px"},onMouseMove:P,onMouseLeave:tt,children:A.jsxs("div",{style:{margin:"0px 0px",position:"relative","--seekSliderColor":I,"--seekSliderThumbColor":I,"--rlMargin":at},children:[A.jsx("div",{style:{position:"absolute",top:0,left:"var(--rlMargin)",right:"var(--rlMargin)",bottom:0,display:"flex",alignItems:"center"},ref:k,children:A.jsxs("div",{className:"seekSliderBg",style:{position:"relative",borderRadius:"5px",backgroundColor:"rgba(255,255,255,0.38)",width:"100%"},children:[x&&!g.isLive&&!d&&A.jsx("div",{className:"seekSliderThumbVideo",style:{position:"absolute",aspectRatio:c?.aspectRatio??"16/9",backgroundColor:"#000",border:"1px solid rgba(205,205,205,0.25)",left:`${Ha(bt)}%`,transform:"translateX(-50%)",maxWidth:"160px"},ref:J,children:A.jsx(A.Fragment,{children:u&&A.jsx(Gp,{src:i,hlsLib:u,options:c,onError:h,previewTime:Wt,isHovering:x})})}),x&&!g.isLive&&A.jsx("div",{className:"seekSliderThumbTime",style:{position:"absolute",top:"-30px",left:`${Ha(ot)}%`,transform:"translateX(-50%)",backgroundColor:"rgba(5,5,5,0.36)",color:"#fff",fontSize:"0.7em",padding:"5px 13px",borderRadius:100},ref:K,children:Uu.formatTime(Wt)})]})}),A.jsx("div",{style:{position:"absolute",top:0,left:"var(--rlMargin)",right:"var(--rlMargin)",bottom:0,display:"flex",alignItems:"center",zIndex:0},children:A.jsx("div",{className:"seekSliderBg ",style:{borderRadius:"5px",backgroundColor:"rgba(255,255,255,0.32)",display:"flex",justifyContent:"flex-end",alignItems:"center",width:`${O<1?1:O>98?100:O}%`}})}),A.jsx("div",{style:{position:"absolute",top:0,left:"var(--rlMargin)",right:"var(--rlMargin)",bottom:0,display:"flex",alignItems:"center",zIndex:1},children:A.jsx("div",{className:"seekSliderBg ",style:{borderRadius:"5px",backgroundColor:"var(--seekSliderColor)",display:"flex",justifyContent:"flex-end",alignItems:"center",width:`${N<1?1:N}%`},children:A.jsx("div",{style:{position:"relative"},children:A.jsx("div",{className:"seekSliderThumb",style:{backgroundColor:"var(--seekSliderColor)"}})})})}),A.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,height:"100%",display:"flex",alignItems:"center",zIndex:2},className:"tra200",children:A.jsx("input",{type:"range",style:{width:"calc(100%)"},className:"seekSlider",min:0,max:100,value:N,onPointerDown:ut=>{if(mt)return;p({isSeeked:!0}),b(!0);const lt=G(ut);lt!==null&&L(Ha(lt))},onPointerUp:()=>{if(mt)return;b(!1);const ut=$*(N/100);y(ut)},onChange:ut=>{if(mt)return;const lt=Number(ut.currentTarget.value),ht=Number.isNaN(lt)?0:lt;L(Ha(ht))},disabled:mt||$===0})})]})})}const Xp=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M244,56v48a12,12,0,0,1-12,12H184a12,12,0,1,1,0-24H201.1l-19-17.38c-.13-.12-.26-.24-.38-.37A76,76,0,1,0,127,204h1a75.53,75.53,0,0,0,52.15-20.72,12,12,0,0,1,16.49,17.45A99.45,99.45,0,0,1,128,228h-1.37A100,100,0,1,1,198.51,57.06L220,76.72V56a12,12,0,0,1,24,0Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),f.createElement("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1-5.66-13.66l17-17-10.55-9.65-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,1,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60l10.93,10L226.34,50.3A8,8,0,0,1,240,56Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M238,56v48a6,6,0,0,1-6,6H184a6,6,0,0,1,0-12h32.55l-30.38-27.8c-.06-.06-.12-.13-.19-.19a82,82,0,1,0-1.7,117.65,6,6,0,0,1,8.24,8.73A93.46,93.46,0,0,1,128,222h-1.28A94,94,0,1,1,194.37,61.4L226,90.35V56a6,6,0,1,1,12,0Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M236,56v48a4,4,0,0,1-4,4H184a4,4,0,0,1,0-8h37.7L187.53,68.69l-.13-.12a84,84,0,1,0-1.75,120.51,4,4,0,0,1,5.5,5.82A91.43,91.43,0,0,1,128,220h-1.26A92,92,0,1,1,193,62.84l35,32.05V56a4,4,0,1,1,8,0Z"}))]]),kp=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216.49,56.48,177,96h19a12,12,0,0,1,0,24H148a12,12,0,0,1-12-12V60a12,12,0,0,1,24,0V79l39.51-39.52a12,12,0,0,1,17,17ZM108,136H60a12,12,0,0,0,0,24H79L39.51,199.51a12,12,0,0,0,17,17L96,177v19a12,12,0,0,0,24,0V148A12,12,0,0,0,108,136Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Z",opacity:"0.2"}),f.createElement("path",{d:"M213.66,53.66,163.31,104H192a8,8,0,0,1,0,16H144a8,8,0,0,1-8-8V64a8,8,0,0,1,16,0V92.69l50.34-50.35a8,8,0,0,1,11.32,11.32ZM112,136H64a8,8,0,0,0,0,16H92.69L42.34,202.34a8,8,0,0,0,11.32,11.32L104,163.31V192a8,8,0,0,0,16,0V144A8,8,0,0,0,112,136Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M120,144v48a8,8,0,0,1-13.66,5.66L88,179.31,53.66,213.66a8,8,0,0,1-11.32-11.32L76.69,168,58.34,149.66A8,8,0,0,1,64,136h48A8,8,0,0,1,120,144ZM213.66,42.34a8,8,0,0,0-11.32,0L168,76.69,149.66,58.34A8,8,0,0,0,136,64v48a8,8,0,0,0,8,8h48a8,8,0,0,0,5.66-13.66L179.31,88l34.35-34.34A8,8,0,0,0,213.66,42.34Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M212.24,52.24,158.48,106H192a6,6,0,0,1,0,12H144a6,6,0,0,1-6-6V64a6,6,0,0,1,12,0V97.52l53.76-53.76a6,6,0,0,1,8.48,8.48ZM112,138H64a6,6,0,0,0,0,12H97.52L43.76,203.76a6,6,0,1,0,8.48,8.48L106,158.48V192a6,6,0,0,0,12,0V144A6,6,0,0,0,112,138Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M213.66,53.66,163.31,104H192a8,8,0,0,1,0,16H144a8,8,0,0,1-8-8V64a8,8,0,0,1,16,0V92.69l50.34-50.35a8,8,0,0,1,11.32,11.32ZM112,136H64a8,8,0,0,0,0,16H92.69L42.34,202.34a8,8,0,0,0,11.32,11.32L104,163.31V192a8,8,0,0,0,16,0V144A8,8,0,0,0,112,136Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M210.83,50.83,153.66,108H192a4,4,0,0,1,0,8H144a4,4,0,0,1-4-4V64a4,4,0,0,1,8,0v38.34l57.17-57.17a4,4,0,1,1,5.66,5.66ZM112,140H64a4,4,0,0,0,0,8h38.34L45.17,205.17a4,4,0,0,0,5.66,5.66L108,153.66V192a4,4,0,0,0,8,0V144A4,4,0,0,0,112,140Z"}))]]),Kp=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M220,48V96a12,12,0,0,1-24,0V77l-39.51,39.52a12,12,0,0,1-17-17L179,60H160a12,12,0,0,1,0-24h48A12,12,0,0,1,220,48ZM99.51,139.51,60,179V160a12,12,0,0,0-24,0v48a12,12,0,0,0,12,12H96a12,12,0,0,0,0-24H77l39.52-39.51a12,12,0,0,0-17-17Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Z",opacity:"0.2"}),f.createElement("path",{d:"M216,48V96a8,8,0,0,1-16,0V67.31l-50.34,50.35a8,8,0,0,1-11.32-11.32L188.69,56H160a8,8,0,0,1,0-16h48A8,8,0,0,1,216,48ZM106.34,138.34,56,188.69V160a8,8,0,0,0-16,0v48a8,8,0,0,0,8,8H96a8,8,0,0,0,0-16H67.31l50.35-50.34a8,8,0,0,0-11.32-11.32Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M117.66,138.34a8,8,0,0,1,0,11.32L83.31,184l18.35,18.34A8,8,0,0,1,96,216H48a8,8,0,0,1-8-8V160a8,8,0,0,1,13.66-5.66L72,172.69l34.34-34.35A8,8,0,0,1,117.66,138.34ZM208,40H160a8,8,0,0,0-5.66,13.66L172.69,72l-34.35,34.34a8,8,0,0,0,11.32,11.32L184,83.31l18.34,18.35A8,8,0,0,0,216,96V48A8,8,0,0,0,208,40Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M214,48V96a6,6,0,0,1-12,0V62.48l-53.76,53.76a6,6,0,0,1-8.48-8.48L193.52,54H160a6,6,0,0,1,0-12h48A6,6,0,0,1,214,48ZM107.76,139.76,54,193.52V160a6,6,0,0,0-12,0v48a6,6,0,0,0,6,6H96a6,6,0,0,0,0-12H62.48l53.76-53.76a6,6,0,0,0-8.48-8.48Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,48V96a8,8,0,0,1-16,0V67.31l-50.34,50.35a8,8,0,0,1-11.32-11.32L188.69,56H160a8,8,0,0,1,0-16h48A8,8,0,0,1,216,48ZM106.34,138.34,56,188.69V160a8,8,0,0,0-16,0v48a8,8,0,0,0,8,8H96a8,8,0,0,0,0-16H67.31l50.35-50.34a8,8,0,0,0-11.32-11.32Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M212,48V96a4,4,0,0,1-8,0V57.66l-57.17,57.17a4,4,0,0,1-5.66-5.66L198.34,52H160a4,4,0,0,1,0-8h48A4,4,0,0,1,212,48ZM109.17,141.17,52,198.34V160a4,4,0,0,0-8,0v48a4,4,0,0,0,4,4H96a4,4,0,0,0,0-8H57.66l57.17-57.17a4,4,0,0,0-5.66-5.66Z"}))]]),Fp=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M204.4,51.6a108,108,0,1,0,0,152.8A108.16,108.16,0,0,0,204.4,51.6Zm-17,135.82a84,84,0,1,1,0-118.84A84.12,84.12,0,0,1,187.42,187.42Zm-58.93-67.91a12,12,0,0,1,0,17l-32,32a12,12,0,0,1-17-17L103,128,79.49,104.47a12,12,0,1,1,17-17Zm56,17-32,32a12,12,0,0,1-17-17L159,128l-23.52-23.53a12,12,0,1,1,17-17l32,32A12,12,0,0,1,184.51,136.49Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M195.88,195.88a96,96,0,1,1,0-135.76A96,96,0,0,1,195.88,195.88Z",opacity:"0.2"}),f.createElement("path",{d:"M201.54,54.46A104,104,0,0,0,54.46,201.54,104,104,0,0,0,201.54,54.46ZM190.23,190.23a88,88,0,1,1,0-124.46A88.11,88.11,0,0,1,190.23,190.23Zm-64.57-67.89a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L108.69,128,82.34,101.66A8,8,0,0,1,93.66,90.34Zm56,0a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L164.69,128l-26.35-26.34a8,8,0,0,1,11.32-11.32Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M201.57,54.42a104,104,0,1,0,0,147.15A104.17,104.17,0,0,0,201.57,54.42Zm-75.91,79.24-32,32a8,8,0,1,1-11.32-11.32L108.68,128,82.32,101.64A8,8,0,1,1,93.64,90.32l32,32A8,8,0,0,1,125.66,133.66Zm56,0-32,32a8,8,0,0,1-11.32-11.32L164.71,128l-26.36-26.36a8,8,0,1,1,11.32-11.32l32,32A8,8,0,0,1,181.68,133.66Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M200.12,55.87A102,102,0,0,0,55.87,200.12,102,102,0,1,0,200.12,55.87Zm-8.48,135.77a90,90,0,1,1,0-127.28A90.1,90.1,0,0,1,191.64,191.64Zm-67.4-67.88a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48-8.48L111.51,128,83.76,100.24a6,6,0,0,1,8.48-8.48Zm56,0a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48-8.48L167.51,128l-27.75-27.76a6,6,0,0,1,8.48-8.48Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M201.54,54.46A104,104,0,0,0,54.46,201.54,104,104,0,0,0,201.54,54.46ZM190.23,190.23a88,88,0,1,1,0-124.46A88.11,88.11,0,0,1,190.23,190.23Zm-64.57-67.89a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L108.69,128,82.34,101.66A8,8,0,0,1,93.66,90.34Zm56,0a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L164.69,128l-26.35-26.34a8,8,0,0,1,11.32-11.32Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M198.71,57.29A100,100,0,1,0,57.29,198.71,100,100,0,1,0,198.71,57.29Zm-5.66,135.76A92,92,0,1,1,220,128,91.37,91.37,0,0,1,193.05,193.05Zm-70.22-67.88a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66-5.66L114.34,128,85.17,98.83a4,4,0,0,1,5.66-5.66Zm56,0a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66-5.66L170.34,128,141.17,98.83a4,4,0,0,1,5.66-5.66Z"}))]]),Qp=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),f.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),Pp=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),f.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),Jp=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),f.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),$p=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,44H32A20,20,0,0,0,12,64V192a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V64A20,20,0,0,0,224,44Zm-4,144H36V68H220ZM52,128a44,44,0,0,1,66-38.11,12,12,0,0,1-12,20.78,20,20,0,1,0,0,34.66,12,12,0,1,1,12,20.77A44,44,0,0,1,52,128Zm80,0a44,44,0,0,1,66-38.11,12,12,0,0,1-12,20.78,20,20,0,1,0,0,34.66,12,12,0,1,1,12,20.77A44,44,0,0,1,132,128Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M232,64V192a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H224A8,8,0,0,1,232,64Z",opacity:"0.2"}),f.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,144H32V64H224V192ZM118.93,151.71A8,8,0,0,1,116,162.64a40,40,0,1,1,0-69.28,8,8,0,1,1-8,13.85,24,24,0,1,0,0,41.58A8,8,0,0,1,118.93,151.71Zm80,0A8,8,0,0,1,196,162.64a40,40,0,1,1,0-69.28,8,8,0,1,1-8,13.85,24,24,0,1,0,0,41.58A8,8,0,0,1,198.93,151.71Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM116,162.64a40,40,0,1,1,0-69.28,8,8,0,1,1-8,13.85,24,24,0,1,0,0,41.58,8,8,0,0,1,8,13.85Zm80,0a40,40,0,1,1,0-69.28,8,8,0,1,1-8,13.85,24,24,0,1,0,0,41.58,8,8,0,0,1,8,13.85Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,50H32A14,14,0,0,0,18,64V192a14,14,0,0,0,14,14H224a14,14,0,0,0,14-14V64A14,14,0,0,0,224,50Zm2,142a2,2,0,0,1-2,2H32a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H224a2,2,0,0,1,2,2ZM117.19,152.71a6,6,0,0,1-2.19,8.2,38,38,0,1,1,0-65.82,6,6,0,1,1-6,10.38,26,26,0,1,0,0,45.05A6,6,0,0,1,117.19,152.71Zm80,0a6,6,0,0,1-2.19,8.2,38,38,0,1,1,0-65.82,6,6,0,1,1-6,10.38,26,26,0,1,0,0,45.05A6,6,0,0,1,197.19,152.71Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,144H32V64H224V192ZM118.92,151.71A8,8,0,0,1,116,162.64a40,40,0,1,1,0-69.28,8,8,0,1,1-8,13.85,24,24,0,1,0,0,41.58A8,8,0,0,1,118.92,151.71Zm80,0A8,8,0,0,1,196,162.64a40,40,0,1,1,0-69.28,8,8,0,1,1-8,13.85,24,24,0,1,0,0,41.58A8,8,0,0,1,198.92,151.71Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,52H32A12,12,0,0,0,20,64V192a12,12,0,0,0,12,12H224a12,12,0,0,0,12-12V64A12,12,0,0,0,224,52Zm4,140a4,4,0,0,1-4,4H32a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H224a4,4,0,0,1,4,4ZM115.46,153.71a4,4,0,0,1-1.46,5.47,36,36,0,1,1,0-62.36,4,4,0,0,1-4,6.92,28,28,0,1,0,0,48.52A4,4,0,0,1,115.46,153.71Zm80,0a4,4,0,0,1-1.46,5.47,36,36,0,1,1,0-62.36,4,4,0,0,1-4,6.92,28,28,0,1,0,0,48.52A4,4,0,0,1,195.46,153.71Z"}))]]),Wp=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M140,124v92a12,12,0,0,1-24,0V124a12,12,0,0,1,24,0Zm60,68a12,12,0,0,0-12,12v12a12,12,0,0,0,24,0V204A12,12,0,0,0,200,192Zm24-40H212V40a12,12,0,0,0-24,0V152H176a12,12,0,0,0,0,24h48a12,12,0,0,0,0-24ZM56,160a12,12,0,0,0-12,12v44a12,12,0,0,0,24,0V172A12,12,0,0,0,56,160Zm24-40H68V40a12,12,0,0,0-24,0v80H32a12,12,0,0,0,0,24H80a12,12,0,0,0,0-24Zm72-48H140V40a12,12,0,0,0-24,0V72H104a12,12,0,0,0,0,24h48a12,12,0,0,0,0-24Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M200,40V216H56V40Z",opacity:"0.2"}),f.createElement("path",{d:"M136,120v96a8,8,0,0,1-16,0V120a8,8,0,0,1,16,0Zm64,72a8,8,0,0,0-8,8v16a8,8,0,0,0,16,0V200A8,8,0,0,0,200,192Zm24-32H208V40a8,8,0,0,0-16,0V160H176a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16ZM56,160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168A8,8,0,0,0,56,160Zm24-32H64V40a8,8,0,0,0-16,0v88H32a8,8,0,0,0,0,16H80a8,8,0,0,0,0-16Zm72-48H136V40a8,8,0,0,0-16,0V80H104a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M136,120v96a8,8,0,0,1-16,0V120a8,8,0,0,1,16,0Zm64,72a8,8,0,0,0-8,8v16a8,8,0,0,0,16,0V200A8,8,0,0,0,200,192Zm24-48H208V40a8,8,0,0,0-16,0V144H176a8,8,0,0,0-8,8v16a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,224,144ZM56,160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168A8,8,0,0,0,56,160Zm24-48H64V40a8,8,0,0,0-16,0v72H32a8,8,0,0,0-8,8v16a8,8,0,0,0,8,8H80a8,8,0,0,0,8-8V120A8,8,0,0,0,80,112Zm72-48H136V40a8,8,0,0,0-16,0V64H104a8,8,0,0,0-8,8V88a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V72A8,8,0,0,0,152,64Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M134,120v96a6,6,0,0,1-12,0V120a6,6,0,0,1,12,0Zm66,74a6,6,0,0,0-6,6v16a6,6,0,0,0,12,0V200A6,6,0,0,0,200,194Zm24-32H206V40a6,6,0,0,0-12,0V162H176a6,6,0,0,0,0,12h48a6,6,0,0,0,0-12ZM56,162a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V168A6,6,0,0,0,56,162Zm24-32H62V40a6,6,0,0,0-12,0v90H32a6,6,0,0,0,0,12H80a6,6,0,0,0,0-12Zm72-48H134V40a6,6,0,0,0-12,0V82H104a6,6,0,0,0,0,12h48a6,6,0,0,0,0-12Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M136,120v96a8,8,0,0,1-16,0V120a8,8,0,0,1,16,0Zm64,72a8,8,0,0,0-8,8v16a8,8,0,0,0,16,0V200A8,8,0,0,0,200,192Zm24-32H208V40a8,8,0,0,0-16,0V160H176a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16ZM56,160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168A8,8,0,0,0,56,160Zm24-32H64V40a8,8,0,0,0-16,0v88H32a8,8,0,0,0,0,16H80a8,8,0,0,0,0-16Zm72-48H136V40a8,8,0,0,0-16,0V80H104a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M132,120v96a4,4,0,0,1-8,0V120a4,4,0,0,1,8,0Zm68,76a4,4,0,0,0-4,4v16a4,4,0,0,0,8,0V200A4,4,0,0,0,200,196Zm24-32H204V40a4,4,0,0,0-8,0V164H176a4,4,0,0,0,0,8h48a4,4,0,0,0,0-8ZM56,164a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V168A4,4,0,0,0,56,164Zm24-32H60V40a4,4,0,0,0-8,0v92H32a4,4,0,0,0,0,8H80a4,4,0,0,0,0-8Zm72-48H132V40a4,4,0,0,0-8,0V84H104a4,4,0,0,0,0,8h48a4,4,0,0,0,0-8Z"}))]]),Ip=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),f.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z"}))]]),t4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M200,28H160a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20h40a20,20,0,0,0,20-20V48A20,20,0,0,0,200,28Zm-4,176H164V52h32ZM96,28H56A20,20,0,0,0,36,48V208a20,20,0,0,0,20,20H96a20,20,0,0,0,20-20V48A20,20,0,0,0,96,28ZM92,204H60V52H92Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M208,48V208a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8h40A8,8,0,0,1,208,48ZM96,40H56a8,8,0,0,0-8,8V208a8,8,0,0,0,8,8H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z",opacity:"0.2"}),f.createElement("path",{d:"M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,48V208a16,16,0,0,1-16,16H160a16,16,0,0,1-16-16V48a16,16,0,0,1,16-16h40A16,16,0,0,1,216,48ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M200,34H160a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14h40a14,14,0,0,0,14-14V48A14,14,0,0,0,200,34Zm2,174a2,2,0,0,1-2,2H160a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2h40a2,2,0,0,1,2,2ZM96,34H56A14,14,0,0,0,42,48V208a14,14,0,0,0,14,14H96a14,14,0,0,0,14-14V48A14,14,0,0,0,96,34Zm2,174a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H96a2,2,0,0,1,2,2Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M200,32H160a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16h40a16,16,0,0,0,16-16V48A16,16,0,0,0,200,32Zm0,176H160V48h40ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Zm0,176H56V48H96Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M200,36H160a12,12,0,0,0-12,12V208a12,12,0,0,0,12,12h40a12,12,0,0,0,12-12V48A12,12,0,0,0,200,36Zm4,172a4,4,0,0,1-4,4H160a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4h40a4,4,0,0,1,4,4ZM96,36H56A12,12,0,0,0,44,48V208a12,12,0,0,0,12,12H96a12,12,0,0,0,12-12V48A12,12,0,0,0,96,36Zm4,172a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H96a4,4,0,0,1,4,4Z"}))]]),e4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,44H40A20,20,0,0,0,20,64V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V64A20,20,0,0,0,216,44ZM44,68H212v48H136a12,12,0,0,0-12,12v60H44ZM148,188V140h64v48Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M224,64v64H136v72H40a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H216A8,8,0,0,1,224,64Z",opacity:"0.2"}),f.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,64H216v56H136a8,8,0,0,0-8,8v64H40ZM216,192H144V136h72v56Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48Zm0,144H136V128h80v64Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,50H40A14,14,0,0,0,26,64V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V64A14,14,0,0,0,216,50ZM38,192V64a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2v58H136a6,6,0,0,0-6,6v66H40A2,2,0,0,1,38,192Zm178,2H142V134h76v58A2,2,0,0,1,216,194Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,64H216v56H136a8,8,0,0,0-8,8v64H40ZM216,192H144V136h72v56Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,52H40A12,12,0,0,0,28,64V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V64A12,12,0,0,0,216,52ZM36,192V64a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4v60H136a4,4,0,0,0-4,4v68H40A4,4,0,0,1,36,192Zm180,4H140V132h80v60A4,4,0,0,1,216,196Z"}))]]),n4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M234.49,111.07,90.41,22.94A20,20,0,0,0,60,39.87V216.13a20,20,0,0,0,30.41,16.93l144.08-88.13a19.82,19.82,0,0,0,0-33.86ZM84,208.85V47.15L216.16,128Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M228.23,134.69,84.15,222.81A8,8,0,0,1,72,216.12V39.88a8,8,0,0,1,12.15-6.69l144.08,88.12A7.82,7.82,0,0,1,228.23,134.69Z",opacity:"0.2"}),f.createElement("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M231.36,116.19,87.28,28.06a14,14,0,0,0-14.18-.27A13.69,13.69,0,0,0,66,39.87V216.13a13.69,13.69,0,0,0,7.1,12.08,14,14,0,0,0,14.18-.27l144.08-88.13a13.82,13.82,0,0,0,0-23.62Zm-6.26,13.38L81,217.7a2,2,0,0,1-2.06,0,1.78,1.78,0,0,1-1-1.61V39.87a1.78,1.78,0,0,1,1-1.61A2.06,2.06,0,0,1,80,38a2,2,0,0,1,1,.31L225.1,126.43a1.82,1.82,0,0,1,0,3.14Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M230.32,117.9,86.24,29.79a11.91,11.91,0,0,0-12.17-.23A11.71,11.71,0,0,0,68,39.89V216.11a11.71,11.71,0,0,0,6.07,10.33,11.91,11.91,0,0,0,12.17-.23L230.32,138.1a11.82,11.82,0,0,0,0-20.2Zm-4.18,13.37L82.06,219.39a4,4,0,0,1-4.07.07,3.77,3.77,0,0,1-2-3.35V39.89a3.77,3.77,0,0,1,2-3.35,4,4,0,0,1,4.07.07l144.08,88.12a3.8,3.8,0,0,1,0,6.54Z"}))]]),a4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M165.27,21.22a12,12,0,0,0-12.64,1.31L83.88,76H40A20,20,0,0,0,20,96v64a20,20,0,0,0,20,20H83.88l68.75,53.47A12,12,0,0,0,172,224V32A12,12,0,0,0,165.27,21.22ZM148,199.47,95.37,158.53A12,12,0,0,0,88,156H44V100H88a12,12,0,0,0,7.37-2.53L148,56.54ZM212,104v48a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm36-16v80a12,12,0,0,1-24,0V88a12,12,0,0,1,24,0Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M160,32V224L88,168H40a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H88Z",opacity:"0.2"}),f.createElement("path",{d:"M163.51,24.81a8,8,0,0,0-8.42.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A8,8,0,0,0,168,224V32A8,8,0,0,0,163.51,24.81ZM152,207.64,92.91,161.69A7.94,7.94,0,0,0,88,160H40V96H88a7.94,7.94,0,0,0,4.91-1.69L152,48.36ZM208,104v48a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32-16v80a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M168,32V224a8,8,0,0,1-12.91,6.31L85.25,176H40a16,16,0,0,1-16-16V96A16,16,0,0,1,40,80H85.25l69.84-54.31A8,8,0,0,1,168,32Zm32,64a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V104A8,8,0,0,0,200,96Zm32-16a8,8,0,0,0-8,8v80a8,8,0,0,0,16,0V88A8,8,0,0,0,232,80Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M162.64,26.61a6,6,0,0,0-6.32.65L85.94,82H40A14,14,0,0,0,26,96v64a14,14,0,0,0,14,14H85.94l70.38,54.74A6,6,0,0,0,166,224V32A6,6,0,0,0,162.64,26.61ZM154,211.73,91.68,163.26A6,6,0,0,0,88,162H40a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H88a6,6,0,0,0,3.68-1.26L154,44.27ZM206,104v48a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm32-16v80a6,6,0,0,1-12,0V88a6,6,0,0,1,12,0Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M163.51,24.81a8,8,0,0,0-8.42.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A8,8,0,0,0,168,224V32A8,8,0,0,0,163.51,24.81ZM152,207.64,92.91,161.69A7.94,7.94,0,0,0,88,160H40V96H88a7.94,7.94,0,0,0,4.91-1.69L152,48.36ZM208,104v48a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32-16v80a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M161.76,28.41a4,4,0,0,0-4.22.43L86.63,84H40A12,12,0,0,0,28,96v64a12,12,0,0,0,12,12H86.63l70.91,55.16A4.07,4.07,0,0,0,160,228a3.92,3.92,0,0,0,1.76-.41A4,4,0,0,0,164,224V32A4,4,0,0,0,161.76,28.41ZM156,215.82l-65.54-51A4.06,4.06,0,0,0,88,164H40a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H88a4.06,4.06,0,0,0,2.46-.84l65.54-51ZM204,104v48a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm32-16v80a4,4,0,0,1-8,0V88a4,4,0,0,1,8,0Z"}))]]),i4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M165.27,21.22a12,12,0,0,0-12.64,1.31L83.88,76H40A20,20,0,0,0,20,96v64a20,20,0,0,0,20,20H83.88l68.75,53.47A12,12,0,0,0,172,224V32A12,12,0,0,0,165.27,21.22ZM148,199.46,95.37,158.53A12,12,0,0,0,88,156H44V100H88a12,12,0,0,0,7.37-2.53L148,56.54ZM212,104v48a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M160,32V224L88,168H40a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H88Z",opacity:"0.2"}),f.createElement("path",{d:"M163.51,24.81a8,8,0,0,0-8.42.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A8,8,0,0,0,168,224V32A8,8,0,0,0,163.51,24.81ZM152,207.64,92.91,161.69A7.94,7.94,0,0,0,88,160H40V96H88a7.94,7.94,0,0,0,4.91-1.69L152,48.36ZM208,104v48a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M168,32V224a8,8,0,0,1-12.91,6.31L85.25,176H40a16,16,0,0,1-16-16V96A16,16,0,0,1,40,80H85.25l69.84-54.31A8,8,0,0,1,168,32Zm32,64a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V104A8,8,0,0,0,200,96Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M162.64,26.61a6,6,0,0,0-6.32.65L85.94,82H40A14,14,0,0,0,26,96v64a14,14,0,0,0,14,14H85.94l70.38,54.74A6,6,0,0,0,166,224V32A6,6,0,0,0,162.64,26.61ZM154,211.73,91.68,163.26A6,6,0,0,0,88,162H40a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H88a6,6,0,0,0,3.68-1.26L154,44.27ZM206,104v48a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M163.51,24.81a8,8,0,0,0-8.42.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A8,8,0,0,0,168,224V32A8,8,0,0,0,163.51,24.81ZM152,207.64,92.91,161.69A7.94,7.94,0,0,0,88,160H40V96H88a7.94,7.94,0,0,0,4.91-1.69L152,48.36ZM208,104v48a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M161.76,28.41a4,4,0,0,0-4.22.43L86.63,84H40A12,12,0,0,0,28,96v64a12,12,0,0,0,12,12H86.63l70.91,55.16A4.07,4.07,0,0,0,160,228a3.92,3.92,0,0,0,1.76-.41A4,4,0,0,0,164,224V32A4,4,0,0,0,161.76,28.41ZM156,215.82l-65.54-51A4.06,4.06,0,0,0,88,164H40a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H88a4.06,4.06,0,0,0,2.46-.84l65.54-51ZM204,104v48a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"}))]]),l4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M165.27,21.22a12,12,0,0,0-12.64,1.31L83.88,76H40A20,20,0,0,0,20,96v64a20,20,0,0,0,20,20H83.88l68.75,53.47A12,12,0,0,0,172,224V32A12,12,0,0,0,165.27,21.22ZM148,199.46,95.37,158.53A12,12,0,0,0,88,156H44V100H88a12,12,0,0,0,7.37-2.53L148,56.54Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M160,32V224L88,168H40a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H88Z",opacity:"0.2"}),f.createElement("path",{d:"M163.51,24.81a8,8,0,0,0-8.42.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A8,8,0,0,0,168,224V32A8,8,0,0,0,163.51,24.81ZM152,207.64,92.91,161.69A7.94,7.94,0,0,0,88,160H40V96H88a7.94,7.94,0,0,0,4.91-1.69L152,48.36Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M163.52,24.81a8,8,0,0,0-8.43.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A7.94,7.94,0,0,0,160,232a8,8,0,0,0,8-8V32A8,8,0,0,0,163.52,24.81Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M162.64,26.61a6,6,0,0,0-6.32.65L85.94,82H40A14,14,0,0,0,26,96v64a14,14,0,0,0,14,14H85.94l70.38,54.74A6,6,0,0,0,166,224V32A6,6,0,0,0,162.64,26.61ZM154,211.73,91.68,163.26A6,6,0,0,0,88,162H40a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H88a6,6,0,0,0,3.68-1.26L154,44.27Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M163.51,24.81a8,8,0,0,0-8.42.88L85.25,80H40A16,16,0,0,0,24,96v64a16,16,0,0,0,16,16H85.25l69.84,54.31A8,8,0,0,0,168,224V32A8,8,0,0,0,163.51,24.81ZM152,207.64,92.91,161.69A7.94,7.94,0,0,0,88,160H40V96H88a7.94,7.94,0,0,0,4.91-1.69L152,48.36Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M161.76,28.41a4,4,0,0,0-4.22.43L86.63,84H40A12,12,0,0,0,28,96v64a12,12,0,0,0,12,12H86.63l70.91,55.16A4.07,4.07,0,0,0,160,228a3.92,3.92,0,0,0,1.76-.41A4,4,0,0,0,164,224V32A4,4,0,0,0,161.76,28.41ZM156,215.82l-65.54-51A4.06,4.06,0,0,0,88,164H40a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H88a4.06,4.06,0,0,0,2.46-.84l65.54-51Z"}))]]),s4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M248,88v80a12,12,0,0,1-24,0V88a12,12,0,0,1,24,0ZM224.88,207.93a12,12,0,1,1-17.76,16.14L172,185.44V224a12,12,0,0,1-19.37,9.47L83.88,180H40a20,20,0,0,1-20-20V96A20,20,0,0,1,40,76H72.51L47.12,48.07A12,12,0,0,1,64.88,31.93ZM148,159,94.33,100H44v56H88a12,12,0,0,1,7.37,2.53L148,199.46Zm-14.15-91.5,14.15-11v38.4a12,12,0,0,0,24,0V32a12,12,0,0,0-19.37-9.47L119.12,48.6a12,12,0,1,0,14.73,18.94ZM200,150.94a12,12,0,0,0,12-12V104a12,12,0,0,0-24,0v34.94A12,12,0,0,0,200,150.94Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M160,32V224L88,168H40a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H88Z",opacity:"0.2"}),f.createElement("path",{d:"M192,152V104a8,8,0,0,1,16,0v48a8,8,0,0,1-16,0Zm40-72a8,8,0,0,0-8,8v80a8,8,0,0,0,16,0V88A8,8,0,0,0,232,80ZM221.92,210.62a8,8,0,1,1-11.84,10.76L168,175.09V224a8,8,0,0,1-12.91,6.31L85.25,176H40a16,16,0,0,1-16-16V96A16,16,0,0,1,40,80H81.55L50.08,45.38A8,8,0,0,1,61.92,34.62ZM152,157.49,96.1,96H40v64H88a7.94,7.94,0,0,1,4.91,1.69L152,207.64ZM125.06,69.31l26.94-21v58.47a8,8,0,0,0,16,0V32a8,8,0,0,0-12.91-6.31l-39.85,31a8,8,0,0,0,9.82,12.63Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M221.92,210.62a8,8,0,1,1-11.84,10.76L168,175.09v48.6a8.29,8.29,0,0,1-3.91,7.18,8,8,0,0,1-9-.56L85.25,176H40a16,16,0,0,1-16-16V96A16,16,0,0,1,40,80H81.55L50.08,45.38A8,8,0,0,1,61.92,34.62ZM200.53,160a8.17,8.17,0,0,0,7.47-8.25V104.27A8.17,8.17,0,0,0,200.53,96a8,8,0,0,0-8.53,8v48A8,8,0,0,0,200.53,160ZM161,119.87a4,4,0,0,0,7-2.7V32.24a8.25,8.25,0,0,0-2.88-6.39,8,8,0,0,0-10-.16L111.83,59.33a4,4,0,0,0-.5,5.85ZM231.47,80A8.17,8.17,0,0,0,224,88.27v79.46a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8V88A8,8,0,0,0,231.47,80Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M194,152V104a6,6,0,0,1,12,0v48a6,6,0,0,1-12,0Zm38-70a6,6,0,0,0-6,6v80a6,6,0,0,0,12,0V88A6,6,0,0,0,232,82ZM220.44,212a6,6,0,0,1-8.88,8.08L166,169.92V224a6,6,0,0,1-9.68,4.74L85.94,174H40a14,14,0,0,1-14-14V96A14,14,0,0,1,40,82H86.07L51.56,44A6,6,0,0,1,60.44,36ZM154,156.72,97,94H40a2,2,0,0,0-2,2v64a2,2,0,0,0,2,2H88a6,6,0,0,1,3.68,1.26L154,211.73Zm-30.17-89L154,44.27v62.56a6,6,0,0,0,12,0V32a6,6,0,0,0-9.68-4.74l-39.85,31a6,6,0,1,0,7.36,9.47Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M192,152V104a8,8,0,0,1,16,0v48a8,8,0,0,1-16,0Zm40-72a8,8,0,0,0-8,8v80a8,8,0,0,0,16,0V88A8,8,0,0,0,232,80ZM221.92,210.62a8,8,0,1,1-11.84,10.76L168,175.09V224a8,8,0,0,1-12.91,6.31L85.25,176H40a16,16,0,0,1-16-16V96A16,16,0,0,1,40,80H81.55L50.08,45.38A8,8,0,0,1,61.92,34.62ZM152,157.49,96.1,96H40v64H88a7.94,7.94,0,0,1,4.91,1.69L152,207.64ZM125.06,69.31l26.94-21v58.47a8,8,0,0,0,16,0V32a8,8,0,0,0-12.91-6.31l-39.85,31a8,8,0,0,0,9.82,12.63Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M196,152V104a4,4,0,0,1,8,0v48a4,4,0,0,1-8,0Zm36-68a4,4,0,0,0-4,4v80a4,4,0,0,0,8,0V88A4,4,0,0,0,232,84ZM219,213.31a4,4,0,1,1-5.92,5.38l-49-53.94V224a4,4,0,0,1-2.24,3.59A3.92,3.92,0,0,1,160,228a4.07,4.07,0,0,1-2.46-.84L86.63,172H40a12,12,0,0,1-12-12V96A12,12,0,0,1,40,84H90.59L53,42.69A4,4,0,0,1,59,37.31ZM156,156,97.87,92H40a4,4,0,0,0-4,4v64a4,4,0,0,0,4,4H88a4.06,4.06,0,0,1,2.46.84l65.54,51Zm-33.39-89.8,33.39-26v66.65a4,4,0,0,0,8,0V32a4,4,0,0,0-6.46-3.16l-39.85,31a4,4,0,1,0,4.92,6.31Z"}))]]),u4=new Map([["bold",f.createElement(f.Fragment,null,f.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",f.createElement(f.Fragment,null,f.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),f.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",f.createElement(f.Fragment,null,f.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",f.createElement(f.Fragment,null,f.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",f.createElement(f.Fragment,null,f.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",f.createElement(f.Fragment,null,f.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),r4=f.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),Qt=f.forwardRef((a,i)=>{const{alt:u,color:r,size:c,weight:h,mirrored:d,children:g,weights:p,...y}=a,{color:v="currentColor",size:b,weight:E="regular",mirrored:L=!1,...O}=f.useContext(r4);return f.createElement("svg",{ref:i,xmlns:"http://www.w3.org/2000/svg",width:c??b,height:c??b,fill:r??v,viewBox:"0 0 256 256",transform:d||L?"scale(-1, 1)":void 0,...O,...y},!!u&&f.createElement("title",null,u),g,p.get(h??E))});Qt.displayName="IconBase";const _u=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:Xp}));_u.displayName="ArrowClockwiseIcon";const G0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:kp}));G0.displayName="ArrowsInSimpleIcon";const q0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:Kp}));q0.displayName="ArrowsOutSimpleIcon";const Y0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:Fp}));Y0.displayName="CaretCircleDoubleRightIcon";const X0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:Qp}));X0.displayName="CaretLeftIcon";const zi=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:Pp}));zi.displayName="CaretRightIcon";const ja=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:Jp}));ja.displayName="CheckIcon";const kl=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:$p}));kl.displayName="ClosedCaptioningIcon";const k0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:Wp}));k0.displayName="FadersIcon";const K0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:Ip}));K0.displayName="GearIcon";const Gu=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:t4}));Gu.displayName="PauseIcon";const F0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:e4}));F0.displayName="PictureInPictureIcon";const qu=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:n4}));qu.displayName="PlayIcon";const Q0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:a4}));Q0.displayName="SpeakerSimpleHighIcon";const P0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:i4}));P0.displayName="SpeakerSimpleLowIcon";const J0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:l4}));J0.displayName="SpeakerSimpleNoneIcon";const $0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:s4}));$0.displayName="SpeakerSimpleSlashIcon";const W0=f.forwardRef((a,i)=>f.createElement(Qt,{ref:i,...a,weights:u4}));W0.displayName="XIcon";function Oa(a){const i=a.noBg??!1;return A.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},className:i?"obtnNoBg":"obtn",children:a.children})}function o4(a){const i=a.noPadding??!1,u=a.cap??0;return A.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:i?0:"0.5rem",paddingRight:i?0:"0.5rem",gap:u||0,position:"relative"},className:a.noBg?"obtn-group-nobg":"obtn-group",children:a.children})}function Kl(a){return A.jsx(o4,{...a,children:a.children})}const la={background:"transparent",border:0,padding:0,lineHeight:"100%",display:"flex",justifyContent:"center",alignItems:"center",color:"#ffffff"},c4={background:"transparent",border:0,lineHeight:"100%",display:"flex",justifyContent:"center",alignItems:"center",color:"#ffffff",padding:"1rem"},I0={border:0,background:"transparent"},f4={display:"flex",justifyContent:"space-between",alignItems:"center",paddingLeft:"0.5rem",paddingRight:"0.5rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",borderBottom:"1px solid rgb(205 205 205 / 8%)"},d4={flex:1},h4={display:"flex",alignItems:"center",gap:6},m4={padding:0,display:"flex",alignItems:"center",gap:6},Fl={padding:"1.5rem 0em",display:"flex",flexDirection:"column",gap:"20px"},Je={display:"flex",width:"100%",alignItems:"center",border:0,background:"transparent",gap:10,cursor:"pointer",paddingLeft:"0.5rem",paddingRight:"0.5rem"},Ln={flex:1,justifyContent:"start",display:"flex"},Yu={display:"flex",alignItems:"center",gap:5},Ql={fontSize:"0.9rem",opacity:.6};function tf({size:a=25,weight:i="fill",color:u="#ffffff",text:r={},pos:c="left"}){const[h]=fe(),{play:d,pause:g}=Ee();return A.jsx(Oa,{noBg:!0,children:A.jsxs("div",{className:`vpe-popover-wrap vp-${c}`,children:[A.jsx("div",{className:"vpe-popver",children:A.jsx("div",{className:"vpe-popver-text",children:h.isPlaying?r?.pause??"일시정지":r?.play??"재생"})}),A.jsx("button",{type:"button",onClick:h.isPlaying?g:d,style:la,children:h.isEnded?A.jsx(_u,{size:a,weight:i,color:u}):A.jsx(A.Fragment,{children:h.isPlaying?A.jsx(Gu,{size:a,weight:i,color:u}):A.jsx(qu,{size:a,weight:i,color:u})})})]})})}function p4({size:a=80,weight:i="fill",color:u="#ffffff",isPortrait:r=!1,isMobile:c=!1}){const[h]=fe(),[d,g]=f.useState(0),{play:p,pause:y}=Ee();return f.useEffect(()=>{g(v=>v+1)},[h.isPlaying]),A.jsx("div",{className:`vpe-big-play-btn ${h.isEnded?"":"center-play-btn-anim"}`,children:A.jsx(Kl,{noPadding:!0,children:A.jsx(Oa,{children:A.jsx("button",{type:"button",style:c4,onClick:()=>{(c||r)&&(h.isPlaying?y():p())},children:h.isEnded?A.jsx(_u,{size:a,weight:i,color:u}):A.jsx(A.Fragment,{children:h.isPlaying?A.jsx(Gu,{size:a,weight:i,color:u}):A.jsx(qu,{size:a,weight:i,color:u})})})})})},d)}function y4({color:a="#ffffff"}){const[i]=fe(),{seekTo:u}=Ee(),c=(i.bufferedEnd??i.buffered??0)||i.duration||0,h=!!i.isLive,g=h&&c>0?Math.abs((i.currentTime??0)-c)<10:h,p=()=>{h&&(!c||Number.isNaN(c)||u(Math.max(0,c-.1)))};return A.jsx(A.Fragment,{children:i.isLive?A.jsxs("button",{type:"button",onClick:p,style:{display:"flex",alignItems:"center",gap:5,paddingLeft:"1rem",paddingRight:"1rem",border:0,background:"transparent",color:"#ffffff",cursor:"pointer"},children:[A.jsx("span",{style:{width:"10px",height:"10px",borderRadius:"30px",backgroundColor:g?"#ff0000":a,display:"inline-block"}}),A.jsx("span",{style:{fontWeight:"bold",fontSize:"0.9rem"},children:"LIVE"})]}):A.jsxs(A.Fragment,{children:[A.jsx("div",{className:"defObj",style:{margin:"0.5rem 0",padding:"0 0.5rem",paddingLeft:"1rem",minWidth:"70px",display:"flex",justifyContent:"center",alignItems:"center"},children:Uu.formatTime(i.currentTime??0)||0}),A.jsx("div",{className:"defObj",style:{fontSize:"1em",lineHeight:"1em",opacity:.3,paddingLeft:"0.2rem"},children:"/"}),A.jsx("div",{className:"defObj",style:{padding:"0 0.5rem",paddingRight:"1rem",minWidth:"70px",display:"flex",justifyContent:"center",alignItems:"center"},children:Uu.formatTime(i.duration??0)||0})]})})}function g4({text:a={},color:i="#ffffff"}){const[u]=fe(),{selectQualityLevel:r}=Ee(),c=f.useRef(!1),h=u.currentLevel??-1,d=u.levels?.find(p=>p.index===h),g=u.isAutoLevel?a.auto:d?.name??(d?.height?`${d.height}p`:`${h}`);return A.jsxs("div",{style:{position:"relative"},children:[c.current&&A.jsx("div",{style:{position:"absolute",width:"100px",height:"auto",backgroundColor:"rgba(0, 0, 0, 0.85)",borderRadius:"5px",padding:"1rem 0.8rem",bottom:"80px",left:"-50%",fontSize:"0.9rem",color:"#ffffff",zIndex:99999},children:A.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:15},children:[A.jsx("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{r(-1)},children:A.jsx("div",{style:{color:"#ffffff",fontSize:"0.8rem"},children:a?.auto??"Auto"})}),[...u.levels??[]].sort((p,y)=>(y.height??0)-(p.height??0)).map(p=>{const y=p.name??(p.height?`${p.height}p`:`${p.index}`);return A.jsx("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{r(p.index),c.current=!1},children:A.jsx("div",{style:{color:"#ffffff",fontSize:"0.8rem"},children:y})},p.index)})]})}),A.jsx("button",{type:"button",onClick:()=>{c.current=!c.current},style:{...la,paddingLeft:"0.6rem",paddingRight:"0.6rem",color:`${i}`},children:A.jsx("span",{style:{fontSize:"0.8rem",fontWeight:800,letterSpacing:"-0.5px"},children:g})})]})}function v4({color:a="#ffffff",click:i=()=>{},title:u=""}){return A.jsx(A.Fragment,{children:u&&A.jsx(Kl,{children:A.jsx("button",{type:"button",onClick:i,style:{border:0,background:"transparent",lineHeight:"100%",display:"flex",alignItems:"center",height:"46px"},children:A.jsxs("div",{className:"defObj",style:{paddingLeft:"0.5rem",paddingRight:"0.2rem",maxWidth:"15rem",lineHeight:"1rem",display:"flex",alignItems:"center",color:`${a}`},children:[A.jsx("div",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:u}),A.jsx("div",{style:{paddingTop:"2px"},children:A.jsx(zi,{size:15})})]})})})})}function ef(a){return A.jsx("div",{style:{flex:1,display:"flex"},children:a.children})}function S4({size:a=25,weight:i="fill",color:u="#ffffff",options:r={},text:c={},pos:h="left"}){const[d,g]=fe(),{videoEl:p}=Ee(),y=f.useRef(0),v=f.useRef(""),b=typeof navigator<"u"&&/iPhone/.test(navigator.userAgent)&&/Safari/.test(navigator.userAgent)&&!/Chrome|CriOS|FxiOS|EdgiOS/.test(navigator.userAgent),E=()=>{const U=document.querySelector(".vpe-fullscreen-target")||document.querySelector(".vpe-root-wrap");return U instanceof HTMLElement?U:null},L=U=>{if(U)if(U.classList.contains("vpe-ios-fullscreen")){g({isFullscreen:!1}),U.classList.remove("vpe-ios-fullscreen"),document.body.style.backgroundColor=v.current;const H=document.getElementById("vpeIosFullscreenTmpDiv");H&&H.remove(),window.scrollY=y.current}else{g({isFullscreen:!0}),U.classList.add("vpe-ios-fullscreen"),y.current=window.scrollY,v.current=document.body.style.backgroundColor,document.body.style.backgroundColor="#000000";const H=document.createElement("div");H.id="vpeIosFullscreenTmpDiv",H.style.height="120dvh",document.body.appendChild(H),window.scrollTo({top:document.body.scrollHeight,behavior:"smooth"})}},O=()=>{if(!p)return!1;const U=p.webkitEnterFullscreen;return typeof U!="function"?!1:(U.call(p),!0)},B=()=>{if(b)if(r.iosFullscreenNativeMode){if(O())return}else{const H=document.querySelector(".vpe-root-wrap");L(H);return}if(document.fullscreenElement){document.exitFullscreen?.();return}const U=E();U&&U.requestFullscreen?.()};return f.useEffect(()=>{const U=()=>{b&&!r.iosFullscreenNativeMode||g({isFullscreen:!!document.fullscreenElement})};return document.addEventListener("fullscreenchange",U),U(),()=>{document.removeEventListener("fullscreenchange",U)}},[g]),A.jsx(Oa,{noBg:!0,children:A.jsxs("div",{className:`vpe-popover-wrap vp-${h}`,children:[A.jsx("div",{className:"vpe-popver",children:A.jsx("div",{className:"vpe-popver-text",children:d.isFullscreen?c?.fullOff??"전체화면 해제":c?.fullOn??"전체화면"})}),A.jsx("button",{type:"button",onClick:B,style:la,children:d.isFullscreen?A.jsx(G0,{size:a,weight:i,color:u}):A.jsx(q0,{size:a,weight:i,color:u})})]})})}function b4({size:a=25,color:i="#ffffff",text:u={},pos:r="left"}){const[c]=fe(),{toggleSubtitle:h}=Ee();return A.jsx(A.Fragment,{children:c.hasSubtitle&&A.jsx(Oa,{noBg:!0,children:A.jsxs("div",{className:`vpe-popover-wrap vp-${r}`,children:[A.jsx("div",{className:"vpe-popver",children:A.jsx("div",{className:"vpe-popver-text",children:c.isSubtitle?u?.captionOff??"자막끄기":u?.captionOn??"자막켜기"})}),A.jsx("button",{type:"button",onClick:h,style:la,children:c.isSubtitle?A.jsx(kl,{size:a,weight:"fill",color:i}):A.jsx(kl,{size:a,weight:"regular",color:i})})]})})})}function E4({size:a=25,weight:i="fill",color:u="#ffffff",text:r={},pos:c="left"}){const[h]=fe(),{setVolume:d,toggleMute:g}=Ee(),p=h.isVolume??0,y=h.isMuted?0:p;return A.jsxs("div",{className:"VolumBtnWrap",children:[A.jsxs("div",{className:`vpe-popover-wrap vp-${c}`,children:[A.jsx("div",{className:"vpe-popver",children:A.jsx("div",{className:"vpe-popver-text",children:h.isMuted?r?.muteOff??"음소거 해제":r?.muteOn??"음소거"})}),A.jsx("button",{type:"button",onClick:g,style:la,children:A.jsxs(A.Fragment,{children:[(p===0||h.isMuted)&&A.jsx($0,{size:a,weight:i,color:u}),p>=5&&p<=10&&!h.isMuted&&A.jsx(J0,{size:a,weight:i,color:u}),p>=11&&p<=50&&!h.isMuted&&A.jsx(P0,{size:a,weight:i,color:u}),p>=51&&!h.isMuted&&A.jsx(Q0,{size:a,weight:i,color:u})]})})]}),A.jsx("div",{className:"vslideWrap",children:A.jsx("input",{type:"range",min:0,max:100,value:y,onChange:v=>{const b=Number(v.currentTarget.value);d(Number.isNaN(b)?0:b)},className:"VolumSlide"})})]})}function A4({color:a="#ffffff",size:i=25,text:u={},pos:r="left"}){const[c,h]=fe();return A.jsx(A.Fragment,{children:A.jsx(Oa,{noBg:!0,children:A.jsxs("div",{className:`vpe-popover-wrap vp-${r}`,children:[A.jsx("div",{className:"vpe-popver",children:A.jsx("div",{className:"vpe-popver-text",children:u?.setting??"설정"})}),A.jsx("button",{type:"button",onClick:()=>{h({isSettingModal:!c.isSettingModal})},style:la,children:A.jsx(K0,{size:i,weight:"fill",color:a})})]})})})}function T4({color:a="#ffffff",size:i=25,text:u={},pos:r="left"}){const{togglePictureInPicture:c}=Ee();return A.jsx(A.Fragment,{children:A.jsx(Oa,{noBg:!0,children:A.jsxs("div",{className:`vpe-popover-wrap vp-${r}`,children:[A.jsx("div",{className:"vpe-popver",children:A.jsx("div",{className:"vpe-popver-text",children:u?.miniPlayer??"미니플레이어"})}),A.jsx("button",{type:"button",onClick:()=>{c()},style:la,children:A.jsx(F0,{size:i,weight:"fill",color:a})})]})})})}function M4(a){const{useTouch:i}=Ee();return A.jsx("div",{className:"absolute z-[2] h-full w-full bg-neutral-900/20 flex items-center justify-center",style:{background:`url(${a.poster}) center / ${a.options?.objectFit||"contain"} no-repeat`},onClick:()=>{i()},onTouchStart:()=>{i()},children:A.jsx("div",{children:A.jsx(Kl,{noPadding:!0,children:A.jsx(tf,{size:50})})})})}function nf(a){const[i]=fe(),{poster:u,options:r}=a,c={display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",position:"absolute",zIndex:9999,background:`url(${u}) center / ${r?.objectFit||"contain"} no-repeat`};return A.jsx(A.Fragment,{children:i.isLoading&&A.jsx("div",{style:c,children:A.jsx("div",{className:"ncplayer-spinner"})})})}function x4(a){const[i,u]=fe(),{playBackRate:r,selectQualityLevel:c}=Ee(),{text:h}=a,d=a.vtt??a.src?.vtt??[],g=i.currentLevel??-1,p=i.levels?.find(H=>H.index===g),y=i.isAutoLevel?h.auto:p?.name??(p?.height?`${p.height}p`:`${g}`),[v,b]=f.useState(0),[E,L]=f.useState("forward"),[O,B]=f.useState(!1),U=f.useCallback(H=>{L(H>v?"forward":"back"),b(H),B(!0)},[v]);return f.useEffect(()=>{if(!O)return;const H=window.setTimeout(()=>{B(!1)},200);return()=>window.clearTimeout(H)},[O]),A.jsx("div",{className:"vpe-setting-modal",children:A.jsxs("div",{className:"vpe-setting-content",children:[A.jsxs("div",{style:f4,children:[A.jsxs("div",{style:d4,children:[v===0&&A.jsx("div",{children:h.setting}),v>0&&A.jsx("div",{style:h4,children:A.jsx("div",{children:A.jsxs("button",{onClick:()=>{U(0)},type:"button",style:{...I0,...m4},children:[A.jsx(X0,{size:25,color:"#ffffff"}),A.jsxs("div",{children:[v==1&&h.quality,v==2&&h.playbackRate,v==3&&h.captions]})]})})})]}),A.jsx("div",{children:A.jsx("button",{type:"button",style:I0,onClick:()=>{u({isSettingModal:!1})},children:A.jsx(W0,{size:25,color:"#ffffff"})})})]}),A.jsxs("div",{className:"vpe-modal-menu",children:[v===0&&A.jsxs("div",{className:`vpe-modal-menu-panel ${O?`vpe-modal-menu-${E}`:""}`,style:Fl,children:[A.jsxs("button",{type:"button",style:Je,className:"vpe-menu-item",onClick:()=>{U(1)},children:[A.jsx("div",{children:A.jsx(k0,{size:25,color:"#ffffff"})}),A.jsx("div",{style:Ln,children:h.quality}),A.jsxs("div",{style:Yu,children:[A.jsx("span",{style:Ql,children:y}),A.jsx(zi,{size:20,color:"#ffffff"})]})]}),A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{U(2)},children:[A.jsx("div",{children:A.jsx(Y0,{size:25,color:"#ffffff"})}),A.jsx("div",{style:Ln,children:h.playbackRate}),A.jsxs("div",{style:Yu,children:[A.jsxs("span",{style:Ql,children:[i.playbackRate,"x"]}),A.jsx(zi,{size:20,color:"#ffffff"})]})]}),A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{U(3)},children:[A.jsx("div",{children:A.jsx(kl,{size:25,color:"#ffffff"})}),A.jsx("div",{style:Ln,children:h.captions}),A.jsxs("div",{style:Yu,children:[A.jsx(A.Fragment,{children:i.isSubtitle?A.jsx(A.Fragment,{children:d.map((H,Y)=>A.jsx("span",{children:i.subTitleIdx===Y&&A.jsx("span",{style:Ql,children:H.label})},`${H.id}-${H.src}`))}):A.jsx("span",{style:Ql,children:h.notUse})}),A.jsx(zi,{size:20,color:"#ffffff"})]})]})]},v),v===1&&A.jsxs("div",{className:`vpe-modal-menu-panel ${O?`vpe-modal-menu-${E}`:""}`,style:Fl,children:[A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{c("auto")},children:[A.jsx("div",{children:A.jsx(ja,{size:15,color:i.isAutoLevel?"#ffffff":"transparent"})}),A.jsx("div",{style:Ln,children:h.auto})]}),[...i.levels??[]].sort((H,Y)=>(Y.height??0)-(H.height??0)).map(H=>{const Y=H.name??(H.height?`${H.height}p`:`${H.index}`);return A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{c(H.index)},children:[A.jsx("div",{children:A.jsx(ja,{size:15,color:!i.isAutoLevel&&i.currentLevel===H.index?"#ffffff":"transparent"})}),A.jsx("div",{style:Ln,children:Y})]},H.index)})]},v),v===2&&A.jsx("div",{className:`vpe-modal-menu-panel ${O?`vpe-modal-menu-${E}`:""}`,style:Fl,children:(a.options?.playRateSetting??[]).map(H=>A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{r(H),u({playbackRate:H}),U(0)},children:[A.jsx("div",{children:A.jsx(ja,{size:15,color:i.playbackRate===H?"#ffffff":"transparent"})}),A.jsxs("div",{style:Ln,children:[H,"x"]})]},H))},v),v===3&&A.jsxs("div",{className:`vpe-modal-menu-panel ${O?`vpe-modal-menu-${E}`:""}`,style:Fl,children:[A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{u({isSubtitle:!1})},children:[A.jsx("div",{children:A.jsx(ja,{size:15,color:i.isSubtitle?"transparent":"#ffffff"})}),A.jsx("div",{style:Ln,children:h.notUse})]}),d.map((H,Y)=>A.jsxs("button",{type:"button",className:"vpe-menu-item",style:Je,onClick:()=>{u({isSubtitle:!0,subTitleIdx:Y})},children:[A.jsx("div",{children:A.jsx(ja,{size:15,color:i.isSubtitle&&i.subTitleIdx===Y?"#ffffff":"transparent"})}),A.jsx("div",{style:Ln,children:H.label})]},`${H.id}-${H.src}`))]},v)]})]})})}const Xu=f.createContext({});function ku(a){const i=f.useRef(null);return i.current===null&&(i.current=a()),i.current}const Ku=typeof window<"u",af=Ku?f.useLayoutEffect:f.useEffect,Pl=f.createContext(null);function Fu(a,i){a.indexOf(i)===-1&&a.push(i)}function Qu(a,i){const u=a.indexOf(i);u>-1&&a.splice(u,1)}const an=(a,i,u)=>u>i?i:u<a?a:u;let Pu=()=>{};const ln={},lf=a=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(a);function sf(a){return typeof a=="object"&&a!==null}const uf=a=>/^0[^.\s]+$/u.test(a);function Ju(a){let i;return()=>(i===void 0&&(i=a()),i)}const je=a=>a,V4=(a,i)=>u=>i(a(u)),Bi=(...a)=>a.reduce(V4),wi=(a,i,u)=>{const r=i-a;return r===0?1:(u-a)/r};class $u{constructor(){this.subscriptions=[]}add(i){return Fu(this.subscriptions,i),()=>Qu(this.subscriptions,i)}notify(i,u,r){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](i,u,r);else for(let h=0;h<c;h++){const d=this.subscriptions[h];d&&d(i,u,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const $e=a=>a*1e3,Oe=a=>a/1e3;function rf(a,i){return i?a*(1e3/i):0}const of=(a,i,u)=>(((1-3*u+3*i)*a+(3*u-6*i))*a+3*i)*a,L4=1e-7,C4=12;function D4(a,i,u,r,c){let h,d,g=0;do d=i+(u-i)/2,h=of(d,r,c)-a,h>0?u=d:i=d;while(Math.abs(h)>L4&&++g<C4);return d}function Ni(a,i,u,r){if(a===i&&u===r)return je;const c=h=>D4(h,0,1,a,u);return h=>h===0||h===1?h:of(c(h),i,r)}const cf=a=>i=>i<=.5?a(2*i)/2:(2-a(2*(1-i)))/2,ff=a=>i=>1-a(1-i),df=Ni(.33,1.53,.69,.99),Wu=ff(df),hf=cf(Wu),mf=a=>(a*=2)<1?.5*Wu(a):.5*(2-Math.pow(2,-10*(a-1))),Iu=a=>1-Math.sin(Math.acos(a)),pf=ff(Iu),yf=cf(Iu),R4=Ni(.42,0,1,1),H4=Ni(0,0,.58,1),gf=Ni(.42,0,.58,1),j4=a=>Array.isArray(a)&&typeof a[0]!="number",vf=a=>Array.isArray(a)&&typeof a[0]=="number",O4={linear:je,easeIn:R4,easeInOut:gf,easeOut:H4,circIn:Iu,circInOut:yf,circOut:pf,backIn:Wu,backInOut:hf,backOut:df,anticipate:mf},z4=a=>typeof a=="string",Sf=a=>{if(vf(a)){Pu(a.length===4);const[i,u,r,c]=a;return Ni(i,u,r,c)}else if(z4(a))return O4[a];return a},Jl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function B4(a,i){let u=new Set,r=new Set,c=!1,h=!1;const d=new WeakSet;let g={delta:0,timestamp:0,isProcessing:!1};function p(v){d.has(v)&&(y.schedule(v),a()),v(g)}const y={schedule:(v,b=!1,E=!1)=>{const O=E&&c?u:r;return b&&d.add(v),O.has(v)||O.add(v),v},cancel:v=>{r.delete(v),d.delete(v)},process:v=>{if(g=v,c){h=!0;return}c=!0,[u,r]=[r,u],u.forEach(p),u.clear(),c=!1,h&&(h=!1,y.process(v))}};return y}const w4=40;function bf(a,i){let u=!1,r=!0;const c={delta:0,timestamp:0,isProcessing:!1},h=()=>u=!0,d=Jl.reduce((Q,q)=>(Q[q]=B4(h),Q),{}),{setup:g,read:p,resolveKeyframes:y,preUpdate:v,update:b,preRender:E,render:L,postRender:O}=d,B=()=>{const Q=ln.useManualTiming?c.timestamp:performance.now();u=!1,ln.useManualTiming||(c.delta=r?1e3/60:Math.max(Math.min(Q-c.timestamp,w4),1)),c.timestamp=Q,c.isProcessing=!0,g.process(c),p.process(c),y.process(c),v.process(c),b.process(c),E.process(c),L.process(c),O.process(c),c.isProcessing=!1,u&&i&&(r=!1,a(B))},U=()=>{u=!0,r=!0,c.isProcessing||a(B)};return{schedule:Jl.reduce((Q,q)=>{const z=d[q];return Q[q]=(k,J=!1,K=!1)=>(u||U(),z.schedule(k,J,K)),Q},{}),cancel:Q=>{for(let q=0;q<Jl.length;q++)d[Jl[q]].cancel(Q)},state:c,steps:d}}const{schedule:zt,cancel:Cn,state:ee,steps:tr}=bf(typeof requestAnimationFrame<"u"?requestAnimationFrame:je,!0);let $l;function N4(){$l=void 0}const de={now:()=>($l===void 0&&de.set(ee.isProcessing||ln.useManualTiming?ee.timestamp:performance.now()),$l),set:a=>{$l=a,queueMicrotask(N4)}},Ef=a=>i=>typeof i=="string"&&i.startsWith(a),Af=Ef("--"),Z4=Ef("var(--"),er=a=>Z4(a)?U4.test(a.split("/*")[0].trim()):!1,U4=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,za={test:a=>typeof a=="number",parse:parseFloat,transform:a=>a},Zi={...za,transform:a=>an(0,1,a)},Wl={...za,default:1},Ui=a=>Math.round(a*1e5)/1e5,nr=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function _4(a){return a==null}const G4=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ar=(a,i)=>u=>!!(typeof u=="string"&&G4.test(u)&&u.startsWith(a)||i&&!_4(u)&&Object.prototype.hasOwnProperty.call(u,i)),Tf=(a,i,u)=>r=>{if(typeof r!="string")return r;const[c,h,d,g]=r.match(nr);return{[a]:parseFloat(c),[i]:parseFloat(h),[u]:parseFloat(d),alpha:g!==void 0?parseFloat(g):1}},q4=a=>an(0,255,a),ir={...za,transform:a=>Math.round(q4(a))},sa={test:ar("rgb","red"),parse:Tf("red","green","blue"),transform:({red:a,green:i,blue:u,alpha:r=1})=>"rgba("+ir.transform(a)+", "+ir.transform(i)+", "+ir.transform(u)+", "+Ui(Zi.transform(r))+")"};function Y4(a){let i="",u="",r="",c="";return a.length>5?(i=a.substring(1,3),u=a.substring(3,5),r=a.substring(5,7),c=a.substring(7,9)):(i=a.substring(1,2),u=a.substring(2,3),r=a.substring(3,4),c=a.substring(4,5),i+=i,u+=u,r+=r,c+=c),{red:parseInt(i,16),green:parseInt(u,16),blue:parseInt(r,16),alpha:c?parseInt(c,16)/255:1}}const lr={test:ar("#"),parse:Y4,transform:sa.transform},_i=a=>({test:i=>typeof i=="string"&&i.endsWith(a)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${a}`}),Dn=_i("deg"),We=_i("%"),st=_i("px"),X4=_i("vh"),k4=_i("vw"),Mf={...We,parse:a=>We.parse(a)/100,transform:a=>We.transform(a*100)},Ba={test:ar("hsl","hue"),parse:Tf("hue","saturation","lightness"),transform:({hue:a,saturation:i,lightness:u,alpha:r=1})=>"hsla("+Math.round(a)+", "+We.transform(Ui(i))+", "+We.transform(Ui(u))+", "+Ui(Zi.transform(r))+")"},Yt={test:a=>sa.test(a)||lr.test(a)||Ba.test(a),parse:a=>sa.test(a)?sa.parse(a):Ba.test(a)?Ba.parse(a):lr.parse(a),transform:a=>typeof a=="string"?a:a.hasOwnProperty("red")?sa.transform(a):Ba.transform(a),getAnimatableNone:a=>{const i=Yt.parse(a);return i.alpha=0,Yt.transform(i)}},K4=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function F4(a){return isNaN(a)&&typeof a=="string"&&(a.match(nr)?.length||0)+(a.match(K4)?.length||0)>0}const xf="number",Vf="color",Q4="var",P4="var(",Lf="${}",J4=/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 Gi(a){const i=a.toString(),u=[],r={color:[],number:[],var:[]},c=[];let h=0;const g=i.replace(J4,p=>(Yt.test(p)?(r.color.push(h),c.push(Vf),u.push(Yt.parse(p))):p.startsWith(P4)?(r.var.push(h),c.push(Q4),u.push(p)):(r.number.push(h),c.push(xf),u.push(parseFloat(p))),++h,Lf)).split(Lf);return{values:u,split:g,indexes:r,types:c}}function Cf(a){return Gi(a).values}function Df(a){const{split:i,types:u}=Gi(a),r=i.length;return c=>{let h="";for(let d=0;d<r;d++)if(h+=i[d],c[d]!==void 0){const g=u[d];g===xf?h+=Ui(c[d]):g===Vf?h+=Yt.transform(c[d]):h+=c[d]}return h}}const $4=a=>typeof a=="number"?0:Yt.test(a)?Yt.getAnimatableNone(a):a;function W4(a){const i=Cf(a);return Df(a)(i.map($4))}const Rn={test:F4,parse:Cf,createTransformer:Df,getAnimatableNone:W4};function sr(a,i,u){return u<0&&(u+=1),u>1&&(u-=1),u<1/6?a+(i-a)*6*u:u<1/2?i:u<2/3?a+(i-a)*(2/3-u)*6:a}function I4({hue:a,saturation:i,lightness:u,alpha:r}){a/=360,i/=100,u/=100;let c=0,h=0,d=0;if(!i)c=h=d=u;else{const g=u<.5?u*(1+i):u+i-u*i,p=2*u-g;c=sr(p,g,a+1/3),h=sr(p,g,a),d=sr(p,g,a-1/3)}return{red:Math.round(c*255),green:Math.round(h*255),blue:Math.round(d*255),alpha:r}}function Il(a,i){return u=>u>0?i:a}const Nt=(a,i,u)=>a+(i-a)*u,ur=(a,i,u)=>{const r=a*a,c=u*(i*i-r)+r;return c<0?0:Math.sqrt(c)},ty=[lr,sa,Ba],ey=a=>ty.find(i=>i.test(a));function Rf(a){const i=ey(a);if(!i)return!1;let u=i.parse(a);return i===Ba&&(u=I4(u)),u}const Hf=(a,i)=>{const u=Rf(a),r=Rf(i);if(!u||!r)return Il(a,i);const c={...u};return h=>(c.red=ur(u.red,r.red,h),c.green=ur(u.green,r.green,h),c.blue=ur(u.blue,r.blue,h),c.alpha=Nt(u.alpha,r.alpha,h),sa.transform(c))},rr=new Set(["none","hidden"]);function ny(a,i){return rr.has(a)?u=>u<=0?a:i:u=>u>=1?i:a}function ay(a,i){return u=>Nt(a,i,u)}function or(a){return typeof a=="number"?ay:typeof a=="string"?er(a)?Il:Yt.test(a)?Hf:sy:Array.isArray(a)?jf:typeof a=="object"?Yt.test(a)?Hf:iy:Il}function jf(a,i){const u=[...a],r=u.length,c=a.map((h,d)=>or(h)(h,i[d]));return h=>{for(let d=0;d<r;d++)u[d]=c[d](h);return u}}function iy(a,i){const u={...a,...i},r={};for(const c in u)a[c]!==void 0&&i[c]!==void 0&&(r[c]=or(a[c])(a[c],i[c]));return c=>{for(const h in r)u[h]=r[h](c);return u}}function ly(a,i){const u=[],r={color:0,var:0,number:0};for(let c=0;c<i.values.length;c++){const h=i.types[c],d=a.indexes[h][r[h]],g=a.values[d]??0;u[c]=g,r[h]++}return u}const sy=(a,i)=>{const u=Rn.createTransformer(i),r=Gi(a),c=Gi(i);return r.indexes.var.length===c.indexes.var.length&&r.indexes.color.length===c.indexes.color.length&&r.indexes.number.length>=c.indexes.number.length?rr.has(a)&&!c.values.length||rr.has(i)&&!r.values.length?ny(a,i):Bi(jf(ly(r,c),c.values),u):Il(a,i)};function Of(a,i,u){return typeof a=="number"&&typeof i=="number"&&typeof u=="number"?Nt(a,i,u):or(a)(a,i)}const uy=a=>{const i=({timestamp:u})=>a(u);return{start:(u=!0)=>zt.update(i,u),stop:()=>Cn(i),now:()=>ee.isProcessing?ee.timestamp:de.now()}},zf=(a,i,u=10)=>{let r="";const c=Math.max(Math.round(i/u),2);for(let h=0;h<c;h++)r+=Math.round(a(h/(c-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},ts=2e4;function cr(a){let i=0;const u=50;let r=a.next(i);for(;!r.done&&i<ts;)i+=u,r=a.next(i);return i>=ts?1/0:i}function ry(a,i=100,u){const r=u({...a,keyframes:[0,i]}),c=Math.min(cr(r),ts);return{type:"keyframes",ease:h=>r.next(c*h).value/i,duration:Oe(c)}}const oy=5;function Bf(a,i,u){const r=Math.max(i-oy,0);return rf(u-a(r),i-r)}const Zt={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},fr=.001;function cy({duration:a=Zt.duration,bounce:i=Zt.bounce,velocity:u=Zt.velocity,mass:r=Zt.mass}){let c,h,d=1-i;d=an(Zt.minDamping,Zt.maxDamping,d),a=an(Zt.minDuration,Zt.maxDuration,Oe(a)),d<1?(c=y=>{const v=y*d,b=v*a,E=v-u,L=dr(y,d),O=Math.exp(-b);return fr-E/L*O},h=y=>{const b=y*d*a,E=b*u+u,L=Math.pow(d,2)*Math.pow(y,2)*a,O=Math.exp(-b),B=dr(Math.pow(y,2),d);return(-c(y)+fr>0?-1:1)*((E-L)*O)/B}):(c=y=>{const v=Math.exp(-y*a),b=(y-u)*a+1;return-fr+v*b},h=y=>{const v=Math.exp(-y*a),b=(u-y)*(a*a);return v*b});const g=5/a,p=dy(c,h,g);if(a=$e(a),isNaN(p))return{stiffness:Zt.stiffness,damping:Zt.damping,duration:a};{const y=Math.pow(p,2)*r;return{stiffness:y,damping:d*2*Math.sqrt(r*y),duration:a}}}const fy=12;function dy(a,i,u){let r=u;for(let c=1;c<fy;c++)r=r-a(r)/i(r);return r}function dr(a,i){return a*Math.sqrt(1-i*i)}const hy=["duration","bounce"],my=["stiffness","damping","mass"];function wf(a,i){return i.some(u=>a[u]!==void 0)}function py(a){let i={velocity:Zt.velocity,stiffness:Zt.stiffness,damping:Zt.damping,mass:Zt.mass,isResolvedFromDuration:!1,...a};if(!wf(a,my)&&wf(a,hy))if(a.visualDuration){const u=a.visualDuration,r=2*Math.PI/(u*1.2),c=r*r,h=2*an(.05,1,1-(a.bounce||0))*Math.sqrt(c);i={...i,mass:Zt.mass,stiffness:c,damping:h}}else{const u=cy(a);i={...i,...u,mass:Zt.mass},i.isResolvedFromDuration=!0}return i}function es(a=Zt.visualDuration,i=Zt.bounce){const u=typeof a!="object"?{visualDuration:a,keyframes:[0,1],bounce:i}:a;let{restSpeed:r,restDelta:c}=u;const h=u.keyframes[0],d=u.keyframes[u.keyframes.length-1],g={done:!1,value:h},{stiffness:p,damping:y,mass:v,duration:b,velocity:E,isResolvedFromDuration:L}=py({...u,velocity:-Oe(u.velocity||0)}),O=E||0,B=y/(2*Math.sqrt(p*v)),U=d-h,H=Oe(Math.sqrt(p/v)),Y=Math.abs(U)<5;r||(r=Y?Zt.restSpeed.granular:Zt.restSpeed.default),c||(c=Y?Zt.restDelta.granular:Zt.restDelta.default);let Q;if(B<1){const z=dr(H,B);Q=k=>{const J=Math.exp(-B*H*k);return d-J*((O+B*H*U)/z*Math.sin(z*k)+U*Math.cos(z*k))}}else if(B===1)Q=z=>d-Math.exp(-H*z)*(U+(O+H*U)*z);else{const z=H*Math.sqrt(B*B-1);Q=k=>{const J=Math.exp(-B*H*k),K=Math.min(z*k,300);return d-J*((O+B*H*U)*Math.sinh(K)+z*U*Math.cosh(K))/z}}const q={calculatedDuration:L&&b||null,next:z=>{const k=Q(z);if(L)g.done=z>=b;else{let J=z===0?O:0;B<1&&(J=z===0?$e(O):Bf(Q,z,k));const K=Math.abs(J)<=r,I=Math.abs(d-k)<=c;g.done=K&&I}return g.value=g.done?d:k,g},toString:()=>{const z=Math.min(cr(q),ts),k=zf(J=>q.next(z*J).value,z,30);return z+"ms "+k},toTransition:()=>{}};return q}es.applyToOptions=a=>{const i=ry(a,100,es);return a.ease=i.ease,a.duration=$e(i.duration),a.type="keyframes",a};function hr({keyframes:a,velocity:i=0,power:u=.8,timeConstant:r=325,bounceDamping:c=10,bounceStiffness:h=500,modifyTarget:d,min:g,max:p,restDelta:y=.5,restSpeed:v}){const b=a[0],E={done:!1,value:b},L=K=>g!==void 0&&K<g||p!==void 0&&K>p,O=K=>g===void 0?p:p===void 0||Math.abs(g-K)<Math.abs(p-K)?g:p;let B=u*i;const U=b+B,H=d===void 0?U:d(U);H!==U&&(B=H-b);const Y=K=>-B*Math.exp(-K/r),Q=K=>H+Y(K),q=K=>{const I=Y(K),at=Q(K);E.done=Math.abs(I)<=y,E.value=E.done?H:at};let z,k;const J=K=>{L(E.value)&&(z=K,k=es({keyframes:[E.value,O(E.value)],velocity:Bf(Q,K,E.value),damping:c,stiffness:h,restDelta:y,restSpeed:v}))};return J(0),{calculatedDuration:null,next:K=>{let I=!1;return!k&&z===void 0&&(I=!0,q(K),J(K)),z!==void 0&&K>=z?k.next(K-z):(!I&&q(K),E)}}}function yy(a,i,u){const r=[],c=u||ln.mix||Of,h=a.length-1;for(let d=0;d<h;d++){let g=c(a[d],a[d+1]);if(i){const p=Array.isArray(i)?i[d]||je:i;g=Bi(p,g)}r.push(g)}return r}function gy(a,i,{clamp:u=!0,ease:r,mixer:c}={}){const h=a.length;if(Pu(h===i.length),h===1)return()=>i[0];if(h===2&&i[0]===i[1])return()=>i[1];const d=a[0]===a[1];a[0]>a[h-1]&&(a=[...a].reverse(),i=[...i].reverse());const g=yy(i,r,c),p=g.length,y=v=>{if(d&&v<a[0])return i[0];let b=0;if(p>1)for(;b<a.length-2&&!(v<a[b+1]);b++);const E=wi(a[b],a[b+1],v);return g[b](E)};return u?v=>y(an(a[0],a[h-1],v)):y}function vy(a,i){const u=a[a.length-1];for(let r=1;r<=i;r++){const c=wi(0,i,r);a.push(Nt(u,1,c))}}function Sy(a){const i=[0];return vy(i,a.length-1),i}function by(a,i){return a.map(u=>u*i)}function Ey(a,i){return a.map(()=>i||gf).splice(0,a.length-1)}function qi({duration:a=300,keyframes:i,times:u,ease:r="easeInOut"}){const c=j4(r)?r.map(Sf):Sf(r),h={done:!1,value:i[0]},d=by(u&&u.length===i.length?u:Sy(i),a),g=gy(d,i,{ease:Array.isArray(c)?c:Ey(i,c)});return{calculatedDuration:a,next:p=>(h.value=g(p),h.done=p>=a,h)}}const Ay=a=>a!==null;function mr(a,{repeat:i,repeatType:u="loop"},r,c=1){const h=a.filter(Ay),g=c<0||i&&u!=="loop"&&i%2===1?0:h.length-1;return!g||r===void 0?h[g]:r}const Ty={decay:hr,inertia:hr,tween:qi,keyframes:qi,spring:es};function Nf(a){typeof a.type=="string"&&(a.type=Ty[a.type])}class pr{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,u){return this.finished.then(i,u)}}const My=a=>a/100;class yr extends pr{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:u}=this.options;u&&u.updatedAt!==de.now()&&this.tick(de.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;Nf(i);const{type:u=qi,repeat:r=0,repeatDelay:c=0,repeatType:h,velocity:d=0}=i;let{keyframes:g}=i;const p=u||qi;p!==qi&&typeof g[0]!="number"&&(this.mixKeyframes=Bi(My,Of(g[0],g[1])),g=[0,100]);const y=p({...i,keyframes:g});h==="mirror"&&(this.mirroredGenerator=p({...i,keyframes:[...g].reverse(),velocity:-d})),y.calculatedDuration===null&&(y.calculatedDuration=cr(y));const{calculatedDuration:v}=y;this.calculatedDuration=v,this.resolvedDuration=v+c,this.totalDuration=this.resolvedDuration*(r+1)-c,this.generator=y}updateTime(i){const u=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=u}tick(i,u=!1){const{generator:r,totalDuration:c,mixKeyframes:h,mirroredGenerator:d,resolvedDuration:g,calculatedDuration:p}=this;if(this.startTime===null)return r.next(0);const{delay:y=0,keyframes:v,repeat:b,repeatType:E,repeatDelay:L,type:O,onUpdate:B,finalKeyframe:U}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-c/this.speed,this.startTime)),u?this.currentTime=i:this.updateTime(i);const H=this.currentTime-y*(this.playbackSpeed>=0?1:-1),Y=this.playbackSpeed>=0?H<0:H>c;this.currentTime=Math.max(H,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let Q=this.currentTime,q=r;if(b){const K=Math.min(this.currentTime,c)/g;let I=Math.floor(K),at=K%1;!at&&K>=1&&(at=1),at===1&&I--,I=Math.min(I,b+1),!!(I%2)&&(E==="reverse"?(at=1-at,L&&(at-=L/g)):E==="mirror"&&(q=d)),Q=an(0,1,at)*g}const z=Y?{done:!1,value:v[0]}:q.next(Q);h&&(z.value=h(z.value));let{done:k}=z;!Y&&p!==null&&(k=this.playbackSpeed>=0?this.currentTime>=c:this.currentTime<=0);const J=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return J&&O!==hr&&(z.value=mr(v,this.options,U,this.speed)),B&&B(z.value),J&&this.finish(),z}then(i,u){return this.finished.then(i,u)}get duration(){return Oe(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Oe(i)}get time(){return Oe(this.currentTime)}set time(i){i=$e(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(i){this.updateTime(de.now());const u=this.playbackSpeed!==i;this.playbackSpeed=i,u&&(this.time=Oe(this.currentTime))}play(){if(this.isStopped)return;const{driver:i=uy,startTime:u}=this.options;this.driver||(this.driver=i(c=>this.tick(c))),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=u??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(de.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(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),i.observe(this)}}function xy(a){for(let i=1;i<a.length;i++)a[i]??(a[i]=a[i-1])}const ua=a=>a*180/Math.PI,gr=a=>{const i=ua(Math.atan2(a[1],a[0]));return vr(i)},Vy={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:a=>(Math.abs(a[0])+Math.abs(a[3]))/2,rotate:gr,rotateZ:gr,skewX:a=>ua(Math.atan(a[1])),skewY:a=>ua(Math.atan(a[2])),skew:a=>(Math.abs(a[1])+Math.abs(a[2]))/2},vr=a=>(a=a%360,a<0&&(a+=360),a),Zf=gr,Uf=a=>Math.sqrt(a[0]*a[0]+a[1]*a[1]),_f=a=>Math.sqrt(a[4]*a[4]+a[5]*a[5]),Ly={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Uf,scaleY:_f,scale:a=>(Uf(a)+_f(a))/2,rotateX:a=>vr(ua(Math.atan2(a[6],a[5]))),rotateY:a=>vr(ua(Math.atan2(-a[2],a[0]))),rotateZ:Zf,rotate:Zf,skewX:a=>ua(Math.atan(a[4])),skewY:a=>ua(Math.atan(a[1])),skew:a=>(Math.abs(a[1])+Math.abs(a[4]))/2};function Sr(a){return a.includes("scale")?1:0}function br(a,i){if(!a||a==="none")return Sr(i);const u=a.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,c;if(u)r=Ly,c=u;else{const g=a.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Vy,c=g}if(!c)return Sr(i);const h=r[i],d=c[1].split(",").map(Dy);return typeof h=="function"?h(d):d[h]}const Cy=(a,i)=>{const{transform:u="none"}=getComputedStyle(a);return br(u,i)};function Dy(a){return parseFloat(a.trim())}const wa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Na=new Set(wa),Gf=a=>a===za||a===st,Ry=new Set(["x","y","z"]),Hy=wa.filter(a=>!Ry.has(a));function jy(a){const i=[];return Hy.forEach(u=>{const r=a.getValue(u);r!==void 0&&(i.push([u,r.get()]),r.set(u.startsWith("scale")?1:0))}),i}const ra={width:({x:a},{paddingLeft:i="0",paddingRight:u="0"})=>a.max-a.min-parseFloat(i)-parseFloat(u),height:({y:a},{paddingTop:i="0",paddingBottom:u="0"})=>a.max-a.min-parseFloat(i)-parseFloat(u),top:(a,{top:i})=>parseFloat(i),left:(a,{left:i})=>parseFloat(i),bottom:({y:a},{top:i})=>parseFloat(i)+(a.max-a.min),right:({x:a},{left:i})=>parseFloat(i)+(a.max-a.min),x:(a,{transform:i})=>br(i,"x"),y:(a,{transform:i})=>br(i,"y")};ra.translateX=ra.x,ra.translateY=ra.y;const oa=new Set;let Er=!1,Ar=!1,Tr=!1;function qf(){if(Ar){const a=Array.from(oa).filter(r=>r.needsMeasurement),i=new Set(a.map(r=>r.element)),u=new Map;i.forEach(r=>{const c=jy(r);c.length&&(u.set(r,c),r.render())}),a.forEach(r=>r.measureInitialState()),i.forEach(r=>{r.render();const c=u.get(r);c&&c.forEach(([h,d])=>{r.getValue(h)?.set(d)})}),a.forEach(r=>r.measureEndState()),a.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Ar=!1,Er=!1,oa.forEach(a=>a.complete(Tr)),oa.clear()}function Yf(){oa.forEach(a=>{a.readKeyframes(),a.needsMeasurement&&(Ar=!0)})}function Oy(){Tr=!0,Yf(),qf(),Tr=!1}class Mr{constructor(i,u,r,c,h,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=u,this.name=r,this.motionValue=c,this.element=h,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(oa.add(this),Er||(Er=!0,zt.read(Yf),zt.resolveKeyframes(qf))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:u,element:r,motionValue:c}=this;if(i[0]===null){const h=c?.get(),d=i[i.length-1];if(h!==void 0)i[0]=h;else if(r&&u){const g=r.readValue(u,d);g!=null&&(i[0]=g)}i[0]===void 0&&(i[0]=d),c&&h===void 0&&c.set(i[0])}xy(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),oa.delete(this)}cancel(){this.state==="scheduled"&&(oa.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const zy=a=>a.startsWith("--");function By(a,i,u){zy(i)?a.style.setProperty(i,u):a.style[i]=u}const wy=Ju(()=>window.ScrollTimeline!==void 0),Ny={};function Zy(a,i){const u=Ju(a);return()=>Ny[i]??u()}const Xf=Zy(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Yi=([a,i,u,r])=>`cubic-bezier(${a}, ${i}, ${u}, ${r})`,kf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Yi([0,.65,.55,1]),circOut:Yi([.55,0,1,.45]),backIn:Yi([.31,.01,.66,-.59]),backOut:Yi([.33,1.53,.69,.99])};function Kf(a,i){if(a)return typeof a=="function"?Xf()?zf(a,i):"ease-out":vf(a)?Yi(a):Array.isArray(a)?a.map(u=>Kf(u,i)||kf.easeOut):kf[a]}function Uy(a,i,u,{delay:r=0,duration:c=300,repeat:h=0,repeatType:d="loop",ease:g="easeOut",times:p}={},y=void 0){const v={[i]:u};p&&(v.offset=p);const b=Kf(g,c);Array.isArray(b)&&(v.easing=b);const E={delay:r,duration:c,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:h+1,direction:d==="reverse"?"alternate":"normal"};return y&&(E.pseudoElement=y),a.animate(v,E)}function Ff(a){return typeof a=="function"&&"applyToOptions"in a}function _y({type:a,...i}){return Ff(a)&&Xf()?a.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class Gy extends pr{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,!i)return;const{element:u,name:r,keyframes:c,pseudoElement:h,allowFlatten:d=!1,finalKeyframe:g,onComplete:p}=i;this.isPseudoElement=!!h,this.allowFlatten=d,this.options=i,Pu(typeof i.type!="string");const y=_y(i);this.animation=Uy(u,r,c,y,h),y.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!h){const v=mr(c,this.options,g,this.speed);this.updateMotionValue?this.updateMotionValue(v):By(u,r,v),this.animation.cancel()}p?.(),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:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const i=this.animation.effect?.getComputedTiming?.().duration||0;return Oe(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Oe(i)}get time(){return Oe(Number(this.animation.currentTime)||0)}set time(i){this.finishedTime=null,this.animation.currentTime=$e(i)}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(i){this.animation.startTime=i}attachTimeline({timeline:i,observe:u}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,i&&wy()?(this.animation.timeline=i,je):u(this)}}const Qf={anticipate:mf,backInOut:hf,circInOut:yf};function qy(a){return a in Qf}function Yy(a){typeof a.ease=="string"&&qy(a.ease)&&(a.ease=Qf[a.ease])}const Pf=10;class Xy extends Gy{constructor(i){Yy(i),Nf(i),super(i),i.startTime&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:u,onUpdate:r,onComplete:c,element:h,...d}=this.options;if(!u)return;if(i!==void 0){u.set(i);return}const g=new yr({...d,autoplay:!1}),p=$e(this.finishedTime??this.time);u.setWithVelocity(g.sample(p-Pf).value,g.sample(p).value,Pf),g.stop()}}const Jf=(a,i)=>i==="zIndex"?!1:!!(typeof a=="number"||Array.isArray(a)||typeof a=="string"&&(Rn.test(a)||a==="0")&&!a.startsWith("url("));function ky(a){const i=a[0];if(a.length===1)return!0;for(let u=0;u<a.length;u++)if(a[u]!==i)return!0}function Ky(a,i,u,r){const c=a[0];if(c===null)return!1;if(i==="display"||i==="visibility")return!0;const h=a[a.length-1],d=Jf(c,i),g=Jf(h,i);return!d||!g?!1:ky(a)||(u==="spring"||Ff(u))&&r}function xr(a){a.duration=0,a.type="keyframes"}const Fy=new Set(["opacity","clipPath","filter","transform"]),Qy=Ju(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Py(a){const{motionValue:i,name:u,repeatDelay:r,repeatType:c,damping:h,type:d}=a;if(!(i?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:y}=i.owner.getProps();return Qy()&&u&&Fy.has(u)&&(u!=="transform"||!y)&&!p&&!r&&c!=="mirror"&&h!==0&&d!=="inertia"}const Jy=40;class $y extends pr{constructor({autoplay:i=!0,delay:u=0,type:r="keyframes",repeat:c=0,repeatDelay:h=0,repeatType:d="loop",keyframes:g,name:p,motionValue:y,element:v,...b}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=de.now();const E={autoplay:i,delay:u,type:r,repeat:c,repeatDelay:h,repeatType:d,name:p,motionValue:y,element:v,...b},L=v?.KeyframeResolver||Mr;this.keyframeResolver=new L(g,(O,B,U)=>this.onKeyframesResolved(O,B,E,!U),p,y,v),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(i,u,r,c){this.keyframeResolver=void 0;const{name:h,type:d,velocity:g,delay:p,isHandoff:y,onUpdate:v}=r;this.resolvedAt=de.now(),Ky(i,h,d,g)||((ln.instantAnimations||!p)&&v?.(mr(i,r,u)),i[0]=i[i.length-1],xr(r),r.repeat=0);const E={startTime:c?this.resolvedAt?this.resolvedAt-this.createdAt>Jy?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:u,...r,keyframes:i},L=!y&&Py(E)?new Xy({...E,element:E.motionValue.owner.current}):new yr(E);L.finished.then(()=>this.notifyFinished()).catch(je),this.pendingTimeline&&(this.stopTimeline=L.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=L}get finished(){return this._animation?this.animation.finished:this._finished}then(i,u){return this.finished.finally(i).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Oy()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Wy=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Iy(a){const i=Wy.exec(a);if(!i)return[,];const[,u,r,c]=i;return[`--${u??r}`,c]}function $f(a,i,u=1){const[r,c]=Iy(a);if(!r)return;const h=window.getComputedStyle(i).getPropertyValue(r);if(h){const d=h.trim();return lf(d)?parseFloat(d):d}return er(c)?$f(c,i,u+1):c}function Vr(a,i){return a?.[i]??a?.default??a}const Wf=new Set(["width","height","top","left","right","bottom",...wa]),tg={test:a=>a==="auto",parse:a=>a},If=a=>i=>i.test(a),t1=[za,st,We,Dn,k4,X4,tg],e1=a=>t1.find(If(a));function eg(a){return typeof a=="number"?a===0:a!==null?a==="none"||a==="0"||uf(a):!0}const ng=new Set(["brightness","contrast","saturate","opacity"]);function ag(a){const[i,u]=a.slice(0,-1).split("(");if(i==="drop-shadow")return a;const[r]=u.match(nr)||[];if(!r)return a;const c=u.replace(r,"");let h=ng.has(i)?1:0;return r!==u&&(h*=100),i+"("+h+c+")"}const ig=/\b([a-z-]*)\(.*?\)/gu,Lr={...Rn,getAnimatableNone:a=>{const i=a.match(ig);return i?i.map(ag).join(" "):a}},n1={...za,transform:Math.round},Cr={borderWidth:st,borderTopWidth:st,borderRightWidth:st,borderBottomWidth:st,borderLeftWidth:st,borderRadius:st,radius:st,borderTopLeftRadius:st,borderTopRightRadius:st,borderBottomRightRadius:st,borderBottomLeftRadius:st,width:st,maxWidth:st,height:st,maxHeight:st,top:st,right:st,bottom:st,left:st,padding:st,paddingTop:st,paddingRight:st,paddingBottom:st,paddingLeft:st,margin:st,marginTop:st,marginRight:st,marginBottom:st,marginLeft:st,backgroundPositionX:st,backgroundPositionY:st,...{rotate:Dn,rotateX:Dn,rotateY:Dn,rotateZ:Dn,scale:Wl,scaleX:Wl,scaleY:Wl,scaleZ:Wl,skew:Dn,skewX:Dn,skewY:Dn,distance:st,translateX:st,translateY:st,translateZ:st,x:st,y:st,z:st,perspective:st,transformPerspective:st,opacity:Zi,originX:Mf,originY:Mf,originZ:st},zIndex:n1,fillOpacity:Zi,strokeOpacity:Zi,numOctaves:n1},lg={...Cr,color:Yt,backgroundColor:Yt,outlineColor:Yt,fill:Yt,stroke:Yt,borderColor:Yt,borderTopColor:Yt,borderRightColor:Yt,borderBottomColor:Yt,borderLeftColor:Yt,filter:Lr,WebkitFilter:Lr},a1=a=>lg[a];function i1(a,i){let u=a1(a);return u!==Lr&&(u=Rn),u.getAnimatableNone?u.getAnimatableNone(i):void 0}const sg=new Set(["auto","none","0"]);function ug(a,i,u){let r=0,c;for(;r<a.length&&!c;){const h=a[r];typeof h=="string"&&!sg.has(h)&&Gi(h).values.length&&(c=a[r]),r++}if(c&&u)for(const h of i)a[h]=i1(u,c)}class rg extends Mr{constructor(i,u,r,c,h){super(i,u,r,c,h,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:u,name:r}=this;if(!u||!u.current)return;super.readKeyframes();for(let p=0;p<i.length;p++){let y=i[p];if(typeof y=="string"&&(y=y.trim(),er(y))){const v=$f(y,u.current);v!==void 0&&(i[p]=v),p===i.length-1&&(this.finalKeyframe=y)}}if(this.resolveNoneKeyframes(),!Wf.has(r)||i.length!==2)return;const[c,h]=i,d=e1(c),g=e1(h);if(d!==g)if(Gf(d)&&Gf(g))for(let p=0;p<i.length;p++){const y=i[p];typeof y=="string"&&(i[p]=parseFloat(y))}else ra[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:u}=this,r=[];for(let c=0;c<i.length;c++)(i[c]===null||eg(i[c]))&&r.push(c);r.length&&ug(i,r,u)}measureInitialState(){const{element:i,unresolvedKeyframes:u,name:r}=this;if(!i||!i.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ra[r](i.measureViewportBox(),window.getComputedStyle(i.current)),u[0]=this.measuredOrigin;const c=u[u.length-1];c!==void 0&&i.getValue(r,c).jump(c,!1)}measureEndState(){const{element:i,name:u,unresolvedKeyframes:r}=this;if(!i||!i.current)return;const c=i.getValue(u);c&&c.jump(this.measuredOrigin,!1);const h=r.length-1,d=r[h];r[h]=ra[u](i.measureViewportBox(),window.getComputedStyle(i.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),this.removedTransforms?.length&&this.removedTransforms.forEach(([g,p])=>{i.getValue(g).set(p)}),this.resolveNoneKeyframes()}}function og(a,i,u){if(a instanceof EventTarget)return[a];if(typeof a=="string"){let r=document;const c=u?.[a]??r.querySelectorAll(a);return c?Array.from(c):[]}return Array.from(a)}const l1=(a,i)=>i&&typeof a=="number"?i.transform(a):a;function s1(a){return sf(a)&&"offsetHeight"in a}const u1=30,cg=a=>!isNaN(parseFloat(a));class fg{constructor(i,u={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const c=de.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const h of this.dependents)h.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=u.owner}setCurrent(i){this.current=i,this.updatedAt=de.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=cg(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,u){this.events[i]||(this.events[i]=new $u);const r=this.events[i].add(u);return i==="change"?()=>{r(),zt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,u){this.passiveEffect=i,this.stopPassiveEffect=u}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,u,r){this.set(u),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-r}jump(i,u=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,u&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const i=de.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>u1)return 0;const u=Math.min(this.updatedAt-this.prevUpdatedAt,u1);return rf(parseFloat(this.current)-parseFloat(this.prevFrameValue),u)}start(i){return this.stop(),new Promise(u=>{this.hasAnimated=!0,this.animation=i(u),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 Za(a,i){return new fg(a,i)}const{schedule:Dr}=bf(queueMicrotask,!1),ke={x:!1,y:!1};function r1(){return ke.x||ke.y}function dg(a){return a==="x"||a==="y"?ke[a]?null:(ke[a]=!0,()=>{ke[a]=!1}):ke.x||ke.y?null:(ke.x=ke.y=!0,()=>{ke.x=ke.y=!1})}function o1(a,i){const u=og(a),r=new AbortController,c={passive:!0,...i,signal:r.signal};return[u,c,()=>r.abort()]}function c1(a){return!(a.pointerType==="touch"||r1())}function hg(a,i,u={}){const[r,c,h]=o1(a,u),d=g=>{if(!c1(g))return;const{target:p}=g,y=i(p,g);if(typeof y!="function"||!p)return;const v=b=>{c1(b)&&(y(b),p.removeEventListener("pointerleave",v))};p.addEventListener("pointerleave",v,c)};return r.forEach(g=>{g.addEventListener("pointerenter",d,c)}),h}const f1=(a,i)=>i?a===i?!0:f1(a,i.parentElement):!1,Rr=a=>a.pointerType==="mouse"?typeof a.button!="number"||a.button<=0:a.isPrimary!==!1,mg=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function pg(a){return mg.has(a.tagName)||a.tabIndex!==-1}const ns=new WeakSet;function d1(a){return i=>{i.key==="Enter"&&a(i)}}function Hr(a,i){a.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const yg=(a,i)=>{const u=a.currentTarget;if(!u)return;const r=d1(()=>{if(ns.has(u))return;Hr(u,"down");const c=d1(()=>{Hr(u,"up")}),h=()=>Hr(u,"cancel");u.addEventListener("keyup",c,i),u.addEventListener("blur",h,i)});u.addEventListener("keydown",r,i),u.addEventListener("blur",()=>u.removeEventListener("keydown",r),i)};function h1(a){return Rr(a)&&!r1()}function gg(a,i,u={}){const[r,c,h]=o1(a,u),d=g=>{const p=g.currentTarget;if(!h1(g))return;ns.add(p);const y=i(p,g),v=(L,O)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",E),ns.has(p)&&ns.delete(p),h1(L)&&typeof y=="function"&&y(L,{success:O})},b=L=>{v(L,p===window||p===document||u.useGlobalTarget||f1(p,L.target))},E=L=>{v(L,!1)};window.addEventListener("pointerup",b,c),window.addEventListener("pointercancel",E,c)};return r.forEach(g=>{(u.useGlobalTarget?window:g).addEventListener("pointerdown",d,c),s1(g)&&(g.addEventListener("focus",y=>yg(y,c)),!pg(g)&&!g.hasAttribute("tabindex")&&(g.tabIndex=0))}),h}function m1(a){return sf(a)&&"ownerSVGElement"in a}function vg(a){return m1(a)&&a.tagName==="svg"}const re=a=>!!(a&&a.getVelocity),Sg=[...t1,Yt,Rn],bg=a=>Sg.find(If(a)),jr=f.createContext({transformPagePoint:a=>a,isStatic:!1,reducedMotion:"never"});function p1(a,i){if(typeof a=="function")return a(i);a!=null&&(a.current=i)}function Eg(...a){return i=>{let u=!1;const r=a.map(c=>{const h=p1(c,i);return!u&&typeof h=="function"&&(u=!0),h});if(u)return()=>{for(let c=0;c<r.length;c++){const h=r[c];typeof h=="function"?h():p1(a[c],null)}}}}function Ag(...a){return f.useCallback(Eg(...a),a)}class Tg extends f.Component{getSnapshotBeforeUpdate(i){const u=this.props.childRef.current;if(u&&i.isPresent&&!this.props.isPresent){const r=u.offsetParent,c=s1(r)&&r.offsetWidth||0,h=this.props.sizeRef.current;h.height=u.offsetHeight||0,h.width=u.offsetWidth||0,h.top=u.offsetTop,h.left=u.offsetLeft,h.right=c-h.width-h.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Mg({children:a,isPresent:i,anchorX:u,root:r}){const c=f.useId(),h=f.useRef(null),d=f.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:g}=f.useContext(jr),p=Ag(h,a?.ref);return f.useInsertionEffect(()=>{const{width:y,height:v,top:b,left:E,right:L}=d.current;if(i||!h.current||!y||!v)return;const O=u==="left"?`left: ${E}`:`right: ${L}`;h.current.dataset.motionPopId=c;const B=document.createElement("style");g&&(B.nonce=g);const U=r??document.head;return U.appendChild(B),B.sheet&&B.sheet.insertRule(`
10
10
  [data-motion-pop-id="${c}"] {
11
11
  position: absolute !important;
12
12
  width: ${y}px !important;
@@ -14,4 +14,4 @@ Error generating stack: `+l.message+`
14
14
  ${O}px !important;
15
15
  top: ${b}px !important;
16
16
  }
17
- `),()=>{U.contains(B)&&U.removeChild(B)}},[i]),A.jsx(Ag,{isPresent:i,childRef:h,sizeRef:d,children:f.cloneElement(a,{ref:p})})}const Mg=({children:a,initial:i,isPresent:u,onExitComplete:r,custom:c,presenceAffectsLayout:h,mode:d,anchorX:g,root:p})=>{const y=ku(xg),v=f.useId();let b=!0,E=f.useMemo(()=>(b=!1,{id:v,initial:i,isPresent:u,custom:c,onExitComplete:L=>{y.set(L,!0);for(const O of y.values())if(!O)return;r&&r()},register:L=>(y.set(L,!1),()=>y.delete(L))}),[u,y,r]);return h&&b&&(E={...E}),f.useMemo(()=>{y.forEach((L,O)=>y.set(O,!1))},[u]),f.useEffect(()=>{!u&&!y.size&&r&&r()},[u]),d==="popLayout"&&(a=A.jsx(Tg,{isPresent:u,anchorX:g,root:p,children:a})),A.jsx(Pl.Provider,{value:E,children:a})};function xg(){return new Map}function y1(a=!0){const i=f.useContext(Pl);if(i===null)return[!0,null];const{isPresent:u,onExitComplete:r,register:c}=i,h=f.useId();f.useEffect(()=>{if(a)return c(h)},[a]);const d=f.useCallback(()=>a&&r&&r(h),[h,r,a]);return!u&&r?[!1,d]:[!0]}const as=a=>a.key||"";function g1(a){const i=[];return f.Children.forEach(a,u=>{f.isValidElement(u)&&i.push(u)}),i}const Vg=({children:a,custom:i,initial:u=!0,onExitComplete:r,presenceAffectsLayout:c=!0,mode:h="sync",propagate:d=!1,anchorX:g="left",root:p})=>{const[y,v]=y1(d),b=f.useMemo(()=>g1(a),[a]),E=d&&!y?[]:b.map(as),L=f.useRef(!0),O=f.useRef(b),B=ku(()=>new Map),[U,j]=f.useState(b),[Y,Q]=f.useState(b);af(()=>{L.current=!1,O.current=b;for(let k=0;k<Y.length;k++){const J=as(Y[k]);E.includes(J)?B.delete(J):B.get(J)!==!0&&B.set(J,!1)}},[Y,E.length,E.join("-")]);const q=[];if(b!==U){let k=[...b];for(let J=0;J<Y.length;J++){const K=Y[J],I=as(K);E.includes(I)||(k.splice(J,0,K),q.push(K))}return h==="wait"&&q.length&&(k=q),Q(g1(k)),j(b),null}const{forceRender:z}=f.useContext(Xu);return A.jsx(A.Fragment,{children:Y.map(k=>{const J=as(k),K=d&&!y?!1:b===Y||E.includes(J),I=()=>{if(B.has(J))B.set(J,!0);else return;let at=!0;B.forEach(Rt=>{Rt||(at=!1)}),at&&(z?.(),Q(O.current),d&&v?.(),r&&r())};return A.jsx(Mg,{isPresent:K,initial:!L.current||u?void 0:!1,custom:i,presenceAffectsLayout:c,mode:h,root:p,onExitComplete:K?void 0:I,anchorX:g,children:k},J)})})},v1=f.createContext({strict:!1}),S1={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"]},Ua={};for(const a in S1)Ua[a]={isEnabled:i=>S1[a].some(u=>!!i[u])};function Lg(a){for(const i in a)Ua[i]={...Ua[i],...a[i]}}const Cg=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 is(a){return a.startsWith("while")||a.startsWith("drag")&&a!=="draggable"||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||Cg.has(a)}let b1=a=>!is(a);function Dg(a){typeof a=="function"&&(b1=i=>i.startsWith("on")?!is(i):a(i))}try{Dg(require("@emotion/is-prop-valid").default)}catch{}function Rg(a,i,u){const r={};for(const c in a)c==="values"&&typeof a.values=="object"||(b1(c)||u===!0&&is(c)||!i&&!is(c)||a.draggable&&c.startsWith("onDrag"))&&(r[c]=a[c]);return r}const ls=f.createContext({});function ss(a){return a!==null&&typeof a=="object"&&typeof a.start=="function"}function Xi(a){return typeof a=="string"||Array.isArray(a)}const Or=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],zr=["initial",...Or];function us(a){return ss(a.animate)||zr.some(i=>Xi(a[i]))}function E1(a){return!!(us(a)||a.variants)}function Hg(a,i){if(us(a)){const{initial:u,animate:r}=a;return{initial:u===!1||Xi(u)?u:void 0,animate:Xi(r)?r:void 0}}return a.inherit!==!1?i:{}}function jg(a){const{initial:i,animate:u}=Hg(a,f.useContext(ls));return f.useMemo(()=>({initial:i,animate:u}),[A1(i),A1(u)])}function A1(a){return Array.isArray(a)?a.join(" "):a}function T1(a,i){return i.max===i.min?0:a/(i.max-i.min)*100}const ki={correct:(a,i)=>{if(!i.target)return a;if(typeof a=="string")if(st.test(a))a=parseFloat(a);else return a;const u=T1(a,i.target.x),r=T1(a,i.target.y);return`${u}% ${r}%`}},Og={correct:(a,{treeScale:i,projectionDelta:u})=>{const r=a,c=Hn.parse(a);if(c.length>5)return r;const h=Hn.createTransformer(a),d=typeof c[0]!="number"?1:0,g=u.x.scale*i.x,p=u.y.scale*i.y;c[0+d]/=g,c[1+d]/=p;const y=Nt(g,p,.5);return typeof c[2+d]=="number"&&(c[2+d]/=y),typeof c[3+d]=="number"&&(c[3+d]/=y),h(c)}},Br={borderRadius:{...ki,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ki,borderTopRightRadius:ki,borderBottomLeftRadius:ki,borderBottomRightRadius:ki,boxShadow:Og};function M1(a,{layout:i,layoutId:u}){return Na.has(a)||a.startsWith("origin")||(i||u!==void 0)&&(!!Br[a]||a==="opacity")}const zg={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Bg=wa.length;function wg(a,i,u){let r="",c=!0;for(let h=0;h<Bg;h++){const d=wa[h],g=a[d];if(g===void 0)continue;let p=!0;if(typeof g=="number"?p=g===(d.startsWith("scale")?1:0):p=parseFloat(g)===0,!p||u){const y=l1(g,Cr[d]);if(!p){c=!1;const v=zg[d]||d;r+=`${v}(${y}) `}u&&(i[d]=y)}}return r=r.trim(),u?r=u(i,c?"":r):c&&(r="none"),r}function wr(a,i,u){const{style:r,vars:c,transformOrigin:h}=a;let d=!1,g=!1;for(const p in i){const y=i[p];if(Na.has(p)){d=!0;continue}else if(Af(p)){c[p]=y;continue}else{const v=l1(y,Cr[p]);p.startsWith("origin")?(g=!0,h[p]=v):r[p]=v}}if(i.transform||(d||u?r.transform=wg(i,a.transform,u):r.transform&&(r.transform="none")),g){const{originX:p="50%",originY:y="50%",originZ:v=0}=h;r.transformOrigin=`${p} ${y} ${v}`}}const Nr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function x1(a,i,u){for(const r in i)!re(i[r])&&!M1(r,u)&&(a[r]=i[r])}function Ng({transformTemplate:a},i){return f.useMemo(()=>{const u=Nr();return wr(u,i,a),Object.assign({},u.vars,u.style)},[i])}function Zg(a,i){const u=a.style||{},r={};return x1(r,u,a),Object.assign(r,Ng(a,i)),r}function Ug(a,i){const u={},r=Zg(a,i);return a.drag&&a.dragListener!==!1&&(u.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=a.drag===!0?"none":`pan-${a.drag==="x"?"y":"x"}`),a.tabIndex===void 0&&(a.onTap||a.onTapStart||a.whileTap)&&(u.tabIndex=0),u.style=r,u}const _g={offset:"stroke-dashoffset",array:"stroke-dasharray"},Gg={offset:"strokeDashoffset",array:"strokeDasharray"};function qg(a,i,u=1,r=0,c=!0){a.pathLength=1;const h=c?_g:Gg;a[h.offset]=st.transform(-r);const d=st.transform(i),g=st.transform(u);a[h.array]=`${d} ${g}`}function V1(a,{attrX:i,attrY:u,attrScale:r,pathLength:c,pathSpacing:h=1,pathOffset:d=0,...g},p,y,v){if(wr(a,g,y),p){a.style.viewBox&&(a.attrs.viewBox=a.style.viewBox);return}a.attrs=a.style,a.style={};const{attrs:b,style:E}=a;b.transform&&(E.transform=b.transform,delete b.transform),(E.transform||b.transformOrigin)&&(E.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),E.transform&&(E.transformBox=v?.transformBox??"fill-box",delete b.transformBox),i!==void 0&&(b.x=i),u!==void 0&&(b.y=u),r!==void 0&&(b.scale=r),c!==void 0&&qg(b,c,h,d,!1)}const L1=()=>({...Nr(),attrs:{}}),C1=a=>typeof a=="string"&&a.toLowerCase()==="svg";function Yg(a,i,u,r){const c=f.useMemo(()=>{const h=L1();return V1(h,i,C1(r),a.transformTemplate,a.style),{...h.attrs,style:{...h.style}}},[i]);if(a.style){const h={};x1(h,a.style,a),c.style={...h,...c.style}}return c}const Xg=["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 Zr(a){return typeof a!="string"||a.includes("-")?!1:!!(Xg.indexOf(a)>-1||/[A-Z]/u.test(a))}function kg(a,i,u,{latestValues:r},c,h=!1){const g=(Zr(a)?Yg:Ug)(i,r,c,a),p=Rg(i,typeof a=="string",h),y=a!==f.Fragment?{...p,...g,ref:u}:{},{children:v}=i,b=f.useMemo(()=>re(v)?v.get():v,[v]);return f.createElement(a,{...y,children:b})}function D1(a){const i=[{},{}];return a?.values.forEach((u,r)=>{i[0][r]=u.get(),i[1][r]=u.getVelocity()}),i}function Ur(a,i,u,r){if(typeof i=="function"){const[c,h]=D1(r);i=i(u!==void 0?u:a.custom,c,h)}if(typeof i=="string"&&(i=a.variants&&a.variants[i]),typeof i=="function"){const[c,h]=D1(r);i=i(u!==void 0?u:a.custom,c,h)}return i}function rs(a){return re(a)?a.get():a}function Kg({scrapeMotionValuesFromProps:a,createRenderState:i},u,r,c){return{latestValues:Fg(u,r,c,a),renderState:i()}}function Fg(a,i,u,r){const c={},h=r(a,{});for(const E in h)c[E]=rs(h[E]);let{initial:d,animate:g}=a;const p=us(a),y=E1(a);i&&y&&!p&&a.inherit!==!1&&(d===void 0&&(d=i.initial),g===void 0&&(g=i.animate));let v=u?u.initial===!1:!1;v=v||d===!1;const b=v?g:d;if(b&&typeof b!="boolean"&&!ss(b)){const E=Array.isArray(b)?b:[b];for(let L=0;L<E.length;L++){const O=Ur(a,E[L]);if(O){const{transitionEnd:B,transition:U,...j}=O;for(const Y in j){let Q=j[Y];if(Array.isArray(Q)){const q=v?Q.length-1:0;Q=Q[q]}Q!==null&&(c[Y]=Q)}for(const Y in B)c[Y]=B[Y]}}}return c}const R1=a=>(i,u)=>{const r=f.useContext(ls),c=f.useContext(Pl),h=()=>Kg(a,i,r,c);return u?h():ku(h)};function _r(a,i,u){const{style:r}=a,c={};for(const h in r)(re(r[h])||i.style&&re(i.style[h])||M1(h,a)||u?.getValue(h)?.liveStyle!==void 0)&&(c[h]=r[h]);return c}const Qg=R1({scrapeMotionValuesFromProps:_r,createRenderState:Nr});function H1(a,i,u){const r=_r(a,i,u);for(const c in a)if(re(a[c])||re(i[c])){const h=wa.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;r[h]=a[c]}return r}const Pg=R1({scrapeMotionValuesFromProps:H1,createRenderState:L1}),Jg=Symbol.for("motionComponentSymbol");function _a(a){return a&&typeof a=="object"&&Object.prototype.hasOwnProperty.call(a,"current")}function $g(a,i,u){return f.useCallback(r=>{r&&a.onMount&&a.onMount(r),i&&(r?i.mount(r):i.unmount()),u&&(typeof u=="function"?u(r):_a(u)&&(u.current=r))},[i])}const Gr=a=>a.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),j1="data-"+Gr("framerAppearId"),O1=f.createContext({});function Wg(a,i,u,r,c){const{visualElement:h}=f.useContext(ls),d=f.useContext(v1),g=f.useContext(Pl),p=f.useContext(jr).reducedMotion,y=f.useRef(null);r=r||d.renderer,!y.current&&r&&(y.current=r(a,{visualState:i,parent:h,props:u,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:p}));const v=y.current,b=f.useContext(O1);v&&!v.projection&&c&&(v.type==="html"||v.type==="svg")&&Ig(y.current,u,c,b);const E=f.useRef(!1);f.useInsertionEffect(()=>{v&&E.current&&v.update(u,g)});const L=u[j1],O=f.useRef(!!L&&!window.MotionHandoffIsComplete?.(L)&&window.MotionHasOptimisedAnimation?.(L));return af(()=>{v&&(E.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),O.current&&v.animationState&&v.animationState.animateChanges())}),f.useEffect(()=>{v&&(!O.current&&v.animationState&&v.animationState.animateChanges(),O.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(L)}),O.current=!1),v.enteringChildren=void 0)}),v}function Ig(a,i,u,r){const{layoutId:c,layout:h,drag:d,dragConstraints:g,layoutScroll:p,layoutRoot:y,layoutCrossfade:v}=i;a.projection=new u(a.latestValues,i["data-framer-portal-id"]?void 0:z1(a.parent)),a.projection.setOptions({layoutId:c,layout:h,alwaysMeasureLayout:!!d||g&&_a(g),visualElement:a,animationType:typeof h=="string"?h:"both",initialPromotionConfig:r,crossfade:v,layoutScroll:p,layoutRoot:y})}function z1(a){if(a)return a.options.allowProjection!==!1?a.projection:z1(a.parent)}function qr(a,{forwardMotionProps:i=!1}={},u,r){u&&Lg(u);const c=Zr(a)?Pg:Qg;function h(g,p){let y;const v={...f.useContext(jr),...g,layoutId:tv(g)},{isStatic:b}=v,E=jg(g),L=c(g,b);if(!b&&Ku){ev();const O=nv(v);y=O.MeasureLayout,E.visualElement=Wg(a,L,v,r,O.ProjectionNode)}return A.jsxs(ls.Provider,{value:E,children:[y&&E.visualElement?A.jsx(y,{visualElement:E.visualElement,...v}):null,kg(a,g,$g(L,E.visualElement,p),L,b,i)]})}h.displayName=`motion.${typeof a=="string"?a:`create(${a.displayName??a.name??""})`}`;const d=f.forwardRef(h);return d[Jg]=a,d}function tv({layoutId:a}){const i=f.useContext(Xu).id;return i&&a!==void 0?i+"-"+a:a}function ev(a,i){f.useContext(v1).strict}function nv(a){const{drag:i,layout:u}=Ua;if(!i&&!u)return{};const r={...i,...u};return{MeasureLayout:i?.isEnabled(a)||u?.isEnabled(a)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function av(a,i){if(typeof Proxy>"u")return qr;const u=new Map,r=(h,d)=>qr(h,d,a,i),c=(h,d)=>r(h,d);return new Proxy(c,{get:(h,d)=>d==="create"?r:(u.has(d)||u.set(d,qr(d,void 0,a,i)),u.get(d))})}function B1({top:a,left:i,right:u,bottom:r}){return{x:{min:i,max:u},y:{min:a,max:r}}}function iv({x:a,y:i}){return{top:i.min,right:a.max,bottom:i.max,left:a.min}}function lv(a,i){if(!i)return a;const u=i({x:a.left,y:a.top}),r=i({x:a.right,y:a.bottom});return{top:u.y,left:u.x,bottom:r.y,right:r.x}}function Yr(a){return a===void 0||a===1}function Xr({scale:a,scaleX:i,scaleY:u}){return!Yr(a)||!Yr(i)||!Yr(u)}function ca(a){return Xr(a)||w1(a)||a.z||a.rotate||a.rotateX||a.rotateY||a.skewX||a.skewY}function w1(a){return N1(a.x)||N1(a.y)}function N1(a){return a&&a!=="0%"}function os(a,i,u){const r=a-u,c=i*r;return u+c}function Z1(a,i,u,r,c){return c!==void 0&&(a=os(a,c,r)),os(a,u,r)+i}function kr(a,i=0,u=1,r,c){a.min=Z1(a.min,i,u,r,c),a.max=Z1(a.max,i,u,r,c)}function U1(a,{x:i,y:u}){kr(a.x,i.translate,i.scale,i.originPoint),kr(a.y,u.translate,u.scale,u.originPoint)}const _1=.999999999999,G1=1.0000000000001;function sv(a,i,u,r=!1){const c=u.length;if(!c)return;i.x=i.y=1;let h,d;for(let g=0;g<c;g++){h=u[g],d=h.projectionDelta;const{visualElement:p}=h.options;p&&p.props.style&&p.props.style.display==="contents"||(r&&h.options.layoutScroll&&h.scroll&&h!==h.root&&qa(a,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),d&&(i.x*=d.x.scale,i.y*=d.y.scale,U1(a,d)),r&&ca(h.latestValues)&&qa(a,h.latestValues))}i.x<G1&&i.x>_1&&(i.x=1),i.y<G1&&i.y>_1&&(i.y=1)}function Ga(a,i){a.min=a.min+i,a.max=a.max+i}function q1(a,i,u,r,c=.5){const h=Nt(a.min,a.max,c);kr(a,i,u,h,r)}function qa(a,i){q1(a.x,i.x,i.scaleX,i.scale,i.originX),q1(a.y,i.y,i.scaleY,i.scale,i.originY)}function Y1(a,i){return B1(lv(a.getBoundingClientRect(),i))}function uv(a,i,u){const r=Y1(a,u),{scroll:c}=i;return c&&(Ga(r.x,c.offset.x),Ga(r.y,c.offset.y)),r}const X1=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ya=()=>({x:X1(),y:X1()}),k1=()=>({min:0,max:0}),Pt=()=>({x:k1(),y:k1()}),Kr={current:null},K1={current:!1};function rv(){if(K1.current=!0,!!Ku)if(window.matchMedia){const a=window.matchMedia("(prefers-reduced-motion)"),i=()=>Kr.current=a.matches;a.addEventListener("change",i),i()}else Kr.current=!1}const ov=new WeakMap;function cv(a,i,u){for(const r in i){const c=i[r],h=u[r];if(re(c))a.addValue(r,c);else if(re(h))a.addValue(r,Za(c,{owner:a}));else if(h!==c)if(a.hasValue(r)){const d=a.getValue(r);d.liveStyle===!0?d.jump(c):d.hasAnimated||d.set(c)}else{const d=a.getStaticValue(r);a.addValue(r,Za(d!==void 0?d:c,{owner:a}))}}for(const r in u)i[r]===void 0&&a.removeValue(r);return i}const F1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class fv{scrapeMotionValuesFromProps(i,u,r){return{}}constructor({parent:i,props:u,presenceContext:r,reducedMotionConfig:c,blockInitialAnimation:h,visualState:d},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Mr,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 E=de.now();this.renderScheduledAt<E&&(this.renderScheduledAt=E,zt.render(this.render,!1,!0))};const{latestValues:p,renderState:y}=d;this.latestValues=p,this.baseTarget={...p},this.initialValues=u.initial?{...p}:{},this.renderState=y,this.parent=i,this.props=u,this.presenceContext=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=c,this.options=g,this.blockInitialAnimation=!!h,this.isControllingVariants=us(u),this.isVariantNode=E1(u),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:v,...b}=this.scrapeMotionValuesFromProps(u,{},this);for(const E in b){const L=b[E];p[E]!==void 0&&re(L)&&L.set(p[E])}}mount(i){this.current=i,ov.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,r)=>this.bindToMotionValue(r,u)),K1.current||rv(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Kr.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Dn(this.notifyUpdate),Dn(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const u=this.features[i];u&&(u.unmount(),u.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,u){this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)();const r=Na.has(i);r&&this.onBindTransform&&this.onBindTransform();const c=u.on("change",d=>{this.latestValues[i]=d,this.props.onUpdate&&zt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let h;window.MotionCheckAppearSync&&(h=window.MotionCheckAppearSync(this,i,u)),this.valueSubscriptions.set(i,()=>{c(),h&&h(),u.owner&&u.stop()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in Ua){const u=Ua[i];if(!u)continue;const{isEnabled:r,Feature:c}=u;if(!this.features[i]&&c&&r(this.props)&&(this.features[i]=new c(this)),this.features[i]){const h=this.features[i];h.isMounted?h.update():(h.mount(),h.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Pt()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,u){this.latestValues[i]=u}update(i,u){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=u;for(let r=0;r<F1.length;r++){const c=F1[r];this.propEventSubscriptions[c]&&(this.propEventSubscriptions[c](),delete this.propEventSubscriptions[c]);const h="on"+c,d=i[h];d&&(this.propEventSubscriptions[c]=this.on(c,d))}this.prevMotionValues=cv(this,this.scrapeMotionValuesFromProps(i,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]: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(i){const u=this.getClosestVariantNode();if(u)return u.variantChildren&&u.variantChildren.add(i),()=>u.variantChildren.delete(i)}addValue(i,u){const r=this.values.get(i);u!==r&&(r&&this.removeValue(i),this.bindToMotionValue(i,u),this.values.set(i,u),this.latestValues[i]=u.get())}removeValue(i){this.values.delete(i);const u=this.valueSubscriptions.get(i);u&&(u(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,u){if(this.props.values&&this.props.values[i])return this.props.values[i];let r=this.values.get(i);return r===void 0&&u!==void 0&&(r=Za(u===null?void 0:u,{owner:this}),this.addValue(i,r)),r}readValue(i,u){let r=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return r!=null&&(typeof r=="string"&&(lf(r)||uf(r))?r=parseFloat(r):!Sg(r)&&Hn.test(u)&&(r=i1(i,u)),this.setBaseTarget(i,re(r)?r.get():r)),re(r)?r.get():r}setBaseTarget(i,u){this.baseTarget[i]=u}getBaseTarget(i){const{initial:u}=this.props;let r;if(typeof u=="string"||typeof u=="object"){const h=Ur(this.props,u,this.presenceContext?.custom);h&&(r=h[i])}if(u&&r!==void 0)return r;const c=this.getBaseTargetFromProps(this.props,i);return c!==void 0&&!re(c)?c:this.initialValues[i]!==void 0&&r===void 0?void 0:this.baseTarget[i]}on(i,u){return this.events[i]||(this.events[i]=new $u),this.events[i].add(u)}notify(i,...u){this.events[i]&&this.events[i].notify(...u)}scheduleRenderMicrotask(){Dr.render(this.render)}}class Q1 extends fv{constructor(){super(...arguments),this.KeyframeResolver=ug}sortInstanceNodePosition(i,u){return i.compareDocumentPosition(u)&2?1:-1}getBaseTargetFromProps(i,u){return i.style?i.style[u]:void 0}removeValueFromRenderState(i,{vars:u,style:r}){delete u[i],delete r[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;re(i)&&(this.childSubscription=i.on("change",u=>{this.current&&(this.current.textContent=`${u}`)}))}}function P1(a,{style:i,vars:u},r,c){const h=a.style;let d;for(d in i)h[d]=i[d];c?.applyProjectionStyles(h,r);for(d in u)h.setProperty(d,u[d])}function dv(a){return window.getComputedStyle(a)}class hv extends Q1{constructor(){super(...arguments),this.type="html",this.renderInstance=P1}readValueFromInstance(i,u){if(Na.has(u))return this.projection?.isProjecting?Sr(u):Ly(i,u);{const r=dv(i),c=(Af(u)?r.getPropertyValue(u):r[u])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(i,{transformPagePoint:u}){return Y1(i,u)}build(i,u,r){wr(i,u,r.transformTemplate)}scrapeMotionValuesFromProps(i,u,r){return _r(i,u,r)}}const J1=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 mv(a,i,u,r){P1(a,i,void 0,r);for(const c in i.attrs)a.setAttribute(J1.has(c)?c:Gr(c),i.attrs[c])}class pv extends Q1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Pt}getBaseTargetFromProps(i,u){return i[u]}readValueFromInstance(i,u){if(Na.has(u)){const r=a1(u);return r&&r.default||0}return u=J1.has(u)?u:Gr(u),i.getAttribute(u)}scrapeMotionValuesFromProps(i,u,r){return H1(i,u,r)}build(i,u,r){V1(i,u,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(i,u,r,c){mv(i,u,r,c)}mount(i){this.isSVGTag=C1(i.tagName),super.mount(i)}}const yv=(a,i)=>Zr(a)?new pv(i):new hv(i,{allowProjection:a!==f.Fragment});function Xa(a,i,u){const r=a.getProps();return Ur(r,i,u!==void 0?u:r.custom,a)}const Fr=a=>Array.isArray(a);function gv(a,i,u){a.hasValue(i)?a.getValue(i).set(u):a.addValue(i,Za(u))}function vv(a){return Fr(a)?a[a.length-1]||0:a}function Sv(a,i){const u=Xa(a,i);let{transitionEnd:r={},transition:c={},...h}=u||{};h={...h,...r};for(const d in h){const g=vv(h[d]);gv(a,d,g)}}function bv(a){return!!(re(a)&&a.add)}function Qr(a,i){const u=a.getValue("willChange");if(bv(u))return u.add(i);if(!u&&ln.WillChange){const r=new ln.WillChange("auto");a.addValue("willChange",r),r.add(i)}}function $1(a){return a.props[j1]}const Ev=a=>a!==null;function Av(a,{repeat:i,repeatType:u="loop"},r){const c=a.filter(Ev),h=i&&u!=="loop"&&i%2===1?0:c.length-1;return c[h]}const Tv={type:"spring",stiffness:500,damping:25,restSpeed:10},Mv=a=>({type:"spring",stiffness:550,damping:a===0?2*Math.sqrt(550):30,restSpeed:10}),xv={type:"keyframes",duration:.8},Vv={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Lv=(a,{keyframes:i})=>i.length>2?xv:Na.has(a)?a.startsWith("scale")?Mv(i[1]):Tv:Vv;function Cv({when:a,delay:i,delayChildren:u,staggerChildren:r,staggerDirection:c,repeat:h,repeatType:d,repeatDelay:g,from:p,elapsed:y,...v}){return!!Object.keys(v).length}const Pr=(a,i,u,r={},c,h)=>d=>{const g=Vr(r,a)||{},p=g.delay||r.delay||0;let{elapsed:y=0}=r;y=y-$e(p);const v={keyframes:Array.isArray(u)?u:[null,u],ease:"easeOut",velocity:i.getVelocity(),...g,delay:-y,onUpdate:E=>{i.set(E),g.onUpdate&&g.onUpdate(E)},onComplete:()=>{d(),g.onComplete&&g.onComplete()},name:a,motionValue:i,element:h?void 0:c};Cv(g)||Object.assign(v,Lv(a,v)),v.duration&&(v.duration=$e(v.duration)),v.repeatDelay&&(v.repeatDelay=$e(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let b=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(xr(v),v.delay===0&&(b=!0)),(ln.instantAnimations||ln.skipAnimations)&&(b=!0,xr(v),v.delay=0),v.allowFlatten=!g.type&&!g.ease,b&&!h&&i.get()!==void 0){const E=Av(v.keyframes,g);if(E!==void 0){zt.update(()=>{v.onUpdate(E),v.onComplete()});return}}return g.isSync?new yr(v):new Jy(v)};function Dv({protectedKeys:a,needsAnimating:i},u){const r=a.hasOwnProperty(u)&&i[u]!==!0;return i[u]=!1,r}function W1(a,i,{delay:u=0,transitionOverride:r,type:c}={}){let{transition:h=a.getDefaultTransition(),transitionEnd:d,...g}=i;r&&(h=r);const p=[],y=c&&a.animationState&&a.animationState.getState()[c];for(const v in g){const b=a.getValue(v,a.latestValues[v]??null),E=g[v];if(E===void 0||y&&Dv(y,v))continue;const L={delay:u,...Vr(h||{},v)},O=b.get();if(O!==void 0&&!b.isAnimating&&!Array.isArray(E)&&E===O&&!L.velocity)continue;let B=!1;if(window.MotionHandoffAnimation){const j=$1(a);if(j){const Y=window.MotionHandoffAnimation(j,v,zt);Y!==null&&(L.startTime=Y,B=!0)}}Qr(a,v),b.start(Pr(v,b,E,a.shouldReduceMotion&&Wf.has(v)?{type:!1}:L,a,B));const U=b.animation;U&&p.push(U)}return d&&Promise.all(p).then(()=>{zt.update(()=>{d&&Sv(a,d)})}),p}function I1(a,i,u,r=0,c=1){const h=Array.from(a).sort((y,v)=>y.sortNodePosition(v)).indexOf(i),d=a.size,g=(d-1)*r;return typeof u=="function"?u(h,d):c===1?h*r:g-h*r}function Jr(a,i,u={}){const r=Xa(a,i,u.type==="exit"?a.presenceContext?.custom:void 0);let{transition:c=a.getDefaultTransition()||{}}=r||{};u.transitionOverride&&(c=u.transitionOverride);const h=r?()=>Promise.all(W1(a,r,u)):()=>Promise.resolve(),d=a.variantChildren&&a.variantChildren.size?(p=0)=>{const{delayChildren:y=0,staggerChildren:v,staggerDirection:b}=c;return Rv(a,i,p,y,v,b,u)}:()=>Promise.resolve(),{when:g}=c;if(g){const[p,y]=g==="beforeChildren"?[h,d]:[d,h];return p().then(()=>y())}else return Promise.all([h(),d(u.delay)])}function Rv(a,i,u=0,r=0,c=0,h=1,d){const g=[];for(const p of a.variantChildren)p.notify("AnimationStart",i),g.push(Jr(p,i,{...d,delay:u+(typeof r=="function"?0:r)+I1(a.variantChildren,p,r,c,h)}).then(()=>p.notify("AnimationComplete",i)));return Promise.all(g)}function Hv(a,i,u={}){a.notify("AnimationStart",i);let r;if(Array.isArray(i)){const c=i.map(h=>Jr(a,h,u));r=Promise.all(c)}else if(typeof i=="string")r=Jr(a,i,u);else{const c=typeof i=="function"?Xa(a,i,u.custom):i;r=Promise.all(W1(a,c,u))}return r.then(()=>{a.notify("AnimationComplete",i)})}function td(a,i){if(!Array.isArray(i))return!1;const u=i.length;if(u!==a.length)return!1;for(let r=0;r<u;r++)if(i[r]!==a[r])return!1;return!0}const jv=zr.length;function ed(a){if(!a)return;if(!a.isControllingVariants){const u=a.parent?ed(a.parent)||{}:{};return a.props.initial!==void 0&&(u.initial=a.props.initial),u}const i={};for(let u=0;u<jv;u++){const r=zr[u],c=a.props[r];(Xi(c)||c===!1)&&(i[r]=c)}return i}const Ov=[...Or].reverse(),zv=Or.length;function Bv(a){return i=>Promise.all(i.map(({animation:u,options:r})=>Hv(a,u,r)))}function wv(a){let i=Bv(a),u=nd(),r=!0;const c=p=>(y,v)=>{const b=Xa(a,v,p==="exit"?a.presenceContext?.custom:void 0);if(b){const{transition:E,transitionEnd:L,...O}=b;y={...y,...O,...L}}return y};function h(p){i=p(a)}function d(p){const{props:y}=a,v=ed(a.parent)||{},b=[],E=new Set;let L={},O=1/0;for(let U=0;U<zv;U++){const j=Ov[U],Y=u[j],Q=y[j]!==void 0?y[j]:v[j],q=Xi(Q),z=j===p?Y.isActive:null;z===!1&&(O=U);let k=Q===v[j]&&Q!==y[j]&&q;if(k&&r&&a.manuallyAnimateOnMount&&(k=!1),Y.protectedKeys={...L},!Y.isActive&&z===null||!Q&&!Y.prevProp||ss(Q)||typeof Q=="boolean")continue;const J=Nv(Y.prevProp,Q);let K=J||j===p&&Y.isActive&&!k&&q||U>O&&q,I=!1;const at=Array.isArray(Q)?Q:[Q];let Rt=at.reduce(c(j),{});z===!1&&(Rt={});const{prevResolvedValues:$={}}=Y,ct={...$,...Rt},Mt=N=>{K=!0,E.has(N)&&(I=!0,E.delete(N)),Y.needsAnimating[N]=!0;const X=a.getValue(N);X&&(X.liveStyle=!1)};for(const N in ct){const X=Rt[N],ot=$[N];if(L.hasOwnProperty(N))continue;let bt=!1;Fr(X)&&Fr(ot)?bt=!td(X,ot):bt=X!==ot,bt?X!=null?Mt(N):E.add(N):X!==void 0&&E.has(N)?Mt(N):Y.protectedKeys[N]=!0}Y.prevProp=Q,Y.prevResolvedValues=Rt,Y.isActive&&(L={...L,...Rt}),r&&a.blockInitialAnimation&&(K=!1);const mt=k&&J;K&&(!mt||I)&&b.push(...at.map(N=>{const X={type:j};if(typeof N=="string"&&r&&!mt&&a.manuallyAnimateOnMount&&a.parent){const{parent:ot}=a,bt=Xa(ot,N);if(ot.enteringChildren&&bt){const{delayChildren:Wt}=bt.transition||{};X.delay=I1(ot.enteringChildren,a,Wt)}}return{animation:N,options:X}}))}if(E.size){const U={};if(typeof y.initial!="boolean"){const j=Xa(a,Array.isArray(y.initial)?y.initial[0]:y.initial);j&&j.transition&&(U.transition=j.transition)}E.forEach(j=>{const Y=a.getBaseTarget(j),Q=a.getValue(j);Q&&(Q.liveStyle=!0),U[j]=Y??null}),b.push({animation:U})}let B=!!b.length;return r&&(y.initial===!1||y.initial===y.animate)&&!a.manuallyAnimateOnMount&&(B=!1),r=!1,B?i(b):Promise.resolve()}function g(p,y){if(u[p].isActive===y)return Promise.resolve();a.variantChildren?.forEach(b=>b.animationState?.setActive(p,y)),u[p].isActive=y;const v=d(p);for(const b in u)u[b].protectedKeys={};return v}return{animateChanges:d,setActive:g,setAnimateFunction:h,getState:()=>u,reset:()=>{u=nd()}}}function Nv(a,i){return typeof i=="string"?i!==a:Array.isArray(i)?!td(i,a):!1}function fa(a=!1){return{isActive:a,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nd(){return{animate:fa(!0),whileInView:fa(),whileHover:fa(),whileTap:fa(),whileDrag:fa(),whileFocus:fa(),exit:fa()}}class jn{constructor(i){this.isMounted=!1,this.node=i}update(){}}class Zv extends jn{constructor(i){super(i),i.animationState||(i.animationState=wv(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();ss(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:u}=this.node.prevProps||{};i!==u&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Uv=0;class _v extends jn{constructor(){super(...arguments),this.id=Uv++}update(){if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:u}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===r)return;const c=this.node.animationState.setActive("exit",!i);u&&!i&&c.then(()=>{u(this.id)})}mount(){const{register:i,onExitComplete:u}=this.node.presenceContext||{};u&&u(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const Gv={animation:{Feature:Zv},exit:{Feature:_v}};function Ki(a,i,u,r={passive:!0}){return a.addEventListener(i,u,r),()=>a.removeEventListener(i,u)}function Fi(a){return{point:{x:a.pageX,y:a.pageY}}}const qv=a=>i=>Rr(i)&&a(i,Fi(i));function Qi(a,i,u,r){return Ki(a,i,qv(u),r)}const ad=1e-4,Yv=1-ad,Xv=1+ad,id=.01,kv=0-id,Kv=0+id;function oe(a){return a.max-a.min}function Fv(a,i,u){return Math.abs(a-i)<=u}function ld(a,i,u,r=.5){a.origin=r,a.originPoint=Nt(i.min,i.max,a.origin),a.scale=oe(u)/oe(i),a.translate=Nt(u.min,u.max,a.origin)-a.originPoint,(a.scale>=Yv&&a.scale<=Xv||isNaN(a.scale))&&(a.scale=1),(a.translate>=kv&&a.translate<=Kv||isNaN(a.translate))&&(a.translate=0)}function Pi(a,i,u,r){ld(a.x,i.x,u.x,r?r.originX:void 0),ld(a.y,i.y,u.y,r?r.originY:void 0)}function sd(a,i,u){a.min=u.min+i.min,a.max=a.min+oe(i)}function Qv(a,i,u){sd(a.x,i.x,u.x),sd(a.y,i.y,u.y)}function ud(a,i,u){a.min=i.min-u.min,a.max=a.min+oe(i)}function cs(a,i,u){ud(a.x,i.x,u.x),ud(a.y,i.y,u.y)}function ze(a){return[a("x"),a("y")]}const rd=({current:a})=>a?a.ownerDocument.defaultView:null,od=(a,i)=>Math.abs(a-i);function Pv(a,i){const u=od(a.x,i.x),r=od(a.y,i.y);return Math.sqrt(u**2+r**2)}class cd{constructor(i,u,{transformPagePoint:r,contextWindow:c=window,dragSnapToOrigin:h=!1,distanceThreshold:d=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 E=Wr(this.lastMoveEventInfo,this.history),L=this.startEvent!==null,O=Pv(E.offset,{x:0,y:0})>=this.distanceThreshold;if(!L&&!O)return;const{point:B}=E,{timestamp:U}=ee;this.history.push({...B,timestamp:U});const{onStart:j,onMove:Y}=this.handlers;L||(j&&j(this.lastMoveEvent,E),this.startEvent=this.lastMoveEvent),Y&&Y(this.lastMoveEvent,E)},this.handlePointerMove=(E,L)=>{this.lastMoveEvent=E,this.lastMoveEventInfo=$r(L,this.transformPagePoint),zt.update(this.updatePoint,!0)},this.handlePointerUp=(E,L)=>{this.end();const{onEnd:O,onSessionEnd:B,resumeAnimation:U}=this.handlers;if(this.dragSnapToOrigin&&U&&U(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=Wr(E.type==="pointercancel"?this.lastMoveEventInfo:$r(L,this.transformPagePoint),this.history);this.startEvent&&O&&O(E,j),B&&B(E,j)},!Rr(i))return;this.dragSnapToOrigin=h,this.handlers=u,this.transformPagePoint=r,this.distanceThreshold=d,this.contextWindow=c||window;const g=Fi(i),p=$r(g,this.transformPagePoint),{point:y}=p,{timestamp:v}=ee;this.history=[{...y,timestamp:v}];const{onSessionStart:b}=u;b&&b(i,Wr(p,this.history)),this.removeListeners=Bi(Qi(this.contextWindow,"pointermove",this.handlePointerMove),Qi(this.contextWindow,"pointerup",this.handlePointerUp),Qi(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),Dn(this.updatePoint)}}function $r(a,i){return i?{point:i(a.point)}:a}function fd(a,i){return{x:a.x-i.x,y:a.y-i.y}}function Wr({point:a},i){return{point:a,delta:fd(a,dd(i)),offset:fd(a,Jv(i)),velocity:$v(i,.1)}}function Jv(a){return a[0]}function dd(a){return a[a.length-1]}function $v(a,i){if(a.length<2)return{x:0,y:0};let u=a.length-1,r=null;const c=dd(a);for(;u>=0&&(r=a[u],!(c.timestamp-r.timestamp>$e(i)));)u--;if(!r)return{x:0,y:0};const h=Oe(c.timestamp-r.timestamp);if(h===0)return{x:0,y:0};const d={x:(c.x-r.x)/h,y:(c.y-r.y)/h};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function Wv(a,{min:i,max:u},r){return i!==void 0&&a<i?a=r?Nt(i,a,r.min):Math.max(a,i):u!==void 0&&a>u&&(a=r?Nt(u,a,r.max):Math.min(a,u)),a}function hd(a,i,u){return{min:i!==void 0?a.min+i:void 0,max:u!==void 0?a.max+u-(a.max-a.min):void 0}}function Iv(a,{top:i,left:u,bottom:r,right:c}){return{x:hd(a.x,u,c),y:hd(a.y,i,r)}}function md(a,i){let u=i.min-a.min,r=i.max-a.max;return i.max-i.min<a.max-a.min&&([u,r]=[r,u]),{min:u,max:r}}function t2(a,i){return{x:md(a.x,i.x),y:md(a.y,i.y)}}function e2(a,i){let u=.5;const r=oe(a),c=oe(i);return c>r?u=wi(i.min,i.max-r,a.min):r>c&&(u=wi(a.min,a.max-c,i.min)),an(0,1,u)}function n2(a,i){const u={};return i.min!==void 0&&(u.min=i.min-a.min),i.max!==void 0&&(u.max=i.max-a.min),u}const Ir=.35;function a2(a=Ir){return a===!1?a=0:a===!0&&(a=Ir),{x:pd(a,"left","right"),y:pd(a,"top","bottom")}}function pd(a,i,u){return{min:yd(a,i),max:yd(a,u)}}function yd(a,i){return typeof a=="number"?a:a[i]||0}const i2=new WeakMap;class l2{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Pt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:u=!1,distanceThreshold:r}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const h=b=>{const{dragSnapToOrigin:E}=this.getProps();E?this.pauseAnimation():this.stopAnimation(),u&&this.snapToCursor(Fi(b).point)},d=(b,E)=>{const{drag:L,dragPropagation:O,onDragStart:B}=this.getProps();if(L&&!O&&(this.openDragLock&&this.openDragLock(),this.openDragLock=fg(L),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=E,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ze(j=>{let Y=this.getAxisMotionValue(j).get()||0;if(We.test(Y)){const{projection:Q}=this.visualElement;if(Q&&Q.layout){const q=Q.layout.layoutBox[j];q&&(Y=oe(q)*(parseFloat(Y)/100))}}this.originPoint[j]=Y}),B&&zt.postRender(()=>B(b,E)),Qr(this.visualElement,"transform");const{animationState:U}=this.visualElement;U&&U.setActive("whileDrag",!0)},g=(b,E)=>{this.latestPointerEvent=b,this.latestPanInfo=E;const{dragPropagation:L,dragDirectionLock:O,onDirectionLock:B,onDrag:U}=this.getProps();if(!L&&!this.openDragLock)return;const{offset:j}=E;if(O&&this.currentDirection===null){this.currentDirection=s2(j),this.currentDirection!==null&&B&&B(this.currentDirection);return}this.updateAxis("x",E.point,j),this.updateAxis("y",E.point,j),this.visualElement.render(),U&&U(b,E)},p=(b,E)=>{this.latestPointerEvent=b,this.latestPanInfo=E,this.stop(b,E),this.latestPointerEvent=null,this.latestPanInfo=null},y=()=>ze(b=>this.getAnimationState(b)==="paused"&&this.getAxisMotionValue(b).animation?.play()),{dragSnapToOrigin:v}=this.getProps();this.panSession=new cd(i,{onSessionStart:h,onStart:d,onMove:g,onSessionEnd:p,resumeAnimation:y},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:r,contextWindow:rd(this.visualElement)})}stop(i,u){const r=i||this.latestPointerEvent,c=u||this.latestPanInfo,h=this.isDragging;if(this.cancel(),!h||!c||!r)return;const{velocity:d}=c;this.startAnimation(d);const{onDragEnd:g}=this.getProps();g&&zt.postRender(()=>g(r,c))}cancel(){this.isDragging=!1;const{projection:i,animationState:u}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),u&&u.setActive("whileDrag",!1)}updateAxis(i,u,r){const{drag:c}=this.getProps();if(!r||!fs(i,c,this.currentDirection))return;const h=this.getAxisMotionValue(i);let d=this.originPoint[i]+r[i];this.constraints&&this.constraints[i]&&(d=Wv(d,this.constraints[i],this.elastic[i])),h.set(d)}resolveConstraints(){const{dragConstraints:i,dragElastic:u}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,c=this.constraints;i&&_a(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&r?this.constraints=Iv(r.layoutBox,i):this.constraints=!1,this.elastic=a2(u),c!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&ze(h=>{this.constraints!==!1&&this.getAxisMotionValue(h)&&(this.constraints[h]=n2(r.layoutBox[h],this.constraints[h]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:u}=this.getProps();if(!i||!_a(i))return!1;const r=i.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;const h=uv(r,c.root,this.visualElement.getTransformPagePoint());let d=t2(c.layout.layoutBox,h);if(u){const g=u(iv(d));this.hasMutatedConstraints=!!g,g&&(d=B1(g))}return d}startAnimation(i){const{drag:u,dragMomentum:r,dragElastic:c,dragTransition:h,dragSnapToOrigin:d,onDragTransitionEnd:g}=this.getProps(),p=this.constraints||{},y=ze(v=>{if(!fs(v,u,this.currentDirection))return;let b=p&&p[v]||{};d&&(b={min:0,max:0});const E=c?200:1e6,L=c?40:1e7,O={type:"inertia",velocity:r?i[v]:0,bounceStiffness:E,bounceDamping:L,timeConstant:750,restDelta:1,restSpeed:10,...h,...b};return this.startAxisValueAnimation(v,O)});return Promise.all(y).then(g)}startAxisValueAnimation(i,u){const r=this.getAxisMotionValue(i);return Qr(this.visualElement,i),r.start(Pr(i,r,0,u,this.visualElement,!1))}stopAnimation(){ze(i=>this.getAxisMotionValue(i).stop())}pauseAnimation(){ze(i=>this.getAxisMotionValue(i).animation?.pause())}getAnimationState(i){return this.getAxisMotionValue(i).animation?.state}getAxisMotionValue(i){const u=`_drag${i.toUpperCase()}`,r=this.visualElement.getProps(),c=r[u];return c||this.visualElement.getValue(i,(r.initial?r.initial[i]:void 0)||0)}snapToCursor(i){ze(u=>{const{drag:r}=this.getProps();if(!fs(u,r,this.currentDirection))return;const{projection:c}=this.visualElement,h=this.getAxisMotionValue(u);if(c&&c.layout){const{min:d,max:g}=c.layout.layoutBox[u];h.set(i[u]-Nt(d,g,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:u}=this.getProps(),{projection:r}=this.visualElement;if(!_a(u)||!r||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};ze(d=>{const g=this.getAxisMotionValue(d);if(g&&this.constraints!==!1){const p=g.get();c[d]=e2({min:p,max:p},this.constraints[d])}});const{transformTemplate:h}=this.visualElement.getProps();this.visualElement.current.style.transform=h?h({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ze(d=>{if(!fs(d,i,null))return;const g=this.getAxisMotionValue(d),{min:p,max:y}=this.constraints[d];g.set(Nt(p,y,c[d]))})}addListeners(){if(!this.visualElement.current)return;i2.set(this.visualElement,this);const i=this.visualElement.current,u=Qi(i,"pointerdown",p=>{const{drag:y,dragListener:v=!0}=this.getProps();y&&v&&this.start(p)}),r=()=>{const{dragConstraints:p}=this.getProps();_a(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:c}=this.visualElement,h=c.addEventListener("measure",r);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),zt.read(r);const d=Ki(window,"resize",()=>this.scalePositionWithinConstraints()),g=c.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:y})=>{this.isDragging&&y&&(ze(v=>{const b=this.getAxisMotionValue(v);b&&(this.originPoint[v]+=p[v].translate,b.set(b.get()+p[v].translate))}),this.visualElement.render())}));return()=>{d(),u(),h(),g&&g()}}getProps(){const i=this.visualElement.getProps(),{drag:u=!1,dragDirectionLock:r=!1,dragPropagation:c=!1,dragConstraints:h=!1,dragElastic:d=Ir,dragMomentum:g=!0}=i;return{...i,drag:u,dragDirectionLock:r,dragPropagation:c,dragConstraints:h,dragElastic:d,dragMomentum:g}}}function fs(a,i,u){return(i===!0||i===a)&&(u===null||u===a)}function s2(a,i=10){let u=null;return Math.abs(a.y)>i?u="y":Math.abs(a.x)>i&&(u="x"),u}class u2 extends jn{constructor(i){super(i),this.removeGroupControls=je,this.removeListeners=je,this.controls=new l2(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||je}unmount(){this.removeGroupControls(),this.removeListeners()}}const gd=a=>(i,u)=>{a&&zt.postRender(()=>a(i,u))};class r2 extends jn{constructor(){super(...arguments),this.removePointerDownListener=je}onPointerDown(i){this.session=new cd(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rd(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:u,onPan:r,onPanEnd:c}=this.node.getProps();return{onSessionStart:gd(i),onStart:gd(u),onMove:r,onEnd:(h,d)=>{delete this.session,c&&zt.postRender(()=>c(h,d))}}}mount(){this.removePointerDownListener=Qi(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const ds={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let to=!1;class o2 extends f.Component{componentDidMount(){const{visualElement:i,layoutGroup:u,switchLayoutGroup:r,layoutId:c}=this.props,{projection:h}=i;h&&(u.group&&u.group.add(h),r&&r.register&&c&&r.register(h),to&&h.root.didUpdate(),h.addEventListener("animationComplete",()=>{this.safeToRemove()}),h.setOptions({...h.options,onExitComplete:()=>this.safeToRemove()})),ds.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:u,visualElement:r,drag:c,isPresent:h}=this.props,{projection:d}=r;return d&&(d.isPresent=h,to=!0,c||i.layoutDependency!==u||u===void 0||i.isPresent!==h?d.willUpdate():this.safeToRemove(),i.isPresent!==h&&(h?d.promote():d.relegate()||zt.postRender(()=>{const g=d.getStack();(!g||!g.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:i}=this.props.visualElement;i&&(i.root.didUpdate(),Dr.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:u,switchLayoutGroup:r}=this.props,{projection:c}=i;to=!0,c&&(c.scheduleCheckAfterUnmount(),u&&u.group&&u.group.remove(c),r&&r.deregister&&r.deregister(c))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function vd(a){const[i,u]=y1(),r=f.useContext(Xu);return A.jsx(o2,{...a,layoutGroup:r,switchLayoutGroup:f.useContext(O1),isPresent:i,safeToRemove:u})}function c2(a,i,u){const r=re(a)?a:Za(a);return r.start(Pr("",r,i,u)),r.animation}const f2=(a,i)=>a.depth-i.depth;class d2{constructor(){this.children=[],this.isDirty=!1}add(i){Fu(this.children,i),this.isDirty=!0}remove(i){Qu(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(f2),this.isDirty=!1,this.children.forEach(i)}}function h2(a,i){const u=de.now(),r=({timestamp:c})=>{const h=c-u;h>=i&&(Dn(r),a(h-i))};return zt.setup(r,!0),()=>Dn(r)}const Sd=["TopLeft","TopRight","BottomLeft","BottomRight"],m2=Sd.length,bd=a=>typeof a=="string"?parseFloat(a):a,Ed=a=>typeof a=="number"||st.test(a);function p2(a,i,u,r,c,h){c?(a.opacity=Nt(0,u.opacity??1,y2(r)),a.opacityExit=Nt(i.opacity??1,0,g2(r))):h&&(a.opacity=Nt(i.opacity??1,u.opacity??1,r));for(let d=0;d<m2;d++){const g=`border${Sd[d]}Radius`;let p=Ad(i,g),y=Ad(u,g);if(p===void 0&&y===void 0)continue;p||(p=0),y||(y=0),p===0||y===0||Ed(p)===Ed(y)?(a[g]=Math.max(Nt(bd(p),bd(y),r),0),(We.test(y)||We.test(p))&&(a[g]+="%")):a[g]=y}(i.rotate||u.rotate)&&(a.rotate=Nt(i.rotate||0,u.rotate||0,r))}function Ad(a,i){return a[i]!==void 0?a[i]:a.borderRadius}const y2=Td(0,.5,pf),g2=Td(.5,.95,je);function Td(a,i,u){return r=>r<a?0:r>i?1:u(wi(a,i,r))}function Md(a,i){a.min=i.min,a.max=i.max}function Ke(a,i){Md(a.x,i.x),Md(a.y,i.y)}function xd(a,i){a.translate=i.translate,a.scale=i.scale,a.originPoint=i.originPoint,a.origin=i.origin}function Vd(a,i,u,r,c){return a-=i,a=os(a,1/u,r),c!==void 0&&(a=os(a,1/c,r)),a}function v2(a,i=0,u=1,r=.5,c,h=a,d=a){if(We.test(i)&&(i=parseFloat(i),i=Nt(d.min,d.max,i/100)-d.min),typeof i!="number")return;let g=Nt(h.min,h.max,r);a===h&&(g-=i),a.min=Vd(a.min,i,u,g,c),a.max=Vd(a.max,i,u,g,c)}function Ld(a,i,[u,r,c],h,d){v2(a,i[u],i[r],i[c],i.scale,h,d)}const S2=["x","scaleX","originX"],b2=["y","scaleY","originY"];function Cd(a,i,u,r){Ld(a.x,i,S2,u?u.x:void 0,r?r.x:void 0),Ld(a.y,i,b2,u?u.y:void 0,r?r.y:void 0)}function Dd(a){return a.translate===0&&a.scale===1}function Rd(a){return Dd(a.x)&&Dd(a.y)}function Hd(a,i){return a.min===i.min&&a.max===i.max}function E2(a,i){return Hd(a.x,i.x)&&Hd(a.y,i.y)}function jd(a,i){return Math.round(a.min)===Math.round(i.min)&&Math.round(a.max)===Math.round(i.max)}function Od(a,i){return jd(a.x,i.x)&&jd(a.y,i.y)}function zd(a){return oe(a.x)/oe(a.y)}function Bd(a,i){return a.translate===i.translate&&a.scale===i.scale&&a.originPoint===i.originPoint}class A2{constructor(){this.members=[]}add(i){Fu(this.members,i),i.scheduleRender()}remove(i){if(Qu(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const u=this.members[this.members.length-1];u&&this.promote(u)}}relegate(i){const u=this.members.findIndex(c=>i===c);if(u===0)return!1;let r;for(let c=u;c>=0;c--){const h=this.members[c];if(h.isPresent!==!1){r=h;break}}return r?(this.promote(r),!0):!1}promote(i,u){const r=this.lead;if(i!==r&&(this.prevLead=r,this.lead=i,i.show(),r)){r.instance&&r.scheduleRender(),i.scheduleRender(),i.resumeFrom=r,u&&(i.resumeFrom.preserveOpacity=!0),r.snapshot&&(i.snapshot=r.snapshot,i.snapshot.latestValues=r.animationValues||r.latestValues),i.root&&i.root.isUpdating&&(i.isLayoutDirty=!0);const{crossfade:c}=i.options;c===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(i=>{const{options:u,resumingFrom:r}=i;u.onExitComplete&&u.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(i=>{i.instance&&i.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function T2(a,i,u){let r="";const c=a.x.translate/i.x,h=a.y.translate/i.y,d=u?.z||0;if((c||h||d)&&(r=`translate3d(${c}px, ${h}px, ${d}px) `),(i.x!==1||i.y!==1)&&(r+=`scale(${1/i.x}, ${1/i.y}) `),u){const{transformPerspective:y,rotate:v,rotateX:b,rotateY:E,skewX:L,skewY:O}=u;y&&(r=`perspective(${y}px) ${r}`),v&&(r+=`rotate(${v}deg) `),b&&(r+=`rotateX(${b}deg) `),E&&(r+=`rotateY(${E}deg) `),L&&(r+=`skewX(${L}deg) `),O&&(r+=`skewY(${O}deg) `)}const g=a.x.scale*i.x,p=a.y.scale*i.y;return(g!==1||p!==1)&&(r+=`scale(${g}, ${p})`),r||"none"}const eo=["","X","Y","Z"],M2=1e3;let x2=0;function no(a,i,u,r){const{latestValues:c}=i;c[a]&&(u[a]=c[a],i.setStaticValue(a,0),r&&(r[a]=0))}function wd(a){if(a.hasCheckedOptimisedAppear=!0,a.root===a)return;const{visualElement:i}=a.options;if(!i)return;const u=$1(i);if(window.MotionHasOptimisedAnimation(u,"transform")){const{layout:c,layoutId:h}=a.options;window.MotionCancelOptimisedAnimation(u,"transform",zt,!(c||h))}const{parent:r}=a;r&&!r.hasCheckedOptimisedAppear&&wd(r)}function Nd({attachResizeListener:a,defaultParent:i,measureScroll:u,checkIsScrollRoot:r,resetTransform:c}){return class{constructor(d={},g=i?.()){this.id=x2++,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(C2),this.nodes.forEach(j2),this.nodes.forEach(O2),this.nodes.forEach(D2)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=g?g.root||g:this,this.path=g?[...g.path,g]:[],this.parent=g,this.depth=g?g.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new d2)}addEventListener(d,g){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new $u),this.eventHandlers.get(d).add(g)}notifyListeners(d,...g){const p=this.eventHandlers.get(d);p&&p.notify(...g)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=m1(d)&&!gg(d),this.instance=d;const{layoutId:g,layout:p,visualElement:y}=this.options;if(y&&!y.current&&y.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||g)&&(this.isLayoutDirty=!0),a){let v,b=0;const E=()=>this.root.updateBlockedByResize=!1;zt.read(()=>{b=window.innerWidth}),a(d,()=>{const L=window.innerWidth;L!==b&&(b=L,this.root.updateBlockedByResize=!0,v&&v(),v=h2(E,250),ds.hasAnimatedSinceResize&&(ds.hasAnimatedSinceResize=!1,this.nodes.forEach(_d)))})}g&&this.root.registerSharedNode(g,this),this.options.animate!==!1&&y&&(g||p)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:b,hasRelativeLayoutChanged:E,layout:L})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const O=this.options.transition||y.getDefaultTransition()||Z2,{onLayoutAnimationStart:B,onLayoutAnimationComplete:U}=y.getProps(),j=!this.targetLayout||!Od(this.targetLayout,L),Y=!b&&E;if(this.options.layoutRoot||this.resumeFrom||Y||b&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const Q={...Vr(O,"layout"),onPlay:B,onComplete:U};(y.shouldReduceMotion||this.options.layoutRoot)&&(Q.delay=0,Q.type=!1),this.startAnimation(Q),this.setAnimationOrigin(v,Y)}else b||_d(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=L})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Dn(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(z2),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&wd(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const b=this.path[v];b.shouldResetTransform=!0,b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}const{layoutId:g,layout:p}=this.options;if(g===void 0&&!p)return;const y=this.getTransformTemplate();this.prevTransformTemplateValue=y?y(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Zd);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Ud);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(H2),this.nodes.forEach(V2),this.nodes.forEach(L2)):this.nodes.forEach(Ud),this.clearAllSnapshots();const g=de.now();ee.delta=an(0,1e3/60,g-ee.timestamp),ee.timestamp=g,ee.isProcessing=!0,tr.update.process(ee),tr.preRender.process(ee),tr.render.process(ee),ee.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Dr.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(R2),this.sharedNodes.forEach(B2)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,zt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){zt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!oe(this.snapshot.measuredBox.x)&&!oe(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 p=0;p<this.path.length;p++)this.path[p].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Pt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:g}=this.options;g&&g.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let g=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(g=!1),g&&this.instance){const p=r(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:p,offset:u(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!c)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,g=this.projectionDelta&&!Rd(this.projectionDelta),p=this.getTransformTemplate(),y=p?p(this.latestValues,""):void 0,v=y!==this.prevTransformTemplateValue;d&&this.instance&&(g||ca(this.latestValues)||v)&&(c(this.instance,y),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const g=this.measurePageBox();let p=this.removeElementScroll(g);return d&&(p=this.removeTransform(p)),U2(p),{animationId:this.root.animationId,measuredBox:g,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:d}=this.options;if(!d)return Pt();const g=d.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(_2))){const{scroll:y}=this.root;y&&(Ga(g.x,y.offset.x),Ga(g.y,y.offset.y))}return g}removeElementScroll(d){const g=Pt();if(Ke(g,d),this.scroll?.wasRoot)return g;for(let p=0;p<this.path.length;p++){const y=this.path[p],{scroll:v,options:b}=y;y!==this.root&&v&&b.layoutScroll&&(v.wasRoot&&Ke(g,d),Ga(g.x,v.offset.x),Ga(g.y,v.offset.y))}return g}applyTransform(d,g=!1){const p=Pt();Ke(p,d);for(let y=0;y<this.path.length;y++){const v=this.path[y];!g&&v.options.layoutScroll&&v.scroll&&v!==v.root&&qa(p,{x:-v.scroll.offset.x,y:-v.scroll.offset.y}),ca(v.latestValues)&&qa(p,v.latestValues)}return ca(this.latestValues)&&qa(p,this.latestValues),p}removeTransform(d){const g=Pt();Ke(g,d);for(let p=0;p<this.path.length;p++){const y=this.path[p];if(!y.instance||!ca(y.latestValues))continue;Xr(y.latestValues)&&y.updateSnapshot();const v=Pt(),b=y.measurePageBox();Ke(v,b),Cd(g,y.latestValues,y.snapshot?y.snapshot.layoutBox:void 0,v)}return ca(this.latestValues)&&Cd(g,this.latestValues),g}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.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!==ee.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){const g=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=g.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=g.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=g.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==g;if(!(d||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:b}=this.options;if(!this.layout||!(v||b))return;this.resolvedRelativeTargetAt=ee.timestamp;const E=this.getClosestProjectingParent();E&&this.linkedParentVersion!==E.layoutVersion&&!E.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(E&&E.layout?this.createRelativeTarget(E,this.layout.layoutBox,E.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Pt(),this.targetWithTransforms=Pt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Qv(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ke(this.target,this.layout.layoutBox),U1(this.target,this.targetDelta)):Ke(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,E&&!!E.resumingFrom==!!this.resumingFrom&&!E.options.layoutScroll&&E.target&&this.animationProgress!==1?this.createRelativeTarget(E,this.target,E.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Xr(this.parent.latestValues)||w1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(d,g,p){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Pt(),this.relativeTargetOrigin=Pt(),cs(this.relativeTargetOrigin,g,p),Ke(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const d=this.getLead(),g=!!this.resumingFrom||this!==d;let p=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),g&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===ee.timestamp&&(p=!1),p)return;const{layout:y,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||v))return;Ke(this.layoutCorrected,this.layout.layoutBox);const b=this.treeScale.x,E=this.treeScale.y;sv(this.layoutCorrected,this.treeScale,this.path,g),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=Pt());const{target:L}=d;if(!L){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(xd(this.prevProjectionDelta.x,this.projectionDelta.x),xd(this.prevProjectionDelta.y,this.projectionDelta.y)),Pi(this.projectionDelta,this.layoutCorrected,L,this.latestValues),(this.treeScale.x!==b||this.treeScale.y!==E||!Bd(this.projectionDelta.x,this.prevProjectionDelta.x)||!Bd(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",L))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){if(this.options.visualElement?.scheduleRender(),d){const g=this.getStack();g&&g.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ya(),this.projectionDelta=Ya(),this.projectionDeltaWithTransform=Ya()}setAnimationOrigin(d,g=!1){const p=this.snapshot,y=p?p.latestValues:{},v={...this.latestValues},b=Ya();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!g;const E=Pt(),L=p?p.source:void 0,O=this.layout?this.layout.source:void 0,B=L!==O,U=this.getStack(),j=!U||U.members.length<=1,Y=!!(B&&!j&&this.options.crossfade===!0&&!this.path.some(N2));this.animationProgress=0;let Q;this.mixTargetDelta=q=>{const z=q/1e3;Gd(b.x,d.x,z),Gd(b.y,d.y,z),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(cs(E,this.layout.layoutBox,this.relativeParent.layout.layoutBox),w2(this.relativeTarget,this.relativeTargetOrigin,E,z),Q&&E2(this.relativeTarget,Q)&&(this.isProjectionDirty=!1),Q||(Q=Pt()),Ke(Q,this.relativeTarget)),B&&(this.animationValues=v,p2(v,y,this.latestValues,z,Y,j)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=z},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Dn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=zt.update(()=>{ds.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Za(0)),this.currentAnimation=c2(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),d.onUpdate&&d.onUpdate(g)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.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 d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(M2),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:g,target:p,layout:y,latestValues:v}=d;if(!(!g||!p||!y)){if(this!==d&&this.layout&&y&&Kd(this.options.animationType,this.layout.layoutBox,y.layoutBox)){p=this.target||Pt();const b=oe(this.layout.layoutBox.x);p.x.min=d.target.x.min,p.x.max=p.x.min+b;const E=oe(this.layout.layoutBox.y);p.y.min=d.target.y.min,p.y.max=p.y.min+E}Ke(g,p),qa(g,v),Pi(this.projectionDeltaWithTransform,this.layoutCorrected,g,v)}}registerSharedNode(d,g){this.sharedNodes.has(d)||this.sharedNodes.set(d,new A2),this.sharedNodes.get(d).add(g);const y=g.options.initialPromotionConfig;g.promote({transition:y?y.transition:void 0,preserveFollowOpacity:y&&y.shouldPreserveFollowOpacity?y.shouldPreserveFollowOpacity(g):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){const{layoutId:d}=this.options;return d?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:d}=this.options;return d?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:g,preserveFollowOpacity:p}={}){const y=this.getStack();y&&y.promote(this,p),d&&(this.projectionDelta=void 0,this.needsReset=!0),g&&this.setOptions({transition:g})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let g=!1;const{latestValues:p}=d;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(g=!0),!g)return;const y={};p.z&&no("z",d,y,this.animationValues);for(let v=0;v<eo.length;v++)no(`rotate${eo[v]}`,d,y,this.animationValues),no(`skew${eo[v]}`,d,y,this.animationValues);d.render();for(const v in y)d.setStaticValue(v,y[v]),this.animationValues&&(this.animationValues[v]=y[v]);d.scheduleRender()}applyProjectionStyles(d,g){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=rs(g?.pointerEvents)||"",d.transform=p?p(this.latestValues,""):"none";return}const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=rs(g?.pointerEvents)||""),this.hasProjected&&!ca(this.latestValues)&&(d.transform=p?p({},""):"none",this.hasProjected=!1);return}d.visibility="";const v=y.animationValues||y.latestValues;this.applyTransformsToTarget();let b=T2(this.projectionDeltaWithTransform,this.treeScale,v);p&&(b=p(v,b)),d.transform=b;const{x:E,y:L}=this.projectionDelta;d.transformOrigin=`${E.origin*100}% ${L.origin*100}% 0`,y.animationValues?d.opacity=y===this?v.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:d.opacity=y===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const O in Br){if(v[O]===void 0)continue;const{correct:B,applyTo:U,isCSSVariable:j}=Br[O],Y=b==="none"?v[O]:B(v[O],y);if(U){const Q=U.length;for(let q=0;q<Q;q++)d[U[q]]=Y}else j?this.options.visualElement.renderState.vars[O]=Y:d[O]=Y}this.options.layoutId&&(d.pointerEvents=y===this?rs(g?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>d.currentAnimation?.stop()),this.root.nodes.forEach(Zd),this.root.sharedNodes.clear()}}}function V2(a){a.updateLayout()}function L2(a){const i=a.resumeFrom?.snapshot||a.snapshot;if(a.isLead()&&a.layout&&i&&a.hasListeners("didUpdate")){const{layoutBox:u,measuredBox:r}=a.layout,{animationType:c}=a.options,h=i.source!==a.layout.source;c==="size"?ze(v=>{const b=h?i.measuredBox[v]:i.layoutBox[v],E=oe(b);b.min=u[v].min,b.max=b.min+E}):Kd(c,i.layoutBox,u)&&ze(v=>{const b=h?i.measuredBox[v]:i.layoutBox[v],E=oe(u[v]);b.max=b.min+E,a.relativeTarget&&!a.currentAnimation&&(a.isProjectionDirty=!0,a.relativeTarget[v].max=a.relativeTarget[v].min+E)});const d=Ya();Pi(d,u,i.layoutBox);const g=Ya();h?Pi(g,a.applyTransform(r,!0),i.measuredBox):Pi(g,u,i.layoutBox);const p=!Rd(d);let y=!1;if(!a.resumeFrom){const v=a.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:E}=v;if(b&&E){const L=Pt();cs(L,i.layoutBox,b.layoutBox);const O=Pt();cs(O,u,E.layoutBox),Od(L,O)||(y=!0),v.options.layoutRoot&&(a.relativeTarget=O,a.relativeTargetOrigin=L,a.relativeParent=v)}}}a.notifyListeners("didUpdate",{layout:u,snapshot:i,delta:g,layoutDelta:d,hasLayoutChanged:p,hasRelativeLayoutChanged:y})}else if(a.isLead()){const{onExitComplete:u}=a.options;u&&u()}a.options.transition=void 0}function C2(a){a.parent&&(a.isProjecting()||(a.isProjectionDirty=a.parent.isProjectionDirty),a.isSharedProjectionDirty||(a.isSharedProjectionDirty=!!(a.isProjectionDirty||a.parent.isProjectionDirty||a.parent.isSharedProjectionDirty)),a.isTransformDirty||(a.isTransformDirty=a.parent.isTransformDirty))}function D2(a){a.isProjectionDirty=a.isSharedProjectionDirty=a.isTransformDirty=!1}function R2(a){a.clearSnapshot()}function Zd(a){a.clearMeasurements()}function Ud(a){a.isLayoutDirty=!1}function H2(a){const{visualElement:i}=a.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),a.resetTransform()}function _d(a){a.finishAnimation(),a.targetDelta=a.relativeTarget=a.target=void 0,a.isProjectionDirty=!0}function j2(a){a.resolveTargetDelta()}function O2(a){a.calcProjection()}function z2(a){a.resetSkewAndRotation()}function B2(a){a.removeLeadSnapshot()}function Gd(a,i,u){a.translate=Nt(i.translate,0,u),a.scale=Nt(i.scale,1,u),a.origin=i.origin,a.originPoint=i.originPoint}function qd(a,i,u,r){a.min=Nt(i.min,u.min,r),a.max=Nt(i.max,u.max,r)}function w2(a,i,u,r){qd(a.x,i.x,u.x,r),qd(a.y,i.y,u.y,r)}function N2(a){return a.animationValues&&a.animationValues.opacityExit!==void 0}const Z2={duration:.45,ease:[.4,0,.1,1]},Yd=a=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(a),Xd=Yd("applewebkit/")&&!Yd("chrome/")?Math.round:je;function kd(a){a.min=Xd(a.min),a.max=Xd(a.max)}function U2(a){kd(a.x),kd(a.y)}function Kd(a,i,u){return a==="position"||a==="preserve-aspect"&&!Fv(zd(i),zd(u),.2)}function _2(a){return a!==a.root&&a.scroll?.wasRoot}const G2=Nd({attachResizeListener:(a,i)=>Ki(a,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ao={current:void 0},Fd=Nd({measureScroll:a=>({x:a.scrollLeft,y:a.scrollTop}),defaultParent:()=>{if(!ao.current){const a=new G2({});a.mount(window),a.setOptions({layoutScroll:!0}),ao.current=a}return ao.current},resetTransform:(a,i)=>{a.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:a=>window.getComputedStyle(a).position==="fixed"}),q2={pan:{Feature:r2},drag:{Feature:u2,ProjectionNode:Fd,MeasureLayout:vd}};function Qd(a,i,u){const{props:r}=a;a.animationState&&r.whileHover&&a.animationState.setActive("whileHover",u==="Start");const c="onHover"+u,h=r[c];h&&zt.postRender(()=>h(i,Fi(i)))}class Y2 extends jn{mount(){const{current:i}=this.node;i&&(this.unmount=dg(i,(u,r)=>(Qd(this.node,r,"Start"),c=>Qd(this.node,c,"End"))))}unmount(){}}class X2 extends jn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!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=Bi(Ki(this.node.current,"focus",()=>this.onFocus()),Ki(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Pd(a,i,u){const{props:r}=a;if(a.current instanceof HTMLButtonElement&&a.current.disabled)return;a.animationState&&r.whileTap&&a.animationState.setActive("whileTap",u==="Start");const c="onTap"+(u==="End"?"":u),h=r[c];h&&zt.postRender(()=>h(i,Fi(i)))}class k2 extends jn{mount(){const{current:i}=this.node;i&&(this.unmount=yg(i,(u,r)=>(Pd(this.node,r,"Start"),(c,{success:h})=>Pd(this.node,c,h?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const io=new WeakMap,lo=new WeakMap,K2=a=>{const i=io.get(a.target);i&&i(a)},F2=a=>{a.forEach(K2)};function Q2({root:a,...i}){const u=a||document;lo.has(u)||lo.set(u,{});const r=lo.get(u),c=JSON.stringify(i);return r[c]||(r[c]=new IntersectionObserver(F2,{root:a,...i})),r[c]}function P2(a,i,u){const r=Q2(i);return io.set(a,u),r.observe(a),()=>{io.delete(a),r.unobserve(a)}}const J2={some:0,all:1};class $2 extends jn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:i={}}=this.node.getProps(),{root:u,margin:r,amount:c="some",once:h}=i,d={root:u?u.current:void 0,rootMargin:r,threshold:typeof c=="number"?c:J2[c]},g=p=>{const{isIntersecting:y}=p;if(this.isInView===y||(this.isInView=y,h&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:v,onViewportLeave:b}=this.node.getProps(),E=y?v:b;E&&E(p)};return P2(this.node.current,d,g)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:u}=this.node;["amount","margin","root"].some(W2(i,u))&&this.startObserver()}unmount(){}}function W2({viewport:a={}},{viewport:i={}}={}){return u=>a[u]!==i[u]}const I2={...Gv,...{inView:{Feature:$2},tap:{Feature:k2},focus:{Feature:X2},hover:{Feature:Y2}},...q2,...{layout:{ProjectionNode:Fd,MeasureLayout:vd}}},t3=av(I2,yv);function e3(a="(max-width: 768px)"){const[i,u]=f.useState({isMobile:!1,isPortrait:!1});return f.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=navigator?.userAgent??"",c=/iPhone|Android/i.test(r),h=window.matchMedia(a),d=window.matchMedia("(orientation: portrait)"),g=()=>u({isMobile:h.matches||c,isPortrait:d.matches});return g(),h.addEventListener("change",g),d.addEventListener("change",g),()=>{h.removeEventListener("change",g),d.removeEventListener("change",g)}},[a]),i}const n3={order:["top","center","seekbar","bottom"],top:[],center:[{key:"bigPlayBtn",items:["BigPlayBtn"]}],bottom:[{key:"play",items:["PlayBtn"],wrapper:"Group"},{key:"volume",items:["VolumBtn"],wrapper:"Group"},{key:"time",items:["TimeBtn"],wrapper:"Group"},{key:"meta",items:["MetaBtn"]},{key:"blank",wrapper:"Blank",items:[]},{key:"right",items:["SubtitleBtn","PipBtn","SettingBtn","FullscreenBtn"],cap:2,wrapper:"Group"}]},a3={order:["top","center","bottom","seekbar"],top:[{key:"blank",wrapper:"Blank",items:[]},{key:"right",items:["PipBtn","SettingBtn"],cap:2,wrapper:"Group"}],center:[{key:"bigPlayBtn",items:["BigPlayBtn"]}],bottom:[{key:"time",items:["TimeBtn"],wrapper:"Group"},{key:"blank",wrapper:"Blank",items:[]},{key:"right",items:["SubtitleBtn","FullscreenBtn"],wrapper:"Group"}]},i3={order:["top","center","seekbar","bottom"],top:[],center:[{key:"bigPlayBtn",items:["BigPlayBtn"]}],bottom:[{key:"play",items:["PlayBtn"],wrapper:"Group"},{key:"volume",items:["VolumBtn"],wrapper:"Group"},{key:"time",items:["TimeBtn"],wrapper:"Group"},{key:"blank",wrapper:"Blank",items:[]},{key:"right",items:["SubtitleBtn","SettingBtn","FullscreenBtn"],cap:2,wrapper:"Group"}]},l3=768,Ji={pc:n3,mobile:a3,fullscreen:i3},s3={top:[],center:[{key:"bigPlayBtn",items:["BigPlayBtn"]}],bottom:[{key:"play",items:["PlayBtn"],wrapper:"Group",noPadding:!0},{key:"volume",items:["VolumBtn"],wrapper:"Group"},{key:"time",items:["TimeBtn"],wrapper:"Group"},{key:"blank",wrapper:"Blank",items:[]},{key:"right",items:["SubtitleBtn","FullscreenBtn"],cap:2,wrapper:"Group"}]};function u3(a){const[i,u]=Z0("isActive",!1),r=f.useRef(null),c=f.useRef(!1),h=f.useRef(!1),d=f.useRef(0),g=a.options?.controlActiveTime||3e3,[p]=fe(),{isMobile:y,isPortrait:v}=e3(),{togglePlay:b,useTouch:E}=Ee(),[L,O]=f.useState(!1),B=(()=>{const $=a.layout??Ji;if("top"in $||"center"in $||"bottom"in $)return $;const ct=$,Mt={pc:ct.pc??Ji.pc,mobile:ct.mobile??Ji.mobile,fullscreen:ct.fullscreen??Ji.fullscreen,breakpoint:ct.breakpoint};return p.isFullscreen&&Mt.fullscreen?Mt.fullscreen:(L?Mt.mobile:Mt.pc)??Mt.pc??Mt.mobile??Mt.fullscreen??s3})(),U=h.current||p.isEnded,j=()=>{r.current!==null&&(window.clearTimeout(r.current),r.current=null)},Y=()=>{j(),r.current=window.setTimeout(()=>{u(!1),c.current=!0,r.current=null},g)},Q=()=>{c.current=!1,d.current=Date.now(),i||u(!0),Y()},q=()=>{c.current||Q()};f.useEffect(()=>{if(typeof window>"u")return;const $=a.layout??Ji;if("top"in $||"center"in $||"bottom"in $){O(!1);return}const Mt=$.breakpoint??l3,mt=window.matchMedia(`(max-width: ${Mt}px)`),F=()=>O(mt.matches||y);return F(),typeof mt.addEventListener=="function"?(mt.addEventListener("change",F),()=>mt.removeEventListener("change",F)):(mt.addListener(F),()=>mt.removeListener(F))},[a.layout,y]);const z=$=>[$.top,$.center,$.bottom].some(Mt=>Mt?.some(mt=>(mt.items?.length?mt.items:["Blank"]).includes("SeekBar"))??!1),k=($,ct)=>{if(typeof $!="string")return f.isValidElement($)?f.cloneElement($,{pos:ct}):$;switch($){case"PlayBtn":return A.jsx(tf,{isMobile:y,isPortrait:v,pos:ct,text:{play:a.t?.("common.play")??"재생",pause:a.t?.("common.pause")??"일시정지"}});case"VolumBtn":return A.jsx(bp,{isMobile:y,isPortrait:v,pos:ct,text:{muteOn:a.t?.("common.muteOn")??"음소거",muteOff:a.t?.("common.muteOff")??"음소거 해제"}});case"TimeBtn":return A.jsx(pp,{isMobile:y,isPortrait:v,pos:ct});case"SubtitleBtn":return A.jsx(Sp,{isMobile:y,isPortrait:v,pos:ct,text:{captionOn:a.t?.("common.captionOn")??"자막켜기",captionOff:a.t?.("common.captionOff")??"자막 끄기"}});case"FullscreenBtn":return A.jsx(vp,{isMobile:y,isPortrait:v,pos:ct,options:a.options,text:{fullOn:a.t?.("common.fullOn")??"전체화면",fullOff:a.t?.("common.fullOff")??"전체화면 해제"}});case"PipBtn":return A.jsx(Ap,{isMobile:y,isPortrait:v,pos:ct,options:a.options,text:{miniPlayer:a.t?.("common.miniPlayer")??"미니플레이어"}});case"MetaBtn":return A.jsx(gp,{title:a.metaTitle??"",isMobile:y,isPortrait:v,pos:ct});case"BigPlayBtn":return U?A.jsx(mp,{isMobile:y,isPortrait:v}):null;case"SeekBar":return A.jsx(_0,{src:a.src,hlsLib:a.hlsLib,dashLib:a.dashLib,options:a.options,pos:ct});case"LevelSelectBtn":return A.jsx(yp,{options:a.options,text:{auto:a.t?.("common.auto")??"자동"}});case"SettingBtn":return A.jsx(Ep,{isMobile:y,isPortrait:v,pos:ct,text:{setting:a.t?.("common.setting")??"설정"}});case"Blank":return A.jsx(ef,{});default:return null}},J=($,ct,Mt)=>{const F=($.items?.length?$.items:["Blank"]).map((N,X)=>{const ot=k(N,Mt);return ot?A.jsx(f.Fragment,{children:ot},`${ct}-${$.key}-${N}-${X}`):null}).filter(N=>N!==null);return F.length?$.wrapper==="Blank"?A.jsx(ef,{children:F},`${ct}-${$.key}`):$.wrapper==="Group"?A.jsx(Kl,{noPadding:!(F.length>1),cap:$.cap,children:F},`${ct}-${$.key}`):A.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:F},`${ct}-${$.key}`):null},K=($,ct)=>{if(!$?.length)return null;if(ct!=="bottom")return $.map(mt=>J(mt,ct));let Mt="left";return $.map(mt=>{const F=mt.items?.length?mt.items:["Blank"],N=mt.wrapper==="Blank"||F.includes("Blank"),X=J(mt,ct,Mt);return N&&(Mt="right"),X})},I=!z(B),at=B.order??["top","center","seekbar","bottom"],Rt=()=>I?A.jsx("div",{children:A.jsx(_0,{src:a.src,hlsLib:a.hlsLib,dashLib:a.dashLib,options:a.options})}):null;return f.useEffect(()=>{y&&(h.current=!0)},[y]),A.jsxs(A.Fragment,{children:[p.isLoading&&A.jsx(nf,{poster:a.poster,options:a.options}),p.isWaiting&&A.jsx(nf,{}),p.isSettingModal&&A.jsx(Mp,{text:{setting:a.t?.("common.setting")??"세팅",auto:a.t?.("common.auto")??"자동",notUse:a.t?.("common.notUse")??"사용안함",quality:a.t?.("settings.quality")??"해상도",autoplay:a.t?.("settings.autoplay")??"자동재생",playbackRate:a.t?.("settings.playbackRate")??"재생 속도",captions:a.t?.("settings.captions")??"자막"},vtt:a.src?.vtt,options:a.options}),!p.isLoading&&A.jsx(A.Fragment,{children:p.initPlay?A.jsx("div",{className:"absolute z-[2] h-full w-full max-h-[100dvh] max-w-[100dvw] overflow-hidden",style:{cursor:"none"},onClick:()=>{E()},onMouseEnter:()=>{q()},onMouseMove:()=>{Q()},onTouchStart:()=>{E()},onMouseLeave:()=>{j(),c.current=!1},children:A.jsx(Vg,{children:(i||p.isEnded)&&A.jsx(t3.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"flex flex-col w-full h-full vpe-contorl-bar-root p-3 gap-3 ",style:{cursor:"default"},children:at.map($=>$==="top"?A.jsx("div",{className:"flex items-center ",children:K(B.top,"top")},"layout-top"):$==="center"?A.jsx("div",{className:"flex-1 flex justify-center items-center",onClick:()=>{!y&&!v&&b(),h.current=!0},onMouseLeave:()=>{h.current=!1},children:K(B.center,"center")},"layout-center"):$==="seekbar"?A.jsx("div",{children:A.jsx(f.Fragment,{children:Rt()})},"layout-seekbar"):$==="bottom"?A.jsx("div",{className:"flex items-center gap-2",children:K(B.bottom,"bottom")},"layout-bottom"):null)})})}):A.jsx(Tp,{poster:a.poster,options:a.options})})]})}function Jd(a){const{accessKey:i,platform:u="pub",stage:r="prod",isDev:c=!1,hls:h,dashjs:d,options:g,layout:p}=a,[y,v]=f.useState(null),[b,E]=f.useState([]),[L,O]=f.useState(!1),[B,U]=Z0("playerOptions",g??{}),[j,Y]=f.useState(""),Q=0,q=location.host||"local";f.useEffect(()=>{if(!i)return;const I=new L4({accessKey:i,appId:q,platform:u,stage:r,isDev:c});v(I)},[i,q,u,r,c]),f.useEffect(()=>{if(!y||L)return;(async()=>{if(await y.initialize(),y.isInitialized()){const at=y.getValidatedOptions(g);U(at),E(at?.playlist||[]),O(!0)}})()},[y,L,g,U]),f.useEffect(()=>{const I=globalThis;h&&(I.Hls=h),d&&(I.dashjs=d)},[h,d]),f.useEffect(()=>{const I=b?.[Q]?.file;if(!I){Y("");return}const at=I.toLowerCase();at.endsWith(".m3u8")?Y("hls"):at.endsWith(".mpd")?Y("dash"):at.endsWith(".mp4")?Y("mp4"):Y("")},[b,Q]),f.useEffect(()=>{if(!y||!j)return;const I=globalThis,at=h??I.Hls,Rt=d??I.dashjs;j==="hls"&&!at&&y.setErrorRun("E0015"),j==="dash"&&!Rt&&y.setErrorRun("E0016")},[j,y,h,d]);const z=b?.[Q],k=h??globalThis.Hls,J=d??globalThis.dashjs,K=()=>{if(!z)return null;switch(j){case"hls":return A.jsx(Z4,{src:z,hlsLib:k,options:B});case"dash":return A.jsx(U4,{src:z,dashLib:J,options:B});case"mp4":return A.jsx(_4,{src:z,options:B});default:return null}};return A.jsxs("div",{className:"vpe-root-wrap relative max-h-[100dvh] ",children:[A.jsx(u3,{src:z,hlsLib:k,dashLib:J,options:B,poster:z?.poster,layout:p,metaTitle:z?.description?.title,t:I=>y?.$t(I)??I}),A.jsx("div",{className:"flex h-full w-full justify-center flex-col max-h-[100dvh]",style:{aspectRatio:B?.aspectRatio||"16/9"},children:K()})]})}const $d=globalThis;$d.process||($d.process={env:{}});let Wd,so;const r3=(()=>{if(typeof document>"u")return"";const a=[];document.currentScript instanceof HTMLScriptElement&&a.push(document.currentScript),a.push(...Array.from(document.getElementsByTagName("script")));for(const i of a)if(i.src)try{const r=new URL(i.src,window.location.href).searchParams.get("accessKey");if(r)return r}catch{continue}return""})();function o3(a){return a||r3}const c3=a=>!a||typeof a!="object"?!1:"options"in a||"layout"in a||"platform"in a||"stage"in a||"hls"in a||"dashjs"in a||"accessKey"in a;function f3(a){if(!a)return;const i=globalThis,u=typeof a=="object"&&a!==null&&("MediaPlayer"in a||"MediaPlayerFactory"in a),r=typeof a=="function"||typeof a=="object"&&a!==null&&("isSupported"in a||"Events"in a);if(u&&!r){i.dashjs=a;return}if(r&&!u){i.Hls=a;return}console.error("지원하지 않는 라이브러리입니다. hls.js 또는 dash.js를 전달하세요.")}function d3(a){return typeof a!="string"||a.startsWith("#")||a.startsWith(".")||a.startsWith("[")||a.includes(" ")||a.includes(">")||a.includes(":")?a:typeof document<"u"&&document.getElementById(a)?`#${a}`:a}function h3(a){return A.jsx(Jd,{...a})}function uo(a,i,u={}){const r=typeof i=="string"?i:i?.accessKey,c=typeof i=="string"?u:i??{},h=c3(c)?c:{options:c},d=o3(r);if(!d)throw new Error("accessKey를 찾을 수 없습니다.");const g=typeof a=="string"?document.querySelector(a):a;if(!g)throw new Error("지정한 타겟을 찾을 수 없습니다.");const p=document.createElement("div");g.appendChild(p);const y=o4.createRoot(p),v={...h,layout:h.layout??Wd,platform:h.platform??so?.platform,stage:h.stage??so?.stage},b=(L={})=>{y.render(A.jsx(Jd,{...v,...L,accessKey:d}))};return b(),{destroy:()=>{y.unmount(),p.parentNode&&p.parentNode.removeChild(p)},container:p,render:b}}class ka{destroy;container;render;static use(i){return f3(i),ka}static layout(i){return Wd=i,ka}static config(i){return so=i,ka}constructor(i,u,r={}){const c=uo(d3(i),u,r);this.destroy=c.destroy,this.container=c.container,this.render=c.render}}typeof window<"u"&&(window.vpe={...window.vpe??{},setup:uo},window.ncplayer=ka),xn.Ncplayer=ka,xn.VpePlayer=h3,xn.setup=uo,Object.defineProperty(xn,Symbol.toStringTag,{value:"Module"})}));
17
+ `),()=>{U.contains(B)&&U.removeChild(B)}},[i]),A.jsx(Tg,{isPresent:i,childRef:h,sizeRef:d,children:f.cloneElement(a,{ref:p})})}const xg=({children:a,initial:i,isPresent:u,onExitComplete:r,custom:c,presenceAffectsLayout:h,mode:d,anchorX:g,root:p})=>{const y=ku(Vg),v=f.useId();let b=!0,E=f.useMemo(()=>(b=!1,{id:v,initial:i,isPresent:u,custom:c,onExitComplete:L=>{y.set(L,!0);for(const O of y.values())if(!O)return;r&&r()},register:L=>(y.set(L,!1),()=>y.delete(L))}),[u,y,r]);return h&&b&&(E={...E}),f.useMemo(()=>{y.forEach((L,O)=>y.set(O,!1))},[u]),f.useEffect(()=>{!u&&!y.size&&r&&r()},[u]),d==="popLayout"&&(a=A.jsx(Mg,{isPresent:u,anchorX:g,root:p,children:a})),A.jsx(Pl.Provider,{value:E,children:a})};function Vg(){return new Map}function y1(a=!0){const i=f.useContext(Pl);if(i===null)return[!0,null];const{isPresent:u,onExitComplete:r,register:c}=i,h=f.useId();f.useEffect(()=>{if(a)return c(h)},[a]);const d=f.useCallback(()=>a&&r&&r(h),[h,r,a]);return!u&&r?[!1,d]:[!0]}const as=a=>a.key||"";function g1(a){const i=[];return f.Children.forEach(a,u=>{f.isValidElement(u)&&i.push(u)}),i}const Lg=({children:a,custom:i,initial:u=!0,onExitComplete:r,presenceAffectsLayout:c=!0,mode:h="sync",propagate:d=!1,anchorX:g="left",root:p})=>{const[y,v]=y1(d),b=f.useMemo(()=>g1(a),[a]),E=d&&!y?[]:b.map(as),L=f.useRef(!0),O=f.useRef(b),B=ku(()=>new Map),[U,H]=f.useState(b),[Y,Q]=f.useState(b);af(()=>{L.current=!1,O.current=b;for(let k=0;k<Y.length;k++){const J=as(Y[k]);E.includes(J)?B.delete(J):B.get(J)!==!0&&B.set(J,!1)}},[Y,E.length,E.join("-")]);const q=[];if(b!==U){let k=[...b];for(let J=0;J<Y.length;J++){const K=Y[J],I=as(K);E.includes(I)||(k.splice(J,0,K),q.push(K))}return h==="wait"&&q.length&&(k=q),Q(g1(k)),H(b),null}const{forceRender:z}=f.useContext(Xu);return A.jsx(A.Fragment,{children:Y.map(k=>{const J=as(k),K=d&&!y?!1:b===Y||E.includes(J),I=()=>{if(B.has(J))B.set(J,!0);else return;let at=!0;B.forEach(Rt=>{Rt||(at=!1)}),at&&(z?.(),Q(O.current),d&&v?.(),r&&r())};return A.jsx(xg,{isPresent:K,initial:!L.current||u?void 0:!1,custom:i,presenceAffectsLayout:c,mode:h,root:p,onExitComplete:K?void 0:I,anchorX:g,children:k},J)})})},v1=f.createContext({strict:!1}),S1={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"]},Ua={};for(const a in S1)Ua[a]={isEnabled:i=>S1[a].some(u=>!!i[u])};function Cg(a){for(const i in a)Ua[i]={...Ua[i],...a[i]}}const Dg=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 is(a){return a.startsWith("while")||a.startsWith("drag")&&a!=="draggable"||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||Dg.has(a)}let b1=a=>!is(a);function Rg(a){typeof a=="function"&&(b1=i=>i.startsWith("on")?!is(i):a(i))}try{Rg(require("@emotion/is-prop-valid").default)}catch{}function Hg(a,i,u){const r={};for(const c in a)c==="values"&&typeof a.values=="object"||(b1(c)||u===!0&&is(c)||!i&&!is(c)||a.draggable&&c.startsWith("onDrag"))&&(r[c]=a[c]);return r}const ls=f.createContext({});function ss(a){return a!==null&&typeof a=="object"&&typeof a.start=="function"}function Xi(a){return typeof a=="string"||Array.isArray(a)}const Or=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],zr=["initial",...Or];function us(a){return ss(a.animate)||zr.some(i=>Xi(a[i]))}function E1(a){return!!(us(a)||a.variants)}function jg(a,i){if(us(a)){const{initial:u,animate:r}=a;return{initial:u===!1||Xi(u)?u:void 0,animate:Xi(r)?r:void 0}}return a.inherit!==!1?i:{}}function Og(a){const{initial:i,animate:u}=jg(a,f.useContext(ls));return f.useMemo(()=>({initial:i,animate:u}),[A1(i),A1(u)])}function A1(a){return Array.isArray(a)?a.join(" "):a}function T1(a,i){return i.max===i.min?0:a/(i.max-i.min)*100}const ki={correct:(a,i)=>{if(!i.target)return a;if(typeof a=="string")if(st.test(a))a=parseFloat(a);else return a;const u=T1(a,i.target.x),r=T1(a,i.target.y);return`${u}% ${r}%`}},zg={correct:(a,{treeScale:i,projectionDelta:u})=>{const r=a,c=Rn.parse(a);if(c.length>5)return r;const h=Rn.createTransformer(a),d=typeof c[0]!="number"?1:0,g=u.x.scale*i.x,p=u.y.scale*i.y;c[0+d]/=g,c[1+d]/=p;const y=Nt(g,p,.5);return typeof c[2+d]=="number"&&(c[2+d]/=y),typeof c[3+d]=="number"&&(c[3+d]/=y),h(c)}},Br={borderRadius:{...ki,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ki,borderTopRightRadius:ki,borderBottomLeftRadius:ki,borderBottomRightRadius:ki,boxShadow:zg};function M1(a,{layout:i,layoutId:u}){return Na.has(a)||a.startsWith("origin")||(i||u!==void 0)&&(!!Br[a]||a==="opacity")}const Bg={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},wg=wa.length;function Ng(a,i,u){let r="",c=!0;for(let h=0;h<wg;h++){const d=wa[h],g=a[d];if(g===void 0)continue;let p=!0;if(typeof g=="number"?p=g===(d.startsWith("scale")?1:0):p=parseFloat(g)===0,!p||u){const y=l1(g,Cr[d]);if(!p){c=!1;const v=Bg[d]||d;r+=`${v}(${y}) `}u&&(i[d]=y)}}return r=r.trim(),u?r=u(i,c?"":r):c&&(r="none"),r}function wr(a,i,u){const{style:r,vars:c,transformOrigin:h}=a;let d=!1,g=!1;for(const p in i){const y=i[p];if(Na.has(p)){d=!0;continue}else if(Af(p)){c[p]=y;continue}else{const v=l1(y,Cr[p]);p.startsWith("origin")?(g=!0,h[p]=v):r[p]=v}}if(i.transform||(d||u?r.transform=Ng(i,a.transform,u):r.transform&&(r.transform="none")),g){const{originX:p="50%",originY:y="50%",originZ:v=0}=h;r.transformOrigin=`${p} ${y} ${v}`}}const Nr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function x1(a,i,u){for(const r in i)!re(i[r])&&!M1(r,u)&&(a[r]=i[r])}function Zg({transformTemplate:a},i){return f.useMemo(()=>{const u=Nr();return wr(u,i,a),Object.assign({},u.vars,u.style)},[i])}function Ug(a,i){const u=a.style||{},r={};return x1(r,u,a),Object.assign(r,Zg(a,i)),r}function _g(a,i){const u={},r=Ug(a,i);return a.drag&&a.dragListener!==!1&&(u.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=a.drag===!0?"none":`pan-${a.drag==="x"?"y":"x"}`),a.tabIndex===void 0&&(a.onTap||a.onTapStart||a.whileTap)&&(u.tabIndex=0),u.style=r,u}const Gg={offset:"stroke-dashoffset",array:"stroke-dasharray"},qg={offset:"strokeDashoffset",array:"strokeDasharray"};function Yg(a,i,u=1,r=0,c=!0){a.pathLength=1;const h=c?Gg:qg;a[h.offset]=st.transform(-r);const d=st.transform(i),g=st.transform(u);a[h.array]=`${d} ${g}`}function V1(a,{attrX:i,attrY:u,attrScale:r,pathLength:c,pathSpacing:h=1,pathOffset:d=0,...g},p,y,v){if(wr(a,g,y),p){a.style.viewBox&&(a.attrs.viewBox=a.style.viewBox);return}a.attrs=a.style,a.style={};const{attrs:b,style:E}=a;b.transform&&(E.transform=b.transform,delete b.transform),(E.transform||b.transformOrigin)&&(E.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),E.transform&&(E.transformBox=v?.transformBox??"fill-box",delete b.transformBox),i!==void 0&&(b.x=i),u!==void 0&&(b.y=u),r!==void 0&&(b.scale=r),c!==void 0&&Yg(b,c,h,d,!1)}const L1=()=>({...Nr(),attrs:{}}),C1=a=>typeof a=="string"&&a.toLowerCase()==="svg";function Xg(a,i,u,r){const c=f.useMemo(()=>{const h=L1();return V1(h,i,C1(r),a.transformTemplate,a.style),{...h.attrs,style:{...h.style}}},[i]);if(a.style){const h={};x1(h,a.style,a),c.style={...h,...c.style}}return c}const kg=["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 Zr(a){return typeof a!="string"||a.includes("-")?!1:!!(kg.indexOf(a)>-1||/[A-Z]/u.test(a))}function Kg(a,i,u,{latestValues:r},c,h=!1){const g=(Zr(a)?Xg:_g)(i,r,c,a),p=Hg(i,typeof a=="string",h),y=a!==f.Fragment?{...p,...g,ref:u}:{},{children:v}=i,b=f.useMemo(()=>re(v)?v.get():v,[v]);return f.createElement(a,{...y,children:b})}function D1(a){const i=[{},{}];return a?.values.forEach((u,r)=>{i[0][r]=u.get(),i[1][r]=u.getVelocity()}),i}function Ur(a,i,u,r){if(typeof i=="function"){const[c,h]=D1(r);i=i(u!==void 0?u:a.custom,c,h)}if(typeof i=="string"&&(i=a.variants&&a.variants[i]),typeof i=="function"){const[c,h]=D1(r);i=i(u!==void 0?u:a.custom,c,h)}return i}function rs(a){return re(a)?a.get():a}function Fg({scrapeMotionValuesFromProps:a,createRenderState:i},u,r,c){return{latestValues:Qg(u,r,c,a),renderState:i()}}function Qg(a,i,u,r){const c={},h=r(a,{});for(const E in h)c[E]=rs(h[E]);let{initial:d,animate:g}=a;const p=us(a),y=E1(a);i&&y&&!p&&a.inherit!==!1&&(d===void 0&&(d=i.initial),g===void 0&&(g=i.animate));let v=u?u.initial===!1:!1;v=v||d===!1;const b=v?g:d;if(b&&typeof b!="boolean"&&!ss(b)){const E=Array.isArray(b)?b:[b];for(let L=0;L<E.length;L++){const O=Ur(a,E[L]);if(O){const{transitionEnd:B,transition:U,...H}=O;for(const Y in H){let Q=H[Y];if(Array.isArray(Q)){const q=v?Q.length-1:0;Q=Q[q]}Q!==null&&(c[Y]=Q)}for(const Y in B)c[Y]=B[Y]}}}return c}const R1=a=>(i,u)=>{const r=f.useContext(ls),c=f.useContext(Pl),h=()=>Fg(a,i,r,c);return u?h():ku(h)};function _r(a,i,u){const{style:r}=a,c={};for(const h in r)(re(r[h])||i.style&&re(i.style[h])||M1(h,a)||u?.getValue(h)?.liveStyle!==void 0)&&(c[h]=r[h]);return c}const Pg=R1({scrapeMotionValuesFromProps:_r,createRenderState:Nr});function H1(a,i,u){const r=_r(a,i,u);for(const c in a)if(re(a[c])||re(i[c])){const h=wa.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;r[h]=a[c]}return r}const Jg=R1({scrapeMotionValuesFromProps:H1,createRenderState:L1}),$g=Symbol.for("motionComponentSymbol");function _a(a){return a&&typeof a=="object"&&Object.prototype.hasOwnProperty.call(a,"current")}function Wg(a,i,u){return f.useCallback(r=>{r&&a.onMount&&a.onMount(r),i&&(r?i.mount(r):i.unmount()),u&&(typeof u=="function"?u(r):_a(u)&&(u.current=r))},[i])}const Gr=a=>a.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),j1="data-"+Gr("framerAppearId"),O1=f.createContext({});function Ig(a,i,u,r,c){const{visualElement:h}=f.useContext(ls),d=f.useContext(v1),g=f.useContext(Pl),p=f.useContext(jr).reducedMotion,y=f.useRef(null);r=r||d.renderer,!y.current&&r&&(y.current=r(a,{visualState:i,parent:h,props:u,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:p}));const v=y.current,b=f.useContext(O1);v&&!v.projection&&c&&(v.type==="html"||v.type==="svg")&&tv(y.current,u,c,b);const E=f.useRef(!1);f.useInsertionEffect(()=>{v&&E.current&&v.update(u,g)});const L=u[j1],O=f.useRef(!!L&&!window.MotionHandoffIsComplete?.(L)&&window.MotionHasOptimisedAnimation?.(L));return af(()=>{v&&(E.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),O.current&&v.animationState&&v.animationState.animateChanges())}),f.useEffect(()=>{v&&(!O.current&&v.animationState&&v.animationState.animateChanges(),O.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(L)}),O.current=!1),v.enteringChildren=void 0)}),v}function tv(a,i,u,r){const{layoutId:c,layout:h,drag:d,dragConstraints:g,layoutScroll:p,layoutRoot:y,layoutCrossfade:v}=i;a.projection=new u(a.latestValues,i["data-framer-portal-id"]?void 0:z1(a.parent)),a.projection.setOptions({layoutId:c,layout:h,alwaysMeasureLayout:!!d||g&&_a(g),visualElement:a,animationType:typeof h=="string"?h:"both",initialPromotionConfig:r,crossfade:v,layoutScroll:p,layoutRoot:y})}function z1(a){if(a)return a.options.allowProjection!==!1?a.projection:z1(a.parent)}function qr(a,{forwardMotionProps:i=!1}={},u,r){u&&Cg(u);const c=Zr(a)?Jg:Pg;function h(g,p){let y;const v={...f.useContext(jr),...g,layoutId:ev(g)},{isStatic:b}=v,E=Og(g),L=c(g,b);if(!b&&Ku){nv();const O=av(v);y=O.MeasureLayout,E.visualElement=Ig(a,L,v,r,O.ProjectionNode)}return A.jsxs(ls.Provider,{value:E,children:[y&&E.visualElement?A.jsx(y,{visualElement:E.visualElement,...v}):null,Kg(a,g,Wg(L,E.visualElement,p),L,b,i)]})}h.displayName=`motion.${typeof a=="string"?a:`create(${a.displayName??a.name??""})`}`;const d=f.forwardRef(h);return d[$g]=a,d}function ev({layoutId:a}){const i=f.useContext(Xu).id;return i&&a!==void 0?i+"-"+a:a}function nv(a,i){f.useContext(v1).strict}function av(a){const{drag:i,layout:u}=Ua;if(!i&&!u)return{};const r={...i,...u};return{MeasureLayout:i?.isEnabled(a)||u?.isEnabled(a)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function iv(a,i){if(typeof Proxy>"u")return qr;const u=new Map,r=(h,d)=>qr(h,d,a,i),c=(h,d)=>r(h,d);return new Proxy(c,{get:(h,d)=>d==="create"?r:(u.has(d)||u.set(d,qr(d,void 0,a,i)),u.get(d))})}function B1({top:a,left:i,right:u,bottom:r}){return{x:{min:i,max:u},y:{min:a,max:r}}}function lv({x:a,y:i}){return{top:i.min,right:a.max,bottom:i.max,left:a.min}}function sv(a,i){if(!i)return a;const u=i({x:a.left,y:a.top}),r=i({x:a.right,y:a.bottom});return{top:u.y,left:u.x,bottom:r.y,right:r.x}}function Yr(a){return a===void 0||a===1}function Xr({scale:a,scaleX:i,scaleY:u}){return!Yr(a)||!Yr(i)||!Yr(u)}function ca(a){return Xr(a)||w1(a)||a.z||a.rotate||a.rotateX||a.rotateY||a.skewX||a.skewY}function w1(a){return N1(a.x)||N1(a.y)}function N1(a){return a&&a!=="0%"}function os(a,i,u){const r=a-u,c=i*r;return u+c}function Z1(a,i,u,r,c){return c!==void 0&&(a=os(a,c,r)),os(a,u,r)+i}function kr(a,i=0,u=1,r,c){a.min=Z1(a.min,i,u,r,c),a.max=Z1(a.max,i,u,r,c)}function U1(a,{x:i,y:u}){kr(a.x,i.translate,i.scale,i.originPoint),kr(a.y,u.translate,u.scale,u.originPoint)}const _1=.999999999999,G1=1.0000000000001;function uv(a,i,u,r=!1){const c=u.length;if(!c)return;i.x=i.y=1;let h,d;for(let g=0;g<c;g++){h=u[g],d=h.projectionDelta;const{visualElement:p}=h.options;p&&p.props.style&&p.props.style.display==="contents"||(r&&h.options.layoutScroll&&h.scroll&&h!==h.root&&qa(a,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),d&&(i.x*=d.x.scale,i.y*=d.y.scale,U1(a,d)),r&&ca(h.latestValues)&&qa(a,h.latestValues))}i.x<G1&&i.x>_1&&(i.x=1),i.y<G1&&i.y>_1&&(i.y=1)}function Ga(a,i){a.min=a.min+i,a.max=a.max+i}function q1(a,i,u,r,c=.5){const h=Nt(a.min,a.max,c);kr(a,i,u,h,r)}function qa(a,i){q1(a.x,i.x,i.scaleX,i.scale,i.originX),q1(a.y,i.y,i.scaleY,i.scale,i.originY)}function Y1(a,i){return B1(sv(a.getBoundingClientRect(),i))}function rv(a,i,u){const r=Y1(a,u),{scroll:c}=i;return c&&(Ga(r.x,c.offset.x),Ga(r.y,c.offset.y)),r}const X1=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ya=()=>({x:X1(),y:X1()}),k1=()=>({min:0,max:0}),Pt=()=>({x:k1(),y:k1()}),Kr={current:null},K1={current:!1};function ov(){if(K1.current=!0,!!Ku)if(window.matchMedia){const a=window.matchMedia("(prefers-reduced-motion)"),i=()=>Kr.current=a.matches;a.addEventListener("change",i),i()}else Kr.current=!1}const cv=new WeakMap;function fv(a,i,u){for(const r in i){const c=i[r],h=u[r];if(re(c))a.addValue(r,c);else if(re(h))a.addValue(r,Za(c,{owner:a}));else if(h!==c)if(a.hasValue(r)){const d=a.getValue(r);d.liveStyle===!0?d.jump(c):d.hasAnimated||d.set(c)}else{const d=a.getStaticValue(r);a.addValue(r,Za(d!==void 0?d:c,{owner:a}))}}for(const r in u)i[r]===void 0&&a.removeValue(r);return i}const F1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class dv{scrapeMotionValuesFromProps(i,u,r){return{}}constructor({parent:i,props:u,presenceContext:r,reducedMotionConfig:c,blockInitialAnimation:h,visualState:d},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Mr,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 E=de.now();this.renderScheduledAt<E&&(this.renderScheduledAt=E,zt.render(this.render,!1,!0))};const{latestValues:p,renderState:y}=d;this.latestValues=p,this.baseTarget={...p},this.initialValues=u.initial?{...p}:{},this.renderState=y,this.parent=i,this.props=u,this.presenceContext=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=c,this.options=g,this.blockInitialAnimation=!!h,this.isControllingVariants=us(u),this.isVariantNode=E1(u),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:v,...b}=this.scrapeMotionValuesFromProps(u,{},this);for(const E in b){const L=b[E];p[E]!==void 0&&re(L)&&L.set(p[E])}}mount(i){this.current=i,cv.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,r)=>this.bindToMotionValue(r,u)),K1.current||ov(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Kr.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Cn(this.notifyUpdate),Cn(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const u=this.features[i];u&&(u.unmount(),u.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,u){this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)();const r=Na.has(i);r&&this.onBindTransform&&this.onBindTransform();const c=u.on("change",d=>{this.latestValues[i]=d,this.props.onUpdate&&zt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let h;window.MotionCheckAppearSync&&(h=window.MotionCheckAppearSync(this,i,u)),this.valueSubscriptions.set(i,()=>{c(),h&&h(),u.owner&&u.stop()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in Ua){const u=Ua[i];if(!u)continue;const{isEnabled:r,Feature:c}=u;if(!this.features[i]&&c&&r(this.props)&&(this.features[i]=new c(this)),this.features[i]){const h=this.features[i];h.isMounted?h.update():(h.mount(),h.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Pt()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,u){this.latestValues[i]=u}update(i,u){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=u;for(let r=0;r<F1.length;r++){const c=F1[r];this.propEventSubscriptions[c]&&(this.propEventSubscriptions[c](),delete this.propEventSubscriptions[c]);const h="on"+c,d=i[h];d&&(this.propEventSubscriptions[c]=this.on(c,d))}this.prevMotionValues=fv(this,this.scrapeMotionValuesFromProps(i,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]: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(i){const u=this.getClosestVariantNode();if(u)return u.variantChildren&&u.variantChildren.add(i),()=>u.variantChildren.delete(i)}addValue(i,u){const r=this.values.get(i);u!==r&&(r&&this.removeValue(i),this.bindToMotionValue(i,u),this.values.set(i,u),this.latestValues[i]=u.get())}removeValue(i){this.values.delete(i);const u=this.valueSubscriptions.get(i);u&&(u(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,u){if(this.props.values&&this.props.values[i])return this.props.values[i];let r=this.values.get(i);return r===void 0&&u!==void 0&&(r=Za(u===null?void 0:u,{owner:this}),this.addValue(i,r)),r}readValue(i,u){let r=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return r!=null&&(typeof r=="string"&&(lf(r)||uf(r))?r=parseFloat(r):!bg(r)&&Rn.test(u)&&(r=i1(i,u)),this.setBaseTarget(i,re(r)?r.get():r)),re(r)?r.get():r}setBaseTarget(i,u){this.baseTarget[i]=u}getBaseTarget(i){const{initial:u}=this.props;let r;if(typeof u=="string"||typeof u=="object"){const h=Ur(this.props,u,this.presenceContext?.custom);h&&(r=h[i])}if(u&&r!==void 0)return r;const c=this.getBaseTargetFromProps(this.props,i);return c!==void 0&&!re(c)?c:this.initialValues[i]!==void 0&&r===void 0?void 0:this.baseTarget[i]}on(i,u){return this.events[i]||(this.events[i]=new $u),this.events[i].add(u)}notify(i,...u){this.events[i]&&this.events[i].notify(...u)}scheduleRenderMicrotask(){Dr.render(this.render)}}class Q1 extends dv{constructor(){super(...arguments),this.KeyframeResolver=rg}sortInstanceNodePosition(i,u){return i.compareDocumentPosition(u)&2?1:-1}getBaseTargetFromProps(i,u){return i.style?i.style[u]:void 0}removeValueFromRenderState(i,{vars:u,style:r}){delete u[i],delete r[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;re(i)&&(this.childSubscription=i.on("change",u=>{this.current&&(this.current.textContent=`${u}`)}))}}function P1(a,{style:i,vars:u},r,c){const h=a.style;let d;for(d in i)h[d]=i[d];c?.applyProjectionStyles(h,r);for(d in u)h.setProperty(d,u[d])}function hv(a){return window.getComputedStyle(a)}class mv extends Q1{constructor(){super(...arguments),this.type="html",this.renderInstance=P1}readValueFromInstance(i,u){if(Na.has(u))return this.projection?.isProjecting?Sr(u):Cy(i,u);{const r=hv(i),c=(Af(u)?r.getPropertyValue(u):r[u])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(i,{transformPagePoint:u}){return Y1(i,u)}build(i,u,r){wr(i,u,r.transformTemplate)}scrapeMotionValuesFromProps(i,u,r){return _r(i,u,r)}}const J1=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 pv(a,i,u,r){P1(a,i,void 0,r);for(const c in i.attrs)a.setAttribute(J1.has(c)?c:Gr(c),i.attrs[c])}class yv extends Q1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Pt}getBaseTargetFromProps(i,u){return i[u]}readValueFromInstance(i,u){if(Na.has(u)){const r=a1(u);return r&&r.default||0}return u=J1.has(u)?u:Gr(u),i.getAttribute(u)}scrapeMotionValuesFromProps(i,u,r){return H1(i,u,r)}build(i,u,r){V1(i,u,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(i,u,r,c){pv(i,u,r,c)}mount(i){this.isSVGTag=C1(i.tagName),super.mount(i)}}const gv=(a,i)=>Zr(a)?new yv(i):new mv(i,{allowProjection:a!==f.Fragment});function Xa(a,i,u){const r=a.getProps();return Ur(r,i,u!==void 0?u:r.custom,a)}const Fr=a=>Array.isArray(a);function vv(a,i,u){a.hasValue(i)?a.getValue(i).set(u):a.addValue(i,Za(u))}function Sv(a){return Fr(a)?a[a.length-1]||0:a}function bv(a,i){const u=Xa(a,i);let{transitionEnd:r={},transition:c={},...h}=u||{};h={...h,...r};for(const d in h){const g=Sv(h[d]);vv(a,d,g)}}function Ev(a){return!!(re(a)&&a.add)}function Qr(a,i){const u=a.getValue("willChange");if(Ev(u))return u.add(i);if(!u&&ln.WillChange){const r=new ln.WillChange("auto");a.addValue("willChange",r),r.add(i)}}function $1(a){return a.props[j1]}const Av=a=>a!==null;function Tv(a,{repeat:i,repeatType:u="loop"},r){const c=a.filter(Av),h=i&&u!=="loop"&&i%2===1?0:c.length-1;return c[h]}const Mv={type:"spring",stiffness:500,damping:25,restSpeed:10},xv=a=>({type:"spring",stiffness:550,damping:a===0?2*Math.sqrt(550):30,restSpeed:10}),Vv={type:"keyframes",duration:.8},Lv={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Cv=(a,{keyframes:i})=>i.length>2?Vv:Na.has(a)?a.startsWith("scale")?xv(i[1]):Mv:Lv;function Dv({when:a,delay:i,delayChildren:u,staggerChildren:r,staggerDirection:c,repeat:h,repeatType:d,repeatDelay:g,from:p,elapsed:y,...v}){return!!Object.keys(v).length}const Pr=(a,i,u,r={},c,h)=>d=>{const g=Vr(r,a)||{},p=g.delay||r.delay||0;let{elapsed:y=0}=r;y=y-$e(p);const v={keyframes:Array.isArray(u)?u:[null,u],ease:"easeOut",velocity:i.getVelocity(),...g,delay:-y,onUpdate:E=>{i.set(E),g.onUpdate&&g.onUpdate(E)},onComplete:()=>{d(),g.onComplete&&g.onComplete()},name:a,motionValue:i,element:h?void 0:c};Dv(g)||Object.assign(v,Cv(a,v)),v.duration&&(v.duration=$e(v.duration)),v.repeatDelay&&(v.repeatDelay=$e(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let b=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(xr(v),v.delay===0&&(b=!0)),(ln.instantAnimations||ln.skipAnimations)&&(b=!0,xr(v),v.delay=0),v.allowFlatten=!g.type&&!g.ease,b&&!h&&i.get()!==void 0){const E=Tv(v.keyframes,g);if(E!==void 0){zt.update(()=>{v.onUpdate(E),v.onComplete()});return}}return g.isSync?new yr(v):new $y(v)};function Rv({protectedKeys:a,needsAnimating:i},u){const r=a.hasOwnProperty(u)&&i[u]!==!0;return i[u]=!1,r}function W1(a,i,{delay:u=0,transitionOverride:r,type:c}={}){let{transition:h=a.getDefaultTransition(),transitionEnd:d,...g}=i;r&&(h=r);const p=[],y=c&&a.animationState&&a.animationState.getState()[c];for(const v in g){const b=a.getValue(v,a.latestValues[v]??null),E=g[v];if(E===void 0||y&&Rv(y,v))continue;const L={delay:u,...Vr(h||{},v)},O=b.get();if(O!==void 0&&!b.isAnimating&&!Array.isArray(E)&&E===O&&!L.velocity)continue;let B=!1;if(window.MotionHandoffAnimation){const H=$1(a);if(H){const Y=window.MotionHandoffAnimation(H,v,zt);Y!==null&&(L.startTime=Y,B=!0)}}Qr(a,v),b.start(Pr(v,b,E,a.shouldReduceMotion&&Wf.has(v)?{type:!1}:L,a,B));const U=b.animation;U&&p.push(U)}return d&&Promise.all(p).then(()=>{zt.update(()=>{d&&bv(a,d)})}),p}function I1(a,i,u,r=0,c=1){const h=Array.from(a).sort((y,v)=>y.sortNodePosition(v)).indexOf(i),d=a.size,g=(d-1)*r;return typeof u=="function"?u(h,d):c===1?h*r:g-h*r}function Jr(a,i,u={}){const r=Xa(a,i,u.type==="exit"?a.presenceContext?.custom:void 0);let{transition:c=a.getDefaultTransition()||{}}=r||{};u.transitionOverride&&(c=u.transitionOverride);const h=r?()=>Promise.all(W1(a,r,u)):()=>Promise.resolve(),d=a.variantChildren&&a.variantChildren.size?(p=0)=>{const{delayChildren:y=0,staggerChildren:v,staggerDirection:b}=c;return Hv(a,i,p,y,v,b,u)}:()=>Promise.resolve(),{when:g}=c;if(g){const[p,y]=g==="beforeChildren"?[h,d]:[d,h];return p().then(()=>y())}else return Promise.all([h(),d(u.delay)])}function Hv(a,i,u=0,r=0,c=0,h=1,d){const g=[];for(const p of a.variantChildren)p.notify("AnimationStart",i),g.push(Jr(p,i,{...d,delay:u+(typeof r=="function"?0:r)+I1(a.variantChildren,p,r,c,h)}).then(()=>p.notify("AnimationComplete",i)));return Promise.all(g)}function jv(a,i,u={}){a.notify("AnimationStart",i);let r;if(Array.isArray(i)){const c=i.map(h=>Jr(a,h,u));r=Promise.all(c)}else if(typeof i=="string")r=Jr(a,i,u);else{const c=typeof i=="function"?Xa(a,i,u.custom):i;r=Promise.all(W1(a,c,u))}return r.then(()=>{a.notify("AnimationComplete",i)})}function td(a,i){if(!Array.isArray(i))return!1;const u=i.length;if(u!==a.length)return!1;for(let r=0;r<u;r++)if(i[r]!==a[r])return!1;return!0}const Ov=zr.length;function ed(a){if(!a)return;if(!a.isControllingVariants){const u=a.parent?ed(a.parent)||{}:{};return a.props.initial!==void 0&&(u.initial=a.props.initial),u}const i={};for(let u=0;u<Ov;u++){const r=zr[u],c=a.props[r];(Xi(c)||c===!1)&&(i[r]=c)}return i}const zv=[...Or].reverse(),Bv=Or.length;function wv(a){return i=>Promise.all(i.map(({animation:u,options:r})=>jv(a,u,r)))}function Nv(a){let i=wv(a),u=nd(),r=!0;const c=p=>(y,v)=>{const b=Xa(a,v,p==="exit"?a.presenceContext?.custom:void 0);if(b){const{transition:E,transitionEnd:L,...O}=b;y={...y,...O,...L}}return y};function h(p){i=p(a)}function d(p){const{props:y}=a,v=ed(a.parent)||{},b=[],E=new Set;let L={},O=1/0;for(let U=0;U<Bv;U++){const H=zv[U],Y=u[H],Q=y[H]!==void 0?y[H]:v[H],q=Xi(Q),z=H===p?Y.isActive:null;z===!1&&(O=U);let k=Q===v[H]&&Q!==y[H]&&q;if(k&&r&&a.manuallyAnimateOnMount&&(k=!1),Y.protectedKeys={...L},!Y.isActive&&z===null||!Q&&!Y.prevProp||ss(Q)||typeof Q=="boolean")continue;const J=Zv(Y.prevProp,Q);let K=J||H===p&&Y.isActive&&!k&&q||U>O&&q,I=!1;const at=Array.isArray(Q)?Q:[Q];let Rt=at.reduce(c(H),{});z===!1&&(Rt={});const{prevResolvedValues:$={}}=Y,ct={...$,...Rt},Mt=N=>{K=!0,E.has(N)&&(I=!0,E.delete(N)),Y.needsAnimating[N]=!0;const X=a.getValue(N);X&&(X.liveStyle=!1)};for(const N in ct){const X=Rt[N],ot=$[N];if(L.hasOwnProperty(N))continue;let bt=!1;Fr(X)&&Fr(ot)?bt=!td(X,ot):bt=X!==ot,bt?X!=null?Mt(N):E.add(N):X!==void 0&&E.has(N)?Mt(N):Y.protectedKeys[N]=!0}Y.prevProp=Q,Y.prevResolvedValues=Rt,Y.isActive&&(L={...L,...Rt}),r&&a.blockInitialAnimation&&(K=!1);const mt=k&&J;K&&(!mt||I)&&b.push(...at.map(N=>{const X={type:H};if(typeof N=="string"&&r&&!mt&&a.manuallyAnimateOnMount&&a.parent){const{parent:ot}=a,bt=Xa(ot,N);if(ot.enteringChildren&&bt){const{delayChildren:Wt}=bt.transition||{};X.delay=I1(ot.enteringChildren,a,Wt)}}return{animation:N,options:X}}))}if(E.size){const U={};if(typeof y.initial!="boolean"){const H=Xa(a,Array.isArray(y.initial)?y.initial[0]:y.initial);H&&H.transition&&(U.transition=H.transition)}E.forEach(H=>{const Y=a.getBaseTarget(H),Q=a.getValue(H);Q&&(Q.liveStyle=!0),U[H]=Y??null}),b.push({animation:U})}let B=!!b.length;return r&&(y.initial===!1||y.initial===y.animate)&&!a.manuallyAnimateOnMount&&(B=!1),r=!1,B?i(b):Promise.resolve()}function g(p,y){if(u[p].isActive===y)return Promise.resolve();a.variantChildren?.forEach(b=>b.animationState?.setActive(p,y)),u[p].isActive=y;const v=d(p);for(const b in u)u[b].protectedKeys={};return v}return{animateChanges:d,setActive:g,setAnimateFunction:h,getState:()=>u,reset:()=>{u=nd()}}}function Zv(a,i){return typeof i=="string"?i!==a:Array.isArray(i)?!td(i,a):!1}function fa(a=!1){return{isActive:a,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nd(){return{animate:fa(!0),whileInView:fa(),whileHover:fa(),whileTap:fa(),whileDrag:fa(),whileFocus:fa(),exit:fa()}}class Hn{constructor(i){this.isMounted=!1,this.node=i}update(){}}class Uv extends Hn{constructor(i){super(i),i.animationState||(i.animationState=Nv(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();ss(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:u}=this.node.prevProps||{};i!==u&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let _v=0;class Gv extends Hn{constructor(){super(...arguments),this.id=_v++}update(){if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:u}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===r)return;const c=this.node.animationState.setActive("exit",!i);u&&!i&&c.then(()=>{u(this.id)})}mount(){const{register:i,onExitComplete:u}=this.node.presenceContext||{};u&&u(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const qv={animation:{Feature:Uv},exit:{Feature:Gv}};function Ki(a,i,u,r={passive:!0}){return a.addEventListener(i,u,r),()=>a.removeEventListener(i,u)}function Fi(a){return{point:{x:a.pageX,y:a.pageY}}}const Yv=a=>i=>Rr(i)&&a(i,Fi(i));function Qi(a,i,u,r){return Ki(a,i,Yv(u),r)}const ad=1e-4,Xv=1-ad,kv=1+ad,id=.01,Kv=0-id,Fv=0+id;function oe(a){return a.max-a.min}function Qv(a,i,u){return Math.abs(a-i)<=u}function ld(a,i,u,r=.5){a.origin=r,a.originPoint=Nt(i.min,i.max,a.origin),a.scale=oe(u)/oe(i),a.translate=Nt(u.min,u.max,a.origin)-a.originPoint,(a.scale>=Xv&&a.scale<=kv||isNaN(a.scale))&&(a.scale=1),(a.translate>=Kv&&a.translate<=Fv||isNaN(a.translate))&&(a.translate=0)}function Pi(a,i,u,r){ld(a.x,i.x,u.x,r?r.originX:void 0),ld(a.y,i.y,u.y,r?r.originY:void 0)}function sd(a,i,u){a.min=u.min+i.min,a.max=a.min+oe(i)}function Pv(a,i,u){sd(a.x,i.x,u.x),sd(a.y,i.y,u.y)}function ud(a,i,u){a.min=i.min-u.min,a.max=a.min+oe(i)}function cs(a,i,u){ud(a.x,i.x,u.x),ud(a.y,i.y,u.y)}function ze(a){return[a("x"),a("y")]}const rd=({current:a})=>a?a.ownerDocument.defaultView:null,od=(a,i)=>Math.abs(a-i);function Jv(a,i){const u=od(a.x,i.x),r=od(a.y,i.y);return Math.sqrt(u**2+r**2)}class cd{constructor(i,u,{transformPagePoint:r,contextWindow:c=window,dragSnapToOrigin:h=!1,distanceThreshold:d=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 E=Wr(this.lastMoveEventInfo,this.history),L=this.startEvent!==null,O=Jv(E.offset,{x:0,y:0})>=this.distanceThreshold;if(!L&&!O)return;const{point:B}=E,{timestamp:U}=ee;this.history.push({...B,timestamp:U});const{onStart:H,onMove:Y}=this.handlers;L||(H&&H(this.lastMoveEvent,E),this.startEvent=this.lastMoveEvent),Y&&Y(this.lastMoveEvent,E)},this.handlePointerMove=(E,L)=>{this.lastMoveEvent=E,this.lastMoveEventInfo=$r(L,this.transformPagePoint),zt.update(this.updatePoint,!0)},this.handlePointerUp=(E,L)=>{this.end();const{onEnd:O,onSessionEnd:B,resumeAnimation:U}=this.handlers;if(this.dragSnapToOrigin&&U&&U(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const H=Wr(E.type==="pointercancel"?this.lastMoveEventInfo:$r(L,this.transformPagePoint),this.history);this.startEvent&&O&&O(E,H),B&&B(E,H)},!Rr(i))return;this.dragSnapToOrigin=h,this.handlers=u,this.transformPagePoint=r,this.distanceThreshold=d,this.contextWindow=c||window;const g=Fi(i),p=$r(g,this.transformPagePoint),{point:y}=p,{timestamp:v}=ee;this.history=[{...y,timestamp:v}];const{onSessionStart:b}=u;b&&b(i,Wr(p,this.history)),this.removeListeners=Bi(Qi(this.contextWindow,"pointermove",this.handlePointerMove),Qi(this.contextWindow,"pointerup",this.handlePointerUp),Qi(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),Cn(this.updatePoint)}}function $r(a,i){return i?{point:i(a.point)}:a}function fd(a,i){return{x:a.x-i.x,y:a.y-i.y}}function Wr({point:a},i){return{point:a,delta:fd(a,dd(i)),offset:fd(a,$v(i)),velocity:Wv(i,.1)}}function $v(a){return a[0]}function dd(a){return a[a.length-1]}function Wv(a,i){if(a.length<2)return{x:0,y:0};let u=a.length-1,r=null;const c=dd(a);for(;u>=0&&(r=a[u],!(c.timestamp-r.timestamp>$e(i)));)u--;if(!r)return{x:0,y:0};const h=Oe(c.timestamp-r.timestamp);if(h===0)return{x:0,y:0};const d={x:(c.x-r.x)/h,y:(c.y-r.y)/h};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function Iv(a,{min:i,max:u},r){return i!==void 0&&a<i?a=r?Nt(i,a,r.min):Math.max(a,i):u!==void 0&&a>u&&(a=r?Nt(u,a,r.max):Math.min(a,u)),a}function hd(a,i,u){return{min:i!==void 0?a.min+i:void 0,max:u!==void 0?a.max+u-(a.max-a.min):void 0}}function t2(a,{top:i,left:u,bottom:r,right:c}){return{x:hd(a.x,u,c),y:hd(a.y,i,r)}}function md(a,i){let u=i.min-a.min,r=i.max-a.max;return i.max-i.min<a.max-a.min&&([u,r]=[r,u]),{min:u,max:r}}function e2(a,i){return{x:md(a.x,i.x),y:md(a.y,i.y)}}function n2(a,i){let u=.5;const r=oe(a),c=oe(i);return c>r?u=wi(i.min,i.max-r,a.min):r>c&&(u=wi(a.min,a.max-c,i.min)),an(0,1,u)}function a2(a,i){const u={};return i.min!==void 0&&(u.min=i.min-a.min),i.max!==void 0&&(u.max=i.max-a.min),u}const Ir=.35;function i2(a=Ir){return a===!1?a=0:a===!0&&(a=Ir),{x:pd(a,"left","right"),y:pd(a,"top","bottom")}}function pd(a,i,u){return{min:yd(a,i),max:yd(a,u)}}function yd(a,i){return typeof a=="number"?a:a[i]||0}const l2=new WeakMap;class s2{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Pt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:u=!1,distanceThreshold:r}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const h=b=>{const{dragSnapToOrigin:E}=this.getProps();E?this.pauseAnimation():this.stopAnimation(),u&&this.snapToCursor(Fi(b).point)},d=(b,E)=>{const{drag:L,dragPropagation:O,onDragStart:B}=this.getProps();if(L&&!O&&(this.openDragLock&&this.openDragLock(),this.openDragLock=dg(L),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=E,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ze(H=>{let Y=this.getAxisMotionValue(H).get()||0;if(We.test(Y)){const{projection:Q}=this.visualElement;if(Q&&Q.layout){const q=Q.layout.layoutBox[H];q&&(Y=oe(q)*(parseFloat(Y)/100))}}this.originPoint[H]=Y}),B&&zt.postRender(()=>B(b,E)),Qr(this.visualElement,"transform");const{animationState:U}=this.visualElement;U&&U.setActive("whileDrag",!0)},g=(b,E)=>{this.latestPointerEvent=b,this.latestPanInfo=E;const{dragPropagation:L,dragDirectionLock:O,onDirectionLock:B,onDrag:U}=this.getProps();if(!L&&!this.openDragLock)return;const{offset:H}=E;if(O&&this.currentDirection===null){this.currentDirection=u2(H),this.currentDirection!==null&&B&&B(this.currentDirection);return}this.updateAxis("x",E.point,H),this.updateAxis("y",E.point,H),this.visualElement.render(),U&&U(b,E)},p=(b,E)=>{this.latestPointerEvent=b,this.latestPanInfo=E,this.stop(b,E),this.latestPointerEvent=null,this.latestPanInfo=null},y=()=>ze(b=>this.getAnimationState(b)==="paused"&&this.getAxisMotionValue(b).animation?.play()),{dragSnapToOrigin:v}=this.getProps();this.panSession=new cd(i,{onSessionStart:h,onStart:d,onMove:g,onSessionEnd:p,resumeAnimation:y},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:r,contextWindow:rd(this.visualElement)})}stop(i,u){const r=i||this.latestPointerEvent,c=u||this.latestPanInfo,h=this.isDragging;if(this.cancel(),!h||!c||!r)return;const{velocity:d}=c;this.startAnimation(d);const{onDragEnd:g}=this.getProps();g&&zt.postRender(()=>g(r,c))}cancel(){this.isDragging=!1;const{projection:i,animationState:u}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),u&&u.setActive("whileDrag",!1)}updateAxis(i,u,r){const{drag:c}=this.getProps();if(!r||!fs(i,c,this.currentDirection))return;const h=this.getAxisMotionValue(i);let d=this.originPoint[i]+r[i];this.constraints&&this.constraints[i]&&(d=Iv(d,this.constraints[i],this.elastic[i])),h.set(d)}resolveConstraints(){const{dragConstraints:i,dragElastic:u}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,c=this.constraints;i&&_a(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&r?this.constraints=t2(r.layoutBox,i):this.constraints=!1,this.elastic=i2(u),c!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&ze(h=>{this.constraints!==!1&&this.getAxisMotionValue(h)&&(this.constraints[h]=a2(r.layoutBox[h],this.constraints[h]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:u}=this.getProps();if(!i||!_a(i))return!1;const r=i.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;const h=rv(r,c.root,this.visualElement.getTransformPagePoint());let d=e2(c.layout.layoutBox,h);if(u){const g=u(lv(d));this.hasMutatedConstraints=!!g,g&&(d=B1(g))}return d}startAnimation(i){const{drag:u,dragMomentum:r,dragElastic:c,dragTransition:h,dragSnapToOrigin:d,onDragTransitionEnd:g}=this.getProps(),p=this.constraints||{},y=ze(v=>{if(!fs(v,u,this.currentDirection))return;let b=p&&p[v]||{};d&&(b={min:0,max:0});const E=c?200:1e6,L=c?40:1e7,O={type:"inertia",velocity:r?i[v]:0,bounceStiffness:E,bounceDamping:L,timeConstant:750,restDelta:1,restSpeed:10,...h,...b};return this.startAxisValueAnimation(v,O)});return Promise.all(y).then(g)}startAxisValueAnimation(i,u){const r=this.getAxisMotionValue(i);return Qr(this.visualElement,i),r.start(Pr(i,r,0,u,this.visualElement,!1))}stopAnimation(){ze(i=>this.getAxisMotionValue(i).stop())}pauseAnimation(){ze(i=>this.getAxisMotionValue(i).animation?.pause())}getAnimationState(i){return this.getAxisMotionValue(i).animation?.state}getAxisMotionValue(i){const u=`_drag${i.toUpperCase()}`,r=this.visualElement.getProps(),c=r[u];return c||this.visualElement.getValue(i,(r.initial?r.initial[i]:void 0)||0)}snapToCursor(i){ze(u=>{const{drag:r}=this.getProps();if(!fs(u,r,this.currentDirection))return;const{projection:c}=this.visualElement,h=this.getAxisMotionValue(u);if(c&&c.layout){const{min:d,max:g}=c.layout.layoutBox[u];h.set(i[u]-Nt(d,g,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:u}=this.getProps(),{projection:r}=this.visualElement;if(!_a(u)||!r||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};ze(d=>{const g=this.getAxisMotionValue(d);if(g&&this.constraints!==!1){const p=g.get();c[d]=n2({min:p,max:p},this.constraints[d])}});const{transformTemplate:h}=this.visualElement.getProps();this.visualElement.current.style.transform=h?h({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ze(d=>{if(!fs(d,i,null))return;const g=this.getAxisMotionValue(d),{min:p,max:y}=this.constraints[d];g.set(Nt(p,y,c[d]))})}addListeners(){if(!this.visualElement.current)return;l2.set(this.visualElement,this);const i=this.visualElement.current,u=Qi(i,"pointerdown",p=>{const{drag:y,dragListener:v=!0}=this.getProps();y&&v&&this.start(p)}),r=()=>{const{dragConstraints:p}=this.getProps();_a(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:c}=this.visualElement,h=c.addEventListener("measure",r);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),zt.read(r);const d=Ki(window,"resize",()=>this.scalePositionWithinConstraints()),g=c.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:y})=>{this.isDragging&&y&&(ze(v=>{const b=this.getAxisMotionValue(v);b&&(this.originPoint[v]+=p[v].translate,b.set(b.get()+p[v].translate))}),this.visualElement.render())}));return()=>{d(),u(),h(),g&&g()}}getProps(){const i=this.visualElement.getProps(),{drag:u=!1,dragDirectionLock:r=!1,dragPropagation:c=!1,dragConstraints:h=!1,dragElastic:d=Ir,dragMomentum:g=!0}=i;return{...i,drag:u,dragDirectionLock:r,dragPropagation:c,dragConstraints:h,dragElastic:d,dragMomentum:g}}}function fs(a,i,u){return(i===!0||i===a)&&(u===null||u===a)}function u2(a,i=10){let u=null;return Math.abs(a.y)>i?u="y":Math.abs(a.x)>i&&(u="x"),u}class r2 extends Hn{constructor(i){super(i),this.removeGroupControls=je,this.removeListeners=je,this.controls=new s2(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||je}unmount(){this.removeGroupControls(),this.removeListeners()}}const gd=a=>(i,u)=>{a&&zt.postRender(()=>a(i,u))};class o2 extends Hn{constructor(){super(...arguments),this.removePointerDownListener=je}onPointerDown(i){this.session=new cd(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rd(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:u,onPan:r,onPanEnd:c}=this.node.getProps();return{onSessionStart:gd(i),onStart:gd(u),onMove:r,onEnd:(h,d)=>{delete this.session,c&&zt.postRender(()=>c(h,d))}}}mount(){this.removePointerDownListener=Qi(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const ds={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let to=!1;class c2 extends f.Component{componentDidMount(){const{visualElement:i,layoutGroup:u,switchLayoutGroup:r,layoutId:c}=this.props,{projection:h}=i;h&&(u.group&&u.group.add(h),r&&r.register&&c&&r.register(h),to&&h.root.didUpdate(),h.addEventListener("animationComplete",()=>{this.safeToRemove()}),h.setOptions({...h.options,onExitComplete:()=>this.safeToRemove()})),ds.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:u,visualElement:r,drag:c,isPresent:h}=this.props,{projection:d}=r;return d&&(d.isPresent=h,to=!0,c||i.layoutDependency!==u||u===void 0||i.isPresent!==h?d.willUpdate():this.safeToRemove(),i.isPresent!==h&&(h?d.promote():d.relegate()||zt.postRender(()=>{const g=d.getStack();(!g||!g.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:i}=this.props.visualElement;i&&(i.root.didUpdate(),Dr.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:u,switchLayoutGroup:r}=this.props,{projection:c}=i;to=!0,c&&(c.scheduleCheckAfterUnmount(),u&&u.group&&u.group.remove(c),r&&r.deregister&&r.deregister(c))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function vd(a){const[i,u]=y1(),r=f.useContext(Xu);return A.jsx(c2,{...a,layoutGroup:r,switchLayoutGroup:f.useContext(O1),isPresent:i,safeToRemove:u})}function f2(a,i,u){const r=re(a)?a:Za(a);return r.start(Pr("",r,i,u)),r.animation}const d2=(a,i)=>a.depth-i.depth;class h2{constructor(){this.children=[],this.isDirty=!1}add(i){Fu(this.children,i),this.isDirty=!0}remove(i){Qu(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(d2),this.isDirty=!1,this.children.forEach(i)}}function m2(a,i){const u=de.now(),r=({timestamp:c})=>{const h=c-u;h>=i&&(Cn(r),a(h-i))};return zt.setup(r,!0),()=>Cn(r)}const Sd=["TopLeft","TopRight","BottomLeft","BottomRight"],p2=Sd.length,bd=a=>typeof a=="string"?parseFloat(a):a,Ed=a=>typeof a=="number"||st.test(a);function y2(a,i,u,r,c,h){c?(a.opacity=Nt(0,u.opacity??1,g2(r)),a.opacityExit=Nt(i.opacity??1,0,v2(r))):h&&(a.opacity=Nt(i.opacity??1,u.opacity??1,r));for(let d=0;d<p2;d++){const g=`border${Sd[d]}Radius`;let p=Ad(i,g),y=Ad(u,g);if(p===void 0&&y===void 0)continue;p||(p=0),y||(y=0),p===0||y===0||Ed(p)===Ed(y)?(a[g]=Math.max(Nt(bd(p),bd(y),r),0),(We.test(y)||We.test(p))&&(a[g]+="%")):a[g]=y}(i.rotate||u.rotate)&&(a.rotate=Nt(i.rotate||0,u.rotate||0,r))}function Ad(a,i){return a[i]!==void 0?a[i]:a.borderRadius}const g2=Td(0,.5,pf),v2=Td(.5,.95,je);function Td(a,i,u){return r=>r<a?0:r>i?1:u(wi(a,i,r))}function Md(a,i){a.min=i.min,a.max=i.max}function Ke(a,i){Md(a.x,i.x),Md(a.y,i.y)}function xd(a,i){a.translate=i.translate,a.scale=i.scale,a.originPoint=i.originPoint,a.origin=i.origin}function Vd(a,i,u,r,c){return a-=i,a=os(a,1/u,r),c!==void 0&&(a=os(a,1/c,r)),a}function S2(a,i=0,u=1,r=.5,c,h=a,d=a){if(We.test(i)&&(i=parseFloat(i),i=Nt(d.min,d.max,i/100)-d.min),typeof i!="number")return;let g=Nt(h.min,h.max,r);a===h&&(g-=i),a.min=Vd(a.min,i,u,g,c),a.max=Vd(a.max,i,u,g,c)}function Ld(a,i,[u,r,c],h,d){S2(a,i[u],i[r],i[c],i.scale,h,d)}const b2=["x","scaleX","originX"],E2=["y","scaleY","originY"];function Cd(a,i,u,r){Ld(a.x,i,b2,u?u.x:void 0,r?r.x:void 0),Ld(a.y,i,E2,u?u.y:void 0,r?r.y:void 0)}function Dd(a){return a.translate===0&&a.scale===1}function Rd(a){return Dd(a.x)&&Dd(a.y)}function Hd(a,i){return a.min===i.min&&a.max===i.max}function A2(a,i){return Hd(a.x,i.x)&&Hd(a.y,i.y)}function jd(a,i){return Math.round(a.min)===Math.round(i.min)&&Math.round(a.max)===Math.round(i.max)}function Od(a,i){return jd(a.x,i.x)&&jd(a.y,i.y)}function zd(a){return oe(a.x)/oe(a.y)}function Bd(a,i){return a.translate===i.translate&&a.scale===i.scale&&a.originPoint===i.originPoint}class T2{constructor(){this.members=[]}add(i){Fu(this.members,i),i.scheduleRender()}remove(i){if(Qu(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const u=this.members[this.members.length-1];u&&this.promote(u)}}relegate(i){const u=this.members.findIndex(c=>i===c);if(u===0)return!1;let r;for(let c=u;c>=0;c--){const h=this.members[c];if(h.isPresent!==!1){r=h;break}}return r?(this.promote(r),!0):!1}promote(i,u){const r=this.lead;if(i!==r&&(this.prevLead=r,this.lead=i,i.show(),r)){r.instance&&r.scheduleRender(),i.scheduleRender(),i.resumeFrom=r,u&&(i.resumeFrom.preserveOpacity=!0),r.snapshot&&(i.snapshot=r.snapshot,i.snapshot.latestValues=r.animationValues||r.latestValues),i.root&&i.root.isUpdating&&(i.isLayoutDirty=!0);const{crossfade:c}=i.options;c===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(i=>{const{options:u,resumingFrom:r}=i;u.onExitComplete&&u.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(i=>{i.instance&&i.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function M2(a,i,u){let r="";const c=a.x.translate/i.x,h=a.y.translate/i.y,d=u?.z||0;if((c||h||d)&&(r=`translate3d(${c}px, ${h}px, ${d}px) `),(i.x!==1||i.y!==1)&&(r+=`scale(${1/i.x}, ${1/i.y}) `),u){const{transformPerspective:y,rotate:v,rotateX:b,rotateY:E,skewX:L,skewY:O}=u;y&&(r=`perspective(${y}px) ${r}`),v&&(r+=`rotate(${v}deg) `),b&&(r+=`rotateX(${b}deg) `),E&&(r+=`rotateY(${E}deg) `),L&&(r+=`skewX(${L}deg) `),O&&(r+=`skewY(${O}deg) `)}const g=a.x.scale*i.x,p=a.y.scale*i.y;return(g!==1||p!==1)&&(r+=`scale(${g}, ${p})`),r||"none"}const eo=["","X","Y","Z"],x2=1e3;let V2=0;function no(a,i,u,r){const{latestValues:c}=i;c[a]&&(u[a]=c[a],i.setStaticValue(a,0),r&&(r[a]=0))}function wd(a){if(a.hasCheckedOptimisedAppear=!0,a.root===a)return;const{visualElement:i}=a.options;if(!i)return;const u=$1(i);if(window.MotionHasOptimisedAnimation(u,"transform")){const{layout:c,layoutId:h}=a.options;window.MotionCancelOptimisedAnimation(u,"transform",zt,!(c||h))}const{parent:r}=a;r&&!r.hasCheckedOptimisedAppear&&wd(r)}function Nd({attachResizeListener:a,defaultParent:i,measureScroll:u,checkIsScrollRoot:r,resetTransform:c}){return class{constructor(d={},g=i?.()){this.id=V2++,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(D2),this.nodes.forEach(O2),this.nodes.forEach(z2),this.nodes.forEach(R2)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=g?g.root||g:this,this.path=g?[...g.path,g]:[],this.parent=g,this.depth=g?g.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new h2)}addEventListener(d,g){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new $u),this.eventHandlers.get(d).add(g)}notifyListeners(d,...g){const p=this.eventHandlers.get(d);p&&p.notify(...g)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=m1(d)&&!vg(d),this.instance=d;const{layoutId:g,layout:p,visualElement:y}=this.options;if(y&&!y.current&&y.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||g)&&(this.isLayoutDirty=!0),a){let v,b=0;const E=()=>this.root.updateBlockedByResize=!1;zt.read(()=>{b=window.innerWidth}),a(d,()=>{const L=window.innerWidth;L!==b&&(b=L,this.root.updateBlockedByResize=!0,v&&v(),v=m2(E,250),ds.hasAnimatedSinceResize&&(ds.hasAnimatedSinceResize=!1,this.nodes.forEach(_d)))})}g&&this.root.registerSharedNode(g,this),this.options.animate!==!1&&y&&(g||p)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:b,hasRelativeLayoutChanged:E,layout:L})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const O=this.options.transition||y.getDefaultTransition()||U2,{onLayoutAnimationStart:B,onLayoutAnimationComplete:U}=y.getProps(),H=!this.targetLayout||!Od(this.targetLayout,L),Y=!b&&E;if(this.options.layoutRoot||this.resumeFrom||Y||b&&(H||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const Q={...Vr(O,"layout"),onPlay:B,onComplete:U};(y.shouldReduceMotion||this.options.layoutRoot)&&(Q.delay=0,Q.type=!1),this.startAnimation(Q),this.setAnimationOrigin(v,Y)}else b||_d(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=L})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Cn(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(B2),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&wd(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const b=this.path[v];b.shouldResetTransform=!0,b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}const{layoutId:g,layout:p}=this.options;if(g===void 0&&!p)return;const y=this.getTransformTemplate();this.prevTransformTemplateValue=y?y(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Zd);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Ud);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(j2),this.nodes.forEach(L2),this.nodes.forEach(C2)):this.nodes.forEach(Ud),this.clearAllSnapshots();const g=de.now();ee.delta=an(0,1e3/60,g-ee.timestamp),ee.timestamp=g,ee.isProcessing=!0,tr.update.process(ee),tr.preRender.process(ee),tr.render.process(ee),ee.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Dr.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(H2),this.sharedNodes.forEach(w2)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,zt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){zt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!oe(this.snapshot.measuredBox.x)&&!oe(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 p=0;p<this.path.length;p++)this.path[p].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Pt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:g}=this.options;g&&g.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let g=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(g=!1),g&&this.instance){const p=r(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:p,offset:u(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!c)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,g=this.projectionDelta&&!Rd(this.projectionDelta),p=this.getTransformTemplate(),y=p?p(this.latestValues,""):void 0,v=y!==this.prevTransformTemplateValue;d&&this.instance&&(g||ca(this.latestValues)||v)&&(c(this.instance,y),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const g=this.measurePageBox();let p=this.removeElementScroll(g);return d&&(p=this.removeTransform(p)),_2(p),{animationId:this.root.animationId,measuredBox:g,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:d}=this.options;if(!d)return Pt();const g=d.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(G2))){const{scroll:y}=this.root;y&&(Ga(g.x,y.offset.x),Ga(g.y,y.offset.y))}return g}removeElementScroll(d){const g=Pt();if(Ke(g,d),this.scroll?.wasRoot)return g;for(let p=0;p<this.path.length;p++){const y=this.path[p],{scroll:v,options:b}=y;y!==this.root&&v&&b.layoutScroll&&(v.wasRoot&&Ke(g,d),Ga(g.x,v.offset.x),Ga(g.y,v.offset.y))}return g}applyTransform(d,g=!1){const p=Pt();Ke(p,d);for(let y=0;y<this.path.length;y++){const v=this.path[y];!g&&v.options.layoutScroll&&v.scroll&&v!==v.root&&qa(p,{x:-v.scroll.offset.x,y:-v.scroll.offset.y}),ca(v.latestValues)&&qa(p,v.latestValues)}return ca(this.latestValues)&&qa(p,this.latestValues),p}removeTransform(d){const g=Pt();Ke(g,d);for(let p=0;p<this.path.length;p++){const y=this.path[p];if(!y.instance||!ca(y.latestValues))continue;Xr(y.latestValues)&&y.updateSnapshot();const v=Pt(),b=y.measurePageBox();Ke(v,b),Cd(g,y.latestValues,y.snapshot?y.snapshot.layoutBox:void 0,v)}return ca(this.latestValues)&&Cd(g,this.latestValues),g}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.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!==ee.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){const g=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=g.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=g.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=g.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==g;if(!(d||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:b}=this.options;if(!this.layout||!(v||b))return;this.resolvedRelativeTargetAt=ee.timestamp;const E=this.getClosestProjectingParent();E&&this.linkedParentVersion!==E.layoutVersion&&!E.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(E&&E.layout?this.createRelativeTarget(E,this.layout.layoutBox,E.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Pt(),this.targetWithTransforms=Pt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Pv(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ke(this.target,this.layout.layoutBox),U1(this.target,this.targetDelta)):Ke(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,E&&!!E.resumingFrom==!!this.resumingFrom&&!E.options.layoutScroll&&E.target&&this.animationProgress!==1?this.createRelativeTarget(E,this.target,E.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Xr(this.parent.latestValues)||w1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(d,g,p){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Pt(),this.relativeTargetOrigin=Pt(),cs(this.relativeTargetOrigin,g,p),Ke(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const d=this.getLead(),g=!!this.resumingFrom||this!==d;let p=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),g&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===ee.timestamp&&(p=!1),p)return;const{layout:y,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||v))return;Ke(this.layoutCorrected,this.layout.layoutBox);const b=this.treeScale.x,E=this.treeScale.y;uv(this.layoutCorrected,this.treeScale,this.path,g),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=Pt());const{target:L}=d;if(!L){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(xd(this.prevProjectionDelta.x,this.projectionDelta.x),xd(this.prevProjectionDelta.y,this.projectionDelta.y)),Pi(this.projectionDelta,this.layoutCorrected,L,this.latestValues),(this.treeScale.x!==b||this.treeScale.y!==E||!Bd(this.projectionDelta.x,this.prevProjectionDelta.x)||!Bd(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",L))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){if(this.options.visualElement?.scheduleRender(),d){const g=this.getStack();g&&g.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ya(),this.projectionDelta=Ya(),this.projectionDeltaWithTransform=Ya()}setAnimationOrigin(d,g=!1){const p=this.snapshot,y=p?p.latestValues:{},v={...this.latestValues},b=Ya();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!g;const E=Pt(),L=p?p.source:void 0,O=this.layout?this.layout.source:void 0,B=L!==O,U=this.getStack(),H=!U||U.members.length<=1,Y=!!(B&&!H&&this.options.crossfade===!0&&!this.path.some(Z2));this.animationProgress=0;let Q;this.mixTargetDelta=q=>{const z=q/1e3;Gd(b.x,d.x,z),Gd(b.y,d.y,z),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(cs(E,this.layout.layoutBox,this.relativeParent.layout.layoutBox),N2(this.relativeTarget,this.relativeTargetOrigin,E,z),Q&&A2(this.relativeTarget,Q)&&(this.isProjectionDirty=!1),Q||(Q=Pt()),Ke(Q,this.relativeTarget)),B&&(this.animationValues=v,y2(v,y,this.latestValues,z,Y,H)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=z},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Cn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=zt.update(()=>{ds.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Za(0)),this.currentAnimation=f2(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),d.onUpdate&&d.onUpdate(g)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.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 d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(x2),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:g,target:p,layout:y,latestValues:v}=d;if(!(!g||!p||!y)){if(this!==d&&this.layout&&y&&Kd(this.options.animationType,this.layout.layoutBox,y.layoutBox)){p=this.target||Pt();const b=oe(this.layout.layoutBox.x);p.x.min=d.target.x.min,p.x.max=p.x.min+b;const E=oe(this.layout.layoutBox.y);p.y.min=d.target.y.min,p.y.max=p.y.min+E}Ke(g,p),qa(g,v),Pi(this.projectionDeltaWithTransform,this.layoutCorrected,g,v)}}registerSharedNode(d,g){this.sharedNodes.has(d)||this.sharedNodes.set(d,new T2),this.sharedNodes.get(d).add(g);const y=g.options.initialPromotionConfig;g.promote({transition:y?y.transition:void 0,preserveFollowOpacity:y&&y.shouldPreserveFollowOpacity?y.shouldPreserveFollowOpacity(g):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){const{layoutId:d}=this.options;return d?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:d}=this.options;return d?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:g,preserveFollowOpacity:p}={}){const y=this.getStack();y&&y.promote(this,p),d&&(this.projectionDelta=void 0,this.needsReset=!0),g&&this.setOptions({transition:g})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let g=!1;const{latestValues:p}=d;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(g=!0),!g)return;const y={};p.z&&no("z",d,y,this.animationValues);for(let v=0;v<eo.length;v++)no(`rotate${eo[v]}`,d,y,this.animationValues),no(`skew${eo[v]}`,d,y,this.animationValues);d.render();for(const v in y)d.setStaticValue(v,y[v]),this.animationValues&&(this.animationValues[v]=y[v]);d.scheduleRender()}applyProjectionStyles(d,g){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=rs(g?.pointerEvents)||"",d.transform=p?p(this.latestValues,""):"none";return}const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=rs(g?.pointerEvents)||""),this.hasProjected&&!ca(this.latestValues)&&(d.transform=p?p({},""):"none",this.hasProjected=!1);return}d.visibility="";const v=y.animationValues||y.latestValues;this.applyTransformsToTarget();let b=M2(this.projectionDeltaWithTransform,this.treeScale,v);p&&(b=p(v,b)),d.transform=b;const{x:E,y:L}=this.projectionDelta;d.transformOrigin=`${E.origin*100}% ${L.origin*100}% 0`,y.animationValues?d.opacity=y===this?v.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:d.opacity=y===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const O in Br){if(v[O]===void 0)continue;const{correct:B,applyTo:U,isCSSVariable:H}=Br[O],Y=b==="none"?v[O]:B(v[O],y);if(U){const Q=U.length;for(let q=0;q<Q;q++)d[U[q]]=Y}else H?this.options.visualElement.renderState.vars[O]=Y:d[O]=Y}this.options.layoutId&&(d.pointerEvents=y===this?rs(g?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>d.currentAnimation?.stop()),this.root.nodes.forEach(Zd),this.root.sharedNodes.clear()}}}function L2(a){a.updateLayout()}function C2(a){const i=a.resumeFrom?.snapshot||a.snapshot;if(a.isLead()&&a.layout&&i&&a.hasListeners("didUpdate")){const{layoutBox:u,measuredBox:r}=a.layout,{animationType:c}=a.options,h=i.source!==a.layout.source;c==="size"?ze(v=>{const b=h?i.measuredBox[v]:i.layoutBox[v],E=oe(b);b.min=u[v].min,b.max=b.min+E}):Kd(c,i.layoutBox,u)&&ze(v=>{const b=h?i.measuredBox[v]:i.layoutBox[v],E=oe(u[v]);b.max=b.min+E,a.relativeTarget&&!a.currentAnimation&&(a.isProjectionDirty=!0,a.relativeTarget[v].max=a.relativeTarget[v].min+E)});const d=Ya();Pi(d,u,i.layoutBox);const g=Ya();h?Pi(g,a.applyTransform(r,!0),i.measuredBox):Pi(g,u,i.layoutBox);const p=!Rd(d);let y=!1;if(!a.resumeFrom){const v=a.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:E}=v;if(b&&E){const L=Pt();cs(L,i.layoutBox,b.layoutBox);const O=Pt();cs(O,u,E.layoutBox),Od(L,O)||(y=!0),v.options.layoutRoot&&(a.relativeTarget=O,a.relativeTargetOrigin=L,a.relativeParent=v)}}}a.notifyListeners("didUpdate",{layout:u,snapshot:i,delta:g,layoutDelta:d,hasLayoutChanged:p,hasRelativeLayoutChanged:y})}else if(a.isLead()){const{onExitComplete:u}=a.options;u&&u()}a.options.transition=void 0}function D2(a){a.parent&&(a.isProjecting()||(a.isProjectionDirty=a.parent.isProjectionDirty),a.isSharedProjectionDirty||(a.isSharedProjectionDirty=!!(a.isProjectionDirty||a.parent.isProjectionDirty||a.parent.isSharedProjectionDirty)),a.isTransformDirty||(a.isTransformDirty=a.parent.isTransformDirty))}function R2(a){a.isProjectionDirty=a.isSharedProjectionDirty=a.isTransformDirty=!1}function H2(a){a.clearSnapshot()}function Zd(a){a.clearMeasurements()}function Ud(a){a.isLayoutDirty=!1}function j2(a){const{visualElement:i}=a.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),a.resetTransform()}function _d(a){a.finishAnimation(),a.targetDelta=a.relativeTarget=a.target=void 0,a.isProjectionDirty=!0}function O2(a){a.resolveTargetDelta()}function z2(a){a.calcProjection()}function B2(a){a.resetSkewAndRotation()}function w2(a){a.removeLeadSnapshot()}function Gd(a,i,u){a.translate=Nt(i.translate,0,u),a.scale=Nt(i.scale,1,u),a.origin=i.origin,a.originPoint=i.originPoint}function qd(a,i,u,r){a.min=Nt(i.min,u.min,r),a.max=Nt(i.max,u.max,r)}function N2(a,i,u,r){qd(a.x,i.x,u.x,r),qd(a.y,i.y,u.y,r)}function Z2(a){return a.animationValues&&a.animationValues.opacityExit!==void 0}const U2={duration:.45,ease:[.4,0,.1,1]},Yd=a=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(a),Xd=Yd("applewebkit/")&&!Yd("chrome/")?Math.round:je;function kd(a){a.min=Xd(a.min),a.max=Xd(a.max)}function _2(a){kd(a.x),kd(a.y)}function Kd(a,i,u){return a==="position"||a==="preserve-aspect"&&!Qv(zd(i),zd(u),.2)}function G2(a){return a!==a.root&&a.scroll?.wasRoot}const q2=Nd({attachResizeListener:(a,i)=>Ki(a,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ao={current:void 0},Fd=Nd({measureScroll:a=>({x:a.scrollLeft,y:a.scrollTop}),defaultParent:()=>{if(!ao.current){const a=new q2({});a.mount(window),a.setOptions({layoutScroll:!0}),ao.current=a}return ao.current},resetTransform:(a,i)=>{a.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:a=>window.getComputedStyle(a).position==="fixed"}),Y2={pan:{Feature:o2},drag:{Feature:r2,ProjectionNode:Fd,MeasureLayout:vd}};function Qd(a,i,u){const{props:r}=a;a.animationState&&r.whileHover&&a.animationState.setActive("whileHover",u==="Start");const c="onHover"+u,h=r[c];h&&zt.postRender(()=>h(i,Fi(i)))}class X2 extends Hn{mount(){const{current:i}=this.node;i&&(this.unmount=hg(i,(u,r)=>(Qd(this.node,r,"Start"),c=>Qd(this.node,c,"End"))))}unmount(){}}class k2 extends Hn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!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=Bi(Ki(this.node.current,"focus",()=>this.onFocus()),Ki(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Pd(a,i,u){const{props:r}=a;if(a.current instanceof HTMLButtonElement&&a.current.disabled)return;a.animationState&&r.whileTap&&a.animationState.setActive("whileTap",u==="Start");const c="onTap"+(u==="End"?"":u),h=r[c];h&&zt.postRender(()=>h(i,Fi(i)))}class K2 extends Hn{mount(){const{current:i}=this.node;i&&(this.unmount=gg(i,(u,r)=>(Pd(this.node,r,"Start"),(c,{success:h})=>Pd(this.node,c,h?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const io=new WeakMap,lo=new WeakMap,F2=a=>{const i=io.get(a.target);i&&i(a)},Q2=a=>{a.forEach(F2)};function P2({root:a,...i}){const u=a||document;lo.has(u)||lo.set(u,{});const r=lo.get(u),c=JSON.stringify(i);return r[c]||(r[c]=new IntersectionObserver(Q2,{root:a,...i})),r[c]}function J2(a,i,u){const r=P2(i);return io.set(a,u),r.observe(a),()=>{io.delete(a),r.unobserve(a)}}const $2={some:0,all:1};class W2 extends Hn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:i={}}=this.node.getProps(),{root:u,margin:r,amount:c="some",once:h}=i,d={root:u?u.current:void 0,rootMargin:r,threshold:typeof c=="number"?c:$2[c]},g=p=>{const{isIntersecting:y}=p;if(this.isInView===y||(this.isInView=y,h&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:v,onViewportLeave:b}=this.node.getProps(),E=y?v:b;E&&E(p)};return J2(this.node.current,d,g)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:u}=this.node;["amount","margin","root"].some(I2(i,u))&&this.startObserver()}unmount(){}}function I2({viewport:a={}},{viewport:i={}}={}){return u=>a[u]!==i[u]}const t3={...qv,...{inView:{Feature:W2},tap:{Feature:K2},focus:{Feature:k2},hover:{Feature:X2}},...Y2,...{layout:{ProjectionNode:Fd,MeasureLayout:vd}}},e3=iv(t3,gv);function n3(a="(max-width: 768px)"){const[i,u]=f.useState({isMobile:!1,isPortrait:!1});return f.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=navigator?.userAgent??"",c=/iPhone|Android/i.test(r),h=window.matchMedia(a),d=window.matchMedia("(orientation: portrait)"),g=()=>u({isMobile:h.matches||c,isPortrait:d.matches});return g(),h.addEventListener("change",g),d.addEventListener("change",g),()=>{h.removeEventListener("change",g),d.removeEventListener("change",g)}},[a]),i}const a3={order:["top","center","seekbar","bottom"],top:[],center:[{key:"bigPlayBtn",items:["BigPlayBtn"]}],bottom:[{key:"play",items:["PlayBtn"],wrapper:"Group"},{key:"volume",items:["VolumBtn"],wrapper:"Group"},{key:"time",items:["TimeBtn"],wrapper:"Group"},{key:"meta",items:["MetaBtn"]},{key:"blank",wrapper:"Blank",items:[]},{key:"right",items:["SubtitleBtn","PipBtn","SettingBtn","FullscreenBtn"],cap:2,wrapper:"Group"}]},i3={order:["top","center","bottom","seekbar"],top:[{key:"blank",wrapper:"Blank",items:[]},{key:"right",items:["PipBtn","SettingBtn"],cap:2,wrapper:"Group"}],center:[{key:"bigPlayBtn",items:["BigPlayBtn"]}],bottom:[{key:"time",items:["TimeBtn"],wrapper:"Group"},{key:"blank",wrapper:"Blank",items:[]},{key:"right",items:["SubtitleBtn","FullscreenBtn"],wrapper:"Group"}]},l3={order:["top","center","seekbar","bottom"],top:[],center:[{key:"bigPlayBtn",items:["BigPlayBtn"]}],bottom:[{key:"play",items:["PlayBtn"],wrapper:"Group"},{key:"volume",items:["VolumBtn"],wrapper:"Group"},{key:"time",items:["TimeBtn"],wrapper:"Group"},{key:"blank",wrapper:"Blank",items:[]},{key:"right",items:["SubtitleBtn","SettingBtn","FullscreenBtn"],cap:2,wrapper:"Group"}]},s3=768,Ji={pc:a3,mobile:i3,fullscreen:l3},u3={top:[],center:[{key:"bigPlayBtn",items:["BigPlayBtn"]}],bottom:[{key:"play",items:["PlayBtn"],wrapper:"Group",noPadding:!0},{key:"volume",items:["VolumBtn"],wrapper:"Group"},{key:"time",items:["TimeBtn"],wrapper:"Group"},{key:"blank",wrapper:"Blank",items:[]},{key:"right",items:["SubtitleBtn","FullscreenBtn"],cap:2,wrapper:"Group"}]};function r3(a){const[i,u]=Z0("isActive",!1),r=f.useRef(null),c=f.useRef(!1),h=f.useRef(!1),d=f.useRef(0),g=a.options?.controlActiveTime||3e3,[p]=fe(),{isMobile:y,isPortrait:v}=n3(),{togglePlay:b,useTouch:E}=Ee(),[L,O]=f.useState(!1),B=(()=>{const $=a.layout??Ji;if("top"in $||"center"in $||"bottom"in $)return $;const ct=$,Mt={pc:ct.pc??Ji.pc,mobile:ct.mobile??Ji.mobile,fullscreen:ct.fullscreen??Ji.fullscreen,breakpoint:ct.breakpoint};return p.isFullscreen&&Mt.fullscreen?Mt.fullscreen:(L?Mt.mobile:Mt.pc)??Mt.pc??Mt.mobile??Mt.fullscreen??u3})(),U=h.current||p.isEnded,H=()=>{r.current!==null&&(window.clearTimeout(r.current),r.current=null)},Y=()=>{H(),r.current=window.setTimeout(()=>{u(!1),c.current=!0,r.current=null},g)},Q=()=>{c.current=!1,d.current=Date.now(),i||u(!0),Y()},q=()=>{c.current||Q()};f.useEffect(()=>{if(typeof window>"u")return;const $=a.layout??Ji;if("top"in $||"center"in $||"bottom"in $){O(!1);return}const Mt=$.breakpoint??s3,mt=window.matchMedia(`(max-width: ${Mt}px)`),F=()=>O(mt.matches||y);return F(),typeof mt.addEventListener=="function"?(mt.addEventListener("change",F),()=>mt.removeEventListener("change",F)):(mt.addListener(F),()=>mt.removeListener(F))},[a.layout,y]);const z=$=>[$.top,$.center,$.bottom].some(Mt=>Mt?.some(mt=>(mt.items?.length?mt.items:["Blank"]).includes("SeekBar"))??!1),k=($,ct)=>{if(typeof $!="string")return f.isValidElement($)?f.cloneElement($,{pos:ct}):$;switch($){case"PlayBtn":return A.jsx(tf,{isMobile:y,isPortrait:v,pos:ct,text:{play:a.t?.("common.play")??"재생",pause:a.t?.("common.pause")??"일시정지"}});case"VolumBtn":return A.jsx(E4,{isMobile:y,isPortrait:v,pos:ct,text:{muteOn:a.t?.("common.muteOn")??"음소거",muteOff:a.t?.("common.muteOff")??"음소거 해제"}});case"TimeBtn":return A.jsx(y4,{isMobile:y,isPortrait:v,pos:ct});case"SubtitleBtn":return A.jsx(b4,{isMobile:y,isPortrait:v,pos:ct,text:{captionOn:a.t?.("common.captionOn")??"자막켜기",captionOff:a.t?.("common.captionOff")??"자막 끄기"}});case"FullscreenBtn":return A.jsx(S4,{isMobile:y,isPortrait:v,pos:ct,options:a.options,text:{fullOn:a.t?.("common.fullOn")??"전체화면",fullOff:a.t?.("common.fullOff")??"전체화면 해제"}});case"PipBtn":return A.jsx(T4,{isMobile:y,isPortrait:v,pos:ct,options:a.options,text:{miniPlayer:a.t?.("common.miniPlayer")??"미니플레이어"}});case"MetaBtn":return A.jsx(v4,{title:a.metaTitle??"",isMobile:y,isPortrait:v,pos:ct});case"BigPlayBtn":return U?A.jsx(p4,{isMobile:y,isPortrait:v}):null;case"SeekBar":return A.jsx(_0,{src:a.src,hlsLib:a.hlsLib,dashLib:a.dashLib,options:a.options,pos:ct});case"LevelSelectBtn":return A.jsx(g4,{options:a.options,text:{auto:a.t?.("common.auto")??"자동"}});case"SettingBtn":return A.jsx(A4,{isMobile:y,isPortrait:v,pos:ct,text:{setting:a.t?.("common.setting")??"설정"}});case"Blank":return A.jsx(ef,{});default:return null}},J=($,ct,Mt)=>{const F=($.items?.length?$.items:["Blank"]).map((N,X)=>{const ot=k(N,Mt);return ot?A.jsx(f.Fragment,{children:ot},`${ct}-${$.key}-${N}-${X}`):null}).filter(N=>N!==null);return F.length?$.wrapper==="Blank"?A.jsx(ef,{children:F},`${ct}-${$.key}`):$.wrapper==="Group"?A.jsx(Kl,{noPadding:!(F.length>1),cap:$.cap,children:F},`${ct}-${$.key}`):A.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:F},`${ct}-${$.key}`):null},K=($,ct)=>{if(!$?.length)return null;if(ct!=="bottom")return $.map(mt=>J(mt,ct));let Mt="left";return $.map(mt=>{const F=mt.items?.length?mt.items:["Blank"],N=mt.wrapper==="Blank"||F.includes("Blank"),X=J(mt,ct,Mt);return N&&(Mt="right"),X})},I=!z(B),at=B.order??["top","center","seekbar","bottom"],Rt=()=>I?A.jsx("div",{children:A.jsx(_0,{src:a.src,hlsLib:a.hlsLib,dashLib:a.dashLib,options:a.options})}):null;return f.useEffect(()=>{y&&(h.current=!0)},[y]),A.jsxs(A.Fragment,{children:[p.isLoading&&A.jsx(nf,{poster:a.poster,options:a.options}),p.isWaiting&&A.jsx(nf,{}),p.isSettingModal&&A.jsx(x4,{text:{setting:a.t?.("common.setting")??"세팅",auto:a.t?.("common.auto")??"자동",notUse:a.t?.("common.notUse")??"사용안함",quality:a.t?.("settings.quality")??"해상도",autoplay:a.t?.("settings.autoplay")??"자동재생",playbackRate:a.t?.("settings.playbackRate")??"재생 속도",captions:a.t?.("settings.captions")??"자막"},vtt:a.src?.vtt,options:a.options}),!p.isLoading&&A.jsx(A.Fragment,{children:p.initPlay?A.jsx("div",{style:{position:"absolute",zIndex:2,height:"100%",width:"100%",maxHeight:"100dvh",maxWidth:"100dvw",overflow:"hidden",cursor:"none"},onClick:()=>{E(),H(),Y()},onMouseEnter:()=>{q()},onMouseMove:()=>{Q()},onTouchStart:()=>{E(),H(),Y()},onMouseLeave:()=>{H(),Y(),c.current=!1},children:A.jsx(Lg,{children:(i||p.isEnded)&&A.jsx(e3.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},style:{display:"flex",flexDirection:"column",width:"100%",height:"100%",padding:"0.75rem",gap:"0.75rem",cursor:"default"},children:at.map($=>$==="top"?A.jsx("div",{style:{display:"flex",alignItems:"center"},children:K(B.top,"top")},"layout-top"):$==="center"?A.jsx("div",{style:{flex:"1 1 0%",display:"flex",justifyContent:"center",alignItems:"center"},onClick:()=>{!y&&!v&&b(),h.current=!0},onMouseLeave:()=>{h.current=!1},children:K(B.center,"center")},"layout-center"):$==="seekbar"?A.jsx("div",{children:A.jsx(f.Fragment,{children:Rt()})},"layout-seekbar"):$==="bottom"?A.jsx("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:K(B.bottom,"bottom")},"layout-bottom"):null)})})}):A.jsx(M4,{poster:a.poster,options:a.options})})]})}function Jd(a){const{accessKey:i,platform:u="pub",stage:r="prod",isDev:c=!1,hls:h,dashjs:d,options:g,layout:p}=a,[y,v]=f.useState(null),[b,E]=f.useState([]),[L,O]=f.useState(!1),[B,U]=Z0("playerOptions",g??{}),[H,Y]=f.useState(""),Q=0,q=location.host||"local";f.useEffect(()=>{if(!i)return;const I=new Lp({accessKey:i,appId:q,platform:u,stage:r,isDev:c});v(I)},[i,q,u,r,c]),f.useEffect(()=>{if(!y||L)return;(async()=>{if(await y.initialize(),y.isInitialized()){const at=y.getValidatedOptions(g);U(at),E(at?.playlist||[]),O(!0)}})()},[y,L,g,U]),f.useEffect(()=>{const I=globalThis;h&&(I.Hls=h),d&&(I.dashjs=d)},[h,d]),f.useEffect(()=>{const I=b?.[Q]?.file;if(!I){Y("");return}const at=I.toLowerCase();at.endsWith(".m3u8")?Y("hls"):at.endsWith(".mpd")?Y("dash"):at.endsWith(".mp4")?Y("mp4"):Y("")},[b,Q]),f.useEffect(()=>{if(!y||!H)return;const I=globalThis,at=h??I.Hls,Rt=d??I.dashjs;H==="hls"&&!at&&y.setErrorRun("E0015"),H==="dash"&&!Rt&&y.setErrorRun("E0016")},[H,y,h,d]);const z=b?.[Q],k=h??globalThis.Hls,J=d??globalThis.dashjs,K=()=>{if(!z)return null;switch(H){case"hls":return A.jsx(Zp,{src:z,hlsLib:k,options:B});case"dash":return A.jsx(Up,{src:z,dashLib:J,options:B});case"mp4":return A.jsx(_p,{src:z,options:B});default:return null}};return A.jsxs("div",{style:{position:"relative",maxHeight:"100dvh",width:"100%",height:"100%",backgroundColor:"#000000",color:"#ffffff",lineHeight:"1rem",fontSize:"1rem",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},children:[A.jsx(r3,{src:z,hlsLib:k,dashLib:J,options:B,poster:z?.poster,layout:p,metaTitle:z?.description?.title,t:I=>y?.$t(I)??I}),A.jsx("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",height:"100%",maxHeight:"100dvh",aspectRatio:B?.aspectRatio||"16/9"},children:K()})]})}const $d=globalThis;$d.process||($d.process={env:{}});let Wd,so;const o3=(()=>{if(typeof document>"u")return"";const a=[];document.currentScript instanceof HTMLScriptElement&&a.push(document.currentScript),a.push(...Array.from(document.getElementsByTagName("script")));for(const i of a)if(i.src)try{const r=new URL(i.src,window.location.href).searchParams.get("accessKey");if(r)return r}catch{continue}return""})();function c3(a){return a||o3}const f3=a=>!a||typeof a!="object"?!1:"options"in a||"layout"in a||"platform"in a||"stage"in a||"hls"in a||"dashjs"in a||"accessKey"in a;function d3(a){if(!a)return;const i=globalThis,u=typeof a=="object"&&a!==null&&("MediaPlayer"in a||"MediaPlayerFactory"in a),r=typeof a=="function"||typeof a=="object"&&a!==null&&("isSupported"in a||"Events"in a);if(u&&!r){i.dashjs=a;return}if(r&&!u){i.Hls=a;return}console.error("지원하지 않는 라이브러리입니다. hls.js 또는 dash.js를 전달하세요.")}function h3(a){return typeof a!="string"||a.startsWith("#")||a.startsWith(".")||a.startsWith("[")||a.includes(" ")||a.includes(">")||a.includes(":")?a:typeof document<"u"&&document.getElementById(a)?`#${a}`:a}function m3(a){return A.jsx(Jd,{...a})}function uo(a,i,u={}){const r=typeof i=="string"?i:i?.accessKey,c=typeof i=="string"?u:i??{},h=f3(c)?c:{options:c},d=c3(r);if(!d)throw new Error("accessKey를 찾을 수 없습니다.");const g=typeof a=="string"?document.querySelector(a):a;if(!g)throw new Error("지정한 타겟을 찾을 수 없습니다.");const p=document.createElement("div");g.appendChild(p);const y=op.createRoot(p),v={...h,layout:h.layout??Wd,platform:h.platform??so?.platform,stage:h.stage??so?.stage},b=(L={})=>{y.render(A.jsx(Jd,{...v,...L,accessKey:d}))};return b(),{destroy:()=>{y.unmount(),p.parentNode&&p.parentNode.removeChild(p)},container:p,render:b}}class ka{destroy;container;render;static use(i){return d3(i),ka}static layout(i){return Wd=i,ka}static config(i){return so=i,ka}constructor(i,u,r={}){const c=uo(h3(i),u,r);this.destroy=c.destroy,this.container=c.container,this.render=c.render}}typeof window<"u"&&(window.vpe={...window.vpe??{},setup:uo},window.ncplayer=ka),xn.Ncplayer=ka,xn.VpePlayer=m3,xn.setup=uo,Object.defineProperty(xn,Symbol.toStringTag,{value:"Module"})}));