PageSourceSearch

https://senly.io/site-widgets.js

js senly.io collected 2026-10-02 01:57:54 UTC 317,533 bytes, 56 lines download raw bytes

vendor: 4,962 bytes, line 1
1"use strict";(()=>{var fx=Object.create;var ed=Object.defineProperty;var px=Object.getOwnPropertyDescriptor;var dx=Object.getOwnPropertyNames;var mx=Object.getPrototypeOf,hx=Object.prototype.hasOwnProperty;var td=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var qt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var gx=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of dx(t))!hx.call(e,o)&&o!==n&&ed(e,o,{get:()=>t[o],enumerable:!(r=px(t,o))||r.enumerable});return e};var R=(e,t,n)=>(n=e!=null?fx(mx(e)):{},gx(t||!e||!e.__esModule?ed(n,"default",{value:e,enumerable:!0}):n,e));var dd=qt(I=>{"use strict";var Ro=Symbol.for("react.element"),yx=Symbol.for("react.portal"),vx=Symbol.for("react.fragment"),xx=Symbol.for("react.strict_mode"),wx=Symbol.for("react.profiler"),Sx=Symbol.for("react.provider"),kx=Symbol.for("react.context"),Tx=Symbol.for("react.forward_ref"),Cx=Symbol.for("react.suspense"),Px=Symbol.for("react.memo"),Ex=Symbol.for("react.lazy"),nd=Symbol.iterator;function Mx(e){return e===null||typeof e!="object"?null:(e=nd&&e[nd]||e["@@iterator"],typeof e=="function"?e:null)}var id={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},sd=Object.assign,ad={};function Dr(e,t,n){this.props=e,this.context=t,this.refs=ad,this.updater=n||id}Dr.prototype.isReactComponent={};Dr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Dr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ld(){}ld.prototype=Dr.prototype;function vu(e,t,n){this.props=e,this.context=t,this.refs=ad,this.updater=n||id}var xu=vu.prototype=new ld;xu.constructor=vu;sd(xu,Dr.prototype);xu.isPureReactComponent=!0;var rd=Array.isArray,ud=Object.prototype.hasOwnProperty,wu={current:null},cd={key:!0,ref:!0,__self:!0,__source:!0};function fd(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)ud.call(t,r)&&!cd.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:Ro,type:e,key:i,ref:s,props:o,_owner:wu.current}}function Vx(e,t){return{$$typeof:Ro,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Su(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ro}function Ax(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var od=/\/+/g;function yu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Ax(""+e.key):t.toString(36)}function vs(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Ro:case yx:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+yu(s,0):r,rd(o)?(n="",e!=null&&(n=e.replace(od,"$&/")+"/"),vs(o,t,n,"",function(u){return u})):o!=null&&(Su(o)&&(o=Vx(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(od,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",rd(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+yu(i,a);s+=vs(i,t,n,l,o)}else if(l=Mx(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+yu(i,a++),s+=vs(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function ys(e,t,n){if(e==null)return e;var r=[],o=0;return vs(e,r,"","",function(i){return t.call(n,i,o++)}),r}function Lx(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Re={current:null},xs={transition:null},Dx={ReactCurrentDispatcher:Re,ReactCurrentBatchConfig:xs,ReactCurrentOwner:wu};function pd(){throw Error("act(...) is not supported in production builds of React.")}I.Children={map:ys,forEach:function(e,t,n){ys(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ys(e,function(){t++}),t},toArray:function(e){return ys(e,function(t){return t})||[]},only:function(e){if(!Su(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};
vendor: 8,851 bytes, line 1
1I.Component=Dr;I.Fragment=vx;I.Profiler=wx;I.PureComponent=vu;I.StrictMode=xx;I.Suspense=Cx;I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Dx;I.act=pd;I.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=sd({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=wu.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)ud.call(t,l)&&!cd.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Ro,type:e.type,key:o,ref:i,props:r,_owner:s}};I.createContext=function(e){return e={$$typeof:kx,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Sx,_context:e},e.Consumer=e};I.createElement=fd;I.createFactory=function(e){var t=fd.bind(null,e);return t.type=e,t};I.createRef=function(){return{current:null}};I.forwardRef=function(e){return{$$typeof:Tx,render:e}};I.isValidElement=Su;I.lazy=function(e){return{$$typeof:Ex,_payload:{_status:-1,_result:e},_init:Lx}};I.memo=function(e,t){return{$$typeof:Px,type:e,compare:t===void 0?null:t}};I.startTransition=function(e){var t=xs.transition;xs.transition={};try{e()}finally{xs.transition=t}};I.unstable_act=pd;I.useCallback=function(e,t){return Re.current.useCallback(e,t)};I.useContext=function(e){return Re.current.useContext(e)};I.useDebugValue=function(){};I.useDeferredValue=function(e){return Re.current.useDeferredValue(e)};I.useEffect=function(e,t){return Re.current.useEffect(e,t)};I.useId=function(){return Re.current.useId()};I.useImperativeHandle=function(e,t,n){return Re.current.useImperativeHandle(e,t,n)};I.useInsertionEffect=function(e,t){return Re.current.useInsertionEffect(e,t)};I.useLayoutEffect=function(e,t){return Re.current.useLayoutEffect(e,t)};I.useMemo=function(e,t){return Re.current.useMemo(e,t)};I.useReducer=function(e,t,n){return Re.current.useReducer(e,t,n)};I.useRef=function(e){return Re.current.useRef(e)};I.useState=function(e){return Re.current.useState(e)};I.useSyncExternalStore=function(e,t,n){return Re.current.useSyncExternalStore(e,t,n)};I.useTransition=function(){return Re.current.useTransition()};I.version="18.3.1"});var q=qt((IT,md)=>{"use strict";md.exports=dd()});var Cd=qt(W=>{"use strict";function Pu(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(0<ws(o,t))e[r]=t,e[n]=o,n=r;else break e}}function vt(e){return e.length===0?null:e[0]}function ks(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var s=2*(r+1)-1,a=e[s],l=s+1,u=e[l];if(0>ws(a,n))l<o&&0>ws(u,a)?(e[r]=u,e[l]=n,r=l):(e[r]=a,e[s]=n,r=s);else if(l<o&&0>ws(u,n))e[r]=u,e[l]=n,r=l;else break e}}return t}function ws(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(hd=performance,W.unstable_now=function(){return hd.now()}):(ku=Date,gd=ku.now(),W.unstable_now=function(){return ku.now()-gd});var hd,ku,gd,_t=[],yn=[],_x=1,it=null,Ve=3,Ts=!1,Zn=!1,Oo=!1,xd=typeof setTimeout=="function"?setTimeout:null,wd=typeof clearTimeout=="function"?clearTimeout:null,yd=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Eu(e){for(var t=vt(yn);t!==null;){if(t.callback===null)ks(yn);else if(t.startTime<=e)ks(yn),t.sortIndex=t.expirationTime,Pu(_t,t);else break;t=vt(yn)}}function Mu(e){if(Oo=!1,Eu(e),!Zn)if(vt(_t)!==null)Zn=!0,Au(Vu);else{var t=vt(yn);t!==null&&Lu(Mu,t.startTime-e)}}function Vu(e,t){Zn=!1,Oo&&(Oo=!1,wd(zo),zo=-1),Ts=!0;var n=Ve;try{for(Eu(t),it=vt(_t);it!==null&&(!(it.expirationTime>t)||e&&!Td());){var r=it.callback;if(typeof r=="function"){it.callback=null,Ve=it.priorityLevel;var o=r(it.expirationTime<=t);t=W.unstable_now(),typeof o=="function"?it.callback=o:it===vt(_t)&&ks(_t),Eu(t)}else ks(_t);it=vt(_t)}if(it!==null)var i=!0;else{var s=vt(yn);s!==null&&Lu(Mu,s.startTime-t),i=!1}return i}finally{it=null,Ve=n,Ts=!1}}var Cs=!1,Ss=null,zo=-1,Sd=5,kd=-1;function Td(){return!(W.unstable_now()-kd<Sd)}function Tu(){if(Ss!==null){var e=W.unstable_now();kd=e;var t=!0;try{t=Ss(!0,e)}finally{t?Io():(Cs=!1,Ss=null)}}else Cs=!1}var Io;typeof yd=="function"?Io=function(){yd(Tu)}:typeof MessageChannel<"u"?(Cu=new MessageChannel,vd=Cu.port2,Cu.port1.onmessage=Tu,Io=function(){vd.postMessage(null)}):Io=function(){xd(Tu,0)};var Cu,vd;function Au(e){Ss=e,Cs||(Cs=!0,Io())}function Lu(e,t){zo=xd(function(){e(W.unstable_now())},t)}W.unstable_IdlePriority=5;W.unstable_ImmediatePriority=1;W.unstable_LowPriority=4;W.unstable_NormalPriority=3;W.unstable_Profiling=null;W.unstable_UserBlockingPriority=2;W.unstable_cancelCallback=function(e){e.callback=null};W.unstable_continueExecution=function(){Zn||Ts||(Zn=!0,Au(Vu))};W.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Sd=0<e?Math.floor(1e3/e):5};W.unstable_getCurrentPriorityLevel=function(){return Ve};W.unstable_getFirstCallbackNode=function(){return vt(_t)};W.unstable_next=function(e){switch(Ve){case 1:case 2:case 3:var t=3;break;default:t=Ve}var n=Ve;Ve=t;try{return e()}finally{Ve=n}};W.unstable_pauseExecution=function(){};W.unstable_requestPaint=function(){};W.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=Ve;Ve=e;try{return t()}finally{Ve=n}};W.unstable_scheduleCallback=function(e,t,n){var r=W.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?r+n:r):n=r,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=n+o,e={id:_x++,callback:t,priorityLevel:e,startTime:n,expirationTime:o,sortIndex:-1},n>r?(e.sortIndex=n,Pu(yn,e),vt(_t)===null&&e===vt(yn)&&(Oo?(wd(zo),zo=-1):Oo=!0,Lu(Mu,n-r))):(e.sortIndex=o,Pu(_t,e),Zn||Ts||(Zn=!0,Au(Vu))),e};W.unstable_shouldYield=Td;W.unstable_wrapCallback=function(e){var t=Ve;return function(){var n=Ve;Ve=t;try{return e.apply(this,arguments)}finally{Ve=n}}}});var Ed=qt((zT,Pd)=>{"use strict";Pd.exports=Cd()});var Lg=qt(et=>{"use strict";var Nx=q(),Ze=Ed();function T(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Nm=new Set,ii={};function fr(e,t){Zr(e,t),Zr(e+"Capture",t)}function Zr(e,t){for(ii[e]=t,e=0;e<t.length;e++)Nm.add(t[e])}var Zt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ju=Object.prototype.hasOwnProperty,Rx=/^[: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]*$/,Md={},Vd={};function Ix(e){return Ju.call(Vd,e)?!0:Ju.call(Md,e)?!1:Rx.test(e)?Vd[e]=!0:(Md[e]=!0,!1)}function Ox(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function zx(e,t,n,r){if(t===null||typeof t>"u"||Ox(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ze(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Pe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Pe[e]=new ze(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Pe[t]=new ze(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Pe[e]=new ze(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Pe[e]=new ze(e,2,!1,e,null,!1,!1)});
vendor: 4,211 bytes, lines 1-2
1"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Pe[e]=new ze(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Pe[e]=new ze(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Pe[e]=new ze(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Pe[e]=new ze(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Pe[e]=new ze(e,5,!1,e.toLowerCase(),null,!1,!1)});var $c=/[\-:]([a-z])/g;function qc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace($c,qc);Pe[t]=new ze(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace($c,qc);Pe[t]=new ze(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace($c,qc);Pe[t]=new ze(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Pe[e]=new ze(e,1,!1,e.toLowerCase(),null,!1,!1)});Pe.xlinkHref=new ze("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Pe[e]=new ze(e,1,!1,e.toLowerCase(),null,!0,!0)});function Kc(e,t,n,r){var o=Pe.hasOwnProperty(t)?Pe[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(zx(t,n,o,r)&&(n=null),r||o===null?Ix(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var nn=Nx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ps=Symbol.for("react.element"),Rr=Symbol.for("react.portal"),Ir=Symbol.for("react.fragment"),Gc=Symbol.for("react.strict_mode"),ec=Symbol.for("react.profiler"),Rm=Symbol.for("react.provider"),Im=Symbol.for("react.context"),Qc=Symbol.for("react.forward_ref"),tc=Symbol.for("react.suspense"),nc=Symbol.for("react.suspense_list"),Yc=Symbol.for("react.memo"),xn=Symbol.for("react.lazy"),Om=Symbol.for("react.offscreen"),Ad=Symbol.iterator;function bo(e){return e===null||typeof e!="object"?null:(e=Ad&&e[Ad]||e["@@iterator"],typeof e=="function"?e:null)}var ne=Object.assign,Du;function qo(e){if(Du===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Du=t&&t[1]||""}return`
2`+Du+e}var _u=!1;function Nu(e,t){if(!e||_u)return"";_u=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 8,479 bytes, lines 2-5
2catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
3`),i=r.stack.split(`
4`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
5`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{_u=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?qo(e):""}function bx(e){switch(e.tag){case 5:return qo(e.type);case 16:return qo("Lazy");case 13:return qo("Suspense");case 19:return qo("SuspenseList");case 0:case 2:case 15:return e=Nu(e.type,!1),e;case 11:return e=Nu(e.type.render,!1),e;case 1:return e=Nu(e.type,!0),e;default:return""}}function rc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ir:return"Fragment";case Rr:return"Portal";case ec:return"Profiler";case Gc:return"StrictMode";case tc:return"Suspense";case nc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Im:return(e.displayName||"Context")+".Consumer";case Rm:return(e._context.displayName||"Context")+".Provider";case Qc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Yc:return t=e.displayName||null,t!==null?t:rc(e.type)||"Memo";case xn:t=e._payload,e=e._init;try{return rc(e(t))}catch{}}return null}function Fx(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return rc(t);case 8:return t===Gc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Nn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function zm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Bx(e){var t=zm(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Es(e){e._valueTracker||(e._valueTracker=Bx(e))}function bm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=zm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ea(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function oc(e,t){var n=t.checked;return ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ld(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Nn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Fm(e,t){t=t.checked,t!=null&&Kc(e,"checked",t,!1)}function ic(e,t){Fm(e,t);var n=Nn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?sc(e,t.type,n):t.hasOwnProperty("defaultValue")&&sc(e,t.type,Nn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Dd(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function sc(e,t,n){(t!=="number"||ea(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ko=Array.isArray;function qr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Nn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function ac(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(T(91));return ne({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function _d(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(T(92));if(Ko(n)){if(1<n.length)throw Error(T(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Nn(n)}}function Bm(e,t){var n=Nn(t.value),r=Nn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Nd(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function jm(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function lc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?jm(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ms,Wm=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ms=Ms||document.createElement("div"),Ms.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ms.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function si(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Yo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},jx=["Webkit","ms","Moz","O"];Object.keys(Yo).forEach(function(e){jx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Yo[t]=Yo[e]})});function Um(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Yo.hasOwnProperty(e)&&Yo[e]?(""+t).trim():t+"px"}function Hm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Um(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Wx=ne({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function uc(e,t){if(t){if(Wx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(T(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(T(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(t.style!=null&&typeof t.style!="object")throw Error(T(62))}}function cc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
5ing";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var fc=null;function Xc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pc=null,Kr=null,Gr=null;function Rd(e){if(e=Ci(e)){if(typeof pc!="function")throw Error(T(280));var t=e.stateNode;t&&(t=Va(t),pc(e.stateNode,e.type,t))}}function $m(e){Kr?Gr?Gr.push(e):Gr=[e]:Kr=e}function qm(){if(Kr){var e=Kr,t=Gr;if(Gr=Kr=null,Rd(e),t)for(e=0;e<t.length;e++)Rd(t[e])}}function Km(e,t){return e(t)}function Gm(){}var Ru=!1;function Qm(e,t,n){if(Ru)return e(t,n);Ru=!0;try{return Km(e,t,n)}finally{Ru=!1,(Kr!==null||Gr!==null)&&(Gm(),qm())}}function ai(e,t){var n=e.stateNode;if(n===null)return null;var r=Va(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(T(231,t,typeof n));return n}var dc=!1;if(Zt)try{_r={},Object.defineProperty(_r,"passive",{get:function(){dc=!0}}),window.addEventListener("test",_r,_r),window.removeEventListener("test",_r,_r)}catch{dc=!1}var _r;function Ux(e,t,n,r,o,i,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Xo=!1,ta=null,na=!1,mc=null,Hx={onError:function(e){Xo=!0,ta=e}};function $x(e,t,n,r,o,i,s,a,l){Xo=!1,ta=null,Ux.apply(Hx,arguments)}function qx(e,t,n,r,o,i,s,a,l){if($x.apply(this,arguments),Xo){if(Xo){var u=ta;Xo=!1,ta=null}else throw Error(T(198));na||(na=!0,mc=u)}}function pr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ym(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Id(e){if(pr(e)!==e)throw Error(T(188))}function Kx(e){var t=e.alternate;if(!t){if(t=pr(e),t===null)throw Error(T(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Id(o),e;if(i===r)return Id(o),t;i=i.sibling}throw Error(T(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s)throw Error(T(189))}}if(n.alternate!==r)throw Error(T(190))}if(n.tag!==3)throw Error(T(188));return n.stateNode.current===n?e:t}function Xm(e){return e=Kx(e),e!==null?Zm(e):null}function Zm(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Zm(e);if(t!==null)return t;e=e.sibling}return null}var Jm=Ze.unstable_scheduleCallback,Od=Ze.unstable_cancelCallback,Gx=Ze.unstable_shouldYield,Qx=Ze.unstable_requestPaint,ce=Ze.unstable_now,Yx=Ze.unstable_getCurrentPriorityLevel,Zc=Ze.unstable_ImmediatePriority,eh=Ze.unstable_UserBlockingPriority,ra=Ze.unstable_NormalPriority,Xx=Ze.unstable_LowPriority,th=Ze.unstable_IdlePriority,Ca=null,Ot=null;function Zx(e){if(Ot&&typeof Ot.onCommitFiberRoot=="function")try{Ot.onCommitFiberRoot(Ca,e,void 0,(e.current.flags&128)===128)}catch{}}var Tt=Math.clz32?Math.clz32:t1,Jx=Math.log,e1=Math.LN2;function t1(e){return e>>>=0,e===0?32:31-(Jx(e)/e1|0)|0}var Vs=64,As=4194304;function Go(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function oa(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;
vendor: 9,616 bytes, line 5
5a!==0?r=Go(a):(i&=s,i!==0&&(r=Go(i)))}else s=n&~o,s!==0?r=Go(s):i!==0&&(r=Go(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Tt(t),o=1<<n,r|=e[n],t&=~o;return r}function n1(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function r1(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-Tt(i),a=1<<s,l=o[s];l===-1?((a&n)===0||(a&r)!==0)&&(o[s]=n1(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function hc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function nh(){var e=Vs;return Vs<<=1,(Vs&4194240)===0&&(Vs=64),e}function Iu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ki(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Tt(t),e[t]=n}function o1(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Tt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Jc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Tt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var B=0;function rh(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var oh,ef,ih,sh,ah,gc=!1,Ls=[],Pn=null,En=null,Mn=null,li=new Map,ui=new Map,Sn=[],i1="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function zd(e,t){switch(e){case"focusin":case"focusout":Pn=null;break;case"dragenter":case"dragleave":En=null;break;case"mouseover":case"mouseout":Mn=null;break;case"pointerover":case"pointerout":li.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ui.delete(t.pointerId)}}function Fo(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Ci(t),t!==null&&ef(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function s1(e,t,n,r,o){switch(t){case"focusin":return Pn=Fo(Pn,e,t,n,r,o),!0;case"dragenter":return En=Fo(En,e,t,n,r,o),!0;case"mouseover":return Mn=Fo(Mn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return li.set(i,Fo(li.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ui.set(i,Fo(ui.get(i)||null,e,t,n,r,o)),!0}return!1}function lh(e){var t=tr(e.target);if(t!==null){var n=pr(t);if(n!==null){if(t=n.tag,t===13){if(t=Ym(n),t!==null){e.blockedOn=t,ah(e.priority,function(){ih(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Hs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=yc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);fc=r,n.target.dispatchEvent(r),fc=null}else return t=Ci(n),t!==null&&ef(t),e.blockedOn=n,!1;t.shift()}return!0}function bd(e,t,n){Hs(e)&&n.delete(t)}function a1(){gc=!1,Pn!==null&&Hs(Pn)&&(Pn=null),En!==null&&Hs(En)&&(En=null),Mn!==null&&Hs(Mn)&&(Mn=null),li.forEach(bd),ui.forEach(bd)}function Bo(e,t){e.blockedOn===t&&(e.blockedOn=null,gc||(gc=!0,Ze.unstable_scheduleCallback(Ze.unstable_NormalPriority,a1)))}function ci(e){function t(o){return Bo(o,e)}if(0<Ls.length){Bo(Ls[0],e);for(var n=1;n<Ls.length;n++){var r=Ls[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Pn!==null&&Bo(Pn,e),En!==null&&Bo(En,e),Mn!==null&&Bo(Mn,e),li.forEach(t),ui.forEach(t),n=0;n<Sn.length;n++)r=Sn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Sn.length&&(n=Sn[0],n.blockedOn===null);)lh(n),n.blockedOn===null&&Sn.shift()}var Qr=nn.ReactCurrentBatchConfig,ia=!0;function l1(e,t,n,r){var o=B,i=Qr.transition;Qr.transition=null;try{B=1,tf(e,t,n,r)}finally{B=o,Qr.transition=i}}function u1(e,t,n,r){var o=B,i=Qr.transition;Qr.transition=null;try{B=4,tf(e,t,n,r)}finally{B=o,Qr.transition=i}}function tf(e,t,n,r){if(ia){var o=yc(e,t,n,r);if(o===null)Wu(e,t,r,sa,n),zd(e,r);else if(s1(o,e,t,n,r))r.stopPropagation();else if(zd(e,r),t&4&&-1<i1.indexOf(e)){for(;o!==null;){var i=Ci(o);if(i!==null&&oh(i),i=yc(e,t,n,r),i===null&&Wu(e,t,r,sa,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Wu(e,t,r,null,n)}}var sa=null;function yc(e,t,n,r){if(sa=null,e=Xc(r),e=tr(e),e!==null)if(t=pr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ym(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return sa=e,null}function uh(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Yx()){case Zc:return 1;case eh:return 4;case ra:case Xx:return 16;case th:return 536870912;default:return 16}default:return 16}}var Tn=null,nf=null,$s=null;function ch(){if($s)return $s;var e,t=nf,n=t.length,r,o="value"in Tn?Tn.value:Tn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return $s=o.slice(e,1<r?1-r:void 0)}function qs(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ds(){return!0}function Fd(){return!1}function Je(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Ds:Fd,this.isPropagationStopped=Fd,this}return ne(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ds)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ds)},persist:function(){},isPersistent:Ds}),t}var io={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rf=Je(io),Ti=ne({},io,{view:0,detail:0}),c1=Je(Ti),Ou,zu,jo,Pa=ne({},Ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:of,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==jo&&(jo&&e.type==="mousemove"?(Ou=e.screenX-jo.screenX,zu=e.screenY-jo.screenY):zu=Ou=0,jo=e),Ou)},movementY:function(e){return"movementY"in e?e.movementY:zu}}),Bd=Je(Pa),f1=ne({},Pa,{dataTransfer:0}),p1=Je(f1),d1=ne({},Ti,{relatedTarget:0}),bu=Je(d1),m1=ne({},io,{animationName:0,elapsedTime:0,pseudoElement:0}),h1=Je(m1),g1=ne({},io,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),y1=Je(g1),v1=ne({},io,{data:0}),jd=Je(v1),x1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},w1={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"},S1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function k1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=S1[e])?!!t[e]:!1}function of(){return k1}var T1=ne({},Ti,{key:function(e){if(e.key){var t=x1[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 4,742 bytes, line 5
5return e.type==="keypress"?(e=qs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?w1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:of,charCode:function(e){return e.type==="keypress"?qs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),C1=Je(T1),P1=ne({},Pa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wd=Je(P1),E1=ne({},Ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:of}),M1=Je(E1),V1=ne({},io,{propertyName:0,elapsedTime:0,pseudoElement:0}),A1=Je(V1),L1=ne({},Pa,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),D1=Je(L1),_1=[9,13,27,32],sf=Zt&&"CompositionEvent"in window,Zo=null;Zt&&"documentMode"in document&&(Zo=document.documentMode);var N1=Zt&&"TextEvent"in window&&!Zo,fh=Zt&&(!sf||Zo&&8<Zo&&11>=Zo),Ud=" ",Hd=!1;function ph(e,t){switch(e){case"keyup":return _1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function dh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Or=!1;function R1(e,t){switch(e){case"compositionend":return dh(t);case"keypress":return t.which!==32?null:(Hd=!0,Ud);case"textInput":return e=t.data,e===Ud&&Hd?null:e;default:return null}}function I1(e,t){if(Or)return e==="compositionend"||!sf&&ph(e,t)?(e=ch(),$s=nf=Tn=null,Or=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return fh&&t.locale!=="ko"?null:t.data;default:return null}}var O1={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 $d(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!O1[e.type]:t==="textarea"}function mh(e,t,n,r){$m(r),t=aa(t,"onChange"),0<t.length&&(n=new rf("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Jo=null,fi=null;function z1(e){Ph(e,0)}function Ea(e){var t=Fr(e);if(bm(t))return e}function b1(e,t){if(e==="change")return t}var hh=!1;Zt&&(Zt?(Ns="oninput"in document,Ns||(Fu=document.createElement("div"),Fu.setAttribute("oninput","return;"),Ns=typeof Fu.oninput=="function"),_s=Ns):_s=!1,hh=_s&&(!document.documentMode||9<document.documentMode));var _s,Ns,Fu;function qd(){Jo&&(Jo.detachEvent("onpropertychange",gh),fi=Jo=null)}function gh(e){if(e.propertyName==="value"&&Ea(fi)){var t=[];mh(t,fi,e,Xc(e)),Qm(z1,t)}}function F1(e,t,n){e==="focusin"?(qd(),Jo=t,fi=n,Jo.attachEvent("onpropertychange",gh)):e==="focusout"&&qd()}function B1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ea(fi)}function j1(e,t){if(e==="click")return Ea(t)}function W1(e,t){if(e==="input"||e==="change")return Ea(t)}function U1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Pt=typeof Object.is=="function"?Object.is:U1;function pi(e,t){if(Pt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Ju.call(t,o)||!Pt(e[o],t[o]))return!1}return!0}function Kd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Gd(e,t){var n=Kd(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Kd(n)}}function yh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function vh(){for(var e=window,t=ea();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ea(e.document)}return t}function af(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function H1(e){var t=vh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&yh(n.ownerDocument.documentElement,n)){if(r!==null&&af(n)){if
vendor: 5,787 bytes, line 5
5(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Gd(n,i);var s=Gd(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var $1=Zt&&"documentMode"in document&&11>=document.documentMode,zr=null,vc=null,ei=null,xc=!1;function Qd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xc||zr==null||zr!==ea(r)||(r=zr,"selectionStart"in r&&af(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ei&&pi(ei,r)||(ei=r,r=aa(vc,"onSelect"),0<r.length&&(t=new rf("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=zr)))}function Rs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var br={animationend:Rs("Animation","AnimationEnd"),animationiteration:Rs("Animation","AnimationIteration"),animationstart:Rs("Animation","AnimationStart"),transitionend:Rs("Transition","TransitionEnd")},Bu={},xh={};Zt&&(xh=document.createElement("div").style,"AnimationEvent"in window||(delete br.animationend.animation,delete br.animationiteration.animation,delete br.animationstart.animation),"TransitionEvent"in window||delete br.transitionend.transition);function Ma(e){if(Bu[e])return Bu[e];if(!br[e])return e;var t=br[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in xh)return Bu[e]=t[n];return e}var wh=Ma("animationend"),Sh=Ma("animationiteration"),kh=Ma("animationstart"),Th=Ma("transitionend"),Ch=new Map,Yd="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function In(e,t){Ch.set(e,t),fr(t,[e])}for(Is=0;Is<Yd.length;Is++)Os=Yd[Is],Xd=Os.toLowerCase(),Zd=Os[0].toUpperCase()+Os.slice(1),In(Xd,"on"+Zd);var Os,Xd,Zd,Is;In(wh,"onAnimationEnd");In(Sh,"onAnimationIteration");In(kh,"onAnimationStart");In("dblclick","onDoubleClick");In("focusin","onFocus");In("focusout","onBlur");In(Th,"onTransitionEnd");Zr("onMouseEnter",["mouseout","mouseover"]);Zr("onMouseLeave",["mouseout","mouseover"]);Zr("onPointerEnter",["pointerout","pointerover"]);Zr("onPointerLeave",["pointerout","pointerover"]);fr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));fr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));fr("onBeforeInput",["compositionend","keypress","textInput","paste"]);fr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));fr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));fr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qo="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(" "),q1=new Set("cancel close invalid load scroll toggle".split(" ").concat(Qo));function Jd(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,qx(r,t,void 0,e),e.currentTarget=null}function Ph(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;Jd(o,a,u),i=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;Jd(o,a,u),i=l}}}if(na)throw e=mc,na=!1,mc=null,e}function K(e,t){var n=t[Cc];n===void 0&&(n=t[Cc]=new Set);var r=e+"__bubble";n.has(r)||(Eh(t,e,2,!1),n.add(r))}function ju(e,t,n){var r=0;t&&(r|=4),Eh(n,e,r,t)}var zs="_reactListening"+Math.random().toString(36).slice(2);function di(e){if(!e[zs]){e[zs]=!0,Nm.forEach(function(n){n!=="selectionchange"&&(q1.has(n)||ju(n,!1,e),ju(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[zs]||(t[zs]=!0,ju("selectionchange",!1,t))}}function Eh(e,t,n,r){switch(uh(t)){case 1:var o=l1;break;case 4:o=u1;break;default:o=tf}n=o.bind(null,t,n,e),o=void 0,!dc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Wu(e,t,n,r,o){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 8,885 bytes, lines 5-6
5if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;a!==null;){if(s=tr(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue e}a=a.parentNode}}r=r.return}Qm(function(){var u=i,c=Xc(n),f=[];e:{var p=Ch.get(e);if(p!==void 0){var g=rf,y=e;switch(e){case"keypress":if(qs(n)===0)break e;case"keydown":case"keyup":g=C1;break;case"focusin":y="focus",g=bu;break;case"focusout":y="blur",g=bu;break;case"beforeblur":case"afterblur":g=bu;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=Bd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=p1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=M1;break;case wh:case Sh:case kh:g=h1;break;case Th:g=A1;break;case"scroll":g=c1;break;case"wheel":g=D1;break;case"copy":case"cut":case"paste":g=y1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Wd}var x=(t&4)!==0,S=!x&&e==="scroll",m=x?p!==null?p+"Capture":null:p;x=[];for(var d=u,h;d!==null;){h=d;var v=h.stateNode;if(h.tag===5&&v!==null&&(h=v,m!==null&&(v=ai(d,m),v!=null&&x.push(mi(d,v,h)))),S)break;d=d.return}0<x.length&&(p=new g(p,y,null,n,c),f.push({event:p,listeners:x}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",p&&n!==fc&&(y=n.relatedTarget||n.fromElement)&&(tr(y)||y[Jt]))break e;if((g||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,g?(y=n.relatedTarget||n.toElement,g=u,y=y?tr(y):null,y!==null&&(S=pr(y),y!==S||y.tag!==5&&y.tag!==6)&&(y=null)):(g=null,y=u),g!==y)){if(x=Bd,v="onMouseLeave",m="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(x=Wd,v="onPointerLeave",m="onPointerEnter",d="pointer"),S=g==null?p:Fr(g),h=y==null?p:Fr(y),p=new x(v,d+"leave",g,n,c),p.target=S,p.relatedTarget=h,v=null,tr(c)===u&&(x=new x(m,d+"enter",y,n,c),x.target=h,x.relatedTarget=S,v=x),S=v,g&&y)t:{for(x=g,m=y,d=0,h=x;h;h=Nr(h))d++;for(h=0,v=m;v;v=Nr(v))h++;for(;0<d-h;)x=Nr(x),d--;for(;0<h-d;)m=Nr(m),h--;for(;d--;){if(x===m||m!==null&&x===m.alternate)break t;x=Nr(x),m=Nr(m)}x=null}else x=null;g!==null&&em(f,p,g,x,!1),y!==null&&S!==null&&em(f,S,y,x,!0)}}e:{if(p=u?Fr(u):window,g=p.nodeName&&p.nodeName.toLowerCase(),g==="select"||g==="input"&&p.type==="file")var k=b1;else if($d(p))if(hh)k=W1;else{k=B1;var E=F1}else(g=p.nodeName)&&g.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(k=j1);if(k&&(k=k(e,u))){mh(f,k,n,c);break e}E&&E(e,p,u),e==="focusout"&&(E=p._wrapperState)&&E.controlled&&p.type==="number"&&sc(p,"number",p.value)}switch(E=u?Fr(u):window,e){case"focusin":($d(E)||E.contentEditable==="true")&&(zr=E,vc=u,ei=null);break;case"focusout":ei=vc=zr=null;break;case"mousedown":xc=!0;break;case"contextmenu":case"mouseup":case"dragend":xc=!1,Qd(f,n,c);break;case"selectionchange":if($1)break;case"keydown":case"keyup":Qd(f,n,c)}var M;if(sf)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else Or?ph(e,n)&&(C="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(fh&&n.locale!=="ko"&&(Or||C!=="onCompositionStart"?C==="onCompositionEnd"&&Or&&(M=ch()):(Tn=c,nf="value"in Tn?Tn.value:Tn.textContent,Or=!0)),E=aa(u,C),0<E.length&&(C=new jd(C,e,null,n,c),f.push({event:C,listeners:E}),M?C.data=M:(M=dh(n),M!==null&&(C.data=M)))),(M=N1?R1(e,n):I1(e,n))&&(u=aa(u,"onBeforeInput"),0<u.length&&(c=new jd("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=M))}Ph(f,t)})}function mi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function aa(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=ai(e,n),i!=null&&r.unshift(mi(e,i,o)),i=ai(e,t),i!=null&&r.push(mi(e,i,o))),e=e.return}return r}function Nr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function em(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,o?(l=ai(n,i),l!=null&&s.unshift(mi(n,l,a))):o||(l=ai(n,i),l!=null&&s.push(mi(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var K1=/\r\n?/g,G1=/\u0000|\uFFFD/g;function tm(e){return(typeof e=="string"?e:""+e).replace(K1,`
6`).replace(G1,"")}function bs(e,t,n){if(t=tm(t),tm(e)!==t&&n)throw Error(T(425))}function la(){}var wc=null,Sc=null;function kc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Tc=typeof setTimeout=="function"?setTimeout:void 0,Q1=typeof clearTimeout=="function"?clearTimeout:void 0,nm=typeof Promise=="function"?Promise:void 0,Y1=typeof queueMicrotask=="function"?queueMicrotask:typeof nm<"u"?function(e){return nm.resolve(null).then(e).catch(X1)}:Tc;function X1(e){setTimeout(function(){throw e})}function Uu(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),ci(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ci(t)}function Vn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function rm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var so=Math.random().toString(36).slice(2),It="__reactFiber$"+so,hi="__reactProps$"+so,Jt="__reactContainer$"+so,Cc="__reactEvents$"+so,Z1="__reactListeners$"+so,J1="__reactHandles$"+so;function tr(e){var t=e[It];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Jt]||n[It]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=rm(e);e!==null;){if(n=e[It])return n;e=rm(e)}return t}e=n,n=e.parentNode}return null}function Ci(e){return e=e[It]||e[Jt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Fr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(T(33))}function Va(e){return e[hi]||null}var Pc=[],Br=-1;function On(e){return{current:e}}function G(e){0>Br||(e.current=Pc[Br],Pc[Br]=null,Br--)}function U(e,t){Br++,Pc[Br]=e.current,e.current=t}var Rn={},_e=On(Rn),He=On(!1),sr=Rn;function Jr(e,t){var n=e.type.contextTypes;if(!n)return Rn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function $e(e){return e=e.childContextTypes,e!=null}function ua(){G(He),G(_e)}function om(e,t,n){if(_e.current!==Rn)throw Error(T(168));U(_e,t),U(He,n)}function Mh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(T(108,Fx(e)||"Unknown",o));return ne({},n,r)}function ca(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Rn,sr=_e.current,U(_e,e),U(He,He.current),!0}function im(e,t,n){var r=e.stateNode;if(!r)throw Error(T(169));n?(e=Mh(e,t,sr),r.__reactInternalMemoizedMergedChildContext=e,G(He),G(_e),U(_e,e)):G(He),U(He,n)}var Gt=null,Aa=!1,Hu=!1;function Vh(e){Gt===null?Gt=[e]:Gt.push(e)}function ew(e){Aa=!0,Vh(e)}function zn(){if(!Hu&&Gt!==null){Hu=!0;var e=0,t=B;try{var n=Gt;for(B=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Gt=null,Aa=!1}catch(o){throw Gt!==null&&(Gt=Gt.slice(e+1)),Jm(Zc,zn),o}finally{B=t,Hu=!1}}return null}var jr=[],Wr=0,fa=null,pa=0,st=[],at=0,ar=null,Qt=1,Yt="";function Jn(e,t){jr[Wr++]=pa,jr[Wr++]=fa,fa=e,pa=t}function Ah(e,t,n){st[at++]=Qt,st[at++]=Yt,st[at++]=ar,ar=e;var r=Qt;e=Yt;var o=32-Tt(r)-1;r&=~(1<<o),n+=1;var i=32-Tt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Qt=1<<32-Tt(t)+o|n<<o|r,Yt=i+e}else Qt=1<<i|n<<o|r,Yt=e}function lf(e){e.return!==null&&(Jn(e,1),Ah(e,1,0))}function uf(e){for(;e===fa;)fa=jr[--Wr],jr[Wr]=null,pa=jr[--Wr],jr[Wr]=null;for(;e===ar;)ar=st[--at],st[at]=null,Yt=st[--at],st[at]=null,Qt=st[--at],st[at]=null}var Xe=null,Ye=null,Q=!1,kt=null;function Lh(e,t){var n=lt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function sm(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 7,695 bytes, line 6
6return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Xe=e,Ye=Vn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Xe=e,Ye=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=ar!==null?{id:Qt,overflow:Yt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=lt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Xe=e,Ye=null,!0):!1;default:return!1}}function Ec(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Mc(e){if(Q){var t=Ye;if(t){var n=t;if(!sm(e,t)){if(Ec(e))throw Error(T(418));t=Vn(n.nextSibling);var r=Xe;t&&sm(e,t)?Lh(r,n):(e.flags=e.flags&-4097|2,Q=!1,Xe=e)}}else{if(Ec(e))throw Error(T(418));e.flags=e.flags&-4097|2,Q=!1,Xe=e}}}function am(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Xe=e}function Fs(e){if(e!==Xe)return!1;if(!Q)return am(e),Q=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!kc(e.type,e.memoizedProps)),t&&(t=Ye)){if(Ec(e))throw Dh(),Error(T(418));for(;t;)Lh(e,t),t=Vn(t.nextSibling)}if(am(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(T(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ye=Vn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ye=null}}else Ye=Xe?Vn(e.stateNode.nextSibling):null;return!0}function Dh(){for(var e=Ye;e;)e=Vn(e.nextSibling)}function eo(){Ye=Xe=null,Q=!1}function cf(e){kt===null?kt=[e]:kt.push(e)}var tw=nn.ReactCurrentBatchConfig;function Wo(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(T(309));var r=n.stateNode}if(!r)throw Error(T(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var a=o.refs;s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(T(284));if(!n._owner)throw Error(T(290,e))}return e}function Bs(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function lm(e){var t=e._init;return t(e._payload)}function _h(e){function t(m,d){if(e){var h=m.deletions;h===null?(m.deletions=[d],m.flags|=16):h.push(d)}}function n(m,d){if(!e)return null;for(;d!==null;)t(m,d),d=d.sibling;return null}function r(m,d){for(m=new Map;d!==null;)d.key!==null?m.set(d.key,d):m.set(d.index,d),d=d.sibling;return m}function o(m,d){return m=_n(m,d),m.index=0,m.sibling=null,m}function i(m,d,h){return m.index=h,e?(h=m.alternate,h!==null?(h=h.index,h<d?(m.flags|=2,d):h):(m.flags|=2,d)):(m.flags|=1048576,d)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,d,h,v){return d===null||d.tag!==6?(d=Xu(h,m.mode,v),d.return=m,d):(d=o(d,h),d.return=m,d)}function l(m,d,h,v){var k=h.type;return k===Ir?c(m,d,h.props.children,v,h.key):d!==null&&(d.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===xn&&lm(k)===d.type)?(v=o(d,h.props),v.ref=Wo(m,d,h),v.return=m,v):(v=Js(h.type,h.key,h.props,null,m.mode,v),v.ref=Wo(m,d,h),v.return=m,v)}function u(m,d,h,v){return d===null||d.tag!==4||d.stateNode.containerInfo!==h.containerInfo||d.stateNode.implementation!==h.implementation?(d=Zu(h,m.mode,v),d.return=m,d):(d=o(d,h.children||[]),d.return=m,d)}function c(m,d,h,v,k){return d===null||d.tag!==7?(d=ir(h,m.mode,v,k),d.return=m,d):(d=o(d,h),d.return=m,d)}function f(m,d,h){if(typeof d=="string"&&d!==""||typeof d=="number")return d=Xu(""+d,m.mode,h),d.return=m,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Ps:return h=Js(d.type,d.key,d.props,null,m.mode,h),h.ref=Wo(m,null,d),h.return=m,h;case Rr:return d=Zu(d,m.mode,h),d.return=m,d;case xn:var v=d._init;return f(m,v(d._payload),h)}if(Ko(d)||bo(d))return d=ir(d,m.mode,h,null),d.return=m,d;Bs(m,d)}return null}function p(m,d,h,v){var k=d!==null?d.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return k!==null?null:a(m,d,""+h,v);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Ps:return h.key===k?l(m,d,h,v):null;case Rr:return h.key===k?u(m,d,h,v):null;case xn:return k=h._init,p(m,d,k(h._payload),v)}if(Ko(h)||bo(h))return k!==null?null:c(m,d,h,v,null);Bs(m,h)}return null}function g(m,d,h,v,k){if(typeof v=="string"&&v!==""||typeof v=="number")return m=m.get(h)||null,a(d,m,""+v,k);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Ps:return m=m.get(v.key===null?h:v.key)||null,l(d,m,v,k);case Rr:return m=m.get(v.key===null?h:v.key)||null,u(d,m,v,k);case xn:var E=v._init;return g(m,d,h,E(v._payload),k)}if(Ko(v)||bo(v))return m=m.get(h)||null,c(d,m,v,k,null);Bs(d,v)}return null}function y(m,d,h,v){for(var k=null,E=null,M=d,C=d=0,_=null;M!==null&&C<h.length;C++){M.index>C?(_=M,M=null):_=M.sibling;var P=p(m,M,h[C],v);if(P===null){M===null&&(M=_);break}e&&M&&P.alternate===null&&t(m,M),d=i(P,d,C),E===null?k=P:E.sibling=P,E=P,M=_}if(C===h.length)return n(m,M),Q&&Jn(m,C),k;if(M===null){for(;C<h.length;C++)M=f(m,h[C],v),M!==null&&(d=i(M,d,C),E===null?k=M:E.sibling=M,E=M);return Q&&Jn(m,C),k}for(M=r(m,M);C<h.length;C++)_=g(M,m,C,h[C],v),_!==null&&(e&&_.alternate!==null&&M.delete(_.key===null?C:_.key),d=i(_,d,C),E===null?k=_:E.sibling=_,E=_);return e&&M.forEach(function(b){return t(m,b)}),Q&&Jn(m,C),k}function x(m,d,h,v){var k=bo(h);if(typeof k!="function")throw Error(T(150));if(h=k.call(h),h==null)throw Error(T(151));for(var E=k=null,M=d,C=d=0,_=null,P=h.next();M!==null&&!P.done;C++,P=h.next()){M.index>C?(_=M,M=null):_=M.sibling;var b=p(m,M,P.value,v);if(b===null){M===null&&(M=_);break}e&&M&&b.alternate===null&&t(m,M),d=i(b,d,C),E===null?k=b:E.sibling=b,E=b,M=_}if(P.done)return n(m,M),Q&&Jn(m,C),k;if(M===null){for(;!P.done;C++,P=h.next())P=f(m,P.value,v),P!==null&&(d=i(P,d,C),E===null?k=P:E.sibling=P,E=P);return Q&&Jn(m,C),k}for(M=r(m,M);!P.done;C++,P=h.next())P=g(M,m,C,P.value,v),P!==null&&(e&&P.alternate!==null&&M.delete(P.key===null?C:P.key),d=i(P,d,C),E===null?k=P:E.sibling=P,E=P);return e&&M.forEach(function(se){return t(m,se)}),Q&&Jn(m,C),k}function S(m,d,h,v){if(typeof h=="object"&&h!==null&&h.type===Ir&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Ps:e:{for(var k=h.key,E=d;E!==null;){if(E.key===k){if(k=h.type,k===Ir){if(E.tag===7){n(m,E.sibling),d=o(E,h.props.children),d.return=m,m=d;break e}}else if(E.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===xn&&lm(k)===E.type){n(m,E.sibling),d=o(E,h.props),d.ref=Wo(m,E,h),d.return=m,m=d;break e}n(m,E);break}else t(m,E);E=E.sibling}h.type===Ir?(d=ir(h.props.children,m.mode,v,h.key),d.return=m,m=d):(v=Js(h.type,h.key,h.props,null,m.mode,v),v.ref=Wo(m,d,h),v.return=m,m=v)}return s(m);case Rr:e:{for(E=h.key;d!==null;){if(d.key===E)if(d.tag===4&&d.stateNode.containerInfo===h.containerInfo&&d.stateNode.implementation===h.implementation){n(m,d.sibling),d=o(d,h.children||[]),d.return=m,m=d;break e}else{n(m,d);break}else t(m,d);d=d.sibling}d=Zu(h,m.mode,v),d.return=m,m=d}return s(m);case xn:return E=h._init,S(m,d,E(h._payload),v)}if(Ko(h))return y(m,d,h,v);if(bo(h))return x(m,d,h,v);Bs(m,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,d!==null&&d.tag===6?(n(m,d.sibling),d=o(d,h),d.return=m,m=d):(n(m,d),d=Xu(h,m.mode,v),d.return=m,m=d),s(m)):n(m,d)}return S}var to=_h(!0),Nh=_h(!1),da=On(null),ma=null,Ur=null,ff=null;function pf(){ff=Ur=ma=null}function df(e){var t=da.current;G(da),e._currentValue=t}function Vc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}
vendor: 4,958 bytes, line 6
6function Yr(e,t){ma=e,ff=Ur=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ue=!0),e.firstContext=null)}function ct(e){var t=e._currentValue;if(ff!==e)if(e={context:e,memoizedValue:t,next:null},Ur===null){if(ma===null)throw Error(T(308));Ur=e,ma.dependencies={lanes:0,firstContext:e}}else Ur=Ur.next=e;return t}var nr=null;function mf(e){nr===null?nr=[e]:nr.push(e)}function Rh(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,mf(t)):(n.next=o.next,o.next=n),t.interleaved=n,en(e,r)}function en(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var wn=!1;function hf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ih(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Xt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function An(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(z&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,en(e,n)}return o=r.interleaved,o===null?(t.next=t,mf(r)):(t.next=o.next,o.next=t),r.interleaved=t,en(e,n)}function Ks(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Jc(e,n)}}function um(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ha(e,t,n,r){var o=e.updateQueue;wn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var f=o.baseState;s=0,c=u=l=null,a=i;do{var p=a.lane,g=a.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,x=a;switch(p=t,g=n,x.tag){case 1:if(y=x.payload,typeof y=="function"){f=y.call(g,f,p);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=x.payload,p=typeof y=="function"?y.call(g,f,p):y,p==null)break e;f=ne({},f,p);break e;case 2:wn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[a]:p.push(a))}else g={eventTime:g,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=g,l=f):c=c.next=g,s|=p;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;p=a,a=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(c===null&&(l=f),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);ur|=s,e.lanes=s,e.memoizedState=f}}function cm(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(T(191,o));o.call(r)}}}var Pi={},zt=On(Pi),gi=On(Pi),yi=On(Pi);function rr(e){if(e===Pi)throw Error(T(174));return e}function gf(e,t){switch(U(yi,t),U(gi,e),U(zt,Pi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:lc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=lc(t,e)}G(zt),U(zt,t)}function no(){G(zt),G(gi),G(yi)}function Oh(e){rr(yi.current);var t=rr(zt.current),n=lc(t,e.type);t!==n&&(U(gi,e),U(zt,n))}function yf(e){gi.current===e&&(G(zt),G(gi))}var ee=On(0);function ga(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var $u=[];function vf(){for(var e=0;e<$u.length;e++)$u[e]._workInProgressVersionPrimary=null;$u.length=0}var Gs=nn.ReactCurrentDispatcher,qu=nn.ReactCurrentBatchConfig,lr=0,te=null,he=null,we=null,ya=!1,ti=!1,vi=0,nw=0;function Ae(){throw Error(T(321))}function xf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Pt(e[n],t[n]))return!1;return!0}
vendor: 4,552 bytes, line 6
6function wf(e,t,n,r,o,i){if(lr=i,te=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Gs.current=e===null||e.memoizedState===null?sw:aw,e=n(r,o),ti){i=0;do{if(ti=!1,vi=0,25<=i)throw Error(T(301));i+=1,we=he=null,t.updateQueue=null,Gs.current=lw,e=n(r,o)}while(ti)}if(Gs.current=va,t=he!==null&&he.next!==null,lr=0,we=he=te=null,ya=!1,t)throw Error(T(300));return e}function Sf(){var e=vi!==0;return vi=0,e}function Rt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return we===null?te.memoizedState=we=e:we=we.next=e,we}function ft(){if(he===null){var e=te.alternate;e=e!==null?e.memoizedState:null}else e=he.next;var t=we===null?te.memoizedState:we.next;if(t!==null)we=t,he=e;else{if(e===null)throw Error(T(310));he=e,e={memoizedState:he.memoizedState,baseState:he.baseState,baseQueue:he.baseQueue,queue:he.queue,next:null},we===null?te.memoizedState=we=e:we=we.next=e}return we}function xi(e,t){return typeof t=="function"?t(e):t}function Ku(e){var t=ft(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=he,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=s=null,l=null,u=i;do{var c=u.lane;if((lr&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=f,s=r):l=l.next=f,te.lanes|=c,ur|=c}u=u.next}while(u!==null&&u!==i);l===null?s=r:l.next=a,Pt(r,t.memoizedState)||(Ue=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,te.lanes|=i,ur|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Gu(e){var t=ft(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);Pt(i,t.memoizedState)||(Ue=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function zh(){}function bh(e,t){var n=te,r=ft(),o=t(),i=!Pt(r.memoizedState,o);if(i&&(r.memoizedState=o,Ue=!0),r=r.queue,kf(jh.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||we!==null&&we.memoizedState.tag&1){if(n.flags|=2048,wi(9,Bh.bind(null,n,r,o,t),void 0,null),Se===null)throw Error(T(349));(lr&30)!==0||Fh(n,t,o)}return o}function Fh(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=te.updateQueue,t===null?(t={lastEffect:null,stores:null},te.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Bh(e,t,n,r){t.value=n,t.getSnapshot=r,Wh(t)&&Uh(e)}function jh(e,t,n){return n(function(){Wh(t)&&Uh(e)})}function Wh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Pt(e,n)}catch{return!0}}function Uh(e){var t=en(e,1);t!==null&&Ct(t,e,1,-1)}function fm(e){var t=Rt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xi,lastRenderedState:e},t.queue=e,e=e.dispatch=iw.bind(null,te,e),[t.memoizedState,e]}function wi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=te.updateQueue,t===null?(t={lastEffect:null,stores:null},te.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Hh(){return ft().memoizedState}function Qs(e,t,n,r){var o=Rt();te.flags|=e,o.memoizedState=wi(1|t,n,void 0,r===void 0?null:r)}function La(e,t,n,r){var o=ft();r=r===void 0?null:r;var i=void 0;if(he!==null){var s=he.memoizedState;if(i=s.destroy,r!==null&&xf(r,s.deps)){o.memoizedState=wi(t,n,i,r);return}}te.flags|=e,o.memoizedState=wi(1|t,n,i,r)}function pm(e,t){return Qs(8390656,8,e,t)}function kf(e,t){return La(2048,8,e,t)}function $h(e,t){return La(4,2,e,t)}function qh(e,t){return La(4,4,e,t)}function Kh(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Gh(e,t,n){return n=n!=null?n.concat([e]):null,La(4,4,Kh.bind(null,t,e),n)}function Tf(){}function Qh(e,t){var n=ft();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&xf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yh(e,t){var n=ft();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&xf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}
vendor: 8,014 bytes, lines 6-8
6function Xh(e,t,n){return(lr&21)===0?(e.baseState&&(e.baseState=!1,Ue=!0),e.memoizedState=n):(Pt(n,t)||(n=nh(),te.lanes|=n,ur|=n,e.baseState=!0),t)}function rw(e,t){var n=B;B=n!==0&&4>n?n:4,e(!0);var r=qu.transition;qu.transition={};try{e(!1),t()}finally{B=n,qu.transition=r}}function Zh(){return ft().memoizedState}function ow(e,t,n){var r=Dn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Jh(e))eg(t,n);else if(n=Rh(e,t,n,r),n!==null){var o=Oe();Ct(n,e,r,o),tg(n,t,r)}}function iw(e,t,n){var r=Dn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Jh(e))eg(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,Pt(a,s)){var l=t.interleaved;l===null?(o.next=o,mf(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}n=Rh(e,t,o,r),n!==null&&(o=Oe(),Ct(n,e,r,o),tg(n,t,r))}}function Jh(e){var t=e.alternate;return e===te||t!==null&&t===te}function eg(e,t){ti=ya=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function tg(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Jc(e,n)}}var va={readContext:ct,useCallback:Ae,useContext:Ae,useEffect:Ae,useImperativeHandle:Ae,useInsertionEffect:Ae,useLayoutEffect:Ae,useMemo:Ae,useReducer:Ae,useRef:Ae,useState:Ae,useDebugValue:Ae,useDeferredValue:Ae,useTransition:Ae,useMutableSource:Ae,useSyncExternalStore:Ae,useId:Ae,unstable_isNewReconciler:!1},sw={readContext:ct,useCallback:function(e,t){return Rt().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:pm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Qs(4194308,4,Kh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qs(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qs(4,2,e,t)},useMemo:function(e,t){var n=Rt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Rt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ow.bind(null,te,e),[r.memoizedState,e]},useRef:function(e){var t=Rt();return e={current:e},t.memoizedState=e},useState:fm,useDebugValue:Tf,useDeferredValue:function(e){return Rt().memoizedState=e},useTransition:function(){var e=fm(!1),t=e[0];return e=rw.bind(null,e[1]),Rt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=te,o=Rt();if(Q){if(n===void 0)throw Error(T(407));n=n()}else{if(n=t(),Se===null)throw Error(T(349));(lr&30)!==0||Fh(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,pm(jh.bind(null,r,i,e),[e]),r.flags|=2048,wi(9,Bh.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Rt(),t=Se.identifierPrefix;if(Q){var n=Yt,r=Qt;n=(r&~(1<<32-Tt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=vi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=nw++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},aw={readContext:ct,useCallback:Qh,useContext:ct,useEffect:kf,useImperativeHandle:Gh,useInsertionEffect:$h,useLayoutEffect:qh,useMemo:Yh,useReducer:Ku,useRef:Hh,useState:function(){return Ku(xi)},useDebugValue:Tf,useDeferredValue:function(e){var t=ft();return Xh(t,he.memoizedState,e)},useTransition:function(){var e=Ku(xi)[0],t=ft().memoizedState;return[e,t]},useMutableSource:zh,useSyncExternalStore:bh,useId:Zh,unstable_isNewReconciler:!1},lw={readContext:ct,useCallback:Qh,useContext:ct,useEffect:kf,useImperativeHandle:Gh,useInsertionEffect:$h,useLayoutEffect:qh,useMemo:Yh,useReducer:Gu,useRef:Hh,useState:function(){return Gu(xi)},useDebugValue:Tf,useDeferredValue:function(e){var t=ft();return he===null?t.memoizedState=e:Xh(t,he.memoizedState,e)},useTransition:function(){var e=Gu(xi)[0],t=ft().memoizedState;return[e,t]},useMutableSource:zh,useSyncExternalStore:bh,useId:Zh,unstable_isNewReconciler:!1};function wt(e,t){if(e&&e.defaultProps){t=ne({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ac(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ne({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Da={isMounted:function(e){return(e=e._reactInternals)?pr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Oe(),o=Dn(e),i=Xt(r,o);i.payload=t,n!=null&&(i.callback=n),t=An(e,i,o),t!==null&&(Ct(t,e,o,r),Ks(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Oe(),o=Dn(e),i=Xt(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=An(e,i,o),t!==null&&(Ct(t,e,o,r),Ks(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Oe(),r=Dn(e),o=Xt(n,r);o.tag=2,t!=null&&(o.callback=t),t=An(e,o,r),t!==null&&(Ct(t,e,r,n),Ks(t,e,r))}};function dm(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!pi(n,r)||!pi(o,i):!0}function ng(e,t,n){var r=!1,o=Rn,i=t.contextType;return typeof i=="object"&&i!==null?i=ct(i):(o=$e(t)?sr:_e.current,r=t.contextTypes,i=(r=r!=null)?Jr(e,o):Rn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Da,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function mm(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Da.enqueueReplaceState(t,t.state,null)}function Lc(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},hf(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=ct(i):(i=$e(t)?sr:_e.current,o.context=Jr(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Ac(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Da.enqueueReplaceState(o,o.state,null),ha(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function ro(e,t){try{var n="",r=t;do n+=bx(r),r=r.return;while(r);var o=n}catch(i){o=`
7Error generating stack: `+i.message+`
8`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Qu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Dc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var uw=typeof WeakMap=="function"?WeakMap:Map;function rg(e,t,n){n=Xt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){wa||(wa=!0,jc=r),Dc(e,t)},n}function og(e,t,n){n=Xt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Dc(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Dc(e,t),typeof r!="function"&&(Ln===null?Ln=new Set([this]):Ln.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function hm(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new uw;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Tw.bind(null,e,t,n),t.then(e,e))}function gm(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function ym(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Xt(-1,1),t.tag=2,An(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var cw=nn.ReactCurrentOwner,Ue=!1;
vendor: 10,465 bytes, line 8
8function Ie(e,t,n,r){t.child=e===null?Nh(t,null,n,r):to(t,e.child,n,r)}function vm(e,t,n,r,o){n=n.render;var i=t.ref;return Yr(t,o),r=wf(e,t,n,r,i,o),n=Sf(),e!==null&&!Ue?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,tn(e,t,o)):(Q&&n&&lf(t),t.flags|=1,Ie(e,t,r,o),t.child)}function xm(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Df(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,ig(e,t,i,r,o)):(e=Js(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:pi,n(s,r)&&e.ref===t.ref)return tn(e,t,o)}return t.flags|=1,e=_n(i,r),e.ref=t.ref,e.return=t,t.child=e}function ig(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(pi(i,r)&&e.ref===t.ref)if(Ue=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Ue=!0);else return t.lanes=e.lanes,tn(e,t,o)}return _c(e,t,n,r,o)}function sg(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},U($r,Qe),Qe|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,U($r,Qe),Qe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,U($r,Qe),Qe|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,U($r,Qe),Qe|=r;return Ie(e,t,o,n),t.child}function ag(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _c(e,t,n,r,o){var i=$e(n)?sr:_e.current;return i=Jr(t,i),Yr(t,o),n=wf(e,t,n,r,i,o),r=Sf(),e!==null&&!Ue?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,tn(e,t,o)):(Q&&r&&lf(t),t.flags|=1,Ie(e,t,n,o),t.child)}function wm(e,t,n,r,o){if($e(n)){var i=!0;ca(t)}else i=!1;if(Yr(t,o),t.stateNode===null)Ys(e,t),ng(t,n,r),Lc(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=ct(u):(u=$e(n)?sr:_e.current,u=Jr(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&mm(t,s,r,u),wn=!1;var p=t.memoizedState;s.state=p,ha(t,r,s,o),l=t.memoizedState,a!==r||p!==l||He.current||wn?(typeof c=="function"&&(Ac(t,n,c,r),l=t.memoizedState),(a=wn||dm(t,n,a,r,p,l,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Ih(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:wt(t.type,a),s.props=u,f=t.pendingProps,p=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=ct(l):(l=$e(n)?sr:_e.current,l=Jr(t,l));var g=n.getDerivedStateFromProps;(c=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||p!==l)&&mm(t,s,r,l),wn=!1,p=t.memoizedState,s.state=p,ha(t,r,s,o);var y=t.memoizedState;a!==f||p!==y||He.current||wn?(typeof g=="function"&&(Ac(t,n,g,r),y=t.memoizedState),(u=wn||dm(t,n,u,r,p,y,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,y,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,y,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),s.props=r,s.state=y,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Nc(e,t,n,r,i,o)}function Nc(e,t,n,r,o,i){ag(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&im(t,n,!1),tn(e,t,i);r=t.stateNode,cw.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=to(t,e.child,null,i),t.child=to(t,null,a,i)):Ie(e,t,a,i),t.memoizedState=r.state,o&&im(t,n,!0),t.child}function lg(e){var t=e.stateNode;t.pendingContext?om(e,t.pendingContext,t.pendingContext!==t.context):t.context&&om(e,t.context,!1),gf(e,t.containerInfo)}function Sm(e,t,n,r,o){return eo(),cf(o),t.flags|=256,Ie(e,t,n,r),t.child}var Rc={dehydrated:null,treeContext:null,retryLane:0};function Ic(e){return{baseLanes:e,cachePool:null,transitions:null}}function ug(e,t,n){var r=t.pendingProps,o=ee.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),U(ee,o&1),e===null)return Mc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=s):i=Ra(s,r,0,null),e=ir(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Ic(n),t.memoizedState=Rc,e):Cf(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return fw(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return(s&1)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=_n(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=_n(a,i):(i=ir(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Ic(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Rc,r}return i=e.child,e=i.sibling,r=_n(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Cf(e,t){return t=Ra({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function js(e,t,n,r){return r!==null&&cf(r),to(t,e.child,null,n),e=Cf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function fw(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Qu(Error(T(422))),js(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Ra({mode:"visible",children:r.children},o,0,null),i=ir(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&to(t,e.child,null,s),t.child.memoizedState=Ic(s),t.memoizedState=Rc,i);if((t.mode&1)===0)return js(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(T(419)),r=Qu(i,r,void 0),js(e,t,s,r)}if(a=(s&e.childLanes)!==0,Ue||a){if(r=Se,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(r.suspendedLanes|s))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,en(e,o),Ct(r,e,o,-1))}return Lf(),r=Qu(Error(T(421))),js(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Cw.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ye=Vn(o.nextSibling),Xe=t,Q=!0,kt=null,e!==null&&(st[at++]=Qt,st[at++]=Yt,st[at++]=ar,Qt=e.id,Yt=e.overflow,ar=t),t=Cf(t,r.children),t.flags|=4096,t)}function km(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Vc(e.return,t,n)}function Yu(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function cg(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ie(e,t,r.children,n),r=ee.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&km(e,n,t);else if(e.tag===19)km(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(U(ee,r),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&ga(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Yu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&ga(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Yu(t,!0,n,null,i);break;case"together":Yu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ys(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function tn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ur|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(T(153));if(t.child!==null){for(e=t.child,n=_n(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=_n(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function pw(e,t,n){switch(t.tag){case 3:lg(t),eo();break;case 5:Oh(t);break;case 1:$e(t.type)&&ca(t);break;case 4:gf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;U(da,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(U(ee,ee.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?ug(e,t,n):(U(ee,ee.current&1),e=tn(e,t,n
vendor: 4,124 bytes, line 8
8),e!==null?e.sibling:null);U(ee,ee.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return cg(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),U(ee,ee.current),r)break;return null;case 22:case 23:return t.lanes=0,sg(e,t,n)}return tn(e,t,n)}var fg,Oc,pg,dg;fg=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Oc=function(){};pg=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,rr(zt.current);var i=null;switch(n){case"input":o=oc(e,o),r=oc(e,r),i=[];break;case"select":o=ne({},o,{value:void 0}),r=ne({},r,{value:void 0}),i=[];break;case"textarea":o=ac(e,o),r=ac(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=la)}uc(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ii.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=o?.[u],r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ii.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&K("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};dg=function(e,t,n,r){n!==r&&(t.flags|=4)};function Uo(e,t){if(!Q)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Le(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function dw(e,t,n){var r=t.pendingProps;switch(uf(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Le(t),null;case 1:return $e(t.type)&&ua(),Le(t),null;case 3:return r=t.stateNode,no(),G(He),G(_e),vf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Fs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,kt!==null&&(Hc(kt),kt=null))),Oc(e,t),Le(t),null;case 5:yf(t);var o=rr(yi.current);if(n=t.type,e!==null&&t.stateNode!=null)pg(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(T(166));return Le(t),null}if(e=rr(zt.current),Fs(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[It]=t,r[hi]=i,e=(t.mode&1)!==0,n){case"dialog":K("cancel",r),K("close",r);break;case"iframe":case"object":case"embed":K("load",r);break;case"video":case"audio":for(o=0;o<Qo.length;o++)K(Qo[o],r);break;case"source":K("error",r);break;case"img":case"image":case"link":K("error",r),K("load",r);break;case"details":K("toggle",r);break;case"input":Ld(r,i),K("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},K("invalid",r);break;case"textarea":_d(r,i),K("invalid",r)}uc(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];
vendor: 4,531 bytes, line 8
8s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&bs(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&bs(r.textContent,a,e),o=["children",""+a]):ii.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&K("scroll",r)}switch(n){case"input":Es(r),Dd(r,i,!0);break;case"textarea":Es(r),Nd(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=la)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=jm(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[It]=t,e[hi]=r,fg(e,t,!1,!1),t.stateNode=e;e:{switch(s=cc(n,r),n){case"dialog":K("cancel",e),K("close",e),o=r;break;case"iframe":case"object":case"embed":K("load",e),o=r;break;case"video":case"audio":for(o=0;o<Qo.length;o++)K(Qo[o],e);o=r;break;case"source":K("error",e),o=r;break;case"img":case"image":case"link":K("error",e),K("load",e),o=r;break;case"details":K("toggle",e),o=r;break;case"input":Ld(e,r),o=oc(e,r),K("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ne({},r,{value:void 0}),K("invalid",e);break;case"textarea":_d(e,r),o=ac(e,r),K("invalid",e);break;default:o=r}uc(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?Hm(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Wm(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&si(e,l):typeof l=="number"&&si(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(ii.hasOwnProperty(i)?l!=null&&i==="onScroll"&&K("scroll",e):l!=null&&Kc(e,i,l,s))}switch(n){case"input":Es(e),Dd(e,r,!1);break;case"textarea":Es(e),Nd(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Nn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?qr(e,!!r.multiple,i,!1):r.defaultValue!=null&&qr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=la)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Le(t),null;case 6:if(e&&t.stateNode!=null)dg(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(T(166));if(n=rr(yi.current),rr(zt.current),Fs(t)){if(r=t.stateNode,n=t.memoizedProps,r[It]=t,(i=r.nodeValue!==n)&&(e=Xe,e!==null))switch(e.tag){case 3:bs(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&bs(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[It]=t,t.stateNode=r}return Le(t),null;case 13:if(G(ee),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Q&&Ye!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Dh(),eo(),t.flags|=98560,i=!1;else if(i=Fs(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(T(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(T(317));i[It]=t}else eo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Le(t),i=!1}else kt!==null&&(Hc(kt),kt=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(ee.current&1)!==0?ge===0&&(ge=3):Lf())),t.updateQueue!==null&&(t.flags|=4),Le(t),null);case 4:return no(),Oc(e,t),e===null&&di(t.stateNode.containerInfo),Le(t),null;case 10:return df(t.type._context),Le(t),null;case 17:return $e(t.type)&&ua(),Le(t),null;case 19:if(G(ee),i=t.memoizedState,i===null)return Le(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)Uo(i,!1);else{if(ge!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=ga(e),s!==null){for(t.flags|=128,Uo(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deleti
vendor: 15,035 bytes, line 8
8ons=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return U(ee,ee.current&1|2),t.child}e=e.sibling}i.tail!==null&&ce()>oo&&(t.flags|=128,r=!0,Uo(i,!1),t.lanes=4194304)}else{if(!r)if(e=ga(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Uo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Q)return Le(t),null}else 2*ce()-i.renderingStartTime>oo&&n!==1073741824&&(t.flags|=128,r=!0,Uo(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ce(),t.sibling=null,n=ee.current,U(ee,r?n&1|2:n&1),t):(Le(t),null);case 22:case 23:return Af(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Qe&1073741824)!==0&&(Le(t),t.subtreeFlags&6&&(t.flags|=8192)):Le(t),null;case 24:return null;case 25:return null}throw Error(T(156,t.tag))}function mw(e,t){switch(uf(t),t.tag){case 1:return $e(t.type)&&ua(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return no(),G(He),G(_e),vf(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return yf(t),null;case 13:if(G(ee),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(T(340));eo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return G(ee),null;case 4:return no(),null;case 10:return df(t.type._context),null;case 22:case 23:return Af(),null;case 24:return null;default:return null}}var Ws=!1,De=!1,hw=typeof WeakSet=="function"?WeakSet:Set,A=null;function Hr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ae(e,t,r)}else n.current=null}function zc(e,t,n){try{n()}catch(r){ae(e,t,r)}}var Tm=!1;function gw(e,t){if(wc=ia,e=vh(),af(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,f=e,p=null;t:for(;;){for(var g;f!==n||o!==0&&f.nodeType!==3||(a=s+o),f!==i||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(g=f.firstChild)!==null;)p=f,f=g;for(;;){if(f===e)break t;if(p===n&&++u===o&&(a=s),p===i&&++c===r&&(l=s),(g=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=g}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Sc={focusedElem:e,selectionRange:n},ia=!1,A=t;A!==null;)if(t=A,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,A=e;else for(;A!==null;){t=A;try{var y=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var x=y.memoizedProps,S=y.memoizedState,m=t.stateNode,d=m.getSnapshotBeforeUpdate(t.elementType===t.type?x:wt(t.type,x),S);m.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(T(163))}}catch(v){ae(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,A=e;break}A=t.return}return y=Tm,Tm=!1,y}function ni(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&zc(t,n,i)}o=o.next}while(o!==r)}}function _a(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function bc(e){var t=e.ref;if(t!==null){var n=e.stateNode;e.tag,e=n,typeof t=="function"?t(e):t.current=e}}function mg(e){var t=e.alternate;t!==null&&(e.alternate=null,mg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[It],delete t[hi],delete t[Cc],delete t[Z1],delete t[J1])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function hg(e){return e.tag===5||e.tag===3||e.tag===4}function Cm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Fc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=la));else if(r!==4&&(e=e.child,e!==null))for(Fc(e,t,n),e=e.sibling;e!==null;)Fc(e,t,n),e=e.sibling}function Bc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Bc(e,t,n),e=e.sibling;e!==null;)Bc(e,t,n),e=e.sibling}var Te=null,St=!1;function vn(e,t,n){for(n=n.child;n!==null;)gg(e,t,n),n=n.sibling}function gg(e,t,n){if(Ot&&typeof Ot.onCommitFiberUnmount=="function")try{Ot.onCommitFiberUnmount(Ca,n)}catch{}switch(n.tag){case 5:De||Hr(n,t);case 6:var r=Te,o=St;Te=null,vn(e,t,n),Te=r,St=o,Te!==null&&(St?(e=Te,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Te.removeChild(n.stateNode));break;case 18:Te!==null&&(St?(e=Te,n=n.stateNode,e.nodeType===8?Uu(e.parentNode,n):e.nodeType===1&&Uu(e,n),ci(e)):Uu(Te,n.stateNode));break;case 4:r=Te,o=St,Te=n.stateNode.containerInfo,St=!0,vn(e,t,n),Te=r,St=o;break;case 0:case 11:case 14:case 15:if(!De&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&((i&2)!==0||(i&4)!==0)&&zc(n,t,s),o=o.next}while(o!==r)}vn(e,t,n);break;case 1:if(!De&&(Hr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ae(n,t,a)}vn(e,t,n);break;case 21:vn(e,t,n);break;case 22:n.mode&1?(De=(r=De)||n.memoizedState!==null,vn(e,t,n),De=r):vn(e,t,n);break;default:vn(e,t,n)}}function Pm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new hw),t.forEach(function(r){var o=Pw.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function xt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Te=a.stateNode,St=!1;break e;case 3:Te=a.stateNode.containerInfo,St=!0;break e;case 4:Te=a.stateNode.containerInfo,St=!0;break e}a=a.return}if(Te===null)throw Error(T(160));gg(i,s,o),Te=null,St=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){ae(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)yg(t,e),t=t.sibling}function yg(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(xt(t,e),Nt(e),r&4){try{ni(3,e,e.return),_a(3,e)}catch(x){ae(e,e.return,x)}try{ni(5,e,e.return)}catch(x){ae(e,e.return,x)}}break;case 1:xt(t,e),Nt(e),r&512&&n!==null&&Hr(n,n.return);break;case 5:if(xt(t,e),Nt(e),r&512&&n!==null&&Hr(n,n.return),e.flags&32){var o=e.stateNode;try{si(o,"")}catch(x){ae(e,e.return,x)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&Fm(o,i),cc(a,s);var u=cc(a,i);for(s=0;s<l.length;s+=2){var c=l[s],f=l[s+1];c==="style"?Hm(o,f):c==="dangerouslySetInnerHTML"?Wm(o,f):c==="children"?si(o,f):Kc(o,c,f,u)}switch(a){case"input":ic(o,i);break;case"textarea":Bm(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var g=i.value;g!=null?qr(o,!!i.multiple,g,!1):p!==!!i.multiple&&(i.defaultValue!=null?qr(o,!!i.multiple,i.defaultValue,!0):qr(o,!!i.multiple,i.multiple?[]:"",!1))}o[hi]=i}catch(x){ae(e,e.return,x)}}break;case 6:if(xt(t,e),Nt(e),r&4){if(e.stateNode===null)throw Error(T(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(x){ae(e,e.return,x)}}break;case 3:if(xt(t,e),Nt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ci(t.containerInfo)}catch(x){ae(e,e.return,x)}break;case 4:xt(t,e),Nt(e);break;case 13:xt(t,e),Nt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Mf=ce())),r&4&&Pm(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(De=(u=De)||c,xt(t,e),De=u):xt(t,e),Nt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&(e.mode&1)!==0)for(A=e,c=e.child;c!==null;){for(f=A=c;A!==null;){switch(p=A,g=p.child,p.tag){case 0:case 11:case 14:case 15:ni(4,p,p.return);break;case 1:Hr(p,p.return);var y=p.stateNode;if(typeof y.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(x){ae(r,n,x)}}break;case 5:Hr(p,p.return);break;case 22:if(p.memoizedState!==null){Mm(f);continue}}g!==null?(g.return=p,A=g):Mm(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{o=f.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Um("display",s))}catch(x){ae(e,e.return,x)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(x){ae(e,e.return,x)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:xt(t,e),Nt(e),r&4&&Pm(e);break;case 21:break;default:xt(t,e),Nt(e)}}function Nt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(hg(n)){var r=n;break e}n=n.return}throw Error(T(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(si(o,""),r.flags&=-33);var i=Cm(e);Bc(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Cm(e);Fc(e,a,s);break;default:throw Error(T(161))}}catch(l){ae(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function yw(e,t,n){A=e,vg(e,t,n)}function vg(e,t,n){for(var r=(e.mode&1)!==0;A!==null;){var o=A,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||Ws;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||De;a=Ws;var u=De;if(Ws=s,(De=l)&&!u)for(A=o;A!==null;)s=A,l=s.child,s.tag===22&&s.memoizedState!==null?Vm(o):l!==null?(l.return=s,A=l):Vm(o);for(;i!==null;)A=i,vg(i,t,n),i=i.sibling;A=o,Ws=a,De=u}Em(e,t,n)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,A=i):Em(e,t,n)}}function Em(e){for(;A!==null;){var t=A;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:De||_a(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!De)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:wt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&cm(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}cm(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&ci(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(T(163))}De||t.flags&512&&bc(t)}catch(p){ae(t,t.return,p)}}if(t===e){A=null;break}if(n=t.sibling,n!==null){n.return=t.return,A=n;break}A=t.return}}function Mm(e){for(;A!==null;){var t=A;if(t===e){A=null;break}var n=t.sibling;if(n!==null){n.return=t.return,A=n;break}A=t.return}}function Vm(e){for(;A!==null;){var t=A;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{_a(4,t)}catch(l){ae(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){ae(t,o,l)}}var i=t.return;try{bc(t)}catch(l){ae(t,i,l)}break;case 5:var s=t.return;try{bc(t)}catch(l){ae(t,s,l)}}}catch(l){ae(t,t.return,l)}if(t===e){A=null;break}var a=t.sibling;if(a!==null){a.return=t.return,A=a;break}A=t.return}}var vw=Math.ceil,xa=nn.ReactCurrentDispatcher,Pf=nn.ReactCurrentOwner,ut=nn.ReactCurrentBatchConfig,z=0,Se=null,pe=null,Ce=0,Qe=0,$r=On(0),ge=0,Si=null,ur=0,Na=0,Ef=0,ri=null,We=null,Mf=0,oo=1/0,Kt=null,wa=!1,jc=null,Ln=null,Us=!1,Cn=null,Sa=0,oi=0,Wc=null,Xs=-1,Zs=0;function Oe(){return(z&6)!==0?ce():Xs!==-1?Xs:Xs=ce()}function Dn(e){return(e.mode&1)===0?1:(z&2)!==0&&Ce!==0?Ce&-Ce:tw.transition!==null?(Zs===0&&(Zs=nh()),Zs):(e=B,e!==0||(e=window.event,e=e===void 0?16:uh(e.type)),e)}function Ct(e,t,n,r){if(50<oi)throw oi=0,Wc=null,Error(T(185));ki(e,n,r),((z&2)===0||e!==Se)&&(e===Se&&((z&2)===0&&(Na|=n),ge===4&&kn(e,Ce)),qe(e,r),n===1&&z===0&&(t.mode&1)===0&&(oo=ce()+500,Aa&&zn()))}function qe(e,t){var n=e.callbackNode;r1(e,t);var r=oa(e,e===Se?Ce:0);if(r===0)n!==null&&Od(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Od(n),t===1)e.tag===0?ew(Am.bind(null,e)):Vh(Am.bind(null,e)),Y1(function(){(z&6)===0&&zn()}),n=null;else{switch(rh(r)){case 1:n=Zc;break;case 4:n=eh;break;case 16:n=ra;break;case 536870912:n=th;break;default:n=ra}n=Eg(n,xg.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function xg(e,t){if(Xs=-1,Zs=0,(z&6)!==0)throw Error(T(327));var n=e.callbackNode;if(Xr()&&e.callbackNode!==n)return null;var r=oa(e,e===Se?Ce:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=ka(e,r);else{t=r;var o=z;z|=2;var i=Sg();(Se!==e||Ce!==t)&&(Kt=null,oo=ce()+500,or(e,t));do try{Sw();break}catch(a){wg(e,a)}while(!0);pf(),xa.current=i,z=o,pe!==null?t=0:(Se=null,Ce=0,t=ge)}if(t!==0){if(t===2&&(o=hc(e),o!==0&&(r=o,t=Uc(e,o))),t===1)throw n=Si,or(e,0),kn(e,r),qe(e,ce()),n;if(t===6)kn(e,r);else{if(o=e.current.alternate,(r&30)===0&&!xw(o)&&(t=ka(e,r),t===2&&(i=hc(e),i!==0&&(r=i,t=Uc(e,i))),t===1))throw n=Si,or(e,0),kn(e,r),qe(e,ce()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(T(345));case 2:er(e,We,Kt);break;case 3:if(kn(e,r),(r&130023424)===r&&(t=Mf+500-ce(),10<t)){if(oa(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Oe(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Tc(er.bind(null,e,We,Kt),t);break}er(e,We,Kt);break;case 4:if(kn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-Tt(r);
vendor: 4,903 bytes, line 8
8i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=ce()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vw(r/1960))-r,10<r){e.timeoutHandle=Tc(er.bind(null,e,We,Kt),r);break}er(e,We,Kt);break;case 5:er(e,We,Kt);break;default:throw Error(T(329))}}}return qe(e,ce()),e.callbackNode===n?xg.bind(null,e):null}function Uc(e,t){var n=ri;return e.current.memoizedState.isDehydrated&&(or(e,t).flags|=256),e=ka(e,t),e!==2&&(t=We,We=n,t!==null&&Hc(t)),e}function Hc(e){We===null?We=e:We.push.apply(We,e)}function xw(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Pt(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function kn(e,t){for(t&=~Ef,t&=~Na,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Tt(t),r=1<<n;e[n]=-1,t&=~r}}function Am(e){if((z&6)!==0)throw Error(T(327));Xr();var t=oa(e,0);if((t&1)===0)return qe(e,ce()),null;var n=ka(e,t);if(e.tag!==0&&n===2){var r=hc(e);r!==0&&(t=r,n=Uc(e,r))}if(n===1)throw n=Si,or(e,0),kn(e,t),qe(e,ce()),n;if(n===6)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,er(e,We,Kt),qe(e,ce()),null}function Vf(e,t){var n=z;z|=1;try{return e(t)}finally{z=n,z===0&&(oo=ce()+500,Aa&&zn())}}function cr(e){Cn!==null&&Cn.tag===0&&(z&6)===0&&Xr();var t=z;z|=1;var n=ut.transition,r=B;try{if(ut.transition=null,B=1,e)return e()}finally{B=r,ut.transition=n,z=t,(z&6)===0&&zn()}}function Af(){Qe=$r.current,G($r)}function or(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Q1(n)),pe!==null)for(n=pe.return;n!==null;){var r=n;switch(uf(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ua();break;case 3:no(),G(He),G(_e),vf();break;case 5:yf(r);break;case 4:no();break;case 13:G(ee);break;case 19:G(ee);break;case 10:df(r.type._context);break;case 22:case 23:Af()}n=n.return}if(Se=e,pe=e=_n(e.current,null),Ce=Qe=t,ge=0,Si=null,Ef=Na=ur=0,We=ri=null,nr!==null){for(t=0;t<nr.length;t++)if(n=nr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}nr=null}return e}function wg(e,t){do{var n=pe;try{if(pf(),Gs.current=va,ya){for(var r=te.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}ya=!1}if(lr=0,we=he=te=null,ti=!1,vi=0,Pf.current=null,n===null||n.return===null){ge=1,Si=t,pe=null;break}e:{var i=e,s=n.return,a=n,l=t;if(t=Ce,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,f=c.tag;if((c.mode&1)===0&&(f===0||f===11||f===15)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var g=gm(s);if(g!==null){g.flags&=-257,ym(g,s,a,i,t),g.mode&1&&hm(i,u,t),t=g,l=u;var y=t.updateQueue;if(y===null){var x=new Set;x.add(l),t.updateQueue=x}else y.add(l);break e}else{if((t&1)===0){hm(i,u,t),Lf();break e}l=Error(T(426))}}else if(Q&&a.mode&1){var S=gm(s);if(S!==null){(S.flags&65536)===0&&(S.flags|=256),ym(S,s,a,i,t),cf(ro(l,a));break e}}i=l=ro(l,a),ge!==4&&(ge=2),ri===null?ri=[i]:ri.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=rg(i,l,t);um(i,m);break e;case 1:a=l;var d=i.type,h=i.stateNode;if((i.flags&128)===0&&(typeof d.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Ln===null||!Ln.has(h)))){i.flags|=65536,t&=-t,i.lanes|=t;var v=og(i,a,t);um(i,v);break e}}i=i.return}while(i!==null)}Tg(n)}catch(k){t=k,pe===n&&n!==null&&(pe=n=n.return);continue}break}while(!0)}function Sg(){var e=xa.current;return xa.current=va,e===null?va:e}function Lf(){(ge===0||ge===3||ge===2)&&(ge=4),Se===null||(ur&268435455)===0&&(Na&268435455)===0||kn(Se,Ce)}function ka(e,t){var n=z;z|=2;var r=Sg();(Se!==e||Ce!==t)&&(Kt=null,or(e,t));do try{ww();break}catch(o){wg(e,o)}while(!0);if(pf(),z=n,xa.current=r,pe!==null)throw Error(T(261));return Se=null,Ce=0,ge}function ww(){for(;pe!==null;)kg(pe)}function Sw(){for(;pe!==null&&!Gx();)kg(pe)}function kg(e){var t=Pg(e.alternate,e,Qe);e.memoizedProps=e.pendingProps,t===null?Tg(e):pe=t,Pf.current=null}function Tg(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=dw(n,t,Qe),n!==null){pe=n;return}}else{if(n=mw(n,t),n!==null){n.flags&=32767,pe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ge=6,pe=null;return}}if(t=t.sibling,t!==null){pe=t;return}pe=t=e}while(t!==null);ge===0&&(ge=5)}function er(e,t,n){var r=B,o=ut.transition;try{ut.transition=null,B=1,kw(e,t,n,r)}finally{ut.transition=o,B=r}return null}function kw(e,t,n,r){do Xr();while(Cn!==null);if((z&6)!==0)throw Error(T(327));
vendor: 4,614 bytes, line 8
8n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(T(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(o1(e,i),e===Se&&(pe=Se=null,Ce=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||Us||(Us=!0,Eg(ra,function(){return Xr(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=ut.transition,ut.transition=null;var s=B;B=1;var a=z;z|=4,Pf.current=null,gw(e,n),yg(n,e),H1(Sc),ia=!!wc,Sc=wc=null,e.current=n,yw(n,e,o),Qx(),z=a,B=s,ut.transition=i}else e.current=n;if(Us&&(Us=!1,Cn=e,Sa=o),i=e.pendingLanes,i===0&&(Ln=null),Zx(n.stateNode,r),qe(e,ce()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(wa)throw wa=!1,e=jc,jc=null,e;return(Sa&1)!==0&&e.tag!==0&&Xr(),i=e.pendingLanes,(i&1)!==0?e===Wc?oi++:(oi=0,Wc=e):oi=0,zn(),null}function Xr(){if(Cn!==null){var e=rh(Sa),t=ut.transition,n=B;try{if(ut.transition=null,B=16>e?16:e,Cn===null)var r=!1;else{if(e=Cn,Cn=null,Sa=0,(z&6)!==0)throw Error(T(331));var o=z;for(z|=4,A=e.current;A!==null;){var i=A,s=i.child;if((A.flags&16)!==0){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(A=u;A!==null;){var c=A;switch(c.tag){case 0:case 11:case 15:ni(8,c,i)}var f=c.child;if(f!==null)f.return=c,A=f;else for(;A!==null;){c=A;var p=c.sibling,g=c.return;if(mg(c),c===u){A=null;break}if(p!==null){p.return=g,A=p;break}A=g}}}var y=i.alternate;if(y!==null){var x=y.child;if(x!==null){y.child=null;do{var S=x.sibling;x.sibling=null,x=S}while(x!==null)}}A=i}}if((i.subtreeFlags&2064)!==0&&s!==null)s.return=i,A=s;else e:for(;A!==null;){if(i=A,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:ni(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,A=m;break e}A=i.return}}var d=e.current;for(A=d;A!==null;){s=A;var h=s.child;if((s.subtreeFlags&2064)!==0&&h!==null)h.return=s,A=h;else e:for(s=d;A!==null;){if(a=A,(a.flags&2048)!==0)try{switch(a.tag){case 0:case 11:case 15:_a(9,a)}}catch(k){ae(a,a.return,k)}if(a===s){A=null;break e}var v=a.sibling;if(v!==null){v.return=a.return,A=v;break e}A=a.return}}if(z=o,zn(),Ot&&typeof Ot.onPostCommitFiberRoot=="function")try{Ot.onPostCommitFiberRoot(Ca,e)}catch{}r=!0}return r}finally{B=n,ut.transition=t}}return!1}function Lm(e,t,n){t=ro(n,t),t=rg(e,t,1),e=An(e,t,1),t=Oe(),e!==null&&(ki(e,1,t),qe(e,t))}function ae(e,t,n){if(e.tag===3)Lm(e,e,n);else for(;t!==null;){if(t.tag===3){Lm(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ln===null||!Ln.has(r))){e=ro(n,e),e=og(t,e,1),t=An(t,e,1),e=Oe(),t!==null&&(ki(t,1,e),qe(t,e));break}}t=t.return}}function Tw(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Oe(),e.pingedLanes|=e.suspendedLanes&n,Se===e&&(Ce&n)===n&&(ge===4||ge===3&&(Ce&130023424)===Ce&&500>ce()-Mf?or(e,0):Ef|=n),qe(e,t)}function Cg(e,t){t===0&&((e.mode&1)===0?t=1:(t=As,As<<=1,(As&130023424)===0&&(As=4194304)));var n=Oe();e=en(e,t),e!==null&&(ki(e,t,n),qe(e,n))}function Cw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Cg(e,n)}function Pw(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(T(314))}r!==null&&r.delete(t),Cg(e,n)}var Pg;Pg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||He.current)Ue=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Ue=!1,pw(e,t,n);Ue=(e.flags&131072)!==0}else Ue=!1,Q&&(t.flags&1048576)!==0&&Ah(t,pa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ys(e,t),e=t.pendingProps;var o=Jr(t,_e.current);Yr(t,n),o=wf(null,t,r,e,o,n);var i=Sf();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,$e(r)?(i=!0,ca(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,hf(t),o.updater=Da,t.stateNode=o,o._reactInternals=t,Lc(t,r,e,n),t=Nc(null,t,r,!0,i,n)):(t.tag=0,Q&&i&&lf(t),Ie(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ys(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Mw(r),e=wt(r,e),o){case 0:t=_c(null,t,r,e,n);break e;case 1:t=wm(null,t,r,e,n);break e;case 11:t=vm(null,t,r,e,n);break e;case 14:t=xm(null,t,r,wt(r.type,e),n);break e}throw Error(T(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:wt(r,o),_c(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:wt(r,o),wm(e,t,r,o,n);case 3:e:{if(lg(t),e===null)throw Error(T(387));
vendor: 5,687 bytes, line 8
8r=t.pendingProps,i=t.memoizedState,o=i.element,Ih(e,t),ha(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=ro(Error(T(423)),t),t=Sm(e,t,r,n,o);break e}else if(r!==o){o=ro(Error(T(424)),t),t=Sm(e,t,r,n,o);break e}else for(Ye=Vn(t.stateNode.containerInfo.firstChild),Xe=t,Q=!0,kt=null,n=Nh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(eo(),r===o){t=tn(e,t,n);break e}Ie(e,t,r,n)}t=t.child}return t;case 5:return Oh(t),e===null&&Mc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,kc(r,o)?s=null:i!==null&&kc(r,i)&&(t.flags|=32),ag(e,t),Ie(e,t,s,n),t.child;case 6:return e===null&&Mc(t),null;case 13:return ug(e,t,n);case 4:return gf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=to(t,null,r,n):Ie(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:wt(r,o),vm(e,t,r,o,n);case 7:return Ie(e,t,t.pendingProps,n),t.child;case 8:return Ie(e,t,t.pendingProps.children,n),t.child;case 12:return Ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,U(da,r._currentValue),r._currentValue=s,i!==null)if(Pt(i.value,s)){if(i.children===o.children&&!He.current){t=tn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Xt(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Vc(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(T(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Vc(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ie(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Yr(t,n),o=ct(o),r=r(o),t.flags|=1,Ie(e,t,r,n),t.child;case 14:return r=t.type,o=wt(r,t.pendingProps),o=wt(r.type,o),xm(e,t,r,o,n);case 15:return ig(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:wt(r,o),Ys(e,t),t.tag=1,$e(r)?(e=!0,ca(t)):e=!1,Yr(t,n),ng(t,r,o),Lc(t,r,o,n),Nc(null,t,r,!0,e,n);case 19:return cg(e,t,n);case 22:return sg(e,t,n)}throw Error(T(156,t.tag))};function Eg(e,t){return Jm(e,t)}function Ew(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lt(e,t,n,r){return new Ew(e,t,n,r)}function Df(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Mw(e){if(typeof e=="function")return Df(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Qc)return 11;if(e===Yc)return 14}return 2}function _n(e,t){var n=e.alternate;return n===null?(n=lt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Js(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")Df(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Ir:return ir(n.children,o,i,t);case Gc:s=8,o|=8;break;case ec:return e=lt(12,n,t,o|2),e.elementType=ec,e.lanes=i,e;case tc:return e=lt(13,n,t,o),e.elementType=tc,e.lanes=i,e;case nc:return e=lt(19,n,t,o),e.elementType=nc,e.lanes=i,e;case Om:return Ra(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Rm:s=10;break e;case Im:s=9;break e;case Qc:s=11;break e;case Yc:s=14;break e;case xn:s=16,r=null;break e}throw Error(T(130,e==null?e:typeof e,""))}return t=lt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function ir(e,t,n,r){return e=lt(7,e,r,t),e.lanes=n,e}function Ra(e,t,n,r){return e=lt(22,e,r,t),e.elementType=Om,e.lanes=n,e.stateNode={isHidden:!1},e}function Xu(e,t,n){return e=lt(6,e,null,t),e.lanes=n,e}function Zu(e,t,n){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Vw(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Iu(0),this.expirationTimes=Iu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Iu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function _f(e,t,n,r,o,i,s,a,l){return e=new Vw(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=lt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},hf(i),e}
vendor: 7,608 bytes, line 8
8function Aw(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Rr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Mg(e){if(!e)return Rn;e=e._reactInternals;e:{if(pr(e)!==e||e.tag!==1)throw Error(T(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if($e(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(T(171))}if(e.tag===1){var n=e.type;if($e(n))return Mh(e,n,t)}return t}function Vg(e,t,n,r,o,i,s,a,l){return e=_f(n,r,!0,e,o,i,s,a,l),e.context=Mg(null),n=e.current,r=Oe(),o=Dn(n),i=Xt(r,o),i.callback=t??null,An(n,i,o),e.current.lanes=o,ki(e,o,r),qe(e,r),e}function Ia(e,t,n,r){var o=t.current,i=Oe(),s=Dn(o);return n=Mg(n),t.context===null?t.context=n:t.pendingContext=n,t=Xt(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=An(o,t,s),e!==null&&(Ct(e,o,s,i),Ks(e,o,s)),s}function Ta(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function Dm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Nf(e,t){Dm(e,t),(e=e.alternate)&&Dm(e,t)}function Lw(){return null}var Ag=typeof reportError=="function"?reportError:function(e){console.error(e)};function Rf(e){this._internalRoot=e}Oa.prototype.render=Rf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(T(409));Ia(e,t,null,null)};Oa.prototype.unmount=Rf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;cr(function(){Ia(null,e,null,null)}),t[Jt]=null}};function Oa(e){this._internalRoot=e}Oa.prototype.unstable_scheduleHydration=function(e){if(e){var t=sh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Sn.length&&t!==0&&t<Sn[n].priority;n++);Sn.splice(n,0,e),n===0&&lh(e)}};function If(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function za(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function _m(){}function Dw(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=Ta(s);i.call(u)}}var s=Vg(t,r,e,0,null,!1,!1,"",_m);return e._reactRootContainer=s,e[Jt]=s.current,di(e.nodeType===8?e.parentNode:e),cr(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=Ta(l);a.call(u)}}var l=_f(e,0,!1,null,null,!1,!1,"",_m);return e._reactRootContainer=l,e[Jt]=l.current,di(e.nodeType===8?e.parentNode:e),cr(function(){Ia(t,l,n,r)}),l}function ba(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var l=Ta(s);a.call(l)}}Ia(t,s,e,o)}else s=Dw(n,t,e,o,r);return Ta(s)}oh=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Go(t.pendingLanes);n!==0&&(Jc(t,n|1),qe(t,ce()),(z&6)===0&&(oo=ce()+500,zn()))}break;case 13:cr(function(){var r=en(e,1);if(r!==null){var o=Oe();Ct(r,e,1,o)}}),Nf(e,1)}};ef=function(e){if(e.tag===13){var t=en(e,134217728);if(t!==null){var n=Oe();Ct(t,e,134217728,n)}Nf(e,134217728)}};ih=function(e){if(e.tag===13){var t=Dn(e),n=en(e,t);if(n!==null){var r=Oe();Ct(n,e,t,r)}Nf(e,t)}};sh=function(){return B};ah=function(e,t){var n=B;try{return B=e,t()}finally{B=n}};pc=function(e,t,n){switch(t){case"input":if(ic(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Va(r);if(!o)throw Error(T(90));bm(r),ic(r,o)}}}break;case"textarea":Bm(e,n);break;case"select":t=n.value,t!=null&&qr(e,!!n.multiple,t,!1)}};Km=Vf;Gm=cr;var _w={usingClientEntryPoint:!1,Events:[Ci,Fr,Va,$m,qm,Vf]},Ho={findFiberByHostInstance:tr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Nw={bundleType:Ho.bundleType,version:Ho.version,rendererPackageName:Ho.rendererPackageName,rendererConfig:Ho.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:nn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Xm(e),e===null?null:e.stateNode},findFiberByHostInstance:Ho.findFiberByHostInstance||Lw,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&($o=__REACT_DEVTOOLS_GLOBAL_HOOK__,!$o.isDisabled&&$o.supportsFiber))try{Ca=$o.inject(Nw),Ot=$o}catch{}var $o;et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_w;et.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!If(t))throw Error(T(200));return Aw(e,t,null,n)};et.createRoot=function(e,t){if(!If(e))throw Error(T(299));var n=!1,r="",o=Ag;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=_f(e,1,!1,null,null,n,!1,r,o),e[Jt]=t.current,di(e.nodeType===8?e.parentNode:e),new Rf(t)};et.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(T(188)):(e=Object.keys(e).join(","),Error(T(268,e)));return e=Xm(t),e=e===null?null:e.stateNode,e};et.flushSync=function(e){return cr(e)};et.hydrate=function(e,t,n){if(!za(t))throw Error(T(200));return ba(null,e,t,!0,n)};et.hydrateRoot=function(e,t,n){if(!If(e))throw Error(T(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=Ag;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Vg(t,null,e,1,n??null,o,!1,i,s),e[Jt]=t.current,di(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Oa(t)};et.render=function(e,t,n){if(!za(t))throw Error(T(200));return ba(null,e,t,!1,n)};et.unmountComponentAtNode=function(e){if(!za(e))throw Error(T(40));return e._reactRootContainer?(cr(function(){ba(null,null,e,!1,function(){e._reactRootContainer=null,e[Jt]=null})}),!0):!1};et.unstable_batchedUpdates=Vf;et.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!za(n))throw Error(T(200));if(e==null||e._reactInternals===void 0)throw Error(T(38));return ba(e,t,n,!1,r)};et.version="18.3.1-next-f1338f8080-20240426"});var Ng=qt((FT,_g)=>{"use strict";function Dg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Dg)}catch(e){console.error(e)}}Dg(),_g.exports=Lg()});var Ig=qt(Of=>{"use strict";var Rg=Ng();Of.createRoot=Rg.createRoot,Of.hydrateRoot=Rg.hydrateRoot;var BT});var zg=qt(Fa=>{"use strict";var Rw=q(),Iw=Symbol.for("react.element"),Ow=Symbol.for("react.fragment"),zw=Object.prototype.hasOwnProperty,bw=Rw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Fw={key:!0,ref:!0,__self:!0,__source:!0};function Og(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)zw.call(t,r)&&!Fw.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);
8return{$$typeof:Iw,type:e,key:i,ref:s,props:o,_owner:bw.current}}Fa.Fragment=Ow;Fa.jsx=Og;Fa.jsxs=Og});var be=qt((UT,bg)=>{"use strict";bg.exports=zg()});var ox=R(Ig());var rn=R(q());var Fg=R(be());function ao({href:e,children:t,...n}){return(0,Fg.jsx)("a",{href:e,...n,children:t})}function Ei(){if(typeof window>"u")return"en";try{let e=(navigator.languages&&navigator.languages.length?navigator.languages:[navigator.language||""]).map(n=>n.toLowerCase());for(let n of e){if(n.startsWith("nl"))return"nl";if(n.startsWith("de"))return"de";if(n.startsWith("fr"))return"fr";if(n.startsWith("en"))return"en"}let t=Intl.DateTimeFormat().resolvedOptions().timeZone||"";return t==="Europe/Amsterdam"||t==="Europe/Brussels"||t==="Europe/Curacao"||t==="America/Curacao"||t==="America/Aruba"?"nl":t==="Europe/Berlin"||t==="Europe/Vienna"||t==="Europe/Zurich"||t==="Europe/Luxembourg"?"de":t==="Europe/Paris"||t==="Europe/Monaco"||t==="Africa/Casablanca"||t==="Africa/Algiers"||t==="Africa/Tunis"?"fr":(t.startsWith("Europe/")||t.startsWith("America/")||t.startsWith("Pacific/")||t.startsWith("Australia/"),"en")}catch{return"en"}}var H=R(be()),Bg="senly-cookie-consent",jg="senly-lang",Bw={nl:{aria:"Cookiemelding",title:"We gebruiken cookies",text:"We gebruiken cookies om je ervaring te verbeteren, verkeer te analyseren en relevante content te tonen.",privacy:"Privacybeleid",decline:"Alleen noodzakelijk",accept:"Accepteren"},en:{aria:"Cookie notice",title:"We use cookies",text:"We use cookies to improve your experience, analyse traffic and show relevant content.",privacy:"Privacy policy",decline:"Only essential",accept:"Accept"},de:{aria:"Cookie-Hinweis",title:"Wir verwenden Cookies",text:"Wir verwenden Cookies, um dein Erlebnis zu verbessern, den Traffic zu analysieren und relevante Inhalte anzuzeigen.",privacy:"Datenschutz",decline:"Nur notwendige",accept:"Akzeptieren"},fr:{aria:"Avis sur les cookies",title:"Nous utilisons des cookies",text:"Nous utilisons des cookies pour am\xE9liorer votre exp\xE9rience, analyser le trafic et proposer du contenu pertinent.",privacy:"Politique de confidentialit\xE9",decline:"Essentiels uniquement",accept:"Accepter"}};function Wg(){let[e,t]=(0,rn.useState)(!1),[n,r]=(0,rn.useState)(!1),[o,i]=(0,rn.useState)("en"),[s,a]=(0,rn.useState)(!1);(0,rn.useEffect)(()=>{try{a(window.location.pathname.startsWith("/signup"))}catch{}},[]),(0,rn.useEffect)(()=>{try{let c=localStorage.getItem(jg);i(c==="nl"||c==="en"||c==="de"||c==="fr"?c:Ei())}catch{i(Ei())}localStorage.getItem(Bg)||t(!0)},[]),(0,rn.useEffect)(()=>{function c(f){if(f.key===jg&&f.newValue){let p=f.newValue;(p==="nl"||p==="en"||p==="de"||p==="fr")&&i(p)}}return window.addEventListener("storage",c),()=>window.removeEventListener("storage",c)},[]);function l(c){r(!0),setTimeout(()=>{localStorage.setItem(Bg,c),window.dispatchEvent(new CustomEvent("senly:cookie-consent")),t(!1)},320)}if(!e)return null;let u=Bw[o];return s?(0,H.jsx)("div",{className:`ck-bar${n?" ck-bar--out":""}`,role:"region","aria-label":u.aria,style:{left:14,right:"auto",bottom:10,transform:"none",width:"auto",maxWidth:"min(320px, calc(100vw - 28px))",borderRadius:16},children:(0,H.jsxs)("div",{className:"ck-bar-inner",style:{display:"flex",flexDirection:"column",gap:8,padding:"12px 14px"},children:[(0,H.jsxs)("div",{style:{display:"flex",alignItems:"baseline",gap:8,flexWrap:"wrap"},children:[(0,H.jsx)("h3",{className:"ck-bar-title",style:{margin:0,fontSize:13.5},children:u.title}),(0,H.jsx)(ao,{href:"/privacyverklaring",className:"ck-bar-link",style:{fontSize:12},children:u.privacy})]}),(0,H.jsxs)("div",{className:"ck-bar-actions",style:{gap:8},children:[(0,H.jsx)("button",{type:"button",className:"ck-bar-btn-decline",style:{padding:"7px 12px",fontSize:12.5,borderRadius:9},onClick:()=>l("minimal"),children:u.decline}),(0,H.jsx)("button",{type:"button",className:"ck-bar-btn-accept",style:{padding:"7px 12px",fontSize:12.5,borderRadius:9},onClick:()=>l("accepted"),children:u.accept})]})]})}):(0,H.jsx)("div",{className:`ck-bar${n?" ck-bar--out":""}`,role:"region","aria-label":u.aria,children:(0,H.jsxs)("div",{className:"ck-bar-inner",children:[(0,H.jsxs)("div",{className:"ck-bar-top",children:[(0,H.jsx)("div",{className:"ck-bar-icon",children:(0,H.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,H.jsx)("path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5"}),(0,H.jsx)("path",{d:"M8.5 8.5h.01M15 9.5h.01M8 14h.01M13.5 14.5h.01M16 13h.01"})]})}),(0,H.jsxs)("div",{className:"ck-bar-copy",children:[(0,H.jsx)("h3",{className:"ck-bar-title",children:u.title}),(0,H.jsx)("p",{className:"ck-bar-text",children:u.text}),(0,H.jsxs)(ao,{href:"/privacyverklaring",className:"ck-bar-link",children:[u.privacy,(0,H.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,H.jsx)("path",{d:"M7 17 17 7M8 7h9v9"})})]})]})]}),(0,H.jsxs)("div",{className:"ck-bar-actions",children:[(0,H.jsx)("button",{type:"button",className:"ck-bar-btn-decline",onClick:()=>l("minimal"),children:u.decline}),(0,H.jsx)("button",{type:"button",className:"ck-bar-btn-accept",onClick:()=>
8l("accepted"),children:u.accept})]})]})})}var $t=R(q());var Ug=R(q(),1),Ba=(0,Ug.createContext)({});var Hg=R(q(),1);function $g(e){let t=(0,Hg.useRef)(null);return t.current===null&&(t.current=e()),t.current}var ja=R(q(),1);var qg=typeof window<"u";var Kg=qg?ja.useLayoutEffect:ja.useEffect;var Gg=R(q(),1),lo=(0,Gg.createContext)(null);function dr(e,t){e.indexOf(t)===-1&&e.push(t)}function bn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var ye=(e,t,n)=>n>t?t:n<e?e:n;var on=()=>{},pt=()=>{};var Fe={};var Mi=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Vi(e){return typeof e=="object"&&e!==null}var Ai=e=>/^0[^.\s]+$/u.test(e);function Li(e){let t;return()=>(t===void 0&&(t=e()),t)}var re=e=>e;var jw=(e,t)=>n=>t(e(n)),Et=(...e)=>e.reduce(jw);var bt=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r};var sn=class{constructor(){this.subscriptions=[]}add(t){return dr(this.subscriptions,t),()=>bn(this.subscriptions,t)}notify(t,n,r){let o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i<o;i++){let s=this.subscriptions[i];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var fe=e=>e*1e3,ke=e=>e/1e3;function Di(e,t){return t?e*(1e3/t):0}var Qg=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Ww=1e-7,Uw=12;function Hw(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=Qg(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>Ww&&++a<Uw);return s}function Fn(e,t,n,r){if(e===t&&n===r)return re;let o=i=>Hw(i,0,1,e,n);return i=>i===0||i===1?i:Qg(o(i),t,r)}var Wa=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var Ua=e=>t=>1-e(1-t);var Ha=Fn(.33,1.53,.69,.99),uo=Ua(Ha),_i=Wa(uo);var Ni=e=>e>=1?1:(e*=2)<1?.5*uo(e):.5*(2-Math.pow(2,-10*(e-1)));var Ri=e=>1-Math.sin(Math.acos(e)),Ii=Ua(Ri),Oi=Wa(Ri);var zf=Fn(.42,0,1,1),bf=Fn(0,0,.58,1),zi=Fn(.42,0,.58,1);var Ff=e=>Array.isArray(e)&&typeof e[0]!="number";var bi=e=>Array.isArray(e)&&typeof e[0]=="number";var Yg={linear:re,easeIn:zf,easeInOut:zi,easeOut:bf,circIn:Ri,circInOut:Oi,circOut:Ii,backIn:uo,backInOut:_i,backOut:Ha,anticipate:Ni},$w=e=>typeof e=="string",$a=e=>{if(bi(e)){pt(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,n,r,o]=e;return Fn(t,n,r,o)}else if($w(e))return pt(Yg[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Yg[e];return e};var Fi=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var tt={value:null,addProjectionMetrics:null};function Xg(e,t){let n=new Set,r=new Set,o=!1,i=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(f){s.has(f)&&(c.schedule(f),e()),l++,f(a)}let c={schedule:(f,p=!1,g=!1)=>{let x=g&&o?n:r;return p&&s.add(f),x.add(f),f},cancel:f=>{r.delete(f),s.delete(f)},process:f=>{if(a=f,o){i=!0;return}o=!0;let p=n;n=r,r=p,n.forEach(u),t&&tt.value&&tt.value.frameloop[t].push(l),l=0,n.clear(),o=!1,i&&(i=!1,c.process(f))}};return c}var qw=40;function qa(e,t){let n=!1,r=!0,o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=Fi.reduce((h,v)=>(h[v]=Xg(i,t?v:void 0),h),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:p,render:g,postRender:y}=s,x=()=>{let h=Fe.useManualTiming,v=h?o.timestamp:performance.now();n=!1,h||(o.delta=r?1e3/60:Math.max(Math.min(v-o.timestamp,qw),1)),o.timestamp=v,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),f.process(o),p.process(o),g.process(o),y.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(x))},S=()=>{n=!0,r=!0,o.isProcessing||e(x)};return{schedule:Fi.reduce((h,v)=>{let k=s[v];return h[v]=(E,M=!1,C=!1)=>(n||S(),k.schedule(E,M,C)),h},{}),cancel:h=>{for(let v=0;v<Fi.length;v++)s[Fi[v]].cancel(h)},state:o,steps:s}}var{schedule:D,cancel:Ke,state:le,steps:Bi}=qa(typeof requestAnimationFrame<"u"?requestAnimationFrame:re,!0);var Ka;function Kw(){Ka=void 0}var oe={now:()=>(Ka===void 0&&oe.set(le.isProcessing||Fe.useManualTiming?le.timestamp:performance.now()),Ka),set:e=>{Ka=e,queueMicrotask(Kw)}};var Ft={layout:0,mainThread:0,waapi:0};var Zg=e=>t=>typeof t=="string"&&t.startsWith(e),Ga=Zg("--"),Gw=Zg("var(--"),co=e=>Gw(e)?Qw.test(e.split("/*")[0].trim()):!1,Qw=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Bf(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}var Bt={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},an={...Bt,transform:e=>ye(0,1,e)},ji={...Bt,default:1};var Bn=e=>Math.round(e*1e5)/1e5;var fo=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Jg(e){return e==null}var ey=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var po=(e,t)=>n=>!!(typeof n=="string"&&ey.test(n)&&n.startsWith(e)||t&&!Jg(n)&&Object.prototype.hasOwnProperty.call(n,t)),Qa=(e,t,n)=>r=>{if(typeof r!="string")return r;let[o,i,s,a]=r.match(fo);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}};var Yw=e=>ye(0,255,e),jf={...Bt,transform:e=>Math.round(Yw(e))},jt={test:po("rgb","red"),parse:Qa("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+jf.transform(e)+", "+jf.transform(t)+", "+jf.transform(n)+", "+Bn(an.transform(r))+")"};function Xw(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
8a:o?parseInt(o,16)/255:1}}var Wi={test:po("#"),parse:Xw,transform:jt.transform};var Ui=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Mt=Ui("deg"),Ne=Ui("%"),V=Ui("px"),Wf=Ui("vh"),Uf=Ui("vw"),Ya={...Ne,parse:e=>Ne.parse(e)/100,transform:e=>Ne.transform(e*100)};var jn={test:po("hsl","hue"),parse:Qa("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ne.transform(Bn(t))+", "+Ne.transform(Bn(n))+", "+Bn(an.transform(r))+")"};var Y={test:e=>jt.test(e)||Wi.test(e)||jn.test(e),parse:e=>jt.test(e)?jt.parse(e):jn.test(e)?jn.parse(e):Wi.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?jt.transform(e):jn.transform(e),getAnimatableNone:e=>{let t=Y.parse(e);return t.alpha=0,Y.transform(t)}};var ty=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Zw(e){return isNaN(e)&&typeof e=="string"&&(e.match(fo)?.length||0)+(e.match(ty)?.length||0)>0}var ry="number",oy="color",Jw="var",eS="var(",ny="${}",tS=/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 Wn(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[],i=0,a=t.replace(tS,l=>(Y.test(l)?(r.color.push(i),o.push(oy),n.push(Y.parse(l))):l.startsWith(eS)?(r.var.push(i),o.push(Jw),n.push(l)):(r.number.push(i),o.push(ry),n.push(parseFloat(l))),++i,ny)).split(ny);return{values:n,split:a,indexes:r,types:o}}function nS(e){return Wn(e).values}function iy({split:e,types:t}){let n=e.length;return r=>{let o="";for(let i=0;i<n;i++)if(o+=e[i],r[i]!==void 0){let s=t[i];s===ry?o+=Bn(r[i]):s===oy?o+=Y.transform(r[i]):o+=r[i]}return o}}function rS(e){return iy(Wn(e))}var oS=e=>typeof e=="number"?0:Y.test(e)?Y.getAnimatableNone(e):e,iS=(e,t)=>typeof e=="number"?t?.trim().endsWith("/")?e:0:oS(e);function sS(e){let t=Wn(e);return iy(t)(t.values.map((r,o)=>iS(r,t.split[o])))}var ve={test:Zw,parse:nS,createTransformer:rS,getAnimatableNone:sS};function Hf(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function sy({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,s=0;if(!t)o=i=s=n;else{let a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=Hf(l,a,e+1/3),i=Hf(l,a,e),s=Hf(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}function mo(e,t){return n=>n>0?t:e}var N=(e,t,n)=>e+(t-e)*n;var $f=(e,t,n)=>{let r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},aS=[Wi,jt,jn],lS=e=>aS.find(t=>t.test(e));function ay(e){let t=lS(e);if(on(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===jn&&(n=sy(n)),n}var qf=(e,t)=>{let n=ay(e),r=ay(t);if(!n||!r)return mo(e,t);let o={...n};return i=>(o.red=$f(n.red,r.red,i),o.green=$f(n.green,r.green,i),o.blue=$f(n.blue,r.blue,i),o.alpha=N(n.alpha,r.alpha,i),jt.transform(o))};var Xa=new Set(["none","hidden"]);function ly(e,t){return Xa.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function uS(e,t){return n=>N(e,t,n)}function Za(e){return typeof e=="number"?uS:typeof e=="string"?co(e)?mo:Y.test(e)?qf:pS:Array.isArray(e)?uy:typeof e=="object"?Y.test(e)?qf:cS:mo}function uy(e,t){let n=[...e],r=n.length,o=e.map((i,s)=>Za(i)(i,t[s]));return i=>{for(let s=0;s<r;s++)n[s]=o[s](i);return n}}function cS(e,t){let n={...e,...t},r={};for(let o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=Za(e[o])(e[o],t[o]));return o=>{for(let i in r)n[i]=r[i](o);return n}}function fS(e,t){let n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let i=t.types[o],s=e.indexes[i][r[i]],a=e.values[s]??0;n[o]=a,r[i]++}return n}var pS=(e,t)=>{let n=ve.createTransformer(t),r=Wn(e),o=Wn(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Xa.has(e)&&!o.values.length||Xa.has(t)&&!r.values.length?ly(e,t):Et(uy(fS(r,o),o.values),n):(on(!0,`Complex values '${e}' and '${t}
8' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),mo(e,t))};function Ja(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?N(e,t,n):Za(e)(e,t)}var cy=e=>{let t=({timestamp:n})=>e(n);return{start:(n=!0)=>D.update(t,n),stop:()=>Ke(t),now:()=>le.isProcessing?le.timestamp:oe.now()}};var el=(e,t,n=10)=>{let r="",o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=Math.round(e(i/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`};function ho(e){let t=0,n=50,r=e.next(t);for(;!r.done&&t<2e4;)t+=n,r=e.next(t);return t>=2e4?1/0:t}function fy(e,t=100,n){let r=n({...e,keyframes:[0,t]}),o=Math.min(ho(r),2e4);return{type:"keyframes",ease:i=>r.next(o*i).value/t,duration:ke(o)}}var ie={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};function Qf(e,t){return e*Math.sqrt(1-t*t)}var dS=12;function mS(e,t,n){let r=n;for(let o=1;o<dS;o++)r=r-e(r)/t(r);return r}var Gf=.001;function hS({duration:e=ie.duration,bounce:t=ie.bounce,velocity:n=ie.velocity,mass:r=ie.mass}){let o,i;on(e<=fe(ie.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=ye(ie.minDamping,ie.maxDamping,s),e=ye(ie.minDuration,ie.maxDuration,ke(e)),s<1?(o=u=>{let c=u*s,f=c*e,p=c-n,g=Qf(u,s),y=Math.exp(-f);return Gf-p/g*y},i=u=>{let f=u*s*e,p=f*n+n,g=Math.pow(s,2)*Math.pow(u,2)*e,y=Math.exp(-f),x=Qf(Math.pow(u,2),s);return(-o(u)+Gf>0?-1:1)*((p-g)*y)/x}):(o=u=>{let c=Math.exp(-u*e),f=(u-n)*e+1;return-Gf+c*f},i=u=>{let c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});let a=5/e,l=mS(o,i,a);if(e=fe(e),isNaN(l))return{stiffness:ie.stiffness,damping:ie.damping,duration:e};{let u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}var gS=["duration","bounce"],yS=["stiffness","damping","mass"];function py(e,t){return t.some(n=>e[n]!==void 0)}function vS(e){let t={velocity:ie.velocity,stiffness:ie.stiffness,damping:ie.damping,mass:ie.mass,isResolvedFromDuration:!1,...e};if(!py(e,yS)&&py(e,gS))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,i=2*ye(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:ie.mass,stiffness:o,damping:i}}else{let n=hS({...e,velocity:0});t={...t,...n,mass:ie.mass},t.isResolvedFromDuration=!0}return t}function go(e=ie.visualDuration,t=ie.bounce){let n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:r,restDelta:o}=n,i=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:f,velocity:p,isResolvedFromDuration:g}=vS({...n,velocity:-ke(n.velocity||0)}),y=p||0,x=u/(2*Math.sqrt(l*c)),S=s-i,m=ke(Math.sqrt(l/c)),d=Math.abs(S)<5;r||(r=d?ie.restSpeed.granular:ie.restSpeed.default),o||(o=d?ie.restDelta.granular:ie.restDelta.default);let h,v,k,E,M,C;if(x<1)k=Qf(m,x),E=(y+x*m*S)/k,h=P=>{let b=Math.exp(-x*m*P);return s-b*(E*Math.sin(k*P)+S*Math.cos(k*P))},M=x*m*E+S*k,C=x*m*S-E*k,v=P=>Math.exp(-x*m*P)*(M*Math.sin(k*P)+C*Math.cos(k*P));else if(x===1){h=b=>s-Math.exp(-m*b)*(S+(y+m*S)*b);let P=y+m*S;v=b=>Math.exp(-m*b)*(m*P*b-y)}else{let P=m*Math.sqrt(x*x-1);h=Ge=>{let je=Math.exp(-x*m*Ge),me=Math.min(P*Ge,300);return s-je*((y+x*m*S)*Math.sinh(me)+P*S*Math.cosh(me))/P};let b=(y+x*m*S)/P,se=x*m*b-S*P,Lt=x*m*S-b*P;v=Ge=>{let je=Math.exp(-x*m*Ge),me=Math.min(P*Ge,300);return je*(se*Math.sinh(me)+Lt*Math.cosh(me))}}let _={calculatedDuration:g&&f||null,velocity:P=>fe(v(P)),next:P=>{if(!g&&x<1){let se=Math.exp(-x*m*P),Lt=Math.sin(k*P),Ge=Math.cos(k*P),je=s-se*(E*Lt+S*Ge),me=fe(se*(M*Lt+C*Ge));return a.done=Math.abs(me)<=r&&Math.abs(s-je)<=o,a.value=a.done?s:je,a}let b=h(P);if(g)a.done=P>=f;else{let se=fe(v(P));a.done=Math.abs(se)<=r&&Math.abs(s-b)<=o}return a.value=a.done?s:b,a},toString:()=>{let P=Math.min(ho(_),2e4),b=el(se=>_.next(P*se).value,P,30);return P+"ms "+b},toTransition:()=>{}};return _}go.applyToOptions=e=>{let t=fy(e,100,go);return e.ease=t.ease,e.duration=fe(t.duration),e.type="keyframes",e};var xS=5;function tl(e,t,n){let r=Math.max(t-xS,0);return Di(n-e(r),t-r)}function Hi({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let f=e[0],p={done:!1,value:f},g=C=>a!==void 0&&C<a||l!==void 0&&C>l,y=C=>a===void 0?l:l===void 0||Math.abs(a-C)<Math.abs(l-C)?a:l,x=n*t,S=f+x,m=s===void 0?S:s(S);m!==S&&(x=m-f);let d=C=>-x*Math.exp(-C/r),h=C=>m+d(C),v=C=>{let _=d(C),P=h(C);p.done=Math.abs(_)<=u,p.value=p.done?m:P},k,E,M=C=>{g(p.value)&&(k=C,E=go({keyframes:[p.value,y(p.value)],velocity:tl(h,C,p.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return M(0),{calculatedDuration:null,next:C=>{let _=!1;return!E&&k===void 0&&(_=!0,v(C),M(C)),k!==void 0&&C>=k?E.next(C-k):(!_&&v(C),p)}}}function wS(e,t,n){let r=[],o=n||Fe.mix||Ja,i=e.length-1;for(let s=0;s<i;s++){let a=o(e[s],e[s+1]);if(t){let l=Array.isArray(t)?t[s]||re:t;a=Et(l,a)}r.push(a)}return r}function dy(e,t,{clamp:n=!0,ease:r,mixer:o}={}){let i=e.length;if(pt(i===t.length,"Both input and output ranges must be the same length","range-length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=wS(t,r,o),l=a.length,u=c=>{if(s&&c<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(c<e[f+1]);f++);let p=bt(e[f],e[f+1],c);return a[f](p)};return n?c=>u(ye(e[0],e[i-1],c)):u}function my(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let o=bt(0,t,r);e.push(N(n,1,o))}}function hy(e){let t=[0];return my(t,e.length-1),t}function gy(e,t){return e.map(n=>n*t)}function SS(e,t){return e.map(()=>t||zi).splice(0,e.length-1)}function mr({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let o=Ff(r)?r.map($a):$a(r),i={done:!1,value:t[0]},s=gy(n&&n.length===t.length?n:hy(t),e),a=dy(s,t,{ease:Array.isArray(o)?o:SS(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}var kS=e=>e!==null;function Un(e,{repeat:t,repeatType:n="loop"},r,o=1){let i=e.filter(kS),a=o<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}
8var TS={decay:Hi,inertia:Hi,tween:mr,keyframes:mr,spring:go};function nl(e){typeof e.type=="string"&&(e.type=TS[e.type])}var Hn=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}};var CS=e=>e/100,ln=class extends Hn{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:n}=this.options;n&&n.updatedAt!==oe.now()&&this.tick(oe.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},Ft.mainThread++,this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;nl(t);let{type:n=mr,repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=t,{keyframes:a}=t,l=n||mr;l!==mr&&typeof a[0]!="number"&&(this.mixKeyframes=Et(CS,Ja(a[0],a[1])),a=[0,100]);let u=l({...t,keyframes:a});i==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),u.calculatedDuration===null&&(u.calculatedDuration=ho(u));let{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=u}updateTime(t){let n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){let{generator:r,totalDuration:o,mixKeyframes:i,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);let{delay:u=0,keyframes:c,repeat:f,repeatType:p,repeatDelay:g,type:y,onUpdate:x,finalKeyframe:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);let m=this.currentTime-u*(this.playbackSpeed>=0?1:-1),d=this.playbackSpeed>=0?m<0:m>o;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let h=this.currentTime,v=r;if(f){let C=Math.min(this.currentTime,o)/a,_=Math.floor(C),P=C%1;!P&&C>=1&&(P=1),P===1&&_--,_=Math.min(_,f+1),_%2&&(p==="reverse"?(P=1-P,g&&(P-=g/a)):p==="mirror"&&(v=s)),h=ye(0,1,P)*a}let k;d?(this.delayState.value=c[0],k=this.delayState):k=v.next(h),i&&!d&&(k.value=i(k.value));let{done:E}=k;!d&&l!==null&&(E=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);let M=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return M&&y!==Hi&&(k.value=Un(c,this.options,S,this.speed)),x&&x(k.value),M&&this.finish(),k}then(t,n){return this.finished.then(t,n)}get duration(){return ke(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+ke(t)}get time(){return ke(this.currentTime)}set time(t){t=fe(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let n=this.generator.next(t).value;return tl(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){let n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(oe.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=ke(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=cy,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),this.options.onPlay?.();let r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(oe.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,Ft.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}};function yy(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var hr=e=>e*180/Math.PI,Yf=e=>{let t=hr(Math.atan2(e[1],e[0]));return Xf(t)},PS={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Yf,rotateZ:Yf,skewX:e=>hr(Math.atan(e[1])),skewY:e=>hr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Xf=e=>(e=e%360,e<0&&(e+=360),e),vy=Yf,xy=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),wy=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ES={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:xy,scaleY:wy,scale:e=>(xy(e)+wy(e))/2,rotateX:e=>Xf(hr(Math.atan2(e[6],e[5]))),rotateY:e=>Xf(hr(Math.atan2(-e[2],e[0]))),rotateZ:vy,rotate:vy,skewX:e=>hr(Math.atan(e[4])),skewY:e=>hr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function rl(e){return e.includes("scale")?1:0}function ol(e,t){if(!e||e==="none")return rl(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,o;if(n)r=ES,o=n;else{let a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=PS,o=a}if(!o)return rl(t);let i=r[t],s=o[1].split(",").map(MS);return typeof i=="function"?i(s):s[i]}var Sy=(e,t)=>{let{transform:n="none"}=getComputedStyle(e);return ol(n,t)};function MS(e){return parseFloat(e.trim())}var Wt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],dt=new Set(Wt);var Zf=e=>e===Bt||e===V,VS=new Set(["x","y","z"]),AS=Wt.filter(e=>!VS.has(e));function ky(e){let t=[];
8return AS.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}var un={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{let o=e.max-e.min;return r==="border-box"?o:o-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{let o=e.max-e.min;return r==="border-box"?o:o-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>ol(t,"x"),y:(e,{transform:t})=>ol(t,"y")};un.translateX=un.x;un.translateY=un.y;var gr=new Set,Jf=!1,ep=!1,tp=!1;function Ty(){if(ep){let e=Array.from(gr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{let o=ky(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();let o=n.get(r);o&&o.forEach(([i,s])=>{r.getValue(i)?.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}ep=!1,Jf=!1,gr.forEach(e=>e.complete(tp)),gr.clear()}function Cy(){gr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ep=!0)})}function Py(){tp=!0,Cy(),Ty(),tp=!1}var $n=class{constructor(t,n,r,o,i,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(gr.add(this),Jf||(Jf=!0,D.read(Cy),D.resolveKeyframes(Ty))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;if(t[0]===null){let i=o?.get(),s=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){let a=r.readValue(n,s);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=s),o&&i===void 0&&o.set(t[0])}yy(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),gr.delete(this)}cancel(){this.state==="scheduled"&&(gr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};var Ey=e=>e.startsWith("--");function il(e,t,n){Ey(t)?e.style.setProperty(t,n):e.style[t]=n}var My={};function sl(e,t){let n=Li(e);return()=>My[t]??n()}var Vy=sl(()=>window.ScrollTimeline!==void 0,"scrollTimeline");var al=sl(()=>{try{document.createElement("div").animate({opacity:0}
8,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var yr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`;var np={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:yr([0,.65,.55,1]),circOut:yr([.55,0,1,.45]),backIn:yr([.31,.01,.66,-.59]),backOut:yr([.33,1.53,.69,.99])};function rp(e,t){if(e)return typeof e=="function"?al()?el(e,t):"ease-out":bi(e)?yr(e):Array.isArray(e)?e.map(n=>rp(n,t)||np.easeOut):np[e]}function Ay(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u=void 0){let c={[t]:n};l&&(c.offset=l);let f=rp(a,o);Array.isArray(f)&&(c.easing=f),tt.value&&Ft.waapi++;let p={delay:r,duration:o,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"};u&&(p.pseudoElement=u);let g=e.animate(c,p);return tt.value&&g.finished.finally(()=>{Ft.waapi--}),g}function ll(e){return typeof e=="function"&&"applyToOptions"in e}function Ly({type:e,...t}){return ll(e)&&al()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}var yo=class extends Hn{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:n,name:r,keyframes:o,pseudoElement:i,allowFlatten:s=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!i,this.allowFlatten=s,this.options=t,pt(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let u=Ly(t);this.animation=Ay(n,r,o,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let c=Un(o,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(c),il(n,r,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,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;let{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return ke(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+ke(t)}get time(){return ke(Number(this.animation.currentTime)||0)}set time(t){let n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=fe(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:o}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&Vy()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),re):o(this)}};var Dy={anticipate:Ni,backInOut:_i,circInOut:Oi};function LS(e){return e in Dy}function _y(e){typeof e.ease=="string"&&LS(e.ease)&&(e.ease=Dy[e.ease])}var op=10,ul=class extends yo{constructor(t){_y(t),nl(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:n,onUpdate:r,onComplete:o,element:i,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}let a=new ln({...s,autoplay:!1}),l=Math.max(op,oe.now()-this.startTime),u=ye(0,op,l-op),c=a.sample(l).value,{name:f}=this.options;i&&f&&il(i,f,c),n.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}};var ip=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ve.test(e)||e==="0")&&!e.startsWith("url("));function DS(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Ny(e,t,n,r){let o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;let i=e[e.length-1],s=ip(o,t),a=ip(i,t);return on(s===a,`You are trying to animate ${t} from "${o}" to "${i}". "${s?i:o}" is not an animatable value.`,"value-not-animatable"),!s||!a?!1:DS(e)||(n==="spring"||ll(n))&&r}function $i(e){e.duration=0,e.type="keyframes"}var cl=new Set(["opacity","clipPath","filter","transform"]);var _S=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Ry(e){for(let t=0;t<e.length;
8t++)if(typeof e[t]=="string"&&_S.test(e[t]))return!0;return!1}var NS=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),RS=Li(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Iy(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:s,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:u,transformTemplate:c}=t.owner.getProps();return RS()&&n&&(cl.has(n)||NS.has(n)&&Ry(a))&&(n!=="transform"||!c)&&!u&&!r&&o!=="mirror"&&i!==0&&s!=="inertia"}var IS=40,fl=class extends Hn{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",keyframes:a,name:l,motionValue:u,element:c,...f}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=oe.now();let p={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:i,repeatType:s,name:l,motionValue:u,element:c,...f},g=c?.KeyframeResolver||$n;this.keyframeResolver=new g(a,(y,x,S)=>this.onKeyframesResolved(y,x,p,!S),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,r,o){this.keyframeResolver=void 0;let{name:i,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=oe.now();let f=!0;Ny(t,i,s,a)||(f=!1,(Fe.instantAnimations||!l)&&c?.(Un(t,r,n)),t[0]=t[t.length-1],$i(r),r.repeat=0);let g={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>IS?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},y=f&&!u&&Iy(g),x=g.motionValue?.owner?.current,S;if(y)try{S=new ul({...g,element:x})}catch{S=new ln(g)}else S=new ln(g);S.finished.then(()=>{this.notifyFinished()}).catch(re),this.pendingTimeline&&(this.stopTimeline=S.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=S}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Py()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function pl(e,t,n,r=0,o=1){let i=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),s=e.size,a=(s-1)*r;return typeof n=="function"?n(i,s):o===1?i*r:a-i*r}var OS=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function zS(e){let t=OS.exec(e);if(!t)return[,];let[,n,r,o]=t;return[`--${n??r}`,o]}var bS=4;function sp(e,t,n=1){pt(n<=bS,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,o]=zS(e);if(!r)return;let i=window.getComputedStyle(t).getPropertyValue(r);if(i){let s=i.trim();return Mi(s)?parseFloat(s):s}return co(o)?sp(o,t,n+1):o}var FS={type:"spring",stiffness:500,damping:25,restSpeed:10},BS=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),jS={type:"keyframes",duration:.8},WS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Oy=(e,{keyframes:t})=>t.length>2?jS:dt.has(e)?e.startsWith("scale")?BS(t[1]):FS:WS;function dl(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function vo(e,t){let n=e?.[t]??e?.default??e;return n!==e?dl(n,e):n}var US=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function zy(e){for(let t in e)if(!US.has(t))return!0;return!1}var vr=(e,t,n,r={},o,i)=>s=>{let a=vo(r,e)||{},l=a.delay||r.delay||0,{elapsed:u=0}=r;u=u-fe(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:p=>{t.set(p),a.onUpdate&&a.onUpdate(p)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};zy(a)||Object.assign(c,Oy(e,c)),c.duration&&(c.duration=fe(c.duration)),c.repeatDelay&&(c.repeatDelay=fe(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&($i(c),c.delay===0&&(f=!0)),(Fe.instantAnimations||Fe.skipAnimations||o?.shouldSkipAnimations)&&(f=!0,$i(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!i&&t.get()!==void 0){let p=Un(c.keyframes,a);if(p!==void 0){D.update(()=>{c.onUpdate(p),c.onComplete()});return}}return a.isSync?new ln(c):new fl(c)};function by(e){let t=[{},{}];
8return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function xr(e,t,n,r){if(typeof t=="function"){let[o,i]=by(r);t=t(n!==void 0?n:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[o,i]=by(r);t=t(n!==void 0?n:e.custom,o,i)}return t}function nt(e,t,n){let r=e.getProps();return xr(r,t,n!==void 0?n:r.custom,e)}var ml=new Set(["width","height","top","left","right","bottom",...Wt]);var Fy=30,HS=e=>!isNaN(parseFloat(e)),By={current:void 0},ap=class{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{let o=oe.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=oe.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=HS(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new sn);let r=this.events[t].add(n);return t==="change"?()=>{r(),D.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return By.current&&By.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=oe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Fy)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,Fy);return Di(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Vt(e,t){return new ap(e,t)}var qi=e=>Array.isArray(e);function $S(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Vt(n))}function qS(e){return qi(e)?e[e.length-1]||0:e}function jy(e,t){let n=nt(e,t),{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(let s in i){let a=qS(i[s]);$S(e,s,a)}}var j=e=>!!(e&&e.getVelocity);function Wy(e){return!!(j(e)&&e.add)}function xo(e,t){let n=e.getValue("willChange");if(Wy(n))return n.add(t);if(!n&&Fe.WillChange){let r=new Fe.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function wo(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}var Uy="framerAppearId",Ki="data-"+wo(Uy);function hl(e){return e.props[Ki]}function KS({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function gl(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i,transitionEnd:s,...a}=t,l=e.getDefaultTransition();i=i?dl(i,l):l;let u=i?.reduceMotion;r&&(i=r);let c=[],f=o&&e.animationState&&e.animationState.getState()[o];for(let p in a){let g=e.getValue(p,e.latestValues[p]??null),y=a[p];if(y===void 0||f&&KS(f,p))continue;let x={delay:n,...vo(i||{},p)},S=g.get();if(S!==void 0&&!g.isAnimating()&&!Array.isArray(y)&&y===S&&!x.velocity){D.update(()=>
8g.set(y));continue}let m=!1;if(window.MotionHandoffAnimation){let v=hl(e);if(v){let k=window.MotionHandoffAnimation(v,p,D);k!==null&&(x.startTime=k,m=!0)}}xo(e,p);let d=u??e.shouldReduceMotion;g.start(vr(p,g,y,d&&ml.has(p)?{type:!1}:x,e,m));let h=g.animation;h&&c.push(h)}if(s){let p=()=>D.update(()=>{s&&jy(e,s)});c.length?Promise.all(c).then(p):p()}return c}function yl(e,t,n={}){let r=nt(e,t,n.type==="exit"?e.presenceContext?.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);let i=r?()=>Promise.all(gl(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{let{delayChildren:u=0,staggerChildren:c,staggerDirection:f}=o;return GS(e,t,l,u,c,f,n)}:()=>Promise.resolve(),{when:a}=o;if(a){let[l,u]=a==="beforeChildren"?[i,s]:[s,i];return l().then(()=>u())}else return Promise.all([i(),s(n.delay)])}function GS(e,t,n=0,r=0,o=0,i=1,s){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(yl(l,t,{...s,delay:n+(typeof r=="function"?0:r)+pl(e.variantChildren,l,r,o,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function Hy(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){let o=t.map(i=>yl(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=yl(e,t,n);else{let o=typeof t=="function"?nt(e,t,n.custom):t;r=Promise.all(gl(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}var $y={test:e=>e==="auto",parse:e=>e};var vl=e=>t=>t.test(e);var lp=[Bt,V,Ne,Mt,Uf,Wf,$y],up=e=>lp.find(vl(e));function qy(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Ai(e):!0}var QS=new Set(["brightness","contrast","saturate","opacity"]);function YS(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=n.match(fo)||[];
8if(!r)return e;let o=n.replace(r,""),i=QS.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}var XS=/\b([a-z-]*)\(.*?\)/gu,Gi={...ve,getAnimatableNone:e=>{let t=e.match(XS);return t?t.map(YS).join(" "):e}};var Qi={...ve,getAnimatableNone:e=>{let t=ve.parse(e);return ve.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}};var cp={...Bt,transform:Math.round};var Ky={rotate:Mt,rotateX:Mt,rotateY:Mt,rotateZ:Mt,scale:ji,scaleX:ji,scaleY:ji,scaleZ:ji,skew:Mt,skewX:Mt,skewY:Mt,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:an,originX:Ya,originY:Ya,originZ:V};var So={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,top:V,right:V,bottom:V,left:V,inset:V,insetBlock:V,insetBlockStart:V,insetBlockEnd:V,insetInline:V,insetInlineStart:V,insetInlineEnd:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,paddingBlock:V,paddingBlockStart:V,paddingBlockEnd:V,paddingInline:V,paddingInlineStart:V,paddingInlineEnd:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,marginBlock:V,marginBlockStart:V,marginBlockEnd:V,marginInline:V,marginInlineStart:V,marginInlineEnd:V,fontSize:V,backgroundPositionX:V,backgroundPositionY:V,...Ky,zIndex:cp,fillOpacity:an,strokeOpacity:an,numOctaves:cp};var ZS={...So,color:Y,backgroundColor:Y,outlineColor:Y,fill:Y,stroke:Y,borderColor:Y,borderTopColor:Y,borderRightColor:Y,borderBottomColor:Y,borderLeftColor:Y,filter:Gi,WebkitFilter:Gi,mask:Qi,WebkitMask:Qi},xl=e=>ZS[e];var JS=new Set([Gi,Qi]);function wl(e,t){let n=xl(e);return JS.has(n)||(n=ve),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var ek=new Set(["auto","none","0"]);function Gy(e,t,n){let r=0,o;for(;r<e.length&&!o;){let i=e[r];typeof i=="string"&&!ek.has(i)&&Wn(i).values.length&&(o=e[r]),r++}if(o&&n)for(let i of t)e[i]=wl(n,o)}var Sl=class extends $n{constructor(t,n,r,o,i){super(t,n,r,o,i,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let f=t[c];if(typeof f=="string"&&(f=f.trim(),co(f))){let p=sp(f,n.current);p!==void 0&&(t[c]=p),c===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!ml.has(r)||t.length!==2)return;let[o,i]=t,s=up(o),a=up(i),l=Bf(o),u=Bf(i);if(l!==u&&un[r]){this.needsMeasurement=!0;return}if(s!==a)if(Zf(s)&&Zf(a))for(let c=0;c<t.length;c++){let f=t[c];typeof f=="string"&&(t[c]=parseFloat(f))}else un[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||qy(t[o]))&&r.push(o);r.length&&Gy(t,r,n)}measureInitialState(){let{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=un[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;let o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){let{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);let i=r.length-1,s=r[i];r[i]=un[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
8h(([a,l])=>{t.getValue(a).set(l)}),this.resolveNoneKeyframes()}};function kl(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;t&&(r=t.current);let o=n?.[e]??r.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(r=>r!=null)}var Tl=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Qy(e){return Vi(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}var{schedule:wr,cancel:tk}=qa(queueMicrotask,!1);var mt={x:!1,y:!1};function Cl(){return mt.x||mt.y}function fp(e){return e==="x"||e==="y"?mt[e]?null:(mt[e]=!0,()=>{mt[e]=!1}):mt.x||mt.y?null:(mt.x=mt.y=!0,()=>{mt.x=mt.y=!1})}function Pl(e,t){let n=kl(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function nk(e){return!(e.pointerType==="touch"||Cl())}function pp(e,t,n={}){let[r,o,i]=Pl(e,n);return r.forEach(s=>{let a=!1,l=!1,u,c=()=>{s.removeEventListener("pointerleave",y)},f=S=>{u&&(u(S),u=void 0),c()},p=S=>{a=!1,window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",p),l&&(l=!1,f(S))},g=()=>{a=!0,window.addEventListener("pointerup",p,o),window.addEventListener("pointercancel",p,o)},y=S=>{if(S.pointerType!=="touch"){if(a){l=!0;return}f(S)}},x=S=>{if(!nk(S))return;l=!1;let m=t(s,S);typeof m=="function"&&(u=m,s.addEventListener("pointerleave",y,o))};s.addEventListener("pointerenter",x,o),s.addEventListener("pointerdown",g,o)}),i}var dp=(e,t)=>t?e===t?!0:dp(e,t.parentElement):!1;var Sr=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var rk=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function mp(e){return rk.has(e.tagName)||e.isContentEditable===!0}var ok=new Set(["INPUT","SELECT","TEXTAREA"]);function hp(e){return ok.has(e.tagName)||e.isContentEditable===!0}var ko=new WeakSet;function Yy(e){return t=>{t.key==="Enter"&&e(t)}}function gp(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var Xy=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=Yy(()=>{if(ko.has(n))return;gp(n,"down");let o=Yy(()=>{gp(n,"up")}),i=()=>gp(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Zy(e){return Sr(e)&&!Cl()}var Jy=new WeakSet;function yp(e,t,n={}){let[r,o,i]=Pl(e,n),s=a=>{let l=a.currentTarget;if(!Zy(a)||Jy.has(a))return;ko.add(l),n.stopPropagation&&Jy.add(a);let u=t(l,a),c=(g,y)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",p),ko.has(l)&&ko.delete(l),Zy(g)&&typeof u=="function"&&u(g,{success:y})},f=g=>{c(g,l===window||l===document||n.useGlobalTarget||dp(l,g.target))},p=g=>{c(g,!1)};window.addEventListener("pointerup",f,o),window.addEventListener("pointercancel",p,o)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",s,o),Qy(a)&&(a.addEventListener("focus",u=>Xy(u,o)),!mp(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),i}function To(e){return Vi(e)&&"ownerSVGElement"in e}var El=new WeakMap,Ml,ev=(e,t,n)=>(r,o)=>o&&o[0]?o[0][e+"Size"]:To(r)&&"getBBox"in r?r.getBBox()[t]:r[n],ik=ev("inline","width","offsetWidth"),sk=ev("block","height","offsetHeight");function ak({target:e,borderBoxSize:t}){El.get(e)?.forEach(n=>{n(e,{get width(){return ik(e,t)},get height(){return sk(e,t)}})})}function lk(e){e.forEach(ak)}function uk(){typeof ResizeObserver>"u"||(Ml=new ResizeObserver(lk))}function tv(e,t){Ml||uk();let n=kl(e);return n.forEach(r=>{let o=El.get(r);o||(o=new Set,El.set(r,o)),o.add(t),Ml?.observe(r)}),()=>{n.forEach(r=>{let o=El.get(r);o?.delete(t),o?.size||Ml?.unobserve(r)})}}var Vl=new Set,Co;function ck(){Co=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Vl.forEach(t=>t(e))},window.addEventListener("resize",Co)}function nv(e){return Vl.add(e),Co||ck(),()=>{Vl.delete(e),!Vl.size&&typeof Co=="function"&&(window.removeEventListener("resize",Co),Co=void 0)}}function Al(e,t){return typeof e=="function"?nv(e):tv(e,t)}function rv(e){return To(e)&&e.tagName==="svg"}var fk=[...lp,Y,ve],ov=e=>fk.find(vl(e));var vp=()=>({translate:0,scale:1,origin:0,originPoint:0}),qn=()=>({x:vp(),y:vp()}),xp=()=>({min:0,max:0}),X=()=>({x:xp(),y:xp()});var iv=new WeakMap;function cn(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ut(e){return typeof e=="string"||Array.isArray(e)}var Ll=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Yi=["initial",...Ll];function Kn(e){return cn(e.animate)||Yi.some(t=>Ut(e[t]))}function Xi(e){return!!(Kn(e)||e.variants)}function sv(e,t,n){for(let r in t){let o=t[r],i=n[r];if(j(o))e.addValue(r,o);else if(j(i))e.addValue(r,Vt(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){let s=e.getValue(r);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{let s=e.getStaticValue(r);e.addValue(r,Vt(s!==void 0?s:o,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var Zi={current:null},Dl={current:!1};var pk=typeof window<"u";
8function av(){if(Dl.current=!0,!!pk)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Zi.current=e.matches;e.addEventListener("change",t),t()}else Zi.current=!1}var lv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],_l={};function es(e){_l=e}function wp(){return _l}var Ji=class{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,skipAnimations:i,blockInitialAnimation:s,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=$n,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=()=>{let g=oe.now();this.renderScheduledAt<g&&(this.renderScheduledAt=g,D.render(this.render,!1,!0))};let{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=i,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=Kn(n),this.isVariantNode=Xi(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:f,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(let g in p){let y=p[g];u[g]!==void 0&&j(y)&&y.set(u[g])}}mount(t){if(this.hasBeenMounted)for(let n in this.initialValues)this.values.get(n)?.jump(this.initialValues[n]),this.latestValues[n]=this.initialValues[n];this.current=t,iv.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Dl.current||av(),this.shouldReduceMotion=Zi.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Ke(this.notifyUpdate),Ke(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&cl.has(t)&&this.current instanceof HTMLElement){let{factory:s,keyframes:a,times:l,ease:u,duration:c}=n.accelerate,f=new yo({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:fe(c)}),p=s(f);this.valueSubscriptions.set(t,()=>{p(),f.cancel()});return}let r=dt.has(t);r&&this.onBindTransform&&this.onBindTransform();let o=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&D.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<"u"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),i&&i(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in _l){let n=_l[t];if(!n)continue;let{isEnabled:r,Feature:o}=n;
8if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){let i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):X()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<lv.length;r++){let o=lv[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);let i="on"+o,s=t[i];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=sv(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){let r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);let n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Vt(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(Mi(r)||Ai(r))?r=parseFloat(r):!ov(r)&&ve.test(n)&&(r=wl(t,n)),this.setBaseTarget(t,j(r)?r.get():r)),j(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){let{initial:n}=this.props,r;if(typeof n=="string"||typeof n=="object"){let i=xr(this.props,n,this.presenceContext?.custom);i&&(r=i[t])}if(n&&r!==void 0)return r;let o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!j(o)?o:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new sn),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){wr.render(this.render)}};var Po=class extends Ji{constructor(){super(...arguments),this.KeyframeResolver=Sl}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){let r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;j(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}};var xe=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};function ts({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Sp({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function kp(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Tp(e){return e===void 0||e===1}function Nl({scale:e,scaleX:t,scaleY:n}){return!Tp(e)||!Tp(t)||!Tp(n)}function fn(e){return Nl(e)||Cp(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Cp(e){return uv(e.x)||uv(e.y)}function uv(e){return e&&e!=="0%"}function ns(e,t,n){let r=e-n,o=t*r;return n+o}function cv(e,t,n,r,o){return o!==void 0&&(e=ns(e,o,r)),ns(e,n,r)+t}function Pp(e,t=0,n=1,r,o){e.min=cv(e.min,t,n,r,o),e.max=cv(e.max,t,n,r,o)}function Ep(e,{x:t,y:n}){Pp(e.x,t.translate,t.scale,t.originPoint),Pp(e.y,n.translate,n.scale,n.originPoint)}var fv=.999999999999,pv=1.0000000000001;function hv(e,t,n,r=!1){let o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let a=0;a<o;a++){i=n[a],s=i.projectionDelta;let{visualElement:l}=i.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(ht(e.x,-i.scroll.offset.x),ht(e.y,-i.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Ep(e,s)),r&&fn(i.latestValues)&&rs(e,i.latestValues,i.layout?.layoutBox))}t.x<pv&&t.x>fv&&(t.x=1),t.y<pv&&t.y>fv&&(t.y=1)}function ht(e,t){e.min+=t,e.max+=t}function dv(e,t,n,r,o=.5){let i=N(e.min,e.max,o);Pp(e,t,n,i,r)}function mv(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function rs(e,t,n){let r=n??e;dv(e.x,mv(t.x,r.x),t.scaleX,t.scale,t.originX),dv(e.y,mv(t.y,r.y),t.scaleY,t.scale,t.originY)}function Rl(e,t){return ts(kp(e.getBoundingClientRect(),t))}function Mp(e,t,n){let r=Rl(e,n),{scroll:o}=t;return o&&(ht(r.x,o.offset.x),ht(r.y,o.offset.y)),r}var dk={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},mk=Wt.length;
8function gv(e,t,n){let r="",o=!0;for(let i=0;i<mk;i++){let s=Wt[i],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(s.startsWith("scale")?1:0);else{let u=parseFloat(a);l=s.startsWith("scale")?u===1:u===0}if(!l||n){let u=Tl(a,So[s]);if(!l){o=!1;let c=dk[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function kr(e,t,n){let{style:r,vars:o,transformOrigin:i}=e,s=!1,a=!1;for(let l in t){let u=t[l];if(dt.has(l)){s=!0;continue}else if(Ga(l)){o[l]=u;continue}else{let c=Tl(u,So[l]);l.startsWith("origin")?(a=!0,i[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=gv(t,e.transform,n):r.transform&&(r.transform="none")),a){let{originX:l="50%",originY:u="50%",originZ:c=0}=i;r.transformOrigin=`${l} ${u} ${c}`}}function Il(e,{style:t,vars:n},r,o){let i=e.style,s;for(s in t)i[s]=t[s];o?.applyProjectionStyles(i,r);for(s in n)i.setProperty(s,n[s])}function yv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Eo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(V.test(e))e=parseFloat(e);else return e;let n=yv(e,t.target.x),r=yv(e,t.target.y);return`${n}% ${r}%`}};var vv={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,o=ve.parse(e);if(o.length>5)return r;let i=ve.createTransformer(e),s=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;let u=N(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}};var os={borderRadius:{...Eo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Eo,borderTopRightRadius:Eo,borderBottomLeftRadius:Eo,borderBottomRightRadius:Eo,boxShadow:vv};function is(e,{layout:t,layoutId:n}){return dt.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!os[e]||e==="opacity")}function Tr(e,t,n){let r=e.style,o=t?.style,i={};if(!r)return i;for(let s in r)(j(r[s])||o&&j(o[s])||is(s,e)||n?.getValue(s)?.liveStyle!==void 0)&&(i[s]=r[s]);return i}function hk(e){return window.getComputedStyle(e)}var ss=class extends Po{constructor(){super(...arguments),this.type="html",this.renderInstance=Il}readValueFromInstance(t,n){if(dt.has(n))return this.projection?.isProjecting?rl(n):Sy(t,n);{let r=hk(t),o=(Ga(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Rl(t,n)}build(t,n,r){kr(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Tr(t,n,r)}};var gk={offset:"stroke-dashoffset",array:"stroke-dasharray"},yk={offset:"strokeDashoffset",array:"strokeDasharray"};function xv(e,t,n=1,r=0,o=!0){e.pathLength=1;let i=o?gk:yk;e[i.offset]=`${-r}`,e[i.array]=`${t} ${n}`}var vk=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function as(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:i=1,pathOffset:s=0,...a},l,u,c){if(kr(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:p}=e;f.transform&&(p.transform=f.transform,delete f.transform),(p.transform||f.transformOrigin)&&(p.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),p.transform&&(p.transformBox=c?.transformBox??"fill-box",delete f.transformBox);for(let g of vk)f[g]!==void 0&&(p[g]=f[g],delete f[g]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),o!==void 0&&xv(f,o,i,s,!1)}var Ol=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"]);var ls=e=>typeof e=="string"&&e.toLowerCase()==="svg";function wv(e,t,n,r){Il(e,t,void 0,r);for(let o in t.attrs)e.setAttribute(Ol.has(o)?o:wo(o),t.attrs[o])}function us(e,t,n){let r=Tr(e,t,n);for(let o in e)if(j(e[o])||j(t[o])){let i=Wt.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}var cs=class extends Po{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=X}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(dt.has(n)){let r=xl(n);return r&&r.default||0}return n=Ol.has(n)?n:wo(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return us(t,n,r)}build(t,n,r){as(t,n,this.isSVGTag,r.transformTemplate,r.style)}
8renderInstance(t,n,r,o){wv(t,n,r,o)}mount(t){this.isSVGTag=ls(t.tagName),super.mount(t)}};var xk=Yi.length;function Vp(e){if(!e)return;if(!e.isControllingVariants){let n=e.parent?Vp(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}let t={};for(let n=0;n<xk;n++){let r=Yi[n],o=e.props[r];(Ut(o)||o===!1)&&(t[r]=o)}return t}function Ap(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var wk=[...Ll].reverse(),Sk=Ll.length;function kk(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Hy(e,n,r)))}function Lp(e){let t=kk(e),n=Sv(),r=!0,o=!1,i=u=>(c,f)=>{let p=nt(e,f,u==="exit"?e.presenceContext?.custom:void 0);if(p){let{transition:g,transitionEnd:y,...x}=p;c={...c,...x,...y}}return c};function s(u){t=u(e)}function a(u){let{props:c}=e,f=Vp(e.parent)||{},p=[],g=new Set,y={},x=1/0;for(let m=0;m<Sk;m++){let d=wk[m],h=n[d],v=c[d]!==void 0?c[d]:f[d],k=Ut(v),E=d===u?h.isActive:null;E===!1&&(x=m);let M=v===f[d]&&v!==c[d]&&k;if(M&&(r||o)&&e.manuallyAnimateOnMount&&(M=!1),h.protectedKeys={...y},!h.isActive&&E===null||!v&&!h.prevProp||cn(v)||typeof v=="boolean")continue;if(d==="exit"&&h.isActive&&E!==!0){h.prevResolvedValues&&(y={...y,...h.prevResolvedValues});continue}let C=kv(h.prevProp,v),_=C||d===u&&h.isActive&&!M&&k||m>x&&k,P=!1,b=Array.isArray(v)?v:[v],se=b.reduce(i(d),{});E===!1&&(se={});let{prevResolvedValues:Lt={}}=h,Ge={...Lt,...se},je=Z=>{_=!0,g.has(Z)&&(P=!0,g.delete(Z)),h.needsAnimating[Z]=!0;let Ee=e.getValue(Z);Ee&&(Ee.liveStyle=!1)};for(let Z in Ge){let Ee=se[Z],Dt=Lt[Z];if(y.hasOwnProperty(Z))continue;let mn=!1;qi(Ee)&&qi(Dt)?mn=!Ap(Ee,Dt):mn=Ee!==Dt,mn?Ee!=null?je(Z):g.add(Z):Ee!==void 0&&g.has(Z)?je(Z):h.protectedKeys[Z]=!0}h.prevProp=v,h.prevResolvedValues=se,h.isActive&&(y={...y,...se}),(r||o)&&e.blockInitialAnimation&&(_=!1);let me=M&&C;_&&(!me||P)&&p.push(...b.map(Z=>{let Ee={type:d};if(typeof Z=="string"&&(r||o)&&!me&&e.manuallyAnimateOnMount&&e.parent){let{parent:Dt}=e,mn=nt(Dt,Z);if(Dt.enteringChildren&&mn){let{delayChildren:mu}=mn.transition||{};Ee.delay=pl(Dt.enteringChildren,e,mu)}}return{animation:Z,options:Ee}}))}if(g.size){let m={};if(typeof c.initial!="boolean"){let d=nt(e,Array.isArray(c.initial)?c.initial[0]:c.initial);d&&d.transition&&(m.transition=d.transition)}g.forEach(d=>{let h=e.getBaseTarget(d),v=e.getValue(d);v&&(v.liveStyle=!0),m[d]=h??null}),p.push({animation:m})}let S=!!p.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(S=!1),r=!1,o=!1,S?t(p):Promise.resolve()}function l(u,c){if(n[u].isActive===c)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(u,c)),n[u].isActive=c;let f=a(u);for(let p in n)n[p].protectedKeys={};return f}return{animateChanges:a,setActive:l,setAnimateFunction:s,getState:()=>n,reset:()=>{n=Sv(),o=!0}}}function kv(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Ap(t,e):!1}function Cr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Sv(){return{animate:Cr(!0),whileInView:Cr(),whileHover:Cr(),whileTap:Cr(),whileDrag:Cr(),whileFocus:Cr(),exit:Cr()}}function zl(e,t){e.min=t.min,e.max=t.max}function gt(e,t){zl(e.x,t.x),zl(e.y,t.y)}function Dp(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Tv=1e-4,Tk=1-Tv,Ck=1+Tv,Cv=.01,Pk=0-Cv,Ek=0+Cv;function de(e){return e.max-e.min}function Ip(e,t,n){return Math.abs(e-t)<=n}function _p(e,t,n,r=.5){e.origin=r,e.originPoint=N(t.min,t.max,e.origin),e.scale=de(n)/de(t),e.translate=N(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Tk&&e.scale<=Ck||isNaN(e.scale))&&(e.scale=1),(e.translate>=Pk&&e.translate<=Ek||isNaN(e.translate))&&(e.translate=0)}function Pr(e,t,n,r){_p(e.x,t.x,n.x,r?r.originX:void 0),_p(e.y,t.y,n.y,r?r.originY:void 0)}function Np(e,t,n,r=0){let o=r?N(n.min,n.max,r):n.min;e.min=o+t.min,e.max=e.min+de(t)}function Op(e,t,n,r){Np(e.x,t.x,n.x,r?.x),Np(e.y,t.y,n.y,r?.y)}function Rp(e,t,n,r=0){let o=r?N(n.min,n.max,r):n.min;e.min=t.min-o,e.max=e.min+de(t)}function Mo(e,t,n,r){Rp(e.x,t.x,n.x,r?.x),Rp(e.y,t.y,n.y,r?.y)}function Pv(e,t,n,r,o){return e-=t,e=ns(e,1/n,r),o!==void 0&&(e=ns(e,1/o,r)),e}function Mk(e,t=0,n=1,r=.5,o,i=e,s=e){if(Ne.test(t)&&(t=parseFloat(t),t=N(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=N(i.min,i.max,r);e===i&&(a-=t),e.min=Pv(e.min,t,n,a,o),e.max=Pv(e.max,t,n,a,o)}function Ev(e,t,[n,r,o],i,s){Mk(e,t[n],t[r],t[o],t.scale,i,s)}var Vk=["x","scaleX","originX"],Ak=["y","scaleY","originY"];function zp(e,t,n,r){Ev(e.x,t,Vk,n?n.x:void 0,r?r.x:void 0),Ev(e.y,t,Ak,n?n.y:void 0,r?r.y:void 0)}function Mv(e){return e.translate===0&&e.scale===1}function bp(e){return Mv(e.x)&&Mv(e.y)}function Vv(e,t){return e.min===t.min&&e.max===t.max}function Lv(e,t){return Vv(e.x,t.x)&&Vv(e.y,t.y)}function Av(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Fp(e,t){return Av(e.x,t.x)&&Av(e.y,t.y)}function Bp(e){return de(e.x)/de(e.y)}function jp(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function rt(e){return[e("x"),e("y")]}function Dv(e,t,n){let r="",o=e.x.translate/t.x,i=e.y.translate/t.y,s=n?.z||0;if((o||i||s)&&(r=`translate3d(${o}px, ${i}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:u,rotate:c,rotateX:f,rotateY:p,skewX:g,skewY:y}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),f&&(r+=`rotateX(${f}deg) `),p&&(r+=`rotateY(${p}deg) `),g&&(r+=`skewX(${g}deg) `),y&&(r+=`skewY(${y}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l}
8)`),r||"none"}var Iv=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],Lk=Iv.length,_v=e=>typeof e=="string"?parseFloat(e):e,Nv=e=>typeof e=="number"||V.test(e);function Ov(e,t,n,r,o,i){o?(e.opacity=N(0,n.opacity??1,Dk(r)),e.opacityExit=N(t.opacity??1,0,_k(r))):i&&(e.opacity=N(t.opacity??1,n.opacity??1,r));for(let s=0;s<Lk;s++){let a=Iv[s],l=Rv(t,a),u=Rv(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||Nv(l)===Nv(u)?(e[a]=Math.max(N(_v(l),_v(u),r),0),(Ne.test(u)||Ne.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=N(t.rotate||0,n.rotate||0,r))}function Rv(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var Dk=zv(0,.5,Ii),_k=zv(.5,.95,re);function zv(e,t,n){return r=>r<e?0:r>t?1:n(bt(e,t,r))}function bv(e,t,n){let r=j(e)?e:Vt(e);return r.start(vr("",r,t,n)),r.animation}function Ht(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Fv=(e,t)=>e.depth-t.depth;var bl=class{constructor(){this.children=[],this.isDirty=!1}add(t){dr(this.children,t),this.isDirty=!0}remove(t){bn(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Fv),this.isDirty=!1,this.children.forEach(t)}};function Bv(e,t){let n=oe.now(),r=({timestamp:o})=>{let i=o-n;i>=t&&(Ke(r),e(i-t))};return D.setup(r,!0),()=>Ke(r)}function Er(e){return j(e)?e.get():e}var Fl=class{constructor(){this.members=[]}add(t){dr(this.members,t);for(let n=this.members.length-1;n>=0;n--){let r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;let o=r.instance;(!o||o.isConnected===!1)&&!r.snapshot&&(bn(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(bn(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){for(let n=this.members.indexOf(t)-1;n>=0;n--){let r=this.members[n];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(t,n){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();let{layoutDependency:o}=r.options,{layoutDependency:i}=t.options;(o===void 0||o!==i)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}};var Mr={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var Vr={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Wp=["","X","Y","Z"],Nk=1e3,Rk=0;function Up(e,t,n,r){let{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Qv(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=hl(t);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",D,!(o||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Qv(r)}function Bl({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t?.()){this.id=Rk++,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,tt.value&&(Vr.nodes=Vr.calculatedTargetDeltas=Vr.calculatedProjections=0),this.nodes.forEac
8h(zk),this.nodes.forEach(Uk),this.nodes.forEach(Hk),this.nodes.forEach(bk),tt.addProjectionMetrics&&tt.addProjectionMetrics(Vr)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new bl)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new sn),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){let l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=To(s)&&!rv(s),this.instance=s;let{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let c,f=0,p=()=>this.root.updateBlockedByResize=!1;D.read(()=>{f=window.innerWidth}),e(s,()=>{let g=window.innerWidth;g!==f&&(f=g,this.root.updateBlockedByResize=!0,c&&c(),c=Bv(p,250),Mr.hasAnimatedSinceResize&&(Mr.hasAnimatedSinceResize=!1,this.nodes.forEach(Uv)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:p,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let y=this.options.transition||u.getDefaultTransition()||Qk,{onLayoutAnimationStart:x,onLayoutAnimationComplete:S}=u.getProps(),m=!this.targetLayout||!Fp(this.targetLayout,g),d=!f&&p;if(this.options.layoutRoot||this.resumeFrom||d||f&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let h={...vo(y,"layout"),onPlay:x,onComplete:S};(u.shouldReduceMotion||this.options.layoutRoot)&&(h.delay=0,h.type=!1),this.startAnimation(h),this.setAnimationOrigin(c,d)}else f||Uv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Ke(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($k),this.animationId++)}getTransformTemplate(){let{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Qv(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){let f=this.path[c];f.shouldResetTransform=!0,(typeof f.latestValues.x=="string"||typeof f.latestValues.y=="string")&&(f.isLayoutDirty=!0),f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}let{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;let u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(Bk),this.nodes.forEach(jv);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Wv);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEac
8h(jk),this.nodes.forEach(Wk),this.nodes.forEach(Ik),this.nodes.forEach(Ok)):this.nodes.forEach(Wv),this.clearAllSnapshots();let a=oe.now();le.delta=ye(0,1e3/60,a-le.timestamp),le.timestamp=a,le.isProcessing=!0,Bi.update.process(le),Bi.preRender.process(le),Bi.render.process(le),le.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,wr.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Fk),this.sharedNodes.forEach(qk)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,D.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){D.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!de(this.snapshot.measuredBox.x)&&!de(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 l=0;l<this.path.length;l++)this.path[l].updateScroll();let s=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=X()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a&&this.instance){let l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;let s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!bp(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&this.instance&&(a||fn(this.latestValues)||c)&&(o(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){let a=this.measurePageBox(),l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),Yk(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:s}=this.options;if(!s)return X();let a=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Xk))){let{scroll:u}=this.root;u&&(ht(a.x,u.offset.x),ht(a.y,u.offset.y))}return a}removeElementScroll(s){let a=X();if(gt(a,s),this.scroll?.wasRoot)return a;for(let l=0;l<this.path.length;l++){let u=this.path[l],{scroll:c,options:f}=u;u!==this.root&&c&&f.layoutScroll&&(c.wasRoot&&gt(a,s),ht(a.x,c.offset.x),ht(a.y,c.offset.y))}return a}applyTransform(s,a=!1,l){let u=l||X();gt(u,s);for(let c=0;c<this.path.length;c++){let f=this.path[c];!a&&f.options.layoutScroll&&f.scroll&&f!==f.root&&(ht(u.x,-f.scroll.offset.x),ht(u.y,-f.scroll.offset.y)),fn(f.latestValues)&&rs(u,f.latestValues,f.layout?.layoutBox)}return fn(this.latestValues)&&rs(u,this.latestValues,this.layout?.layoutBox),u}removeTransform(s){let a=X();gt(a,s);for(let l=0;l<this.path.length;l++){let u=this.path[l];if(!fn(u.latestValues))continue;let c;u.instance&&(Nl(u.latestValues)&&u.updateSnapshot(),c=X(),gt(c,u.measurePageBox())),zp(a,u.latestValues,u.snapshot?.layoutBox,c)}return fn(this.latestValues)&&zp(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==le.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){let a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);let l=!!this.resumingFrom||this!==a;if(!(s||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:c,layoutId:f}=this.options;if(!this.layout||!(c||f))return;this.resolvedRelativeTargetAt=le.timestamp;let p=this.getClosestProjectingParent();p&&this.linkedParentVersion!==p.layoutVersion&&!p.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&p&&p.layout?this.createRelativeTarget(p,this.layout.layoutBox,p.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=X(),this.targetWithTransforms=X()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Op(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):gt(this.target,this.layout.layoutBox),Ep(this.target,this.targetDelta)):gt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?this.createRelativeTarget(p,this.target,p.target):this.relativeParent=this.relativeTarget=void 0),tt.value&&Vr.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Nl(this.parent.latestValues)||Cp(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(s,a,l){this.relativeParent=s,this.linkedParentVersion=s.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=X(),this.relativeTargetOrigin=X(),Mo(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),gt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let s=this.getLead(),a=!!this.resumingFrom||this!==s,l=!0;
8if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===le.timestamp&&(l=!1),l)return;let{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;gt(this.layoutCorrected,this.layout.layoutBox);let f=this.treeScale.x,p=this.treeScale.y;hv(this.layoutCorrected,this.treeScale,this.path,a),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=X());let{target:g}=s;if(!g){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Dp(this.prevProjectionDelta.x,this.projectionDelta.x),Dp(this.prevProjectionDelta.y,this.projectionDelta.y)),Pr(this.projectionDelta,this.layoutCorrected,g,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==p||!jp(this.projectionDelta.x,this.prevProjectionDelta.x)||!jp(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),tt.value&&Vr.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.visualElement?.scheduleRender(),s){let a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=qn(),this.projectionDelta=qn(),this.projectionDeltaWithTransform=qn()}setAnimationOrigin(s,a=!1){let l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},f=qn();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;let p=X(),g=l?l.source:void 0,y=this.layout?this.layout.source:void 0,x=g!==y,S=this.getStack(),m=!S||S.members.length<=1,d=!!(x&&!m&&this.options.crossfade===!0&&!this.path.some(Gk));this.animationProgress=0;let h;this.mixTargetDelta=v=>{let k=v/1e3;Hv(f.x,s.x,k),Hv(f.y,s.y,k),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Mo(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Kk(this.relativeTarget,this.relativeTargetOrigin,p,k),h&&Lv(this.relativeTarget,h)&&(this.isProjectionDirty=!1),h||(h=X()),gt(h,this.relativeTarget)),x&&(this.animationValues=c,Ov(c,u,this.latestValues,k,d,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Ke(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=D.update(()=>{Mr.hasAnimatedSinceResize=!0,Ft.layout++,this.motionValue||(this.motionValue=Vt(0)),this.motionValue.jump(0,!1),this.currentAnimation=bv(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onStop:()=>{Ft.layout--},onComplete:()=>{Ft.layout--,s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Nk),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&Yv(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||X();let f=de(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+f;let p=de(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+p}gt(a,l),rs(a,c),Pr(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Fl),this.sharedNodes.get(s).add(a);let u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){let{layoutId:s}=this.options;
8return s?this.getStack()?.lead||this:this}getPrevLead(){let{layoutId:s}=this.options;return s?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){let u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let a=!1,{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;let u={};l.z&&Up("z",s,u,this.animationValues);for(let c=0;c<Wp.length;c++)Up(`rotate${Wp[c]}`,s,u,this.animationValues),Up(`skew${Wp[c]}`,s,u,this.animationValues);s.render();for(let c in u)s.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);s.scheduleRender()}applyProjectionStyles(s,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}let l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=Er(a?.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none";return}let u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=Er(a?.pointerEvents)||""),this.hasProjected&&!fn(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";let c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=Dv(this.projectionDeltaWithTransform,this.treeScale,c);l&&(f=l(c,f)),s.transform=f;let{x:p,y:g}=this.projectionDelta;s.transformOrigin=`${p.origin*100}% ${g.origin*100}% 0`,u.animationValues?s.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:s.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(let y in os){if(c[y]===void 0)continue;let{correct:x,applyTo:S,isCSSVariable:m}=os[y],d=f==="none"?c[y]:x(c[y],u);if(S){let h=S.length;for(let v=0;v<h;v++)s[S[v]]=d}else m?this.options.visualElement.renderState.vars[y]=d:s[y]=d}this.options.layoutId&&(s.pointerEvents=u===this?Er(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(jv),this.root.sharedNodes.clear()}}}function Ik(e){e.updateLayout()}function Ok(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:o}=e.options,i=t.source!==e.layout.source;if(o==="size")rt(c=>{let f=i?t.measuredBox[c]:t.layoutBox[c],p=de(f);f.min=n[c].min,f.max=f.min+p});else if(o==="x"||o==="y"){let c=o==="x"?"y":"x";zl(i?t.measuredBox[c]:t.layoutBox[c],n[c])}else Yv(o,t.layoutBox,n)&&rt(c=>{let f=i?t.measuredBox[c]:t.layoutBox[c],p=de(n[c]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[c].max=e.relativeTarget[c].min+p)});let s=qn();Pr(s,n,t.layoutBox);let a=qn();i?Pr(a,e.applyTransform(r,!0),t.measuredBox):Pr(a,n,t.layoutBox);let l=!bp(s),u=!1;if(!e.resumeFrom){let c=e.getClosestProjectingParent();if(c&&!c.resumeFrom){let{snapshot:f,layout:p}=c;if(f&&p){let g=e.options.layoutAnchor||void 0,y=X();Mo(y,t.layoutBox,f.layoutBox,g);let x=X();Mo(x,n,p.layoutBox,g),Fp(y,x)||(u=!0),c.options.layoutRoot&&(e.relativeTarget=x,e.relativeTargetOrigin=y,e.relativeParent=c)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function zk(e){tt.value&&Vr.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function bk(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Fk(e){e.clearSnapshot()}function jv(e){e.clearMeasurements()}function Bk(e){e.isLayoutDirty=!0,e.updateLayout()}function Wv(e){e.isLayoutDirty=!1}function jk(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Wk(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Uv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Uk(e){e.resolveTargetDelta()}function Hk(e){e.calcProjection()}
8function $k(e){e.resetSkewAndRotation()}function qk(e){e.removeLeadSnapshot()}function Hv(e,t,n){e.translate=N(t.translate,0,n),e.scale=N(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function $v(e,t,n,r){e.min=N(t.min,n.min,r),e.max=N(t.max,n.max,r)}function Kk(e,t,n,r){$v(e.x,t.x,n.x,r),$v(e.y,t.y,n.y,r)}function Gk(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var Qk={duration:.45,ease:[.4,0,.1,1]},qv=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Kv=qv("applewebkit/")&&!qv("chrome/")?Math.round:re;function Gv(e){e.min=Kv(e.min),e.max=Kv(e.max)}function Yk(e){Gv(e.x),Gv(e.y)}function Yv(e,t,n){return e==="position"||e==="preserve-aspect"&&!Ip(Bp(t),Bp(n),.2)}function Xk(e){return e!==e.root&&e.scroll?.wasRoot}var Xv=Bl({attachResizeListener:(e,t)=>Ht(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0});var jl={current:void 0},fs=Bl({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!jl.current){let e=new Xv({});e.mount(window),e.setOptions({layoutScroll:!0}),jl.current=e}return jl.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var Zv=R(q(),1),Wl=(0,Zv.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var Gn=R(q(),1);function Jv(e=!0){let t=(0,Gn.useContext)(lo);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:o}=t,i=(0,Gn.useId)();(0,Gn.useEffect)(()=>{if(e)return o(i)},[e]);let s=(0,Gn.useCallback)(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,s]:[!0]}var e0=R(q(),1),Ul=(0,e0.createContext)({strict:!1});var t0={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"]},n0=!1;function Zk(){if(n0)return;let e={};for(let t in t0)e[t]={isEnabled:n=>t0[t].some(r=>!!n[r])};es(e),n0=!0}function Hl(){return Zk(),wp()}function r0(e){let t=Hl();for(let n in e)t[n]={...t[n],...e[n]};es(t)}var Jk=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","propagate","ignoreStrict","viewport"]);function ps(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Jk.has(e)}var o0=e=>!ps(e);function eT(e){typeof e=="function"&&(o0=t=>t.startsWith("on")?!ps(t):e(t))}try{eT(td("@emotion/is-prop-valid").default)}catch{}function i0(e,t,n){let r={};for(let o in e)o==="values"&&typeof e.values=="object"||j(e[o])||(o0(o)||n===!0&&ps(o)||!t&&!ps(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}var Ql=R(be(),1);var Do=R(q(),1);var s0=R(q(),1),Qn=(0,s0.createContext)({});var $l=R(q(),1);function a0(e,t){if(Kn(e)){let{initial:n,animate:r}=e;return{initial:n===!1||Ut(n)?n:void 0,animate:Ut(r)?r:void 0}}return e.inherit!==!1?t:{}}function u0(e){let{initial:t,animate:n}=a0(e,(0,$l.useContext)(Qn));return(0,$l.useMemo)(()=>({initial:t,animate:n}),[l0(t),l0(n)])}function l0(e){return Array.isArray(e)?e.join(" "):e}var Lo=R(q(),1);var c0=R(q(),1);var Vo=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Hp(e,t,n){for(let r in t)!j(t[r])&&!is(r,n)&&(e[r]=t[r])}function tT({transformTemplate:e},t){return(0,c0.useMemo)(()=>{let n=Vo();return kr(n,t,e),Object.assign({},n.vars,n.style)},[t])}function nT(e,t){let n=e.style||{},r={};return Hp(r,n,e),Object.assign(r,tT(e,t)),r}function f0(e,t){let n={},r=nT(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
8`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var p0=R(q(),1);var ql=()=>({...Vo(),attrs:{}});function d0(e,t,n,r){let o=(0,p0.useMemo)(()=>{let i=ql();return as(i,t,ls(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let i={};Hp(i,e.style,e),o.style={...i,...o.style}}return o}var m0=["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 Ao(e){return typeof e!="string"||e.includes("-")?!1:!!(m0.indexOf(e)>-1||/[A-Z]/u.test(e))}function h0(e,t,n,{latestValues:r},o,i=!1,s){let l=(s??Ao(e)?d0:f0)(t,r,o,e),u=i0(t,typeof e=="string",i),c=e!==Lo.Fragment?{...u,...l,ref:n}:{},{children:f}=t,p=(0,Lo.useMemo)(()=>j(f)?f.get():f,[f]);return(0,Lo.createElement)(e,{...c,children:p})}var $p=R(q(),1);function rT({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:oT(n,r,o,e),renderState:t()}}function oT(e,t,n,r){let o={},i=r(e,{});for(let p in i)o[p]=Er(i[p]);let{initial:s,animate:a}=e,l=Kn(e),u=Xi(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;let f=c?a:s;if(f&&typeof f!="boolean"&&!cn(f)){let p=Array.isArray(f)?f:[f];for(let g=0;g<p.length;g++){let y=xr(e,p[g]);if(y){let{transitionEnd:x,transition:S,...m}=y;for(let d in m){let h=m[d];if(Array.isArray(h)){let v=c?h.length-1:0;h=h[v]}h!==null&&(o[d]=h)}for(let d in x)o[d]=x[d]}}}return o}var Kl=e=>(t,n)=>{let r=(0,$p.useContext)(Qn),o=(0,$p.useContext)(lo),i=()=>rT(e,t,r,o);return n?i():$g(i)};var g0=Kl({scrapeMotionValuesFromProps:Tr,createRenderState:Vo});var y0=Kl({scrapeMotionValuesFromProps:us,createRenderState:ql});var v0=Symbol.for("motionComponentSymbol");var Ar=R(q(),1);function x0(e,t,n){let r=(0,Ar.useRef)(n);(0,Ar.useInsertionEffect)(()=>{r.current=n});let o=(0,Ar.useRef)(null);return(0,Ar.useCallback)(i=>{i&&e.onMount?.(i);let s=r.current;if(typeof s=="function")if(i){let a=s(i);typeof a=="function"&&(o.current=a)}else o.current?(o.current(),o.current=null):s(i);else s&&(s.current=i);t&&(i?t.mount(i):t.unmount())},[t])}var Be=R(q(),1);var w0=R(q(),1),Gl=(0,w0.createContext)({});function Yn(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function S0(e,t,n,r,o,i){let{visualElement:s}=(0,Be.useContext)(Qn),a=(0,Be.useContext)(Ul),l=(0,Be.useContext)(lo),u=(0,Be.useContext)(Wl),c=u.reducedMotion,f=u.skipAnimations,p=(0,Be.useRef)(null),g=(0,Be.useRef)(!1);r=r||a.renderer,!p.current&&r&&(p.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c,skipAnimations:f,isSVG:i}),g.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));let y=p.current,x=(0,Be.useContext)(Gl);y&&!y.projection&&o&&(y.type==="html"||y.type==="svg")&&iT(p.current,n,o,x);let S=(0,Be.useRef)(!1);(0,Be.useInsertionEffect)(()=>{y&&S.current&&y.update(n,l)});let m=n[Ki],d=(0,Be.useRef)(!!m&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return Kg(()=>{g.current=!0,y&&(S.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),d.current&&y.animationState&&y.animationState.animateChanges())}),(0,Be.useEffect)(()=>{y&&(!d.current&&y.animationState&&y.animationState.animateChanges(),d.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),d.current=!1),y.enteringChildren=void 0)}),y}function iT(e,t,n,r){let{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:k0(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!s||a&&Yn(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:f,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}function k0(e){if(e)return e.options.allowProjection!==!1?e.projection:k0(e.parent)}function Yl(e,{forwardMotionProps:t=!1,type:n}={},r,o){r&&r0(r);let i=n?n==="svg":Ao(e),s=i?y0:g0;function a(u,c){let f,p={...(0,Do.useContext)(Wl),...u,layoutId:sT(u)},{isStatic:g}=p,y=u0(u),x=s(u,g);if(!g&&typeof window<"u"){aT(p,r);let S=lT(p);f=S.MeasureLayout,y.visualElement=S0(e,x,p,o,S.ProjectionNode,i)}return(0,Ql.jsxs)(Qn.Provider,{value:y,children:[f&&y.visualElement?(0,Ql.jsx)(f,{visualElement:y.visualElement,...p}):null,h0(e,u,x0(x,y.visualElement,c),x,g,t,i)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;let l=(0,Do.forwardRef)(a);return l[v0]=e,l}function sT({layoutId:e}){let t=(0,Do.useContext)(Ba).id;return t&&e!==void 0?t+"-"+e:e}function aT(e,t){let n=(0,Do.useContext)(Ul).strict}function lT(e){let t=Hl(),{drag:n,layout:r}=t;if(!n&&!r)return{};let o={...n,...r};return{MeasureLayout:n?.isEnabled(e)||r?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}
8function T0(e,t){if(typeof Proxy>"u")return Yl;let n=new Map,r=(i,s)=>Yl(i,s,e,t),o=(i,s)=>r(i,s);return new Proxy(o,{get:(i,s)=>s==="create"?r:(n.has(s)||n.set(s,Yl(s,void 0,e,t)),n.get(s))})}var C0=R(q(),1);var P0=(e,t)=>t.isSVG??Ao(e)?new cs(t):new ss(t,{allowProjection:e!==C0.Fragment});var Xl=class extends xe{constructor(t){super(t),t.animationState||(t.animationState=Lp(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();cn(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}};var uT=0,Zl=class extends xe{constructor(){super(...arguments),this.id=uT++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){let{initial:i,custom:s}=this.node.getProps();if(typeof i=="string"){let a=nt(this.node,i,s);if(a){let{transition:l,transitionEnd:u,...c}=a;for(let f in c)this.node.getValue(f)?.jump(c[f])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){let{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}};var E0={animation:{Feature:Xl},exit:{Feature:Zl}};function pn(e){return{point:{x:e.pageX,y:e.pageY}}}var M0=e=>t=>Sr(t)&&e(t,pn(t));function Xn(e,t,n,r){return Ht(e,t,M0(n),r)}var Jl=({current:e})=>e?e.ownerDocument.defaultView:null;var V0=(e,t)=>Math.abs(e-t);function A0(e,t){let n=V0(e.x,t.x),r=V0(e.y,t.y);return Math.sqrt(n**2+r**2)}var L0=new Set(["auto","scroll"]),_o=class{constructor(t,n,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:i=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=g=>{this.handleScroll(g.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=eu(this.lastRawMoveEventInfo,this.transformPagePoint));let g=qp(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,x=A0(g.offset,{x:0,y:0})>=this.distanceThreshold;if(!y&&!x)return;let{point:S}=g,{timestamp:m}=le;this.history.push({...S,timestamp:m});let{onStart:d,onMove:h}=this.handlers;y||(d&&d(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),h&&h(this.lastMoveEvent,g)},this.handlePointerMove=(g,y)=>{this.lastMoveEvent=g,this.lastRawMoveEventInfo=y,this.lastMoveEventInfo=eu(y,this.transformPagePoint),D.update(this.updatePoint,!0)},this.handlePointerUp=(g,y)=>{this.end();let{onEnd:x,onSessionEnd:S,resumeAnimation:m}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let d=qp(g.type==="pointercancel"?this.lastMoveEventInfo:eu(y,this.transformPagePoint),this.history);this.startEvent&&x&&x(g,d),S&&S(g,d)},!Sr(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=o||window;let l=pn(t),u=eu(l,this.transformPagePoint),{point:c}=u,{timestamp:f}=le;this.history=[{...c,timestamp:f}];let{onSessionStart:p}=n;p&&p(t,qp(u,this.history)),this.removeListeners=Et(Xn(this.contextWindow,"pointermove",this.handlePointerMove),Xn(this.contextWindow,"pointerup",this.handlePointerUp),Xn(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){let r=getComputedStyle(n);(L0.has(r.overflowX)||L0.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let n=this.scrollPositions.get(t);if(!n)return;let r=t===window,o=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:o.x-n.x,y:o.y-n.y};i.x===0&&i.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,o),D.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Ke(this.updatePoint)}};function eu(e,t){return t?{point:t(e.point)}:e}function D0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function qp({point:e},t){return{point:e,delta:D0(e,_0(t)),offset:D0(e,cT(t)),velocity:fT(t,.1)}}function cT(e){return e[0]}function _0(e){return e[e.length-1]}function fT(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,o=_0(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>fe(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&o.timestamp-r.timestamp>fe(t)*2&&(r=e[1]);let i=ke(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};let s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function z0(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?N(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?N(n,e,r.max):Math.min(e,n)),e}function N0(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function b0(e,{top:t,left:n,bottom:r,right:o}){return{x:N0(e.x,n,o),y:N0(e.y,t,r)}}function R0(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function F0(e,t){return{x:R0(e.x,t.x),y:R0(e.y,t.y)}}function B0(e,t){let n=.5,r=de(e),o=de(t);return o>r?n=bt(t.min,t.max-r,e.min):r>o&&(n=bt(e.min,e.max-o,t.min)),ye(0,1,n)}function j0(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var tu=.35;function W0(e=tu){return e===!1?e=0:e===!0&&(e=tu),{x:I0(e,"left","right"),y:I0(e,"to
8p","bottom")}}function I0(e,t,n){return{min:O0(e,t),max:O0(e,n)}}function O0(e,t){return typeof e=="number"?e:e[t]||0}var pT=new WeakMap,ru=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=X(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){let{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;let i=f=>{n&&this.snapToCursor(pn(f).point),this.stopAnimation()},s=(f,p)=>{let{drag:g,dragPropagation:y,onDragStart:x}=this.getProps();if(g&&!y&&(this.openDragLock&&this.openDragLock(),this.openDragLock=fp(g),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=p,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rt(m=>{let d=this.getAxisMotionValue(m).get()||0;if(Ne.test(d)){let{projection:h}=this.visualElement;if(h&&h.layout){let v=h.layout.layoutBox[m];v&&(d=de(v)*(parseFloat(d)/100))}}this.originPoint[m]=d}),x&&D.update(()=>x(f,p),!1,!0),xo(this.visualElement,"transform");let{animationState:S}=this.visualElement;S&&S.setActive("whileDrag",!0)},a=(f,p)=>{this.latestPointerEvent=f,this.latestPanInfo=p;let{dragPropagation:g,dragDirectionLock:y,onDirectionLock:x,onDrag:S}=this.getProps();if(!g&&!this.openDragLock)return;let{offset:m}=p;if(y&&this.currentDirection===null){this.currentDirection=mT(m),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",p.point,m),this.updateAxis("y",p.point,m),this.visualElement.render(),S&&D.update(()=>S(f,p),!1,!0)},l=(f,p)=>{this.latestPointerEvent=f,this.latestPanInfo=p,this.stop(f,p),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{let{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new _o(t,{onSessionStart:i,onStart:s,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:Jl(this.visualElement),element:this.visualElement.current})}stop(t,n){let r=t||this.latestPointerEvent,o=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!o||!r)return;let{velocity:s}=o;this.startAnimation(s);let{onDragEnd:a}=this.getProps();a&&D.postRender(()=>a(r,o))}cancel(){this.isDragging=!1;let{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){let{drag:o}=this.getProps();if(!r||!nu(t,o,this.currentDirection))return;let i=this.getAxisMotionValue(t),s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=z0(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&Yn(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=b0(r.layoutBox,t):this.constraints=!1,this.elastic=W0(n),o!==this.constraints&&!Yn(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&rt(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=j0(r.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Yn(t))return!1;let r=t.current;pt(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let i=Mp(r,o.root,this.visualElement.getTransformPagePoint()),s=F0(o.layout.layoutBox,i);if(n){let a=n(Sp(s));this.hasMutatedConstraints=!!a,a&&(s=ts(a))}return s}startAnimation(t){let{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=rt(c=>{if(!nu(c,n,this.currentDirection))return;let f=l&&l[c]||{};(s===!0||s===c)&&(f={min:0,max:0});let p=o?200:1e6,g=o?40:1e7,y={type:"inertia",velocity:r?t[c]:0,bounceStiffness:p,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...i,...f};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){let r=this.getAxisMotionValue(t);return xo(this.visualElement,t),r.start(vr(t,r,0,n,this.visualElement,!1))}stopAnimation(){rt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){rt(n=>{let{drag:r}=this.getProps();if(!nu(n,r,this.currentDirection))return;let{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){let{min:s,max:a}=o.layout.layoutBox[n],l=i.get()||0;i.set(t[n]-N(s,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Yn(n)||!r||!this.constraints)return;this.stopAnimation();let o={x:0,y:0};rt(s=>{let a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){let l=a.get();o[s]=B0({min:l,max:l},this.constraints[s])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),rt(s=>{if(!nu(s,t,null))return;let a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(N(l,u,o[s]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;pT.set(this.visualElement,this);let t=this.visualElement.current,n=Xn(t,"pointerdown",u=>{let{drag:c,dragListener:f=!0}=this.getProps(),p=u.target,g=p!==t&&hp(p);c&&f&&!g&&this.start(u)}),r,o=()=>{let{dragConstraints:u}=this.getProps();Yn(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=dT(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,s=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),D.read(o);let a=Ht(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",(({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(rt(f=>{let p=this.getAxisMotionValue(f);p&&(this.originPoint[f]+=u[f].translate,p.set(p.get()+u[f].translate))}),this.visualElement.render())}));return()=>{a(),n(),s(),l&&l(),r&&r()}}getProps(){let t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=tu,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}};function U0(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function dT(e,t,n){let r=Al(e,U0(n)),o=Al(t,U0(n));return()=>{r(),o()}}function nu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function mT(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}var ou=class extends xe{constructor(t){super(t),this.removeGroupControls=re,this.removeListeners=re,this.controls=new ru(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||re}update(){let{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}};var Kp=e=>(t,n)=>{e&&D.update(()=>e(t,n),!1,!0)},iu=class extends xe{constructor(){super(...arguments),this.removePointerDownListener=re}onPointerDown(t){this.session=new _o(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Jl(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Kp(t),onStart:Kp(n),onMove:Kp(r),onEnd:(i,s)=>{delete this.session,o&&D.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=Xn(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var H0=R(be(),1);var ds=R(q(),1);var Gp=!1,Qp=class extends ds.Component{componentDidMount(){let{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),Gp&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Mr.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,{projection:s}=r;return s&&(s.isPresent=i,t.layoutDependency!==n&&s.setOptions({...s.options,layoutDependency:n}),Gp=!0,o||t.layoutDependency!==n||n===void 0||t.isPresent!==i?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||D.postRender(()=>
8{let a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),wr.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;Gp=!0,o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};function su(e){let[t,n]=Jv(),r=(0,ds.useContext)(Ba);return(0,H0.jsx)(Qp,{...e,layoutGroup:r,switchLayoutGroup:(0,ds.useContext)(Gl),isPresent:t,safeToRemove:n})}var $0={pan:{Feature:iu},drag:{Feature:ou,ProjectionNode:fs,MeasureLayout:su}};function q0(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");let o="onHover"+n,i=r[o];i&&D.postRender(()=>i(t,pn(t)))}var au=class extends xe{mount(){let{current:t}=this.node;t&&(this.unmount=pp(t,(n,r)=>(q0(this.node,r,"Start"),o=>q0(this.node,o,"End"))))}unmount(){}};var lu=class extends xe{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Et(Ht(this.node.current,"focus",()=>this.onFocus()),Ht(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function K0(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");let o="onTap"+(n==="End"?"":n),i=r[o];i&&D.postRender(()=>i(t,pn(t)))}var uu=class extends xe{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=yp(t,(o,i)=>(K0(this.node,i,"Start"),(s,{success:a})=>K0(this.node,s,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:r?.tap===!1})}unmount(){}};var Xp=new WeakMap,Yp=new WeakMap,hT=e=>{let t=Xp.get(e.target);t&&t(e)},gT=e=>{e.forEach(hT)};function yT({root:e,...t}){let n=e||document;Yp.has(n)||Yp.set(n,{});let r=Yp.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(gT,{root:e,...t})),r[o]}function G0(e,t,n){let r=yT(t);return Xp.set(e,n),r.observe(e),()=>{Xp.delete(e),r.unobserve(e)}}var vT={some:0,all:1},cu=class extends xe{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:vT[o]},a=l=>{let{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);let{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),p=u?c:f;p&&p(l)};this.stopObserver=G0(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:n}=this.node;["amount","margin","root"].some(xT(t,n))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function xT({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var Q0={inView:{Feature:cu},tap:{Feature:uu},focus:{Feature:lu},hover:{Feature:au}};var Y0={layout:{ProjectionNode:fs,MeasureLayout:su}};var X0={...E0,...Q0,...$0,...Y0};var ue=T0(X0,P0);var fu=R(be());function At({children:e}){return(0,fu.jsx)(fu.Fragment,{children:e})}var L=R(be()),Z0="senly-optquiz-dismissed",ms=10,wT={nl:{questions:[{category:"Bureau",q:"Hoeveel klanten beheer je actief?",opts:["1\u20135 klanten","6\u201315 klanten","16\u201330 klanten","30+ klanten"]},{category:"Uitvoerend werk",q:"Hoeveel uur per klant per week ben je kwijt aan uitvoerend werk \u2014 handmatig posten, screenshots, plannen?",opts:["Minder dan 2 uur","2\u20134 uur","4\u20136 uur","Meer dan 6 uur"]},{category:"Onbetaald werk",q:"Hoeveel uur per week ben je bezig met ra
8pportages waar je klant je niet apart voor betaalt?",opts:["Minder dan 1 uur","1\u20133 uur","3\u20136 uur","6+ uur"]},{category:"Tijdsbesteding",q:"Hoeveel uur per week kost het inplannen en schedulen van content?",opts:["Minder dan 2 uur","2\u20134 uur","4\u20138 uur","8+ uur"]},{category:"Tools",q:"Hoeveel tools gebruik je op dit moment voor je werkzaamheden?",opts:["1\u20132 tools","3\u20134 tools","5\u20137 tools","8+ tools"]},{category:"Overzicht",q:"Hoe vaak schiet er iets door de mazen \u2014 een vergeten post, gemiste deadline, een klant die op antwoord wacht?",opts:["Bijna nooit, alles staat in \xE9\xE9n systeem","Soms, ik los het meestal op tijd op","Regelmatig, ik werk vooral reactief","Vaak, ik raak het overzicht kwijt"]},{category:"Klantrelatie",q:"Hoe lever je rapportages aan bij klanten?",opts:["Automatisch via platform","PDF handmatig opmaken","Screenshots of e-mail","Geen structurele rapportage"]},{category:"Klantbeleving",q:'Hoe vaak hoor je van een klant "wat hebben jullie deze maand eigenlijk voor mij gedaan?"',opts:["Nooit \u2014 ze zien de impact realtime","Soms, ik moet dan even toelichten","Regelmatig, ik leg het telkens uit","Vaak \u2014 klanten lopen hierdoor weg"]},{category:"Beveiliging",q:"Hoe beheer je toegang tot de social media accounts van klanten?",opts:["Centraal in \xE9\xE9n tool","Gedeelde wachtwoorden","Per klant apart geregeld","Geen vaste structuur"]},{category:"Schaalbaarheid",q:"Als je vandaag 5 nieuwe klanten erbij kreeg \u2014 zou je dat aankunnen zonder dat de kwaliteit eronder lijdt?",opts:["Ja, ik heb capaciteit over","Met wat extra moeite, maar het lukt","Nee, niet zonder iemand erbij","Nee, ik kan al niet bijhouden wat ik heb"]}],ui:{teaser_aria:"Senly optimalisatietest",teaser_eyebrow:"Gratis bureau-scan \xB7 2 min",teaser_title:"Gratis optimalisatietest",teaser_sub:"10 vragen \xB7 ontdek je tijdwinst, werktempo en kwaliteitswinst.",teaser_cta:"Start test",modal_aria:"Senly optimalisatietest",results_title:"Jouw potentieel",results_sub:"Op basis van jouw antwoorden schatten we in wat Senly voor jouw bureau kan betekenen.",metric_hours:"bespaard per klant / maand",metric_speed:"sneller werken",metric_quality:"kwaliteitsverbetering",disclaimer:"Indicatieve schatting op basis van je antwoorden.",results_cta:"Start gratis proefperiode \u2192",results_cta_foot:"Geen verplichtingen \xB7 14 dagen full access \xB7 Opzeggen wanneer je wilt",aria_close:"Sluiten"}},en:{questions:[{category:"Agency",q:"How many clients do you actively manage?",opts:["1\u20135 clients","6\u201315 clients","16\u201330 clients","30+ clients"]},{category:"Manual work",q:"How many hours per client per week do you lose to manual execution \u2014 posting, screenshots, scheduling?",opts:["Less than 2 hours","2\u20134 hours","4\u20136 hours","More than 6 hours"]},{category:"Unpaid work",q:"How many hours per week do you spend on reports your client isn't separately paying you for?",opts:["Less than 1 hour","1\u20133 hours","3\u20136 hours","6+ hours"]},{category:"Time spent",q:"How many hours per week does planning and scheduling content take?",opts:["Less than 2 hours","2\u20134 hours","4\u20138 hours","8+ hours"]},{category:"Tools",q:"How many tools do you currently use for your work?",opts:["1\u20132 tools","3\u20134 tools","5\u20137 tools","8+ tools"]},{category:"Oversight",q:"How often does something slip through the cracks \u2014 a forgotten post, missed deadline, client waiting for a reply?",opts:["Almost never \u2014 it's all in one system","Sometimes, I usually catch it in time","Often, I work mostly reactively","Constantly, I lose track"]},{category:"Client relationship",q:"How do you deliver reports to clients?",opts:["Automatically via platform","Manual PDF","Screenshots or email","No structured reporting"]},{category:"Client perception",q:'How often does a client ask "what have you actually done for me this month?"',opts:["Never \u2014 they see the impact in real time","Sometimes, I have to explain it","Regularly, I explain it each time","Often \u2014 clients churn over this"]},{category:"Security",q:"How do you manage access to clients' social media accounts?",opts:["Centrally in one tool","Shared passwords","Set up per client","No fixed structure"]},{category:"Scalability",q:"If 5 new clients came in tomorrow \u2014 could you handle them without quality dropping?",opts:["Yes, I have capacity to spare","With extra effort, but doable","No, not without extra staff","No, I can barely keep up as it is"]}],ui:{teaser_aria:"Senly optimization test",teaser_eyebrow:"Free agency scan \xB7 2 min",teaser_title:"Free optimization test",teaser_sub:"10 questions \xB7 discover your time savings, speed and quality gain.",teaser_cta:"Start test",modal_aria:"Senly optimization test",results_title:"Your potential",results_sub:"Based on your answers, here's what Senly could mean for your agency.",metric_hours:"saved per 
8client / month",metric_speed:"faster workflow",metric_quality:"quality improvement",disclaimer:"Indicative estimate based on your answers.",results_cta:"Start free trial \u2192",results_cta_foot:"No commitment \xB7 14 days full access \xB7 Cancel anytime",aria_close:"Close"}},de:{questions:[{category:"Agentur",q:"Wie viele Kunden betreust du aktiv?",opts:["1\u20135 Kunden","6\u201315 Kunden","16\u201330 Kunden","30+ Kunden"]},{category:"Operative Arbeit",q:"Wie viele Stunden pro Kunde und Woche verlierst du an manuelle Ausf\xFChrung \u2014 Posten, Screenshots, Planen?",opts:["Weniger als 2 Stunden","2\u20134 Stunden","4\u20136 Stunden","Mehr als 6 Stunden"]},{category:"Unbezahlte Arbeit",q:"Wie viele Stunden pro Woche verbringst du mit Berichten, f\xFCr die dein Kunde dich nicht extra bezahlt?",opts:["Weniger als 1 Stunde","1\u20133 Stunden","3\u20136 Stunden","6+ Stunden"]},{category:"Zeitaufwand",q:"Wie viele Stunden pro Woche kostet die Planung von Content?",opts:["Weniger als 2 Stunden","2\u20134 Stunden","4\u20138 Stunden","8+ Stunden"]},{category:"Tools",q:"Wie viele Tools nutzt du aktuell f\xFCr deine Arbeit?",opts:["1\u20132 Tools","3\u20134 Tools","5\u20137 Tools","8+ Tools"]},{category:"\xDCberblick",q:"Wie oft rutscht etwas durch \u2014 ein vergessener Post, eine verpasste Frist, ein Kunde, der auf Antwort wartet?",opts:["Fast nie \u2014 alles in einem System","Manchmal, ich fange es meist rechtzeitig ab","Oft, ich arbeite \xFCberwiegend reaktiv","St\xE4ndig, ich verliere den \xDCberblick"]},{category:"Kundenbeziehung",q:"Wie lieferst du Berichte an Kunden?",opts:["Automatisch \xFCber die Plattform","Manuelles PDF","Screenshots oder E-Mail","Keine strukturierte Berichterstattung"]},{category:"Kundenwahrnehmung",q:'Wie oft fragt ein Kunde "was habt ihr diesen Monat eigentlich f\xFCr mich gemacht?"',opts:["Nie \u2014 sie sehen den Impact in Echtzeit","Manchmal, ich muss kurz erkl\xE4ren","Regelm\xE4\xDFig, ich erkl\xE4re es immer wieder","Oft \u2014 Kunden springen deshalb ab"]},{category:"Sicherheit",q:"Wie verwaltest du den Zugang zu den Social-Media-Konten der Kunden?",opts:["Zentral in einem Tool","Geteilte Passw\xF6rter","Pro Kunde separat geregelt","Keine feste Struktur"]},{category:"Skalierbarkeit",q:"Wenn morgen 5 neue Kunden dazuk\xE4men \u2014 k\xF6nntest du sie \xFCbernehmen, ohne dass die Qualit\xE4t leidet?",opts:["Ja, ich habe Kapazit\xE4t","Mit zus\xE4tzlichem Aufwand, aber machbar","Nein, nicht ohne zus\xE4tzliches Personal","Nein, ich komme jetzt schon kaum hinterher"]}],ui:{teaser_aria:"Senly Optimierungstest",teaser_eyebrow:"Kostenloser Agentur-Scan \xB7 2 Min",teaser_title:"Kostenloser Optimierungstest",teaser_sub:"10 Fragen \xB7 entdecke deine Zeitersparnis, Geschwindigkeit und Qualit\xE4tssteigerung.",teaser_cta:"Test starten",modal_aria:"Senly Optimierungstest",results_title:"Dein Potenzial",results_sub:"Basierend auf deinen Antworten zeigen wir, was Senly f\xFCr deine Agentur bedeuten kann.",metric_hours:"gespart pro Kunde / Monat",metric_speed:"schneller arbeiten",metric_quality:"Qualit\xE4tsverbesserung",disclaimer:"Indikative Sch\xE4tzung basierend auf deinen Antworten.",results_cta:"Kostenlose Testphase starten \u2192",results_cta_foot:"Keine Verpflichtungen \xB7 14 Tage voller Zugriff \xB7 Jederzeit k\xFCndbar",aria_close:"Schlie\xDFen"}},fr:{questions:[{category:"Agence",q:"Combien de clients g\xE8res-tu activement ?",opts:["1 \xE0 5 clients","6 \xE0 15 clients","16 \xE0 30 clients","30+ clients"]},{category:"Travail manuel",q:"Combien d heures par client et par semaine perds-tu en ex\xE9cution manuelle \u2014 poster, captures, planifier ?",opts:["Moins de 2 heures","2 \xE0 4 heures","4 \xE0 6 heures","Plus de 6 heures"]},{category:"Travail non pay\xE9",q:"Combien d heures par semaine passes-tu sur des rapports pour lesquels ton client ne te paie pas s\xE9par\xE9ment ?",opts:["Moins d 1 heure","1 \xE0 3 heures","3 \xE0 6 heures","6+ heures"]},{category:"Temps pass\xE9",q:"Combien d heures par semaine consacres-tu \xE0 planifier et programmer le contenu ?",opts:["Moins de 2 heures","2 \xE0 4 heures","4 \xE0 8 heures","8+ heures"]},{category:"Outils",q:"Combien d outils utilises-tu actuellement pour ton travail ?",opts:["1 \xE0 2 outils","3 \xE0 4 outils","5 \xE0 7 outils","8+ outils"]},{category:"Vue d ensemble",q:"\xC0 quelle fr\xE9quence quelque chose passe-t-il \xE0 travers les mailles \u2014 post oubli\xE9, deadline rat\xE9e, client qui attend une r\xE9ponse ?",opts:["Presque jamais \u2014 tout est dans un seul syst\xE8me","Parfois, je rattrape g\xE9n\xE9ralement \xE0 temps","Souvent, je travaille surtout en r\xE9actif","Constamment, je perds le fil"]},{category:"Relation client",q:"Comment livres-tu les rapports aux clients ?",opts:["Automatiquement via la plateforme","PDF manuel","Captures ou e-mail","Pas de rapport structur\xE9"]},{category:"Perception client",q:'\xC0 quelle fr\xE9quence un client demande-t-il "qu avez-vous concr\xE8tement fait pour moi ce mois-ci ?"',opts:["Jamais \u2014 ils voient l impact en temps r\xE9el","Parfois, je dois expliquer","R\xE9guli\xE8rement, je l explique chaque fois","Souvent \u2014 des clients partent \xE0 cause de \xE7a"]},{category:"S\xE9curit\xE9",q:"Comment g\xE8res-tu l acc\xE8s aux comptes r\xE9seaux sociaux des clients ?",opts:["Centralis\xE9 dans un outil","Mots de passe partag\xE9s","R\xE9gl\xE9 par client","Aucune structure fixe"]},{category:"Croissance",q:"Si 5 nouveaux clients arrivaient demain \u2014 pourrais-tu les g\xE9rer sans que la qualit\xE9 baisse ?",opts:["Oui, j ai de la capacit\xE9 disponible","Avec un effort suppl\xE9mentaire, mais faisable","Non, pas sans personnel en plus","Non, je n arrive d\xE9j\xE0 pas \xE0 tout suivre"]}],ui:{teaser_aria:"Test d'optimisation Senly",teaser_eyebrow:"Scan d'agence gratuit \xB7 2 min",teaser_title:"Test d'optimisation gratuit",teaser_sub:"10 questions \xB7 d\xE9couvre ton gain de temps, ta vitesse et ta qualit\xE9.",teaser_cta:"D\xE9marrer le test",modal_aria:"Test d'optimisation Senly",results_title:"Ton potentiel",results_sub:"Sur la base de tes r\xE9ponses, voici ce que Senly pourrait apporter \xE0 ton agence.",metric_hours:"\xE9conomis\xE9es par client / mois",metric_speed:"workflow plus rapide",metric_quality:"am\xE9lioration de la qualit\xE9",disclaimer:"Estimation indicative bas\xE9e sur tes r\xE9ponses.",results_cta:"D\xE9marrer l'essai gratuit \u2192",results_cta_foot:"Sans engagement \xB7 14 jours d'acc\xE8s complet \xB7 Annulation \xE0 tout moment",aria_close:"Fermer"}}};function ST(e){let t=E=>e[E]??0,n=[1.5,3,5,7][t(1)],r=[.5,1,2,3.5][t(4)],o=n*.3+r*.55+.4,i=[.5,2,4.5,7][t(2)],s=[1.5,3,6,9][t(3)],a=[3,10,22,40][t(0)],l=(i*.55+s*.5)/a,u=o+l,c=Math.max(Math.round(u*4.33),3),f=[105,135,175,230],p=[110,140,180,235],g=[115,150,190,240],y=[110,145,185,235],x=(f[t(4)]+p[t(5)]+g[t(6)]+y[t(8)])/4,S=Math.round(x/10)/10,m=[30,55,75,88],d=[25,50,72,86],h=[28,52,73,87],v=[35,58,75,88],k=Math.round((m[t(6)]+d[t(7)]+h[t(8)]+v[t(9)])/4);return{hoursSaved:c,workflowMultiplier:S,qualityScore:k}}function kT({to:e,suffix:t="",lang:n="nl"}){let[r,o]=(0,$t.useState)(0);(0,$t.useEffect)(()=>{let l=0,u=null,c=f=>{u===null&&(u=f);let p=Math.min((f-u)/1200,1),g=1-Math.pow(1-p,3);o(e*g),p<1?l=requestAnimationFrame(c):o(e)};return l=requestAnimationFrame(c),()=>cancelAnimationFrame(l)},[e]);let i=t==="\xD7"||t==="u"&&e%1!==0?1:0,s=n==="en"?".":",";return(0,L.jsxs)(L.Fragment,{children:[r.toFixed(i).replace(".",s),t]})}function J0({lang:e="nl"}){let t=wT[e],n=t.questions,r=e==="nl"?"u":"h",[o,i]=(0,$t.useState)(!1),[s,a]=(0,$t.useState)("teaser"),[l,u]=(0,$t.useState)(0),[c,f]=(0,$t.useState)(Array(ms).fill(null)),[p,g]=(0,$t.useState)(null);(0,$t.useEffect)(()=>
8{if(sessionStorage.getItem(Z0))return;let h=null,v=()=>{h=setTimeout(()=>i(!0),1e4)};return localStorage.getItem("senly-cookie-consent")?v():window.addEventListener("senly:cookie-consent",v,{once:!0}),()=>{window.removeEventListener("senly:cookie-consent",v),h&&clearTimeout(h)}},[]);function y(){i(!1),sessionStorage.setItem(Z0,"1")}function x(){a("quiz"),u(0),f(Array(ms).fill(null)),g(null)}function S(h){p===null&&(g(h),setTimeout(()=>{let v=[...c];v[l]=h,f(v),g(null),l<ms-1?u(k=>k+1):a("results")},420))}let m=s==="results"?ST(c):null,d=s==="quiz"?Math.round((l+1)/ms*100):0;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(At,{children:o&&s!=="teaser"&&(0,L.jsx)(ue.div,{className:"optquiz-backdrop",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},onClick:y})}),(0,L.jsx)(At,{children:o&&s==="teaser"&&(0,L.jsxs)(ue.div,{className:"optquiz-wrap",initial:{opacity:0,y:20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:12,scale:.95},transition:{duration:.28,ease:[.16,1,.3,1]},role:"dialog","aria-label":t.ui.teaser_aria,children:[(0,L.jsx)("button",{type:"button",className:"optquiz-close",onClick:y,"aria-label":t.ui.aria_close,children:(0,L.jsxs)("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.6",strokeLinecap:"round",children:[(0,L.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,L.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),(0,L.jsxs)("div",{className:"optquiz-body",children:[(0,L.jsx)("div",{className:"optquiz-icon",children:(0,L.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,L.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,L.jsx)("polyline",{points:"12 6 12 12 16 14"})]})}),(0,L.jsxs)("span",{className:"optquiz-eyebrow",children:[(0,L.jsx)("span",{className:"optquiz-eyebrow-dot"}),t.ui.teaser_eyebrow]}),(0,L.jsx)("p",{className:"optquiz-title",children:t.ui.teaser_title}),(0,L.jsx)("p",{className:"optquiz-sub",children:t.ui.teaser_sub}),(0,L.jsxs)("button",{type:"button",className:"optquiz-cta",onClick:x,children:[t.ui.teaser_cta," ",(0,L.jsx)("span",{className:"optquiz-cta-arrow","aria-hidden":!0,children:"\u2192"})]})]})]})}),(0,L.jsx)(At,{children:o&&s!=="teaser"&&(0,L.jsxs)(ue.div,{className:"optquiz-modal",initial:{opacity:0,scale:.97,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.97,y:20},transition:{duration:.32,ease:[.16,1,.3,1]},role:"dialog","aria-modal":"true","aria-label":t.ui.modal_aria,children:[(0,L.jsx)("button",{type:"button",className:"optquiz-modal-close",onClick:y,"aria-label":t.ui.aria_close,children:(0,L.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",children:[(0,L.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,L.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),(0,L.jsxs)(At,{mode:"wait",initial:!1,children:[s==="quiz"&&(0,L.jsxs)(ue.div,{className:"optquiz-modal-body",initial:{opacity:0,x:32},animate:{opacity:1,x:0},exit:{opacity:0,x:-32},transition:{duration:.22,ease:[.16,1,.3,1]},children:[(0,L.jsxs)("div",{className:"optquiz-modal-progress",children:[(0,L.jsx)("div",{className:"optquiz-progress-bar-track",children:(0,L.jsx)(ue.div,{className:"optquiz-progress-bar-fill",animate:{width:`${d}%`},transition:{duration:.5,ease:[.16,1,.3,1]},children:(0,L.jsx)("span",{className:"optquiz-progress-glow"})})}),(0,L.jsxs)("span",{className:"optquiz-progress-label",children:[l+1," ",(0,L.jsx)("span",{className:"optquiz-progress-sep",children:"/"})," ",ms]})]}),(0,L.jsx)("p",{className:"optquiz-modal-category",children:n[l].category}),(0,L.jsx)("p",{className:"optquiz-modal-question",children:n[l].q}),(0,L.jsx)("div",{className:"optquiz-modal-options",children:n[l].opts.map((h,v)=>(0,L.jsxs)(ue.button,{type:"button",className:`optquiz-modal-option${p===v?" is-selected":""}`,onClick:()=>S(v),initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:v*.07,duration:.22,ease:[.16,1,.3,1]},whileHover:p===null?{x:6}:{},whileTap:p===null?{scale:.985}:{},children:[(0,L.jsx)("span",{className:"optquiz-option-dot"}),(0,L.jsx)("span",{className:"optquiz-option-text",children:h}),(0,L.jsx)("span",{className:"optquiz-option-arrow",children:"\u2192"})]},v))})]},`q-${l}`),s==="results"&&m&&(0,L.jsxs)(ue.div,{className:"optquiz-modal-body optquiz-modal-body--results",initial:{opacity:0,y:20}
8,animate:{opacity:1,y:0},exit:{opacity:0},transition:{duration:.3},children:[(0,L.jsx)(ue.div,{className:"optquiz-results-icon",initial:{scale:.5,opacity:0},animate:{scale:1,opacity:1},transition:{delay:.1,type:"spring",stiffness:260,damping:20},children:(0,L.jsx)("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:(0,L.jsx)("polyline",{points:"22 12 18 12 15 21 9 3 6 12 2 12"})})}),(0,L.jsx)(ue.p,{className:"optquiz-modal-results-title",initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{delay:.2},children:t.ui.results_title}),(0,L.jsx)(ue.p,{className:"optquiz-modal-results-sub",initial:{opacity:0},animate:{opacity:1},transition:{delay:.3},children:t.ui.results_sub}),(0,L.jsx)("div",{className:"optquiz-modal-metrics",children:[{value:m.hoursSaved,suffix:r,label:t.ui.metric_hours,delay:.35},{value:m.workflowMultiplier,suffix:"\xD7",label:t.ui.metric_speed,delay:.45},{value:m.qualityScore,suffix:"%",label:t.ui.metric_quality,delay:.55}].map((h,v)=>(0,L.jsxs)(ue.div,{className:"optquiz-modal-metric",initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{delay:h.delay,duration:.4,ease:[.16,1,.3,1]},children:[(0,L.jsx)("span",{className:"optquiz-modal-metric-num",children:(0,L.jsx)(kT,{to:h.value,suffix:h.suffix,lang:e})}),(0,L.jsx)("span",{className:"optquiz-modal-metric-label",children:h.label})]},v))}),(0,L.jsx)(ue.p,{className:"optquiz-modal-disclaimer",initial:{opacity:0}
8,animate:{opacity:1},transition:{delay:.65},children:t.ui.disclaimer}),(0,L.jsxs)(ue.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{delay:.7},children:[(0,L.jsx)(ao,{href:"/signup",className:"optquiz-modal-cta",onClick:y,children:t.ui.results_cta}),(0,L.jsx)("p",{className:"optquiz-modal-cta-foot",children:t.ui.results_cta_foot})]})]},"results")]})]})})]})}var F=R(q());var w=R(be()),$="#2c656d",tx={nl:{tooltip_title:"Heb je een vraag?",tooltip_sub:"Ons supportteam staat voor je klaar",online:"We zijn online",tab_chat:"Conversatie",tab_help:"Helpcentrum",empty_title:"Hoe kunnen we je helpen?",empty_sub:"Stuur een bericht en onze assistent reageert direct.",placeholder_msg:"Typ een bericht...",placeholder_email:"Jouw e-mailadres...",sender:"Sanne",connect_human:"Verbind met medewerker",human_title:"Medewerker neemt over",human_sub:"Je wordt zo snel mogelijk geholpen.",human_msg:"Ik wil graag met een medewerker praten.",human_bot_reply:"Begrepen! Laat hieronder je e-mailadres achter en een medewerker neemt zo snel mogelijk contact met je op.",email_confirm:e=>`Bedankt! We nemen binnenkort contact op via **${e}**.`,email_capture:"Laat je e-mail achter, dan komen we erop terug.",email_invalid:"Dat lijkt geen geldig e-mailadres.",email_error:"Versturen lukte niet, probeer het zo nog eens.",search_placeholder:"Zoek in het helpcentrum...",clear:"Wissen",no_results:e=>`Geen resultaten voor "${e}"`,no_results_sub:"Probeer een andere zoekterm of stel je vraag via de Conversatie-tab.",results:e=>`${e} ${e!==1?"resultaten":"resultaat"}`,read_more:"Lees meer \u2192",aria_service:"Klantenservice",aria_open:"Klantenservice openen",aria_close:"Sluiten",aria_send:"Versturen",other:"Overig"},en:{tooltip_title:"Have a question?",tooltip_sub:"Our support team is here for you",online:"We're online",tab_chat:"Conversation",tab_help:"Help center",empty_title:"How can we help you?",empty_sub:"Send a message and our assistant will reply right away.",placeholder_msg:"Type a message...",placeholder_email:"Your email address...",sender:"Sanne",connect_human:"Connect with an agent",human_title:"Agent taking over",human_sub:"You'll be helped as soon as possible.",human_msg:"I'd like to speak with a team member.",human_bot_reply:"Got it! Leave your email address below and a team member will contact you as soon as possible.",email_confirm:e=>`Thanks! We'll be in touch via **${e}** shortly.`,email_capture:"Leave your email and we'll get back to you.",email_invalid:"That doesn't look like a valid email address.",email_error:"Sending failed, please try again in a moment.",search_placeholder:"Search the help center...",clear:"Clear",no_results:e=>`No results for "${e}"`,no_results_sub:"Try a different search term or ask your question in the Conversation tab.",results:e=>`${e} ${e!==1?"results":"result"}`,read_more:"Read more \u2192",aria_service:"Customer support",aria_open:"Open customer support",aria_close:"Close",aria_send:"Send",other:"Other"},de:{tooltip_title:"Hast du eine Frage?",tooltip_sub:"Unser Support-Team ist f\xFCr dich da",online:"Wir sind online",tab_chat:"Gespr\xE4ch",tab_help:"Hilfe-Center",empty_title:"Wie k\xF6nnen wir dir helfen?",empty_sub:"Schick eine Nachricht und unser Assistent antwortet sofort.",placeholder_msg:"Nachricht eingeben...",placeholder_email:"Deine E-Mail-Adresse...",sender:"Sanne",connect_human:"Mit Mitarbeiter verbinden",human_title:"Mitarbeiter \xFCbernimmt",human_sub:"Du wirst so schnell wie m\xF6glich geholfen.",human_msg:"Ich m\xF6chte gerne mit einem Mitarbeiter sprechen.",human_bot_reply:"Verstanden! Hinterlasse unten deine E-Mail-Adresse und ein Mitarbeiter meldet sich so schnell wie m\xF6glich bei dir.",email_confirm:e=>`Danke! Wir melden uns in K\xFCrze \xFCber **${e}**.`,email_capture:"Hinterlasse deine E-Mail und wir melden uns bei dir.",email_invalid:"Das sieht nicht wie eine g\xFCltige E-Mail-Adresse aus.",email_error:"Senden fehlgeschlagen, versuche es gleich noch einmal.",search_placeholder:"Hilfe-Center durchsuchen...",clear:"L\xF6schen",no_results:e=>`Keine Ergebnisse f\xFCr "${e}"`,no_results_sub:"Versuche einen anderen Suchbegriff oder stelle deine Frage im Gespr\xE4ch-Tab.",results:e=>`${e}
8 ${e!==1?"Ergebnisse":"Ergebnis"}`,read_more:"Mehr lesen \u2192",aria_service:"Kundendienst",aria_open:"Kundendienst \xF6ffnen",aria_close:"Schlie\xDFen",aria_send:"Senden",other:"Sonstiges"},fr:{tooltip_title:"Une question ?",tooltip_sub:"Notre \xE9quipe support est l\xE0 pour toi",online:"Nous sommes en ligne",tab_chat:"Conversation",tab_help:"Centre d'aide",empty_title:"Comment pouvons-nous t'aider ?",empty_sub:"Envoie un message et notre assistant r\xE9pondra imm\xE9diatement.",placeholder_msg:"Tape un message...",placeholder_email:"Ton adresse e-mail...",sender:"Sanne",connect_human:"Connecter avec un agent",human_title:"Agent en train de prendre le relais",human_sub:"Tu seras aid\xE9(e) d\xE8s que possible.",human_msg:"Je voudrais parler avec un membre de l'\xE9quipe.",human_bot_reply:"Compris ! Laisse ton adresse e-mail ci-dessous et un membre de l'\xE9quipe te contactera d\xE8s que possible.",email_confirm:e=>`Merci ! Nous te contacterons via **${e}** sous peu.`,email_capture:"Laisse ton e-mail et nous reviendrons vers toi.",email_invalid:"Cela ne ressemble pas \xE0 une adresse e-mail valide.",email_error:"L'envoi a \xE9chou\xE9, r\xE9essaie dans un instant.",search_placeholder:"Rechercher dans le centre d'aide...",clear:"Effacer",no_results:e=>`Aucun r\xE9sultat pour "${e}"`,no_results_sub:"Essaie un autre terme de recherche ou pose ta question dans l'onglet Conversation.",results:e=>`${e} ${e!==1?"r\xE9sultats":"r\xE9sultat"}`,read_more:"Lire plus \u2192",aria_service:"Service client",aria_open:"Ouvrir le service client",aria_close:"Fermer",aria_send:"Envoyer",other:"Autre"}};function No(e,t=.9){try{let n=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),o=parseInt(e.slice(5,7),16);return`rgba(${n}, ${r}, ${o}, ${t})`}catch{return e}}function TT(e){let t=e.split(`
9`),n=[],r=0;for(let o of t){if(o.trim()===""){n.push((0,w.jsx)("span",{className:"support-msg-spacer"},`s-${r++}`));continue}let i=o.split(/\*\*(.*?)\*\*/g);n.push((0,w.jsx)("p",{className:"support-msg-paragraph",children:i.map((s,a)=>a%2===1?(0,w.jsx)("strong",{children:s},a):s)},`p-${r++}`))}return n}function pu(){return Math.random().toString(36).slice(2,10)}function Zp(e){return new Promise(t=>setTimeout(t,e))}function CT(e){return e.split(/\n{2,}/).map(t=>t.trim()).filter(Boolean)}function PT(){try{return window.matchMedia("(prefers-reduced-motion: reduce)").matches}catch{return!1}}var ET=["weet ik niet","weet ik zo even niet","niet zeker","collega","e-mailadres","komen erop terug","komen we op terug","pakt het op","noteer het","don't know","not sure","colleague","your email","follow up","get back to you","wei\xDF ich nicht","nicht sicher","kollege","kollegin","e-mail-adresse","melden uns","je ne sais pas","pas s\xFBr","pas certaine","coll\xE8gue","adresse e-mail","reviendrons vers"];function MT(e){let t=e.toLowerCase();return ET.some(n=>t.includes(n))}function ex({article:e,isOpen:t,onToggle:n,readMore:r}){let o=!!e.answer;function i(a){return a.split(`
10`).map((l,u)=>{if(l.trim()==="")return(0,w.jsx)("span",{className:"support-answer-spacer"},u);let c=l.split(/\*\*(.*?)\*\*/g);return(0,w.jsx)("p",{children:c.map((f,p)=>p%2===1?(0,w.jsx)("strong",{children:f},p):f)},u)})}let s=(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("span",{className:"support-article-icon",style:{background:No($,.15),color:$},children:(0,w.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,w.jsx)("path",{d:"M4 19.5A2.5 2.5 0 0 1 6.5 17H20"}),(0,w.jsx)("path",{d:"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"})]})}),(0,w.jsx)("span",{className:"support-article-title",children:e.title}),(0,w.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",className:`support-article-arrow ${t?"is-rotated":""}`,strokeLinecap:"round",strokeLinejoin:"round",children:(0,w.jsx)("polyline",{points:"9 18 15 12 9 6"})})]});return(0,w.jsxs)("div",{className:`support-article-item ${t?"is-open":""}`,children:[o?(0,w.jsx)("button",{type:"button",className:"support-article-row",onClick:n,"aria-expanded":t,children:s}):(0,w.jsx)("a",{href:e.url??"#",className:"support-article-row",target:"_blank",rel:"noopener noreferrer",children:s}),(0,w.jsx)(At,{initial:!1,children:t&&e.answer&&(0,w.jsx)(ue.div,{className:"support-article-answer",initial:{height:0,opacity:0}
10,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.22,ease:[.16,1,.3,1]},children:(0,w.jsxs)("div",{className:"support-article-answer-inner",style:{borderLeftColor:$},children:[i(e.answer),e.url&&(0,w.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"support-article-read-more",style:{color:$},children:r})]})})})]})}function VT({lang:e}){let t=tx[e],[n,r]=(0,F.useState)([]),[o,i]=(0,F.useState)(!0),[s,a]=(0,F.useState)(null),[l,u]=(0,F.useState)("");(0,F.useEffect)(()=>{fetch(`/api/support/articles?locale=${e}`).then(y=>y.ok?y.json():{articles:[]}).then(y=>r(y.articles??[])).catch(()=>r([])).finally(()=>i(!1))},[e]);let c=l.toLowerCase().trim(),f=c?n.filter(y=>y.title.toLowerCase().includes(c)||y.answer?.toLowerCase().includes(c)||y.category?.toLowerCase().includes(c)):n,p=[],g={};return n.forEach((y,x)=>{let S=y.category??t.other;g[S]||(g[S]=[],p.push(S)),g[S].push({article:y,globalIdx:x})}),o?(0,w.jsxs)("div",{className:"support-articles-list",children:[(0,w.jsx)("div",{className:"support-search-wrap",children:(0,w.jsx)("div",{className:"support-search-skeleton"})}),[1,2,3].map(y=>(0,w.jsx)("div",{className:"support-article-skeleton"},y))]}):(0,w.jsxs)("div",{className:"support-articles-list",children:[(0,w.jsxs)("div",{className:"support-search-wrap",children:[(0,w.jsxs)("svg",{className:"support-search-icon",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.3",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,w.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,w.jsx)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]}),(0,w.jsx)("input",{className:"support-search-input",type:"search",placeholder:t.search_placeholder,value:l,onChange:y=>{u(y.target.value),a(null)},autoComplete:"off"}),l&&(0,w.jsx)("button",{type:"button",className:"support-search-clear",onClick:()=>u(""),"aria-label":t.clear,children:(0,w.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",children:[(0,w.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,w.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),c?f.length===0?(0,w.jsxs)("div",{className:"support-no-results",children:[(0,w.jsx)("p",{children:t.no_results(l)}),(0,w.jsx)("span",{children:t.no_results_sub})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:"support-articles-label",children:t.results(f.length)}),f.map(y=>{let x=n.indexOf(y);return(0,w.jsx)(ex,{article:y,isOpen:s===x,onToggle:()=>a(s===x?null:x),readMore:t.read_more},x)})]}):p.map(y=>(0,w.jsxs)("div",{children:[(0,w.jsx)("div",{className:"support-articles-label",children:y}),g[y].map(({article:x,globalIdx:S})=>(0,w.jsx)(ex,{article:x,isOpen:s===S,onToggle:()=>a(s===S?null:S),readMore:t.read_more},S))]},y))]})}function nx({lang:e="nl"}){let t=tx[e],[n,r]=(0,F.useState)(!1),[o,i]=(0,F.useState)("chat"),[s,a]=(0,F.useState)([]),[l,u]=(0,F.useState)([]),[c,f]=(0,F.useState)(""),[p,g]=(0,F.useState)(!1),[y,x]=(0,F.useState)(!1),[S,m]=(0,F.useState)(!1),[d,h]=(0,F.useState)(!1),[v,k]=(0,F.useState)(!1),[E,M]=(0,F.useState)(!1),[C,_]=(0,F.useState)(!1),[P,b]=(0,F.useState)(""),[se,Lt]=(0,F.useState)(!1),[Ge,je]=(0,F.useState)(null),me=(0,F.useRef)(!0);(0,F.useEffect)(()=>()=>{me.current=!1},[]),(0,F.useEffect)(()=>{typeof window<"u"&&sessionStorage.getItem("support-tooltip-dismissed")&&k(!0);function O(){return m(!0),setTimeout(()=>h(!0),3e3)}let J=null;if(localStorage.getItem("senly-cookie-consent"))J=O();else{let Me=()=>{J=O()};return window.addEventListener("senly:cookie-consent",Me,{once:!0}),()=>{window.removeEventListener("senly:cookie-consent",Me),J&&clearTimeout(J)}}return()=>{J&&clearTimeout(J)}},[]);function hs(){h(!1),k(!0),typeof window<"u"&&sessionStorage.setItem("support-tooltip-dismissed","1")}let Z=(0,F.useRef)(null),Ee=(0,F.useRef)(null),Dt=(0,F.useRef)(!0);(0,F.useEffect)(()=>{n&&Z.current&&Dt.current&&(Z.current.scrollTop=Z.current.scrollHeight)},[s,n,y]),(0,F.useEffect)(()=>{n&&setTimeout(()=>Ee.current?.focus(),120)},[n]);function mn(){let O=Z.current;O&&(Dt.current=O.scrollHeight-O.scrollTop-O.clientHeight<80)}async function mu(O){O.preventDefault();let J=c.trim();if(!J||p||y)return;let Me={id:pu(),body:J,isOwn:!0,isBot:!1,createdAt:new Date().toISOString()};a(yt=>[...yt,Me]);let ot=[...l,{role:"user",text:J}];u(ot),f(""),g(!0),x(!0);let Lr=Date.now();try{let yt=await fetch("/api/support/guest",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:J,history:l,lang:e})});if(yt.ok){let hn=await yt.json();hn.reply&&(u(gs=>[...gs,{role:"model",text:hn.reply}]),await ax(hn.reply,J,Date.now()-Lr),me.current&&MT(hn.reply)&&M(!0))}}catch{}me.current&&(x(!1),g(!1),setTimeout(()=>Ee.current?.focus(),50))}async function ix(O){O.preventDefault();let J=P.trim();if(!(!J||se)){Lt(!0),je(null);try{let Me=[...l].reverse().find(Lr=>Lr.role==="user")?.text??"",ot=await fetch("/api/support/guest-lead",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:J,question:Me,transcript:l,lang:e})});if(!me.current)return;if(!ot.ok){je(ot.status===400?t.email_invalid:t.email_error);return}_(!0),M(!1),a(Lr=>[...Lr,{id:pu(),body:t.email_confirm(J),isOwn:!1,isBot:!0,createdAt:new Date().toISOString()}])}catch{me.current&&je(t.email_error)}finally{me.current&&Lt(!1)}}}function sx(O,J){let ot=1800+Math.min(O,400)*6+Math.min(J,600)*3+Math.random()*2500;return Math.random()<.18&&(ot=12e3+Math.random()*7e3),Math.min(ot,2e4)}async function ax(O,J,Me){let ot=CT(O);if(ot.length===0)return;if(PT()){x(!1);for(let yt of ot)a(hn=>[...hn,{id:pu(),body:yt,isOwn:!1,isBot:!0,createdAt:new Date().toISOString()}]);return}for(let yt=0;yt<ot.length;yt++){let hn=ot[yt];if(x(!0),yt===0){let gn=sx(J.length,O.length);await Zp(Math.max(700,gn-Me))}else await Zp(700+Math.random()*1100);if(!me.current)return;x(!1);let gs=pu();a(gn=>[...gn,{id:gs,body:"",isOwn:!1,isBot:!0,createdAt:new Date().toISOString()}]);let hu=hn.split(" "),lx=hu.length>60?34:52,Jp="";for(let gn=0;gn<hu.length;gn++){Jp+=(gn===0?"":" ")+hu[gn];let ux=Jp;if(a(cx=>cx.map(gu=>gu.id===gs?{...gu,body:ux}:gu)),await Zp(lx+Math.random()*22),!me.current)return}}}return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(At,{children:n&&(0,w.jsxs)(ue.div,{className:"support-panel support-panel--landing",style:{"--support-color":$},initial:{opacity:0,y:16,scale:.97}
10,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:12,scale:.97},transition:{duration:.2,ease:[.16,1,.3,1]},role:"dialog","aria-label":t.aria_service,"aria-modal":"true",children:[(0,w.jsxs)("div",{className:"support-header",style:{background:$},children:[(0,w.jsxs)("div",{className:"support-header-inner",children:[(0,w.jsx)("div",{className:"support-header-logo",style:{background:"rgba(255,255,255,0.2)"},children:(0,w.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"white",children:(0,w.jsx)("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"})})}),(0,w.jsxs)("div",{children:[(0,w.jsx)("div",{className:"support-header-name",children:"Senly Support"}),(0,w.jsxs)("div",{className:"support-header-status",children:[(0,w.jsx)("span",{className:"support-status-dot"}),(0,w.jsx)("span",{children:t.online})]})]})]}),(0,w.jsx)("button",{type:"button",className:"support-header-close",onClick:()=>r(!1),"aria-label":t.aria_close,children:(0,w.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"2.5",strokeLinecap:"round",children:[(0,w.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,w.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),(0,w.jsxs)("div",{className:"support-tabs",children:[(0,w.jsxs)("button",{type:"button",className:`support-tab ${o==="chat"?"is-active":""}`,onClick:()=>i("chat"),style:o==="chat"?{color:$,borderBottomColor:$}:{},children:[(0,w.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",children:(0,w.jsx)("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"})}),t.tab_chat]}),(0,w.jsxs)("button",{type:"button",className:`support-tab ${o==="helpcentrum"?"is-active":""}`,onClick:()=>i("helpcentrum"),style:o==="helpcentrum"?{color:$,borderBottomColor:$}:{},children:[(0,w.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,w.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,w.jsx)("path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}),(0,w.jsx)("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]}),t.tab_help]})]}),o==="chat"&&(0,w.jsxs)("div",{className:"support-chat",children:[(0,w.jsx)("div",{className:"support-messages",ref:Z,onScroll:mn,children:s.length===0?(0,w.jsxs)("div",{className:"support-empty",children:[(0,w.jsx)("div",{className:"support-empty-icon",style:{background:No($,.12),color:$},children:(0,w.jsx)("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"currentColor",children:(0,w.jsx)("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"})})}),(0,w.jsx)("p",{className:"support-empty-title",children:t.empty_title}),(0,w.jsx)("p",{className:"support-empty-sub",children:t.empty_sub})]}):(0,w.jsxs)("div",{className:"support-msg-list",children:[s.map((O,J)=>{let Me=!O.isOwn&&(J===0||s[J-1].isOwn);return(0,w.jsxs)("div",{className:`support-msg ${O.isOwn?"support-msg--own":"support-msg--other"}`,children:[!O.isOwn&&(0,w.jsx)("div",{className:"support-msg-avatar",style:{background:Me?No($,.18):"transparent",color:$,visibility:Me?"visible":"hidden",border:Me?`1.5px solid ${$}`:void 0},children:Me&&(0,w.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,w.jsx)("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),(0,w.jsx)("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"}),(0,w.jsx)("line",{x1:"12",y1:"3",x2:"12",y2:"7"}),(0,w.jsx)("circle",{cx:"12",cy:"16",r:"1"})]})}),(0,w.jsxs)("div",{className:"support-msg-col",children:[!O.isOwn&&Me&&(0,w.jsx)("div",{className:"support-msg-sender",children:t.sender}),(0,w.jsx)("div",{className:`support-msg-bubble ${O.isBot?"support-msg-bubble--rich":""}`,style:O.isOwn?{background:$,color:"#fff"}:{},children:O.isBot?TT(O.body):O.body})]})]},O.id)}),y&&(0,w.jsxs)("div",{className:"support-msg support-msg--other",children:[(0,w.jsx)("div",{className:"support-msg-avatar",style:{background:No($,.18),color:$,border:`1.5px solid ${$}`},children:(0,w.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,w.jsx)("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),(0,w.jsx)("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"}),(0,w.jsx)("line",{x1:"12",y1:"3",x2:"12",y2:"7"}),(0,w.jsx)("circle",{cx:"12",cy:"16",r:"1"})]})}),(0,w.jsxs)("div",{className:"support-msg-col",children:[(0,w.jsx)("div",{className:"support-msg-sender",children:t.sender}),(0,w.jsxs)("div",{className:"support-msg-bubble support-typing-bubble",children:[(0,w.jsx)("span",{className:"support-typing-dot"}),(0,w.jsx)("span",{className:"support-typing-dot"}),(0,w.jsx)("span",{className:"support-typing-dot"})]})]})]})]})}),E&&!C&&!y&&(0,w.jsxs)("form",{onSubmit:ix,style:{margin:"0 14px 10px",padding:"10px 12px",borderRadius:12,border:`1px solid ${No($,.35)}`,background:No($,.07)},children:[(0,w.jsx)("div",{style:{fontSize:12.5,fontWeight:600,color:$,marginBottom:8},children:t.email_capture}),(0,w.jsxs)("div",{style:{display:"flex",gap:6},children:[(0,w.jsx)("input",{type:"email",value:P,onChange:O=>{b(O.target.value),je(null)},placeholder:t.placeholder_email,disabled:se,autoComplete:"email",style:{flex:1,minWidth:0,padding:"8px 10px",borderRadius:8,border:"1px solid rgba(0,0,0,0.14)",fontSize:13,outline:"none",background:"#fff"}}),(0,w.jsx)("button",{type:"submit",disabled:se||!P.trim(),"aria-label":t.aria_send,style:{padding:"8px 12px",borderRadius:8,border:"none",background:P.trim()&&!se?$:"rgba(0,0,0,0.15)",color:"#fff",cursor:P.trim()&&!se?"pointer":"default",display:"inline-flex",alignItems:"center",flexShrink:0},children:(0,w.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,w.jsx)("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),(0,w.jsx)("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})]})})]}),Ge&&(0,w.jsx)("div",{style:{fontSize:11.5,color:"#b91c1c",marginTop:6},children:Ge})]}),(0,w.jsxs)("form",{className:"support-input-row",onSubmit:mu,children:[(0,w.jsx)("input",{ref:Ee,className:"support-input",type:"text",value:c,onChange:O=>f(O.target.value),placeholder:t.placeholder_msg,disabled:p||y,maxLength:2e3,autoComplete:"off"}),(0,w.jsx)("button",{type:"submit",className:"support-send-btn",disabled:!c.trim()||p||y,style:{background:c.trim()&&!y?$:void 0},"aria-label":t.aria_send,children:(0,w.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,w.jsx)("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),(0,w.jsx)("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})]})})]})]}),o==="helpcentrum"&&(0,w.jsx)(VT,{lang:e})]})}),(0,w.jsx)(At,{children:S&&d&&!n&&!v&&(0,w.jsxs)(ue.div,{className:"support-tooltip",initial:{opacity:0,scale:.88,y:10}
10,animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.88,y:10},transition:{duration:.24,ease:[.16,1,.3,1]},onClick:()=>{r(!0),hs()},role:"button",tabIndex:0,children:[(0,w.jsx)("button",{type:"button",className:"support-tooltip-close",onClick:O=>{O.stopPropagation(),hs()},"aria-label":t.aria_close,children:(0,w.jsxs)("svg",{width:"9",height:"9",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.8",strokeLinecap:"round",children:[(0,w.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,w.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),(0,w.jsx)("div",{className:"support-tooltip-logo",children:(0,w.jsx)("img",{src:"/senly-icon.png",alt:"Senly"})}),(0,w.jsxs)("div",{className:"support-tooltip-body",children:[(0,w.jsx)("span",{className:"support-tooltip-title",children:t.tooltip_title}),(0,w.jsx)("span",{className:"support-tooltip-sub",children:t.tooltip_sub})]})]})}),(0,w.jsx)(At,{children:S&&(0,w.jsx)(ue.button,{type:"button",className:"support-fab",style:{background:$,"--support-color":$},onClick:()=>{r(O=>!O),hs()},initial:{opacity:0,scale:.7,y:20},animate:{opacity:1,scale:1,y:0},"aria-label":n?t.aria_close:t.aria_open,whileHover:{scale:1.08},whileTap:{scale:.94},transition:{type:"spring",stiffness:320,damping:22},title:t.aria_service,children:(0,w.jsx)(At,{mode:"wait",initial:!1,children:n?(0,w.jsxs)(ue.svg,{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"2.5",strokeLinecap:"round",initial:{rotate:-90,opacity:0},animate:{rotate:0,opacity:1},exit:{rotate:90,opacity:0},transition:{duration:.18},children:[(0,w.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,w.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]},"close"):(0,w.jsx)(ue.svg,{width:"22",height:"22",viewBox:"0 0 24 24",fill:"white",initial:{rotate:90,opacity:0},animate:{rotate:0,opacity:1},exit:{rotate:-90,opacity:0},transition:{duration:.18},children:(0,w.jsx)("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"})},"chat")})})})]})}var dn=R(be()),AT=document.currentScript&&document.currentScript.getAttribute("data-widgets")||"cookie",du=new Set(AT.split(",").map(e=>e.trim()).filter(Boolean));function LT(){let e="/api/track/pageview",t="sa_sid";function n(){try{if(typeof crypto<"u"&&crypto.randomUUID)return crypto.randomUUID()}catch{}return Math.random().toString(36).slice(2)+Date.now().toString(36)}function r(){try{let p=sessionStorage.getItem(t);return p||(p=n(),sessionStorage.setItem(t,p)),p}catch{return"nostore"}}function o(p){try{let g=JSON.stringify(p);typeof navigator<"u"&&navigator.sendBeacon?navigator.sendBeacon(e,new Blob([g],{type:"application/json"})):fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:g,keepalive:!0}).catch(()=>{})}catch{}}let i=n(),s=Date.now(),a="",l="",u="";try{let p=new URLSearchParams(window.location.search);a=p.get("utm_source")||"",l=p.get("utm_medium")||"",u=p.get("utm_campaign")||""}catch{}o({kind:"pageview",viewId:i,path:window.location.pathname,referrer:document.referrer||"",source:a,medium:l,campaign:u,sessionId:r()});let c=!1;function f(){c||(c=!0,o({kind:"dwell",viewId:i,dwellMs:Date.now()-s}))}window.addEventListener("pagehide",f),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&f()})}if(du.has("track"))try{LT()}catch{}function DT(){try{let e=localStorage.getItem("senly_lang")||localStorage.getItem("senly-lang");if(e==="nl"||e==="en"||e==="de"||e==="fr")return e}catch{}return Ei()}function _T({lang:e}){return(0,dn.jsxs)(dn.Fragment,{children:[du.has("cookie")&&(0,dn.jsx)(Wg,{}),du.has("quiz")&&(0,dn.jsx)(J0,{lang:e}),du.has("chat")&&(0,dn.jsx)(nx,{lang:e})]})}function rx(){let e=document.createElement("div");e.id="senly-site-widgets",document.body.appendChild(e);let t=(0,ox.createRoot)(e);function n(){let r=DT();try{localStorage.setItem("senly-lang",r)}catch{}t.render((0,dn.jsx)(_T,{lang:r},r))}window.addEventListener("senly:lang",n),n()}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",rx,{once:!0}):rx();})();
11/*! Bundled license information:
12
13react/cjs/react.production.min.js:
14  (**
15   * @license React
16   * react.production.min.js
17   *
18   * Copyright (c) Facebook, Inc. and its affiliates.
19   *
20   * This source code is licensed under the MIT license found in the
21   * LICENSE file in the root directory of this source tree.
22   *)
23
24scheduler/cjs/scheduler.production.min.js:
25  (**
26   * @license React
27   * scheduler.production.min.js
28   *
29   * Copyright (c) Facebook, Inc. and its affiliates.
30   *
31   * This source code is licensed under the MIT license found in the
32   * LICENSE file in the root directory of this source tree.
33   *)
34
35react-dom/cjs/react-dom.production.min.js:
36  (**
37   * @license React
38   * react-dom.production.min.js
39   *
40   * Copyright (c) Facebook, Inc. and its affiliates.
41   *
42   * This source code is licensed under the MIT license found in the
43   * LICENSE file in the root directory of this source tree.
44   *)
45
46react/cjs/react-jsx-runtime.production.min.js:
47  (**
48   * @license React
49   * react-jsx-runtime.production.min.js
50   *
51   * Copyright (c) Facebook, Inc. and its affiliates.
52   *
53   * This source code is licensed under the MIT license found in the
54   * LICENSE file in the root directory of this source tree.
55   *)
56*/

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