PageSourceSearch

https://badiarovviolins.com/assets/vendor-BQvtZNZb.js

js badiarovviolins.com collected 2026-10-02 12:39:47 UTC 701,527 bytes, 61 lines download raw bytes

vendor: 13,348 bytes, line 1
1function nO(t,e){for(var n=0;n<e.length;n++){const r=e[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in t)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(t,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}function jc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ng={exports:{}},wf={},Ig={exports:{}},St={};var y_;function rO(){if(y_)return St;y_=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.iterator;function y(V){return V===null||typeof V!="object"?null:(V=m&&V[m]||V["@@iterator"],typeof V=="function"?V:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,w={};function S(V,G,ye){this.props=V,this.context=G,this.refs=w,this.updater=ye||g}S.prototype.isReactComponent={},S.prototype.setState=function(V,G){if(typeof V!="object"&&typeof V!="function"&&V!=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,V,G,"setState")},S.prototype.forceUpdate=function(V){this.updater.enqueueForceUpdate(this,V,"forceUpdate")};function C(){}C.prototype=S.prototype;function b(V,G,ye){this.props=V,this.context=G,this.refs=w,this.updater=ye||g}var R=b.prototype=new C;R.constructor=b,_(R,S.prototype),R.isPureReactComponent=!0;var P=Array.isArray,O=Object.prototype.hasOwnProperty,N={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};function F(V,G,ye){var pe,Ee={},Ie=null,_e=null;if(G!=null)for(pe in G.ref!==void 0&&(_e=G.ref),G.key!==void 0&&(Ie=""+G.key),G)O.call(G,pe)&&!L.hasOwnProperty(pe)&&(Ee[pe]=G[pe]);var Te=arguments.length-2;if(Te===1)Ee.children=ye;else if(1<Te){for(var ue=Array(Te),Pt=0;Pt<Te;Pt++)ue[Pt]=arguments[Pt+2];Ee.children=ue}if(V&&V.defaultProps)for(pe in Te=V.defaultProps,Te)Ee[pe]===void 0&&(Ee[pe]=Te[pe]);return{$$typeof:t,type:V,key:Ie,ref:_e,props:Ee,_owner:N.current}}function j(V,G){return{$$typeof:t,type:V.type,key:G,ref:V.ref,props:V.props,_owner:V._owner}}function B(V){return typeof V=="object"&&V!==null&&V.$$typeof===t}function re(V){var G={"=":"=0",":":"=2"};return"$"+V.replace(/[=:]/g,function(ye){return G[ye]})}var W=/\/+/g;function ie(V,G){return typeof V=="object"&&V!==null&&V.key!=null?re(""+V.key):G.toString(36)}function ee(V,G,ye,pe,Ee){var Ie=typeof V;(Ie==="undefined"||Ie==="boolean")&&(V=null);var _e=!1;if(V===null)_e=!0;else switch(Ie){case"string":case"number":_e=!0;break;case"object":switch(V.$$typeof){case t:case e:_e=!0}}if(_e)return _e=V,Ee=Ee(_e),V=pe===""?"."+ie(_e,0):pe,P(Ee)?(ye="",V!=null&&(ye=V.replace(W,"$&/")+"/"),ee(Ee,G,ye,"",function(Pt){return Pt})):Ee!=null&&(B(Ee)&&(Ee=j(Ee,ye+(!Ee.key||_e&&_e.key===Ee.key?"":(""+Ee.key).replace(W,"$&/")+"/")+V)),G.push(Ee)),1;if(_e=0,pe=pe===""?".":pe+":",P(V))for(var Te=0;Te<V.length;Te++){Ie=V[Te];var ue=pe+ie(Ie,Te);_e+=ee(Ie,G,ye,ue,Ee)}else if(ue=y(V),typeof ue=="function")for(V=ue.call(V),Te=0;!(Ie=V.next()).done;)Ie=Ie.value,ue=pe+ie(Ie,Te++),_e+=ee(Ie,G,ye,ue,Ee);else if(Ie==="object")throw G=String(V),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(V).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.");return _e}function me(V,G,ye){if(V==null)return V;var pe=[],Ee=0;return ee(V,pe,"","",function(Ie){return G.call(ye,Ie,Ee++)}),pe}function le(V){if(V._status===-1){var G=V._result;G=G(),G.then(function(ye){(V._status===0||V._status===-1)&&(V._status=1,V._result=ye)},function(ye){(V._status===0||V._status===-1)&&(V._status=2,V._result=ye)}),V._status===-1&&(V._status=0,V._result=G)}if(V._status===1)return V._result.default;throw V._result}var ae={current:null},$={transition:null},K={ReactCurrentDispatcher:ae,ReactCurrentBatchConfig:$,ReactCurrentOwner:N};function D(){throw Error("act(...) is not supported in production builds of React.")}return St.Children={map:me,forEach:function(V,G,ye){me(V,function(){G.apply(this,arguments)},ye)},count:function(V){var G=0;return me(V,function(){G++}),G},toArray:function(V){return me(V,function(G){return G})||[]},only:function(V){if(!B(V))throw Error("React.Children.only expected to receive a single React element child.");return V}},St.Component=S,St.Fragment=n,St.Profiler=i,St.PureComponent=b,St.StrictMode=r,St.Suspense=f,St.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=K,St.act=D,St.cloneElement=function(V,G,ye){if(V==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+V+".");var pe=_({},V.props),Ee=V.key,Ie=V.ref,_e=V._owner;if(G!=null){if(G.ref!==void 0&&(Ie=G.ref,_e=N.current),G.key!==void 0&&(Ee=""+G.key),V.type&&V.type.defaultProps)var Te=V.type.defaultProps;for(ue in G)O.call(G,ue)&&!L.hasOwnProperty(ue)&&(pe[ue]=G[ue]===void 0&&Te!==void 0?Te[ue]:G[ue])}var ue=arguments.length-2;if(ue===1)pe.children=ye;else if(1<ue){Te=Array(ue);for(var Pt=0;Pt<ue;Pt++)Te[Pt]=arguments[Pt+2];pe.children=Te}return{$$typeof:t,type:V.type,key:Ee,ref:Ie,props:pe,_owner:_e}},St.createContext=function(V){return V={$$typeof:l,_currentValue:V,_currentValue2:V,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},V.Provider={$$typeof:o,_context:V},V.Consumer=V},St.createElement=F,St.createFactory=function(V){var G=F.bind(null,V);return G.type=V,G},St.createRef=function(){return{current:null}},St.forwardRef=function(V){return{$$typeof:u,render:V}},St.isValidElement=B,St.lazy=function(V){return{$$typeof:h,_payload:{_status:-1,_result:V},_init:le}},St.memo=function(V,G){return{$$typeof:d,type:V,compare:G===void 0?null:G}},St.startTransition=function(V){var G=$.transition;$.transition={};try{V()}finally{$.transition=G}},St.unstable_act=D,St.useCallback=function(V,G){return ae.current.useCallback(V,G)},St.useContext=function(V){return ae.current.useContext(V)},St.useDebugValue=function(){},St.useDeferredValue=function(V){return ae.current.useDeferredValue(V)},St.useEffect=function(V,G){return ae.current.useEffect(V,G)},St.useId=function(){return ae.current.useId()},St.useImperativeHandle=function(V,G,ye){return ae.current.useImperativeHandle(V,G,ye)},St.useInsertionEffect=function(V,G){return ae.current.useInsertionEffect(V,G)},St.useLayoutEffect=function(V,G){return ae.current.useLayoutEffect(V,G)},St.useMemo=function(V,G){return ae.current.useMemo(V,G)},St.useReducer=function(V,G,ye){return ae.current.useReducer(V,G,ye)},St.useRef=function(V){return ae.current.useRef(V)},St.useState=function(V){return ae.current.useState(V)},St.useSyncExternalStore=function(V,G,ye){return ae.current.useSyncExternalStore(V,G,ye)},St.useTransition=function(){return ae.current.useTransition()},St.version="18.3.1",St}var v_;function rm(){return v_||(v_=1,Ig.exports=rO()),Ig.exports}var w_;function iO(){if(w_)return wf;w_=1;var t=rm(),e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function l(u,f,d){var h,m={},y=null,g=null;d!==void 0&&(y=""+d),f.key!==void 0&&(y=""+f.key),f.ref!==void 0&&(g=f.ref);for(h in f)r.call(f,h)&&!o.hasOwnProperty(h)&&(m[h]=f[h]);if(u&&u.defaultProps)for(h in f=u.defaultProps,f)m[h]===void 0&&(m[h]=f[h]);return{$$typeof:e,type:u,key:y,ref:g,props:m,_owner:i.current}}return wf.Fragment=n,wf.jsx=l,wf.jsxs=l,wf}var x_;function sO(){return x_||(x_=1,Ng.exports=iO()),Ng.exports}var ce=sO(),kh={},Fg={exports:{}},as={},Vg={exports:{}},zg={};var __;function oO(){return __||(__=1,(function(t){function e($,K){var D=$.length;$.push(K);e:for(;0<D;){var V=D-1>>>1,G=$[V];if(0<i(G,K))$[V]=K,$[D]=G,D=V;else break e}}function n($){return $.length===0?null:$[0]}function r($){if($.length===0)return null;var K=$[0],D=$.pop();if(D!==K){$[0]=D;e:for(var V=0,G=$.length,ye=G>>>1;V<ye;){var pe=2*(V+1)-1,Ee=$[pe],Ie=pe+1,_e=$[Ie];if(0>i(Ee,D))Ie<G&&0>i(_e,Ee)?($[V]=_e,$[Ie]=D,V=Ie):($[V]=Ee,$[pe]=D,V=pe);else if(Ie<G&&0>i(_e,D))$[V]=_e,$[Ie]=D,V=Ie;else break e}}return K}function i($,K){var D=$.sortIndex-K.sortIndex;return D!==0?D:$.id-K.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}var f=[],d=[],h=1,m=null,y=3,g=!1,_=!1,w=!1,S=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function R($){for(var K=n(d);K!==null;){if(K.callback===null)r(d);else if(K.startTime<=$)r(d),K.sortIndex=K.expirationTime,e(f,K);else break;K=n(d)}}function P($){if(w=!1,R($),!_)if(n(f)!==null)_=!0,le(O);else{var K=n(d);K!==null&&ae(P,K.startTime-$)}}function O($,K){_=!1,w&&(w=!1,C(F),F=-1),g=!0;var D=y;try{for(R(K),m=n(f);m!==null&&(!(m.expirationTime>K)||$&&!re());){var V=m.callback;if(typeof V=="function"){m.callback=null,y=m.priorityLevel;var G=V(m.expirationTime<=K);K=t.unstable_now(),typeof G=="function"?m.callback=G:m===n(f)&&r(f),R(K)}else r(f);m=n(f)}if(m!==null)var ye=!0;else{var pe=n(d);pe!==null&&ae(P,pe.startTime-K),ye=!1}return ye}finally{m=null,y=D,g=!1}}var N=!1,L=null,F=-1,j=5,B=-1;function re(){return!(t.unstable_now()-B<j)}function W(){if(L!==null){var $=t.unstable_now();B=$;var K=!0;try{K=L(!0,$)}finally{K?ie():(N=!1,L=null)}}else N=!1}var ie;if(typeof b=="function")ie=function(){b(W)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,me=ee.port2;ee.port1.onmessage=W,ie=function(){me.postMessage(null)}}else ie=function(){S(W,0)};function le($){L=$,N||(N=!0,ie())}function ae($,K){F=S(function(){$(t.unstable_now())},K)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function($){$.callback=null},t.unstable_continueExecution=function(){_||g||(_=!0,le(O))},t.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<$?Math.floor(1e3/$):5},t.unstable_getCurrentPriorityLevel=function(){return y},t.unstable_getFirstCallbackNode=function(){return n(f)},t.unstable_next=function($){switch(y){case 1:case 2:case 3:var K=3;break;default:K=y}var D=y;y=K;try{return $()}finally{y=D}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function($,K){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var D=y;y=$;try{return K()}finally{y=D}},t.unstable_scheduleCallback=function($,K,D){var V=t.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?V+D:V):D=V,$){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=D+G,$={id:h++,callback:K,priorityLevel:$,startTime:D,expirationTime:G,sortIndex:-1},D>V?($.sortIndex=D,e(d,$),n(f)===null&&$===n(d)&&(w?(C(F),F=-1):w=!0,ae(P,D-V))):($.sortIndex=G,e(f,$),_||g||(_=!0,le(O))),$},t.unstable_shouldYield=re,t.unstable_wrapCallback=function($){var K=y;return function(){var D=y;y=K;try{return $.apply(this,arguments)}finally{y=D}}}})(zg)),zg}var S_;function aO(){return S_||(S_=1,Vg.exports=oO()),Vg.exports}var T_;function lO(){if(T_)return as;T_=1;var t=rm(),e=aO();function n(s){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+s,c=1;c<arguments.length;c++)a+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+s+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,i={};function o(s,a){l(s,a),l(s+"Capture",a)}function l(s,a){for(i[s]=a,s=0;s<a.length;s++)r.add(a[s])}var u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,d=/^[: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]*$/,h={},m={};function y(s){return f.call(m,s)?!0:f.call(h,s)?!1:d.test(s)?m[s]=!0:(h[s]=!0,!1)}function g(s,a,c,p){if(c!==null&&c.type===0)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":return p?!1:c!==null?!c.acceptsBooleans:(s=s.toLowerCase().slice(0,5),s!=="data-"&&s!=="aria-");default:return!1}}function _(s,a,c,p){if(a===null||typeof a>"u"||g(s,a,c,p))return!0;
vendor: 13,609 bytes, lines 1-5
1if(p)return!1;if(c!==null)switch(c.type){case 3:return!a;case 4:return a===!1;case 5:return isNaN(a);case 6:return isNaN(a)||1>a}return!1}function w(s,a,c,p,v,x,E){this.acceptsBooleans=a===2||a===3||a===4,this.attributeName=p,this.attributeNamespace=v,this.mustUseProperty=c,this.propertyName=s,this.type=a,this.sanitizeURL=x,this.removeEmptyString=E}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(s){S[s]=new w(s,0,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var a=s[0];S[a]=new w(a,1,!1,s[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){S[s]=new w(s,2,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){S[s]=new w(s,2,!1,s,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(s){S[s]=new w(s,3,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){S[s]=new w(s,3,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){S[s]=new w(s,4,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){S[s]=new w(s,6,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){S[s]=new w(s,5,!1,s.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function b(s){return s[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(s){var a=s.replace(C,b);S[a]=new w(a,1,!1,s,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(s){var a=s.replace(C,b);S[a]=new w(a,1,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var a=s.replace(C,b);S[a]=new w(a,1,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){S[s]=new w(s,1,!1,s.toLowerCase(),null,!1,!1)}),S.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){S[s]=new w(s,1,!1,s.toLowerCase(),null,!0,!0)});function R(s,a,c,p){var v=S.hasOwnProperty(a)?S[a]:null;(v!==null?v.type!==0:p||!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(_(a,c,v,p)&&(c=null),p||v===null?y(a)&&(c===null?s.removeAttribute(a):s.setAttribute(a,""+c)):v.mustUseProperty?s[v.propertyName]=c===null?v.type===3?!1:"":c:(a=v.attributeName,p=v.attributeNamespace,c===null?s.removeAttribute(a):(v=v.type,c=v===3||v===4&&c===!0?"":""+c,p?s.setAttributeNS(p,a,c):s.setAttribute(a,c))))}var P=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,O=Symbol.for("react.element"),N=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),B=Symbol.for("react.provider"),re=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),ie=Symbol.for("react.suspense"),ee=Symbol.for("react.suspense_list"),me=Symbol.for("react.memo"),le=Symbol.for("react.lazy"),ae=Symbol.for("react.offscreen"),$=Symbol.iterator;function K(s){return s===null||typeof s!="object"?null:(s=$&&s[$]||s["@@iterator"],typeof s=="function"?s:null)}var D=Object.assign,V;function G(s){if(V===void 0)try{throw Error()}catch(c){var a=c.stack.trim().match(/\n( *(at )?)/);V=a&&a[1]||""}return`
2`+V+s}var ye=!1;function pe(s,a){if(!s||ye)return"";ye=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(a)if(a=function(){throw Error()},Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(te){var p=te}Reflect.construct(s,[],a)}else{try{a.call()}catch(te){p=te}s.call(a.prototype)}else{try{throw Error()}catch(te){p=te}s()}}catch(te){if(te&&p&&typeof te.stack=="string"){for(var v=te.stack.split(`
3`),x=p.stack.split(`
4`),E=v.length-1,I=x.length-1;1<=E&&0<=I&&v[E]!==x[I];)I--;for(;1<=E&&0<=I;E--,I--)if(v[E]!==x[I]){if(E!==1||I!==1)do if(E--,I--,0>I||v[E]!==x[I]){var U=`
5`+v[E].replace(" at new "," at ");return s.displayName&&U.includes("<anonymous>")&&(U=U.replace("<anonymous>",s.displayName)),U}while(1<=E&&0<=I);break}}}finally{ye=!1,Error.prepareStackTrace=c}return(s=s?s.displayName||s.name:"")?G(s):""}function Ee(s){switch(s.tag){case 5:return G(s.type);case 16:return G("Lazy");case 13:return G("Suspense");case 19:return G("SuspenseList");case 0:case 2:case 15:return s=pe(s.type,!1),s;case 11:return s=pe(s.type.render,!1),s;case 1:return s=pe(s.type,!0),s;default:return""}}function Ie(s){if(s==null)return null;if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case L:return"Fragment";case N:return"Portal";case j:return"Profiler";case F:return"StrictMode";case ie:return"Suspense";case ee:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case re:return(s.displayName||"Context")+".Consumer";case B:return(s._context.displayName||"Context")+".Provider";case W:var a=s.render;return s=s.displayName,s||(s=a.displayName||a.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case me:return a=s.displayName||null,a!==null?a:Ie(s.type)||"Memo";case le:a=s._payload,s=s._init;try{return Ie(s(a))}catch{}}return null}function _e(s){var a=s.type;switch(s.tag){case 24:return"Cache";case 9:return(a.displayName||"Context")+".Consumer";case 10:return(a._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return s=a.render,s=s.displayName||s.name||"",a.displayName||(s!==""?"ForwardRef("+s+")":"ForwardRef");case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ie(a);case 8:return a===F?"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 a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a}return null}function Te(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function ue(s){var a=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function Pt(s){var a=ue(s)?"checked":"value",c=Object.getOwnPropertyDescriptor(s.constructor.prototype,a),p=""+s[a];if(!s.hasOwnProperty(a)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var v=c.get,x=c.set;return Object.defineProperty(s,a,{configurable:!0,get:function(){return v.call(this)},set:function(E){p=""+E,x.call(this,E)}}),Object.defineProperty(s,a,{enumerable:c.enumerable}),{getValue:function(){return p},setValue:function(E){p=""+E},stopTracking:function(){s._valueTracker=null,delete s[a]}}}}function ke(s){s._valueTracker||(s._valueTracker=Pt(s))}function Ze(s){if(!s)return!1;var a=s._valueTracker;if(!a)return!0;var c=a.getValue(),p="";return s&&(p=ue(s)?s.checked?"true":"false":s.value),s=p,s!==c?(a.setValue(s),!0):!1}function Ve(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}function je(s,a){var c=a.checked;return D({},a,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??s._wrapperState.initialChecked})}function Fn(s,a){var c=a.defaultValue==null?"":a.defaultValue,p=a.checked!=null?a.checked:a.defaultChecked;c=Te(a.value!=null?a.value:c),s._wrapperState={initialChecked:p,initialValue:c,controlled:a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null}}function Pn(s,a){a=a.checked,a!=null&&R(s,"checked",a,!1)}function ne(s,a){Pn(s,a);var c=Te(a.value),p=a.type;if(c!=null)p==="number"?(c===0&&s.value===""||s.value!=c)&&(s.value=""+c):s.value!==""+c&&(s.value=""+c);else if(p==="submit"||p==="reset"){s.removeAttribute("value");return}a.hasOwnProperty("value")?ir(s,a.type,c):a.hasOwnProperty("defaultValue")&&ir(s,a.type,Te(a.defaultValue)),a.checked==null&&a.defaultChecked!=null&&(s.defaultChecked=!!a.defaultChecked)}function on(s,a,c){if(a.hasOwnProperty("value")||a.hasOwnProperty("defaultValue")){var p=a.type;if(!(p!=="submit"&&p!=="reset"||a.value!==void 0&&a.value!==null))return;a=""+s._wrapperState.initialValue,c||a===s.value||(s.value=a),s.defaultValue=a}c=s.name,c!==""&&(s.name=""),s.defaultChecked=!!s._wrapperState.initialChecked,c!==""&&(s.name=c)}function ir(s,a,c){(a!=="number"||Ve(s.ownerDocument)!==s)&&(c==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+c&&(s.defaultValue=""+c))}var Gn=Array.isArray;function Ge(s,a,c,p){if(s=s.options,a){a={};for(var v=0;v<c.length;v++)a["$"+c[v]]=!0;for(c=0;c<s.length;c++)v=a.hasOwnProperty("$"+s[c].value),s[c].selected!==v&&(s[c].selected=v),v&&p&&(s[c].defaultSelected=!0)}else{for(c=""+Te(c),a=null,v=0;v<s.length;v++){if(s[v].value===c){s[v].selected=!0,p&&(s[v].defaultSelected=!0);return}a!==null||s[v].disabled||(a=s[v])}a!==null&&(a.selected=!0)}}function sr(s,a){if(a.dangerouslySetInnerHTML!=null)throw Error(n(91));return D({},a,{value:void 0,defaultValue:void 0,children:""+s._wrapperState.initialValue})}function Vn(s,a){var c=a.value;if(c==null){if(c=a.children,a=a.defaultValue,c!=null){if(a!=null)throw Error(n(92));if(Gn(c)){if(1<c.length)throw Error(n(93));c=c[0]}a=c}a==null&&(a=""),c=a}s._wrapperState={initialValue:Te(c)}}function Kt(s,a){var c=Te(a.value),p=Te(a.defaultValue);c!=null&&(c=""+c,c!==s.value&&(s.value=c),a.defaultValue==null&&s.defaultValue!==c&&(s.defaultValue=c)),p!=null&&(s.defaultValue=""+p)}function an(s){var a=s.textContent;a===s._wrapperState.initialValue&&a!==""&&a!==null&&(s.value=a)}function Jt(s){switch(s){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 gt(s,a){return s==null||s==="http://www.w3.org/1999/xhtml"?Jt(a):s==="http://www.w3.org/2000/svg"&&a==="foreignObject"?"http://www.w3.org/1999/xhtml":s}var or,ar=(function(s){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,c,p,v){MSApp.execUnsafeLocalFunction(function(){return s(a,c,p,v)})}:s})(function(s,a){if(s.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in s)s.innerHTML=a;else{for(or=or||document.createElement("div"),or.innerHTML="<svg>"+a.valueOf().toString()+"</svg>",a=or.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;a.firstChild;)s.appendChild(a.firstChild)}});function zn(s,a){if(a){var c=s.firstChild;if(c&&c===s.lastChild&&c.nodeType===3){c.nodeValue=a;return}}s.textContent=a}var Ut={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},Wt=["Webkit","ms","Moz","O"];Object.keys(Ut).forEach(function(s){Wt.forEach(function(a){a=a+s.charAt(0).toUpperCase()+s.substring(1),Ut[a]=Ut[s]})});function Ki(s,a,c){return a==null||typeof a=="boolean"||a===""?"":c||typeof a!="number"||a===0||Ut.hasOwnProperty(s)&&Ut[s]?(""+a).trim():a+"px"}function qn(s,a){s=s.style;for(var c in a)if(a.hasOwnProperty(c)){var p=c.indexOf("--")===0,v=Ki(c,a[c],p);c==="float"&&(c="cssFloat"),p?s.setProperty(c,v):s[c]=v}}var _r=D({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 lr(s,a){if(a){if(_r[s]&&(a.children!=null||a.dangerouslySetInnerHTML!=null))throw Error(n(137,s));if(a.dangerouslySetInnerHTML!=null){if(a.children!=null)throw Error(n(60));if(typeof a.dangerouslySetInnerHTML!="object"||!("__html"in a.dangerouslySetInnerHTML))throw Error(n(61))}if(a.style!=null&&typeof a.style!="object")throw Error(n(62))}}function $r(s,a){if(s.indexOf("-")===-1)return typeof a.is=="str
5ing";switch(s){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 Sr=null;function nt(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var Tr=null,kn=null,ln=null;function Xt(s){if(s=So(s)){if(typeof Tr!="function")throw Error(n(280));var a=s.stateNode;a&&(a=Ts(a),Tr(s.stateNode,s.type,a))}}function Ht(s){kn?ln?ln.push(s):ln=[s]:kn=s}function $e(){if(kn){var s=kn,a=ln;if(ln=kn=null,Xt(s),a)for(s=0;s<a.length;s++)Xt(a[s])}}function Ye(s,a){return s(a)}function yt(){}var Fe=!1;function Re(s,a,c){if(Fe)return s(a,c);Fe=!0;try{return Ye(s,a,c)}finally{Fe=!1,(kn!==null||ln!==null)&&(yt(),$e())}}function rt(s,a){var c=s.stateNode;if(c===null)return null;var p=Ts(c);if(p===null)return null;c=p[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(p=!p.disabled)||(s=s.type,p=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!p;break e;default:s=!1}if(s)return null;if(c&&typeof c!="function")throw Error(n(231,a,typeof c));return c}var xe=!1;if(u)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){xe=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch{xe=!1}function Ce(s,a,c,p,v,x,E,I,U){var te=Array.prototype.slice.call(arguments,3);try{a.apply(c,te)}catch(he){this.onError(he)}}var Ue=!1,un=null,dt=!1,At=null,ur={onError:function(s){Ue=!0,un=s}};function en(s,a,c,p,v,x,E,I,U){Ue=!1,un=null,Ce.apply(ur,arguments)}function Gt(s,a,c,p,v,x,E,I,U){if(en.apply(this,arguments),Ue){if(Ue){var te=un;Ue=!1,un=null}else throw Error(n(198));dt||(dt=!0,At=te)}}function bt(s){var a=s,c=s;if(s.alternate)for(;a.return;)a=a.return;else{s=a;do a=s,(a.flags&4098)!==0&&(c=a.return),s=a.return;while(s)}return a.tag===3?c:null}function gn(s){if(s.tag===13){var a=s.memoizedState;if(a===null&&(s=s.alternate,s!==null&&(a=s.memoizedState)),a!==null)return a.dehydrated}return null}function Vt(s){if(bt(s)!==s)throw Error(n(188))}function Yt(s){var a=s.alternate;if(!a){if(a=bt(s),a===null)throw Error(n(188));return a!==s?null:s}for(var c=s,p=a;;){var v=c.return;if(v===null)break;var x=v.alternate;if(x===null){if(p=v.return,p!==null){c=p;continue}break}if(v.child===x.child){for(x=v.child;x;){if(x===c)return Vt(v),s;if(x===p)return Vt(v),a;x=x.sibling}throw Error(n(188))}if(c.return!==p.return)c=v,p=x;else{for(var E=!1,I=v.child;I;){if(I===c){E=!0,c=v,p=x;break}if(I===p){E=!0,p=v,c=x;break}I=I.sibling}if(!E){for(I=x.child;I;){if(I===c){E=!0,c=x,p=v;break}if(I===p){E=!0,p=x,c=v;break}I=I.sibling}if(!E)throw Error(n(189))}}if(c.alternate!==p)throw Error(n(190))}if(c.tag!==3)throw Error(n(188));return c.stateNode.current===c?s:a}function jt(s){return s=Yt(s),s!==null?cn(s):null}function cn(s){if(s.tag===5||s.tag===6)return s;for(s=s.child;s!==null;){var a=cn(s);if(a!==null)return a;s=s.sibling}return null}var qt=e.unstable_scheduleCallback,yn=e.unstable_cancelCallback,ys=e.unstable_shouldYield,vs=e.unstable_requestPaint,ht=e.unstable_now,Rn=e.unstable_getCurrentPriorityLevel,Br=e.unstable_ImmediatePriority,jo=e.unstable_UserBlockingPriority,Ei=e.unstable_NormalPriority,Pi=e.unstable_LowPriority,Lr=e.unstable_IdlePriority,ui=null,cr=null;function ci(s){if(cr&&typeof cr.onCommitFiberRoot=="function")try{cr.onCommitFiberRoot(ui,s,void 0,(s.current.flags&128)===128)}catch{}}var Nt=Math.clz32?Math.clz32:qc,Xi=Math.log,Va=Math.LN2;function qc(s){return s>>>=0,s===0?32:31-(Xi(s)/Va|0)|0}var On=64,Jr=4194304;function Dl(s){switch(s&-s){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 s&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return s&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return s}}function Ll(s,a){var c=s.pendingLanes;if(c===0)return 0;var p=0,v=s.suspendedLanes,x=s.pingedLanes,E=c&268435455;if(E!==0){var I=E&~v;I!==0?p=Dl(I):(x&=E,x!==0&&(p=Dl(x)))}
vendor: 27,699 bytes, lines 5-6
5else E=c&~v,E!==0?p=Dl(E):x!==0&&(p=Dl(x));if(p===0)return 0;if(a!==0&&a!==p&&(a&v)===0&&(v=p&-p,x=a&-a,v>=x||v===16&&(x&4194240)!==0))return a;if((p&4)!==0&&(p|=c&16),a=s.entangledLanes,a!==0)for(s=s.entanglements,a&=p;0<a;)c=31-Nt(a),v=1<<c,p|=s[c],a&=~v;return p}function po(s,a){switch(s){case 1:case 2:case 4:return a+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 a+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 Lu(s,a){for(var c=s.suspendedLanes,p=s.pingedLanes,v=s.expirationTimes,x=s.pendingLanes;0<x;){var E=31-Nt(x),I=1<<E,U=v[E];U===-1?((I&c)===0||(I&p)!==0)&&(v[E]=po(I,a)):U<=a&&(s.expiredLanes|=I),x&=~I}}function Nu(s){return s=s.pendingLanes&-1073741825,s!==0?s:s&1073741824?1073741824:0}function Dd(){var s=On;return On<<=1,(On&4194240)===0&&(On=64),s}function Nl(s){for(var a=[],c=0;31>c;c++)a.push(s);return a}function Il(s,a,c){s.pendingLanes|=a,a!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,a=31-Nt(a),s[a]=c}function Iu(s,a){var c=s.pendingLanes&~a;s.pendingLanes=a,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=a,s.mutableReadLanes&=a,s.entangledLanes&=a,a=s.entanglements;var p=s.eventTimes;for(s=s.expirationTimes;0<c;){var v=31-Nt(c),x=1<<v;a[v]=0,p[v]=-1,s[v]=-1,c&=~x}}function Qn(s,a){var c=s.entangledLanes|=a;for(s=s.entanglements;c;){var p=31-Nt(c),v=1<<p;v&a|s[p]&a&&(s[p]|=a),c&=~v}}var it=0;function Fl(s){return s&=-s,1<s?4<s?(s&268435455)!==0?16:536870912:4:1}var Qc,za,Vl,zl,jl,ja=!1,ct=[],js=null,Gi=null,mo=null,$s=new Map,da=new Map,qi=[],ha="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 Ld(s,a){switch(s){case"focusin":case"focusout":js=null;break;case"dragenter":case"dragleave":Gi=null;break;case"mouseover":case"mouseout":mo=null;break;case"pointerover":case"pointerout":$s.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":da.delete(a.pointerId)}}function $a(s,a,c,p,v,x){return s===null||s.nativeEvent!==x?(s={blockedOn:a,domEventName:c,eventSystemFlags:p,nativeEvent:x,targetContainers:[v]},a!==null&&(a=So(a),a!==null&&za(a)),s):(s.eventSystemFlags|=p,a=s.targetContainers,v!==null&&a.indexOf(v)===-1&&a.push(v),s)}function pa(s,a,c,p,v){switch(a){case"focusin":return js=$a(js,s,a,c,p,v),!0;case"dragenter":return Gi=$a(Gi,s,a,c,p,v),!0;case"mouseover":return mo=$a(mo,s,a,c,p,v),!0;case"pointerover":var x=v.pointerId;return $s.set(x,$a($s.get(x)||null,s,a,c,p,v)),!0;case"gotpointercapture":return x=v.pointerId,da.set(x,$a(da.get(x)||null,s,a,c,p,v)),!0}return!1}function fi(s){var a=Yr(s.target);if(a!==null){var c=bt(a);if(c!==null){if(a=c.tag,a===13){if(a=gn(c),a!==null){s.blockedOn=a,jl(s.priority,function(){Vl(c)});return}}else if(a===3&&c.stateNode.current.memoizedState.isDehydrated){s.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}s.blockedOn=null}function $l(s){if(s.blockedOn!==null)return!1;for(var a=s.targetContainers;0<a.length;){var c=Ul(s.domEventName,s.eventSystemFlags,a[0],s.nativeEvent);if(c===null){c=s.nativeEvent;var p=new c.constructor(c.type,c);Sr=p,c.target.dispatchEvent(p),Sr=null}else return a=So(c),a!==null&&za(a),s.blockedOn=c,!1;a.shift()}return!0}function Zc(s,a,c){$l(s)&&c.delete(a)}function Jc(){ja=!1,js!==null&&$l(js)&&(js=null),Gi!==null&&$l(Gi)&&(Gi=null),mo!==null&&$l(mo)&&(mo=null),$s.forEach(Zc),da.forEach(Zc)}function Ba(s,a){s.blockedOn===a&&(s.blockedOn=null,ja||(ja=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Jc)))}function fr(s){function a(v){return Ba(v,s)}if(0<ct.length){Ba(ct[0],s);for(var c=1;c<ct.length;c++){var p=ct[c];p.blockedOn===s&&(p.blockedOn=null)}}for(js!==null&&Ba(js,s),Gi!==null&&Ba(Gi,s),mo!==null&&Ba(mo,s),$s.forEach(a),da.forEach(a),c=0;c<qi.length;c++)p=qi[c],p.blockedOn===s&&(p.blockedOn=null);for(;0<qi.length&&(c=qi[0],c.blockedOn===null);)fi(c),c.blockedOn===null&&qi.shift()}var Qi=P.ReactCurrentBatchConfig,Bl=!0;function Rm(s,a,c,p){var v=it,x=Qi.transition;Qi.transition=null;try{it=1,Fu(s,a,c,p)}finally{it=v,Qi.transition=x}}function Nd(s,a,c,p){var v=it,x=Qi.transition;Qi.transition=null;try{it=4,Fu(s,a,c,p)}finally{it=v,Qi.transition=x}}function Fu(s,a,c,p){if(Bl){var v=Ul(s,a,c,p);if(v===null)Xe(s,a,p,Bs,c),Ld(s,p);else if(pa(v,s,a,c,p))p.stopPropagation();else if(Ld(s,p),a&4&&-1<ha.indexOf(s)){for(;v!==null;){var x=So(v);if(x!==null&&Qc(x),x=Ul(s,a,c,p),x===null&&Xe(s,a,p,Bs,c),x===v)break;v=x}v!==null&&p.stopPropagation()}else Xe(s,a,p,null,c)}}var Bs=null;function Ul(s,a,c,p){if(Bs=null,s=nt(p),s=Yr(s),s!==null)if(a=bt(s),a===null)s=null;else if(c=a.tag,c===13){if(s=gn(a),s!==null)return s;s=null}else if(c===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;s=null}else a!==s&&(s=null);return Bs=s,null}function Wl(s){switch(s){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(Rn()){case Br:return 1;case jo:return 4;case Ei:case Pi:return 16;case Lr:return 536870912;default:return 16}default:return 16}}var Zi=null,ws=null,Ua=null;function Hl(){if(Ua)return Ua;var s,a=ws,c=a.length,p,v="value"in Zi?Zi.value:Zi.textContent,x=v.length;for(s=0;s<c&&a[s]===v[s];s++);var E=c-s;for(p=1;p<=E&&a[c-p]===v[x-p];p++);return Ua=v.slice(s,1<p?1-p:void 0)}function Vu(s){var a=s.keyCode;return"charCode"in s?(s=s.charCode,s===0&&a===13&&(s=13)):s=a,s===10&&(s=13),32<=s||s===13?s:0}function Wa(){return!0}function Id(){return!1}function Cr(s){function a(c,p,v,x,E){this._reactName=c,this._targetInst=v,this.type=p,this.nativeEvent=x,this.target=E,this.currentTarget=null;for(var I in s)s.hasOwnProperty(I)&&(c=s[I],this[I]=c?c(x):x[I]);return this.isDefaultPrevented=(x.defaultPrevented!=null?x.defaultPrevented:x.returnValue===!1)?Wa:Id,this.isPropagationStopped=Id,this}return D(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=Wa)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=Wa)},persist:function(){},isPersistent:Wa}),a}var go={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ef=Cr(go),$o=D({},go,{view:0,detail:0}),Fd=Cr($o),tf,zu,Ha,ma=D({},$o,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:M,button:0,buttons:0,relatedTarget:function(s){return s.relatedTarget===void 0?s.fromElement===s.srcElement?s.toElement:s.fromElement:s.relatedTarget},movementX:function(s){return"movementX"in s?s.movementX:(s!==Ha&&(Ha&&s.type==="mousemove"?(tf=s.screenX-Ha.screenX,zu=s.screenY-Ha.screenY):zu=tf=0,Ha=s),tf)},movementY:function(s){return"movementY"in s?s.movementY:zu}}),nf=Cr(ma),mt=D({},ma,{dataTransfer:0}),Vd=Cr(mt),rf=D({},$o,{relatedTarget:0}),Ya=Cr(rf),Om=D({},go,{animationName:0,elapsedTime:0,pseudoElement:0}),zd=Cr(Om),Am=D({},go,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),jd=Cr(Am),$d=D({},go,{data:0}),Bd=Cr($d),X={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},k={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"},z={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function A(s){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(s):(s=z[s])?!!a[s]:!1}function M(){return A}var Y=D({},$o,{key:function(s){if(s.key){var a=X[s.key]||s.key;if(a!=="Unidentified")return a}return s.type==="keypress"?(s=Vu(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?k[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:M,charCode:function(s){return s.type==="keypress"?Vu(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?Vu(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),oe=Cr(Y),J=D({},ma,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),be=Cr(J),Je=D({},$o,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:M}),Mt=Cr(Je),vt=D({},go,{propertyName:0,elapsedTime:0,pseudoElement:0}),We=Cr(vt),fe=D({},ma,{deltaX:function(s){return"deltaX"in s?s.deltaX:"wheelDeltaX"in s?-s.wheelDeltaX:0},deltaY:function(s){return"deltaY"in s?s.deltaY:"wheelDeltaY"in s?-s.wheelDeltaY:"wheelDelta"in s?-s.wheelDelta:0},deltaZ:0,deltaMode:0}),Ke=Cr(fe),An=[9,13,27,32],$t=u&&"CompositionEvent"in window,vn=null;u&&"documentMode"in document&&(vn=document.documentMode);var wn=u&&"TextEvent"in window&&!vn,br=u&&(!$t||vn&&8<vn&&11>=vn),ft=" ",ki=!1;function tn(s,a){switch(s){case"keyup":return An.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function st(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var Zn=!1;function di(s,a){switch(s){case"compositionend":return st(a);case"keypress":return a.which!==32?null:(ki=!0,ft);case"textInput":return s=a.data,s===ft&&ki?null:s;default:return null}}function Be(s,a){if(Zn)return s==="compositionend"||!$t&&tn(s,a)?(s=Hl(),Ua=ws=Zi=null,Zn=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return br&&a.locale!=="ko"?null:a.data;default:return null}}var Er={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 tt(s){var a=s&&s.nodeName&&s.nodeName.toLowerCase();return a==="input"?!!Er[s.type]:a==="textarea"}function Us(s,a,c,p){Ht(p),a=Se(a,"onChange"),0<a.length&&(c=new ef("onChange","change",null,c,p),s.push({event:c,listeners:a}))}var xn=null,dr=null;function ei(s){es(s,0)}function It(s){var a=To(s);if(Ze(a))return s}function Jn(s,a){if(s==="change")return a}var jn=!1;if(u){var Q;if(u){var $n="oninput"in document;if(!$n){var Bo=document.createElement("div");Bo.setAttribute("oninput","return;"),$n=typeof Bo.oninput=="function"}Q=$n}else Q=!1;jn=Q&&(!document.documentMode||9<document.documentMode)}function yo(){xn&&(xn.detachEvent("onpropertychange",Ri),dr=xn=null)}function Ri(s){if(s.propertyName==="value"&&It(dr)){var a=[];Us(a,dr,s,nt(s)),Re(ei,a)}}function vo(s,a,c){s==="focusin"?(yo(),xn=a,dr=c,xn.attachEvent("onpropertychange",Ri)):s==="focusout"&&yo()}function Ur(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return It(dr)}function er(s,a){if(s==="click")return It(a)}function ti(s,a){if(s==="input"||s==="change")return It(a)}function Wr(s,a){return s===a&&(s!==0||1/s===1/a)||s!==s&&a!==a}var Pr=typeof Object.is=="function"?Object.is:Wr;function hr(s,a){if(Pr(s,a))return!0;if(typeof s!="object"||s===null||typeof a!="object"||a===null)return!1;var c=Object.keys(s),p=Object.keys(a);if(c.length!==p.length)return!1;for(p=0;p<c.length;p++){var v=c[p];if(!f.call(a,v)||!Pr(s[v],a[v]))return!1}return!0}function Hr(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function kt(s,a){var c=Hr(s);s=0;for(var p;c;){if(c.nodeType===3){if(p=s+c.textContent.length,s<=a&&p>=a)return{node:c,offset:a-s};s=p}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=Hr(c)}}function Mn(s,a){return s&&a?s===a?!0:s&&s.nodeType===3?!1:a&&a.nodeType===3?Mn(s,a.parentNode):"contains"in s?s.contains(a):s.compareDocumentPosition?!!(s.compareDocumentPosition(a)&16):!1:!1}function ni(){for(var s=window,a=Ve();a instanceof s.HTMLIFrameElement;){try{var c=typeof a.contentWindow.location.href=="string"}catch{c=!1}if(c)s=a.contentWindow;else break;a=Ve(s.document)}return a}function ri(s){var a=s&&s.nodeName&&s.nodeName.toLowerCase();return a&&(a==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||a==="textarea"||s.contentEditable==="true")}function se(s){var a=ni(),c=s.focusedElem,p=s.selectionRange;if(a!==c&&c&&c.ownerDocument&&Mn(c.ownerDocument.documentElement,c)){if(p!==null&&ri(c)){if(a=p.start,s=p.end,s===void 0&&(s=a),"selectionStart"in c)c.selectionStart=a,c.selectionEnd=Math.min(s,c.value.length);else if(s=(a=c.ownerDocument||document)&&a.defaultView||window,s.getSelection){s=s.getSelection();var v=c.textContent.length,x=Math.min(p.start,v);p=p.end===void 0?x:Math.min(p.end,v),!s.extend&&x>p&&(v=p,p=x,x=v),v=kt(c,x);var E=kt(c,p);v&&E&&(s.rangeCount!==1||s.anchorNode!==v.node||s.anchorOffset!==v.offset||s.focusNode!==E.node||s.focusOffset!==E.offset)&&(a=a.createRange(),a.setStart(v.node,v.offset),s.removeAllRanges(),x>p?(s.addRange(a),s.extend(E.node,E.offset)):(a.setEnd(E.node,E.offset),s.addRange(a)))}}for(a=[],s=c;s=s.parentNode;)s.nodeType===1&&a.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<a.length;c++)s=a[c],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var Oi=u&&"documentMode"in document&&11>=document.documentMode,hi=null,Ws=null,Qt=null,xs=!1;function wo(s,a,c){var p=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;xs||hi==null||hi!==Ve(p)||(p=hi,"selectionStart"in p&&ri(p)?p={start:p.selectionStart,end:p.selectionEnd}:(p=(p.ownerDocument&&p.ownerDocument.defaultView||window).getSelection(),p={anchorNode:p.anchorNode,anchorOffset:p.anchorOffset,focusNode:p.focusNode,focusOffset:p.focusOffset}),Qt&&hr(Qt,p)||(Qt=p,p=Se(Ws,"onSelect"),0<p.length&&(a=new ef("onSelect","select",null,a,c),s.push({event:a,listeners:p}),a.target=hi)))}function Hs(s,a){var c={};return c[s.toLowerCase()]=a.toLowerCase(),c["Webkit"+s]="webkit"+a,c["Moz"+s]="moz"+a,c}var _n={animationend:Hs("Animation","AnimationEnd"),animationiteration:Hs("Animation","AnimationIteration"),animationstart:Hs("Animation","AnimationStart"),transitionend:Hs("Transition","TransitionEnd")},Ys={},Dn={};u&&(Dn=document.createElement("div").style,"AnimationEvent"in window||(delete _n.animationend.animation,delete _n.animationiteration.animation,delete _n.animationstart.animation),"TransitionEvent"in window||delete _n.transitionend.transition);function pi(s){if(Ys[s])return Ys[s];if(!_n[s])return s;var a=_n[s],c;for(c in a)if(a.hasOwnProperty(c)&&c in Dn)return Ys[s]=a[c];return s}var Ai=pi("animationend"),Ks=pi("animationiteration"),Ka=pi("animationstart"),Bn=pi("transitionend"),Yl=new Map,Xs="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 Mi(s,a){Yl.set(s,a),o(a,[s])}for(var Uo=0;Uo<Xs.length;Uo++){var Gs=Xs[Uo],ga=Gs.toLowerCase(),wt=Gs[0].toUpperCase()+Gs.slice(1);Mi(ga,"on"+wt)}Mi(Ai,"onAnimationEnd"),Mi(Ks,"onAnimationIteration"),Mi(Ka,"onAnimationStart"),Mi("dblclick","onDoubleClick"),Mi("focusin","onFocus"),Mi("focusout","onBlur"),Mi(Bn,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _s="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(" "),Ss=new Set("cancel close invalid load scroll toggle".split(" ").concat(_s));function Ji(s,a,c){var p=s.type||"unknown-event";s.currentTarget=c,Gt(p,a,void 0,s),s.currentTarget=null}function es(s,a){a=(a&4)!==0;for(var c=0;c<s.length;c++){var p=s[c],v=p.event;p=p.listeners;e:{var x=void 0;if(a)for(var E=p.length-1;0<=E;E--){var I=p[E],U=I.instance,te=I.currentTarget;if(I=I.listener,U!==x&&v.isPropagationStopped())break e;Ji(v,I,te),x=U}else for(E=0;E<p.length;E++){if(I=p[E],U=I.instance,te=I.currentTarget,I=I.listener,U!==x&&v.isPropagationStopped())break e;Ji(v,I,te),x=U}}}if(dt)throw s=At,dt=!1,At=null,s}function Dt(s,a){var c=a[Kl];c===void 0&&(c=a[Kl]=new Set);var p=s+"__bubble";c.has(p)||(lt(a,s,2,!1),c.add(p))}function Wo(s,a,c){var p=0;a&&(p|=4),lt(c,s,p,a)}var ts="_reactListening"+Math.random().toString(36).slice(2);function xo(s){if(!s[ts]){s[ts]=!0,r.forEach(function(c){c!=="selectionchange"&&(Ss.has(c)||Wo(c,!1,s),Wo(c,!0,s))});var a=s.nodeType===9?s:s.ownerDocument;a===null||a[ts]||(a[ts]=!0,Wo("selectionchange",!1,a))}}function lt(s,a,c,p){switch(Wl(a)){case 1:var v=Rm;break;case 4:v=Nd;break;default:v=Fu}c=v.bind(null,a,c,s),v=void 0,!xe||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(v=!0),p?v!==void 0?s.addEventListener(a,c,{capture:!0,passive:v}):s.addEventListener(a,c,!0):v!==void 0?s.addEventListener(a,c,{passive:v}):s.addEventListener(a,c,!1)}function Xe(s,a,c,p,v){var x=p;if((a&1)===0&&(a&2)===0&&p!==null)e:for(;;){if(p===null)return;var E=p.tag;if(E===3||E===4){var I=p.stateNode.containerInfo;if(I===v||I.nodeType===8&&I.parentNode===v)break;if(E===4)for(E=p.return;E!==null;){var U=E.tag;if((U===3||U===4)&&(U=E.stateNode.containerInfo,U===v||U.nodeType===8&&U.parentNode===v))return;E=E.return}for(;I!==null;){if(E=Yr(I),E===null)return;if(U=E.tag,U===5||U===6){p=x=E;continue e}I=I.parentNode}}p=p.return}Re(function(){var te=x,he=nt(c),ge=[];e:{var de=Yl.get(s);if(de!==void 0){var Pe=ef,De=s;switch(s){case"keypress":if(Vu(c)===0)break e;case"keydown":case"keyup":Pe=oe;break;case"focusin":De="focus",Pe=Ya;break;case"focusout":De="blur",Pe=Ya;break;case"beforeblur":case"afterblur":Pe=Ya;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Pe=nf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Pe=Vd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Pe=Mt;break;case Ai:case Ks:case Ka:Pe=zd;break;case Bn:Pe=We;break;case"scroll":Pe=Fd;break;case"wheel":Pe=Ke;break;case"copy":case"cut":case"paste":Pe=jd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Pe=be}var Ne=(a&4)!==0,gr=!Ne&&s==="scroll",q=Ne?de!==null?de+"Capture":null:de;Ne=[];for(var H=te,Z;H!==null;){Z=H;var we=Z.stateNode;if(Z.tag===5&&we!==null&&(Z=we,q!==null&&(we=rt(H,q),we!=null&&Ne.push(Et(H,we,Z)))),gr)break;H=H.return}0<Ne.length&&(de=new Pe(de,De,null,c,he),ge.push({event:de,listeners:Ne}))}}if((a&7)===0){e:{if(de=s==="mouseover"||s==="pointerover",Pe=s==="mouseout"||s==="pointerout",de&&c!==Sr&&(De=c.relatedTarget||c.fromElement)&&(Yr(De)||De[Rr]))break e;if((Pe||de)&&(de=he.window===he?he:(de=he.ownerDocument)?de.defaultView||de.parentWindow:window,Pe?(De=c.relatedTarget||c.toElement,Pe=te,De=De?Yr(De):null,De!==null&&(gr=bt(De),De!==gr||De.tag!==5&&De.tag!==6)&&(De=null)):(Pe=null,De=te),Pe!==De)){if(Ne=nf,we="onMouseLeave",q="onMouseEnter",H="mouse",(s==="pointerout"||s==="pointerover")&&(Ne=be,we="onPointerLeave",q="onPointerEnter",H="pointer"),gr=Pe==null?de:To(Pe),Z=De==null?de:To(De),de=new Ne(we,H+"leave",Pe,c,he),de.target=gr,de.relatedTarget=Z,we=null,Yr(he)===te&&(Ne=new Ne(q,H+"enter",De,c,he),Ne.target=Z,Ne.relatedTarget=gr,we=Ne),gr=we,Pe&&De)t:{for(Ne=Pe,q=De,H=0,Z=Ne;Z;Z=et(Z))H++;for(Z=0,we=q;we;we=et(we))Z++;for(;0<H-Z;)Ne=et(Ne),H--;for(;0<Z-H;)q=et(q),Z--;for(;H--;){if(Ne===q||q!==null&&Ne===q.alternate)break t;Ne=et(Ne),q=et(q)}Ne=null}else Ne=null;Pe!==null&&He(ge,de,Pe,Ne,!1),De!==null&&gr!==null&&He(ge,gr,De,Ne,!0)}}e:{if(de=te?To(te):window,Pe=de.nodeName&&de.nodeName.toLowerCase(),Pe==="select"||Pe==="input"&&de.type==="file")var ze=Jn;else if(tt(de))if(jn)ze=ti;else{ze=Ur;var qe=vo}else(Pe=de.nodeName)&&Pe.toLowerCase()==="input"&&(de.type==="checkbox"||de.type==="radio")&&(ze=er);if(ze&&(ze=ze(s,te))){Us(ge,ze,c,he);break e}qe&&qe(s,de,te),s==="focusout"&&(qe=de._wrapperState)&&qe.controlled&&de.type==="number"&&ir(de,"number",de.value)}switch(qe=te?To(te):window,s){case"focusin":(tt(qe)||qe.contentEditable==="true")&&(hi=qe,Ws=te,Qt=null);break;case"focusout":Qt=Ws=hi=null;break;case"mousedown":xs=!0;break;case"contextmenu":case"mouseup":case"dragend":xs=!1,wo(ge,c,he);break;case"selectionchange":if(Oi)break;case"keydown":case"keyup":wo(ge,c,he)}var Qe;if($t)e:{switch(s){case"compositionstart":var ot="onCompositionStart";break e;case"compositionend":ot="onCompositionEnd";break e;case"compositionupdate":ot="onCompositionUpdate";break e}ot=void 0}else Zn?tn(s,c)&&(ot="onCompositionEnd"):s==="keydown"&&c.keyCode===229&&(ot="onCompositionStart");ot&&(br&&c.locale!=="ko"&&(Zn||ot!=="onCompositionStart"?ot==="onCompositionEnd"&&Zn&&(Qe=Hl()):(Zi=he,ws="value"in Zi?Zi.value:Zi.textContent,Zn=!0)),qe=Se(te,ot),0<qe.length&&(ot=new Bd(ot,s,null,c,he),ge.push({event:ot,listeners:qe}),Qe?ot.data=Qe:(Qe=st(c),Qe!==null&&(ot.data=Qe)))),(Qe=wn?di(s,c):Be(s,c))&&(te=Se(te,"onBeforeInput"),0<te.length&&(he=new Bd("onBeforeInput","beforeinput",null,c,he),ge.push({event:he,listeners:te}),he.data=Qe))}es(ge,a)})}function Et(s,a,c){return{instance:s,listener:a,currentTarget:c}}function Se(s,a){for(var c=a+"Capture",p=[];s!==null;){var v=s,x=v.stateNode;v.tag===5&&x!==null&&(v=x,x=rt(s,c),x!=null&&p.unshift(Et(s,x,v)),x=rt(s,a),x!=null&&p.push(Et(s,x,v))),s=s.return}return p}function et(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5);return s||null}function He(s,a,c,p,v){for(var x=a._reactName,E=[];c!==null&&c!==p;){var I=c,U=I.alternate,te=I.stateNode;if(U!==null&&U===p)break;I.tag===5&&te!==null&&(I=te,v?(U=rt(c,x),U!=null&&E.unshift(Et(c,U,I))):v||(U=rt(c,x),U!=null&&E.push(Et(c,U,I)))),c=c.return}E.length!==0&&s.push({event:a,listeners:E})}var ut=/\r\n?/g,kr=/\u0000|\uFFFD/g;function _t(s){return(typeof s=="string"?s:""+s).replace(ut,`
6`).replace(kr,"")}function fn(s,a,c){if(a=_t(a),_t(s)!==a&&c)throw Error(n(425))}function pr(){}var dn=null,Zt=null;function zt(s,a){return s==="textarea"||s==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Di=typeof setTimeout=="function"?setTimeout:void 0,Sn=typeof clearTimeout=="function"?clearTimeout:void 0,mi=typeof Promise=="function"?Promise:void 0,qs=typeof queueMicrotask=="function"?queueMicrotask:typeof mi<"u"?function(s){return mi.resolve(null).then(s).catch(Nr)}:Di;function Nr(s){setTimeout(function(){throw s})}function mr(s,a){var c=a,p=0;do{var v=c.nextSibling;if(s.removeChild(c),v&&v.nodeType===8)if(c=v.data,c==="/$"){if(p===0){s.removeChild(v),fr(a);return}p--}else c!=="$"&&c!=="$?"&&c!=="$!"||p++;c=v}while(c);fr(a)}function Tn(s){for(;s!=null;s=s.nextSibling){var a=s.nodeType;if(a===1||a===3)break;if(a===8){if(a=s.data,a==="$"||a==="$!"||a==="$?")break;if(a==="/$")return null}}return s}function Ho(s){s=s.previousSibling;for(var a=0;s;){if(s.nodeType===8){var c=s.data;if(c==="$"||c==="$!"||c==="$?"){if(a===0)return s;a--}else c==="/$"&&a++}s=s.previousSibling}return null}var _o=Math.random().toString(36).slice(2),nn="__reactFiber$"+_o,Cn="__reactProps$"+_o,Rr="__reactContainer$"+_o,Kl="__reactEvents$"+_o,Ud="__reactListeners$"+_o,Xl="__reactHandles$"+_o;function Yr(s){var a=s[nn];if(a)return a;for(var c=s.parentNode;c;){if(a=c[Rr]||c[nn]){if(c=a.alternate,a.child!==null||c!==null&&c.child!==null)for(s=Ho(s);s!==null;){if(c=s[nn])return c;s=Ho(s)}return a}s=c,c=s.parentNode}return null}function So(s){return s=s[nn]||s[Rr],!s||s.tag!==5&&s.tag!==6&&s.tag!==13&&s.tag!==3?null:s}function To(s){if(s.tag===5||s.tag===6)return s.stateNode;throw Error(n(33))}function Ts(s){return s[Cn]||null}var Mm=[],ju=-1;function Xa(s){return{current:s}}function bn(s){0>ju||(s.current=Mm[ju],Mm[ju]=null,ju--)}function hn(s,a){ju++,Mm[ju]=s.current,s.current=a}var Ga={},gi=Xa(Ga),ns=Xa(!1),Gl=Ga;function $u(s,a){var c=s.type.contextTypes;if(!c)return Ga;var p=s.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===a)return p.__reactInternalMemoizedMaskedChildContext;var v={},x;for(x in c)v[x]=a[x];return p&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=a,s.__reactInternalMemoizedMaskedChildContext=v),v}function rs(s){return s=s.childContextTypes,s!=null}function Wd(){bn(ns),bn(gi)}function zw(s,a,c){if(gi.current!==Ga)throw Error(n(168));hn(gi,a),hn(ns,c)}function jw(s,a,c){var p=s.stateNode;if(a=a.childContextTypes,typeof p.getChildContext!="function")return c;p=p.getChildContext();
vendor: 5,381 bytes, line 6
6for(var v in p)if(!(v in a))throw Error(n(108,_e(s)||"Unknown",v));return D({},c,p)}function Hd(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||Ga,Gl=gi.current,hn(gi,s),hn(ns,ns.current),!0}function $w(s,a,c){var p=s.stateNode;if(!p)throw Error(n(169));c?(s=jw(s,a,Gl),p.__reactInternalMemoizedMergedChildContext=s,bn(ns),bn(gi),hn(gi,s)):bn(ns),hn(ns,c)}var ya=null,Yd=!1,Dm=!1;function Bw(s){ya===null?ya=[s]:ya.push(s)}function _R(s){Yd=!0,Bw(s)}function qa(){if(!Dm&&ya!==null){Dm=!0;var s=0,a=it;try{var c=ya;for(it=1;s<c.length;s++){var p=c[s];do p=p(!0);while(p!==null)}ya=null,Yd=!1}catch(v){throw ya!==null&&(ya=ya.slice(s+1)),qt(Br,qa),v}finally{it=a,Dm=!1}}return null}var Bu=[],Uu=0,Kd=null,Xd=0,Qs=[],Zs=0,ql=null,va=1,wa="";function Ql(s,a){Bu[Uu++]=Xd,Bu[Uu++]=Kd,Kd=s,Xd=a}function Uw(s,a,c){Qs[Zs++]=va,Qs[Zs++]=wa,Qs[Zs++]=ql,ql=s;var p=va;s=wa;var v=32-Nt(p)-1;p&=~(1<<v),c+=1;var x=32-Nt(a)+v;if(30<x){var E=v-v%5;x=(p&(1<<E)-1).toString(32),p>>=E,v-=E,va=1<<32-Nt(a)+v|c<<v|p,wa=x+s}else va=1<<x|c<<v|p,wa=s}function Lm(s){s.return!==null&&(Ql(s,1),Uw(s,1,0))}function Nm(s){for(;s===Kd;)Kd=Bu[--Uu],Bu[Uu]=null,Xd=Bu[--Uu],Bu[Uu]=null;for(;s===ql;)ql=Qs[--Zs],Qs[Zs]=null,wa=Qs[--Zs],Qs[Zs]=null,va=Qs[--Zs],Qs[Zs]=null}var Cs=null,bs=null,Ln=!1,Co=null;function Ww(s,a){var c=no(5,null,null,0);c.elementType="DELETED",c.stateNode=a,c.return=s,a=s.deletions,a===null?(s.deletions=[c],s.flags|=16):a.push(c)}function Hw(s,a){switch(s.tag){case 5:var c=s.type;return a=a.nodeType!==1||c.toLowerCase()!==a.nodeName.toLowerCase()?null:a,a!==null?(s.stateNode=a,Cs=s,bs=Tn(a.firstChild),!0):!1;case 6:return a=s.pendingProps===""||a.nodeType!==3?null:a,a!==null?(s.stateNode=a,Cs=s,bs=null,!0):!1;case 13:return a=a.nodeType!==8?null:a,a!==null?(c=ql!==null?{id:va,overflow:wa}:null,s.memoizedState={dehydrated:a,treeContext:c,retryLane:1073741824},c=no(18,null,null,0),c.stateNode=a,c.return=s,s.child=c,Cs=s,bs=null,!0):!1;default:return!1}}function Im(s){return(s.mode&1)!==0&&(s.flags&128)===0}function Fm(s){if(Ln){var a=bs;if(a){var c=a;if(!Hw(s,a)){if(Im(s))throw Error(n(418));a=Tn(c.nextSibling);var p=Cs;a&&Hw(s,a)?Ww(p,c):(s.flags=s.flags&-4097|2,Ln=!1,Cs=s)}}else{if(Im(s))throw Error(n(418));s.flags=s.flags&-4097|2,Ln=!1,Cs=s}}}function Yw(s){for(s=s.return;s!==null&&s.tag!==5&&s.tag!==3&&s.tag!==13;)s=s.return;Cs=s}function Gd(s){if(s!==Cs)return!1;if(!Ln)return Yw(s),Ln=!0,!1;var a;if((a=s.tag!==3)&&!(a=s.tag!==5)&&(a=s.type,a=a!=="head"&&a!=="body"&&!zt(s.type,s.memoizedProps)),a&&(a=bs)){if(Im(s))throw Kw(),Error(n(418));for(;a;)Ww(s,a),a=Tn(a.nextSibling)}if(Yw(s),s.tag===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(n(317));e:{for(s=s.nextSibling,a=0;s;){if(s.nodeType===8){var c=s.data;if(c==="/$"){if(a===0){bs=Tn(s.nextSibling);break e}a--}else c!=="$"&&c!=="$!"&&c!=="$?"||a++}s=s.nextSibling}bs=null}}else bs=Cs?Tn(s.stateNode.nextSibling):null;return!0}function Kw(){for(var s=bs;s;)s=Tn(s.nextSibling)}function Wu(){bs=Cs=null,Ln=!1}function Vm(s){Co===null?Co=[s]:Co.push(s)}var SR=P.ReactCurrentBatchConfig;function sf(s,a,c){if(s=c.ref,s!==null&&typeof s!="function"&&typeof s!="object"){if(c._owner){if(c=c._owner,c){if(c.tag!==1)throw Error(n(309));var p=c.stateNode}if(!p)throw Error(n(147,s));var v=p,x=""+s;return a!==null&&a.ref!==null&&typeof a.ref=="function"&&a.ref._stringRef===x?a.ref:(a=function(E){var I=v.refs;E===null?delete I[x]:I[x]=E},a._stringRef=x,a)}if(typeof s!="string")throw Error(n(284));if(!c._owner)throw Error(n(290,s))}return s}function qd(s,a){throw s=Object.prototype.toString.call(a),Error(n(31,s==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":s))}function Xw(s){var a=s._init;return a(s._payload)}function Gw(s){function a(q,H){if(s){var Z=q.deletions;Z===null?(q.deletions=[H],q.flags|=16):Z.push(H)}}function c(q,H){if(!s)return null;for(;H!==null;)a(q,H),H=H.sibling;return null}function p(q,H){for(q=new Map;H!==null;)H.key!==null?q.set(H.key,H):q.set(H.index,H),H=H.sibling;return q}function v(q,H){return q=il(q,H),q.index=0,q.sibling=null,q}function x(q,H,Z){return q.index=Z,s?(Z=q.alternate,Z!==null?(Z=Z.index,Z<H?(q.flags|=2,H):Z):(q.flags|=2,H)):(q.flags|=1048576,H)}function E(q){return s&&q.alternate===null&&(q.flags|=2),q}function I(q,H,Z,we){return H===null||H.tag!==6?(H=Rg(Z,q.mode,we),H.return=q,H):(H=v(H,Z),H.return=q,H)}function U(q,H,Z,we){var ze=Z.type;return ze===L?he(q,H,Z.props.children,we,Z.key):H!==null&&(H.elementType===ze||typeof ze=="object"&&ze!==null&&ze.$$typeof===le&&Xw(ze)===H.type)?(we=v(H,Z.props),we.ref=sf(q,H,Z),we.return=q,we):(we=xh(Z.type,Z.key,Z.props,null,q.mode,we),we.ref=sf(q,H,Z),we.return=q,we)}function te(q,H,Z,we){return H===null||H.tag!==4||H.stateNode.containerInfo!==Z.containerInfo||H.stateNode.implementation!==Z.implementation?(H=Og(Z,q.mode,we),H.return=q,H):(H=v(H,Z.children||[]),H.return=q,H)}function he(q,H,Z,we,ze){return H===null||H.tag!==7?(H=su(Z,q.mode,we,ze),H.return=q,H):(H=v(H,Z),H.return=q,H)}function ge(q,H,Z){if(typeof H=="string"&&H!==""||typeof H=="number")return H=Rg(""+H,q.mode,Z),H.return=q,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case O:return Z=xh(H.type,H.key,H.props,null,q.mode,Z),Z.ref=sf(q,null,H),Z.return=q,Z;case N:return H=Og(H,q.mode,Z),H.return=q,H;case le:var we=H._init;return ge(q,we(H._payload),Z)}
vendor: 3,218 bytes, line 6
6if(Gn(H)||K(H))return H=su(H,q.mode,Z,null),H.return=q,H;qd(q,H)}return null}function de(q,H,Z,we){var ze=H!==null?H.key:null;if(typeof Z=="string"&&Z!==""||typeof Z=="number")return ze!==null?null:I(q,H,""+Z,we);if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case O:return Z.key===ze?U(q,H,Z,we):null;case N:return Z.key===ze?te(q,H,Z,we):null;case le:return ze=Z._init,de(q,H,ze(Z._payload),we)}if(Gn(Z)||K(Z))return ze!==null?null:he(q,H,Z,we,null);qd(q,Z)}return null}function Pe(q,H,Z,we,ze){if(typeof we=="string"&&we!==""||typeof we=="number")return q=q.get(Z)||null,I(H,q,""+we,ze);if(typeof we=="object"&&we!==null){switch(we.$$typeof){case O:return q=q.get(we.key===null?Z:we.key)||null,U(H,q,we,ze);case N:return q=q.get(we.key===null?Z:we.key)||null,te(H,q,we,ze);case le:var qe=we._init;return Pe(q,H,Z,qe(we._payload),ze)}if(Gn(we)||K(we))return q=q.get(Z)||null,he(H,q,we,ze,null);qd(H,we)}return null}function De(q,H,Z,we){for(var ze=null,qe=null,Qe=H,ot=H=0,Gr=null;Qe!==null&&ot<Z.length;ot++){Qe.index>ot?(Gr=Qe,Qe=null):Gr=Qe.sibling;var Ft=de(q,Qe,Z[ot],we);if(Ft===null){Qe===null&&(Qe=Gr);break}s&&Qe&&Ft.alternate===null&&a(q,Qe),H=x(Ft,H,ot),qe===null?ze=Ft:qe.sibling=Ft,qe=Ft,Qe=Gr}if(ot===Z.length)return c(q,Qe),Ln&&Ql(q,ot),ze;if(Qe===null){for(;ot<Z.length;ot++)Qe=ge(q,Z[ot],we),Qe!==null&&(H=x(Qe,H,ot),qe===null?ze=Qe:qe.sibling=Qe,qe=Qe);return Ln&&Ql(q,ot),ze}for(Qe=p(q,Qe);ot<Z.length;ot++)Gr=Pe(Qe,q,ot,Z[ot],we),Gr!==null&&(s&&Gr.alternate!==null&&Qe.delete(Gr.key===null?ot:Gr.key),H=x(Gr,H,ot),qe===null?ze=Gr:qe.sibling=Gr,qe=Gr);return s&&Qe.forEach(function(sl){return a(q,sl)}),Ln&&Ql(q,ot),ze}function Ne(q,H,Z,we){var ze=K(Z);if(typeof ze!="function")throw Error(n(150));if(Z=ze.call(Z),Z==null)throw Error(n(151));for(var qe=ze=null,Qe=H,ot=H=0,Gr=null,Ft=Z.next();Qe!==null&&!Ft.done;ot++,Ft=Z.next()){Qe.index>ot?(Gr=Qe,Qe=null):Gr=Qe.sibling;var sl=de(q,Qe,Ft.value,we);if(sl===null){Qe===null&&(Qe=Gr);break}s&&Qe&&sl.alternate===null&&a(q,Qe),H=x(sl,H,ot),qe===null?ze=sl:qe.sibling=sl,qe=sl,Qe=Gr}if(Ft.done)return c(q,Qe),Ln&&Ql(q,ot),ze;if(Qe===null){for(;!Ft.done;ot++,Ft=Z.next())Ft=ge(q,Ft.value,we),Ft!==null&&(H=x(Ft,H,ot),qe===null?ze=Ft:qe.sibling=Ft,qe=Ft);return Ln&&Ql(q,ot),ze}for(Qe=p(q,Qe);!Ft.done;ot++,Ft=Z.next())Ft=Pe(Qe,q,ot,Ft.value,we),Ft!==null&&(s&&Ft.alternate!==null&&Qe.delete(Ft.key===null?ot:Ft.key),H=x(Ft,H,ot),qe===null?ze=Ft:qe.sibling=Ft,qe=Ft);return s&&Qe.forEach(function(tO){return a(q,tO)}),Ln&&Ql(q,ot),ze}function gr(q,H,Z,we){if(typeof Z=="object"&&Z!==null&&Z.type===L&&Z.key===null&&(Z=Z.props.children),typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case O:e:{for(var ze=Z.key,qe=H;qe!==null;){if(qe.key===ze){if(ze=Z.type,ze===L){if(qe.tag===7){c(q,qe.sibling),H=v(qe,Z.props.children),H.return=q,q=H;break e}}else if(qe.elementType===ze||typeof ze=="object"&&ze!==null&&ze.$$typeof===le&&Xw(ze)===qe.type){c(q,qe.sibling),H=v(qe,Z.props),H.ref=sf(q,qe,Z),H.return=q,q=H;break e}c(q,qe);break}else a(q,qe);qe=qe.sibling}Z.type===L?(H=su(Z.props.children,q.mode,we,Z.key),H.return=q,q=H):(we=xh(Z.type,Z.key,Z.props,null,q.mode,we),we.ref=sf(q,H,Z),we.return=q,q=we)}return E(q);case N:e:{for(qe=Z.key;H!==null;
vendor: 6,116 bytes, line 6
6){if(H.key===qe)if(H.tag===4&&H.stateNode.containerInfo===Z.containerInfo&&H.stateNode.implementation===Z.implementation){c(q,H.sibling),H=v(H,Z.children||[]),H.return=q,q=H;break e}else{c(q,H);break}else a(q,H);H=H.sibling}H=Og(Z,q.mode,we),H.return=q,q=H}return E(q);case le:return qe=Z._init,gr(q,H,qe(Z._payload),we)}if(Gn(Z))return De(q,H,Z,we);if(K(Z))return Ne(q,H,Z,we);qd(q,Z)}return typeof Z=="string"&&Z!==""||typeof Z=="number"?(Z=""+Z,H!==null&&H.tag===6?(c(q,H.sibling),H=v(H,Z),H.return=q,q=H):(c(q,H),H=Rg(Z,q.mode,we),H.return=q,q=H),E(q)):c(q,H)}return gr}var Hu=Gw(!0),qw=Gw(!1),Qd=Xa(null),Zd=null,Yu=null,zm=null;function jm(){zm=Yu=Zd=null}function $m(s){var a=Qd.current;bn(Qd),s._currentValue=a}function Bm(s,a,c){for(;s!==null;){var p=s.alternate;if((s.childLanes&a)!==a?(s.childLanes|=a,p!==null&&(p.childLanes|=a)):p!==null&&(p.childLanes&a)!==a&&(p.childLanes|=a),s===c)break;s=s.return}}function Ku(s,a){Zd=s,zm=Yu=null,s=s.dependencies,s!==null&&s.firstContext!==null&&((s.lanes&a)!==0&&(is=!0),s.firstContext=null)}function Js(s){var a=s._currentValue;if(zm!==s)if(s={context:s,memoizedValue:a,next:null},Yu===null){if(Zd===null)throw Error(n(308));Yu=s,Zd.dependencies={lanes:0,firstContext:s}}else Yu=Yu.next=s;return a}var Zl=null;function Um(s){Zl===null?Zl=[s]:Zl.push(s)}function Qw(s,a,c,p){var v=a.interleaved;return v===null?(c.next=c,Um(a)):(c.next=v.next,v.next=c),a.interleaved=c,xa(s,p)}function xa(s,a){s.lanes|=a;var c=s.alternate;for(c!==null&&(c.lanes|=a),c=s,s=s.return;s!==null;)s.childLanes|=a,c=s.alternate,c!==null&&(c.childLanes|=a),c=s,s=s.return;return c.tag===3?c.stateNode:null}var Qa=!1;function Wm(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Zw(s,a){s=s.updateQueue,a.updateQueue===s&&(a.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function _a(s,a){return{eventTime:s,lane:a,tag:0,payload:null,callback:null,next:null}}function Za(s,a,c){var p=s.updateQueue;if(p===null)return null;if(p=p.shared,(Lt&2)!==0){var v=p.pending;return v===null?a.next=a:(a.next=v.next,v.next=a),p.pending=a,xa(s,c)}return v=p.interleaved,v===null?(a.next=a,Um(p)):(a.next=v.next,v.next=a),p.interleaved=a,xa(s,c)}function Jd(s,a,c){if(a=a.updateQueue,a!==null&&(a=a.shared,(c&4194240)!==0)){var p=a.lanes;p&=s.pendingLanes,c|=p,a.lanes=c,Qn(s,c)}}function Jw(s,a){var c=s.updateQueue,p=s.alternate;if(p!==null&&(p=p.updateQueue,c===p)){var v=null,x=null;if(c=c.firstBaseUpdate,c!==null){do{var E={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};x===null?v=x=E:x=x.next=E,c=c.next}while(c!==null);x===null?v=x=a:x=x.next=a}else v=x=a;c={baseState:p.baseState,firstBaseUpdate:v,lastBaseUpdate:x,shared:p.shared,effects:p.effects},s.updateQueue=c;return}s=c.lastBaseUpdate,s===null?c.firstBaseUpdate=a:s.next=a,c.lastBaseUpdate=a}function eh(s,a,c,p){var v=s.updateQueue;Qa=!1;var x=v.firstBaseUpdate,E=v.lastBaseUpdate,I=v.shared.pending;if(I!==null){v.shared.pending=null;var U=I,te=U.next;U.next=null,E===null?x=te:E.next=te,E=U;var he=s.alternate;he!==null&&(he=he.updateQueue,I=he.lastBaseUpdate,I!==E&&(I===null?he.firstBaseUpdate=te:I.next=te,he.lastBaseUpdate=U))}if(x!==null){var ge=v.baseState;E=0,he=te=U=null,I=x;do{var de=I.lane,Pe=I.eventTime;if((p&de)===de){he!==null&&(he=he.next={eventTime:Pe,lane:0,tag:I.tag,payload:I.payload,callback:I.callback,next:null});e:{var De=s,Ne=I;switch(de=a,Pe=c,Ne.tag){case 1:if(De=Ne.payload,typeof De=="function"){ge=De.call(Pe,ge,de);break e}ge=De;break e;case 3:De.flags=De.flags&-65537|128;case 0:if(De=Ne.payload,de=typeof De=="function"?De.call(Pe,ge,de):De,de==null)break e;ge=D({},ge,de);break e;case 2:Qa=!0}}I.callback!==null&&I.lane!==0&&(s.flags|=64,de=v.effects,de===null?v.effects=[I]:de.push(I))}else Pe={eventTime:Pe,lane:de,tag:I.tag,payload:I.payload,callback:I.callback,next:null},he===null?(te=he=Pe,U=ge):he=he.next=Pe,E|=de;if(I=I.next,I===null){if(I=v.shared.pending,I===null)break;de=I,I=de.next,de.next=null,v.lastBaseUpdate=de,v.shared.pending=null}}while(!0);if(he===null&&(U=ge),v.baseState=U,v.firstBaseUpdate=te,v.lastBaseUpdate=he,a=v.shared.interleaved,a!==null){v=a;do E|=v.lane,v=v.next;while(v!==a)}else x===null&&(v.shared.lanes=0);tu|=E,s.lanes=E,s.memoizedState=ge}}function ex(s,a,c){if(s=a.effects,a.effects=null,s!==null)for(a=0;a<s.length;a++){var p=s[a],v=p.callback;if(v!==null){if(p.callback=null,p=c,typeof v!="function")throw Error(n(191,v));v.call(p)}}}var of={},Yo=Xa(of),af=Xa(of),lf=Xa(of);function Jl(s){if(s===of)throw Error(n(174));return s}function Hm(s,a){switch(hn(lf,a),hn(af,s),hn(Yo,of),s=a.nodeType,s){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:gt(null,"");break;default:s=s===8?a.parentNode:a,a=s.namespaceURI||null,s=s.tagName,a=gt(a,s)}bn(Yo),hn(Yo,a)}function Xu(){bn(Yo),bn(af),bn(lf)}function tx(s){Jl(lf.current);var a=Jl(Yo.current),c=gt(a,s.type);a!==c&&(hn(af,s),hn(Yo,c))}function Ym(s){af.current===s&&(bn(Yo),bn(af))}var Un=Xa(0);function th(s){for(var a=s;a!==null;){if(a.tag===13){var c=a.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===s)break;for(;a.sibling===null;){if(a.return===null||a.return===s)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var Km=[];function Xm(){for(var s=0;s<Km.length;s++)Km[s]._workInProgressVersionPrimary=null;Km.length=0}var nh=P.ReactCurrentDispatcher,Gm=P.ReactCurrentBatchConfig,eu=0,Wn=null,Ir=null,Kr=null,rh=!1,uf=!1,cf=0,TR=0;function yi(){throw Error(n(321))}function qm(s,a){if(a===null)return!1;for(var c=0;c<a.length&&c<s.length;c++)if(!Pr(s[c],a[c]))return!1;return!0}function Qm(s,a,c,p,v,x){if(eu=x,Wn=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,nh.current=s===null||s.memoizedState===null?PR:kR,s=c(p,v),uf){x=0;
vendor: 4,656 bytes, line 6
6do{if(uf=!1,cf=0,25<=x)throw Error(n(301));x+=1,Kr=Ir=null,a.updateQueue=null,nh.current=RR,s=c(p,v)}while(uf)}if(nh.current=oh,a=Ir!==null&&Ir.next!==null,eu=0,Kr=Ir=Wn=null,rh=!1,a)throw Error(n(300));return s}function Zm(){var s=cf!==0;return cf=0,s}function Ko(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Kr===null?Wn.memoizedState=Kr=s:Kr=Kr.next=s,Kr}function eo(){if(Ir===null){var s=Wn.alternate;s=s!==null?s.memoizedState:null}else s=Ir.next;var a=Kr===null?Wn.memoizedState:Kr.next;if(a!==null)Kr=a,Ir=s;else{if(s===null)throw Error(n(310));Ir=s,s={memoizedState:Ir.memoizedState,baseState:Ir.baseState,baseQueue:Ir.baseQueue,queue:Ir.queue,next:null},Kr===null?Wn.memoizedState=Kr=s:Kr=Kr.next=s}return Kr}function ff(s,a){return typeof a=="function"?a(s):a}function Jm(s){var a=eo(),c=a.queue;if(c===null)throw Error(n(311));c.lastRenderedReducer=s;var p=Ir,v=p.baseQueue,x=c.pending;if(x!==null){if(v!==null){var E=v.next;v.next=x.next,x.next=E}p.baseQueue=v=x,c.pending=null}if(v!==null){x=v.next,p=p.baseState;var I=E=null,U=null,te=x;do{var he=te.lane;if((eu&he)===he)U!==null&&(U=U.next={lane:0,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null}),p=te.hasEagerState?te.eagerState:s(p,te.action);else{var ge={lane:he,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null};U===null?(I=U=ge,E=p):U=U.next=ge,Wn.lanes|=he,tu|=he}te=te.next}while(te!==null&&te!==x);U===null?E=p:U.next=I,Pr(p,a.memoizedState)||(is=!0),a.memoizedState=p,a.baseState=E,a.baseQueue=U,c.lastRenderedState=p}if(s=c.interleaved,s!==null){v=s;do x=v.lane,Wn.lanes|=x,tu|=x,v=v.next;while(v!==s)}else v===null&&(c.lanes=0);return[a.memoizedState,c.dispatch]}function eg(s){var a=eo(),c=a.queue;if(c===null)throw Error(n(311));c.lastRenderedReducer=s;var p=c.dispatch,v=c.pending,x=a.memoizedState;if(v!==null){c.pending=null;var E=v=v.next;do x=s(x,E.action),E=E.next;while(E!==v);Pr(x,a.memoizedState)||(is=!0),a.memoizedState=x,a.baseQueue===null&&(a.baseState=x),c.lastRenderedState=x}return[x,p]}function nx(){}function rx(s,a){var c=Wn,p=eo(),v=a(),x=!Pr(p.memoizedState,v);if(x&&(p.memoizedState=v,is=!0),p=p.queue,tg(ox.bind(null,c,p,s),[s]),p.getSnapshot!==a||x||Kr!==null&&Kr.memoizedState.tag&1){if(c.flags|=2048,df(9,sx.bind(null,c,p,v,a),void 0,null),Xr===null)throw Error(n(349));(eu&30)!==0||ix(c,a,v)}return v}function ix(s,a,c){s.flags|=16384,s={getSnapshot:a,value:c},a=Wn.updateQueue,a===null?(a={lastEffect:null,stores:null},Wn.updateQueue=a,a.stores=[s]):(c=a.stores,c===null?a.stores=[s]:c.push(s))}function sx(s,a,c,p){a.value=c,a.getSnapshot=p,ax(a)&&lx(s)}function ox(s,a,c){return c(function(){ax(a)&&lx(s)})}function ax(s){var a=s.getSnapshot;s=s.value;try{var c=a();return!Pr(s,c)}catch{return!0}}function lx(s){var a=xa(s,1);a!==null&&ko(a,s,1,-1)}function ux(s){var a=Ko();return typeof s=="function"&&(s=s()),a.memoizedState=a.baseState=s,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ff,lastRenderedState:s},a.queue=s,s=s.dispatch=ER.bind(null,Wn,s),[a.memoizedState,s]}function df(s,a,c,p){return s={tag:s,create:a,destroy:c,deps:p,next:null},a=Wn.updateQueue,a===null?(a={lastEffect:null,stores:null},Wn.updateQueue=a,a.lastEffect=s.next=s):(c=a.lastEffect,c===null?a.lastEffect=s.next=s:(p=c.next,c.next=s,s.next=p,a.lastEffect=s)),s}function cx(){return eo().memoizedState}function ih(s,a,c,p){var v=Ko();Wn.flags|=s,v.memoizedState=df(1|a,c,void 0,p===void 0?null:p)}function sh(s,a,c,p){var v=eo();p=p===void 0?null:p;var x=void 0;if(Ir!==null){var E=Ir.memoizedState;if(x=E.destroy,p!==null&&qm(p,E.deps)){v.memoizedState=df(a,c,x,p);return}}Wn.flags|=s,v.memoizedState=df(1|a,c,x,p)}function fx(s,a){return ih(8390656,8,s,a)}function tg(s,a){return sh(2048,8,s,a)}function dx(s,a){return sh(4,2,s,a)}function hx(s,a){return sh(4,4,s,a)}function px(s,a){if(typeof a=="function")return s=s(),a(s),function(){a(null)};if(a!=null)return s=s(),a.current=s,function(){a.current=null}}function mx(s,a,c){return c=c!=null?c.concat([s]):null,sh(4,4,px.bind(null,a,s),c)}function ng(){}function gx(s,a){var c=eo();a=a===void 0?null:a;var p=c.memoizedState;return p!==null&&a!==null&&qm(a,p[1])?p[0]:(c.memoizedState=[s,a],s)}function yx(s,a){var c=eo();a=a===void 0?null:a;var p=c.memoizedState;return p!==null&&a!==null&&qm(a,p[1])?p[0]:(s=s(),c.memoizedState=[s,a],s)}function vx(s,a,c){return(eu&21)===0?(s.baseState&&(s.baseState=!1,is=!0),s.memoizedState=c):(Pr(c,a)||(c=Dd(),Wn.lanes|=c,tu|=c,s.baseState=!0),a)}function CR(s,a){var c=it;it=c!==0&&4>c?c:4,s(!0);var p=Gm.transition;Gm.transition={};
vendor: 7,318 bytes, lines 6-8
6try{s(!1),a()}finally{it=c,Gm.transition=p}}function wx(){return eo().memoizedState}function bR(s,a,c){var p=nl(s);if(c={lane:p,action:c,hasEagerState:!1,eagerState:null,next:null},xx(s))_x(a,c);else if(c=Qw(s,a,c,p),c!==null){var v=Ni();ko(c,s,p,v),Sx(c,a,p)}}function ER(s,a,c){var p=nl(s),v={lane:p,action:c,hasEagerState:!1,eagerState:null,next:null};if(xx(s))_x(a,v);else{var x=s.alternate;if(s.lanes===0&&(x===null||x.lanes===0)&&(x=a.lastRenderedReducer,x!==null))try{var E=a.lastRenderedState,I=x(E,c);if(v.hasEagerState=!0,v.eagerState=I,Pr(I,E)){var U=a.interleaved;U===null?(v.next=v,Um(a)):(v.next=U.next,U.next=v),a.interleaved=v;return}}catch{}c=Qw(s,a,v,p),c!==null&&(v=Ni(),ko(c,s,p,v),Sx(c,a,p))}}function xx(s){var a=s.alternate;return s===Wn||a!==null&&a===Wn}function _x(s,a){uf=rh=!0;var c=s.pending;c===null?a.next=a:(a.next=c.next,c.next=a),s.pending=a}function Sx(s,a,c){if((c&4194240)!==0){var p=a.lanes;p&=s.pendingLanes,c|=p,a.lanes=c,Qn(s,c)}}var oh={readContext:Js,useCallback:yi,useContext:yi,useEffect:yi,useImperativeHandle:yi,useInsertionEffect:yi,useLayoutEffect:yi,useMemo:yi,useReducer:yi,useRef:yi,useState:yi,useDebugValue:yi,useDeferredValue:yi,useTransition:yi,useMutableSource:yi,useSyncExternalStore:yi,useId:yi,unstable_isNewReconciler:!1},PR={readContext:Js,useCallback:function(s,a){return Ko().memoizedState=[s,a===void 0?null:a],s},useContext:Js,useEffect:fx,useImperativeHandle:function(s,a,c){return c=c!=null?c.concat([s]):null,ih(4194308,4,px.bind(null,a,s),c)},useLayoutEffect:function(s,a){return ih(4194308,4,s,a)},useInsertionEffect:function(s,a){return ih(4,2,s,a)},useMemo:function(s,a){var c=Ko();return a=a===void 0?null:a,s=s(),c.memoizedState=[s,a],s},useReducer:function(s,a,c){var p=Ko();return a=c!==void 0?c(a):a,p.memoizedState=p.baseState=a,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:a},p.queue=s,s=s.dispatch=bR.bind(null,Wn,s),[p.memoizedState,s]},useRef:function(s){var a=Ko();return s={current:s},a.memoizedState=s},useState:ux,useDebugValue:ng,useDeferredValue:function(s){return Ko().memoizedState=s},useTransition:function(){var s=ux(!1),a=s[0];return s=CR.bind(null,s[1]),Ko().memoizedState=s,[a,s]},useMutableSource:function(){},useSyncExternalStore:function(s,a,c){var p=Wn,v=Ko();if(Ln){if(c===void 0)throw Error(n(407));c=c()}else{if(c=a(),Xr===null)throw Error(n(349));(eu&30)!==0||ix(p,a,c)}v.memoizedState=c;var x={value:c,getSnapshot:a};return v.queue=x,fx(ox.bind(null,p,x,s),[s]),p.flags|=2048,df(9,sx.bind(null,p,x,c,a),void 0,null),c},useId:function(){var s=Ko(),a=Xr.identifierPrefix;if(Ln){var c=wa,p=va;c=(p&~(1<<32-Nt(p)-1)).toString(32)+c,a=":"+a+"R"+c,c=cf++,0<c&&(a+="H"+c.toString(32)),a+=":"}else c=TR++,a=":"+a+"r"+c.toString(32)+":";return s.memoizedState=a},unstable_isNewReconciler:!1},kR={readContext:Js,useCallback:gx,useContext:Js,useEffect:tg,useImperativeHandle:mx,useInsertionEffect:dx,useLayoutEffect:hx,useMemo:yx,useReducer:Jm,useRef:cx,useState:function(){return Jm(ff)},useDebugValue:ng,useDeferredValue:function(s){var a=eo();return vx(a,Ir.memoizedState,s)},useTransition:function(){var s=Jm(ff)[0],a=eo().memoizedState;return[s,a]},useMutableSource:nx,useSyncExternalStore:rx,useId:wx,unstable_isNewReconciler:!1},RR={readContext:Js,useCallback:gx,useContext:Js,useEffect:tg,useImperativeHandle:mx,useInsertionEffect:dx,useLayoutEffect:hx,useMemo:yx,useReducer:eg,useRef:cx,useState:function(){return eg(ff)},useDebugValue:ng,useDeferredValue:function(s){var a=eo();return Ir===null?a.memoizedState=s:vx(a,Ir.memoizedState,s)},useTransition:function(){var s=eg(ff)[0],a=eo().memoizedState;return[s,a]},useMutableSource:nx,useSyncExternalStore:rx,useId:wx,unstable_isNewReconciler:!1};function bo(s,a){if(s&&s.defaultProps){a=D({},a),s=s.defaultProps;for(var c in s)a[c]===void 0&&(a[c]=s[c]);return a}return a}function rg(s,a,c,p){a=s.memoizedState,c=c(p,a),c=c==null?a:D({},a,c),s.memoizedState=c,s.lanes===0&&(s.updateQueue.baseState=c)}var ah={isMounted:function(s){return(s=s._reactInternals)?bt(s)===s:!1},enqueueSetState:function(s,a,c){s=s._reactInternals;var p=Ni(),v=nl(s),x=_a(p,v);x.payload=a,c!=null&&(x.callback=c),a=Za(s,x,v),a!==null&&(ko(a,s,v,p),Jd(a,s,v))},enqueueReplaceState:function(s,a,c){s=s._reactInternals;var p=Ni(),v=nl(s),x=_a(p,v);x.tag=1,x.payload=a,c!=null&&(x.callback=c),a=Za(s,x,v),a!==null&&(ko(a,s,v,p),Jd(a,s,v))},enqueueForceUpdate:function(s,a){s=s._reactInternals;var c=Ni(),p=nl(s),v=_a(c,p);v.tag=2,a!=null&&(v.callback=a),a=Za(s,v,p),a!==null&&(ko(a,s,p,c),Jd(a,s,p))}};function Tx(s,a,c,p,v,x,E){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(p,x,E):a.prototype&&a.prototype.isPureReactComponent?!hr(c,p)||!hr(v,x):!0}function Cx(s,a,c){var p=!1,v=Ga,x=a.contextType;return typeof x=="object"&&x!==null?x=Js(x):(v=rs(a)?Gl:gi.current,p=a.contextTypes,x=(p=p!=null)?$u(s,v):Ga),a=new a(c,x),s.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=ah,s.stateNode=a,a._reactInternals=s,p&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=v,s.__reactInternalMemoizedMaskedChildContext=x),a}function bx(s,a,c,p){s=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(c,p),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(c,p),a.state!==s&&ah.enqueueReplaceState(a,a.state,null)}function ig(s,a,c,p){var v=s.stateNode;v.props=c,v.state=s.memoizedState,v.refs={},Wm(s);var x=a.contextType;typeof x=="object"&&x!==null?v.context=Js(x):(x=rs(a)?Gl:gi.current,v.context=$u(s,x)),v.state=s.memoizedState,x=a.getDerivedStateFromProps,typeof x=="function"&&(rg(s,a,x,c),v.state=s.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(a=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),a!==v.state&&ah.enqueueReplaceState(v,v.state,null),eh(s,c,v,p),v.state=s.memoizedState),typeof v.componentDidMount=="function"&&(s.flags|=4194308)}function Gu(s,a){try{var c="",p=a;do c+=Ee(p),p=p.return;while(p);var v=c}catch(x){v=`
7Error generating stack: `+x.message+`
8`+x.stack}return{value:s,source:a,stack:v,digest:null}}function sg(s,a,c){return{value:s,source:null,stack:c??null,digest:a??null}}function og(s,a){try{console.error(a.value)}catch(c){setTimeout(function(){throw c})}}var OR=typeof WeakMap=="function"?WeakMap:Map;function Ex(s,a,c){c=_a(-1,c),c.tag=3,c.payload={element:null};var p=a.value;return c.callback=function(){ph||(ph=!0,_g=p),og(s,a)},c}function Px(s,a,c){c=_a(-1,c),c.tag=3;var p=s.type.getDerivedStateFromError;if(typeof p=="function"){var v=a.value;c.payload=function(){return p(v)},c.callback=function(){og(s,a)}}var x=s.stateNode;return x!==null&&typeof x.componentDidCatch=="function"&&(c.callback=function(){og(s,a),typeof p!="function"&&(el===null?el=new Set([this]):el.add(this));var E=a.stack;this.componentDidCatch(a.value,{componentStack:E!==null?E:""})}),c}function kx(s,a,c){var p=s.pingCache;if(p===null){p=s.pingCache=new OR;var v=new Set;p.set(a,v)}else v=p.get(a),v===void 0&&(v=new Set,p.set(a,v));
vendor: 7,183 bytes, line 8
8v.has(c)||(v.add(c),s=WR.bind(null,s,a,c),a.then(s,s))}function Rx(s){do{var a;if((a=s.tag===13)&&(a=s.memoizedState,a=a!==null?a.dehydrated!==null:!0),a)return s;s=s.return}while(s!==null);return null}function Ox(s,a,c,p,v){return(s.mode&1)===0?(s===a?s.flags|=65536:(s.flags|=128,c.flags|=131072,c.flags&=-52805,c.tag===1&&(c.alternate===null?c.tag=17:(a=_a(-1,1),a.tag=2,Za(c,a,1))),c.lanes|=1),s):(s.flags|=65536,s.lanes=v,s)}var AR=P.ReactCurrentOwner,is=!1;function Li(s,a,c,p){a.child=s===null?qw(a,null,c,p):Hu(a,s.child,c,p)}function Ax(s,a,c,p,v){c=c.render;var x=a.ref;return Ku(a,v),p=Qm(s,a,c,p,x,v),c=Zm(),s!==null&&!is?(a.updateQueue=s.updateQueue,a.flags&=-2053,s.lanes&=~v,Sa(s,a,v)):(Ln&&c&&Lm(a),a.flags|=1,Li(s,a,p,v),a.child)}function Mx(s,a,c,p,v){if(s===null){var x=c.type;return typeof x=="function"&&!kg(x)&&x.defaultProps===void 0&&c.compare===null&&c.defaultProps===void 0?(a.tag=15,a.type=x,Dx(s,a,x,p,v)):(s=xh(c.type,null,p,a,a.mode,v),s.ref=a.ref,s.return=a,a.child=s)}if(x=s.child,(s.lanes&v)===0){var E=x.memoizedProps;if(c=c.compare,c=c!==null?c:hr,c(E,p)&&s.ref===a.ref)return Sa(s,a,v)}return a.flags|=1,s=il(x,p),s.ref=a.ref,s.return=a,a.child=s}function Dx(s,a,c,p,v){if(s!==null){var x=s.memoizedProps;if(hr(x,p)&&s.ref===a.ref)if(is=!1,a.pendingProps=p=x,(s.lanes&v)!==0)(s.flags&131072)!==0&&(is=!0);else return a.lanes=s.lanes,Sa(s,a,v)}return ag(s,a,c,p,v)}function Lx(s,a,c){var p=a.pendingProps,v=p.children,x=s!==null?s.memoizedState:null;if(p.mode==="hidden")if((a.mode&1)===0)a.memoizedState={baseLanes:0,cachePool:null,transitions:null},hn(Qu,Es),Es|=c;else{if((c&1073741824)===0)return s=x!==null?x.baseLanes|c:c,a.lanes=a.childLanes=1073741824,a.memoizedState={baseLanes:s,cachePool:null,transitions:null},a.updateQueue=null,hn(Qu,Es),Es|=s,null;a.memoizedState={baseLanes:0,cachePool:null,transitions:null},p=x!==null?x.baseLanes:c,hn(Qu,Es),Es|=p}else x!==null?(p=x.baseLanes|c,a.memoizedState=null):p=c,hn(Qu,Es),Es|=p;return Li(s,a,v,c),a.child}function Nx(s,a){var c=a.ref;(s===null&&c!==null||s!==null&&s.ref!==c)&&(a.flags|=512,a.flags|=2097152)}function ag(s,a,c,p,v){var x=rs(c)?Gl:gi.current;return x=$u(a,x),Ku(a,v),c=Qm(s,a,c,p,x,v),p=Zm(),s!==null&&!is?(a.updateQueue=s.updateQueue,a.flags&=-2053,s.lanes&=~v,Sa(s,a,v)):(Ln&&p&&Lm(a),a.flags|=1,Li(s,a,c,v),a.child)}function Ix(s,a,c,p,v){if(rs(c)){var x=!0;Hd(a)}else x=!1;if(Ku(a,v),a.stateNode===null)uh(s,a),Cx(a,c,p),ig(a,c,p,v),p=!0;else if(s===null){var E=a.stateNode,I=a.memoizedProps;E.props=I;var U=E.context,te=c.contextType;typeof te=="object"&&te!==null?te=Js(te):(te=rs(c)?Gl:gi.current,te=$u(a,te));var he=c.getDerivedStateFromProps,ge=typeof he=="function"||typeof E.getSnapshotBeforeUpdate=="function";ge||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(I!==p||U!==te)&&bx(a,E,p,te),Qa=!1;var de=a.memoizedState;E.state=de,eh(a,p,E,v),U=a.memoizedState,I!==p||de!==U||ns.current||Qa?(typeof he=="function"&&(rg(a,c,he,p),U=a.memoizedState),(I=Qa||Tx(a,c,I,p,de,U,te))?(ge||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"&&(a.flags|=4194308)):(typeof E.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=p,a.memoizedState=U),E.props=p,E.state=U,E.context=te,p=I):(typeof E.componentDidMount=="function"&&(a.flags|=4194308),p=!1)}else{E=a.stateNode,Zw(s,a),I=a.memoizedProps,te=a.type===a.elementType?I:bo(a.type,I),E.props=te,ge=a.pendingProps,de=E.context,U=c.contextType,typeof U=="object"&&U!==null?U=Js(U):(U=rs(c)?Gl:gi.current,U=$u(a,U));var Pe=c.getDerivedStateFromProps;(he=typeof Pe=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(I!==ge||de!==U)&&bx(a,E,p,U),Qa=!1,de=a.memoizedState,E.state=de,eh(a,p,E,v);var De=a.memoizedState;I!==ge||de!==De||ns.current||Qa?(typeof Pe=="function"&&(rg(a,c,Pe,p),De=a.memoizedState),(te=Qa||Tx(a,c,te,p,de,De,U)||!1)?(he||typeof E.UNSAFE_componentWillUpdate!="function"&&typeof E.componentWillUpdate!="function"||(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(p,De,U),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(p,De,U)),typeof E.componentDidUpdate=="function"&&(a.flags|=4),typeof E.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof E.componentDidUpdate!="function"||I===s.memoizedProps&&de===s.memoizedState||(a.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||I===s.memoizedProps&&de===s.memoizedState||(a.flags|=1024),a.memoizedProps=p,a.memoizedState=De),E.props=p,E.state=De,E.context=U,p=te):(typeof E.componentDidUpdate!="function"||I===s.memoizedProps&&de===s.memoizedState||(a.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||I===s.memoizedProps&&de===s.memoizedState||(a.flags|=1024),p=!1)}return lg(s,a,c,p,x,v)}function lg(s,a,c,p,v,x){Nx(s,a);var E=(a.flags&128)!==0;if(!p&&!E)return v&&$w(a,c,!1),Sa(s,a,x);p=a.stateNode,AR.current=a;var I=E&&typeof c.getDerivedStateFromError!="function"?null:p.render();return a.flags|=1,s!==null&&E?(a.child=Hu(a,s.child,null,x),a.child=Hu(a,null,I,x)):Li(s,a,I,x),a.memoizedState=p.state,v&&$w(a,c,!0),a.child}function Fx(s){var a=s.stateNode;a.pendingContext?zw(s,a.pendingContext,a.pendingContext!==a.context):a.context&&zw(s,a.context,!1),Hm(s,a.containerInfo)}function Vx(s,a,c,p,v){return Wu(),Vm(v),a.flags|=256,Li(s,a,c,p),a.child}var ug={dehydrated:null,treeContext:null,retryLane:0};function cg(s){return{baseLanes:s,cachePool:null,transitions:null}}function zx(s,a,c){var p=a.pendingProps,v=Un.current,x=!1,E=(a.flags&128)!==0,I;if((I=E)||(I=s!==null&&s.memoizedState===null?!1:(v&2)!==0),I?(x=!0,a.flags&=-129):(s===null||s.memoizedState!==null)&&(v|=1),hn(Un,v&1),s===null)return Fm(a),s=a.memoizedState,s!==null&&(s=s.dehydrated,s!==null)?((a.mode&1)===0?a.lanes=1:s.data==="$!"?a.lanes=8:a.lanes=1073741824,null):(E=p.children,s=p.fallback,x?(p=a.mode,x=a.child,E={mode:"hidden",children:E},(p&1)===0&&x!==null?(x.childLanes=0,x.pendingProps=E):x=_h(E,p,0,null),s=su(s,p,c,null),x.return=a,s.return=a,x.sibling=s,a.child=x,a.child.memoizedState=cg(c),a.memoizedState=ug,s):fg(a,E));if(v=s.memoizedState,v!==null&&(I=v.dehydrated,I!==null))return MR(s,a,E,p,I,v,c);if(x){x=p.fallback,E=a.mode,v=s.child,I=v.sibling;var U={mode:"hidden",children:p.children};return(E&1)===0&&a.child!==v?(p=a.child,p.childLanes=0,p.pendingProps=U,a.deletions=null):(p=il(v,U),p.subtreeFlags=v.subtreeFlags&14680064),I!==null?x=il(I,x):(x=su(x,E,c,null),x.flags|=2),x.return=a,p.return=a,p.sibling=x,a.child=p,p=x,x=a.child,E=s.child.memoizedState,E=E===null?cg(c):{baseLanes:E.baseLanes|c,cachePool:null,transitions:E.transitions},x.memoizedState=E,x.childLanes=s.childLanes&~c,a.memoizedState=ug,p}return x=s.child,s=x.sibling,p=il(x,{mode:"visible",children:p.children}),(a.mode&1)===0&&(p.lanes=c),p.return=a,p.sibling=null,s!==null&&(c=a.deletions,c===null?(a.deleti
vendor: 5,619 bytes, line 8
8ons=[s],a.flags|=16):c.push(s)),a.child=p,a.memoizedState=null,p}function fg(s,a){return a=_h({mode:"visible",children:a},s.mode,0,null),a.return=s,s.child=a}function lh(s,a,c,p){return p!==null&&Vm(p),Hu(a,s.child,null,c),s=fg(a,a.pendingProps.children),s.flags|=2,a.memoizedState=null,s}function MR(s,a,c,p,v,x,E){if(c)return a.flags&256?(a.flags&=-257,p=sg(Error(n(422))),lh(s,a,E,p)):a.memoizedState!==null?(a.child=s.child,a.flags|=128,null):(x=p.fallback,v=a.mode,p=_h({mode:"visible",children:p.children},v,0,null),x=su(x,v,E,null),x.flags|=2,p.return=a,x.return=a,p.sibling=x,a.child=p,(a.mode&1)!==0&&Hu(a,s.child,null,E),a.child.memoizedState=cg(E),a.memoizedState=ug,x);if((a.mode&1)===0)return lh(s,a,E,null);if(v.data==="$!"){if(p=v.nextSibling&&v.nextSibling.dataset,p)var I=p.dgst;return p=I,x=Error(n(419)),p=sg(x,p,void 0),lh(s,a,E,p)}if(I=(E&s.childLanes)!==0,is||I){if(p=Xr,p!==null){switch(E&-E){case 4:v=2;break;case 16:v=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:v=32;break;case 536870912:v=268435456;break;default:v=0}v=(v&(p.suspendedLanes|E))!==0?0:v,v!==0&&v!==x.retryLane&&(x.retryLane=v,xa(s,v),ko(p,s,v,-1))}return Pg(),p=sg(Error(n(421))),lh(s,a,E,p)}return v.data==="$?"?(a.flags|=128,a.child=s.child,a=HR.bind(null,s),v._reactRetry=a,null):(s=x.treeContext,bs=Tn(v.nextSibling),Cs=a,Ln=!0,Co=null,s!==null&&(Qs[Zs++]=va,Qs[Zs++]=wa,Qs[Zs++]=ql,va=s.id,wa=s.overflow,ql=a),a=fg(a,p.children),a.flags|=4096,a)}function jx(s,a,c){s.lanes|=a;var p=s.alternate;p!==null&&(p.lanes|=a),Bm(s.return,a,c)}function dg(s,a,c,p,v){var x=s.memoizedState;x===null?s.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:p,tail:c,tailMode:v}:(x.isBackwards=a,x.rendering=null,x.renderingStartTime=0,x.last=p,x.tail=c,x.tailMode=v)}function $x(s,a,c){var p=a.pendingProps,v=p.revealOrder,x=p.tail;if(Li(s,a,p.children,c),p=Un.current,(p&2)!==0)p=p&1|2,a.flags|=128;else{if(s!==null&&(s.flags&128)!==0)e:for(s=a.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&jx(s,c,a);else if(s.tag===19)jx(s,c,a);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===a)break e;for(;s.sibling===null;){if(s.return===null||s.return===a)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}p&=1}if(hn(Un,p),(a.mode&1)===0)a.memoizedState=null;else switch(v){case"forwards":for(c=a.child,v=null;c!==null;)s=c.alternate,s!==null&&th(s)===null&&(v=c),c=c.sibling;c=v,c===null?(v=a.child,a.child=null):(v=c.sibling,c.sibling=null),dg(a,!1,v,c,x);break;case"backwards":for(c=null,v=a.child,a.child=null;v!==null;){if(s=v.alternate,s!==null&&th(s)===null){a.child=v;break}s=v.sibling,v.sibling=c,c=v,v=s}dg(a,!0,c,null,x);break;case"together":dg(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function uh(s,a){(a.mode&1)===0&&s!==null&&(s.alternate=null,a.alternate=null,a.flags|=2)}function Sa(s,a,c){if(s!==null&&(a.dependencies=s.dependencies),tu|=a.lanes,(c&a.childLanes)===0)return null;if(s!==null&&a.child!==s.child)throw Error(n(153));if(a.child!==null){for(s=a.child,c=il(s,s.pendingProps),a.child=c,c.return=a;s.sibling!==null;)s=s.sibling,c=c.sibling=il(s,s.pendingProps),c.return=a;c.sibling=null}return a.child}function DR(s,a,c){switch(a.tag){case 3:Fx(a),Wu();break;case 5:tx(a);break;case 1:rs(a.type)&&Hd(a);break;case 4:Hm(a,a.stateNode.containerInfo);break;case 10:var p=a.type._context,v=a.memoizedProps.value;hn(Qd,p._currentValue),p._currentValue=v;break;case 13:if(p=a.memoizedState,p!==null)return p.dehydrated!==null?(hn(Un,Un.current&1),a.flags|=128,null):(c&a.child.childLanes)!==0?zx(s,a,c):(hn(Un,Un.current&1),s=Sa(s,a,c),s!==null?s.sibling:null);hn(Un,Un.current&1);break;case 19:if(p=(c&a.childLanes)!==0,(s.flags&128)!==0){if(p)return $x(s,a,c);a.flags|=128}if(v=a.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),hn(Un,Un.current),p)break;return null;case 22:case 23:return a.lanes=0,Lx(s,a,c)}return Sa(s,a,c)}var Bx,hg,Ux,Wx;Bx=function(s,a){for(var c=a.child;c!==null;){if(c.tag===5||c.tag===6)s.appendChild(c.stateNode);else if(c.tag!==4&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===a)break;for(;c.sibling===null;){if(c.return===null||c.return===a)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},hg=function(){},Ux=function(s,a,c,p){var v=s.memoizedProps;if(v!==p){s=a.stateNode,Jl(Yo.current);var x=null;switch(c){case"input":v=je(s,v),p=je(s,p),x=[];break;case"select":v=D({},v,{value:void 0}),p=D({},p,{value:void 0}),x=[];break;case"textarea":v=sr(s,v),p=sr(s,p),x=[];break;default:typeof v.onClick!="function"&&typeof p.onClick=="function"&&(s.onclick=pr)}lr(c,p);var E;c=null;for(te in v)if(!p.hasOwnProperty(te)&&v.hasOwnProperty(te)&&v[te]!=null)if(te==="style"){var I=v[te];for(E in I)I.hasOwnProperty(E)&&(c||(c={}),c[E]="")}else te!=="dangerouslySetInnerHTML"&&te!=="children"&&te!=="suppressContentEditableWarning"&&te!=="suppressHydrationWarning"&&te!=="autoFocus"&&(i.hasOwnProperty(te)?x||(x=[]):(x=x||[]).push(te,null));for(te in p){var U=p[te];if(I=v?.[te],p.hasOwnProperty(te)&&U!==I&&(U!=null||I!=null))if(te==="style")if(I){for(E in I)!I.hasOwnProperty(E)||U&&U.hasOwnProperty(E)||(c||(c={}),c[E]="");for(E in U)U.hasOwnProperty(E)&&I[E]!==U[E]&&(c||(c={}),c[E]=U[E])}else c||(x||(x=[]),x.push(te,c)),c=U;else te==="dangerouslySetInnerHTML"?(U=U?U.__html:void 0,I=I?I.__html:void 0,U!=null&&I!==U&&(x=x||[]).push(te,U)):te==="children"?typeof U!="str
8ing"&&typeof U!="number"||(x=x||[]).push(te,""+U):te!=="suppressContentEditableWarning"&&te!=="suppressHydrationWarning"&&(i.hasOwnProperty(te)?(U!=null&&te==="onScroll"&&Dt("scroll",s),x||I===U||(x=[])):(x=x||[]).push(te,U))}c&&(x=x||[]).push("style",c);var te=x;(a.updateQueue=te)&&(a.flags|=4)}},Wx=function(s,a,c,p){c!==p&&(a.flags|=4)};function hf(s,a){if(!Ln)switch(s.tailMode){case"hidden":a=s.tail;for(var c=null;a!==null;)a.alternate!==null&&(c=a),a=a.sibling;c===null?s.tail=null:c.sibling=null;break;case"collapsed":c=s.tail;for(var p=null;c!==null;)c.alternate!==null&&(p=c),c=c.sibling;p===null?a||s.tail===null?s.tail=null:s.tail.sibling=null:p.sibling=null}}function vi(s){var a=s.alternate!==null&&s.alternate.child===s.child,c=0,p=0;if(a)for(var v=s.child;v!==null;)c|=v.lanes|v.childLanes,p|=v.subtreeFlags&14680064,p|=v.flags&14680064,v.return=s,v=v.sibling;else for(v=s.child;v!==null;)c|=v.lanes|v.childLanes,p|=v.subtreeFlags,p|=v.flags,v.return=s,v=v.sibling;return s.subtreeFlags|=p,s.childLanes=c,a}function LR(s,a,c){var p=a.pendingProps;switch(Nm(a),a.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vi(a),null;case 1:return rs(a.type)&&Wd(),vi(a),null;case 3:return p=a.stateNode,Xu(),bn(ns),bn(gi),Xm(),p.pendingContext&&(p.context=p.pendingContext,p.pendingContext=null),(s===null||s.child===null)&&(Gd(a)?a.flags|=4:s===null||s.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Co!==null&&(Cg(Co),Co=null))),hg(s,a),vi(a),null;case 5:Ym(a);var v=Jl(lf.current);if(c=a.type,s!==null&&a.stateNode!=null)Ux(s,a,c,p,v),s.ref!==a.ref&&(a.flags|=512,a.flags|=2097152);else{if(!p){if(a.stateNode===null)throw Error(n(166));return vi(a),null}if(s=Jl(Yo.current),Gd(a)){p=a.stateNode,c=a.type;var x=a.memoizedProps;switch(p[nn]=a,p[Cn]=x,s=(a.mode&1)!==0,c){case"dialog":Dt("cancel",p),Dt("close",p);break;case"iframe":case"object":case"embed":Dt("load",p);break;case"video":case"audio":for(v=0;v<_s.length;v++)Dt(_s[v],p);break;case"source":Dt("error",p);break;case"img":case"image":case"link":Dt("error",p),Dt("load",p);break;case"details":Dt("toggle",p);break;case"input":Fn(p,x),Dt("invalid",p);break;case"select":p._wrapperState={wasMultiple:!!x.multiple},Dt("invalid",p);break;case"textarea":Vn(p,x),Dt("invalid",p)}lr(c,x),v=null;for(var E in x)if(x.hasOwnProperty(E)){var I=x[E];E==="children"?typeof I=="string"?p.textContent!==I&&(x.suppressHydrationWarning!==!0&&fn(p.textContent,I,s),v=["children",I]):typeof I=="number"&&p.textContent!==""+I&&(x.suppressHydrationWarning!==!0&&fn(p.textContent,I,s),v=["children",""+I]):i.hasOwnProperty(E)&&I!=null&&E==="onScroll"&&Dt("scroll",p)}switch(c){case"input":ke(p),on(p,x,!0);break;case"textarea":ke(p),an(p);break;case"select":case"option":break;default:typeof x.onClick=="function"&&(p.onclick=pr)}p=v,a.updateQueue=p,p!==null&&(a.flags|=4)}else{E=v.nodeType===9?v:v.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=Jt(c)),s==="http://www.w3.org/1999/xhtml"?c==="script"?(s=E.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild)):typeof p.is=="string"?s=E.createElement(c,{is:p.is}):(s=E.createElement(c),c==="select"&&(E=s,p.multiple?E.multiple=!0:p.size&&(E.size=p.size))):s=E.createElementNS(s,c),s[nn]=a,s[Cn]=p,Bx(s,a,!1,!1),a.stateNode=s;e:{switch(E=$r(c,p),c){case"dialog":Dt("cancel",s),Dt("close",s),v=p;break;case"iframe":case"object":case"embed":Dt("load",s),v=p;break;case"video":case"audio":for(v=0;v<_s.length;v++)Dt(_s[v],s);v=p;break;case"source":Dt("error",s),v=p;break;case"img":case"image":case"link":Dt("error",s),Dt("load",s),v=p;break;case"details":Dt("toggle",s),v=p;break;case"input":Fn(s,p),v=je(s,p),Dt("invalid",s);break;case"option":v=p;break;case"select":s._wrapperState={wasMultiple:!!p.multiple},v=D({},p,{value:void 0}),Dt("invalid",s);break;case"textarea":Vn(s,p),v=sr(s,p),Dt("invalid",s);break;default:v=p}lr(c,v),I=v;for(x in I)if(I.hasOwnProperty(x)){var U=I[x];x==="style"?qn(s,U):x==="dangerouslySetInnerHTML"?(U=U?U.__html:void 0,U!=null&&ar(s,U)):x==="children"?typeof U=="string"?(c!=="textarea"||U!=="")&&zn(s,U):typeof U=="number"&&zn(s,""+U):x!=="suppressContentEditableWarning"&&x!=="suppressHydrationWarning"&&x!=="autoFocus"&&(i.hasOwnProperty(x)?U!=null&&x==="onScroll"&&Dt("scroll",s):U!=null&&R(s,x,U,E))}switch(c){case"input":ke(s),on(s,p,!1);break;case"textarea":ke(s),an(s);break;case"option":p.value!=null&&s.setAttribute("value",""+Te(p.value));break;case"select":s.multiple=!!p.multiple,x=p.value,x!=null?Ge(s,!!p.multiple,x,!1):p.defaultValue!=null&&Ge(s,!!p.multiple,p.defaultValue,!0);break;default:typeof v.onClick=="function"&&(s.onclick=pr)}switch(c){case"button":case"input":case"select":case"textarea":p=!!p.autoFocus;break e;case"img":p=!0;break e;default:p=!1}}p&&(a.flags|=4)}a.ref!==null&&(a.flags|=512,a.flags|=2097152)}
vendor: 5,378 bytes, line 8
8return vi(a),null;case 6:if(s&&a.stateNode!=null)Wx(s,a,s.memoizedProps,p);else{if(typeof p!="string"&&a.stateNode===null)throw Error(n(166));if(c=Jl(lf.current),Jl(Yo.current),Gd(a)){if(p=a.stateNode,c=a.memoizedProps,p[nn]=a,(x=p.nodeValue!==c)&&(s=Cs,s!==null))switch(s.tag){case 3:fn(p.nodeValue,c,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&fn(p.nodeValue,c,(s.mode&1)!==0)}x&&(a.flags|=4)}else p=(c.nodeType===9?c:c.ownerDocument).createTextNode(p),p[nn]=a,a.stateNode=p}return vi(a),null;case 13:if(bn(Un),p=a.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(Ln&&bs!==null&&(a.mode&1)!==0&&(a.flags&128)===0)Kw(),Wu(),a.flags|=98560,x=!1;else if(x=Gd(a),p!==null&&p.dehydrated!==null){if(s===null){if(!x)throw Error(n(318));if(x=a.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(n(317));x[nn]=a}else Wu(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;vi(a),x=!1}else Co!==null&&(Cg(Co),Co=null),x=!0;if(!x)return a.flags&65536?a:null}return(a.flags&128)!==0?(a.lanes=c,a):(p=p!==null,p!==(s!==null&&s.memoizedState!==null)&&p&&(a.child.flags|=8192,(a.mode&1)!==0&&(s===null||(Un.current&1)!==0?Fr===0&&(Fr=3):Pg())),a.updateQueue!==null&&(a.flags|=4),vi(a),null);case 4:return Xu(),hg(s,a),s===null&&xo(a.stateNode.containerInfo),vi(a),null;case 10:return $m(a.type._context),vi(a),null;case 17:return rs(a.type)&&Wd(),vi(a),null;case 19:if(bn(Un),x=a.memoizedState,x===null)return vi(a),null;if(p=(a.flags&128)!==0,E=x.rendering,E===null)if(p)hf(x,!1);else{if(Fr!==0||s!==null&&(s.flags&128)!==0)for(s=a.child;s!==null;){if(E=th(s),E!==null){for(a.flags|=128,hf(x,!1),p=E.updateQueue,p!==null&&(a.updateQueue=p,a.flags|=4),a.subtreeFlags=0,p=c,c=a.child;c!==null;)x=c,s=p,x.flags&=14680066,E=x.alternate,E===null?(x.childLanes=0,x.lanes=s,x.child=null,x.subtreeFlags=0,x.memoizedProps=null,x.memoizedState=null,x.updateQueue=null,x.dependencies=null,x.stateNode=null):(x.childLanes=E.childLanes,x.lanes=E.lanes,x.child=E.child,x.subtreeFlags=0,x.deletions=null,x.memoizedProps=E.memoizedProps,x.memoizedState=E.memoizedState,x.updateQueue=E.updateQueue,x.type=E.type,s=E.dependencies,x.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),c=c.sibling;return hn(Un,Un.current&1|2),a.child}s=s.sibling}x.tail!==null&&ht()>Zu&&(a.flags|=128,p=!0,hf(x,!1),a.lanes=4194304)}else{if(!p)if(s=th(E),s!==null){if(a.flags|=128,p=!0,c=s.updateQueue,c!==null&&(a.updateQueue=c,a.flags|=4),hf(x,!0),x.tail===null&&x.tailMode==="hidden"&&!E.alternate&&!Ln)return vi(a),null}else 2*ht()-x.renderingStartTime>Zu&&c!==1073741824&&(a.flags|=128,p=!0,hf(x,!1),a.lanes=4194304);x.isBackwards?(E.sibling=a.child,a.child=E):(c=x.last,c!==null?c.sibling=E:a.child=E,x.last=E)}return x.tail!==null?(a=x.tail,x.rendering=a,x.tail=a.sibling,x.renderingStartTime=ht(),a.sibling=null,c=Un.current,hn(Un,p?c&1|2:c&1),a):(vi(a),null);case 22:case 23:return Eg(),p=a.memoizedState!==null,s!==null&&s.memoizedState!==null!==p&&(a.flags|=8192),p&&(a.mode&1)!==0?(Es&1073741824)!==0&&(vi(a),a.subtreeFlags&6&&(a.flags|=8192)):vi(a),null;case 24:return null;case 25:return null}throw Error(n(156,a.tag))}function NR(s,a){switch(Nm(a),a.tag){case 1:return rs(a.type)&&Wd(),s=a.flags,s&65536?(a.flags=s&-65537|128,a):null;case 3:return Xu(),bn(ns),bn(gi),Xm(),s=a.flags,(s&65536)!==0&&(s&128)===0?(a.flags=s&-65537|128,a):null;case 5:return Ym(a),null;case 13:if(bn(Un),s=a.memoizedState,s!==null&&s.dehydrated!==null){if(a.alternate===null)throw Error(n(340));Wu()}return s=a.flags,s&65536?(a.flags=s&-65537|128,a):null;case 19:return bn(Un),null;case 4:return Xu(),null;case 10:return $m(a.type._context),null;case 22:case 23:return Eg(),null;case 24:return null;default:return null}}var ch=!1,wi=!1,IR=typeof WeakSet=="function"?WeakSet:Set,Oe=null;function qu(s,a){var c=s.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(p){tr(s,a,p)}else c.current=null}function pg(s,a,c){try{c()}catch(p){tr(s,a,p)}}var Hx=!1;function FR(s,a){if(dn=Bl,s=ni(),ri(s)){if("selectionStart"in s)var c={start:s.selectionStart,end:s.selectionEnd};else e:{c=(c=s.ownerDocument)&&c.defaultView||window;var p=c.getSelection&&c.getSelection();if(p&&p.rangeCount!==0){c=p.anchorNode;var v=p.anchorOffset,x=p.focusNode;p=p.focusOffset;try{c.nodeType,x.nodeType}catch{c=null;break e}var E=0,I=-1,U=-1,te=0,he=0,ge=s,de=null;t:for(;;){for(var Pe;ge!==c||v!==0&&ge.nodeType!==3||(I=E+v),ge!==x||p!==0&&ge.nodeType!==3||(U=E+p),ge.nodeType===3&&(E+=ge.nodeValue.length),(Pe=ge.firstChild)!==null;)de=ge,ge=Pe;for(;;){if(ge===s)break t;if(de===c&&++te===v&&(I=E),de===x&&++he===p&&(U=E),(Pe=ge.nextSibling)!==null)break;ge=de,de=ge.parentNode}ge=Pe}c=I===-1||U===-1?null:{start:I,end:U}}else c=null}c=c||{start:0,end:0}}else c=null;for(Zt={focusedElem:s,selectionRange:c},Bl=!1,Oe=a;Oe!==null;)if(a=Oe,s=a.child,(a.subtreeFlags&1028)!==0&&s!==null)s.return=a,Oe=s;else for(;Oe!==null;){a=Oe;try{var De=a.alternate;if((a.flags&1024)!==0)switch(a.tag){case 0:case 11:case 15:break;case 1:if(De!==null){var Ne=De.memoizedProps,gr=De.memoizedState,q=a.stateNode,H=q.getSnapshotBeforeUpdate(a.elementType===a.type?Ne:bo(a.type,Ne),gr);q.__reactInternalSnapshotBeforeUpdate=H}break;case 3:var Z=a.stateNode.containerInfo;Z.nodeType===1?Z.textContent="":Z.nodeType===9&&Z.documentElement&&Z.removeChild(Z.documentElement);break;
vendor: 10,830 bytes, line 8
8case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(we){tr(a,a.return,we)}if(s=a.sibling,s!==null){s.return=a.return,Oe=s;break}Oe=a.return}return De=Hx,Hx=!1,De}function pf(s,a,c){var p=a.updateQueue;if(p=p!==null?p.lastEffect:null,p!==null){var v=p=p.next;do{if((v.tag&s)===s){var x=v.destroy;v.destroy=void 0,x!==void 0&&pg(a,c,x)}v=v.next}while(v!==p)}}function fh(s,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var c=a=a.next;do{if((c.tag&s)===s){var p=c.create;c.destroy=p()}c=c.next}while(c!==a)}}function mg(s){var a=s.ref;if(a!==null){var c=s.stateNode;s.tag,s=c,typeof a=="function"?a(s):a.current=s}}function Yx(s){var a=s.alternate;a!==null&&(s.alternate=null,Yx(a)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(a=s.stateNode,a!==null&&(delete a[nn],delete a[Cn],delete a[Kl],delete a[Ud],delete a[Xl])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function Kx(s){return s.tag===5||s.tag===3||s.tag===4}function Xx(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||Kx(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function gg(s,a,c){var p=s.tag;if(p===5||p===6)s=s.stateNode,a?c.nodeType===8?c.parentNode.insertBefore(s,a):c.insertBefore(s,a):(c.nodeType===8?(a=c.parentNode,a.insertBefore(s,c)):(a=c,a.appendChild(s)),c=c._reactRootContainer,c!=null||a.onclick!==null||(a.onclick=pr));else if(p!==4&&(s=s.child,s!==null))for(gg(s,a,c),s=s.sibling;s!==null;)gg(s,a,c),s=s.sibling}function yg(s,a,c){var p=s.tag;if(p===5||p===6)s=s.stateNode,a?c.insertBefore(s,a):c.appendChild(s);else if(p!==4&&(s=s.child,s!==null))for(yg(s,a,c),s=s.sibling;s!==null;)yg(s,a,c),s=s.sibling}var ii=null,Eo=!1;function Ja(s,a,c){for(c=c.child;c!==null;)Gx(s,a,c),c=c.sibling}function Gx(s,a,c){if(cr&&typeof cr.onCommitFiberUnmount=="function")try{cr.onCommitFiberUnmount(ui,c)}catch{}switch(c.tag){case 5:wi||qu(c,a);case 6:var p=ii,v=Eo;ii=null,Ja(s,a,c),ii=p,Eo=v,ii!==null&&(Eo?(s=ii,c=c.stateNode,s.nodeType===8?s.parentNode.removeChild(c):s.removeChild(c)):ii.removeChild(c.stateNode));break;case 18:ii!==null&&(Eo?(s=ii,c=c.stateNode,s.nodeType===8?mr(s.parentNode,c):s.nodeType===1&&mr(s,c),fr(s)):mr(ii,c.stateNode));break;case 4:p=ii,v=Eo,ii=c.stateNode.containerInfo,Eo=!0,Ja(s,a,c),ii=p,Eo=v;break;case 0:case 11:case 14:case 15:if(!wi&&(p=c.updateQueue,p!==null&&(p=p.lastEffect,p!==null))){v=p=p.next;do{var x=v,E=x.destroy;x=x.tag,E!==void 0&&((x&2)!==0||(x&4)!==0)&&pg(c,a,E),v=v.next}while(v!==p)}Ja(s,a,c);break;case 1:if(!wi&&(qu(c,a),p=c.stateNode,typeof p.componentWillUnmount=="function"))try{p.props=c.memoizedProps,p.state=c.memoizedState,p.componentWillUnmount()}catch(I){tr(c,a,I)}Ja(s,a,c);break;case 21:Ja(s,a,c);break;case 22:c.mode&1?(wi=(p=wi)||c.memoizedState!==null,Ja(s,a,c),wi=p):Ja(s,a,c);break;default:Ja(s,a,c)}}function qx(s){var a=s.updateQueue;if(a!==null){s.updateQueue=null;var c=s.stateNode;c===null&&(c=s.stateNode=new IR),a.forEach(function(p){var v=YR.bind(null,s,p);c.has(p)||(c.add(p),p.then(v,v))})}}function Po(s,a){var c=a.deletions;if(c!==null)for(var p=0;p<c.length;p++){var v=c[p];try{var x=s,E=a,I=E;e:for(;I!==null;){switch(I.tag){case 5:ii=I.stateNode,Eo=!1;break e;case 3:ii=I.stateNode.containerInfo,Eo=!0;break e;case 4:ii=I.stateNode.containerInfo,Eo=!0;break e}I=I.return}if(ii===null)throw Error(n(160));Gx(x,E,v),ii=null,Eo=!1;var U=v.alternate;U!==null&&(U.return=null),v.return=null}catch(te){tr(v,a,te)}}if(a.subtreeFlags&12854)for(a=a.child;a!==null;)Qx(a,s),a=a.sibling}function Qx(s,a){var c=s.alternate,p=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(Po(a,s),Xo(s),p&4){try{pf(3,s,s.return),fh(3,s)}catch(Ne){tr(s,s.return,Ne)}try{pf(5,s,s.return)}catch(Ne){tr(s,s.return,Ne)}}break;case 1:Po(a,s),Xo(s),p&512&&c!==null&&qu(c,c.return);break;case 5:if(Po(a,s),Xo(s),p&512&&c!==null&&qu(c,c.return),s.flags&32){var v=s.stateNode;try{zn(v,"")}catch(Ne){tr(s,s.return,Ne)}}if(p&4&&(v=s.stateNode,v!=null)){var x=s.memoizedProps,E=c!==null?c.memoizedProps:x,I=s.type,U=s.updateQueue;if(s.updateQueue=null,U!==null)try{I==="input"&&x.type==="radio"&&x.name!=null&&Pn(v,x),$r(I,E);var te=$r(I,x);for(E=0;E<U.length;E+=2){var he=U[E],ge=U[E+1];he==="style"?qn(v,ge):he==="dangerouslySetInnerHTML"?ar(v,ge):he==="children"?zn(v,ge):R(v,he,ge,te)}switch(I){case"input":ne(v,x);break;case"textarea":Kt(v,x);break;case"select":var de=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!x.multiple;var Pe=x.value;Pe!=null?Ge(v,!!x.multiple,Pe,!1):de!==!!x.multiple&&(x.defaultValue!=null?Ge(v,!!x.multiple,x.defaultValue,!0):Ge(v,!!x.multiple,x.multiple?[]:"",!1))}v[Cn]=x}catch(Ne){tr(s,s.return,Ne)}}break;case 6:if(Po(a,s),Xo(s),p&4){if(s.stateNode===null)throw Error(n(162));v=s.stateNode,x=s.memoizedProps;try{v.nodeValue=x}catch(Ne){tr(s,s.return,Ne)}}break;case 3:if(Po(a,s),Xo(s),p&4&&c!==null&&c.memoizedState.isDehydrated)try{fr(a.containerInfo)}catch(Ne){tr(s,s.return,Ne)}break;case 4:Po(a,s),Xo(s);break;case 13:Po(a,s),Xo(s),v=s.child,v.flags&8192&&(x=v.memoizedState!==null,v.stateNode.isHidden=x,!x||v.alternate!==null&&v.alternate.memoizedState!==null||(xg=ht())),p&4&&qx(s);break;case 22:if(he=c!==null&&c.memoizedState!==null,s.mode&1?(wi=(te=wi)||he,Po(a,s),wi=te):Po(a,s),Xo(s),p&8192){if(te=s.memoizedState!==null,(s.stateNode.isHidden=te)&&!he&&(s.mode&1)!==0)for(Oe=s,he=s.child;he!==null;){for(ge=Oe=he;Oe!==null;){switch(de=Oe,Pe=de.child,de.tag){case 0:case 11:case 14:case 15:pf(4,de,de.return);break;case 1:qu(de,de.return);var De=de.stateNode;if(typeof De.componentWillUnmount=="function"){p=de,c=de.return;try{a=p,De.props=a.memoizedProps,De.state=a.memoizedState,De.componentWillUnmount()}catch(Ne){tr(p,c,Ne)}}break;case 5:qu(de,de.return);break;case 22:if(de.memoizedState!==null){e_(ge);continue}}Pe!==null?(Pe.return=de,Oe=Pe):e_(ge)}he=he.sibling}e:for(he=null,ge=s;;){if(ge.tag===5){if(he===null){he=ge;try{v=ge.stateNode,te?(x=v.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none"):(I=ge.stateNode,U=ge.memoizedProps.style,E=U!=null&&U.hasOwnProperty("display")?U.display:null,I.style.display=Ki("display",E))}catch(Ne){tr(s,s.return,Ne)}}}else if(ge.tag===6){if(he===null)try{ge.stateNode.nodeValue=te?"":ge.memoizedProps}catch(Ne){tr(s,s.return,Ne)}}else if((ge.tag!==22&&ge.tag!==23||ge.memoizedState===null||ge===s)&&ge.child!==null){ge.child.return=ge,ge=ge.child;continue}if(ge===s)break e;for(;ge.sibling===null;){if(ge.return===null||ge.return===s)break e;he===ge&&(he=null),ge=ge.return}he===ge&&(he=null),ge.sibling.return=ge.return,ge=ge.sibling}}break;case 19:Po(a,s),Xo(s),p&4&&qx(s);break;case 21:break;default:Po(a,s),Xo(s)}}function Xo(s){var a=s.flags;if(a&2){try{e:{for(var c=s.return;c!==null;){if(Kx(c)){var p=c;break e}c=c.return}throw Error(n(160))}switch(p.tag){case 5:var v=p.stateNode;p.flags&32&&(zn(v,""),p.flags&=-33);var x=Xx(s);yg(s,x,v);break;case 3:case 4:var E=p.stateNode.containerInfo,I=Xx(s);gg(s,I,E);break;default:throw Error(n(161))}}catch(U){tr(s,s.return,U)}s.flags&=-3}a&4096&&(s.flags&=-4097)}function VR(s,a,c){Oe=s,Zx(s)}function Zx(s,a,c){for(var p=(s.mode&1)!==0;Oe!==null;){var v=Oe,x=v.child;if(v.tag===22&&p){var E=v.memoizedState!==null||ch;if(!E){var I=v.alternate,U=I!==null&&I.memoizedState!==null||wi;I=ch;var te=wi;if(ch=E,(wi=U)&&!te)for(Oe=v;Oe!==null;)E=Oe,U=E.child,E.tag===22&&E.memoizedState!==null?t_(v):U!==null?(U.return=E,Oe=U):t_(v);for(;x!==null;)Oe=x,Zx(x),x=x.sibling;Oe=v,ch=I,wi=te}Jx(s)}else(v.subtreeFlags&8772)!==0&&x!==null?(x.return=v,Oe=x):Jx(s)}}function Jx(s){for(;Oe!==null;){var a=Oe;if((a.flags&8772)!==0){var c=a.alternate;try{if((a.flags&8772)!==0)switch(a.tag){case 0:case 11:case 15:wi||fh(5,a);break;case 1:var p=a.stateNode;if(a.flags&4&&!wi)if(c===null)p.componentDidMount();else{var v=a.elementType===a.type?c.memoizedProps:bo(a.type,c.memoizedProps);p.componentDidUpdate(v,c.memoizedState,p.__reactInternalSnapshotBeforeUpdate)}var x=a.updateQueue;x!==null&&ex(a,x,p);break;case 3:var E=a.updateQueue;if(E!==null){if(c=null,a.child!==null)switch(a.child.tag){case 5:c=a.child.stateNode;break;case 1:c=a.child.stateNode}ex(a,E,c)}break;case 5:var I=a.stateNode;if(c===null&&a.flags&4){c=I;var U=a.memoizedProps;switch(a.type){case"button":case"input":case"select":case"textarea":U.autoFocus&&c.focus();break;case"img":U.src&&(c.src=U.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(a.memoizedState===null){var te=a.alternate;if(te!==null){var he=te.memoizedState;if(he!==null){var ge=he.dehydrated;ge!==null&&fr(ge)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}wi||a.flags&512&&mg(a)}catch(de){tr(a,a.return,de)}}if(a===s){Oe=null;break}if(c=a.sibling,c!==null){c.return=a.return,Oe=c;break}Oe=a.return}}function e_(s){for(;Oe!==null;){var a=Oe;if(a===s){Oe=null;break}var c=a.sibling;if(c!==null){c.return=a.return,Oe=c;break}Oe=a.return}}function t_(s){for(;Oe!==null;){var a=Oe;try{switch(a.tag){case 0:case 11:case 15:var c=a.return;try{fh(4,a)}catch(U){tr(a,c,U)}break;case 1:var p=a.stateNode;if(typeof p.componentDidMount=="function"){var v=a.return;try{p.componentDidMount()}catch(U){tr(a,v,U)}}var x=a.return;try{mg(a)}catch(U){tr(a,x,U)}break;case 5:var E=a.return;try{mg(a)}catch(U){tr(a,E,U)}}}catch(U){tr(a,a.return,U)}if(a===s){Oe=null;break}var I=a.sibling;if(I!==null){I.return=a.return,Oe=I;break}Oe=a.return}}var zR=Math.ceil,dh=P.ReactCurrentDispatcher,vg=P.ReactCurrentOwner,to=P.ReactCurrentBatchConfig,Lt=0,Xr=null,Or=null,si=0,Es=0,Qu=Xa(0),Fr=0,mf=null,tu=0,hh=0,wg=0,gf=null,ss=null,xg=0,Zu=1/0,Ta=null,ph=!1,_g=null,el=null,mh=!1,tl=null,gh=0,yf=0,Sg=null,yh=-1,vh=0;function Ni(){return(Lt&6)!==0?ht():yh!==-1?yh:yh=ht()}function nl(s){return(s.mode&1)===0?1:(Lt&2)!==0&&si!==0?si&-si:SR.transition!==null?(vh===0&&(vh=Dd()),vh):(s=it,s!==0||(s=window.event,s=s===void 0?16:Wl(s.type)),s)}function ko(s,a,c,p){if(50<yf)throw yf=0,Sg=null,Error(n(185));Il(s,c,p),((Lt&2)===0||s!==Xr)&&(s===Xr&&((Lt&2)===0&&(hh|=c),Fr===4&&rl(s,si)),os(s,p),c===1&&Lt===0&&(a.mode&1)===0&&(Zu=ht()+500,Yd&&qa()))}function os(s,a){var c=s.callbackNode;Lu(s,a);var p=Ll(s,s===Xr?si:0);if(p===0)c!==null&&yn(c),s.callbackNode=null,s.callbackPriority=0;else if(a=p&-p,s.callbackPriority!==a){if(c!=null&&yn(c),a===1)s.tag===0?_R(r_.bind(null,s)):Bw(r_.bind(null,s)),qs(function(){(Lt&6)===0&&qa()}),c=null;else{switch(Fl(p)){case 1:c=Br;break;case 4:c=jo;break;case 16:c=Ei;break;case 536870912:c=Lr;break;default:c=Ei}c=f_(c,n_.bind(null,s))}s.callbackPriority=a,s.callbackNode=c}}
vendor: 4,769 bytes, line 8
8function n_(s,a){if(yh=-1,vh=0,(Lt&6)!==0)throw Error(n(327));var c=s.callbackNode;if(Ju()&&s.callbackNode!==c)return null;var p=Ll(s,s===Xr?si:0);if(p===0)return null;if((p&30)!==0||(p&s.expiredLanes)!==0||a)a=wh(s,p);else{a=p;var v=Lt;Lt|=2;var x=s_();(Xr!==s||si!==a)&&(Ta=null,Zu=ht()+500,ru(s,a));do try{BR();break}catch(I){i_(s,I)}while(!0);jm(),dh.current=x,Lt=v,Or!==null?a=0:(Xr=null,si=0,a=Fr)}if(a!==0){if(a===2&&(v=Nu(s),v!==0&&(p=v,a=Tg(s,v))),a===1)throw c=mf,ru(s,0),rl(s,p),os(s,ht()),c;if(a===6)rl(s,p);else{if(v=s.current.alternate,(p&30)===0&&!jR(v)&&(a=wh(s,p),a===2&&(x=Nu(s),x!==0&&(p=x,a=Tg(s,x))),a===1))throw c=mf,ru(s,0),rl(s,p),os(s,ht()),c;switch(s.finishedWork=v,s.finishedLanes=p,a){case 0:case 1:throw Error(n(345));case 2:iu(s,ss,Ta);break;case 3:if(rl(s,p),(p&130023424)===p&&(a=xg+500-ht(),10<a)){if(Ll(s,0)!==0)break;if(v=s.suspendedLanes,(v&p)!==p){Ni(),s.pingedLanes|=s.suspendedLanes&v;break}s.timeoutHandle=Di(iu.bind(null,s,ss,Ta),a);break}iu(s,ss,Ta);break;case 4:if(rl(s,p),(p&4194240)===p)break;for(a=s.eventTimes,v=-1;0<p;){var E=31-Nt(p);x=1<<E,E=a[E],E>v&&(v=E),p&=~x}if(p=v,p=ht()-p,p=(120>p?120:480>p?480:1080>p?1080:1920>p?1920:3e3>p?3e3:4320>p?4320:1960*zR(p/1960))-p,10<p){s.timeoutHandle=Di(iu.bind(null,s,ss,Ta),p);break}iu(s,ss,Ta);break;case 5:iu(s,ss,Ta);break;default:throw Error(n(329))}}}return os(s,ht()),s.callbackNode===c?n_.bind(null,s):null}function Tg(s,a){var c=gf;return s.current.memoizedState.isDehydrated&&(ru(s,a).flags|=256),s=wh(s,a),s!==2&&(a=ss,ss=c,a!==null&&Cg(a)),s}function Cg(s){ss===null?ss=s:ss.push.apply(ss,s)}function jR(s){for(var a=s;;){if(a.flags&16384){var c=a.updateQueue;if(c!==null&&(c=c.stores,c!==null))for(var p=0;p<c.length;p++){var v=c[p],x=v.getSnapshot;v=v.value;try{if(!Pr(x(),v))return!1}catch{return!1}}}if(c=a.child,a.subtreeFlags&16384&&c!==null)c.return=a,a=c;else{if(a===s)break;for(;a.sibling===null;){if(a.return===null||a.return===s)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function rl(s,a){for(a&=~wg,a&=~hh,s.suspendedLanes|=a,s.pingedLanes&=~a,s=s.expirationTimes;0<a;){var c=31-Nt(a),p=1<<c;s[c]=-1,a&=~p}}function r_(s){if((Lt&6)!==0)throw Error(n(327));Ju();var a=Ll(s,0);if((a&1)===0)return os(s,ht()),null;var c=wh(s,a);if(s.tag!==0&&c===2){var p=Nu(s);p!==0&&(a=p,c=Tg(s,p))}if(c===1)throw c=mf,ru(s,0),rl(s,a),os(s,ht()),c;if(c===6)throw Error(n(345));return s.finishedWork=s.current.alternate,s.finishedLanes=a,iu(s,ss,Ta),os(s,ht()),null}function bg(s,a){var c=Lt;Lt|=1;try{return s(a)}finally{Lt=c,Lt===0&&(Zu=ht()+500,Yd&&qa())}}function nu(s){tl!==null&&tl.tag===0&&(Lt&6)===0&&Ju();var a=Lt;Lt|=1;var c=to.transition,p=it;try{if(to.transition=null,it=1,s)return s()}finally{it=p,to.transition=c,Lt=a,(Lt&6)===0&&qa()}}function Eg(){Es=Qu.current,bn(Qu)}function ru(s,a){s.finishedWork=null,s.finishedLanes=0;var c=s.timeoutHandle;if(c!==-1&&(s.timeoutHandle=-1,Sn(c)),Or!==null)for(c=Or.return;c!==null;){var p=c;switch(Nm(p),p.tag){case 1:p=p.type.childContextTypes,p!=null&&Wd();break;case 3:Xu(),bn(ns),bn(gi),Xm();break;case 5:Ym(p);break;case 4:Xu();break;case 13:bn(Un);break;case 19:bn(Un);break;case 10:$m(p.type._context);break;case 22:case 23:Eg()}c=c.return}if(Xr=s,Or=s=il(s.current,null),si=Es=a,Fr=0,mf=null,wg=hh=tu=0,ss=gf=null,Zl!==null){for(a=0;a<Zl.length;a++)if(c=Zl[a],p=c.interleaved,p!==null){c.interleaved=null;var v=p.next,x=c.pending;if(x!==null){var E=x.next;x.next=v,p.next=E}c.pending=p}Zl=null}return s}function i_(s,a){do{var c=Or;try{if(jm(),nh.current=oh,rh){for(var p=Wn.memoizedState;p!==null;){var v=p.queue;v!==null&&(v.pending=null),p=p.next}rh=!1}if(eu=0,Kr=Ir=Wn=null,uf=!1,cf=0,vg.current=null,c===null||c.return===null){Fr=1,mf=a,Or=null;break}e:{var x=s,E=c.return,I=c,U=a;if(a=si,I.flags|=32768,U!==null&&typeof U=="object"&&typeof U.then=="function"){var te=U,he=I,ge=he.tag;if((he.mode&1)===0&&(ge===0||ge===11||ge===15)){var de=he.alternate;de?(he.updateQueue=de.updateQueue,he.memoizedState=de.memoizedState,he.lanes=de.lanes):(he.updateQueue=null,he.memoizedState=null)}var Pe=Rx(E);if(Pe!==null){Pe.flags&=-257,Ox(Pe,E,I,x,a),Pe.mode&1&&kx(x,te,a),a=Pe,U=te;var De=a.updateQueue;if(De===null){var Ne=new Set;Ne.add(U),a.updateQueue=Ne}else De.add(U);break e}else{if((a&1)===0){kx(x,te,a),Pg();break e}U=Error(n(426))}}else if(Ln&&I.mode&1){var gr=Rx(E);if(gr!==null){(gr.flags&65536)===0&&(gr.flags|=256),Ox(gr,E,I,x,a),Vm(Gu(U,I));break e}}x=U=Gu(U,I),Fr!==4&&(Fr=2),gf===null?gf=[x]:gf.push(x),x=E;do{switch(x.tag){case 3:x.flags|=65536,a&=-a,x.lanes|=a;var q=Ex(x,U,a);Jw(x,q);break e;case 1:I=U;var H=x.type,Z=x.stateNode;if((x.flags&128)===0&&(typeof H.getDerivedStateFromError=="function"||Z!==null&&typeof Z.componentDidCatch=="function"&&(el===null||!el.has(Z
vendor: 6,844 bytes, line 8
8)))){x.flags|=65536,a&=-a,x.lanes|=a;var we=Px(x,I,a);Jw(x,we);break e}}x=x.return}while(x!==null)}a_(c)}catch(ze){a=ze,Or===c&&c!==null&&(Or=c=c.return);continue}break}while(!0)}function s_(){var s=dh.current;return dh.current=oh,s===null?oh:s}function Pg(){(Fr===0||Fr===3||Fr===2)&&(Fr=4),Xr===null||(tu&268435455)===0&&(hh&268435455)===0||rl(Xr,si)}function wh(s,a){var c=Lt;Lt|=2;var p=s_();(Xr!==s||si!==a)&&(Ta=null,ru(s,a));do try{$R();break}catch(v){i_(s,v)}while(!0);if(jm(),Lt=c,dh.current=p,Or!==null)throw Error(n(261));return Xr=null,si=0,Fr}function $R(){for(;Or!==null;)o_(Or)}function BR(){for(;Or!==null&&!ys();)o_(Or)}function o_(s){var a=c_(s.alternate,s,Es);s.memoizedProps=s.pendingProps,a===null?a_(s):Or=a,vg.current=null}function a_(s){var a=s;do{var c=a.alternate;if(s=a.return,(a.flags&32768)===0){if(c=LR(c,a,Es),c!==null){Or=c;return}}else{if(c=NR(c,a),c!==null){c.flags&=32767,Or=c;return}if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{Fr=6,Or=null;return}}if(a=a.sibling,a!==null){Or=a;return}Or=a=s}while(a!==null);Fr===0&&(Fr=5)}function iu(s,a,c){var p=it,v=to.transition;try{to.transition=null,it=1,UR(s,a,c,p)}finally{to.transition=v,it=p}return null}function UR(s,a,c,p){do Ju();while(tl!==null);if((Lt&6)!==0)throw Error(n(327));c=s.finishedWork;var v=s.finishedLanes;if(c===null)return null;if(s.finishedWork=null,s.finishedLanes=0,c===s.current)throw Error(n(177));s.callbackNode=null,s.callbackPriority=0;var x=c.lanes|c.childLanes;if(Iu(s,x),s===Xr&&(Or=Xr=null,si=0),(c.subtreeFlags&2064)===0&&(c.flags&2064)===0||mh||(mh=!0,f_(Ei,function(){return Ju(),null})),x=(c.flags&15990)!==0,(c.subtreeFlags&15990)!==0||x){x=to.transition,to.transition=null;var E=it;it=1;var I=Lt;Lt|=4,vg.current=null,FR(s,c),Qx(c,s),se(Zt),Bl=!!dn,Zt=dn=null,s.current=c,VR(c),vs(),Lt=I,it=E,to.transition=x}else s.current=c;if(mh&&(mh=!1,tl=s,gh=v),x=s.pendingLanes,x===0&&(el=null),ci(c.stateNode),os(s,ht()),a!==null)for(p=s.onRecoverableError,c=0;c<a.length;c++)v=a[c],p(v.value,{componentStack:v.stack,digest:v.digest});if(ph)throw ph=!1,s=_g,_g=null,s;return(gh&1)!==0&&s.tag!==0&&Ju(),x=s.pendingLanes,(x&1)!==0?s===Sg?yf++:(yf=0,Sg=s):yf=0,qa(),null}function Ju(){if(tl!==null){var s=Fl(gh),a=to.transition,c=it;try{if(to.transition=null,it=16>s?16:s,tl===null)var p=!1;else{if(s=tl,tl=null,gh=0,(Lt&6)!==0)throw Error(n(331));var v=Lt;for(Lt|=4,Oe=s.current;Oe!==null;){var x=Oe,E=x.child;if((Oe.flags&16)!==0){var I=x.deletions;if(I!==null){for(var U=0;U<I.length;U++){var te=I[U];for(Oe=te;Oe!==null;){var he=Oe;switch(he.tag){case 0:case 11:case 15:pf(8,he,x)}var ge=he.child;if(ge!==null)ge.return=he,Oe=ge;else for(;Oe!==null;){he=Oe;var de=he.sibling,Pe=he.return;if(Yx(he),he===te){Oe=null;break}if(de!==null){de.return=Pe,Oe=de;break}Oe=Pe}}}var De=x.alternate;if(De!==null){var Ne=De.child;if(Ne!==null){De.child=null;do{var gr=Ne.sibling;Ne.sibling=null,Ne=gr}while(Ne!==null)}}Oe=x}}if((x.subtreeFlags&2064)!==0&&E!==null)E.return=x,Oe=E;else e:for(;Oe!==null;){if(x=Oe,(x.flags&2048)!==0)switch(x.tag){case 0:case 11:case 15:pf(9,x,x.return)}var q=x.sibling;if(q!==null){q.return=x.return,Oe=q;break e}Oe=x.return}}var H=s.current;for(Oe=H;Oe!==null;){E=Oe;var Z=E.child;if((E.subtreeFlags&2064)!==0&&Z!==null)Z.return=E,Oe=Z;else e:for(E=H;Oe!==null;){if(I=Oe,(I.flags&2048)!==0)try{switch(I.tag){case 0:case 11:case 15:fh(9,I)}}catch(ze){tr(I,I.return,ze)}if(I===E){Oe=null;break e}var we=I.sibling;if(we!==null){we.return=I.return,Oe=we;break e}Oe=I.return}}if(Lt=v,qa(),cr&&typeof cr.onPostCommitFiberRoot=="function")try{cr.onPostCommitFiberRoot(ui,s)}catch{}p=!0}return p}finally{it=c,to.transition=a}}return!1}function l_(s,a,c){a=Gu(c,a),a=Ex(s,a,1),s=Za(s,a,1),a=Ni(),s!==null&&(Il(s,1,a),os(s,a))}function tr(s,a,c){if(s.tag===3)l_(s,s,c);else for(;a!==null;){if(a.tag===3){l_(a,s,c);break}else if(a.tag===1){var p=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&(el===null||!el.has(p))){s=Gu(c,s),s=Px(a,s,1),a=Za(a,s,1),s=Ni(),a!==null&&(Il(a,1,s),os(a,s));break}}a=a.return}}function WR(s,a,c){var p=s.pingCache;p!==null&&p.delete(a),a=Ni(),s.pingedLanes|=s.suspendedLanes&c,Xr===s&&(si&c)===c&&(Fr===4||Fr===3&&(si&130023424)===si&&500>ht()-xg?ru(s,0):wg|=c),os(s,a)}function u_(s,a){a===0&&((s.mode&1)===0?a=1:(a=Jr,Jr<<=1,(Jr&130023424)===0&&(Jr=4194304)));var c=Ni();s=xa(s,a),s!==null&&(Il(s,a,c),os(s,c))}function HR(s){var a=s.memoizedState,c=0;a!==null&&(c=a.retryLane),u_(s,c)}function YR(s,a){var c=0;switch(s.tag){case 13:var p=s.stateNode,v=s.memoizedState;v!==null&&(c=v.retryLane);break;case 19:p=s.stateNode;break;default:throw Error(n(314))}p!==null&&p.delete(a),u_(s,c)}var c_;c_=function(s,a,c){if(s!==null)if(s.memoizedProps!==a.pendingProps||ns.current)is=!0;else{if((s.lanes&c)===0&&(a.flags&128)===0)return is=!1,DR(s,a,c);is=(s.flags&131072)!==0}else is=!1,Ln&&(a.flags&1048576)!==0&&Uw(a,Xd,a.index);switch(a.lanes=0,a.tag){case 2:var p=a.type;uh(s,a),s=a.pendingProps;var v=$u(a,gi.current);Ku(a,c),v=Qm(null,a,p,s,v,c);var x=Zm();return a.flags|=1,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0?(a.tag=1,a.memoizedState=null,a.updateQueue=null,rs(p)?(x=!0,Hd(a)):x=!1,a.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,Wm(a),v.updater=ah,a.stateNode=v,v._reactInternals=a,ig(a,p,s,c),a=lg(null,a,p,!0,x,c)):(a.tag=0,Ln&&x&&Lm(a),Li(null,a,v,c),a=a.child),a;case 16:p=a.elementType;e:{switch(uh(s,a),s=a.pendingProps,v=p._init,p=v(p._payload),a.type=p,v=a.tag=XR(p),s=bo(p,s),v){case 0:a=ag(null,a,p,s,c);break e;case 1:a=Ix(null,a,p,s,c);break e;case 11:a=Ax(null,a,p,s,c);break e;case 14:a=Mx(null,a,p,bo(p.type,s),c);break e}throw Error(n(306,p,""))}return a;case 0:return p=a.type,v=a.pendingProps,v=a.elementType===p?v:bo(p,v),ag(s,a,p,v,c);case 1:return p=a.type,v=a.pendingProps,v=a.elementType===p?v:bo(p,v),Ix(s,a,p,v,c);case 3:e:{if(Fx(a),s===null)throw Error(n(387));p=a.pendingProps,x=a.memoizedState,v=x.element,Zw(s,a),eh(a,p,null,c);var E=a.memoizedState;if(p=E.element,x.isDehydrated)if(x={element:p,isDehydrated:!1,cache:E.cache,pendingSuspenseBoundaries:E.pendingSuspenseBoundaries,transitions:E.transitions},a.updateQueue.baseState=x,a.memoizedState=x,a.flags&256){v=Gu(Error(n(423)),a),a=Vx(s,a,p,c,v);break e}else if(p!==v){v=Gu(Error(n(424)),a),a=Vx(s,a,p,c,v);break e}else for(bs=Tn(a.stateNode.containerInfo.firstChild),Cs=a,Ln=!0,Co=null,c=qw(a,null,p,c),a.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Wu(),p===v){a=Sa(s,a,c);break e}Li(s,a,p,c)}a=a.child}return a;case 5:return tx(a),s===null&&Fm(a),p=a.type,v=a.pendingProps,x=s!==null?s.memoizedProps:null,E=v.children,zt(p,v)?E=null:x!==null&&zt(p,x)&&(a.flags|=32),Nx(s,a),Li(s,a,E,c),a.child;case 6:return s===null&&Fm(a),null;case 13:return zx(s,a,c);
vendor: 2,684 bytes, line 8
8case 4:return Hm(a,a.stateNode.containerInfo),p=a.pendingProps,s===null?a.child=Hu(a,null,p,c):Li(s,a,p,c),a.child;case 11:return p=a.type,v=a.pendingProps,v=a.elementType===p?v:bo(p,v),Ax(s,a,p,v,c);case 7:return Li(s,a,a.pendingProps,c),a.child;case 8:return Li(s,a,a.pendingProps.children,c),a.child;case 12:return Li(s,a,a.pendingProps.children,c),a.child;case 10:e:{if(p=a.type._context,v=a.pendingProps,x=a.memoizedProps,E=v.value,hn(Qd,p._currentValue),p._currentValue=E,x!==null)if(Pr(x.value,E)){if(x.children===v.children&&!ns.current){a=Sa(s,a,c);break e}}else for(x=a.child,x!==null&&(x.return=a);x!==null;){var I=x.dependencies;if(I!==null){E=x.child;for(var U=I.firstContext;U!==null;){if(U.context===p){if(x.tag===1){U=_a(-1,c&-c),U.tag=2;var te=x.updateQueue;if(te!==null){te=te.shared;var he=te.pending;he===null?U.next=U:(U.next=he.next,he.next=U),te.pending=U}}x.lanes|=c,U=x.alternate,U!==null&&(U.lanes|=c),Bm(x.return,c,a),I.lanes|=c;break}U=U.next}}else if(x.tag===10)E=x.type===a.type?null:x.child;else if(x.tag===18){if(E=x.return,E===null)throw Error(n(341));E.lanes|=c,I=E.alternate,I!==null&&(I.lanes|=c),Bm(E,c,a),E=x.sibling}else E=x.child;if(E!==null)E.return=x;else for(E=x;E!==null;){if(E===a){E=null;break}if(x=E.sibling,x!==null){x.return=E.return,E=x;break}E=E.return}x=E}Li(s,a,v.children,c),a=a.child}return a;case 9:return v=a.type,p=a.pendingProps.children,Ku(a,c),v=Js(v),p=p(v),a.flags|=1,Li(s,a,p,c),a.child;case 14:return p=a.type,v=bo(p,a.pendingProps),v=bo(p.type,v),Mx(s,a,p,v,c);case 15:return Dx(s,a,a.type,a.pendingProps,c);case 17:return p=a.type,v=a.pendingProps,v=a.elementType===p?v:bo(p,v),uh(s,a),a.tag=1,rs(p)?(s=!0,Hd(a)):s=!1,Ku(a,c),Cx(a,p,v),ig(a,p,v,c),lg(null,a,p,!0,s,c);case 19:return $x(s,a,c);case 22:return Lx(s,a,c)}throw Error(n(156,a.tag))};function f_(s,a){return qt(s,a)}function KR(s,a,c,p){this.tag=s,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=p,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function no(s,a,c,p){return new KR(s,a,c,p)}function kg(s){return s=s.prototype,!(!s||!s.isReactComponent)}function XR(s){if(typeof s=="function")return kg(s)?1:0;if(s!=null){if(s=s.$$typeof,s===W)return 11;if(s===me)return 14}return 2}function il(s,a){var c=s.alternate;return c===null?(c=no(s.tag,a,s.key,s.mode),c.elementType=s.elementType,c.type=s.type,c.stateNode=s.stateNode,c.alternate=s,s.alternate=c):(c.pendingProps=a,c.type=s.type,c.flags=0,c.subtreeFlags=0,c.deleti
vendor: 5,290 bytes, line 8
8ons=null),c.flags=s.flags&14680064,c.childLanes=s.childLanes,c.lanes=s.lanes,c.child=s.child,c.memoizedProps=s.memoizedProps,c.memoizedState=s.memoizedState,c.updateQueue=s.updateQueue,a=s.dependencies,c.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},c.sibling=s.sibling,c.index=s.index,c.ref=s.ref,c}function xh(s,a,c,p,v,x){var E=2;if(p=s,typeof s=="function")kg(s)&&(E=1);else if(typeof s=="string")E=5;else e:switch(s){case L:return su(c.children,v,x,a);case F:E=8,v|=8;break;case j:return s=no(12,c,a,v|2),s.elementType=j,s.lanes=x,s;case ie:return s=no(13,c,a,v),s.elementType=ie,s.lanes=x,s;case ee:return s=no(19,c,a,v),s.elementType=ee,s.lanes=x,s;case ae:return _h(c,v,x,a);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case B:E=10;break e;case re:E=9;break e;case W:E=11;break e;case me:E=14;break e;case le:E=16,p=null;break e}throw Error(n(130,s==null?s:typeof s,""))}return a=no(E,c,a,v),a.elementType=s,a.type=p,a.lanes=x,a}function su(s,a,c,p){return s=no(7,s,p,a),s.lanes=c,s}function _h(s,a,c,p){return s=no(22,s,p,a),s.elementType=ae,s.lanes=c,s.stateNode={isHidden:!1},s}function Rg(s,a,c){return s=no(6,s,null,a),s.lanes=c,s}function Og(s,a,c){return a=no(4,s.children!==null?s.children:[],s.key,a),a.lanes=c,a.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},a}function GR(s,a,c,p,v){this.tag=a,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Nl(0),this.expirationTimes=Nl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nl(0),this.identifierPrefix=p,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null}function Ag(s,a,c,p,v,x,E,I,U){return s=new GR(s,a,c,I,U),a===1?(a=1,x===!0&&(a|=8)):a=0,x=no(3,null,null,a),s.current=x,x.stateNode=s,x.memoizedState={element:p,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wm(x),s}function qR(s,a,c){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:N,key:p==null?null:""+p,children:s,containerInfo:a,implementation:c}}function d_(s){if(!s)return Ga;s=s._reactInternals;e:{if(bt(s)!==s||s.tag!==1)throw Error(n(170));var a=s;do{switch(a.tag){case 3:a=a.stateNode.context;break e;case 1:if(rs(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}}a=a.return}while(a!==null);throw Error(n(171))}if(s.tag===1){var c=s.type;if(rs(c))return jw(s,c,a)}return a}function h_(s,a,c,p,v,x,E,I,U){return s=Ag(c,p,!0,s,v,x,E,I,U),s.context=d_(null),c=s.current,p=Ni(),v=nl(c),x=_a(p,v),x.callback=a??null,Za(c,x,v),s.current.lanes=v,Il(s,v,p),os(s,p),s}function Sh(s,a,c,p){var v=a.current,x=Ni(),E=nl(v);return c=d_(c),a.context===null?a.context=c:a.pendingContext=c,a=_a(x,E),a.payload={element:s},p=p===void 0?null:p,p!==null&&(a.callback=p),s=Za(v,a,E),s!==null&&(ko(s,v,E,x),Jd(s,v,E)),E}function Th(s){return s=s.current,s.child?(s.child.tag===5,s.child.stateNode):null}function p_(s,a){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var c=s.retryLane;s.retryLane=c!==0&&c<a?c:a}}function Mg(s,a){p_(s,a),(s=s.alternate)&&p_(s,a)}function QR(){return null}var m_=typeof reportError=="function"?reportError:function(s){console.error(s)};function Dg(s){this._internalRoot=s}Ch.prototype.render=Dg.prototype.render=function(s){var a=this._internalRoot;if(a===null)throw Error(n(409));Sh(s,a,null,null)},Ch.prototype.unmount=Dg.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var a=s.containerInfo;nu(function(){Sh(null,s,null,null)}),a[Rr]=null}};function Ch(s){this._internalRoot=s}Ch.prototype.unstable_scheduleHydration=function(s){if(s){var a=zl();s={blockedOn:null,target:s,priority:a};for(var c=0;c<qi.length&&a!==0&&a<qi[c].priority;c++);qi.splice(c,0,s),c===0&&fi(s)}};function Lg(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function bh(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function g_(){}function ZR(s,a,c,p,v){if(v){if(typeof p=="function"){var x=p;p=function(){var te=Th(E);x.call(te)}}var E=h_(a,p,s,0,null,!1,!1,"",g_);return s._reactRootContainer=E,s[Rr]=E.current,xo(s.nodeType===8?s.parentNode:s),nu(),E}for(;v=s.lastChild;)s.removeChild(v);if(typeof p=="function"){var I=p;p=function(){var te=Th(U);I.call(te)}}var U=Ag(s,0,!1,null,null,!1,!1,"",g_);return s._reactRootContainer=U,s[Rr]=U.current,xo(s.nodeType===8?s.parentNode:s),nu(function(){Sh(a,U,c,p)}),U}function Eh(s,a,c,p,v){var x=c._reactRootContainer;if(x){var E=x;if(typeof v=="function"){var I=v;v=function(){var U=Th(E);I.call(U)}}Sh(a,E,s,v)}else E=ZR(c,a,s,v,p);return Th(E)}Qc=function(s){switch(s.tag){case 3:var a=s.stateNode;if(a.current.memoizedState.isDehydrated){var c=Dl(a.pendingLanes);c!==0&&(Qn(a,c|1),os(a,ht()),(Lt&6)===0&&(Zu=ht()+500,qa()))}break;case 13:nu(function(){var p=xa(s,1);if(p!==null){var v=Ni();ko(p,s,1,v)}}),Mg(s,1)}},za=function(s){if(s.tag===13){var a=xa(s,134217728);if(a!==null){var c=Ni();ko(a,s,134217728,c)}
vendor: 4,290 bytes, line 8
8Mg(s,134217728)}},Vl=function(s){if(s.tag===13){var a=nl(s),c=xa(s,a);if(c!==null){var p=Ni();ko(c,s,a,p)}Mg(s,a)}},zl=function(){return it},jl=function(s,a){var c=it;try{return it=s,a()}finally{it=c}},Tr=function(s,a,c){switch(a){case"input":if(ne(s,c),a=c.name,c.type==="radio"&&a!=null){for(c=s;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),a=0;a<c.length;a++){var p=c[a];if(p!==s&&p.form===s.form){var v=Ts(p);if(!v)throw Error(n(90));Ze(p),ne(p,v)}}}break;case"textarea":Kt(s,c);break;case"select":a=c.value,a!=null&&Ge(s,!!c.multiple,a,!1)}},Ye=bg,yt=nu;var JR={usingClientEntryPoint:!1,Events:[So,To,Ts,Ht,$e,bg]},vf={findFiberByHostInstance:Yr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},eO={bundleType:vf.bundleType,version:vf.version,rendererPackageName:vf.rendererPackageName,rendererConfig:vf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:P.ReactCurrentDispatcher,findHostInstanceByFiber:function(s){return s=jt(s),s===null?null:s.stateNode},findFiberByHostInstance:vf.findFiberByHostInstance||QR,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ph=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ph.isDisabled&&Ph.supportsFiber)try{ui=Ph.inject(eO),cr=Ph}catch{}}return as.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=JR,as.createPortal=function(s,a){var c=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Lg(a))throw Error(n(200));return qR(s,a,null,c)},as.createRoot=function(s,a){if(!Lg(s))throw Error(n(299));var c=!1,p="",v=m_;return a!=null&&(a.unstable_strictMode===!0&&(c=!0),a.identifierPrefix!==void 0&&(p=a.identifierPrefix),a.onRecoverableError!==void 0&&(v=a.onRecoverableError)),a=Ag(s,1,!1,null,null,c,!1,p,v),s[Rr]=a.current,xo(s.nodeType===8?s.parentNode:s),new Dg(a)},as.findDOMNode=function(s){if(s==null)return null;if(s.nodeType===1)return s;var a=s._reactInternals;if(a===void 0)throw typeof s.render=="function"?Error(n(188)):(s=Object.keys(s).join(","),Error(n(268,s)));return s=jt(a),s=s===null?null:s.stateNode,s},as.flushSync=function(s){return nu(s)},as.hydrate=function(s,a,c){if(!bh(a))throw Error(n(200));return Eh(null,s,a,!0,c)},as.hydrateRoot=function(s,a,c){if(!Lg(s))throw Error(n(405));var p=c!=null&&c.hydratedSources||null,v=!1,x="",E=m_;if(c!=null&&(c.unstable_strictMode===!0&&(v=!0),c.identifierPrefix!==void 0&&(x=c.identifierPrefix),c.onRecoverableError!==void 0&&(E=c.onRecoverableError)),a=h_(a,null,s,1,c??null,v,!1,x,E),s[Rr]=a.current,xo(s),p)for(s=0;s<p.length;s++)c=p[s],v=c._getVersion,v=v(c._source),a.mutableSourceEagerHydrationData==null?a.mutableSourceEagerHydrationData=[c,v]:a.mutableSourceEagerHydrationData.push(c,v);return new Ch(a)},as.render=function(s,a,c){if(!bh(a))throw Error(n(200));return Eh(null,s,a,!1,c)},as.unmountComponentAtNode=function(s){if(!bh(s))throw Error(n(40));return s._reactRootContainer?(nu(function(){Eh(null,null,s,!1,function(){s._reactRootContainer=null,s[Rr]=null})}),!0):!1},as.unstable_batchedUpdates=bg,as.unstable_renderSubtreeIntoContainer=function(s,a,c,p){if(!bh(c))throw Error(n(200));if(s==null||s._reactInternals===void 0)throw Error(n(38));return Eh(s,a,c,!1,p)},as.version="18.3.1-next-f1338f8080-20240426",as}var C_;function JT(){if(C_)return Fg.exports;C_=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),Fg.exports=lO(),Fg.exports}var b_;function uO(){if(b_)return kh;b_=1;var t=JT();return kh.createRoot=t.createRoot,kh.hydrateRoot=t.hydrateRoot,kh}var f5=uO(),T=rm();const ve=jc(T),im=nO({__proto__:null,default:ve},[T]);var jg,E_;function cO(){if(E_)return jg;E_=1;var t=typeof Element<"u",e=typeof Map=="function",n=typeof Set=="function",r=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(o,l){if(o===l)return!0;
8if(o&&l&&typeof o=="object"&&typeof l=="object"){if(o.constructor!==l.constructor)return!1;var u,f,d;if(Array.isArray(o)){if(u=o.length,u!=l.length)return!1;for(f=u;f--!==0;)if(!i(o[f],l[f]))return!1;return!0}var h;if(e&&o instanceof Map&&l instanceof Map){if(o.size!==l.size)return!1;for(h=o.entries();!(f=h.next()).done;)if(!l.has(f.value[0]))return!1;for(h=o.entries();!(f=h.next()).done;)if(!i(f.value[1],l.get(f.value[0])))return!1;return!0}if(n&&o instanceof Set&&l instanceof Set){if(o.size!==l.size)return!1;for(h=o.entries();!(f=h.next()).done;)if(!l.has(f.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(l)){if(u=o.length,u!=l.length)return!1;for(f=u;f--!==0;)if(o[f]!==l[f])return!1;return!0}if(o.constructor===RegExp)return o.source===l.source&&o.flags===l.flags;if(o.valueOf!==Object.prototype.valueOf&&typeof o.valueOf=="function"&&typeof l.valueOf=="function")return o.valueOf()===l.valueOf();if(o.toString!==Object.prototype.toString&&typeof o.toString=="function"&&typeof l.toString=="function")return o.toString()===l.toString();if(d=Object.keys(o),u=d.length,u!==Object.keys(l).length)return!1;for(f=u;f--!==0;)if(!Object.prototype.hasOwnProperty.call(l,d[f]))return!1;if(t&&o instanceof Element)return!1;for(f=u;f--!==0;)if(!((d[f]==="_owner"||d[f]==="__v"||d[f]==="__o")&&o.$$typeof)&&!i(o[d[f]],l[d[f]]))return!1;return!0}return o!==o&&l!==l}return jg=function(l,u){try{return i(l,u)}catch(f){if((f.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw f}},jg}var fO=cO();const dO=jc(fO);var $g,P_;function hO(){if(P_)return $g;P_=1;var t=function(e,n,r,i,o,l,u,f){if(!e){var d;if(n===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[r,i,o,l,u,f],m=0;d=new Error(n.replace(/%s/g,function(){return h[m++]})),d.name="Invariant Violation"}throw d.framesToPop=1,d}};return $g=t,$g}var pO=hO();const k_=jc(pO);var Bg,R_;function mO(){return R_||(R_=1,Bg=function(e,n,r,i){var o=r?r.call(i,e,n):void 0;if(o!==void 0)return!!o;if(e===n)return!0;if(typeof e!="object"||!e||typeof n!="object"||!n)return!1;var l=Object.keys(e),u=Object.keys(n);if(l.length!==u.length)return!1;for(var f=Object.prototype.hasOwnProperty.bind(n),d=0;d<l.length;d++){var h=l[d];if(!f(h))return!1;var m=e[h],y=n[h];if(o=r?r.call(i,m,y,h):void 0,o===!1||o===void 0&&m!==y)return!1}return!0}),Bg}var gO=mO();const yO=jc(gO);var eC=(t=>(t.BASE="base",t.BODY="body",t.HEAD="head",t.HTML="html",t.LINK="link",t.META="meta",t.NOSCRIPT="noscript",t.SCRIPT="script",t.STYLE="style",t.TITLE="title",t.FRAGMENT="Symbol(react.fragment)",t))(eC||{}),Ug={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},O_=Object.values(eC),u0={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},vO=Object.entries(u0).reduce((t,[e,n])=>(t[n]=e,t),{}),Lo="data-rh",vc={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},wc=(t,e)=>{for(let n=t.length-1;n>=0;n-=1){const r=t[n];if(Object.prototype.hasOwnProperty.call(r,e))return r[e]}return null},wO=t=>{let e=wc(t,"title");const n=wc(t,vc.TITLE_TEMPLATE);if(Array.isArray(e)&&(e=e.join("")),n&&e)return n.replace(/%s/g,()=>e);const r=wc(t,vc.DEFAULT_TITLE);return e||r||void 0},xO=t=>wc(t,vc.ON_CHANGE_CLIENT_STATE)||(()=>{}),Wg=(t,e)=>e.filter(n=>typeof n[t]<"u").map(n=>n[t]).reduce((n,r)=>({...n,...r}),{}),_O=(t,e)=>e.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let o=0;o<i.length;o+=1){const u=i[o].toLowerCase();if(t.indexOf(u)!==-1&&r[u])return n.concat(r)}}return n},[]),SO=t=>console&&typeof console.warn=="function"&&console.warn(t),xf=(t,e,n)=>{const r={};return n.filter(i=>Array.isArray(i[t])?!0:(typeof i[t]<"u"&&SO(`Helmet: ${t} should be of type "Array". Instead found type "${typeof i[t]}"`),!1)).map(i=>i[t]).reverse().reduce((i,o)=>{const l={};o.filter(f=>{let d;const h=Object.keys(f);for(let y=0;y<h.length;y+=1){const g=h[y],_=g.toLowerCase();e.indexOf(_)!==-1&&!(d==="rel"&&f[d].toLowerCase()==="canonical")&&!(_
8==="rel"&&f[_].toLowerCase()==="stylesheet")&&(d=_),e.indexOf(g)!==-1&&(g==="innerHTML"||g==="cssText"||g==="itemprop")&&(d=g)}if(!d||!f[d])return!1;const m=f[d].toLowerCase();return r[d]||(r[d]={}),l[d]||(l[d]={}),r[d][m]?!1:(l[d][m]=!0,!0)}).reverse().forEach(f=>i.push(f));const u=Object.keys(l);for(let f=0;f<u.length;f+=1){const d=u[f],h={...r[d],...l[d]};r[d]=h}return i},[]).reverse()},TO=(t,e)=>{if(Array.isArray(t)&&t.length){for(let n=0;n<t.length;n+=1)if(t[n][e])return!0}return!1},CO=t=>({baseTag:_O(["href"],t),bodyAttributes:Wg("bodyAttributes",t),defer:wc(t,vc.DEFER),encode:wc(t,vc.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Wg("htmlAttributes",t),linkTags:xf("link",["rel","href"],t),metaTags:xf("meta",["name","charset","http-equiv","property","itemprop"],t),noscriptTags:xf("noscript",["innerHTML"],t),onChangeClientState:xO(t),scriptTags:xf("script",["src","innerHTML"],t),styleTags:xf("style",["cssText"],t),title:wO(t),titleAttributes:Wg("titleAttributes",t),prioritizeSeoTags:TO(t,vc.PRIORITIZE_SEO_TAGS)}),tC=t=>Array.isArray(t)?t.join(""):t,bO=(t,e)=>{const n=Object.keys(t);for(let r=0;r<n.length;r+=1)if(e[n[r]]&&e[n[r]].includes(t[n[r]]))return!0;return!1},Hg=(t,e)=>Array.isArray(t)?t.reduce((n,r)=>(bO(r,e)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:t,priority:[]},A_=(t,e)=>({...t,[e]:void 0}),EO=["noscript","script","style"],Wy=(t,e=!0)=>e===!1?String(t):String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),nC=t=>Object.keys(t).reduce((e,n)=>{const r=typeof t[n]<"u"?`${n}="${t[n]}"`:`${n}`;return e?`${e} ${r}`:r},""),PO=(t,e,n,r)=>{const i=nC(n),o=tC(e);return i?`<${t} ${Lo}="true" ${i}>${Wy(o,r)}</${t}>`:`<${t} ${Lo}="true">${Wy(o,r)}</${t}>`},kO=(t,e,n=!0)=>e.reduce((r,i)=>{const o=i,l=Object.keys(o).filter(d=>!(d==="innerHTML"||d==="cssText")).reduce((d,h)=>{const m=typeof o[h]>"u"?h:`${h}="${Wy(o[h],n)}"`;return d?`${d} ${m}`:m},""),u=o.innerHTML||o.cssText||"",f=EO.indexOf(t)===-1;return`${r}<${t} ${Lo}="true" ${l}${f?"/>":`>${u}</${t}>`}`},""),rC=(t,e={})=>Object.keys(t).reduce((n,r)=>{const i=u0[r];return n[i||r]=t[r],n},e),RO=(t,e,n)=>{const r={key:e,[Lo]:!0},i=rC(n,r);return[ve.createElement("title",i,e)]},rp=(t,e)=>e.map((n,r)=>{const i={key:r,[Lo]:!0};return Object.keys(n).forEach(o=>{const u=u0[o]||o;if(u==="innerHTML"||u==="cssText"){const f=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:f}}else i[u]=n[o]}),ve.createElement(t,i)}),io=(t,e,n=!0)=>{switch(t){case"title":return{toComponent:()=>RO(t,e.title,e.titleAttributes),toString:()=>PO(t,e.title,e.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>rC(e),toString:()=>nC(e)};default:return{toComponent:()=>rp(t,e),toString:()=>kO(t,e,n)}}},OO=({metaTags:t,linkTags:e,scriptTags:n,encode:r})=>{const i=Hg(t,Ug.meta),o=Hg(e,Ug.link),l=Hg(n,Ug.script);return{priorityMethods:{toComponent:()=>[...rp("meta",i.priority),...rp("link",o.priority),...rp("script",l.priority)],toString:()=>`${io("meta",i.priority,r)} ${io("link",o.priority,r)} ${io("script",l.priority,r)}`},metaTags:i.default,linkTags:o.default,scriptTags:l.default}},AO=t=>{const{baseTag:e,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:o,styleTags:l,title:u="",titleAttributes:f,prioritizeSeoTags:d}=t;let{linkTags:h,metaTags:m,scriptTags:y}=t,g={toComponent:()=>{},toString:()=>""};return d&&({priorityMethods:g,linkTags:h,metaTags:m,scriptTags:y}=OO(t)),{priority:g,base:io("base",e,r),bodyAttributes:io("bodyAttributes",n,r),htmlAttributes:io("htmlAttributes",i,r),link:io("link",h,r),meta:io("meta",m,r),noscript:io("noscript",o,r),script:io("script",y,r),style:io("style",l,r),title:io("title",{title:u,titleAttributes:f},r)}},Hy=AO,Rh=[],iC=!!(typeof window<"u"&&window.document&&window.document.createElement),Yy=class{instances=[];canUseDOM=iC;context;value={setHelmet:t=>{this.context.helmet=t},helmetInstances:{get:()=>this.canUseDOM?Rh:this.instances,add:t=>{(this.canUseDOM?Rh:this.instances).push(t)},remove:t=>{const e=(this.canUseDOM?Rh:this.instances).indexOf(t);(this.canUseDOM?Rh:this.instances).splice(e,1)}}};constructor(t,e){this.context=t,this.canUseDOM=e||!1,e||(t.helmet=Hy({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},MO={},sC=ve.createContext(MO),DO=class oC extends T.Component{static canUseDOM=iC;helmetData;constructor(e){super(e),this.helmetData=new Yy(this.props.context||{},oC.canUseDOM)}render(){return ve.createElement(sC.Provider,{value:this.helmetData.value},this.props.children)}},ec=(t,e)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${t}[${Lo}]`),i=[].slice.call(r),o=[];let l;return e&&e.length&&e.forEach(u=>{const f=document.createElement(t);for(const d in u)if(Object.prototype.hasOwnProperty.call(u,d))if(d==="innerHTML")f.innerHTML=u.innerHTML;else if(d==="cssText")f.styleSheet?f.styleSheet.cssText=u.cssText:f.appendChild(document.createTextNode(u.cssText));else{const h=d,m=typeof u[h]>"u"?"":u[h];f.setAttribute(d,m)}f.setAttribute(Lo,"true"),i.some((d,h)=>
8(l=h,f.isEqualNode(d)))?i.splice(l,1):o.push(f)}),i.forEach(u=>u.parentNode?.removeChild(u)),o.forEach(u=>n.appendChild(u)),{oldTags:i,newTags:o}},Ky=(t,e)=>{const n=document.getElementsByTagName(t)[0];if(!n)return;const r=n.getAttribute(Lo),i=r?r.split(","):[],o=[...i],l=Object.keys(e);for(const u of l){const f=e[u]||"";n.getAttribute(u)!==f&&n.setAttribute(u,f),i.indexOf(u)===-1&&i.push(u);const d=o.indexOf(u);d!==-1&&o.splice(d,1)}for(let u=o.length-1;u>=0;u-=1)n.removeAttribute(o[u]);i.length===o.length?n.removeAttribute(Lo):n.getAttribute(Lo)!==l.join(",")&&n.setAttribute(Lo,l.join(","))},LO=(t,e)=>{typeof t<"u"&&document.title!==t&&(document.title=tC(t)),Ky("title",e)},M_=(t,e)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:o,metaTags:l,noscriptTags:u,onChangeClientState:f,scriptTags:d,styleTags:h,title:m,titleAttributes:y}=t;Ky("body",r),Ky("html",i),LO(m,y);const g={baseTag:ec("base",n),linkTags:ec("link",o),metaTags:ec("meta",l),noscriptTags:ec("noscript",u),scriptTags:ec("script",d),styleTags:ec("style",h)},_={},w={};Object.keys(g).forEach(S=>{const{newTags:C,oldTags:b}=g[S];C.length&&(_[S]=C),b.length&&(w[S]=g[S].oldTags)}),e&&e(),f(t,_,w)},_f=null,NO=t=>{_f&&cancelAnimationFrame(_f),t.defer?_f=requestAnimationFrame(()=>{M_(t,()=>{_f=null})}):(M_(t),_f=null)},IO=NO,D_=class extends T.Component{rendered=!1;shouldComponentUpdate(t){return!yO(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:e}=this.props.context;let n=null;const r=CO(t.get().map(i=>{const o={...i.props};return delete o.context,o}));DO.canUseDOM?IO(r):Hy&&(n=Hy(r)),e(n)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},d5=class extends T.Component{static defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1};shouldComponentUpdate(t){return!dO(A_(this.props,"helmetData"),A_(t,"helmetData"))}mapNestedChildrenToProps(t,e){if(!e)return null;switch(t.type){case"script":case"noscript":return{innerHTML:e};case"style":return{cssText:e};default:throw new Error(`<${t.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(t,e,n,r){return{...e,[t.type]:[...e[t.type]||[],{...n,...this.mapNestedChildrenToProps(t,r)}]}}mapObjectTypeChildren(t,e,n,r){switch(t.type){case"title":return{...e,[t.type]:r,titleAttributes:{...n}};case"body":return{...e,bodyAttributes:{...n}};case"html":return{...e,htmlAttributes:{...n}};default:return{...e,[t.type]:{...n}}}}mapArrayTypeChildrenToProps(t,e){let n={...e};return Object.keys(t).forEach(r=>{n={...n,[r]:t[r]}}),n}warnOnInvalidChildren(t,e){return k_(O_.some(n=>t.type===n),typeof t.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${O_.join(", ")} are allowed. Helmet does not support rendering <${t.type}> elements. Refer to our API for more information.`),k_(!e||typeof e=="string"||Array.isArray(e)&&!e.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${t.type}>. Did you forget to wrap your children in braces? ( <${t.type}>{\`\`}</${t.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(t,e){let n={};return ve.Children.forEach(t,r=>{if(!r||!r.props)return;const{children:i,...o}=r.props,l=Object.keys(o).reduce((f,d)=>(f[vO[d]||d]=o[d],f),{});let{type:u}=r;
8switch(typeof u=="symbol"?u=u.toString():this.warnOnInvalidChildren(r,i),u){case"Symbol(react.fragment)":e=this.mapChildrenToProps(i,e);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,l,i);break;default:e=this.mapObjectTypeChildren(r,e,l,i);break}}),this.mapArrayTypeChildrenToProps(n,e)}render(){const{children:t,...e}=this.props;let n={...e},{helmetData:r}=e;if(t&&(n=this.mapChildrenToProps(t,n)),r&&!(r instanceof Yy)){const i=r;r=new Yy(i.context,!0),delete n.helmetData}return r?ve.createElement(D_,{...n,context:r.value}):ve.createElement(sC.Consumer,null,i=>ve.createElement(D_,{...n,context:i}))}},sm=JT();const aC=jc(sm);function rd(){return rd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},rd.apply(this,arguments)}var dl;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(dl||(dl={}));const L_="popstate";function FO(t){t===void 0&&(t={});function e(r,i){let{pathname:o,search:l,hash:u}=r.location;return Xy("",{pathname:o,search:l,hash:u},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Ep(i)}return zO(e,n,null,t)}function wr(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function c0(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function VO(){return Math.random().toString(36).substr(2,8)}function N_(t,e){return{usr:t.state,key:t.key,idx:e}}function Xy(t,e,n,r){return n===void 0&&(n=null),rd({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?$c(e):e,{state:n,key:e&&e.key||r||VO()})}function Ep(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function $c(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function zO(t,e,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,u=dl.Pop,f=null,d=h();d==null&&(d=0,l.replaceState(rd({},l.state,{idx:d}),""));function h(){return(l.state||{idx:null}).idx}function m(){u=dl.Pop;let S=h(),C=S==null?null:S-d;d=S,f&&f({action:u,location:w.location,delta:C})}function y(S,C){u=dl.Push;let b=Xy(w.location,S,C);d=h()+1;let R=N_(b,d),P=w.createHref(b);try{l.pushState(R,"",P)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;i.location.assign(P)}o&&f&&f({action:u,location:w.location,delta:1})}function g(S,C){u=dl.Replace;let b=Xy(w.location,S,C);d=h();let R=N_(b,d),P=w.createHref(b);l.replaceState(R,"",P),o&&f&&f({action:u,location:w.location,delta:0})}function _(S){let C=i.location.origin!=="null"?i.location.origin:i.location.href,b=typeof S=="string"?S:Ep(S);return b=b.replace(/ $/,"%20"),wr(C,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,C)}let w={get action(){return u},get location(){return t(i,l)},listen(S){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(L_,m),f=S,()=>{i.removeEventListener(L_,m),f=null}},createHref(S){return e(i,S)},createURL:_,encodeLocation(S){let C=_(S);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:y,replace:g,go(S){return l.go(S)}};return w}var I_;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(I_||(I_={}));function jO(t,e,n){return n===void 0&&(n="/"),$O(t,e,n)}function $O(t,e,n,r){let i=typeof e=="string"?$c(e):e,o=f0(i.pathname||"/",n);if(o==null)return null;let l=lC(t);BO(l);let u=null;for(let f=0;u==null&&f<l.length;++f){let d=eA(o);u=QO(l[f],d)}return u}function lC(t,e,n,r){e===void 0&&(e=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,l,u)=>{let f={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};f.relativePath.startsWith("/")&&(wr(f.relativePath.startsWith(r),'Absolute route path "'+f.relativePath+'" nested under path '+('"'+r+'" is not val
8id. An absolute child route path ')+"must start with the combined path of all its parent routes."),f.relativePath=f.relativePath.slice(r.length));let d=wl([r,f.relativePath]),h=n.concat(f);o.children&&o.children.length>0&&(wr(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+d+'".')),lC(o.children,e,h,d)),!(o.path==null&&!o.index)&&e.push({path:d,score:GO(d,o.index),routesMeta:h})};return t.forEach((o,l)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))i(o,l);else for(let f of uC(o.path))i(o,l,f)}),e}function uC(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let l=uC(r.join("/")),u=[];return u.push(...l.map(f=>f===""?o:[o,f].join("/"))),i&&u.push(...l),u.map(f=>t.startsWith("/")&&f===""?"/":f)}function BO(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:qO(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const UO=/^:[\w-]+$/,WO=3,HO=2,YO=1,KO=10,XO=-2,F_=t=>t==="*";function GO(t,e){let n=t.split("/"),r=n.length;return n.some(F_)&&(r+=XO),e&&(r+=HO),n.filter(i=>!F_(i)).reduce((i,o)=>i+(UO.test(o)?WO:o===""?YO:KO),r)}function qO(t,e){return t.length===e.length&&t.slice(0,-1).every((r,i)=>r===e[i])?t[t.length-1]-e[e.length-1]:0}function QO(t,e,n){let{routesMeta:r}=t,i={},o="/",l=[];for(let u=0;u<r.length;++u){let f=r[u],d=u===r.length-1,h=o==="/"?e:e.slice(o.length)||"/",m=ZO({path:f.relativePath,caseSensitive:f.caseSensitive,end:d},h),y=f.route;if(!m)return null;
vendor: 7,075 bytes, line 8
8Object.assign(i,m.params),l.push({params:i,pathname:wl([o,m.pathname]),pathnameBase:sA(wl([o,m.pathnameBase])),route:y}),m.pathnameBase!=="/"&&(o=wl([o,m.pathnameBase]))}return l}function ZO(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=JO(t.path,t.caseSensitive,t.end),i=e.match(n);if(!i)return null;let o=i[0],l=o.replace(/(.)\/+$/,"$1"),u=i.slice(1);return{params:r.reduce((d,h,m)=>{let{paramName:y,isOptional:g}=h;if(y==="*"){let w=u[m]||"";l=o.slice(0,o.length-w.length).replace(/(.)\/+$/,"$1")}const _=u[m];return g&&!_?d[y]=void 0:d[y]=(_||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:l,pattern:t}}function JO(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),c0(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,f)=>(r.push({paramName:u,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),r]}function eA(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return c0(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function f0(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}const tA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,nA=t=>tA.test(t);function rA(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:i=""}=typeof t=="string"?$c(t):t,o;if(n)if(nA(n))o=n;else{if(n.includes("//")){let l=n;n=n.replace(/\/\/+/g,"/"),c0(!1,"Pathnames cannot have embedded double slashes - normalizing "+(l+" -> "+n))}n.startsWith("/")?o=V_(n.substring(1),"/"):o=V_(n,e)}else o=e;return{pathname:o,search:oA(r),hash:aA(i)}}function V_(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Yg(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function iA(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function d0(t,e){let n=iA(t);return e?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function h0(t,e,n,r){r===void 0&&(r=!1);let i;typeof t=="string"?i=$c(t):(i=rd({},t),wr(!i.pathname||!i.pathname.includes("?"),Yg("?","pathname","search",i)),wr(!i.pathname||!i.pathname.includes("#"),Yg("#","pathname","hash",i)),wr(!i.search||!i.search.includes("#"),Yg("#","search","hash",i)));let o=t===""||i.pathname==="",l=o?"/":i.pathname,u;if(l==null)u=n;else{let m=e.length-1;if(!r&&l.startsWith("..")){let y=l.split("/");for(;y[0]==="..";)y.shift(),m-=1;i.pathname=y.join("/")}u=m>=0?e[m]:"/"}let f=rA(i,u),d=l&&l!=="/"&&l.endsWith("/"),h=(o||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(d||h)&&(f.pathname+="/"),f}const wl=t=>t.join("/").replace(/\/\/+/g,"/"),sA=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),oA=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,aA=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function lA(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const cC=["post","put","patch","delete"];new Set(cC);const uA=["get",...cC];new Set(uA);function id(){return id=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},id.apply(this,arguments)}const p0=T.createContext(null),cA=T.createContext(null),Ol=T.createContext(null),om=T.createContext(null),ca=T.createContext({outlet:null,matches:[],isDataRoute:!1}),fC=T.createContext(null);function fA(t,e){let{relative:n}=e===void 0?{}:e;Bc()||wr(!1);let{basename:r,navigator:i}=T.useContext(Ol),{hash:o,pathname:l,search:u}=pC(t,{relative:n}),f=l;return r!=="/"&&(f=l==="/"?r:wl([r,l])),i.createHref({pathname:f,search:u,hash:o})}function Bc(){return T.useContext(om)!=null}function Td(){return Bc()||wr(!1),T.useContext(om).location}function dC(t){T.useContext(Ol).static||T.useLayoutEffect(t)}function hC(){let{isDataRoute:t}=T.useContext(ca);return t?EA():dA()}function dA(){Bc()||wr(!1);let t=T.useContext(p0),{basename:e,future:n,navigator:r}=T.useContext(Ol),{matches:i}=T.useContext(ca),{pathname:o}=Td(),l=JSON.stringify(d0(i,n.v7_relativeSplatPath)),u=T.useRef(!1);return dC(()=>{u.current=!0}),T.useCallback(function(d,h){if(h===void 0&&(h={}),!u.current)return;if(typeof d=="number"){r.go(d);return}let m=h0(d,JSON.parse(l),o,h.relative==="path");t==null&&e!=="/"&&(m.pathname=m.pathname==="/"?e:wl([e,m.pathname])),(h.replace?r.replace:r.push)(m,h.state,h)},[e,r,l,o,t])}const hA=T.createContext(null);function pA(t){let e=T.useContext(ca).outlet;return e&&T.createElement(hA.Provider,{value:t},e)}function h5(){let{matches:t}=T.useContext(ca),e=t[t.length-1];return e?e.params:{}}function pC(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=T.useContext(Ol),{matches:i}=T.useContext(ca),{pathname:o}=Td(),l=JSON.stringify(d0(i,r.v7_relativeSplatPath));return T.useMemo(()=>h0(t,JSON.parse(l),o,n==="path"),[t,l,o,n])}function mA(t,e){return gA(t,e)}function gA(t,e,n,r){Bc()||wr(!1);let{navigator:i}=T.useContext(Ol),{matches:o}=T.useContext(ca),l=o[o.length-1],u=l?l.params:{};l&&l.pathname;let f=l?l.pathnameBase:"/";l&&l.route;let d=Td(),h;if(e){var m;let S=typeof e=="string"?$c(e):e;f==="/"||(m=S.pathname)!=null&&m.startsWith(f)||wr(!1),h=S}else h=d;let y=h.pathname||"/",g=y;if(f!=="/"){let S=f.replace(/^\//,"").split("/");g="/"+y.replace(/^\//,"").split("/").slice(S.length).join("/")}let _=jO(t,{pathname:g}),w=_A(_&&_.map(S=>Object.assign({},S,{params:Object.assign({},u,S.params),pathname:wl([f,i.encodeLocation?i.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?f:wl([f,i.encodeLocation?i.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),o,n,r);return e&&w?T.createElement(om.Provider,{value:{location:id({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:dl.Pop}},w):w}function yA(){let t=bA(),e=lA(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application 
8Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},e),n?T.createElement("pre",{style:i},n):null,null)}const vA=T.createElement(yA,null);class wA extends T.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?T.createElement(ca.Provider,{value:this.props.routeContext},T.createElement(fC.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function xA(t){let{routeContext:e,match:n,children:r}=t,i=T.useContext(p0);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),T.createElement(ca.Provider,{value:e},r)}function _A(t,e,n,r){var i;if(e===void 0&&(e=[]),n===void 0&&(n=null),r===void 0&&(r=null),t==null){var o;if(!n)return null;if(n.errors)t=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let l=t,u=(i=n)==null?void 0:i.errors;if(u!=null){let h=l.findIndex(m=>m.route.id&&u?.[m.route.id]!==void 0);h>=0||wr(!1),l=l.slice(0,Math.min(l.length,h+1))}let f=!1,d=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h<l.length;h++){let m=l[h];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(d=h),m.route.id){let{loaderData:y,errors:g}=n,_=m.route.loader&&y[m.route.id]===void 0&&(!g||g[m.route.id]===void 0);if(m.route.lazy||_){f=!0,d>=0?l=l.slice(0,d+1):l=[l[0]];break}}}return l.reduceRight((h,m,y)=>{let g,_=!1,w=null,S=null;n&&(g=u&&m.route.id?u[m.route.id]:void 0,w=m.route.errorElement||vA,f&&(d<0&&y===0?(PA("route-fallback"),_=!0,S=null):d===y&&(_=!0,S=m.route.hydrateFallbackElement||null)));let C=e.concat(l.slice(0,y+1)),b=()=>{let R;return g?R=w:_?R=S:m.route.Component?R=T.createElement(m.route.Component,null):m.route.element?R=m.route.element:R=h,T.createElement(xA,{match:m,routeContext:{outlet:h,matches:C,isDataRoute:n!=null},children:R})};return n&&(m.route.ErrorBoundary||m.route.errorElement||y===0)?T.createElement(wA,{location:n.location,revalidation:n.revalidation,component:w,error:g,children:b(),routeContext:{outlet:null,matches:C,isDataRoute:!0}}):b()},null)}var mC=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(mC||{}),gC=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(gC||{});function SA(t){let e=T.useContext(p0);return e||wr(!1),e}function TA(t){let e=T.useContext(cA);return e||wr(!1),e}function CA(t){let e=T.useContext(ca);return e||wr(!1),e}function yC(t){let e=CA(),n=e.matches[e.matches.length-1];return n.route.id||wr(!1),n.route.id}function bA(){var t;let e=T.useContext(fC),n=TA(),r=yC();return e!==void 0?e:(t=n.errors)==null?void 0:t[r]}function EA(){let{router:t}=SA(mC.UseNavigateStable),e=yC(gC.UseNavigateStable),n=T.useRef(!1);return dC(()=>{n.current=!0}),T.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?t.navigate(i):t.navigate(i,id({fromRouteId:e},o)))},[t,e])}const z_={};function PA(t,e,n){z_[t]||(z_[t]=!0)}function kA(t,e){t?.v7_startTransition,t?.v7_relativeSplatPath}function p5(t){let{to:e,replace:n,state:r,relative:i}=t;Bc()||wr(!1);let{future:o,static:l}=T.useContext(Ol),{matches:u}=T.useContext(ca),{pathname:f}=Td(),d=hC(),h=h0(e,d0(u,o.v7_relativeSplatPath),f,i==="path"),m=JSON.stringify(h);return T.useEffect(()=>d(JSON.parse(m),{replace:n,state:r,relative:i}),[d,m,i,n,r]),null}function m5(t){return pA(t.context)}function RA(t){wr(!1)}function OA(t){let{basename:e="/",children:n=null,location:r,navigationType:i=dl.Pop,navigator:o,static:l=!1,future:u}=t;Bc()&&wr(!1);let f=e.replace(/^\/*/,"/"),d=T.useMemo(()=>({basename:f,navigator:o,static:l,future:id({v7_relativeSplatPath:!1},u)}),[f,u,o,l]);typeof r=="string"&&(r=$c(r));let{pathname:h="/",search:m="",hash:y="",state:g=null,key:_="default"}=r,w=T.useMemo(()=>{let S=f0(h,f);return S==null?null:{location:{pathname:S,search:m,hash:y,state:g,key:_},navigationType:i}},[f,h,m,y,g,_,i]);return w==null?null:T.createElement(Ol.Provider,{value:d},T.createElement(om.Provider,{children:n,value:w}))}function g5(t){let{children:e,location:n}=t;return mA(Gy(e),n)}new Promise(()=>{});function Gy(t,e){e===void 0&&(e=[]);let n=[];
8return T.Children.forEach(t,(r,i)=>{if(!T.isValidElement(r))return;let o=[...e,i];if(r.type===T.Fragment){n.push.apply(n,Gy(r.props.children,o));return}r.type!==RA&&wr(!1),!r.props.index||!r.props.children||wr(!1);let l={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=Gy(r.props.children,o)),n.push(l)}),n}function qy(){return qy=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},qy.apply(this,arguments)}function AA(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o<r.length;o++)i=r[o],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}function MA(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function DA(t,e){return t.button===0&&(!e||e==="_self")&&!MA(t)}const LA=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],NA="6";try{window.__reactRouterVersion=NA}catch{}const IA="startTransition",j_=im[IA];function y5(t){let{basename:e,children:n,future:r,window:i}=t,o=T.useRef();o.current==null&&(o.current=FO({window:i,v5Compat:!0}));let l=o.current,[u,f]=T.useState({action:l.action,location:l.location}),{v7_startTransition:d}=r||{},h=T.useCallback(m=>{d&&j_?j_(()=>f(m)):f(m)},[f,d]);return T.useLayoutEffect(()=>l.listen(h),[l,h]),T.useEffect(()=>kA(r),[r]),T.createElement(OA,{basename:e,children:n,location:u.location,navigationType:u.action,navigator:l,future:r})}const FA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",VA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,v5=T.forwardRef(function(e,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:u,target:f,to:d,preventScrollReset:h,viewTransition:m}=e,y=AA(e,LA),{basename:g}=T.useContext(Ol),_,w=!1;if(typeof d=="string"&&VA.test(d)&&(_=d,FA))try{let R=new URL(window.location.href),P=d.startsWith("//")?new URL(R.protocol+d):new URL(d),O=f0(P.pathname,g);P.origin===R.origin&&O!=null?d=O+P.search+P.hash:w=!0}catch{}let S=fA(d,{relative:i}),C=zA(d,{replace:l,state:u,target:f,preventScrollReset:h,relative:i,viewTransition:m});function b(R){r&&r(R),R.defaultPrevented||C(R)}return T.createElement("a",qy({},y,{href:_||S,onClick:w||o?r:b,ref:n,target:f}))});var $_;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})($_||($_={}));var B_;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(B_||(B_={}));function zA(t,e){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l,viewTransition:u}=e===void 0?{}:e,f=hC(),d=Td(),h=pC(t,{relative:l});return T.useCallback(m=>{if(DA(m,n)){m.preventDefault();let y=r!==void 0?r:Ep(d)===Ep(h);f(t,{replace:y,state:i,preventScrollReset:o,relative:l,viewTransition:u})}},[d,f,h,r,i,n,t,o,l,u])}const at=t=>typeof t=="string",Sf=()=>{let t,e;const n=new Promise((r,i)=>{t=r,e=i});return n.resolve=t,n.reject=e,n},U_=t=>t==null?"":""+t,jA=(t,e,n)=>{t.forEach(r=>{e[r]&&(n[r]=e[r])})},$A=/###/g,W_=t=>t&&t.indexOf("###")>-1?t.replace($A,"."):t,H_=t=>!t||at(t),Vf=(t,e,n)=>{const r=at(e)?e.split("."):e;let i=0;for(;i<r.length-1;){if(H_(t))return{};const o=W_(r[i]);!t[o]&&n&&(t[o]=new n),Object.prototype.hasOwnProperty.call(t,o)?t=t[o]:t={},++i}return H_(t)?{}:{obj:t,k:W_(r[i])}},Y_=(t,e,n)=>{const{obj:r,k:i}=Vf(t,e,Object);if(r!==void 0||e.length===1){r[i]=n;return}let o=e[e.length-1],l=e.slice(0,e.length-1),u=Vf(t,l,Object);for(;u.obj===void 0&&l.length;)o=`${l[l.length-1]}.${o}`,l=l.slice(0,l.length-1),u=Vf(t,l,Object),u?.obj&&typeof u.obj[`${u.k}.${o}`]<"u"&&(u.obj=void 0);u.obj[`${u.k}.${o}`]=n},BA=(t,e,n,r)=>{const{obj:i,k:o}=Vf(t,e,Object);i[o]=i[o]||[],i[o].push(n)},Pp=(t,e)=>{const{obj:n,k:r}=Vf(t,e);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},UA=(t,e,n)=>{const r=Pp(t,n);return r!==void 0?r:Pp(e,n)},vC=(t,e,n)=>{for(const r in e)r!=="__proto__"&&r!=="constructor"&&(r in t?at(t[r])||t[r]instanceof String||at(e[r])||e[r]instanceof String?n&&(t[r]=e[r]):vC(t[r],e[r],n):t[r]=e[r]);return t},ou=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var WA={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const HA=t=>at(t)?t.replace(/[&<>
8"'\/]/g,e=>WA[e]):t;class YA{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const n=this.regExpMap.get(e);if(n!==void 0)return n;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}const KA=[" ",",","?","!",";"],XA=new YA(20),GA=(t,e,n)=>{e=e||"",n=n||"";const r=KA.filter(l=>e.indexOf(l)<0&&n.indexOf(l)<0);if(r.length===0)return!0;const i=XA.getRegExp(`(${r.map(l=>l==="?"?"\\?":l).join("|")})`);let o=!i.test(t);if(!o){const l=t.indexOf(n);l>0&&!i.test(t.substring(0,l))&&(o=!0)}return o},Qy=(t,e,n=".")=>{if(!t)return;if(t[e])return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0;const r=e.split(n);let i=t;for(let o=0;o<r.length;){if(!i||typeof i!="object")return;let l,u="";for(let f=o;f<r.length;++f)if(f!==o&&(u+=n),u+=r[f],l=i[u],l!==void 0){if(["string","number","boolean"].indexOf(typeof l)>-1&&f<r.length-1)continue;o+=f-o+1;break}i=l}return i},sd=t=>t?.replace(/_/g,"-"),qA={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console?.[t]?.apply?.(console,e)}};class kp{constructor(e,n={}){this.init(e,n)}init(e,n={}){this.prefix=n.prefix||"i18next:",this.logger=e||qA,this.options=n,this.debug=n.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,n,r,i){return i&&!this.debug?null:(at(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[n](e))}create(e){return new kp(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new kp(this.logger,e)}}var ea=new kp;class am{constructor(){this.observers={}}on(e,n){return e.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const i=this.observers[r].get(n)||0;this.observers[r].set(n,i+1)}),this}off(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e].delete(n)}}emit(e,...n){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([i,o])=>{for(let l=0;l<o;l++)i(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([i,o])=>{for(let l=0;l<o;l++)i.apply(i,[e,...n])})}}class K_ extends am{constructor(e,n={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,r,i={}){const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,l=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let u;e.indexOf(".")>-1?u=e.split("."):(u=[e,n],r&&(Array.isArray(r)?u.push(...r):at(r)&&o?u.push(...r.split(o)):u.push(r)));const f=Pp(this.data,u);return!f&&!n&&!r&&e.indexOf(".")>-1&&(e=u[0],n=u[1],r=u.slice(2).join(".")),f||!l||!at(r)?f:Qy(this.data?.[e]?.[n],r,o)}addResource(e,n,r,i,o={silent:!1}){const l=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let u=[e,n];r&&(u=u.concat(l?r.split(l):r)),e.indexOf(".")>-1&&(u=e.split("."),i=n,n=u[1]),this.addNamespaces(n),Y_(this.data,u,i),o.silent||this.emit("added",e,n,r,i)}addResources(e,n,r,i={silent:!1}){for(const o in r)(at(r[o])||Array.isArray(r[o]))&&this.addResource(e,n,o,r[o],{silent:!0});i.silent||this.emit("added",e,n,r)}addResourceBundle(e,n,r,i,o,l={silent:!1,skipCopy:!1}){let u=[e,n];e.indexOf(".")>-1&&(u=e.split("."),i=r,r=n,n=u[1]),this.addNamespaces(n);let f=Pp(this.data,u)||{};l.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?vC(f,r,o):f={...f,...r},Y_(this.data,u,f),l.silent||this.emit("added",e,n,r)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit
vendor: 5,613 bytes, line 8
8("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var wC={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,r,i){return t.forEach(o=>{e=this.processors[o]?.process(e,n,r,i)??e}),e}};const xC=Symbol("i18next/PATH_KEY");function QA(){const t=[],e=Object.create(null);let n;return e.get=(r,i)=>(n?.revoke?.(),i===xC?t:(t.push(i),n=Proxy.revocable(r,e),n.proxy)),Proxy.revocable(Object.create(null),e).proxy}function Rp(t,e){const{[xC]:n}=t(QA());return n.join(e?.keySeparator??".")}const X_={},Kg=t=>!at(t)&&typeof t!="boolean"&&typeof t!="number";class Op extends am{constructor(e,n={}){super(),jA(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ea.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,n={interpolation:{}}){const r={...n};if(e==null)return!1;const i=this.resolve(e,r);if(i?.res===void 0)return!1;const o=Kg(i.res);return!(r.returnObjects===!1&&o)}extractFromKey(e,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const l=r&&e.indexOf(r)>-1,u=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!GA(e,r,i);if(l&&!u){const f=e.match(this.interpolator.nestingRegexp);if(f&&f.length>0)return{key:e,namespaces:at(o)?[o]:o};const d=e.split(r);(r!==i||r===i&&this.options.ns.indexOf(d[0])>-1)&&(o=d.shift()),e=d.join(i)}return{key:e,namespaces:at(o)?[o]:o}}translate(e,n,r){let i=typeof n=="object"?{...n}:n;if(typeof i!="object"&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i=="object"&&(i={...i}),i||(i={}),e==null)return"";typeof e=="function"&&(e=Rp(e,{...this.options,...i})),Array.isArray(e)||(e=[String(e)]);const o=i.returnDetails!==void 0?i.returnDetails:this.options.returnDetails,l=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,{key:u,namespaces:f}=this.extractFromKey(e[e.length-1],i),d=f[f.length-1];let h=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;h===void 0&&(h=":");const m=i.lng||this.language,y=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(m?.toLowerCase()==="cimode")return y?o?{res:`${d}${h}${u}`,usedKey:u,exactUsedKey:u,usedLng:m,usedNS:d,usedParams:this.getUsedParamsDetails(i)}:`${d}${h}${u}`:o?{res:u,usedKey:u,exactUsedKey:u,usedLng:m,usedNS:d,usedParams:this.getUsedParamsDetails(i)}:u;const g=this.resolve(e,i);let _=g?.res;const w=g?.usedKey||u,S=g?.exactUsedKey||u,C=["[object Number]","[object Function]","[object RegExp]"],b=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,R=!this.i18nFormat||this.i18nFormat.handleAsObject,P=i.count!==void 0&&!at(i.count),O=Op.hasDefaultValue(i),N=P?this.pluralResolver.getSuffix(m,i.count,i):"",L=i.ordinal&&P?this.pluralResolver.getSuffix(m,i.count,{ordinal:!1}):"",F=P&&!i.ordinal&&i.count===0,j=F&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${N}`]||i[`defaultValue${L}`]||i.defaultValue;let B=_;R&&!_&&O&&(B=j);const re=Kg(B),W=Object.prototype.toString.apply(B);if(R&&B&&re&&C.indexOf(W)<0&&!(at(b)&&Array.isArray(B))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const ie=this.options.returnedObjectHandler?this.options.returnedObjectHandler(w,B,{...i,ns:f}):`key '${u} (${this.language})' returned an object instead of string.`;return o?(g.res=ie,g.usedParams=this.getUsedParamsDetails(i),g):ie}if(l){const ie=Array.isArray(B),ee=ie?[]:{},me=ie?S:w;for(const le in B)if(Object.prototype.hasOwnProperty.call(B,le)){const ae=`${me}${l}${le}`;O&&!_?ee[le]=this.translate(ae,{...i,defaultValue:Kg(j)?j[le]:void 0,joinArrays:!1,ns:f}):ee[le]=this.translate(ae,{...i,joinArrays:!1,ns:f}),ee[le]===ae&&(ee[le]=B[le])}_=ee}}else if(R&&at(b)&&Array.isArray(_))_=_.join(b),_&&(_=this.extendTranslation(_,e,i,r));else{let ie=!1,ee=!1;!this.isValidLookup(_)&&O&&(ie=!0,_=j),this.isValidLookup(_)||(ee=!0,_=u);const le=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&ee?void 0:_,ae=O&&j!==_&&this.options.updateMissing;if(ee||ie||ae){if(this.logger.log(ae?"updateKey":"missingKey",m,d,u,ae?j:_),l){const V=this.resolve(u,{...i,keySeparator:!1});V&&V.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let $=[];const K=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&K&&K[0])for(let V=0;V<K.length;V++)$.push(K[V]);else this.options.saveMissingTo==="all"?$=this.languageUtils.toResolveHierarchy(i.lng||this.language):$.push(i.lng||this.language);const D=(V,G,ye)=>{const pe=O&&ye!==_?ye:le;this.options.missingKeyHandler?this.options.missingKeyHandler(V,d,G,pe,ae,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(V,d,G,pe,ae,i),this.emit
vendor: 27,049 bytes, line 8
8("missingKey",V,d,G,_)};this.options.saveMissing&&(this.options.saveMissingPlurals&&P?$.forEach(V=>{const G=this.pluralResolver.getSuffixes(V,i);F&&i[`defaultValue${this.options.pluralSeparator}zero`]&&G.indexOf(`${this.options.pluralSeparator}zero`)<0&&G.push(`${this.options.pluralSeparator}zero`),G.forEach(ye=>{D([V],u+ye,i[`defaultValue${ye}`]||j)})}):D($,u,j))}_=this.extendTranslation(_,e,i,g,r),ee&&_===u&&this.options.appendNamespaceToMissingKey&&(_=`${d}${h}${u}`),(ee||ie)&&this.options.parseMissingKeyHandler&&(_=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${d}${h}${u}`:u,ie?_:void 0,i))}return o?(g.res=_,g.usedParams=this.getUsedParamsDetails(i),g):_}extendTranslation(e,n,r,i,o){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const f=at(e)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(f){const m=e.match(this.interpolator.nestingRegexp);d=m&&m.length}let h=r.replace&&!at(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),e=this.interpolator.interpolate(e,h,r.lng||this.language||i.usedLng,r),f){const m=e.match(this.interpolator.nestingRegexp),y=m&&m.length;d<y&&(r.nest=!1)}!r.lng&&i&&i.res&&(r.lng=this.language||i.usedLng),r.nest!==!1&&(e=this.interpolator.nest(e,(...m)=>o?.[0]===m[0]&&!r.context?(this.logger.warn(`It seems you are nesting recursively key: ${m[0]} in key: ${n[0]}`),null):this.translate(...m,n),r)),r.interpolation&&this.interpolator.reset()}const l=r.postProcess||this.options.postProcess,u=at(l)?[l]:l;return e!=null&&u?.length&&r.applyPostProcessor!==!1&&(e=wC.handle(u,e,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,n={}){let r,i,o,l,u;return at(e)&&(e=[e]),e.forEach(f=>{if(this.isValidLookup(r))return;const d=this.extractFromKey(f,n),h=d.key;i=h;let m=d.namespaces;this.options.fallbackNS&&(m=m.concat(this.options.fallbackNS));const y=n.count!==void 0&&!at(n.count),g=y&&!n.ordinal&&n.count===0,_=n.context!==void 0&&(at(n.context)||typeof n.context=="number")&&n.context!=="",w=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);m.forEach(S=>{this.isValidLookup(r)||(u=S,!X_[`${w[0]}-${S}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(u)&&(X_[`${w[0]}-${S}`]=!0,this.logger.warn(`key "${i}" for languages "${w.join(", ")}" won't get resolved as namespace "${u}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),w.forEach(C=>{if(this.isValidLookup(r))return;l=C;const b=[h];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(b,h,C,S,n);else{let P;y&&(P=this.pluralResolver.getSuffix(C,n.count,n));const O=`${this.options.pluralSeparator}zero`,N=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(y&&(n.ordinal&&P.indexOf(N)===0&&b.push(h+P.replace(N,this.options.pluralSeparator)),b.push(h+P),g&&b.push(h+O)),_){const L=`${h}${this.options.contextSeparator||"_"}${n.context}`;b.push(L),y&&(n.ordinal&&P.indexOf(N)===0&&b.push(L+P.replace(N,this.options.pluralSeparator)),b.push(L+P),g&&b.push(L+O))}}let R;for(;R=b.pop();)this.isValidLookup(r)||(o=R,r=this.getResource(C,S,R,n))}))})}),{res:r,usedKey:i,exactUsedKey:o,usedLng:l,usedNS:u}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,r,i={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,n,r,i):this.resourceStore.getResource(e,n,r,i)}getUsedParamsDetails(e={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!at(e.replace);let i=r?e.replace:e;if(r&&typeof e.count<"u"&&(i.count=e.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const o of n)delete i[o]}return i}static hasDefaultValue(e){const n="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&n===r.substring(0,n.length)&&e[r]!==void 0)return!0;return!1}}class G_{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ea.create("languageUtils")}getScriptPartFromCode(e){if(e=sd(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=sd(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(at(e)&&e.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(e)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(r=>{if(n)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&e.forEach(r=>{if(n)return;const i=this.getScriptPartFromCode(r);if(this.isSupportedCode(i))return n=i;const o=this.getLanguagePartFromCode(r);if(this.isSupportedCode(o))return n=o;n=this.options.supportedLngs.find(l=>{if(l===o)return l;if(!(l.indexOf("-")<0&&o.indexOf("-")<0)&&(l.indexOf("-")>0&&o.indexOf("-")<0&&l.substring(0,l.indexOf("-"))===o||l.indexOf(o)===0&&o.length>1))return l})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),at(e)&&(e=[e]),Array.isArray(e))return e;if(!n)return e.default||[];let r=e[n];return r||(r=e[this.getScriptPartFromCode(n)]),r||(r=e[this.formatLanguageCode(n)]),r||(r=e[this.getLanguagePartFromCode(n)]),r||(r=e.default),r||[]}toResolveHierarchy(e,n){const r=this.getFallbackCodes((n===!1?[]:n)||this.options.fallbackLng||[],e),i=[],o=l=>{l&&(this.isSupportedCode(l)?i.push(l):this.logger.warn(`rejecting language code not found in supportedLngs: ${l}`))};return at(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(e))):at(e)&&o(this.formatLanguageCode(e)),r.forEach(l=>{i.indexOf(l)<0&&o(this.formatLanguageCode(l))}),i}}const q_={zero:0,one:1,two:2,few:3,many:4,other:5},Q_={select:t=>t===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class ZA{constructor(e,n={}){this.languageUtils=e,this.options=n,this.logger=ea.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,n={}){const r=sd(e==="dev"?"en":e),i=n.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let l;try{l=new Intl.PluralRules(r,{type:i})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),Q_;if(!e.match(/-|_/))return Q_;const f=this.languageUtils.getLanguagePartFromCode(e);l=this.getRule(f,n)}return this.pluralRulesCache[o]=l,l}needsPlural(e,n={}){let r=this.getRule(e,n);return r||(r=this.getRule("dev",n)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,n,r={}){return this.getSuffixes(e,r).map(i=>`${n}${i}`)}getSuffixes(e,n={}){let r=this.getRule(e,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((i,o)=>q_[i]-q_[o]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):[]}getSuffix(e,n,r={}){const i=this.getRule(e,r);return i?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",n,r))}}const Z_=(t,e,n,r=".",i=!0)=>{let o=UA(t,e,n);return!o&&i&&at(n)&&(o=Qy(t,n,r),o===void 0&&(o=Qy(e,n,r))),o},Xg=t=>t.replace(/\$/g,"$$$$");class J_{constructor(e={}){this.logger=ea.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(n=>n),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:i,prefix:o,prefixEscaped:l,suffix:u,suffixEscaped:f,formatSeparator:d,unescapeSuffix:h,unescapePrefix:m,nestingPrefix:y,nestingPrefixEscaped:g,nestingSuffix:_,nestingSuffixEscaped:w,nestingOptionsSeparator:S,maxReplaces:C,alwaysFormat:b}=e.interpolation;this.escape=n!==void 0?n:HA,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=o?ou(o):l||"{{",this.suffix=u?ou(u):f||"}}",this.formatSeparator=d||",",this.unescapePrefix=h?"":m||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=y?ou(y):g||ou("$t("),this.nestingSuffix=_?ou(_):w||ou(")"),this.nestingOptionsSeparator=S||",",this.maxReplaces=C||1e3,this.alwaysFormat=b!==void 0?b:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(n,r)=>n?.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,n,r,i){let o,l,u;const f=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=g=>{if(g.indexOf(this.formatSeparator)<0){const C=Z_(n,f,g,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(C,void 0,r,{...i,...n,interpolationkey:g}):C}const _=g.split(this.formatSeparator),w=_.shift().trim(),S=_.join(this.formatSeparator).trim();return this.format(Z_(n,f,w,this.options.keySeparator,this.options.ignoreJSONStructure),S,r,{...i,...n,interpolationkey:w})};this.resetRegExp();const h=i?.missingInterpolationHandler||this.options.missingInterpolationHandler,m=i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:g=>Xg(g)},{regex:this.regexp,safeValue:g=>this.escapeValue?Xg(this.escape(g)):Xg(g)}].forEach(g=>{for(u=0;o=g.regex.exec(e);){const _=o[1].trim();if(l=d(_),l===void 0)if(typeof h=="function"){const S=h(e,o,i);l=at(S)?S:""}else if(i&&Object.prototype.hasOwnProperty.call(i,_))l="";else if(m){l=o[0];continue}else this.logger.warn(`missed to pass in variable ${_} for interpolating ${e}`),l="";else!at(l)&&!this.useRawValueToEscape&&(l=U_(l));const w=g.safeValue(l);if(e=e.replace(o[0],w),m?(g.regex.lastIndex+=l.length,g.regex.lastIndex-=o[0].length):g.regex.lastIndex=0,u++,u>=this.maxReplaces)break}}),e}nest(e,n,r={}){let i,o,l;const u=(f,d)=>{const h=this.nestingOptionsSeparator;if(f.indexOf(h)<0)return f;const m=f.split(new RegExp(`${ou(h)}[ ]*{`));let y=`{${m[1]}`;f=m[0],y=this.interpolate(y,l);const g=y.match(/'/g),_=y.match(/"/g);((g?.length??0)%2===0&&!_||(_?.length??0)%2!==0)&&(y=y.replace(/'/g,'"'));try{l=JSON.parse(y),d&&(l={...d,...l})}catch(w){return this.logger.warn(`failed parsing options string in nesting for key ${f}`,w),`${f}${h}${y}`}return l.defaultValue&&l.defaultValue.indexOf(this.prefix)>-1&&delete l.defaultValue,f};for(;i=this.nestingRegexp.exec(e);){let f=[];l={...r},l=l.replace&&!at(l.replace)?l.replace:l,l.applyPostProcessor=!1,delete l.defaultValue;const d=/{.*}/.test(i[1])?i[1].lastIndexOf("}")+1:i[1].indexOf(this.formatSeparator);if(d!==-1&&(f=i[1].slice(d).split(this.formatSeparator).map(h=>h.trim()).filter(Boolean),i[1]=i[1].slice(0,d)),o=n(u.call(this,i[1].trim(),l),l),o&&i[0]===e&&!at(o))return o;at(o)||(o=U_(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),o=""),f.length&&(o=f.reduce((h,m)=>this.format(h,m,r.lng,{...r,interpolationkey:i[1].trim()}),o.trim())),e=e.replace(i[0],o),this.regexp.lastIndex=0}return e}}const JA=t=>{let e=t.toLowerCase().trim();const n={};if(t.indexOf("(")>-1){const r=t.split("(");e=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);e==="currency"&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):e==="relativetime"&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(l=>{if(l){const[u,...f]=l.split(":"),d=f.join(":").trim().replace(/^'+|'+$/g,""),h=u.trim();n[h]||(n[h]=d),d==="false"&&(n[h]=!1),d==="true"&&(n[h]=!0),isNaN(d)||(n[h]=parseInt(d,10))}})}return{formatName:e,formatOptions:n}},e1=t=>{const e={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const l=r+JSON.stringify(o);let u=e[l];return u||(u=t(sd(r),i),e[l]=u),u(n)}},eM=t=>(e,n,r)=>t(sd(n),r)(e);class tM{constructor(e={}){this.logger=ea.create("formatter"),this.options=e,this.init(e)}init(e,n={interpolation:{}}){this.formatSeparator=n.interpolation.formatSeparator||",";const r=n.cacheInBuiltFormats?e1:eM;this.formats={number:r((i,o)=>{const l=new Intl.NumberFormat(i,{...o});return u=>l.format(u)}),currency:r((i,o)=>{const l=new Intl.NumberFormat(i,{...o,style:"currency"});return u=>l.format(u)}),datetime:r((i,o)=>{const l=new Intl.DateTimeFormat(i,{...o});return u=>l.format(u)}),relativetime:r((i,o)=>{const l=new Intl.RelativeTimeFormat(i,{...o});return u=>l.format(u,o.range||"day")}),list:r((i,o)=>{const l=new Intl.ListFormat(i,{...o});return u=>l.format(u)})}}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=e1(n)}format(e,n,r,i={}){const o=n.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(u=>u.indexOf(")")>-1)){const u=o.findIndex(f=>f.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,u)].join(this.formatSeparator)}return o.reduce((u,f)=>{const{formatName:d,formatOptions:h}=JA(f);if(this.formats[d]){let m=u;try{const y=i?.formatParams?.[i.interpolationkey]||{},g=y.locale||y.lng||i.locale||i.lng||r;m=this.formats[d](u,g,{...h,...i,...y})}catch(y){this.logger.warn(y)}return m}else this.logger.warn(`there was no format function for ${d}`);return u},e)}}const nM=(t,e)=>{t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)};class rM extends am{constructor(e,n,r,i={}){super(),this.backend=e,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=ea.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,i.backend,i)}queueLoad(e,n,r,i){const o={},l={},u={},f={};return e.forEach(d=>{let h=!0;n.forEach(m=>{const y=`${d}|${m}`;!r.reload&&this.store.hasResourceBundle(d,m)?this.state[y]=2:this.state[y]<0||(this.state[y]===1?l[y]===void 0&&(l[y]=!0):(this.state[y]=1,h=!1,l[y]===void 0&&(l[y]=!0),o[y]===void 0&&(o[y]=!0),f[m]===void 0&&(f[m]=!0)))}),h||(u[d]=!0)}),(Object.keys(o).length||Object.keys(l).length)&&this.queue.push({pending:l,pendingCount:Object.keys(l).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(l),toLoadLanguages:Object.keys(u),toLoadNamespaces:Object.keys(f)}}loaded(e,n,r){const i=e.split("|"),o=i[0],l=i[1];n&&this.emit("failedLoading",o,l,n),!n&&r&&this.store.addResourceBundle(o,l,r,void 0,void 0,{skipCopy:!0}),this.state[e]=n?-1:2,n&&r&&(this.state[e]=0);const u={};this.queue.forEach(f=>{BA(f.loaded,[o],l),nM(f,e),n&&f.errors.push(n),f.pendingCount===0&&!f.done&&(Object.keys(f.loaded).forEach(d=>{u[d]||(u[d]={});const h=f.loaded[d];h.length&&h.forEach(m=>{u[d][m]===void 0&&(u[d][m]=!0)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",u),this.queue=this.queue.filter(f=>!f.done)}read(e,n,r,i=0,o=this.retryTimeout,l){if(!e.length)return l(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:r,tried:i,wait:o,callback:l});return}this.readingCalls++;const u=(d,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const m=this.waitingReads.shift();this.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(d&&h&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,e,n,r,i+1,o*2,l)},o);return}l(d,h)},f=this.backend[r].bind(this.backend);if(f.length===2){try{const d=f(e,n);d&&typeof d.then=="function"?d.then(h=>u(null,h)).catch(u):u(null,d)}catch(d){u(d)}return}return f(e,n,u)}prepareLoading(e,n,r={},i){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();at(e)&&(e=this.languageUtils.toResolveHierarchy(e)),at(n)&&(n=[n]);const o=this.queueLoad(e,n,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(l=>{this.loadOne(l)})}load(e,n,r){this.prepareLoading(e,n,{},r)}reload(e,n,r){this.prepareLoading(e,n,{reload:!0},r)}loadOne(e,n=""){const r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(l,u)=>{l&&this.logger.warn(`${n}loading namespace ${o} for language ${i} failed`,l),!l&&u&&this.logger.log(`${n}loaded namespace ${o} for language ${i}`,u),this.loaded(e,l,u)})}saveMissing(e,n,r,i,o,l={},u=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend?.create){const f={...l,isUpdate:o},d=this.backend.create.bind(this.backend);if(d.length<6)try{let h;d.length===5?h=d(e,n,r,i,f):h=d(e,n,r,i),h&&typeof h.then=="function"?h.then(m=>u(null,m)).catch(u):u(null,h)}catch(h){u(h)}else d(e,n,r,i,u,f)}!e||!e[0]||this.store.addResource(e[0],n,r,i)}}}const Gg=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let e={};if(typeof t[1]=="object"&&(e=t[1]),at(t[1])&&(e.defaultValue=t[1]),at(t[2])&&(e.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const n=t[3]||t[2];Object.keys(n).forEach(r=>{e[r]=n[r]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),t1=t=>(at(t.ns)&&(t.ns=[t.ns]),at(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),at(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs?.indexOf?.("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),typeof t.initImmediate=="boolean"&&(t.initAsync=t.initImmediate),t),Oh=()=>{},iM=t=>{Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(n=>{typeof t[n]=="function"&&(t[n]=t[n].bind(t))})},_C="__i18next_supportNoticeShown",sM=()=>typeof globalThis<"u"&&!!globalThis[_C],oM=()=>{typeof globalThis<"u"&&(globalThis[_C]=!0)},aM=t=>!!(t?.modules?.backend?.name?.indexOf("Locize")>0||t?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||t?.options?.backend?.backends&&t.options.backend.backends.some(e=>e?.name?.indexOf("Locize")>0||e?.constructor?.name?.indexOf("Locize")>0)||t?.options?.backend?.projectId||t?.options?.backend?.backendOptions&&t.options.backend.backendOptions.some(e=>e?.projectId));class zf extends am{constructor(e={},n){if(super(),this.options=t1(e),this.services={},this.logger=ea,this.modules={external:[]},iM(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(e={},n){this.isInitializing=!0,typeof e=="function"&&(n=e,e={}),e.defaultNS==null&&e.ns&&(at(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const r=Gg();this.options={...r,...this.options,...t1(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!aM(this)&&!sM()&&(typeof console<"u"&&typeof console.info<"u"&&console.info("🌐 i18next is maintained with support from Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),oM());const i=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?ea.init(i(this.modules.logger),this.options):ea.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:d=tM;const h=new G_(this.options);this.store=new K_(this.options.resources,this.options);const m=this.services;m.logger=ea,m.resourceStore=this.store,m.languageUtils=h,m.pluralResolver=new ZA(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),d&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(m.formatter=i(d),m.formatter.init&&m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new J_(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new rM(i(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",(g,..._)=>{this.emit(g,..._)}),this.modules.languageDetector&&(m.languageDetector=i(this.modules.languageDetector),m.languageDetector.init&&m.languageDetector.init(m,this.options.detection,this.options)),this.modules.i18nFormat&&(m.i18nFormat=i(this.modules.i18nFormat),m.i18nFormat.init&&m.i18nFormat.init(this)),this.translator=new Op(this.services,this.options),this.translator.on("*",(g,..._)=>{this.emit(g,..._)}),this.modules.external.forEach(g=>{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,n||(n=Oh),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=(...h)=>this.store[d](...h)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=(...h)=>(this.store[d](...h),this)});const u=Sf(),f=()=>{const d=(h,m)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),u.resolve(m),n(h,m)};if(this.languages&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initAsync?f():setTimeout(f,0),u}loadResources(e,n=Oh){let r=n;const i=at(e)?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const o=[],l=u=>{if(!u||u==="cimode")return;this.services.languageUtils.toResolveHierarchy(u).forEach(d=>{d!=="cimode"&&o.indexOf(d)<0&&o.push(d)})};i?l(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(f=>l(f)),this.options.preload?.forEach?.(u=>l(u)),this.services.backendConnector.load(o,this.options.ns,u=>{!u&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(u)})}else r(null)}reloadResources(e,n,r){const i=Sf();return typeof e=="function"&&(r=e,e=void 0),typeof n=="function"&&(r=n,n=void 0),e||(e=this.languages),n||(n=this.options.ns),r||(r=Oh),this.services.backendConnector.reload(e,n,o=>{i.resolve(),r(o)}),i}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&wC.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1)){for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,n){this.isLanguageChangingTo=e;const r=Sf();
vendor: 2,048 bytes, line 8
8this.emit("languageChanging",e);const i=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},o=(u,f)=>{f?this.isLanguageChangingTo===e&&(i(f),this.translator.changeLanguage(f),this.isLanguageChangingTo=void 0,this.emit("languageChanged",f),this.logger.log("languageChanged",f)):this.isLanguageChangingTo=void 0,r.resolve((...d)=>this.t(...d)),n&&n(u,(...d)=>this.t(...d))},l=u=>{!e&&!u&&this.services.languageDetector&&(u=[]);const f=at(u)?u:u&&u[0],d=this.store.hasLanguageSomeTranslations(f)?f:this.services.languageUtils.getBestMatchFromCodes(at(u)?[u]:u);d&&(this.language||i(d),this.translator.language||this.translator.changeLanguage(d),this.services.languageDetector?.cacheUserLanguage?.(d)),this.loadResources(d,h=>{o(h,d)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e),r}getFixedT(e,n,r){const i=(o,l,...u)=>{let f;typeof l!="object"?f=this.options.overloadTranslationOptionHandler([o,l].concat(u)):f={...l},f.lng=f.lng||i.lng,f.lngs=f.lngs||i.lngs,f.ns=f.ns||i.ns,f.keyPrefix!==""&&(f.keyPrefix=f.keyPrefix||r||i.keyPrefix);const d=this.options.keySeparator||".";let h;return f.keyPrefix&&Array.isArray(o)?h=o.map(m=>(typeof m=="function"&&(m=Rp(m,{...this.options,...l})),`${f.keyPrefix}${d}${m}`)):(typeof o=="function"&&(o=Rp(o,{...this.options,...l})),h=f.keyPrefix?`${f.keyPrefix}${d}${o}`:o),this.t(h,f)};return at(e)?i.lng=e:i.lngs=e,i.ns=n,i.keyPrefix=r,i}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,n={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
vendor: 4,551 bytes, line 8
8if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const l=(u,f)=>{const d=this.services.backendConnector.state[`${u}|${f}`];return d===-1||d===0||d===2};if(n.precheck){const u=n.precheck(this,l);if(u!==void 0)return u}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||l(r,e)&&(!i||l(o,e)))}loadNamespaces(e,n){const r=Sf();return this.options.ns?(at(e)&&(e=[e]),e.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}loadLanguages(e,n){const r=Sf();at(e)&&(e=[e]);const i=this.options.preload||[],o=e.filter(l=>i.indexOf(l)<0&&this.services.languageUtils.isSupportedCode(l));return o.length?(this.options.preload=i.concat(o),this.loadResources(l=>{r.resolve(),n&&n(l)}),r):(n&&n(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const i=new Intl.Locale(e);if(i&&i.getTextInfo){const o=i.getTextInfo();if(o&&o.direction)return o.direction}}catch{}const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services?.languageUtils||new G_(Gg());return e.toLowerCase().indexOf("-latn")>1?"ltr":n.indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},n){const r=new zf(e,n);return r.createInstance=zf.createInstance,r}cloneInstance(e={},n=Oh){const r=e.forkResourceStore;r&&delete e.forkResourceStore;const i={...this.options,...e,isClone:!0},o=new zf(i);if((e.debug!==void 0||e.prefix!==void 0)&&(o.logger=o.logger.clone(e)),["store","services","language"].forEach(u=>{o[u]=this[u]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r){const u=Object.keys(this.store.data).reduce((f,d)=>(f[d]={...this.store.data[d]},f[d]=Object.keys(f[d]).reduce((h,m)=>(h[m]={...f[d][m]},h),f[d]),f),{});o.store=new K_(u,i),o.services.resourceStore=o.store}if(e.interpolation){const f={...Gg().interpolation,...this.options.interpolation,...e.interpolation},d={...i,interpolation:f};o.services.interpolator=new J_(d)}return o.translator=new Op(o.services,i),o.translator.on("*",(u,...f)=>{o.emit(u,...f)}),o.init(i,n),o.translator.options=i,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const gs=zf.createInstance();gs.createInstance;gs.dir;gs.init;gs.loadResources;gs.reloadResources;gs.use;gs.changeLanguage;gs.getFixedT;gs.t;gs.exists;gs.setDefaultNamespace;gs.hasLoadedNamespace;gs.loadNamespaces;gs.loadLanguages;var qg,n1;function lM(){return n1||(n1=1,qg={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),qg}var uM=lM();const cM=jc(uM);var fM=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function r1(t){var e={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=t.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(e.name=n[1],(cM[n[1]]||t.charAt(t.length-2)==="/")&&(e.voidElement=!0),e.name.startsWith("!--"))){var r=t.indexOf("-->");return{type:"comment",comment:r!==-1?t.slice(4,r):""}}for(var i=new RegExp(fM),o=null;(o=i.exec(t))!==null;)if(o[0].trim())if(o[1]){var l=o[1].trim(),u=[l,""];l.indexOf("=")>-1&&(u=l.split("=")),e.attrs[u[0]]=u[1],i.lastIndex--}else o[2]&&(e.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return e}var dM=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,hM=/^\s*$/,pM=Object.create(null);function SC(t,e){switch(e.type){case"text":return t+e.content;case"tag":return t+="<"+e.name+(e.attrs?(function(n){var r=[];for(var i in n)r.push(i+'="'+n[i]+'"');return r.length?" "+r.join(" "):""})(e.attrs):"")+(e.voidElement?"/>":">"),e.voidElement?t:t+e.children.reduce(SC,"")+"</"+e.name+">";
vendor: 4,389 bytes, line 8
8case"comment":return t+"<!--"+e.comment+"-->"}}var mM={parse:function(t,e){e||(e={}),e.components||(e.components=pM);var n,r=[],i=[],o=-1,l=!1;if(t.indexOf("<")!==0){var u=t.indexOf("<");r.push({type:"text",content:u===-1?t:t.substring(0,u)})}return t.replace(dM,function(f,d){if(l){if(f!=="</"+n.name+">")return;l=!1}var h,m=f.charAt(1)!=="/",y=f.startsWith("<!--"),g=d+f.length,_=t.charAt(g);if(y){var w=r1(f);return o<0?(r.push(w),r):((h=i[o]).children.push(w),r)}if(m&&(o++,(n=r1(f)).type==="tag"&&e.components[n.name]&&(n.type="component",l=!0),n.voidElement||l||!_||_==="<"||n.children.push({type:"text",content:t.slice(g,t.indexOf("<",g))}),o===0&&r.push(n),(h=i[o-1])&&h.children.push(n),i[o]=n),(!m||n.voidElement)&&(o>-1&&(n.voidElement||n.name===f.slice(2,-1))&&(o--,n=o===-1?r:i[o]),!l&&_!=="<"&&_)){h=o===-1?r:i[o].children;var S=t.indexOf("<",g),C=t.slice(g,S===-1?void 0:S);hM.test(C)&&(C=" "),(S>-1&&o+h.length>=0||C!==" ")&&h.push({type:"text",content:C})}}),r},stringify:function(t){return t.reduce(function(e,n){return e+SC("",n)},"")}};const ip=(t,e,n,r)=>{const i=[n,{code:e,...r||{}}];if(t?.services?.logger?.forward)return t.services.logger.forward(i,"warn","react-i18next::",!0);cs(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),t?.services?.logger?.warn?t.services.logger.warn(...i):console?.warn&&console.warn(...i)},i1={},lm=(t,e,n,r)=>{cs(n)&&i1[n]||(cs(n)&&(i1[n]=new Date),ip(t,e,n,r))},TC=(t,e)=>()=>{if(t.isInitialized)e();else{const n=()=>{setTimeout(()=>{t.off("initialized",n)},0),e()};t.on("initialized",n)}},Zy=(t,e,n)=>{t.loadNamespaces(e,TC(t,n))},s1=(t,e,n,r)=>{if(cs(n)&&(n=[n]),t.options.preload&&t.options.preload.indexOf(e)>-1)return Zy(t,n,r);n.forEach(i=>{t.options.ns.indexOf(i)<0&&t.options.ns.push(i)}),t.loadLanguages(e,TC(t,r))},gM=(t,e,n={})=>!e.languages||!e.languages.length?(lm(e,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:e.languages}),!0):e.hasLoadedNamespace(t,{lng:n.lng,precheck:(r,i)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!i(r.isLanguageChangingTo,t))return!1}}),cs=t=>typeof t=="string",ka=t=>typeof t=="object"&&t!==null,yM=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,vM={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},wM=t=>vM[t],CC=t=>t.replace(yM,wM);let Jy={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:CC,transDefaultProps:void 0};const xM=(t={})=>{Jy={...Jy,...t}},m0=()=>Jy;let bC;const _M=t=>{bC=t},g0=()=>bC,sp=(t,e)=>{if(!t)return!1;const n=t.props?.children??t.children;return e?n.length>0:!!n},op=t=>{if(!t)return[];const e=t.props?.children??t.children;return t.props?.i18nIsDynamicList?mu(e):e},SM=t=>Array.isArray(t)&&t.every(T.isValidElement),mu=t=>Array.isArray(t)?t:[t],TM=(t,e)=>{const n={...e};return n.props={...e.props,...t.props},n},CM=t=>{const e={};if(!t)return e;const n=r=>{mu(r).forEach(o=>{cs(o)||(sp(o)?n(op(o)):ka(o)&&!T.isValidElement(o)&&Object.assign(e,o))})};return n(t),e},EC=(t,e,n,r)=>{if(!t)return"";let i="";const o=mu(t),l=e?.transSupportBasicHtmlNodes?e.transKeepBasicHtmlNodesFor??[]:[];return o.forEach((u,f)=>{if(cs(u)){i+=`${u}`;return}if(T.isValidElement(u)){const{props:d,type:h}=u,m=Object.keys(d).length,y=l.indexOf(h)>-1,g=d.children;if(!g&&y&&!m){i+=`<${h}/>`;return}if(!g&&(!y||m)||d.i18nIsDynamicList){i+=`<${f}></${f}>`;return}if(y&&m===1&&cs(g)){i+=`<${h}>${g}</${h}>`;return}const _=EC(g,e,n,r);i+=`<${f}>${_}</${f}>`;return}if(u===null){ip(n,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:r});return}if(ka(u)){const{format:d,...h}=u,m=Object.keys(h);if(m.length===1){const y=d?`${m[0]}, ${d}`:m[0];i+=`{{${y}}}`;return}ip(n,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:r,child:u});return}ip(n,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:r,child:u})}),i},bM=(t,e=[],n={})=>
8{if(!t)return t;const r=Object.keys(n),i=[...e,...r];let o="",l=0;for(;l<t.length;)if(t[l]==="<"){let u=!1;const f=t.slice(l).match(/^<\/(\d+|[a-zA-Z][a-zA-Z0-9_-]*)>/);if(f){const d=f[1];(/^\d+$/.test(d)||i.includes(d))&&(u=!0,o+=f[0],l+=f[0].length)}if(!u){const d=t.slice(l).match(/^<(\d+|[a-zA-Z][a-zA-Z0-9_-]*)(\s+[\w-]+(?:=(?:"[^"]*"|'[^']*'|[^\s>]+))?)*\s*(\/)?>/);if(d){const h=d[1];(/^\d+$/.test(h)||i.includes(h))&&(u=!0,o+=d[0],l+=d[0].length)}}u||(o+="&lt;",l+=1)}else o+=t[l],l+=1;return o},EM=(t,e,n,r,i,o,l)=>{if(n==="")return[];const u=i.transKeepBasicHtmlNodesFor||[],f=n&&new RegExp(u.map(b=>`<${b}`).join("|")).test(n);if(!t&&!e&&!f&&!l)return[n];const d=e??{},h=b=>{mu(b).forEach(P=>{cs(P)||(sp(P)?h(op(P)):ka(P)&&!T.isValidElement(P)&&Object.assign(d,P))})};h(t);const m=bM(n,u,d),y=mM.parse(`<0>${m}</0>`),g={...d,...o},_=(b,R,P)=>{const O=op(b),N=S(O,R.children,P);return SM(O)&&N.length===0||b.props?.i18nIsDynamicList?O:N},w=(b,R,P,O,N)=>{b.dummy?(b.children=R,P.push(T.cloneElement(b,{key:O},N?void 0:R))):P.push(...T.Children.map([b],L=>{const F="data-i18n-is-dynamic-list",j={key:O,[F]:void 0};return L&&L.props&&Object.keys(L.props).forEach(B=>{B==="ref"||B==="children"||B==="i18nIsDynamicList"||B===F||(j[B]=L.props[B])}),T.cloneElement(L,j,N?null:R)}))},S=(b,R,P)=>{const O=mu(b);return mu(R).reduce((L,F,j)=>{const B=F.children?.[0]?.content&&r.services.interpolator.interpolate(F.children[0].content,g,r.language);if(F.type==="tag"){let re=O[parseInt(F.name,10)];!re&&e&&(re=e[F.name]),P.length===1&&!re&&(re=P[0][F.name]),re||(re={});const W={...F.attrs};l&&Object.keys(W).forEach($=>{const K=W[$];cs(K)&&(W[$]=CC(K))});const ie=Object.keys(W).length!==0?TM({props:W},re):re,ee=T.isValidElement(ie),me=ee&&sp(F,!0)&&!F.voidElement,le=f&&ka(ie)&&ie.dummy&&!ee,ae=ka(e)&&Object.hasOwnProperty.call(e,F.name);if(cs(ie)){const $=r.services.interpolator.interpolate(ie,g,r.language);L.push($)}else if(sp(ie)||me){const $=_(ie,F,P);w(ie,$,L,j)}else if(le){const $=S(O,F.children,P);w(ie,$,L,j)}else if(Number.isNaN(parseFloat(F.name)))if(ae){const $=_(ie,F,P);w(ie,$,L,j,F.voidElement)}else if(i.transSupportBasicHtmlNodes&&u.indexOf(F.name)>-1)if(F.voidElement)L.push(T.createElement(F.name,{key:`${F.name}-${j}`}));else{const $=S(O,F.children,P);L.push(T.createElement(F.name,{key:`${F.name}-${j}`},$))}else if(F.voidElement)L.push(`<${F.name} />`);else{const $=S(O,F.children,P);L.push(`<${F.name}>${$}</${F.name}>`)}else if(ka(ie)&&!ee){const $=F.children[0]?B:null;$&&L.push($)}else w(ie,B,L,j,F.children.length!==1||!B)}else if(F.type==="text"){const re=i.transWrapTextNodes,W=typeof i.unescape=="function"?i.unescape:m0().unescape,ie=l?W(r.services.interpolator.interpolate(F.content,g,r.language)):r.services.interpolator.interpolate(F.content,g,r.language);re?L.push(T.createElement(re,{key:`${F.name}-${j}`},ie)):L.push(ie)}return L},[])},C=S([{dummy:!0,children:t||[]}],y,mu(t||[]));return op(C[0])},PC=(t,e,n)=>{const r=t.key||e,i=T.cloneElement(t,{key:r});if(!i.props||!i.props.children||n.indexOf(`${e}/>`)<0&&n.indexOf(`${e} />`)<0)return i;function o(){return T.createElement(T.Fragment,null,i)}return T.createElement(o,{key:r})},PM=(t,e)=>t.map((n,r)=>PC(n,r,e)),kM=(t,e)=>{const n={};return Object.keys(t).forEach(r=>{Object.assign(n,{[r]:PC(t[r],r,e)})}),n},RM=(t,e,n,r)=>t?Array.isArray(t)?PM(t,e):ka(t)?kM(t,e):(lm(n,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:r}),null):null,OM=t=>!ka(t)||Array.isArray(t)?!1:Object.keys(t).reduce((e,n)=>e&&Number.isNaN(Number.parseFloat(n)),!0);function AM({children:t,count:e,parent:n,i18nKey:r,context:i,tOptions:o={},values:l,defaults:u,components:f,ns:d,i18n:h,t:m,shouldUnescape:y,...g}){const _=h||g0();if(!_)return lm(_,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:r}),t;const w=m||_.t.bind(_)||(D=>D),S={...m0(),..._.options?.react};let C=d||w.ns||_.options?.defaultNS;C=cs(C)?[C]:C||["translation"];const{transDefaultProps:b}=S,R=b?.tOptions?{...b.tOptions,...o}:o,P=y??b?.shouldUnescape,O=b?.values?{...b.values,...l}:l,N=b?.components?{...b.components,...f}:f,L=EC(t,S,_,r),F=u||R?.defaultValue||L||S.transEmptyNodeValue||(typeof r=="function"?Rp(r):r),{hashTransKey:j}=S,B=r||(j?j(L||F):L||F);_.options?.interpolation?.defaultVariables?l=O&&Object.keys(O).length>0?{...O,..._.options.interpolation.defaultVariables}:{..._.options.interpolation.defaultVariables}:l=O;const re=CM(t);re&&typeof re.count=="number"&&e===void 0&&(e=re.count);const W=l||e!==void 0&&!_.options?.interpolation?.alwaysFormat||!t?R.interpolation:{interpolation:{...R.interpolation,prefix:"#$?",suffix:"?$#"}},ie={...R,context:i||R.context,count:e,...l,...W,defaultValue:F,ns:C};let ee=B?w(B,ie):F;ee===B&&F&&(ee=F);const me=RM(N,ee,_,r);let le=me||t,ae=null;OM(me)&&(ae=me,le=t);const $=EM(le,ae,ee,_,S,ie,P),K=n??S.defaultTransParent;return K?T.createElement(K,g,$):$}const w5={type:"3rdParty",init(t){xM(t.options.react),_M(t)}},kC=T.createContext();class MM{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function x5({children:t,count:e,parent:n,i18nKey:r,context:i,tOptions:o={}
8,values:l,defaults:u,components:f,ns:d,i18n:h,t:m,shouldUnescape:y,...g}){const{i18n:_,defaultNS:w}=T.useContext(kC)||{},S=h||_||g0(),C=m||S?.t.bind(S);return AM({children:t,count:e,parent:n,i18nKey:r,context:i,tOptions:o,values:l,defaults:u,components:f,ns:d||C?.ns||w||S?.options?.defaultNS,i18n:S,t:m,shouldUnescape:y,...g})}var Qg={exports:{}},Zg={};var o1;function DM(){if(o1)return Zg;o1=1;var t=rm();function e(m,y){return m===y&&(m!==0||1/m===1/y)||m!==m&&y!==y}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,i=t.useEffect,o=t.useLayoutEffect,l=t.useDebugValue;function u(m,y){var g=y(),_=r({inst:{value:g,getSnapshot:y}}),w=_[0].inst,S=_[1];return o(function(){w.value=g,w.getSnapshot=y,f(w)&&S({inst:w})},[m,g,y]),i(function(){return f(w)&&S({inst:w}),m(function(){f(w)&&S({inst:w})})},[m]),l(g),g}function f(m){var y=m.getSnapshot;m=m.value;try{var g=y();return!n(m,g)}catch{return!0}}function d(m,y){return y()}var h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:u;return Zg.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:h,Zg}var a1;function LM(){return a1||(a1=1,Qg.exports=DM()),Qg.exports}var NM=LM();const IM=(t,e)=>cs(e)?e:ka(e)&&cs(e.defaultValue)?e.defaultValue:Array.isArray(t)?t[t.length-1]:t,FM={t:IM,ready:!1},VM=()=>()=>{},_5=(t,e={})=>{const{i18n:n}=e,{i18n:r,defaultNS:i}=T.useContext(kC)||{},o=n||r||g0();o&&!o.reportNamespaces&&(o.reportNamespaces=new MM),o||lm(o,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const l=T.useMemo(()=>({...m0(),...o?.options?.react,...e}),[o,e]),{useSuspense:u,keyPrefix:f}=l,d=t||i||o?.options?.defaultNS,h=cs(d)?[d]:d||["translation"],m=T.useMemo(()=>h,h);o?.reportNamespaces?.addUsedNamespaces?.(m);const y=T.useRef(0),g=T.useCallback(j=>{if(!o)return VM;const{bindI18n:B,bindI18nStore:re}=l,W=()=>{y.current+=1,j()};return B&&o.on(B,W),re&&o.store.on(re,W),()=>{B&&B.split(" ").forEach(ie=>o.off(ie,W)),re&&re.split(" ").forEach(ie=>o.store.off(ie,W))}},[o,l]),_=T.useRef(),w=T.useCallback(()=>{if(!o)return FM;const j=!!(o.isInitialized||o.initializedStoreOnce)&&m.every(me=>gM(me,o,l)),B=e.lng||o.language,re=y.current,W=_.current;if(W&&W.ready===j&&W.lng===B&&W.keyPrefix===f&&W.revision===re)return W;const ee={t:o.getFixedT(B,l.nsMode==="fallback"?m:m[0],f),ready:j,lng:B,keyPrefix:f,revision:re};return _.current=ee,ee},[o,m,f,l,e.lng]),[S,C]=T.useState(0),{t:b,ready:R}=NM.useSyncExternalStore(g,w,w);T.useEffect(()=>{if(o&&!R&&!u){const j=()=>C(B=>B+1);e.lng?s1(o,e.lng,m,j):Zy(o,m,j)}},[o,e.lng,m,R,u,S]);const P=o||{},O=T.useRef(null),N=T.useRef(),L=j=>{const B=Object.getOwnPropertyDescriptors(j);B.__original&&delete B.__original;const re=Object.create(Object.getPrototypeOf(j),B);if(!Object.prototype.hasOwnProperty.call(re,"__original"))try{Object.defineProperty(re,"__original",{value:j,writable:!1,enumerable:!1,configurable:!1})}catch{}return re},F=T.useMemo(()=>{const j=P,B=j?.language;let re=j;
vendor: 32,011 bytes, line 8
8j&&(O.current&&O.current.__original===j?N.current!==B?(re=L(j),O.current=re,N.current=B):re=O.current:(re=L(j),O.current=re,N.current=B));const W=[b,re,R];return W.t=b,W.i18n=re,W.ready=R,W},[b,P,R,P.resolvedLanguage,P.language,P.languages]);if(o&&u&&!R)throw new Promise(j=>{const B=()=>j();e.lng?s1(o,e.lng,m,B):Zy(o,m,B)});return F};var um=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},zM={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},jM=class{#e=zM;#n=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,e){return this.#e.setTimeout(t,e)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,e){return this.#e.setInterval(t,e)}clearInterval(t){this.#e.clearInterval(t)}},ev=new jM;function $M(t){setTimeout(t,0)}var cm=typeof window>"u"||"Deno"in globalThis;function Do(){}function BM(t,e){return typeof t=="function"?t(e):t}function UM(t){return typeof t=="number"&&t>=0&&t!==1/0}function WM(t,e){return Math.max(t+(e||0)-Date.now(),0)}function tv(t,e){return typeof t=="function"?t(e):t}function HM(t,e){return typeof t=="function"?t(e):t}function l1(t,e){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:l,stale:u}=t;if(l){if(r){if(e.queryHash!==y0(l,e.options))return!1}else if(!ad(e.queryKey,l))return!1}if(n!=="all"){const f=e.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof u=="boolean"&&e.isStale()!==u||i&&i!==e.state.fetchStatus||o&&!o(e))}function u1(t,e){const{exact:n,status:r,predicate:i,mutationKey:o}=t;if(o){if(!e.options.mutationKey)return!1;if(n){if(od(e.options.mutationKey)!==od(o))return!1}else if(!ad(e.options.mutationKey,o))return!1}return!(r&&e.state.status!==r||i&&!i(e))}function y0(t,e){return(e?.queryKeyHashFn||od)(t)}function od(t){return JSON.stringify(t,(e,n)=>nv(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function ad(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>ad(t[n],e[n])):!1}var YM=Object.prototype.hasOwnProperty;function RC(t,e,n=0){if(t===e)return t;if(n>500)return e;const r=c1(t)&&c1(e);if(!r&&!(nv(t)&&nv(e)))return e;const o=(r?t:Object.keys(t)).length,l=r?e:Object.keys(e),u=l.length,f=r?new Array(u):{};let d=0;for(let h=0;h<u;h++){const m=r?h:l[h],y=t[m],g=e[m];if(y===g){f[m]=y,(r?h<o:YM.call(t,m))&&d++;continue}if(y===null||g===null||typeof y!="object"||typeof g!="object"){f[m]=g;continue}const _=RC(y,g,n+1);f[m]=_,_===y&&d++}return o===u&&d===o?t:f}function c1(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function nv(t){if(!f1(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!f1(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function f1(t){return Object.prototype.toString.call(t)==="[object Object]"}function KM(t){return new Promise(e=>{ev.setTimeout(e,t)})}function XM(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?RC(t,e):e}function GM(t,e,n=0){const r=[...t,e];return n&&r.length>n?r.slice(1):r}function qM(t,e,n=0){const r=[e,...t];return n&&r.length>n?r.slice(0,-1):r}var v0=Symbol();function OC(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===v0?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function QM(t,e,n){let r=!1,i;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(i??=e(),r||(r=!0,i.aborted?n():i.addEventListener("abort",n,{once:!0})),i)}),t}var ZM=class extends um{#e;#n;#t;constructor(){super(),this.#t=t=>{if(!cm&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(t){this.#t=t,this.#n?.(),this.#n=t(e=>{typeof e=="boolean"?this.setFocused(e):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},AC=new ZM;function JM(){let t,e;const n=new Promise((i,o)=>{t=i,e=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),t(i)},n.reject=i=>{r({status:"rejected",reason:i}),e(i)},n}var eD=$M;function tD(){let t=[],e=0,n=u=>{u()},r=u=>{u()},i=eD;const o=u=>{e?t.push(u):i(()=>{n(u)})},l=()=>{const u=t;t=[],u.length&&i(()=>{r(()=>{u.forEach(f=>{n(f)})})})};return{batch:u=>{let f;e++;try{f=u()}finally{e--,e||l()}return f},batchCalls:u=>(...f)=>{o(()=>{u(...f)})},schedule:o,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{i=u}}}var $i=tD(),nD=class extends um{#e=!0;#n;#t;constructor(){super(),this.#t=t=>{if(!cm&&window.addEventListener){const e=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(t){this.#t=t,this.#n?.(),this.#n=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(n=>{n(t)}))}isOnline(){return this.#e}},Ap=new nD;function rD(t){return Math.min(1e3*2**t,3e4)}function MC(t){return(t??"online")==="online"?Ap.isOnline():!0}var rv=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function DC(t){let e=!1,n=0,r;const i=JM(),o=()=>i.status!=="pending",l=w=>{if(!o()){const S=new rv(w);y(S),t.onCancel?.(S)}},u=()=>{e=!0},f=()=>{e=!1},d=()=>AC.isFocused()&&(t.networkMode==="always"||Ap.isOnline())&&t.canRun(),h=()=>MC(t.networkMode)&&t.canRun(),m=w=>{o()||(r?.(),i.resolve(w))},y=w=>{o()||(r?.(),i.reject(w))},g=()=>new Promise(w=>{r=S=>{(o()||d())&&w(S)},t.onPause?.()}).then(()=>{r=void 0,o()||t.onContinue?.()}),_=()=>{if(o())return;let w;const S=n===0?t.initialPromise:void 0;try{w=S??t.fn()}catch(C){w=Promise.reject(C)}Promise.resolve(w).then(m).catch(C=>{if(o())return;const b=t.retry??(cm?0:3),R=t.retryDelay??rD,P=typeof R=="function"?R(n,C):R,O=b===!0||typeof b=="number"&&n<b||typeof b=="function"&&b(n,C);if(e||!O){y(C);return}n++,t.onFail?.(n,C),KM(P).then(()=>d()?void 0:g()).then(()=>{e?y(C):_()})})};return{promise:i,status:()=>i.status,cancel:l,continue:()=>(r?.(),i),cancelRetry:u,continueRetry:f,canStart:h,start:()=>(h()?_():g().then(_),i)}}var LC=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),UM(this.gcTime)&&(this.#e=ev.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(cm?1/0:300*1e3))}clearGcTimeout(){this.#e&&(ev.clearTimeout(this.#e),this.#e=void 0)}},iD=class extends LC{#e;#n;#t;#i;#r;#o;#a;constructor(t){super(),this.#a=!1,this.#o=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#i=t.client,this.#t=this.#i.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=h1(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(t){if(this.options={...this.#o,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const e=h1(this.options);e.data!==void 0&&(this.setState(d1(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#t.remove(this)}setData(t,e){const n=XM(this.state.data,t,this.options);return this.#s({data:n,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),n}setState(t,e){this.#s({type:"setState",state:t,setStateOptions:e})}cancel(t){const e=this.#r?.promise;return this.#r?.cancel(t),e?e.then(Do).catch(Do):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>HM(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===v0||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>tv(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!WM(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#r&&(this.#a?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#t.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}async fetch(t,e){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(t&&this.setOptions(t),!this.options.queryFn){const u=this.observers.find(f=>f.options.queryFn);u&&this.setOptions(u.options)}const n=new AbortController,r=u=>{Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(this.#a=!0,n.signal)})},i=()=>{const u=OC(this.options,e),d=(()=>{const h={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(h),h})();return this.#a=!1,this.options.persister?this.options.persister(u,d,this):u(d)},l=(()=>{const u={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(u),u})();this.options.behavior?.onFetch(l,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#s({type:"fetch",meta:l.fetchOptions?.meta}),this.#r=DC({initialPromise:e?.initialPromise,fn:l.fetchFn,onCancel:u=>{u instanceof rv&&u.revert&&this.setState({...this.#n,fetchStatus:"idle"}),n.abort()},onFail:(u,f)=>{this.#s({type:"failed",failureCount:u,error:f})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{const u=await this.#r.start();if(u===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(u),this.#t.config.onSuccess?.(u,this),this.#t.config.onSettled?.(u,this.state.error,this),u}catch(u){if(u instanceof rv){if(u.silent)return this.#r.promise;if(u.revert){if(this.state.data===void 0)throw u;return this.state.data}}throw this.#s({type:"error",error:u}),this.#t.config.onError?.(u,this),this.#t.config.onSettled?.(this.state.data,u,this),u}finally{this.scheduleGc()}}#s(t){const e=n=>{switch(t.type){case"failed":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...sD(n.data,this.options),fetchMeta:t.meta??null};case"success":const r={...n,...d1(t.data,t.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=t.manual?r:void 0,r;case"error":const i=t.error;return{...n,error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=e(this.state),$i.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#t.notify({query:this,type:"updated",action:t})})}};function sD(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:MC(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function d1(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function h1(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,n=e!==void 0,r=n?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}function p1(t){return{onFetch:(e,n)=>{const r=e.options,i=e.fetchOptions?.meta?.fetchMore?.direction,o=e.state.data?.pages||[],l=e.state.data?.pageParams||[];let u={pages:[],pageParams:[]},f=0;const d=async()=>{let h=!1;const m=_=>{QM(_,()=>e.signal,()=>h=!0)},y=OC(e.options,e.fetchOptions),g=async(_,w,S)=>{if(h)return Promise.reject();if(w==null&&_.pages.length)return Promise.resolve(_);const b=(()=>{const N={client:e.client,queryKey:e.queryKey,pageParam:w,direction:S?"backward":"forward",meta:e.options.meta};return m(N),N})(),R=await y(b),{maxPages:P}=e.options,O=S?qM:GM;return{pages:O(_.pages,R,P),pageParams:O(_.pageParams,w,P)}};if(i&&o.length){const _=i==="backward",w=_?oD:m1,S={pages:o,pageParams:l},C=w(r,S);u=await g(S,C,_)}else{const _=t??o.length;do{const w=f===0?l[0]??r.initialPageParam:m1(r,u);if(f>0&&w==null)break;u=await g(u,w),f++}while(f<_)}return u};e.options.persister?e.fetchFn=()=>e.options.persister?.(d,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n):e.fetchFn=d}}}function m1(t,{pages:e,pageParams:n}){const r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,n[r],n):void 0}function oD(t,{pages:e,pageParams:n}){return e.length>0?t.getPreviousPageParam?.(e[0],e,n[0],n):void 0}var aD=class extends LC{#e;#n;#t;#i;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#t=t.mutationCache,this.#n=[],this.state=t.state||lD(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#n.includes(t)||(this.#n.push(t),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#n=this.#n.filter(e=>e!==t),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#n.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(t){const e=()=>{this.#r({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=DC({fn:()=>this.options.mutationFn?this.options.mutationFn(t,n):Promise.reject(new Error("No mutationFn found")),onFail:(o,l)=>{this.#r({type:"failed",failureCount:o,error:l})},onPause:()=>{this.#r({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const r=this.state.status==="pending",i=!this.#i.canStart();try{if(r)e();else{this.#r({type:"pending",variables:t,isPaused:i}),this.#t.config.onMutate&&await this.#t.config.onMutate(t,this,n);const l=await this.options.onMutate?.(t,n);l!==this.state.context&&this.#r({type:"pending",context:l,variables:t,isPaused:i})}const o=await this.#i.start();return await this.#t.config.onSuccess?.(o,t,this.state.context,this,n),await this.options.onSuccess?.(o,t,this.state.context,n),await this.#t.config.onSettled?.(o,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(o,null,t,this.state.context,n),this.#r({type:"success",data:o}),o}catch(o){try{await this.#t.config.onError?.(o,t,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onError?.(o,t,this.state.context,n)}catch(l){Promise.reject(l)}try{await this.#t.config.onSettled?.(void 0,o,this.state.variables,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onSettled?.(void 0,o,t,this.state.context,n)}catch(l){Promise.reject(l)}throw this.#r({type:"error",error:o}),o}finally{this.#t.runNext(this)}}#r(t){const e=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),$i.batch(()=>{this.#n.forEach(n=>{n.onMutationUpdate(t)}),this.#t.notify({mutation:this,type:"updated",action:t})})}};function lD(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var uD=class extends um{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#n=new Map,this.#t=0}#e;#n;#t;build(t,e,n){const r=new aD({client:t,mutationCache:this,mutationId:++this.#t,options:t.defaultMutationOptions(e),state:n});return this.add(r),r}add(t){this.#e.add(t);const e=Ah(t);if(typeof e=="string"){const n=this.#n.get(e);n?n.push(t):this.#n.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const e=Ah(t);if(typeof e=="string"){const n=this.#n.get(e);if(n)if(n.length>1){const r=n.indexOf(t);r!==-1&&n.splice(r,1)}else n[0]===t&&this.#n.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){const e=Ah(t);if(typeof e=="string"){const r=this.#n.get(e)?.find(i=>i.state.status==="pending");return!r||r===t}else return!0}runNext(t){const e=Ah(t);return typeof e=="string"?this.#n.get(e)?.find(r=>r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){$i.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#n.clear()})}getAll(){return Array.from(this.#e)}find(t){const e={exact:!0,...t};return this.getAll().find(n=>u1(e,n))}findAll(t={}){return this.getAll().filter(e=>u1(t,e))}notify(t){$i.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return $i.batch(()=>Promise.all(t.map(e=>e.continue().catch(Do))))}};function Ah(t){return t.options.scope?.id}var cD=class extends um{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,e,n){const r=e.queryKey,i=e.queryHash??y0(r,e);let o=this.get(i);return o||(o=new iD({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(r)}),this.add(o)),o}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=this.#e.get(t.queryHash);e&&(t.destroy(),e===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){$i.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const e={exact:!0,...t};return this.getAll().find(n=>l1(e,n))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(n=>l1(t,n)):e}notify(t){$i.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){$i.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){$i.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},S5=class{#e;#n;#t;#i;#r;#o;#a;#s;constructor(t={}){this.#e=t.queryCache||new cD,this.#n=t.mutationCache||new uD,this.#t=t.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=AC.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=Ap.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#a?.(),this.#a=void 0,this.#s?.(),this.#s=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#n.findAll({...t,status:"pending"}).length}getQueryData(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),n=this.#e.build(this,e),r=n.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&n.isStaleByTime(tv(e.staleTime,n))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:e,state:n})=>{const r=n.data;return[e,r]})}setQueryData(t,e,n){const r=this.defaultQueryOptions({queryKey:t}),o=this.#e.get(r.queryHash)?.state.data,l=BM(e,o);if(l!==void 0)return this.#e.build(this,r).setData(l,{...n,manual:!0})}setQueriesData(t,e,n){return $i.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,e,n)]))}getQueryState(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state}removeQueries(t){const e=this.#e;$i.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=this.#e;return $i.batch(()=>(n.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},r=$i.batch(()=>this.#e.findAll(t).map(i=>i.cancel(n)));return Promise.all(r).then(Do).catch(Do)}invalidateQueries(t,e={}){return $i.batch(()=>(this.#e.findAll(t).forEach(n=>{n.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e)))}refetchQueries(t,e={}){const n={...e,cancelRefetch:e.cancelRefetch??!0},r=$i.batch(()=>this.#e.findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(Do)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Do)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=this.#e.build(this,e);return n.isStaleByTime(tv(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Do).catch(Do)}fetchInfiniteQuery(t){return t.behavior=p1(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Do).catch(Do)}ensureInfiniteQueryData(t){return t.behavior=p1(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Ap.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#n}getDefaultOptions(){return this.#t}setDefaultOptions(t){this.#t=t}setQueryDefaults(t,e){this.#i.set(od(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#i.values()],n={};return e.forEach(r=>{ad(t,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(t,e){this.#r.set(od(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#r.values()],n={};return e.forEach(r=>{ad(t,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(t){if(t._defaulted)return t;const e={...this.#t.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=y0(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===v0&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#t.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#n.clear()}},fD=T.createContext(void 0),T5=({client:t,children:e})=>(T.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),ce.jsx(fD.Provider,{value:t,children:e}));function Nn(t,e,{checkForDefaultPrevented:n=!0}={}){return function(i){if(t?.(i),n===!1||!i.defaultPrevented)return e?.(i)}}function g1(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Cd(...t){return e=>{let n=!1;const r=t.map(i=>{const o=g1(i,e);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():g1(t[i],null)}}}}function Yi(...t){return T.useCallback(Cd(...t),t)}function dD(t,e){const n=T.createContext(e),r=o=>{const{children:l,...u}=o,f=T.useMemo(()=>u,Object.values(u));return ce.jsx(n.Provider,{value:f,children:l})};r.displayName=t+"Provider";function i(o){const l=T.useContext(n);if(l)return l;if(e!==void 0)return e;throw new Error(`\`${o}\` must be used within \`${t}\``)}return[r,i]}function bd(t,e=[]){let n=[];function r(o,l){const u=T.createContext(l),f=n.length;n=[...n,l];const d=m=>{const{scope:y,children:g,..._}=m,w=y?.[t]?.[f]||u,S=T.useMemo(()=>_,Object.values(_));return ce.jsx(w.Provider,{value:S,children:g})};d.displayName=o+"Provider";function h(m,y){const g=y?.[t]?.[f]||u,_=T.useContext(g);if(_)return _;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${o}\``)}return[d,h]}const i=()=>{const o=n.map(l=>T.createContext(l));return function(u){const f=u?.[t]||o;return T.useMemo(()=>({[`__scope${t}`]:{...u,[t]:f}}),[u,f])}};return i.scopeName=t,[r,hD(i,...e)]}function hD(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const l=r.reduce((u,{useScope:f,scopeName:d})=>{const m=f(o)[`__scope${d}`];return{...u,...m}},{});return T.useMemo(()=>({[`__scope${e.scopeName}`]:l}),[l])}};return n.scopeName=e.scopeName,n}function pD(t){const e=mD(t),n=T.forwardRef((r,i)=>{const{children:o,...l}=r,u=T.Children.toArray(o),f=u.find(yD);if(f){const d=f.props.children,h=u.map(m=>m===f?T.Children.count(d)>1?T.Children.only(null):T.isValidElement(d)?d.props.children:null:m);return ce.jsx(e,{...l,ref:i,children:T.isValidElement(d)?T.cloneElement(d,void 0,h):null})}return ce.jsx(e,{...l,ref:i,children:o})});return n.displayName=`${t}.Slot`,n}function mD(t){const e=T.forwardRef((n,r)=>{const{children:i,...o}=n;if(T.isValidElement(i)){const l=wD(i),u=vD(o,i.props);return i.type!==T.Fragment&&(u.ref=r?Cd(r,l):l),T.cloneElement(i,u)}return T.Children.count(i)>1?T.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var gD=Symbol("radix.slottable");function yD(t){return T.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===gD}function vD(t,e){const n={...e};for(const r in e){const i=t[r],o=e[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...u)=>{const f=o(...u);return i(...u),f}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...t,...n}}function wD(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var xD=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],xr=xD.reduce((t,e)=>{const n=pD(`Primitive.${e}`),r=T.forwardRef((i,o)=>{const{asChild:l,...u}=i,f=l?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),ce.jsx(f,{...u,ref:o})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function NC(t,e){t&&sm.flushSync(()=>t.dispatchEvent(e))}function aa(t){const e=T.useRef(t);return T.useEffect(()=>{e.current=t}),T.useMemo(()=>(...n)=>e.current?.(...n),[])}function _D(t,e=globalThis?.document){const n=aa(t);T.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[n,e])}var SD="DismissableLayer",iv="dismissableLayer.update",TD="dismissableLayer.pointerDownOutside",CD="dismissableLayer.focusOutside",y1,IC=T.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),fm=T.forwardRef((t,e)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:l,onDismiss:u,...f}=t,d=T.useContext(IC),[h,m]=T.useState(null),y=h?.ownerDocument??globalThis?.document,[,g]=T.useState({}),_=Yi(e,L=>m(L)),w=Array.from(d.layers),[S]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),C=w.indexOf(S),b=h?w.indexOf(h):-1,R=d.layersWithOutsidePointerEventsDisabled.size>0,P=b>=C,O=ED(L=>{const F=L.target,j=[...d.branches].some(B=>B.contains(F));!P||j||(i?.(L),l?.(L),L.defaultPrevented||u?.())},y),N=PD(L=>{const F=L.target;[...d.branches].some(B=>B.contains(F))||(o?.(L),l?.(L),L.defaultPrevented||u?.())},y);return _D(L=>{b===d.layers.size-1&&(r?.(L),!L.defaultPrevented&&u&&(L.preventDefault(),u()))},y),T.useEffect(()=>{if(h)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(y1=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),v1(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=y1)}},[h,y,n,d]),T.useEffect(()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),v1())},[h,d]),T.useEffect(()=>{const L=()=>g({});return document.addEventListener(iv,L),()=>document.removeEventListener(iv,L)},[]),ce.jsx(xr.div,{...f,ref:_,style:{pointerEvents:R?P?"auto":"none":void 0,...t.style},onFocusCapture:Nn(t.onFocusCapture,N.onFocusCapture),onBlurCapture:Nn(t.onBlurCapture,N.onBlurCapture),onPointerDownCapture:Nn(t.onPointerDownCapture,O.onPointerDownCapture)})});fm.displayName=SD;var bD="DismissableLayerBranch",FC=T.forwardRef((t,e)=>{const n=T.useContext(IC),r=T.useRef(null),i=Yi(e,r);return T.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),ce.jsx(xr.div,{...t,ref:i})});FC.displayName=bD;function ED(t,e=globalThis?.document){const n=aa(t),r=T.useRef(!1),i=T.useRef(()=>{});return T.useEffect(()=>{const o=u=>{if(u.target&&!r.current){let f=function(){VC(TD,n,d,{discrete:!0})};const d={originalEvent:u};u.pointerType==="touch"?(e.removeEventListener("click",i.current),i.current=f,e.addEventListener("click",i.current,{once:!0})):f()}else e.removeEventListener("click",i.current);r.current=!1},l=window.setTimeout(()=>{e.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(l),e.removeEventListener("pointerdown",o),e.removeEventListener("click",i.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function PD(t,e=globalThis?.document){const n=aa(t),r=T.useRef(!1);return T.useEffect(()=>{const i=o=>{o.target&&!r.current&&VC(CD,n,{originalEvent:o},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function v1(){const t=new CustomEvent(iv);document.dispatchEvent(t)}function VC(t,e,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&i.addEventListener(t,e,{once:!0}),r?NC(i,o):i.dispatchEvent(o)}var kD=fm,RD=FC,Aa=globalThis?.document?T.useLayoutEffect:()=>{},OD=im[" useId ".trim().toString()]||(()=>{}),AD=0;function Jg(t){const[e,n]=T.useState(OD());return Aa(()=>{n(r=>r??String(AD++))},[t]),t||(e?`radix-${e}
8`:"")}const MD=["top","right","bottom","left"],Tl=Math.min,Os=Math.max,Mp=Math.round,Mh=Math.floor,ia=t=>({x:t,y:t}),DD={left:"right",right:"left",bottom:"top",top:"bottom"};function sv(t,e,n){return Os(t,Tl(e,n))}function Ma(t,e){return typeof t=="function"?t(e):t}function Da(t){return t.split("-")[0]}function Uc(t){return t.split("-")[1]}function w0(t){return t==="x"?"y":"x"}function x0(t){return t==="y"?"height":"width"}function ta(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function _0(t){return w0(ta(t))}function LD(t,e,n){n===void 0&&(n=!1);const r=Uc(t),i=_0(t),o=x0(i);let l=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=Dp(l)),[l,Dp(l)]}function ND(t){const e=Dp(t);return[ov(t),e,ov(e)]}function ov(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const w1=["left","right"],x1=["right","left"],ID=["top","bottom"],FD=["bottom","top"];function VD(t,e,n){switch(t){case"top":case"bottom":return n?e?x1:w1:e?w1:x1;case"left":case"right":return e?ID:FD;default:return[]}}function zD(t,e,n,r){const i=Uc(t);let o=VD(Da(t),n==="start",r);return i&&(o=o.map(l=>l+"-"+i),e&&(o=o.concat(o.map(ov)))),o}function Dp(t){const e=Da(t);return DD[e]+t.slice(e.length)}function jD(t){return{top:0,right:0,bottom:0,left:0,...t}}function zC(t){return typeof t!="number"?jD(t):{top:t,right:t,bottom:t,left:t}}function Lp(t){const{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function _1(t,e,n){let{reference:r,floating:i}=t;const o=ta(e),l=_0(e),u=x0(l),f=Da(e),d=o==="y",h=r.x+r.width/2-i.width/2,m=r.y+r.height/2-i.height/2,y=r[u]/2-i[u]/2;let g;switch(f){case"top":g={x:h,y:r.y-i.height};break;case"bottom":g={x:h,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:m};break;case"left":g={x:r.x-i.width,y:m};break;default:g={x:r.x,y:r.y}}switch(Uc(e)){case"start":g[l]-=y*(n&&d?-1:1);break;case"end":g[l]+=y*(n&&d?-1:1);break}return g}async function $D(t,e){var n;e===void 0&&(e={});const{x:r,y:i,platform:o,rects:l,elements:u,strategy:f}=t,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:y=!1,padding:g=0}=Ma(e,t),_=zC(g),S=u[y?m==="floating"?"reference":"floating":m],C=Lp(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(S)))==null||n?S:S.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(u.floating)),boundary:d,rootBoundary:h,strategy:f})),b=m==="floating"?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,R=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u.floating)),P=await(o.isElement==null?void 0:o.isElement(R))?await(o.getScale==null?void 0:o.getScale(R))||{x:1,y:1}:{x:1,y:1},O=Lp(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:b,offsetParent:R,strategy:f}):b);return{top:(C.top-O.top+_.top)/P.y,bottom:(O.bottom-C.bottom+_.bottom)/P.y,left:(C.left-O.left+_.left)/P.x,r
vendor: 8,972 bytes, line 8
8ight:(O.right-C.right+_.right)/P.x}}const BD=50,UD=async(t,e,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,u=l.detectOverflow?l:{...l,detectOverflow:$D},f=await(l.isRTL==null?void 0:l.isRTL(e));let d=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:m}=_1(d,r,f),y=r,g=0;const _={};for(let w=0;w<o.length;w++){const S=o[w];if(!S)continue;const{name:C,fn:b}=S,{x:R,y:P,data:O,reset:N}=await b({x:h,y:m,initialPlacement:r,placement:y,strategy:i,middlewareData:_,rects:d,platform:u,elements:{reference:t,floating:e}});h=R??h,m=P??m,_[C]={..._[C],...O},N&&g<BD&&(g++,typeof N=="object"&&(N.placement&&(y=N.placement),N.rects&&(d=N.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:i}):N.rects),{x:h,y:m}=_1(d,y,f)),w=-1)}return{x:h,y:m,placement:y,strategy:i,middlewareData:_}},WD=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:i,rects:o,platform:l,elements:u,middlewareData:f}=e,{element:d,padding:h=0}=Ma(t,e)||{};if(d==null)return{};const m=zC(h),y={x:n,y:r},g=_0(i),_=x0(g),w=await l.getDimensions(d),S=g==="y",C=S?"top":"left",b=S?"bottom":"right",R=S?"clientHeight":"clientWidth",P=o.reference[_]+o.reference[g]-y[g]-o.floating[_],O=y[g]-o.reference[g],N=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d));let L=N?N[R]:0;(!L||!await(l.isElement==null?void 0:l.isElement(N)))&&(L=u.floating[R]||o.floating[_]);const F=P/2-O/2,j=L/2-w[_]/2-1,B=Tl(m[C],j),re=Tl(m[b],j),W=B,ie=L-w[_]-re,ee=L/2-w[_]/2+F,me=sv(W,ee,ie),le=!f.arrow&&Uc(i)!=null&&ee!==me&&o.reference[_]/2-(ee<W?B:re)-w[_]/2<0,ae=le?ee<W?ee-W:ee-ie:0;return{[g]:y[g]+ae,data:{[g]:me,centerOffset:ee-me-ae,...le&&{alignmentOffset:ae}},reset:le}}}),HD=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:i,middlewareData:o,rects:l,initialPlacement:u,platform:f,elements:d}=e,{mainAxis:h=!0,crossAxis:m=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:w=!0,...S}=Ma(t,e);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const C=Da(i),b=ta(u),R=Da(u)===u,P=await(f.isRTL==null?void 0:f.isRTL(d.floating)),O=y||(R||!w?[Dp(u)]:ND(u)),N=_!=="none";!y&&N&&O.push(...zD(u,w,_,P));const L=[u,...O],F=await f.detectOverflow(e,S),j=[];let B=((r=o.flip)==null?void 0:r.overflows)||[];if(h&&j.push(F[C]),m){const ee=LD(i,l,P);j.push(F[ee[0]],F[ee[1]])}if(B=[...B,{placement:i,overflows:j}],!j.every(ee=>ee<=0)){var re,W;const ee=(((re=o.flip)==null?void 0:re.index)||0)+1,me=L[ee];if(me&&(!(m==="alignment"?b!==ta(me):!1)||B.every($=>ta($.placement)===b?$.overflows[0]>0:!0)))return{data:{index:ee,overflows:B},reset:{placement:me}};let le=(W=B.filter(ae=>ae.overflows[0]<=0).sort((ae,$)=>ae.overflows[1]-$.overflows[1])[0])==null?void 0:W.placement;if(!le)switch(g){case"bestFit":{var ie;const ae=(ie=B.filter($=>{if(N){const K=ta($.placement);return K===b||K==="y"}return!0}).map($=>[$.placement,$.overflows.filter(K=>K>0).reduce((K,D)=>K+D,0)]).sort(($,K)=>$[1]-K[1])[0])==null?void 0:ie[0];ae&&(le=ae);break}case"initialPlacement":le=u;break}if(i!==le)return{reset:{placement:le}}}return{}}}};function S1(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function T1(t){return MD.some(e=>t[e]>=0)}const YD=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:r}=e,{strategy:i="referenceHidden",...o}=Ma(t,e);switch(i){case"referenceHidden":{const l=await r.detectOverflow(e,{...o,elementContext:"reference"}),u=S1(l,n.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:T1(u)}}}case"escaped":{const l=await r.detectOverflow(e,{...o,altBoundary:!0}),u=S1(l,n.floating);return{data:{escapedOffsets:u,escaped:T1(u)}}}default:return{}}}}},jC=new Set(["left","top"]);async function KD(t,e){const{placement:n,platform:r,elements:i}=t,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),l=Da(n),u=Uc(n),f=ta(n)==="y",d=jC.has(l)?-1:1,h=o&&f?-1:1,m=Ma(e,t);let{mainAxis:y,crossAxis:g,alignmentAxis:_}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return u&&typeof _=="number"&&(g=u==="end"?_*-1:_),f?{x:g*h,y:y*d}:{x:y*d,y:g*h}}const XD=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:i,y:o,placement:l,middlewareData:u}=e,f=await KD(e,t);return l===((n=u.offset)==null?void 0:n.placement)&&(r=u.arrow)!=null&&r.alignmentOffset?{}:{x:i+f.x,y:o+f.y,data:{...f,placement:l}}}}},GD=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:i,platform:o}=e,{mainAxis:l=!0,crossAxis:u=!1,limiter:f={fn:C=>{let{x:b,y:R}=C;return{x:b,y:R}}},...d}=Ma(t,e),h={x:n,y:r},m=await o.detectOverflow(e,d),y=ta(Da(i)),g=w0(y);let _=h[g],w=h[y];if(l){const C=g==="y"?"top":"left",b=g==="y"?"bottom":"right",R=_+m[C],P=_-m[b];_=sv(R,_,P)}if(u){const C=y==="y"?"top":"left",b=y==="y"?"bottom":"right",R=w+m[C],P=w-m[b];w=sv(R,w,P)}const S=f.fn({...e,[g]:_,[y]:w});return{...S,data:{x:S.x-n,y:S.y-r,enabled:{[g]:l,[y]:u}}}}}},qD=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:i,rects:o,middlewareData:l}=e,{offset:u=0,mainAxis:f=!0,crossAxis:d=!0}=Ma(t,e),h={x:n,y:r},m=ta(i),y=w0(m);let g=h[y],_=h[m];const w=Ma(u,e),S=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(f){const R=y==="y"?"height":"width",P=o.reference[y]-o.floating[R]+S.mainAxis,O=o.reference[y]+o.reference[R]-S.mainAxis;g<P?g=P:g>O&&(g=O)}if(d){var C,b;const R=y==="y"?"width":"height",P=jC.has(Da(i)),O=o.reference[m]-o.floating[R]+(P&&((C=l.offset)==null?void 0:C[m])||0)+(P?0:S.crossAxis),N=o.reference[m]+o.reference[R]+(P?0:((b=l.offset)==null?void 0:b[m])||0)-(P?S.crossAxis:0);_<O?_=O:_>N&&(_=N)}return{[y]:g,[m]:_}}}},QD=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:i,rects:o,platform:l,elements:u}=e,{apply:f=()=>{},...d}=Ma(t,e),h=await l.detectOverflow(e,d),m=Da(i),y=Uc(i),g=ta(i)==="y",{width:_,height:w}=o.floating;let S,C;m==="top"||m==="bottom"?(S=m,C=y===(await(l.isRTL==null?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(C=m,S=y==="end"?"top":"bottom");const b=w-h.top-h.bottom,R=_-h.left-h.right,P=Tl(w-h[S],b),O=Tl(_-h[C],R),N=!e.middlewareData.shift;let L=P,F=O;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(F=R),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(L=b),N&&!y){const B=Os(h.left,0),re=Os(h.right,0),W=Os(h.top,0),ie=Os(h.bottom,0);g?F=_-2*(B!==0||re!==0?B+re:Os(h.left,h.right)):L=w-2*(W!==0||ie!==0?W+ie:Os(h.top,h.bottom))}await f({...e,availableWidth:F,availableHeight:L});const j=await l.getDimensions(u.floating);return _!==j.width||w!==j.height?{reset:{rects:!0}}:{}}}};function dm(){return typeof window<"u"}function Wc(t){return $C(t)?(t.nodeName||"").toLowerCase():"#document"}function Is(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function fa(t){var e;return(e=($C(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function $C(t){return dm()?t instanceof Node||t instanceof Is(t).Node:!1}function Fo(t){return dm()?t instanceof Element||t instanceof Is(t).Element:!1}function Fa(t){return dm()?t instanceof HTMLElement||t instanceof Is(t).HTMLElement:!1}function C1(t){return!dm()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Is(t).ShadowRoot}function Ed(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=Vo(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&i!=="inline"&&i!=="contents"}function ZD(t){return/^(table|td|th)$/.test(Wc(t))}function hm(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const JD=/transform|translate|scale|rotate|perspective|filter/,eL=/paint|layout|strict|content/,au=t=>!!t&&t!=="none";let ey;function S0(t){const e=Fo(t)?Vo(t):t;return au(e.transform)||au(e.translate)||au(e.scale)||au(e.rotate)||au(e.perspective)||!T0()&&(au(e.backdropFilter)||au(e.filter))||JD.test(e.willChange||"")||eL.test(e.contain||"")}function tL(t){let e=Cl(t);for(;Fa(e)&&!Oc(e);){if(S0(e))return e;if(hm(e))return null;e=Cl(e)}return null}function T0(){return ey==null&&(ey=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ey}function Oc(t){return/^(html|body|#document)$/.test(Wc(t))}function Vo(t){return Is(t).getComputedStyle(t)}function pm(t){return Fo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Cl(t){if(Wc(t)==="html")return t;const e=t.assignedSlot||t.parentNode||C1(t)&&t.host||fa(t);return C1(e)?e.host:e}function BC(t){const e=Cl(t);return Oc(e)?t.ownerDocument?t.ownerDocument.body:t.body:Fa(e)&&Ed(e)?e:BC(e)}function ld(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=BC(t),o=i===((r=t.ownerDocument)==null?void 0:r.body),l=Is(i);if(o){const u=av(l);
vendor: 7,575 bytes, line 8
8return e.concat(l,l.visualViewport||[],Ed(i)?i:[],u&&n?ld(u):[])}else return e.concat(i,ld(i,[],n))}function av(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function UC(t){const e=Vo(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Fa(t),o=i?t.offsetWidth:n,l=i?t.offsetHeight:r,u=Mp(n)!==o||Mp(r)!==l;return u&&(n=o,r=l),{width:n,height:r,$:u}}function C0(t){return Fo(t)?t:t.contextElement}function xc(t){const e=C0(t);if(!Fa(e))return ia(1);const n=e.getBoundingClientRect(),{width:r,height:i,$:o}=UC(e);let l=(o?Mp(n.width):n.width)/r,u=(o?Mp(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!u||!Number.isFinite(u))&&(u=1),{x:l,y:u}}const nL=ia(0);function WC(t){const e=Is(t);return!T0()||!e.visualViewport?nL:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function rL(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Is(t)?!1:e}function ku(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),o=C0(t);let l=ia(1);e&&(r?Fo(r)&&(l=xc(r)):l=xc(t));const u=rL(o,n,r)?WC(o):ia(0);let f=(i.left+u.x)/l.x,d=(i.top+u.y)/l.y,h=i.width/l.x,m=i.height/l.y;if(o){const y=Is(o),g=r&&Fo(r)?Is(r):r;let _=y,w=av(_);for(;w&&r&&g!==_;){const S=xc(w),C=w.getBoundingClientRect(),b=Vo(w),R=C.left+(w.clientLeft+parseFloat(b.paddingLeft))*S.x,P=C.top+(w.clientTop+parseFloat(b.paddingTop))*S.y;f*=S.x,d*=S.y,h*=S.x,m*=S.y,f+=R,d+=P,_=Is(w),w=av(_)}}return Lp({width:h,height:m,x:f,y:d})}function mm(t,e){const n=pm(t).scrollLeft;return e?e.left+n:ku(fa(t)).left+n}function HC(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-mm(t,n),i=n.top+e.scrollTop;return{x:r,y:i}}function iL(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t;const o=i==="fixed",l=fa(r),u=e?hm(e.floating):!1;if(r===l||u&&o)return n;let f={scrollLeft:0,scrollTop:0},d=ia(1);const h=ia(0),m=Fa(r);if((m||!m&&!o)&&((Wc(r)!=="body"||Ed(l))&&(f=pm(r)),m)){const g=ku(r);d=xc(r),h.x=g.x+r.clientLeft,h.y=g.y+r.clientTop}const y=l&&!m&&!o?HC(l,f):ia(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-f.scrollLeft*d.x+h.x+y.x,y:n.y*d.y-f.scrollTop*d.y+h.y+y.y}}function sL(t){return Array.from(t.getClientRects())}function oL(t){const e=fa(t),n=pm(t),r=t.ownerDocument.body,i=Os(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=Os(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+mm(t);const u=-n.scrollTop;return Vo(r).direction==="rtl"&&(l+=Os(e.clientWidth,r.clientWidth)-i),{width:i,height:o,x:l,y:u}}const b1=25;function aL(t,e){const n=Is(t),r=fa(t),i=n.visualViewport;let o=r.clientWidth,l=r.clientHeight,u=0,f=0;if(i){o=i.width,l=i.height;const h=T0();(!h||h&&e==="fixed")&&(u=i.offsetLeft,f=i.offsetTop)}const d=mm(r);if(d<=0){const h=r.ownerDocument,m=h.body,y=getComputedStyle(m),g=h.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,_=Math.abs(r.clientWidth-m.clientWidth-g);_<=b1&&(o-=_)}else d<=b1&&(o+=d);return{width:o,height:l,x:u,y:f}}function lL(t,e){const n=ku(t,!0,e==="fixed"),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=Fa(t)?xc(t):ia(1),l=t.clientWidth*o.x,u=t.clientHeight*o.y,f=i*o.x,d=r*o.y;return{width:l,height:u,x:f,y:d}}function E1(t,e,n){let r;if(e==="viewport")r=aL(t,n);else if(e==="document")r=oL(fa(t));else if(Fo(e))r=lL(e,n);else{const i=WC(t);r={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Lp(r)}function YC(t,e){const n=Cl(t);return n===e||!Fo(n)||Oc(n)?!1:Vo(n).position==="fixed"||YC(n,e)}function uL(t,e){const n=e.get(t);if(n)return n;let r=ld(t,[],!1).filter(u=>Fo(u)&&Wc(u)!=="body"),i=null;const o=Vo(t).position==="fixed";let l=o?Cl(t):t;for(;Fo(l)&&!Oc(l);){const u=Vo(l),f=S0(l);!f&&u.position==="fixed"&&(i=null),(o?!f&&!i:!f&&u.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||Ed(l)&&!f&&YC(t,l))?r=r.filter(h=>h!==l):i=u,l=Cl(l)}return e.set(t,r),r}function cL(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t;const l=[...n==="clippingAncestors"?hm(e)?[]:uL(e,this._c):[].concat(n),r],u=E1(e,l[0],i);let f=u.top,d=u.right,h=u.bottom,m=u.left;for(let y=1;y<l.length;y++){const g=E1(e,l[y],i);f=Os(g.top,f),d=Tl(g.right,d),h=Tl(g.bottom,h),m=Os(g.left,m)}return{width:d-m,height:h-f,x:m,y:f}}function fL(t){const{width:e,height:n}=UC(t);return{width:e,height:n}}function dL(t,e,n){const r=Fa(e),i=fa(e),o=n==="fixed",l=ku(t,!0,o,e);let u={scrollLeft:0,scrollTop:0};const f=ia(0);function d(){f.x=mm(i)}if(r||!r&&!o)if((Wc(e)!=="body"||Ed(i))&&(u=pm(e)),r){const g=ku(e,!0,o,e);f.x=g.x+e.clientLeft,f.y=g.y+e.clientTop}else i&&d();o&&!r&&i&&d();const h=i&&!r&&!o?HC(i,u):ia(0),m=l.left+u.scrollLeft-f.x-h.x,y=l.top+u.scrollTop-f.y-h.y;return{x:m,y,width:l.width,height:l.height}}function ty(t){return Vo(t).position==="static"}function P1(t,e){if(!Fa(t)||Vo(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return fa(t)===n&&(n=n.ownerDocument.body),n}function KC(t,e){const n=Is(t);if(hm(t))return n;if(!Fa(t)){let i=Cl(t);for(;i&&!Oc(i);){if(Fo(i)&&!ty(i))return i;i=Cl(i)}return n}let r=P1(t,e);for(;r&&ZD(r)&&ty(r);)r=P1(r,e);return r&&Oc(r)&&ty(r)&&!S0(r)?n:r||tL(t)||n}const hL=async function(t){const e=this.getOffsetParent||KC,n=this.getDimensions,r=await n(t.floating);return{reference:dL(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function pL(t){return Vo(t).direction==="rtl"}const mL={convertOffsetParentRelativeRectToViewportRelativeRect:iL,getDocumentElement:fa,getClippingRect:cL,getOffsetParent:KC,getElementRects:hL,getClientRects:sL,getDimensions:fL,getScale:xc,isElement:Fo,isRTL:pL};function XC(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function gL(t,e){let n=null,r;const i=fa(t);function o(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function l(u,f){u===void 0&&(u=!1),f===void 0&&(f=1),o();const d=t.getBoundingClientRect(),{left:h,top:m,width:y,height:g}=d;if(u||e(),!y||!g)return;const _=Mh(m),w=Mh(i.clientWidth-(h+y)),S=Mh(i.clientHeight-(m+g)),C=Mh(h),R={rootMargin:-_+"px "+-w+"px "+-S+"px "+-C+"px",threshold:Os(0,Tl(1,f))||1};let P=!0;function O(N){const L=N[0].intersectionRatio;if(L!==f){if(!P)return l();L?l(!1,L):r=setTimeout(()=>{l(!1,1e-7)},1e3)}L===1&&!XC(d,t.getBoundingClientRect())&&l(),P=!1}try{n=new IntersectionObserver(O,{...R,root:i.ownerDocument})}catch{n=new IntersectionObserver(O,R)}n.observe(t)}return l(!0),o}function yL(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,d=C0(t),h=i||o?[...d?ld(d):[],...e?ld(e):[]]:[];h.forEach(C=>{i&&C.addEventListener("scroll",n,{passive:!0}),o&&C.addEventListener("resize",n)});const m=d&&u?gL(d,n):null;let y=-1,g=null;l&&(g=new ResizeObserver(C=>{let[b]=C;b&&b.target===d&&g&&e&&(g.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var R;(R=g)==null||R.observe(e)})),n()}),d&&!f&&g.observe(d),e&&g.observe(e));let _,w=f?ku(t):null;f&&S();function S(){const C=ku(t);w&&!XC(w,C)&&n(),w=C,_=requestAnimationFrame(S)}return n(),()=>{var C;h.forEach(b=>{i&&b.removeEventListener("scroll",n),o&&b.removeEventListener("resize",n)}),m?.(),(C=g)==null||C.disconnect(),g=null,f&&cancelAnimationFrame(_)}}const vL=XD,wL=GD,xL=HD,_L=QD,SL=YD,k1=WD,TL=qD,CL=(t,e,n)=>{const r=new Map,i={platform:mL,...n},o={...i.platform,_c:r};return UD(t,e,{...i,platform:o})};var bL=typeof document<"u",EL=function(){},ap=bL?T.useLayoutEffect:EL;function Np(t,e){if(t===e)return!0;
vendor: 4,527 bytes, line 8
8if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!Np(t[r],e[r]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&t.$$typeof)&&!Np(t[o],e[o]))return!1}return!0}return t!==t&&e!==e}function GC(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function R1(t,e){const n=GC(t);return Math.round(e*n)/n}function ny(t){const e=T.useRef(t);return ap(()=>{e.current=t}),e}function PL(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:l}={},transform:u=!0,whileElementsMounted:f,open:d}=t,[h,m]=T.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[y,g]=T.useState(r);Np(y,r)||g(r);const[_,w]=T.useState(null),[S,C]=T.useState(null),b=T.useCallback($=>{$!==N.current&&(N.current=$,w($))},[]),R=T.useCallback($=>{$!==L.current&&(L.current=$,C($))},[]),P=o||_,O=l||S,N=T.useRef(null),L=T.useRef(null),F=T.useRef(h),j=f!=null,B=ny(f),re=ny(i),W=ny(d),ie=T.useCallback(()=>{if(!N.current||!L.current)return;const $={placement:e,strategy:n,middleware:y};re.current&&($.platform=re.current),CL(N.current,L.current,$).then(K=>{const D={...K,isPositioned:W.current!==!1};ee.current&&!Np(F.current,D)&&(F.current=D,sm.flushSync(()=>{m(D)}))})},[y,e,n,re,W]);ap(()=>{d===!1&&F.current.isPositioned&&(F.current.isPositioned=!1,m($=>({...$,isPositioned:!1})))},[d]);const ee=T.useRef(!1);ap(()=>(ee.current=!0,()=>{ee.current=!1}),[]),ap(()=>{if(P&&(N.current=P),O&&(L.current=O),P&&O){if(B.current)return B.current(P,O,ie);ie()}},[P,O,ie,B,j]);const me=T.useMemo(()=>({reference:N,floating:L,setReference:b,setFloating:R}),[b,R]),le=T.useMemo(()=>({reference:P,floating:O}),[P,O]),ae=T.useMemo(()=>{const $={position:n,left:0,top:0};if(!le.floating)return $;const K=R1(le.floating,h.x),D=R1(le.floating,h.y);return u?{...$,transform:"translate("+K+"px, "+D+"px)",...GC(le.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:K,top:D}},[n,u,le.floating,h.x,h.y]);return T.useMemo(()=>({...h,update:ie,refs:me,elements:le,floatingStyles:ae}),[h,ie,me,le,ae])}const kL=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:i}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?k1({element:r.current,padding:i}).fn(n):{}:r?k1({element:r,padding:i}).fn(n):{}}}},RL=(t,e)=>{const n=vL(t);return{name:n.name,fn:n.fn,options:[t,e]}},OL=(t,e)=>{const n=wL(t);return{name:n.name,fn:n.fn,options:[t,e]}},AL=(t,e)=>({fn:TL(t).fn,options:[t,e]}),ML=(t,e)=>{const n=xL(t);return{name:n.name,fn:n.fn,options:[t,e]}},DL=(t,e)=>{const n=_L(t);return{name:n.name,fn:n.fn,options:[t,e]}},LL=(t,e)=>{const n=SL(t);return{name:n.name,fn:n.fn,options:[t,e]}},NL=(t,e)=>{const n=kL(t);return{name:n.name,fn:n.fn,options:[t,e]}};var IL="Arrow",qC=T.forwardRef((t,e)=>{const{children:n,width:r=10,height:i=5,...o}=t;return ce.jsx(xr.svg,{...o,ref:e,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:ce.jsx("polygon",{points:"0,0 30,0 15,10"})})});qC.displayName=IL;var FL=qC;function VL(t){const[e,n]=T.useState(void 0);return Aa(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let l,u;if("borderBoxSize"in o){const f=o.borderBoxSize,d=Array.isArray(f)?f[0]:f;l=d.inlineSize,u=d.blockSize}else l=t.offsetWidth,u=t.offsetHeight;n({width:l,height:u})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}var QC="Popper",[ZC,JC]=bd(QC),[C5,eb]=ZC(QC),tb="PopperAnchor",nb=T.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:r,...i}=t,o=eb(tb,n),l=T.useRef(null),u=Yi(e,l),f=T.useRef(null);return T.useEffect(()=>{const d=f.current;f.current=r?.current||l.current,d!==f.current&&o.onAnchorChange(f.current)}),r?null:ce.jsx(xr.div,{...i,ref:u})});nb.displayName=tb;var b0="PopperContent",[zL,jL]=ZC(b0),rb=T.forwardRef((t,e)=>{const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:o="center",alignOffset:l=0,arrowPadding:u=0,avoidCollisions:f=!0,collisionBoundary:d=[],collisionPadding:h=0,sticky:m="partial",hideWhenDetached:y=!1,updatePositionStrategy:g="optimized",onPlaced:_,...w}
vendor: 4,240 bytes, line 8
8=t,S=eb(b0,n),[C,b]=T.useState(null),R=Yi(e,_e=>b(_e)),[P,O]=T.useState(null),N=VL(P),L=N?.width??0,F=N?.height??0,j=r+(o!=="center"?"-"+o:""),B=typeof h=="number"?h:{top:0,right:0,bottom:0,left:0,...h},re=Array.isArray(d)?d:[d],W=re.length>0,ie={padding:B,boundary:re.filter(BL),altBoundary:W},{refs:ee,floatingStyles:me,placement:le,isPositioned:ae,middlewareData:$}=PL({strategy:"fixed",placement:j,whileElementsMounted:(..._e)=>yL(..._e,{animationFrame:g==="always"}),elements:{reference:S.anchor},middleware:[RL({mainAxis:i+F,alignmentAxis:l}),f&&OL({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?AL():void 0,...ie}),f&&ML({...ie}),DL({...ie,apply:({elements:_e,rects:Te,availableWidth:ue,availableHeight:Pt})=>{const{width:ke,height:Ze}=Te.reference,Ve=_e.floating.style;Ve.setProperty("--radix-popper-available-width",`${ue}px`),Ve.setProperty("--radix-popper-available-height",`${Pt}px`),Ve.setProperty("--radix-popper-anchor-width",`${ke}px`),Ve.setProperty("--radix-popper-anchor-height",`${Ze}px`)}}),P&&NL({element:P,padding:u}),UL({arrowWidth:L,arrowHeight:F}),y&&LL({strategy:"referenceHidden",...ie})]}),[K,D]=ob(le),V=aa(_);Aa(()=>{ae&&V?.()},[ae,V]);const G=$.arrow?.x,ye=$.arrow?.y,pe=$.arrow?.centerOffset!==0,[Ee,Ie]=T.useState();return Aa(()=>{C&&Ie(window.getComputedStyle(C).zIndex)},[C]),ce.jsx("div",{ref:ee.setFloating,"data-radix-popper-content-wrapper":"",style:{...me,transform:ae?me.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ee,"--radix-popper-transform-origin":[$.transformOrigin?.x,$.transformOrigin?.y].join(" "),...$.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:ce.jsx(zL,{scope:n,placedSide:K,onArrowChange:O,arrowX:G,arrowY:ye,shouldHideArrow:pe,children:ce.jsx(xr.div,{"data-side":K,"data-align":D,...w,ref:R,style:{...w.style,animation:ae?void 0:"none"}})})})});rb.displayName=b0;var ib="PopperArrow",$L={top:"bottom",right:"left",bottom:"top",left:"right"},sb=T.forwardRef(function(e,n){const{__scopePopper:r,...i}=e,o=jL(ib,r),l=$L[o.placedSide];return ce.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:ce.jsx(FL,{...i,ref:n,style:{...i.style,display:"block"}})})});sb.displayName=ib;function BL(t){return t!==null}var UL=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:r,middlewareData:i}=e,l=i.arrow?.centerOffset!==0,u=l?0:t.arrowWidth,f=l?0:t.arrowHeight,[d,h]=ob(n),m={start:"0%",center:"50%",end:"100%"}[h],y=(i.arrow?.x??0)+u/2,g=(i.arrow?.y??0)+f/2;let _="",w="";return d==="bottom"?(_=l?m:`${y}px`,w=`${-f}px`):d==="top"?(_=l?m:`${y}px`,w=`${r.floating.height+f}px`):d==="right"?(_=`${-f}px`,w=l?m:`${g}px`):d==="left"&&(_=`${r.floating.width+f}px`,w=l?m:`${g}px`),{data:{x:_,y:w}}}});function ob(t){const[e,n="center"]=t.split("-");return[e,n]}var WL=nb,HL=rb,YL=sb,KL="Portal",E0=T.forwardRef((t,e)=>{const{container:n,...r}=t,[i,o]=T.useState(!1);Aa(()=>o(!0),[]);const l=n||i&&globalThis?.document?.body;return l?aC.createPortal(ce.jsx(xr.div,{...r,ref:e}),l):null});E0.displayName=KL;function XL(t,e){return T.useReducer((n,r)=>e[n][r]??n,t)}var Hc=t=>{const{present:e,children:n}=t,r=GL(e),i=typeof n=="function"?n({present:r.isPresent}):T.Children.only(n),o=Yi(r.ref,qL(i));return typeof n=="function"||r.isPresent?T.cloneElement(i,{ref:o}):null};Hc.displayName="Presence";function GL(t){const[e,n]=T.useState(),r=T.useRef(null),i=T.useRef(t),o=T.useRef("none"),l=t?"mounted":"unmounted",[u,f]=XL(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return T.useEffect(()=>{const d=Dh(r.current);o.current=u==="mounted"?d:"none"},[u]),Aa(()=>{const d=r.current,h=i.current;if(h!==t){const y=o.current,g=Dh(d);t?f("MOUNT"):g==="none"||d?.display==="none"?f("UNMOUNT"):f(h&&y!==g?"ANIMATION_OUT":"UNMOUNT"),i.current=t}},[t,f]),Aa(()=>
vendor: 5,433 bytes, line 8
8{if(e){let d;const h=e.ownerDocument.defaultView??window,m=g=>{const w=Dh(r.current).includes(CSS.escape(g.animationName));if(g.target===e&&w&&(f("ANIMATION_END"),!i.current)){const S=e.style.animationFillMode;e.style.animationFillMode="forwards",d=h.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=S)})}},y=g=>{g.target===e&&(o.current=Dh(r.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{h.clearTimeout(d),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else f("ANIMATION_END")},[e,f]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:T.useCallback(d=>{r.current=d?getComputedStyle(d):null,n(d)},[])}}function Dh(t){return t?.animationName||"none"}function qL(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var QL=Symbol("radix.slottable");function ZL(t){const e=({children:n})=>ce.jsx(ce.Fragment,{children:n});return e.displayName=`${t}.Slottable`,e.__radixId=QL,e}var JL=im[" useInsertionEffect ".trim().toString()]||Aa;function ab({prop:t,defaultProp:e,onChange:n=()=>{},caller:r}){const[i,o,l]=e2({defaultProp:e,onChange:n}),u=t!==void 0,f=u?t:i;{const h=T.useRef(t!==void 0);T.useEffect(()=>{const m=h.current;m!==u&&console.warn(`${r} is changing from ${m?"controlled":"uncontrolled"} to ${u?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),h.current=u},[u,r])}const d=T.useCallback(h=>{if(u){const m=t2(h)?h(t):h;m!==t&&l.current?.(m)}else o(h)},[u,t,o,l]);return[f,d]}function e2({defaultProp:t,onChange:e}){const[n,r]=T.useState(t),i=T.useRef(n),o=T.useRef(e);return JL(()=>{o.current=e},[e]),T.useEffect(()=>{i.current!==n&&(o.current?.(n),i.current=n)},[n,i]),[n,r,o]}function t2(t){return typeof t=="function"}var n2=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),r2="VisuallyHidden",lb=T.forwardRef((t,e)=>ce.jsx(xr.span,{...t,ref:e,style:{...n2,...t.style}}));lb.displayName=r2;var i2=lb,[gm]=bd("Tooltip",[JC]),P0=JC(),ub="TooltipProvider",s2=700,O1="tooltip.open",[o2,cb]=gm(ub),fb=t=>{const{__scopeTooltip:e,delayDuration:n=s2,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=t,l=T.useRef(!0),u=T.useRef(!1),f=T.useRef(0);return T.useEffect(()=>{const d=f.current;return()=>window.clearTimeout(d)},[]),ce.jsx(o2,{scope:e,isOpenDelayedRef:l,delayDuration:n,onOpen:T.useCallback(()=>{window.clearTimeout(f.current),l.current=!1},[]),onClose:T.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:u,onPointerInTransitChange:T.useCallback(d=>{u.current=d},[]),disableHoverableContent:i,children:o})};fb.displayName=ub;var db="Tooltip",[b5,ym]=gm(db),lv="TooltipTrigger",a2=T.forwardRef((t,e)=>{const{__scopeTooltip:n,...r}=t,i=ym(lv,n),o=cb(lv,n),l=P0(n),u=T.useRef(null),f=Yi(e,u,i.onTriggerChange),d=T.useRef(!1),h=T.useRef(!1),m=T.useCallback(()=>d.current=!1,[]);return T.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),ce.jsx(WL,{asChild:!0,...l,children:ce.jsx(xr.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:f,onPointerMove:Nn(t.onPointerMove,y=>{y.pointerType!=="touch"&&!h.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),h.current=!0)}),onPointerLeave:Nn(t.onPointerLeave,()=>{i.onTriggerLeave(),h.current=!1}),onPointerDown:Nn(t.onPointerDown,()=>{i.open&&i.onClose(),d.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:Nn(t.onFocus,()=>{d.current||i.onOpen()}),onBlur:Nn(t.onBlur,i.onClose),onClick:Nn(t.onClick,i.onClose)})})});a2.displayName=lv;var l2="TooltipPortal",[E5,u2]=gm(l2,{forceMount:void 0}),Ac="TooltipContent",hb=T.forwardRef((t,e)=>{const n=u2(Ac,t.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=t,l=ym(Ac,t.__scopeTooltip);return ce.jsx(Hc,{present:r||l.open,children:l.disableHoverableContent?ce.jsx(pb,{side:i,...o,ref:e}):ce.jsx(c2,{side:i,...o,ref:e})})}),c2=T.forwardRef((t,e)=>{const n=ym(Ac,t.__scopeTooltip),r=cb(Ac,t.__scopeTooltip),i=T.useRef(null),o=Yi(e,i),[l,u]=T.useState(null),{trigger:f,onClose:d}=n,h=i.current,{onPointerInTransitChange:m}=r,y=T.useCallback(()=>{u(null),m(!1)},[m]),g=T.useCallback((_,w)=>{const S=_.currentTarget,C={x:_.clientX,y:_.clientY},b=m2(C,S.getBoundingClientRect()),R=g2(C,b),P=y2(w.getBoundingClientRect()),O=w2([...R,...P]);u(O),m(!0)},[m]);return T.useEffect(()=>()=>y(),[y]),T.useEffect(()=>{if(f&&h){const _=S=>g(S,h),w=S=>g(S,f);return f.addEventListener("pointerleave",_),h.addEventListener("pointerleave",w),()=>{f.removeEventListener("pointerleave",_),h.removeEventListener("pointerleave",w)}}},[f,h,g,y]),T.useEffect(()=>{if(l){const _=w=>{const S=w.target,C={x:w.clientX,y:w.clientY},b=f?.contains(S)||h?.contains(S),R=!v2(C,l);b?y():R&&(y(),d())};return document.addEventListener("pointermove",_),()=>document.removeEventListener("pointermove",_)}
vendor: 4,152 bytes, line 8
8},[f,h,l,d,y]),ce.jsx(pb,{...t,ref:o})}),[f2,d2]=gm(db,{isInside:!1}),h2=ZL("TooltipContent"),pb=T.forwardRef((t,e)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:l,...u}=t,f=ym(Ac,n),d=P0(n),{onClose:h}=f;return T.useEffect(()=>(document.addEventListener(O1,h),()=>document.removeEventListener(O1,h)),[h]),T.useEffect(()=>{if(f.trigger){const m=y=>{y.target?.contains(f.trigger)&&h()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[f.trigger,h]),ce.jsx(fm,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:m=>m.preventDefault(),onDismiss:h,children:ce.jsxs(HL,{"data-state":f.stateAttribute,...d,...u,ref:e,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[ce.jsx(h2,{children:r}),ce.jsx(f2,{scope:n,isInside:!0,children:ce.jsx(i2,{id:f.contentId,role:"tooltip",children:i||r})})]})})});hb.displayName=Ac;var mb="TooltipArrow",p2=T.forwardRef((t,e)=>{const{__scopeTooltip:n,...r}=t,i=P0(n);return d2(mb,n).isInside?null:ce.jsx(YL,{...i,...r,ref:e})});p2.displayName=mb;function m2(t,e){const n=Math.abs(e.top-t.y),r=Math.abs(e.bottom-t.y),i=Math.abs(e.right-t.x),o=Math.abs(e.left-t.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function g2(t,e,n=5){const r=[];switch(e){case"top":r.push({x:t.x-n,y:t.y+n},{x:t.x+n,y:t.y+n});break;case"bottom":r.push({x:t.x-n,y:t.y-n},{x:t.x+n,y:t.y-n});break;case"left":r.push({x:t.x+n,y:t.y-n},{x:t.x+n,y:t.y+n});break;case"right":r.push({x:t.x-n,y:t.y-n},{x:t.x-n,y:t.y+n});break}return r}function y2(t){const{top:e,right:n,bottom:r,left:i}=t;return[{x:i,y:e},{x:n,y:e},{x:n,y:r},{x:i,y:r}]}function v2(t,e){const{x:n,y:r}=t;let i=!1;for(let o=0,l=e.length-1;o<e.length;l=o++){const u=e[o],f=e[l],d=u.x,h=u.y,m=f.x,y=f.y;h>r!=y>r&&n<(m-d)*(r-h)/(y-h)+d&&(i=!i)}return i}function w2(t){const e=t.slice();return e.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),x2(e)}function x2(t){if(t.length<=1)return t.slice();const e=[];for(let r=0;r<t.length;r++){const i=t[r];for(;e.length>=2;){const o=e[e.length-1],l=e[e.length-2];if((o.x-l.x)*(i.y-l.y)>=(o.y-l.y)*(i.x-l.x))e.pop();else break}e.push(i)}e.pop();const n=[];for(let r=t.length-1;r>=0;r--){const i=t[r];for(;n.length>=2;){const o=n[n.length-1],l=n[n.length-2];if((o.x-l.x)*(i.y-l.y)>=(o.y-l.y)*(i.x-l.x))n.pop();else break}n.push(i)}return n.pop(),e.length===1&&n.length===1&&e[0].x===n[0].x&&e[0].y===n[0].y?e:e.concat(n)}var P5=fb,k5=hb;function gb(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(n=gb(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function _2(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=gb(t))&&(r&&(r+=" "),r+=e);return r}const k0="-",S2=t=>{const e=C2(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:l=>{const u=l.split(k0);return u[0]===""&&u.length!==1&&u.shift(),yb(u,e)||T2(l)},getConflictingClassGroupIds:(l,u)=>{const f=n[l]||[];return u&&r[l]?[...f,...r[l]]:f}}},yb=(t,e)=>{if(t.length===0)return e.classGroupId;const n=t[0],r=e.nextPart.get(n),i=r?yb(t.slice(1),r):void 0;if(i)return i;if(e.validators.length===0)return;const o=t.join(k0);return e.validators.find(({validator:l})=>l(o))?.classGroupId},A1=/^\[(.+)\]$/,T2=t=>{if(A1.test(t)){const e=A1.exec(t)[1],n=e?.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},C2=t=>{const{theme:e,prefix:n}=t,r={nextPart:new Map,validators:[]};return E2(Object.entries(t.classGroups),n).forEach(([o,l])=>{uv(l,r,o,e)}),r},uv=(t,e,n,r)=>{t.forEach(i=>
vendor: 5,030 bytes, line 8
8{if(typeof i=="string"){const o=i===""?e:M1(e,i);o.classGroupId=n;return}if(typeof i=="function"){if(b2(i)){uv(i(r),e,n,r);return}e.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,l])=>{uv(l,M1(e,o),n,r)})})},M1=(t,e)=>{let n=t;return e.split(k0).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},b2=t=>t.isThemeGetter,E2=(t,e)=>e?t.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,u])=>[e+l,u])):o);return[n,i]}):t,P2=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,r=new Map;const i=(o,l)=>{n.set(o,l),e++,e>t&&(e=0,r=n,n=new Map)};return{get(o){let l=n.get(o);if(l!==void 0)return l;if((l=r.get(o))!==void 0)return i(o,l),l},set(o,l){n.has(o)?n.set(o,l):i(o,l)}}},vb="!",k2=t=>{const{separator:e,experimentalParseClassName:n}=t,r=e.length===1,i=e[0],o=e.length,l=u=>{const f=[];let d=0,h=0,m;for(let S=0;S<u.length;S++){let C=u[S];if(d===0){if(C===i&&(r||u.slice(S,S+o)===e)){f.push(u.slice(h,S)),h=S+o;continue}if(C==="/"){m=S;continue}}C==="["?d++:C==="]"&&d--}const y=f.length===0?u:u.substring(h),g=y.startsWith(vb),_=g?y.substring(1):y,w=m&&m>h?m-h:void 0;return{modifiers:f,hasImportantModifier:g,baseClassName:_,maybePostfixModifierPosition:w}};return n?u=>n({className:u,parseClassName:l}):l},R2=t=>{if(t.length<=1)return t;const e=[];let n=[];return t.forEach(r=>{r[0]==="["?(e.push(...n.sort(),r),n=[]):n.push(r)}),e.push(...n.sort()),e},O2=t=>({cache:P2(t.cacheSize),parseClassName:k2(t),...S2(t)}),A2=/\s+/,M2=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=e,o=[],l=t.trim().split(A2);let u="";for(let f=l.length-1;f>=0;f-=1){const d=l[f],{modifiers:h,hasImportantModifier:m,baseClassName:y,maybePostfixModifierPosition:g}=n(d);let _=!!g,w=r(_?y.substring(0,g):y);if(!w){if(!_){u=d+(u.length>0?" "+u:u);continue}if(w=r(y),!w){u=d+(u.length>0?" "+u:u);continue}_=!1}const S=R2(h).join(":"),C=m?S+vb:S,b=C+w;if(o.includes(b))continue;o.push(b);const R=i(w,_);for(let P=0;P<R.length;++P){const O=R[P];o.push(C+O)}u=d+(u.length>0?" "+u:u)}return u};function D2(){let t=0,e,n,r="";for(;t<arguments.length;)(e=arguments[t++])&&(n=wb(e))&&(r&&(r+=" "),r+=n);return r}const wb=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=wb(t[r]))&&(n&&(n+=" "),n+=e);return n};function L2(t,...e){let n,r,i,o=l;function l(f){const d=e.reduce((h,m)=>m(h),t());return n=O2(d),r=n.cache.get,i=n.cache.set,o=u,u(f)}function u(f){const d=r(f);if(d)return d;const h=M2(f,n);return i(f,h),h}return function(){return o(D2.apply(null,arguments))}}const En=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},xb=/^\[(?:([a-z-]+):)?(.+)\]$/i,N2=/^\d+\/\d+$/,I2=new Set(["px","full","screen"]),F2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,V2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,z2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,j2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ca=t=>_c(t)||I2.has(t)||N2.test(t),ol=t=>Yc(t,"length",G2),_c=t=>!!t&&!Number.isNaN(Number(t)),ry=t=>Yc(t,"number",_c),Tf=t=>!!t&&Number.isInteger(Number(t)),B2=t=>t.endsWith("%")&&_c(t.slice(0,-1)),pt=t=>xb.test(t),al=t=>F2.test(t),U2=new Set(["length","size","percentage"]),W2=t=>Yc(t,U2,_b),H2=t=>Yc(t,"position",_b),Y2=new Set(["image","url"]),K2=t=>Yc(t,Y2,Q2),X2=t=>Yc(t,"",q2),Cf=()=>!0,Yc=(t,e,n)=>{const r=xb.exec(t);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):n(r[2]):!1},G2=t=>V2.test(t)&&!z2.test(t),_b=()=>!1,q2=t=>j2.test(t),Q2=t=>$2.test(t),Z2=()=>{const t=En("colors"),e=En("spacing"),n=En("blur"),r=En("brightness"),i=En("borderColor"),o=En("borderRadius"),l=En("borderSpacing"),u=En("borderWidth"),f=En("contrast"),d=En("grayscale"),h=En("hueRotate"),m=En("invert"),y=En("gap"),g=En("gradientColorStops"),_=En("gradientColorStopPositions"),w=En("inset"),S=En("margin"),C=En("opacity"),b=En("padding"),R=En("saturate"),P=En("scale"),O=En("sepia"),N=En("skew"),L=En("space"),F=En("translate"),j=()=>["auto","contain","none"],B=()=>["auto","hidden","clip","visible","scroll"],re=()=>["auto",pt,e],W=()=>[pt,e],ie=()=>["",Ca,ol],ee=()=>["auto",_c,pt],me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],le=()=>["solid","dashed","dotted","double","none"],ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",pt],D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>[_c,pt];return{cacheSize:500,separator:":",theme:{colors:[Cf],spacing:[Ca,ol],blur:["none","",al,pt],brightness:V(),borderColor:[t],borderRadius:["n
8one","","full",al,pt],borderSpacing:W(),borderWidth:ie(),contrast:V(),grayscale:K(),hueRotate:V(),invert:K(),gap:W(),gradientColorStops:[t],gradientColorStopPositions:[B2,ol],inset:re(),margin:re(),opacity:V(),padding:W(),saturate:V(),scale:V(),sepia:K(),skew:V(),space:W(),translate:W()},classGroups:{aspect:[{aspect:["auto","square","video",pt]}],container:["container"],columns:[{columns:[al]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...me(),pt]}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Tf,pt]}],basis:[{basis:re()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",pt]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",Tf,pt]}],"grid-cols":[{"grid-cols":[Cf]}],"col-start-end":[{col:["auto",{span:["full",Tf,pt]},pt]}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":[Cf]}],"row-start-end":[{row:["auto",{span:[Tf,pt]},pt]}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",pt]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",pt]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...$()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",pt,e]}],"min-w":[{"min-w":[pt,e,"min","max","fit"]}],"max-w":[{"max-w":[pt,e,"none","full","min","max","fit","prose",{screen:[al]},al]}],h:[{h:[pt,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[pt,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[pt,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[pt,e,"auto","min","max","fit"]}],"font-size":[{text:["base",al,ol]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ry]}],"font-family":[{font:[Cf]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",pt]}],"line-clamp":[{"line-clamp":["none",_c,ry]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ca,pt]}],"list-image":[{"list-image":["none",pt]}],"list-style-type":[{list:["none","disc","decimal",pt]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ca,ol]}],"underline-offset":[{"underline-offset":["auto",Ca,pt]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:W()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",pt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",pt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...me(),H2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",W2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},K2]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[_]}
vendor: 5,186 bytes, line 8
8],"gradient-via-pos":[{via:[_]}],"gradient-to-pos":[{to:[_]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...le(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:le()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...le()]}],"outline-offset":[{"outline-offset":[Ca,pt]}],"outline-w":[{outline:[Ca,ol]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[Ca,ol]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",al,X2]}],"shadow-color":[{shadow:[Cf]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":[...ae(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ae()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[f]}],"drop-shadow":[{"drop-shadow":["","none",al,pt]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[m]}],saturate:[{saturate:[R]}],sepia:[{sepia:[O]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[f]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[R]}],"backdrop-sepia":[{"backdrop-sepia":[O]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",pt]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",pt]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",pt]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[Tf,pt]}],"translate-x":[{"translate-x":[F]}],"translate-y":[{"translate-y":[F]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",pt]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",pt]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":W()}],"scroll-mx":[{"scroll-mx":W()}],"scroll-my":[{"scroll-my":W()}],"scroll-ms":[{"scroll-ms":W()}],"scroll-me":[{"scroll-me":W()}],"scroll-mt":[{"scroll-mt":W()}],"scroll-mr":[{"scroll-mr":W()}],"scroll-mb":[{"scroll-mb":W()}],"scroll-ml":[{"scroll-ml":W()}],"scroll-p":[{"scroll-p":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-pe":[{"scroll-pe":W()}],"scroll-pt":[{"scroll-pt":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-pl":[{"scroll-pl":W()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 6,871 bytes, line 8
8],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",pt]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Ca,ol,ry]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},R5=L2(Z2);function D1(t){const e=J2(t),n=T.forwardRef((r,i)=>{const{children:o,...l}=r,u=T.Children.toArray(o),f=u.find(tN);if(f){const d=f.props.children,h=u.map(m=>m===f?T.Children.count(d)>1?T.Children.only(null):T.isValidElement(d)?d.props.children:null:m);return ce.jsx(e,{...l,ref:i,children:T.isValidElement(d)?T.cloneElement(d,void 0,h):null})}return ce.jsx(e,{...l,ref:i,children:o})});return n.displayName=`${t}.Slot`,n}function J2(t){const e=T.forwardRef((n,r)=>{const{children:i,...o}=n;if(T.isValidElement(i)){const l=rN(i),u=nN(o,i.props);return i.type!==T.Fragment&&(u.ref=r?Cd(r,l):l),T.cloneElement(i,u)}return T.Children.count(i)>1?T.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var eN=Symbol("radix.slottable");function tN(t){return T.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===eN}function nN(t,e){const n={...e};for(const r in e){const i=t[r],o=e[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...u)=>{const f=o(...u);return i(...u),f}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...t,...n}}function rN(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}function iN(t){const e=t+"CollectionProvider",[n,r]=bd(e),[i,o]=n(e,{collectionRef:{current:null},itemMap:new Map}),l=w=>{const{scope:S,children:C}=w,b=ve.useRef(null),R=ve.useRef(new Map).current;return ce.jsx(i,{scope:S,itemMap:R,collectionRef:b,children:C})};l.displayName=e;const u=t+"CollectionSlot",f=D1(u),d=ve.forwardRef((w,S)=>{const{scope:C,children:b}=w,R=o(u,C),P=Yi(S,R.collectionRef);return ce.jsx(f,{ref:P,children:b})});d.displayName=u;const h=t+"CollectionItemSlot",m="data-radix-collection-item",y=D1(h),g=ve.forwardRef((w,S)=>{const{scope:C,children:b,...R}=w,P=ve.useRef(null),O=Yi(S,P),N=o(h,C);return ve.useEffect(()=>(N.itemMap.set(P,{ref:P,...R}),()=>{N.itemMap.delete(P)})),ce.jsx(y,{[m]:"",ref:O,children:b})});g.displayName=h;function _(w){const S=o(t+"CollectionConsumer",w);return ve.useCallback(()=>{const b=S.collectionRef.current;if(!b)return[];const R=Array.from(b.querySelectorAll(`[${m}]`));return Array.from(S.itemMap.values()).sort((N,L)=>R.indexOf(N.ref.current)-R.indexOf(L.ref.current))},[S.collectionRef,S.itemMap])}return[{Provider:l,Slot:d,ItemSlot:g},_,r]}var sN=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),oN="VisuallyHidden",R0=T.forwardRef((t,e)=>ce.jsx(xr.span,{...t,ref:e,style:{...sN,...t.style}}));R0.displayName=oN;var O0="ToastProvider",[A0,aN,lN]=iN("Toast"),[Sb]=bd("Toast",[lN]),[uN,vm]=Sb(O0),Tb=t=>{const{__scopeToast:e,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:o=50,children:l}=t,[u,f]=T.useState(null),[d,h]=T.useState(0),m=T.useRef(!1),y=T.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${O0}\`. Expected non-empty \`string\`.`),ce.jsx(A0.Provider,{scope:e,children:ce.jsx(uN,{scope:e,label:n,duration:r,swipeDirection:i,swipeThreshold:o,toastCount:d,viewport:u,onViewportChange:f,onToastAdd:T.useCallback(()=>h(g=>g+1),[]),onToastRemove:T.useCallback(()=>h(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:m,isClosePausedRef:y,children:l})})};Tb.displayName=O0;var Cb="ToastViewport",cN=["F8"],cv="toast.viewportPause",fv="toast.viewportResume",bb=T.forwardRef((t,e)=>{const{__scopeToast:n,hotkey:r=cN,label:i="Notifications ({hotkey})",...o}=t,l=vm(Cb,n),u=aN(n),f=T.useRef(null),d=T.useRef(null),h=T.useRef(null),m=T.useRef(null),y=Yi(e,m,l.onViewportChange),g=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=l.toastCount>0;T.useEffect(()=>{const S=C=>{r.length!==0&&r.every(R=>C[R]||C.code===R)&&m.current?.focus()};return document.addEventListener("keydown",S),()=>document.removeEventListener("keydown",S)},[r]),T.useEffect(()=>{const S=f.current,C=m.current;if(_&&S&&C){const b=()=>{if(!l.isClosePausedRef.current){const N=new CustomEvent(cv);C.dispatchEvent(N),l.isClosePausedRef.current=!0}},R=()=>
vendor: 7,026 bytes, line 8
8{if(l.isClosePausedRef.current){const N=new CustomEvent(fv);C.dispatchEvent(N),l.isClosePausedRef.current=!1}},P=N=>{!S.contains(N.relatedTarget)&&R()},O=()=>{S.contains(document.activeElement)||R()};return S.addEventListener("focusin",b),S.addEventListener("focusout",P),S.addEventListener("pointermove",b),S.addEventListener("pointerleave",O),window.addEventListener("blur",b),window.addEventListener("focus",R),()=>{S.removeEventListener("focusin",b),S.removeEventListener("focusout",P),S.removeEventListener("pointermove",b),S.removeEventListener("pointerleave",O),window.removeEventListener("blur",b),window.removeEventListener("focus",R)}}},[_,l.isClosePausedRef]);const w=T.useCallback(({tabbingDirection:S})=>{const b=u().map(R=>{const P=R.ref.current,O=[P,...TN(P)];return S==="forwards"?O:O.reverse()});return(S==="forwards"?b.reverse():b).flat()},[u]);return T.useEffect(()=>{const S=m.current;if(S){const C=b=>{const R=b.altKey||b.ctrlKey||b.metaKey;if(b.key==="Tab"&&!R){const O=document.activeElement,N=b.shiftKey;if(b.target===S&&N){d.current?.focus();return}const j=w({tabbingDirection:N?"backwards":"forwards"}),B=j.findIndex(re=>re===O);iy(j.slice(B+1))?b.preventDefault():N?d.current?.focus():h.current?.focus()}};return S.addEventListener("keydown",C),()=>S.removeEventListener("keydown",C)}},[u,w]),ce.jsxs(RD,{ref:f,role:"region","aria-label":i.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:_?void 0:"none"},children:[_&&ce.jsx(dv,{ref:d,onFocusFromOutsideViewport:()=>{const S=w({tabbingDirection:"forwards"});iy(S)}}),ce.jsx(A0.Slot,{scope:n,children:ce.jsx(xr.ol,{tabIndex:-1,...o,ref:y})}),_&&ce.jsx(dv,{ref:h,onFocusFromOutsideViewport:()=>{const S=w({tabbingDirection:"backwards"});iy(S)}})]})});bb.displayName=Cb;var Eb="ToastFocusProxy",dv=T.forwardRef((t,e)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=t,o=vm(Eb,n);return ce.jsx(R0,{tabIndex:0,...i,ref:e,style:{position:"fixed"},onFocus:l=>{const u=l.relatedTarget;!o.viewport?.contains(u)&&r()}})});dv.displayName=Eb;var Pd="Toast",fN="toast.swipeStart",dN="toast.swipeMove",hN="toast.swipeCancel",pN="toast.swipeEnd",Pb=T.forwardRef((t,e)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...l}=t,[u,f]=ab({prop:r,defaultProp:i??!0,onChange:o,caller:Pd});return ce.jsx(Hc,{present:n||u,children:ce.jsx(yN,{open:u,...l,ref:e,onClose:()=>f(!1),onPause:aa(t.onPause),onResume:aa(t.onResume),onSwipeStart:Nn(t.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Nn(t.onSwipeMove,d=>{const{x:h,y:m}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${h}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${m}px`)}),onSwipeCancel:Nn(t.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Nn(t.onSwipeEnd,d=>{const{x:h,y:m}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${h}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${m}px`),f(!1)})})})});Pb.displayName=Pd;var[mN,gN]=Sb(Pd,{onClose(){}}),yN=T.forwardRef((t,e)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:o,onClose:l,onEscapeKeyDown:u,onPause:f,onResume:d,onSwipeStart:h,onSwipeMove:m,onSwipeCancel:y,onSwipeEnd:g,..._}=t,w=vm(Pd,n),[S,C]=T.useState(null),b=Yi(e,ee=>C(ee)),R=T.useRef(null),P=T.useRef(null),O=i||w.duration,N=T.useRef(0),L=T.useRef(O),F=T.useRef(0),{onToastAdd:j,onToastRemove:B}=w,re=aa(()=>{S?.contains(document.activeElement)&&w.viewport?.focus(),l()}),W=T.useCallback(ee=>{!ee||ee===1/0||(window.clearTimeout(F.current),N.current=new Date().getTime(),F.current=window.setTimeout(re,ee))},[re]);T.useEffect(()=>{const ee=w.viewport;if(ee){const me=()=>{W(L.current),d?.()},le=()=>{const ae=new Date().getTime()-N.current;L.current=L.current-ae,window.clearTimeout(F.current),f?.()};return ee.addEventListener(cv,le),ee.addEventListener(fv,me),()=>{ee.removeEventListener(cv,le),ee.removeEventListener(fv,me)}}},[w.viewport,O,f,d,W]),T.useEffect(()=>{o&&!w.isClosePausedRef.current&&W(O)},[o,O,w.isClosePausedRef,W]),T.useEffect(()=>(j(),()=>B()),[j,B]);const ie=T.useMemo(()=>S?Lb(S):null,[S]);return w.viewport?ce.jsxs(ce.Fragment,{children:[ie&&ce.jsx(vN,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:ie}),ce.jsx(mN,{scope:n,onClose:re,children:sm.createPortal(ce.jsx(A0.ItemSlot,{scope:n,children:ce.jsx(kD,{asChild:!0,onEscapeKeyDown:Nn(u,()=>{w.isFocusedToastEscapeKeyDownRef.current||re(),w.isFocusedToastEscapeKeyDownRef.current=!1}),children:ce.jsx(xr.li,{tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":w.swipeDirection,..._,ref:b,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:Nn(t.onKeyDown,ee=>{ee.key==="Escape"&&(u?.(ee.nativeEvent),ee.nativeEvent.defaultPrevented||(w.isFocusedToastEscapeKeyDownRef.current=!0,re()))}),onPointerDown:Nn(t.onPointerDown,ee=>{ee.button===0&&(R.current={x:ee.clientX,y:ee.clientY})}),onPointerMove:Nn(t.onPointerMove,ee=>{if(!R.current)return;const me=ee.clientX-R.current.x,le=ee.clientY-R.current.y,ae=!!P.current,$=["left","right"].includes(w.swipeDirection),K=["left","up"].includes(w.swipeDirection)?Math.min:Math.max,D=$?K(0,me):0,V=$?0:K(0,le),G=ee.pointerType==="touch"?10:2,ye={x:D,y:V},pe={originalEvent:ee,delta:ye};ae?(P.current=ye,Lh(dN,m,pe,{discrete:!1})):L1(ye,w.swipeDirection,G)?(P.current=ye,Lh(fN,h,pe,{discrete:!1}),ee.target.setPointerCapture(ee.pointerId)):(Math.abs(me)>G||Math.abs(le)>G)&&(R.current=null)}),onPointerUp:Nn(t.onPointerUp,ee=>{const me=P.current,le=ee.target;if(le.hasPointerCapture(ee.pointerId)&&le.releasePointerCapture(ee.pointerId),P.current=null,R.current=null,me){const ae=ee.currentTarget,$={originalEvent:ee,delta:me};L1(me,w.swipeDirection,w.swipeThreshold)?Lh(pN,g,$,{discrete:!0}):Lh(hN,y,$,{discrete:!0}),ae.addEventListener("click",K=>K.preventDefault(),{once:!0})}})})})}),w.viewport)})]}):null}),vN=t=>{const{__scopeToast:e,children:n,...r}=t,i=vm(Pd,e),[o,l]=T.useState(!1),[u,f]=T.useState(!1);return _N(()=>l(!0)),T.useEffect(()=>{const d=window.setTimeout(()=>f(!0),1e3);return()=>window.clearTimeout(d)},[]),u?null:ce.jsx(E0,{asChild:!0,children:ce.jsx(R0,{...r,children:o&&ce.jsxs(ce.Fragment,{children:[i.label," ",n]})})})},wN="ToastTitle",kb=T.forwardRef((t,e)=>{const{__scopeToast:n,...r}=t;return ce.jsx(xr.div,{...r,ref:e})});kb.displayName=wN;var xN="ToastDescription",Rb=T.forwardRef((t,e)=>{const{__scopeToast:n,...r}=t;return ce.jsx(xr.div,{...r,ref:e})});Rb.displayName=xN;
8var Ob="ToastAction",Ab=T.forwardRef((t,e)=>{const{altText:n,...r}=t;return n.trim()?ce.jsx(Db,{altText:n,asChild:!0,children:ce.jsx(M0,{...r,ref:e})}):(console.error(`Invalid prop \`altText\` supplied to \`${Ob}\`. Expected non-empty \`string\`.`),null)});Ab.displayName=Ob;var Mb="ToastClose",M0=T.forwardRef((t,e)=>{const{__scopeToast:n,...r}=t,i=gN(Mb,n);return ce.jsx(Db,{asChild:!0,children:ce.jsx(xr.button,{type:"button",...r,ref:e,onClick:Nn(t.onClick,i.onClose)})})});M0.displayName=Mb;var Db=T.forwardRef((t,e)=>{const{__scopeToast:n,altText:r,...i}=t;return ce.jsx(xr.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:e})});function Lb(t){const e=[];return Array.from(t.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&e.push(r.textContent),SN(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!i)if(o){const l=r.dataset.radixToastAnnounceAlt;l&&e.push(l)}else e.push(...Lb(r))}}),e}function Lh(t,e,n,{discrete:r}){const i=n.originalEvent.currentTarget,o=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n});e&&i.addEventListener(t,e,{once:!0}),r?NC(i,o):i.dispatchEvent(o)}var L1=(t,e,n=0)=>{const r=Math.abs(t.x),i=Math.abs(t.y),o=r>i;return e==="left"||e==="right"?o&&r>n:!o&&i>n};function _N(t=()=>{}){const e=aa(t);Aa(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(e)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[e])}function SN(t){return t.nodeType===t.ELEMENT_NODE}function TN(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function iy(t){const e=document.activeElement;return t.some(n=>n===e?!0:(n.focus(),document.activeElement!==e))}var O5=Tb,A5=bb,M5=Pb,D5=kb,L5=Rb,N5=Ab,I5=M0;const N1=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,I1=_2,F5=(t,e)=>n=>{var r;if(e?.variants==null)return I1(t,n?.class,n?.className);const{variants:i,defaultVariants:o}=e,l=Object.keys(i).map(d=>{const h=n?.[d],m=o?.[d];if(h===null)return null;const y=N1(h)||N1(m);return i[d][y]}),u=n&&Object.entries(n).reduce((d,h)=>{let[m,y]=h;return y===void 0||(d[m]=y),d},{}),f=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((d,h)=>{let{class:m,className:y,...g}=h;return Object.entries(g).every(_=>{let[w,S]=_;return Array.isArray(S)?S.includes({...o,...u}[w]):{...o,...u}[w]===S})?[...d,m,y]:d},[]);return I1(t,l,f,n?.class,n?.className)};const CN=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Nb=(...t)=>t.filter((e,n,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===n).join(" ").trim();var bN={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const EN=T.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:l,...u},f)=>T.createElement("svg",{ref:f,...bN,width:e,height:e,stroke:t,strokeWidth:r?Number(n)*24/Number(e):n,className:Nb("lucide",i),...u},[...l.map(([d,h])=>T.createElement(d,h)),...Array.isArray(o)?o:[o]]));const ho=(t,e)=>{const n=T.forwardRef(({className:r,...i},o)=>T.createElement(EN,{ref:o,iconNode:e,className:Nb(`lucide-${CN(t)}`,r),...i}));return n.displayName=`${t}`,n};const V5=ho("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const z5=ho("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);const j5=ho("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const $5=ho("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const B5=ho("DraftingCompass",[["path",{d:"m12.99 6.74 1.93 3.44",key:"iwagvd"}],["path",{d:"M19.136 12a10 10 0 0 1-14.271 0",key:"ppmlo4"}],["path",{d:"m21 21-2.16-3.84",key:"vylbct"}],["path",{d:"m3 21 8.02-14.26",key:"1ssaw4"}],["circle",{cx:"12",cy:"5",r:"2",key:"f1ur92"}]]);const U5=ho("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);const W5=ho("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);const H5=ho("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);const Y5=ho("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);const K5=ho("Music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);const X5=ho("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);const G5=ho("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
8],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var F1=["light","dark"],PN="(prefers-color-scheme: dark)",kN=T.createContext(void 0),RN={setTheme:t=>{},themes:[]},q5=()=>{var t;return(t=T.useContext(kN))!=null?t:RN};T.memo(({forcedTheme:t,storageKey:e,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:o,value:l,attrs:u,nonce:f})=>{let d=o==="system",h=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${u.map(_=>`'${_}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,m=i?F1.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",y=(_,w=!1,S=!0)=>{let C=l?l[_]:_,b=w?_+"|| ''":`'${C}'`,R="";return i&&S&&!w&&F1.includes(_)&&(R+=`d.style.colorScheme = '${_}';`),n==="class"?w||C?R+=`c.add(${b})`:R+="null":C&&(R+=`d[s](n,${b})`),R},g=t?`!function(){${h}${y(t)}}()`:r?`!function(){try{${h}var e=localStorage.getItem('${e}');if('system'===e||(!e&&${d})){var t='${PN}',m=window.matchMedia(t);if(m.media!==t||m.matches){${y("dark")}}else{${y("light")}}}else if(e){${l?`var x=${JSON.stringify(l)};`:""}${y(l?"x[e]":"e",!0)}}${d?"":"else{"+y(o,!1,!1)+"}"}${m}}catch(e){}}()`:`!function(){try{${h}var e=localStorage.getItem('${e}');if(e){${l?`var x=${JSON.stringify(l)};`:""}${y(l?"x[e]":"e",!0)}}else{${y(o,!1,!1)};}${m}}catch(t){}}();`;return T.createElement("script",{nonce:f,dangerouslySetInnerHTML:{__html:g}})});var ON=t=>{switch(t){case"success":return DN;case"info":return NN;case"warning":return LN;case"error":return IN;default:return null}},AN=Array(12).fill(0),MN=({visible:t,className:e})=>ve.createElement("div",{className:["sonner-loading-wrapper",e].filter(Boolean).join(" "),"data-visible":t},ve.createElement("div",{className:"sonner-spinner"},AN.map((n,r)=>ve.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),DN=ve.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ve.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),LN=ve.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ve.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),NN=ve.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ve.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),IN=ve.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ve.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),FN=ve.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},ve.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ve.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),VN=()=>{let[t,e]=ve.useState(document.hidden);return ve.useEffect(()=>{let n=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),t},hv=1,zN=class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let e=this.subscribers.indexOf(t);this.subscribers.splice(e,1)}),this.publish=t=>
8{this.subscribers.forEach(e=>e(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var e;let{message:n,...r}=t,i=typeof t?.id=="number"||((e=t.id)==null?void 0:e.length)>0?t.id:hv++,o=this.toasts.find(u=>u.id===i),l=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(u=>u.id===i?(this.publish({...u,...t,id:i,title:n}),{...u,...t,id:i,dismissible:l,title:n}):u):this.addToast({title:n,...r,dismissible:l,id:i}),i},this.dismiss=t=>(this.dismissedToasts.add(t),t||this.toasts.forEach(e=>{this.subscribers.forEach(n=>n({id:e.id,dismiss:!0}))}),this.subscribers.forEach(e=>e({id:t,dismiss:!0})),t),this.message=(t,e)=>this.create({...e,message:t}),this.error=(t,e)=>this.create({...e,message:t,type:"error"}),this.success=(t,e)=>this.create({...e,type:"success",message:t}),this.info=(t,e)=>this.create({...e,type:"info",message:t}),this.warning=(t,e)=>this.create({...e,type:"warning",message:t}),this.loading=(t,e)=>this.create({...e,type:"loading",message:t}),this.promise=(t,e)=>{if(!e)return;let n;e.loading!==void 0&&(n=this.create({...e,promise:t,type:"loading",message:e.loading,description:typeof e.description!="function"?e.description:void 0}));let r=t instanceof Promise?t:t(),i=n!==void 0,o,l=r.then(async f=>{if(o=["resolve",f],ve.isValidElement(f))i=!1,this.create({id:n,type:"default",message:f});else if($N(f)&&!f.ok){i=!1;let d=typeof e.error=="function"?await e.error(`HTTP error! status: ${f.status}`):e.error,h=typeof e.description=="function"?await e.description(`HTTP error! status: ${f.status}`):e.description;this.create({id:n,type:"error",message:d,description:h})}else if(e.success!==void 0){i=!1;let d=typeof e.success=="function"?await e.success(f):e.success,h=typeof e.description=="function"?await e.description(f):e.description;this.create({id:n,type:"success",message:d,description:h})}}).catch(async f=>{if(o=["reject",f],e.error!==void 0){i=!1;let d=typeof e.error=="function"?await e.error(f):e.error,h=typeof e.description=="function"?await e.description(f):e.description;this.create({id:n,type:"error",message:d,description:h})}}).finally(()=>{var f;i&&(this.dismiss(n),n=void 0),(f=e.finally)==null||f.call(e)}),u=()=>new Promise((f,d)=>l.then(()=>o[0]==="reject"?d(o[1]):f(o[1])).catch(d));return typeof n!="string"&&typeof n!="number"?{unwrap:u}:Object.assign(n,{unwrap:u})},this.custom=(t,e)=>{let n=e?.id||hv++;return this.create({jsx:t(n),id:n,...e}),n},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},ls=new zN,jN=(t,e)=>{let n=e?.id||hv++;return ls.addToast({title:t,...e,id:n}),n},$N=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",BN=jN,UN=()=>ls.toasts,WN=()=>ls.getActiveToasts();Object.assign(BN,{success:ls.success,info:ls.info,warning:ls.warning,error:ls.error,custom:ls.custom,message:ls.message,promise:ls.promise,dismiss:ls.dismiss,loading:ls.loading},{getHistory:UN,getToasts:WN});function HN(t,{insertAt:e}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",e==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}HN(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
8left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
8:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
8--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
9`);function Nh(t){return t.label!==void 0}var YN=3,KN="32px",XN="16px",V1=4e3,GN=356,qN=14,QN=20,ZN=200;function Ro(...t){return t.filter(Boolean).join(" ")}function JN(t){let[e,n]=t.split("-"),r=[];return e&&r.push(e),n&&r.push(n),r}var eI=t=>{var e,n,r,i,o,l,u,f,d,h,m;let{invert:y,toast:g,unstyled:_,interacting:w,setHeights:S,visibleToasts:C,heights:b,index:R,toasts:P,expanded:O,removeToast:N,defaultRichColors:L,closeButton:F,style:j,cancelButtonStyle:B,actionButtonStyle:re,className:W="",descriptionClassName:ie="",duration:ee,position:me,gap:le,loadingIcon:ae,expandByDefault:$,classNames:K,icons:D,closeButtonAriaLabel:V="Close toast",pauseWhenPageIsHidden:G}=t,[ye,pe]=ve.useState(null),[Ee,Ie]=ve.useState(null),[_e,Te]=ve.useState(!1),[ue,Pt]=ve.useState(!1),[ke,Ze]=ve.useState(!1),[Ve,je]=ve.useState(!1),[Fn,Pn]=ve.useState(!1),[ne,on]=ve.useState(0),[ir,Gn]=ve.useState(0),Ge=ve.useRef(g.duration||ee||V1),sr=ve.useRef(null),Vn=ve.useRef(null),Kt=R===0,an=R+1<=C,Jt=g.type,gt=g.dismissible!==!1,or=g.className||"",ar=g.descriptionClassName||"",zn=ve.useMemo(()=>b.findIndex($e=>$e.toastId===g.id)||0,[b,g.id]),Ut=ve.useMemo(()=>{var $e;return($e=g.closeButton)!=null?$e:F},[g.closeButton,F]),Wt=ve.useMemo(()=>g.duration||ee||V1,[g.duration,ee]),Ki=ve.useRef(0),qn=ve.useRef(0),_r=ve.useRef(0),lr=ve.useRef(null),[$r,Sr]=me.split("-"),nt=ve.useMemo(()=>b.reduce(($e,Ye,yt)=>yt>=zn?$e:$e+Ye.height,0),[b,zn]),Tr=VN(),kn=g.invert||y,ln=Jt==="loading";qn.current=ve.useMemo(()=>zn*le+nt,[zn,nt]),ve.useEffect(()=>{Ge.current=Wt},[Wt]),ve.useEffect(()=>{Te(!0)},[]),ve.useEffect(()=>{let $e=Vn.current;if($e){let Ye=$e.getBoundingClientRect().height;return Gn(Ye),S(yt=>[{toastId:g.id,height:Ye,position:g.position},...yt]),()=>S(yt=>yt.filter(Fe=>Fe.toastId!==g.id))}},[S,g.id]),ve.useLayoutEffect(()=>{if(!_e)return;let $e=Vn.current,Ye=$e.style.height;$e.style.height="auto";let yt=$e.getBoundingClientRect().height;$e.style.height=Ye,Gn(yt),S(Fe=>Fe.find(Re=>Re.toastId===g.id)?Fe.map(Re=>Re.toastId===g.id?{...Re,height:yt}:Re):[{toastId:g.id,height:yt,position:g.position},...Fe])},[_e,g.title,g.description,S,g.id]);let Xt=ve.useCallback(()=>{Pt(!0),on(qn.current),S($e=>$e.filter(Ye=>Ye.toastId!==g.id)),setTimeout(()=>{N(g)},ZN)},[g,N,S,qn]);ve.useEffect(()=>{if(g.promise&&Jt==="loading"||g.duration===1/0||g.type==="loading")return;let $e;return O||w||G&&Tr?(()=>
9{if(_r.current<Ki.current){let Ye=new Date().getTime()-Ki.current;Ge.current=Ge.current-Ye}_r.current=new Date().getTime()})():Ge.current!==1/0&&(Ki.current=new Date().getTime(),$e=setTimeout(()=>{var Ye;(Ye=g.onAutoClose)==null||Ye.call(g,g),Xt()},Ge.current)),()=>clearTimeout($e)},[O,w,g,Jt,G,Tr,Xt]),ve.useEffect(()=>{g.delete&&Xt()},[Xt,g.delete]);function Ht(){var $e,Ye,yt;return D!=null&&D.loading?ve.createElement("div",{className:Ro(K?.loader,($e=g?.classNames)==null?void 0:$e.loader,"sonner-loader"),"data-visible":Jt==="loading"},D.loading):ae?ve.createElement("div",{className:Ro(K?.loader,(Ye=g?.classNames)==null?void 0:Ye.loader,"sonner-loader"),"data-visible":Jt==="loading"},ae):ve.createElement(MN,{className:Ro(K?.loader,(yt=g?.classNames)==null?void 0:yt.loader),visible:Jt==="loading"})}return ve.createElement("li",{tabIndex:0,ref:Vn,className:Ro(W,or,K?.toast,(e=g?.classNames)==null?void 0:e.toast,K?.default,K?.[Jt],(n=g?.classNames)==null?void 0:n[Jt]),"data-sonner-toast":"","data-rich-colors":(r=g.richColors)!=null?r:L,"data-styled":!(g.jsx||g.unstyled||_),"data-mounted":_e,"data-promise":!!g.promise,"data-swiped":Fn,"data-removed":ue,"data-visible":an,"data-y-position":$r,"data-x-position":Sr,"data-index":R,"data-front":Kt,"data-swiping":ke,"data-dismissible":gt,"data-type":Jt,"data-invert":kn,"data-swipe-out":Ve,"data-swipe-direction":Ee,"data-expanded":!!(O||$&&_e),style:{"--index":R,"--toasts-before":R,"--z-index":P.length-R,"--offset":`${ue?ne:qn.current}px`,"--initial-height":$?"auto":`${ir}px`,...j,...g.style},onDragEnd:()=>{Ze(!1),pe(null),lr.current=null},onPointerDown:$e=>{ln||!gt||(sr.current=new Date,on(qn.current),$e.target.setPointerCapture($e.pointerId),$e.target.tagName!=="BUTTON"&&(Ze(!0),lr.current={x:$e.clientX,y:$e.clientY}))},onPointerUp:()=>{var $e,Ye,yt,Fe;if(Ve||!gt)return;lr.current=null;let Re=Number((($e=Vn.current)==null?void 0:$e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),rt=Number(((Ye=Vn.current)==null?void 0:Ye.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),xe=new Date().getTime()-((yt=sr.current)==null?void 0:yt.getTime()),Me=ye==="x"?Re:rt,Ce=Math.abs(Me)/xe;if(Math.abs(Me)>=QN||Ce>.11){on(qn.current),(Fe=g.onDismiss)==null||Fe.call(g,g),Ie(ye==="x"?Re>0?"right":"left":rt>0?"down":"up"),Xt(),je(!0),Pn(!1);return}Ze(!1),pe(null)},onPointerMove:$e=>{var Ye,yt,Fe,Re;if(!lr.current||!gt||((Ye=window.getSelection())==null?void 0:Ye.toString().length)>0)return;let rt=$e.clientY-lr.current.y,xe=$e.clientX-lr.current.x,Me=(yt=t.swipeDirections)!=null?yt:JN(me);!ye&&(Math.abs(xe)>1||Math.abs(rt)>1)&&pe(Math.abs(xe)>Math.abs(rt)?"x":"y");let Ce={x:0,y:0};ye==="y"?(Me.includes("top")||Me.includes("bottom"))&&(Me.includes("top")&&rt<0||Me.includes("bottom")&&rt>0)&&(Ce.y=rt):ye==="x"&&(Me.includes("left")||Me.includes("right"))&&(Me.includes("left")&&xe<0||Me.includes("right")&&xe>0)&&(Ce.x=xe),(Math.abs(Ce.x)>0||Math.abs(Ce.y)>0)&&Pn(!0),(Fe=Vn.current)==null||Fe.style.setProperty("--swipe-amount-x",`${Ce.x}px`),(Re=Vn.current)==null||Re.style.setProperty("--swipe-amount-y",`${Ce.y}px`)}},Ut&&!g.jsx?ve.createElement("button",{"aria-label":V,"data-disabled":ln,"data-close-button":!0,onClick:ln||!gt?()=>{}:()=>{var $e;Xt(),($e=g.onDismiss)==null||$e.call(g,g)},className:Ro(K?.closeButton,(i=g?.classNames)==null?void 0:i.closeButton)},(o=D?.close)!=null?o:FN):null,g.jsx||T.isValidElement(g.title)?g.jsx?g.jsx:typeof g.title=="function"?g.title():g.title:ve.createElement(ve.Fragment,null,Jt||g.icon||g.promise?ve.createElement("div",{"data-icon":"",className:Ro(K?.icon,(l=g?.classNames)==null?void 0:l.icon)},g.promise||g.type==="loading"&&!g.icon?g.icon||Ht():null,g.type!=="loading"?g.icon||D?.[Jt]||ON(Jt):null):null,ve.createElement("div",{"data-content":"",className:Ro(K?.content,(u=g?.classNames)==null?void 0:u.content)},ve.createElement("div",{"data-title":"",className:Ro(K?.title,(f=g?.classNames)==null?void 0:f.title)},typeof g.title=="function"?g.title():g.title),g.description?ve.createElement("div",{"data-description":"",className:Ro(ie,ar,K?.description,(d=g?.classNames)==null?void 0:d.description)},typeof g.description=="function"?g.description():g.description):null),T.isValidElement(g.cancel)?g.cancel:g.cancel&&Nh(g.cancel)?ve.createElement("button",{"data-button":!0,"data-cancel":!0,style:g.cancelButtonStyle||B,onClick:$e=>{var Ye,yt;Nh(g.cancel)&&gt&&((yt=(Ye=g.cancel).onClick)==null||yt.call(Ye,$e),Xt())},className:Ro(K?.cancelButton,(h=g?.classNames)==null?void 0:h.cancelButton)},g.cancel.label):null,T.isValidElement(g.action)?g.action:g.action&&Nh(g.action)?ve.createElement("button",{"data-button":!0,"data-action":!0,style:g.actionButtonStyle||re,onClick:$e=>{var Ye,yt;Nh(g.action)&&((yt=(Ye=g.action).onClick)==null||yt.call(Ye,$e),!$e.defaultPrevented&&Xt())},className:Ro(K?.actionButton,(m=g?.classNames)==null?void 0:m.actionButton)},g.action.label):null))};function z1(){if(typeof window>"u"||typeof document>"u")return"ltr";let t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function tI(t,e){let n={};return[t,e].forEach((r,i)=>{let o=i===1,l=o?"--mobile-offset":"--offset",u=o?XN:KN;function f(d){["top","right","bottom","left"].forEach(h=>{n[`${l}-${h}`]=typeof d=="number"?`${d}px`:d})}typeof r=="number"||typeof r=="string"?f(r):typeof r=="object"?["top","right","bottom","left"].forEach(d=>{r[d]===void 0?n[`${l}-${d}`]=u:n[`${l}-${d}`]=typeof r[d]=="number"?`${r[d]}px`:r[d]}):f(u)}),n}var Q5=T.forwardRef(function(t,e){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:o,closeButton:l,className:u,offset:f,mobileOffset:d,theme:h="light",richColors:m,duration:y,style:g,visibleToasts:_=YN,toastOptions:w,dir:S=z1(),gap:C=qN,loadingIcon:b,icons:R,containerAriaLabel:P="Notifications",pauseWhenPageIsHidden:O}=t,[N,L]=ve.useState([]),F=ve.useMemo(()=>Array.from(new Set([r].concat(N.filter(G=>G.position).map(G=>G.position)))),[N,r]),[j,B]=ve.useState([]),[re,W]=ve.useState(!1),[ie,ee]=ve.useState(!1),[me,le]=ve.useState(h!=="system"?h:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
9k":"light"),ae=ve.useRef(null),$=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),K=ve.useRef(null),D=ve.useRef(!1),V=ve.useCallback(G=>{L(ye=>{var pe;return(pe=ye.find(Ee=>Ee.id===G.id))!=null&&pe.delete||ls.dismiss(G.id),ye.filter(({id:Ee})=>Ee!==G.id)})},[]);return ve.useEffect(()=>ls.subscribe(G=>{if(G.dismiss){L(ye=>ye.map(pe=>pe.id===G.id?{...pe,delete:!0}:pe));return}setTimeout(()=>{aC.flushSync(()=>{L(ye=>{let pe=ye.findIndex(Ee=>Ee.id===G.id);return pe!==-1?[...ye.slice(0,pe),{...ye[pe],...G},...ye.slice(pe+1)]:[G,...ye]})})})}),[]),ve.useEffect(()=>{if(h!=="system"){le(h);return}if(h==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?le("dark"):le("light")),typeof window>"u")return;let G=window.matchMedia("(prefers-color-scheme: dark)");try{G.addEventListener("change",({matches:ye})=>{le(ye?"dark":"light")})}catch{G.addListener(({matches:pe})=>{try{le(pe?"dark":"light")}catch(Ee){console.error(Ee)}})}},[h]),ve.useEffect(()=>{N.length<=1&&W(!1)},[N]),ve.useEffect(()=>{let G=ye=>{var pe,Ee;i.every(Ie=>ye[Ie]||ye.code===Ie)&&(W(!0),(pe=ae.current)==null||pe.focus()),ye.code==="Escape"&&(document.activeElement===ae.current||(Ee=ae.current)!=null&&Ee.contains(document.activeElement))&&W(!1)};return document.addEventListener("keydown",G),()=>document.removeEventListener("keydown",G)},[i]),ve.useEffect(()=>{if(ae.current)return()=>{K.current&&(K.current.focus({preventScroll:!0}),K.current=null,D.current=!1)}},[ae.current]),ve.createElement("section",{ref:e,"aria-label":`${P} ${$}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},F.map((G,ye)=>{var pe;let[Ee,Ie]=G.split("-");return N.length?ve.createElement("ol",{key:G,dir:S==="auto"?z1():S,tabIndex:-1,ref:ae,className:u,"data-sonner-toaster":!0,"data-theme":me,"data-y-position":Ee,"data-lifted":re&&N.length>1&&!o,"data-x-position":Ie,style:{"--front-toast-height":`${((pe=j[0])==null?void 0:pe.height)||0}px`,"--width":`${GN}px`,"--gap":`${C}px`,...g,...tI(f,d)},onBlur:_e=>{D.current&&!_e.currentTarget.contains(_e.relatedTarget)&&(D.current=!1,K.current&&(K.current.focus({preventScroll:!0}),K.current=null))},onFocus:_e=>{_e.target instanceof HTMLElement&&_e.target.dataset.dismissible==="false"||D.current||(D.current=!0,K.current=_e.relatedTarget)},onMouseEnter:()=>W(!0),onMouseMove:()=>W(!0),onMouseLeave:()=>{ie||W(!1)},onDragEnd:()=>W(!1),onPointerDown:_e=>{_e.target instanceof HTMLElement&&_e.target.dataset.dismissible==="false"||ee(!0)},onPointerUp:()=>ee(!1)},N.filter(_e=>!_e.position&&ye===0||_e.position===G).map((_e,Te)=>{var ue,Pt;return ve.createElement(eI,{key:_e.id,icons:R,index:Te,toast:_e,defaultRichColors:m,duration:(ue=w?.duration)!=null?ue:y,className:w?.className,descriptionClassName:w?.descriptionClassName,invert:n,visibleToasts:_,closeButton:(Pt=w?.closeButton)!=null?Pt:l,interacting:ie,position:G,style:w?.style,unstyled:w?.unstyled,classNames:w?.classNames,cancelButtonStyle:w?.cancelButtonStyle,actionButtonStyle:w?.actionButtonStyle,removeToast:V,toasts:N.filter(ke=>ke.position==_e.position),heights:j.filter(ke=>ke.position==_e.position),setHeights:B,expandByDefault:o,gap:C,loadingIcon:b,expanded:re,pauseWhenPageIsHidden:O,swipeDirections:t.swipeDirections})})):null}))});function ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ib(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Fs={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Mc={duration:.5,overwrite:!1,delay:0},D0,li,In,ao=1e8,sn=1/ao,pv=Math.PI*2,nI=pv/4,rI=0,Fb=Math.sqrt,iI=Math.cos,sI=Math.sin,Zr=function(e){return typeof e=="string"},rr=function(e){return typeof e=="function"},La=function(e){return typeof e=="number"},L0=function(e){return typeof e>"u"},la=function(e){return typeof e=="object"},fs=function(e){return e!==!1},N0=function(){return typeof window<"u"},Ih=function(e){return rr(e)||Zr(e)},Vb=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},bi=Array.isArray,oI=/random\([^)]+\)/g,aI=/,\s*/g,j1=/(?:-?\.?\d|\.)+/gi,zb=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,cc=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,sy=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,jb=/[+-]=-?[.\d]+/,lI=/[^,'"\[\]\s]+/gi,uI=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Yn,qo,mv,I0,Vs={},Ip={},$b,Bb=function(e){return(Ip=Dc(e,Vs))&&ms},F0=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},ud=function(e,n){return!n&&console.warn(e)},Ub=function(e,n){return e&&(Vs[e]=n)&&Ip&&(Ip[e]=n)||Vs},cd=function(){return 0},cI={suppressEvents:!0,isStart:!0,kill:!1},lp={suppressEvents:!0,kill:!1},fI={suppressEvents:!0},V0={},xl=[],gv={},Wb,Rs={},oy={},$1=30,up=[],z0="",j0=function(e){var n=e[0],r,i;if(la(n)||rr(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=up.length;i--&&!up[i].targetTest(n););r=up[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new pE(e[i],r)))||e.splice(i,1);return e},xu=function(e){return e._gsap||j0(lo(e))[0]._gsap},Hb=function(e,n,r){return(r=e[n])&&rr(r)?e[n]():L0(r)&&e.getAttribute&&e.getAttribute(n)||r}
vendor: 4,132 bytes, line 9
9,ds=function(e,n){return(e=e.split(",")).forEach(n)||e},yr=function(e){return Math.round(e*1e5)/1e5||0},Hn=function(e){return Math.round(e*1e7)/1e7||0},Sc=function(e,n){var r=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},dI=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++i<r;);return i<r},Fp=function(){var e=xl.length,n=xl.slice(0),r,i;for(gv={},xl.length=0,r=0;r<e;r++)i=n[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},$0=function(e){return!!(e._initted||e._startAt||e.add)},Yb=function(e,n,r,i){xl.length&&!li&&Fp(),e.render(n,r,!!(li&&n<0&&$0(e))),xl.length&&!li&&Fp()},Kb=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(lI).length<2?n:Zr(e)?e.trim():e},Xb=function(e){return e},zs=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},hI=function(e){return function(n,r){for(var i in r)i in n||i==="duration"&&e||i==="ease"||(n[i]=r[i])}},Dc=function(e,n){for(var r in n)e[r]=n[r];return e},B1=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=la(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Vp=function(e,n){var r={},i;for(i in e)i in n||(r[i]=e[i]);return r},jf=function(e){var n=e.parent||Yn,r=e.keyframes?hI(bi(e.keyframes)):zs;if(fs(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},pI=function(e,n){for(var r=e.length,i=r===n.length;i&&r--&&e[r]===n[r];);return r<0},Gb=function(e,n,r,i,o){var l=e[i],u;if(o)for(u=n[o];l&&l[o]>u;)l=l._prev;return l?(n._next=l._next,l._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[i]=n,n._prev=l,n.parent=n._dp=e,n},wm=function(e,n,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var o=n._prev,l=n._next;o?o._next=l:e[r]===n&&(e[r]=l),l?l._prev=o:e[i]===n&&(e[i]=o),n._next=n._prev=n.parent=null},bl=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},_u=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},mI=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},yv=function(e,n,r,i){return e._startAt&&(li?e._startAt.revert(lp):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},gI=function t(e){return!e||e._ts&&t(e.parent)},U1=function(e){return e._repeat?Lc(e._tTime,e=e.duration()+e._rDelay)*e:0},Lc=function(e,n){var r=Math.floor(e=Hn(e/n));return e&&r===e?r-1:r},zp=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},xm=function(e){return e._end=Hn(e._start+(e._tDur/Math.abs(e._ts||e._rts||sn)||0))},_m=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Hn(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),xm(e),r._dirty||_u(r,e)),e},qb=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=zp(e.rawTime(),n),(!n._dur||kd(0,n.totalDuration(),r)-n._tTime>sn)&&n.render(r,!0)),_u(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-sn}},Zo=function(e,n,r,i){return n.parent&&bl(n),n._start=Hn((La(r)?r:r||e!==Yn?ro(e,r,n):e._time)+n._delay),n._end=Hn(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),Gb(e,n,"_first","_last",e._sort?"_start":0),vv(n)||(e._recent=n),i||qb(e,n),e._ts<0&&_m(e,e._tTime),e},Qb=function(e,n){return(Vs.ScrollTrigger||F0("scrollTrigger",n))&&Vs.ScrollTrigger.create(n,e)},Zb=function(e,n,r,i,o){if(U0(e,n,o),!e._initted)return 1;if(!r&&e._pt&&!li&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Wb!==Ms.frame)return xl.push(e),e._lazy=[o,i],1},yI=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},vv=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},vI=function(e,n,r,i){var o=e.ratio,l=n<0||!n&&(!e._start&&yI(e)&&!(!e._initted&&vv(e))||(e._ts<0||e._dp._ts<0)&&!vv(e))?0:1,u=e._rDelay,f=0,d,h,m;if(u&&e._repeat&&(f=kd(0,e._tDur,n),h=Lc(f,u),e._yoyo&&h&1&&(l=1-l),h!==Lc(e._tTime,u)&&(o=1-l,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 6,712 bytes, line 9
9date())),l!==o||li||i||e._zTime===sn||!n&&e._zTime){if(!e._initted&&Zb(e,n,i,r,f))return;for(m=e._zTime,e._zTime=n||(r?sn:0),r||(r=n&&!m),e.ratio=l,e._from&&(l=1-l),e._time=0,e._tTime=f,d=e._pt;d;)d.r(l,d.d),d=d._next;n<0&&yv(e,n,r,!0),e._onUpdate&&!r&&Ls(e,"onUpdate"),f&&e._repeat&&!r&&e.parent&&Ls(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===l&&(l&&bl(e,1),!r&&!li&&(Ls(e,l?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},wI=function(e,n,r){var i;if(r>n)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<n)return i;i=i._prev}},Nc=function(e,n,r,i){var o=e._repeat,l=Hn(n)||0,u=e._tTime/e._tDur;return u&&!i&&(e._time*=l/e._dur),e._dur=l,e._tDur=o?o<0?1e10:Hn(l*(o+1)+e._rDelay*o):l,u>0&&!i&&_m(e,e._tTime=e._tDur*u),e.parent&&xm(e),r||_u(e.parent,e),e},W1=function(e){return e instanceof Bi?_u(e):Nc(e,e._dur)},xI={_start:0,endTime:cd,totalDuration:cd},ro=function t(e,n,r){var i=e.labels,o=e._recent||xI,l=e.duration()>=ao?o.endTime(!1):e._dur,u,f,d;return Zr(n)&&(isNaN(n)||n in i)?(f=n.charAt(0),d=n.substr(-1)==="%",u=n.indexOf("="),f==="<"||f===">"?(u>=0&&(n=n.replace(/=/,"")),(f==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(n.substr(1))||0)*(d?(u<0?o:r).totalDuration()/100:1)):u<0?(n in i||(i[n]=l),i[n]):(f=parseFloat(n.charAt(u-1)+n.substr(u+1)),d&&r&&(f=f/100*(bi(r)?r[0]:r).totalDuration()),u>1?t(e,n.substr(0,u-1),r)+f:l+f)):n==null?l:+n},$f=function(e,n,r){var i=La(n[1]),o=(i?2:1)+(e<2?0:1),l=n[o],u,f;if(i&&(l.duration=n[1]),l.parent=r,e){for(u=l,f=r;f&&!("immediateRender"in u);)u=f.vars.defaults||{},f=fs(f.vars.inherit)&&f.parent;l.immediateRender=fs(u.immediateRender),e<2?l.runBackwards=1:l.startAt=n[o-1]}return new Dr(n[0],l,n[o+1])},Al=function(e,n){return e||e===0?n(e):n},kd=function(e,n,r){return r<e?e:r>n?n:r},Si=function(e,n){return!Zr(e)||!(n=uI.exec(e))?"":n[1]},_I=function(e,n,r){return Al(r,function(i){return kd(e,n,i)})},wv=[].slice,Jb=function(e,n){return e&&la(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&la(e[0]))&&!e.nodeType&&e!==qo},SI=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(i){var o;return Zr(i)&&!n||Jb(i,1)?(o=r).push.apply(o,lo(i)):r.push(i)})||r},lo=function(e,n,r){return In&&!n&&In.selector?In.selector(e):Zr(e)&&!r&&(mv||!Ic())?wv.call((n||I0).querySelectorAll(e),0):bi(e)?SI(e,r):Jb(e)?wv.call(e,0):e?[e]:[]},xv=function(e){return e=lo(e)[0]||ud("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return lo(n,r.querySelectorAll?r:r===e?ud("Invalid scope")||I0.createElement("div"):e)}},eE=function(e){return e.sort(function(){return .5-Math.random()})},tE=function(e){if(rr(e))return e;var n=la(e)?e:{each:e},r=Su(n.ease),i=n.from||0,o=parseFloat(n.base)||0,l={},u=i>0&&i<1,f=isNaN(i)||u,d=n.axis,h=i,m=i;return Zr(i)?h=m={center:.5,edges:.5,end:1}[i]||0:!u&&f&&(h=i[0],m=i[1]),function(y,g,_){var w=(_||n).length,S=l[w],C,b,R,P,O,N,L,F,j;if(!S){if(j=n.grid==="auto"?0:(n.grid||[1,ao])[1],!j){for(L=-ao;L<(L=_[j++].getBoundingClientRect().left)&&j<w;);j<w&&j--}for(S=l[w]=[],C=f?Math.min(j,w)*h-.5:i%j,b=j===ao?0:f?w*m/j-.5:i/j|0,L=0,F=ao,N=0;N<w;N++)R=N%j-C,P=b-(N/j|0),S[N]=O=d?Math.abs(d==="y"?P:R):Fb(R*R+P*P),O>L&&(L=O),O<F&&(F=O);i==="random"&&eE(S),S.max=L-F,S.min=F,S.v=w=(parseFloat(n.amount)||parseFloat(n.each)*(j>w?w-1:d?d==="y"?w/j:j:Math.max(j,w/j))||0)*(i==="edges"?-1:1),S.b=w<0?o-w:o,S.u=Si(n.amount||n.each)||0,r=r&&w<0?fE(r):r}return w=(S[y]-S.min)/S.max||0,Hn(S.b+(r?r(w):w)*S.v)+S.u}},_v=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Hn(Math.round(parseFloat(r)/e)*e*n);return(i-i%1)/n+(La(r)?0:Si(r))}},nE=function(e,n){var r=bi(e),i,o;return!r&&la(e)&&(i=r=e.radius||ao,e.values?(e=lo(e.values),(o=!La(e[0]))&&(i*=i)):e=_v(e.increment)),Al(n,r?rr(e)?function(l){return o=e(l),Math.abs(o-l)<=i?o:l}:function(l){for(var u=parseFloat(o?l.x:l),f=parseFloat(o?l.y:0),d=ao,h=0,m=e.length,y,g;m--;)o?(y=e[m].x-u,g=e[m].y-f,y=y*y+g*g):y=Math.abs(e[m]-u),y<d&&(d=y,h=m);return h=!i||d<=i?e[h]:l,o||h===l||La(l)?h:h+Si(l)}:_v(e))},rE=function(e,n,r,i){return Al(bi(e)?!n:r===!0?!!(r=0):!i,function(){return bi(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*i)/i})},TI=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(i){return n.reduce(function(o,l){return l(o)},i)}},CI=function(e,n){return function(r){return e(parseFloat(r))+(n||Si(r))}},bI=function(e,n,r){return sE(e,n,0,1,r)},iE=function(e,n,r){return Al(r,function(i){return e[~~n(i)]})},EI=function t(e,n,r){var i=n-e;return bi(e)?iE(e,t(0,e.length),n):Al(r,function(o){return(i+(o-e)%i)%i+e})},PI=function t(e,n,r){var i=n-e,o=i*2;return bi(e)?iE(e,t(0,e.length-1),n):Al(r,function(l){return l=(o+(l-e)%o)%o||0,e+(l>i?o-l:l)})},fd=function(e){return e.replace(oI,function(n){var r=n.indexOf("[")+1,i=n.substring(r||7,r?n.indexOf("]"):n.length-1).split(aI);return rE(r?i:+i[0],r?0:+i[1],+i[2]||1e-5)})},sE=function(e,n,r,i,o){var l=n-e,u=i-r;return Al(o,function(f){return r+((f-e)/l*u||0)})},kI=function t(e,n,r,i){var o=isNaN(e+n)?0:function(g){return(1-g)*e+g*n};if(!o){var l=Zr(e),u={},f,d,h,m,y;if(r===!0&&(i=1)&&(r=null),l)e={p:e},n={p:n};else if(bi(e)&&!bi(n)){for(h=[],m=e.length,y=m-2,d=1;d<m;d++)h.push(t(e[d-1],e[d]));m--,o=function(_){_*=m;var w=Math.min(y,~~_);return h[w](_-w)},r=n}else i||(e=Dc(bi(e)?[]:{},e));if(!h){for(f in n)B0.call(u,e,f,"get",n[f]);o=function(_){return Y0(_,u)||(l?e.p:e)}}}return Al(r,o)},H1=function(e,n,r){var i=e.labels,o=ao,l,u,f;for(l in i)u=i[l]-n,u<0==!!r&&u&&o>(u=Math.abs(u))&&(f=l,o=u);return f},Ls=function(e,n,r){var i=e.vars,o=i[n],l=In,u=e._ctx,f,d,h;if(o)return f=i[n+"Params"],d=i.callbackScope||e,r&&xl.length&&Fp(),u&&(In=u),h=f?o.apply(d,f):o.call(d),In=l,h},Rf=function(e){return bl(e),e.scrollTrigger&&e.scrollTrigger.kill(!!li),e.progress()<1&&Ls(e,"onInterrupt"),e},fc,oE=[],aE=function(e){if(e)if(e=!e.name&&e.default||e,N0()||e.headless){var n=e.name,r=rr(e),i=n&&!r&&e.init?function(){this._props=[]}:e,o={init:cd,render:Y0,add:B0,kill:WI,modifier:UI,rawVars:0},l={targetTest:0,get:0,getSetter:H0,aliases:{},register:0};if(Ic(),e!==i){if(Rs[n])return;zs(i,zs(Vp(e,o),l)),Dc(i.prototype,Dc(o,Vp(e,l))),Rs[i.prop=n]=i,e.targetTest&&(up.push(i),V0[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Ub(n,i),e.register&&e.register(ms,i,hs)}else oE.push(e)},rn=255,Of={aqua:[0,rn,rn],lime:[0,rn,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,rn],navy:[0,0,128],white:[rn,rn,rn],ol
vendor: 6,212 bytes, line 9
9ive:[128,128,0],yellow:[rn,rn,0],orange:[rn,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[rn,0,0],pink:[rn,192,203],cyan:[0,rn,rn],transparent:[rn,rn,rn,0]},ay=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*rn+.5|0},lE=function(e,n,r){var i=e?La(e)?[e>>16,e>>8&rn,e&rn]:0:Of.black,o,l,u,f,d,h,m,y,g,_;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Of[e])i=Of[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),l=e.charAt(2),u=e.charAt(3),e="#"+o+o+l+l+u+u+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&rn,i&rn,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&rn,e&rn]}else if(e.substr(0,3)==="hsl"){if(i=_=e.match(j1),!n)f=+i[0]%360/360,d=+i[1]/100,h=+i[2]/100,l=h<=.5?h*(d+1):h+d-h*d,o=h*2-l,i.length>3&&(i[3]*=1),i[0]=ay(f+1/3,o,l),i[1]=ay(f,o,l),i[2]=ay(f-1/3,o,l);else if(~e.indexOf("="))return i=e.match(zb),r&&i.length<4&&(i[3]=1),i}else i=e.match(j1)||Of.transparent;i=i.map(Number)}return n&&!_&&(o=i[0]/rn,l=i[1]/rn,u=i[2]/rn,m=Math.max(o,l,u),y=Math.min(o,l,u),h=(m+y)/2,m===y?f=d=0:(g=m-y,d=h>.5?g/(2-m-y):g/(m+y),f=m===o?(l-u)/g+(l<u?6:0):m===l?(u-o)/g+2:(o-l)/g+4,f*=60),i[0]=~~(f+.5),i[1]=~~(d*100+.5),i[2]=~~(h*100+.5)),r&&i.length<4&&(i[3]=1),i},uE=function(e){var n=[],r=[],i=-1;return e.split(_l).forEach(function(o){var l=o.match(cc)||[];n.push.apply(n,l),r.push(i+=l.length+1)}),n.c=r,n},Y1=function(e,n,r){var i="",o=(e+i).match(_l),l=n?"hsla(":"rgba(",u=0,f,d,h,m;if(!o)return e;if(o=o.map(function(y){return(y=lE(y,n,1))&&l+(n?y[0]+","+y[1]+"%,"+y[2]+"%,"+y[3]:y.join(","))+")"}),r&&(h=uE(e),f=r.c,f.join(i)!==h.c.join(i)))for(d=e.replace(_l,"1").split(cc),m=d.length-1;u<m;u++)i+=d[u]+(~f.indexOf(u)?o.shift()||l+"0,0,0,0)":(h.length?h:o.length?o:r).shift());if(!d)for(d=e.split(_l),m=d.length-1;u<m;u++)i+=d[u]+o[u];return i+d[m]},_l=(function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Of)t+="|"+e+"\\b";return new RegExp(t+")","gi")})(),RI=/hsl[a]?\(/,cE=function(e){var n=e.join(" "),r;if(_l.lastIndex=0,_l.test(n))return r=RI.test(n),e[1]=Y1(e[1],r),e[0]=Y1(e[0],r,uE(e[1])),!0},dd,Ms=(function(){var t=Date.now,e=500,n=33,r=t(),i=r,o=1e3/240,l=o,u=[],f,d,h,m,y,g,_=function w(S){var C=t()-i,b=S===!0,R,P,O,N;if((C>e||C<0)&&(r+=C-n),i+=C,O=i-r,R=O-l,(R>0||b)&&(N=++m.frame,y=O-m.time*1e3,m.time=O=O/1e3,l+=R+(R>=o?4:o-R),P=1),b||(f=d(w)),P)for(g=0;g<u.length;g++)u[g](O,y,N,S)};return m={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(S){return y/(1e3/(S||60))},wake:function(){$b&&(!mv&&N0()&&(qo=mv=window,I0=qo.document||{},Vs.gsap=ms,(qo.gsapVersions||(qo.gsapVersions=[])).push(ms.version),Bb(Ip||qo.GreenSockGlobals||!qo.gsap&&qo||{}),oE.forEach(aE)),h=typeof requestAnimationFrame<"u"&&requestAnimationFrame,f&&m.sleep(),d=h||function(S){return setTimeout(S,l-m.time*1e3+1|0)},dd=1,_(2))},sleep:function(){(h?cancelAnimationFrame:clearTimeout)(f),dd=0,d=cd},lagSmoothing:function(S,C){e=S||1/0,n=Math.min(C||33,e)},fps:function(S){o=1e3/(S||240),l=m.time*1e3+o},add:function(S,C,b){var R=C?function(P,O,N,L){S(P,O,N,L),m.remove(R)}:S;return m.remove(S),u[b?"unshift":"push"](R),Ic(),R},remove:function(S,C){~(C=u.indexOf(S))&&u.splice(C,1)&&g>=C&&g--},_listeners:u},m})(),Ic=function(){return!dd&&Ms.wake()},Ot={},OI=/^[\d.\-M][\d.\-,\s]/,AI=/["']/g,MI=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],o=1,l=r.length,u,f,d;o<l;o++)f=r[o],u=o!==l-1?f.lastIndexOf(","):f.length,d=f.substr(0,u),n[i]=isNaN(d)?d.replace(AI,"").trim():+d,i=f.substr(u+1).trim();return n},DI=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n);return e.substring(n,~i&&i<r?e.indexOf(")",r+1):r)},LI=function(e){var n=(e+"").split("("),r=Ot[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[MI(n[1])]:DI(e).split(",").map(Kb)):Ot._CE&&OI.test(e)?Ot._CE("",e):r},fE=function(e){return function(n){return 1-e(1-n)}},dE=function t(e,n){for(var r=e._first,i;r;)r instanceof Bi?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},Su=function(e,n){return e&&(rr(e)?e:Ot[e]||LI(e))||n},Du=function(e,n,r,i){r===void 0&&(r=function(f){return 1-n(1-f)}),i===void 0&&(i=function(f){return f<.5?n(f*2)/2:1-n((1-f)*2)/2});var o={easeIn:n,easeOut:r,easeInOut:i},l;return ds(e,function(u){Ot[u]=Vs[u]=o,Ot[l=u.toLowerCase()]=r;for(var f in o)Ot[l+(f==="easeIn"?".in":f==="easeOut"?".out":".inOut")]=Ot[u+"."+f]=o[f]}),o},hE=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},ly=function t(e,n,r){var i=n>=1?n:1,o=(r||(e?.3:.45))/(n<1?n:1),l=o/pv*(Math.asin(1/i)||0),u=function(h){return h===1?1:i*Math.pow(2,-10*h)*sI((h-l)*o)+1},f=e==="out"?u:e==="in"?function(d){return 1-u(1-d)}:hE(u);return o=pv/o,f.config=function(d,h){return t(e,d,h)},f},uy=function t(e,n){n===void 0&&(n=1.70158);var r=function(l){return l?--l*l*((n+1)*l+n)+1:0},i=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:hE(r);return i.config=function(o){return t(e,o)},i};ds("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;Du(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})});Ot.Linear.easeNone=Ot.none=Ot.Linear.easeIn;Du("Elastic",ly("in"),ly("out"),ly());(function(t,e){var n=1/e,r=2*n,i=2.5*n,o=function(u){return u<n?t*u*u:u<r?t*Math.pow(u-1.5/e,2)+.75:u<i?t*(u-=2.25/e)*u+.9375:t*Math.pow(u-2.625/e,2)+.984375};Du("Bounce",function(l){return 1-o(1-l)},o)})(7.5625,2.75);Du("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)});Du("Circ",function(t){return-(Fb(1-t*t)-1)});Du("Sine",function(t){return t===1?1:-iI(t*nI)+1});Du("Back",uy("in"),uy("out"),uy());Ot.SteppedEase=Ot.steps=Vs.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,i=e+(n?0:1),o=n?1:0,l=1-sn;return function(u){return((i*kd(0,l,u)|0)+o)*r}}};Mc.ease=Ot["quad.out"];ds("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return z0+=t+","+t+"Param
9s,"});var pE=function(e,n){this.id=rI++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Hb,this.set=n?n.getSetter:H0},hd=(function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,Nc(this,+n.duration,1,1),this.data=n.data,In&&(this._ctx=In,In.data.push(this)),dd||Ms.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Nc(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Ic(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(_m(this,r),!o._dp||o.parent||qb(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Zo(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===sn||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Yb(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+U1(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+U1(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*o,i):this._repeat?Lc(this._tTime,o)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-sn?0:this._rts;if(this._rts===r)return this;var o=this.parent&&this._ts?zp(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-sn?0:this._rts,this.totalTime(kd(-Math.abs(this._delay),this.totalDuration(),o),i!==!1),xm(this),mI(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ic(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==sn&&(this._tTime-=sn)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=Hn(r);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Zo(i,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(fs(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?zp(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=fI);var i=li;return li=r,$0(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),li=i,this},e.globalTime=function(r){for(var i=this,o=arguments.length?r:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):o},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,W1(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,W1(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(ro(this,r),fs(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,fs(i)),this._dur||(this._zTime=-sn),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-sn:0)),this):this._rts<0}
vendor: 4,438 bytes, line 9
9,e.invalidate=function(){return this._initted=this._act=0,this._zTime=-sn,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,o;return!!(!r||this._ts&&this._initted&&r.isActive()&&(o=r.rawTime(!0))>=i&&o<this.endTime(!0)-sn)},e.eventCallback=function(r,i,o){var l=this.vars;return arguments.length>1?(i?(l[r]=i,o&&(l[r+"Params"]=o),r==="onUpdate"&&(this._onUpdate=i)):delete l[r],this):l[r]},e.then=function(r){var i=this,o=i._prom;return new Promise(function(l){var u=rr(r)?r:Xb,f=function(){var h=i.then;i.then=null,o&&o(),rr(u)&&(u=u(i))&&(u.then||u===i)&&(i.then=h),l(u),i.then=h};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?f():i._prom=f})},e.kill=function(){Rf(this)},t})();zs(hd.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-sn,_prom:0,_ps:!1,_rts:1});var Bi=(function(t){Ib(e,t);function e(r,i){var o;return r===void 0&&(r={}),o=t.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=fs(r.sortChildren),Yn&&Zo(r.parent||Yn,ba(o),i),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&Qb(ba(o),r.scrollTrigger),o}var n=e.prototype;return n.to=function(i,o,l){return $f(0,arguments,this),this},n.from=function(i,o,l){return $f(1,arguments,this),this},n.fromTo=function(i,o,l,u){return $f(2,arguments,this),this},n.set=function(i,o,l){return o.duration=0,o.parent=this,jf(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new Dr(i,o,ro(this,l),1),this},n.call=function(i,o,l){return Zo(this,Dr.delayedCall(0,i,o),l)},n.staggerTo=function(i,o,l,u,f,d,h){return l.duration=o,l.stagger=l.stagger||u,l.onComplete=d,l.onCompleteParams=h,l.parent=this,new Dr(i,l,ro(this,f)),this},n.staggerFrom=function(i,o,l,u,f,d,h){return l.runBackwards=1,jf(l).immediateRender=fs(l.immediateRender),this.staggerTo(i,o,l,u,f,d,h)},n.staggerFromTo=function(i,o,l,u,f,d,h,m){return u.startAt=l,jf(u).immediateRender=fs(u.immediateRender),this.staggerTo(i,o,u,f,d,h,m)},n.render=function(i,o,l){var u=this._time,f=this._dirty?this.totalDuration():this._tDur,d=this._dur,h=i<=0?0:Hn(i),m=this._zTime<0!=i<0&&(this._initted||!d),y,g,_,w,S,C,b,R,P,O,N,L;if(this!==Yn&&h>f&&i>=0&&(h=f),h!==this._tTime||l||m){if(u!==this._time&&d&&(h+=this._time-u,i+=this._time-u),y=h,P=this._start,R=this._ts,C=!R,m&&(d||(u=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(N=this._yoyo,S=d+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(S*100+i,o,l);if(y=Hn(h%S),h===f?(w=this._repeat,y=d):(O=Hn(h/S),w=~~O,w&&w===O&&(y=d,w--),y>d&&(y=d)),O=Lc(this._tTime,S),!u&&this._tTime&&O!==w&&this._tTime-O*S-this._dur<=0&&(O=w),N&&w&1&&(y=d-y,L=1),w!==O&&!this._lock){var F=N&&O&1,j=F===(N&&w&1);if(w<O&&(F=!F),u=F?0:h%d?d:h,this._lock=1,this.render(u||(L?0:Hn(w*S)),o,!d)._lock=0,this._tTime=h,!o&&this.parent&&Ls(this,"onRepeat"),this.vars.repeatRefresh&&!L&&(this.invalidate()._lock=1,O=w),u&&u!==this._time||C!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(d=this._dur,f=this._tDur,j&&(this._lock=2,u=F?d:-1e-4,this.render(u,!0),this.vars.repeatRefresh&&!L&&this.invalidate()),this._lock=0,!this._ts&&!C)return this;dE(this,L)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(b=wI(this,Hn(u),Hn(y)),b&&(h-=y-(y=b._start))),this._tTime=h,this._time=y,this._act=!R,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,u=0),!u&&h&&d&&!o&&!O&&(Ls(this,"onStart"),this._tTime!==h))return this;if(y>=u&&i>=0)for(g=this._first;g;){if(_=g._next,(g._act||y>=g._start)&&g._ts&&b!==g){if(g.parent!==this)return this.render(i,o,l);if(g.render(g._ts>0?(y-g._start)*g._ts:(g._dirty?g.totalDuration():g._tDur)+(y-g._start)*g._ts,o,l),y!==this._time||!this._ts&&!C){b=0,_&&(h+=this._zTime=-sn);break}}g=_}else{g=this._last;for(var B=i<0?i:y;g;){if(_=g._prev,(g._act||B<=g._end)&&g._ts&&b!==g){if(g.parent!==this)return this.render(i,o,l);if(g.render(g._ts>0?(B-g._start)*g._ts:(g._dirty?g.totalDuration():g._tDur)+(B-g._start)*g._ts,o,l||li&&$0(g)),y!==this._time||!this._ts&&!C){b=0,_&&(h+=this._zTime=B?-sn:sn);break}}g=_}}if(b&&!o&&(this.pause(),b.render(y>=u?0:-sn)._zTime=y>=u?1:-1,this._ts))return this._start=P,xm(this),this.render(i,o,l);this._onUpdate&&!o&&Ls(this,"onUpdate",!0),(h===f&&this._tTime>=this.totalDuration()||!h&&u)&&(P===this._start||Math.abs(R)!==Math.abs(this._ts
vendor: 25,731 bytes, line 9
9))&&(this._lock||((i||!d)&&(h===f&&this._ts>0||!h&&this._ts<0)&&bl(this,1),!o&&!(i<0&&!u)&&(h||u||!f)&&(Ls(this,h===f&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(h<f&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(i,o){var l=this;if(La(o)||(o=ro(this,o,i)),!(i instanceof hd)){if(bi(i))return i.forEach(function(u){return l.add(u,o)}),this;if(Zr(i))return this.addLabel(i,o);if(rr(i))i=Dr.delayedCall(0,i);else return this}return this!==i?Zo(this,i,o):this},n.getChildren=function(i,o,l,u){i===void 0&&(i=!0),o===void 0&&(o=!0),l===void 0&&(l=!0),u===void 0&&(u=-ao);for(var f=[],d=this._first;d;)d._start>=u&&(d instanceof Dr?o&&f.push(d):(l&&f.push(d),i&&f.push.apply(f,d.getChildren(!0,o,l)))),d=d._next;return f},n.getById=function(i){for(var o=this.getChildren(1,1,1),l=o.length;l--;)if(o[l].vars.id===i)return o[l]},n.remove=function(i){return Zr(i)?this.removeLabel(i):rr(i)?this.killTweensOf(i):(i.parent===this&&wm(this,i),i===this._recent&&(this._recent=this._last),_u(this))},n.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Hn(Ms.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},n.addLabel=function(i,o){return this.labels[i]=ro(this,o),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,o,l){var u=Dr.delayedCall(0,o||cd,l);return u.data="isPause",this._hasPause=1,Zo(this,u,ro(this,i))},n.removePause=function(i){var o=this._first;for(i=ro(this,i);o;)o._start===i&&o.data==="isPause"&&bl(o),o=o._next},n.killTweensOf=function(i,o,l){for(var u=this.getTweensOf(i,l),f=u.length;f--;)hl!==u[f]&&u[f].kill(i,o);return this},n.getTweensOf=function(i,o){for(var l=[],u=lo(i),f=this._first,d=La(o),h;f;)f instanceof Dr?dI(f._targets,u)&&(d?(!hl||f._initted&&f._ts)&&f.globalTime(0)<=o&&f.globalTime(f.totalDuration())>o:!o||f.isActive())&&l.push(f):(h=f.getTweensOf(u,o)).length&&l.push.apply(l,h),f=f._next;return l},n.tweenTo=function(i,o){o=o||{};var l=this,u=ro(l,i),f=o,d=f.startAt,h=f.onStart,m=f.onStartParams,y=f.immediateRender,g,_=Dr.to(l,zs({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:u,overwrite:"auto",duration:o.duration||Math.abs((u-(d&&"time"in d?d.time:l._time))/l.timeScale())||sn,onStart:function(){if(l.pause(),!g){var S=o.duration||Math.abs((u-(d&&"time"in d?d.time:l._time))/l.timeScale());_._dur!==S&&Nc(_,S,0,1).render(_._time,!0,!0),g=1}h&&h.apply(_,m||[])}},o));return y?_.render(0):_},n.tweenFromTo=function(i,o,l){return this.tweenTo(o,zs({startAt:{time:ro(this,i)}},l))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),H1(this,ro(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),H1(this,ro(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+sn)},n.shiftChildren=function(i,o,l){l===void 0&&(l=0);var u=this._first,f=this.labels,d;for(i=Hn(i);u;)u._start>=l&&(u._start+=i,u._end+=i),u=u._next;if(o)for(d in f)f[d]>=l&&(f[d]+=i);return _u(this)},n.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return t.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,l;o;)l=o._next,this.remove(o),o=l;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),_u(this)},n.totalDuration=function(i){var o=0,l=this,u=l._last,f=ao,d,h,m;if(arguments.length)return l.timeScale((l._repeat<0?l.duration():l.totalDuration())/(l.reversed()?-i:i));if(l._dirty){for(m=l.parent;u;)d=u._prev,u._dirty&&u.totalDuration(),h=u._start,h>f&&l._sort&&u._ts&&!l._lock?(l._lock=1,Zo(l,u,h-u._delay,1)._lock=0):f=h,h<0&&u._ts&&(o-=h,(!m&&!l._dp||m&&m.smoothChildTiming)&&(l._start+=Hn(h/l._ts),l._time-=h,l._tTime-=h),l.shiftChildren(-h,!1,-1/0),f=0),u._end>o&&u._ts&&(o=u._end),u=d;Nc(l,l===Yn&&l._time>o?l._time:o,1,1),l._dirty=0}return l._tDur},e.updateRoot=function(i){if(Yn._ts&&(Yb(Yn,zp(i,Yn)),Wb=Ms.frame),Ms.frame>=$1){$1+=Fs.autoSleep||120;var o=Yn._first;if((!o||!o._ts)&&Fs.autoSleep&&Ms._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||Ms.sleep()}}},e})(hd);zs(Bi.prototype,{_lock:0,_hasPause:0,_forcing:0});var NI=function(e,n,r,i,o,l,u){var f=new hs(this._pt,e,n,0,1,xE,null,o),d=0,h=0,m,y,g,_,w,S,C,b;for(f.b=r,f.e=i,r+="",i+="",(C=~i.indexOf("random("))&&(i=fd(i)),l&&(b=[r,i],l(b,e,n),r=b[0],i=b[1]),y=r.match(sy)||[];m=sy.exec(i);)_=m[0],w=i.substring(d,m.index),g?g=(g+1)%5:w.substr(-5)==="rgba("&&(g=1),_!==y[h++]&&(S=parseFloat(y[h-1])||0,f._pt={_next:f._pt,p:w||h===1?w:",",s:S,c:_.charAt(1)==="="?Sc(S,_)-S:parseFloat(_)-S,m:g&&g<4?Math.round:0},d=sy.lastIndex);return f.c=d<i.length?i.substring(d,i.length):"",f.fp=u,(jb.test(i)||C)&&(f.e=0),this._pt=f,f},B0=function(e,n,r,i,o,l,u,f,d,h){rr(i)&&(i=i(o||0,e,l));var m=e[n],y=r!=="get"?r:rr(m)?d?e[n.indexOf("set")||!rr(e["get"+n.substr(3)])?n:"get"+n.substr(3)](d):e[n]():m,g=rr(m)?d?jI:vE:W0,_;if(Zr(i)&&(~i.indexOf("random(")&&(i=fd(i)),i.charAt(1)==="="&&(_=Sc(y,i)+(Si(y)||0),(_||_===0)&&(i=_))),!h||y!==i||Sv)return!isNaN(y*i)&&i!==""?(_=new hs(this._pt,e,n,+y||0,i-(y||0),typeof m=="boolean"?BI:wE,0,g),d&&(_.fp=d),u&&_.modifier(u,this,e),this._pt=_):(!m&&!(n in e)&&F0(n,i),NI.call(this,e,n,y,i,g,f||Fs.stringFilter,d))},II=function(e,n,r,i,o){if(rr(e)&&(e=Bf(e,o,n,r,i)),!la(e)||e.style&&e.nodeType||bi(e)||Vb(e))return Zr(e)?Bf(e,o,n,r,i):e;var l={},u;for(u in e)l[u]=Bf(e[u],o,n,r,i);return l},mE=function(e,n,r,i,o,l){var u,f,d,h;if(Rs[e]&&(u=new Rs[e]).init(o,u.rawVars?n[e]:II(n[e],i,o,l,r),r,i,l)!==!1&&(r._pt=f=new hs(r._pt,o,e,0,1,u.render,u,0,u.priority),r!==fc))for(d=r._ptLookup[r._targets.indexOf(o)],h=u._props.length;h--;)d[u._props[h]]=f;return u},hl,Sv,U0=function t(e,n,r){var i=e.vars,o=i.ease,l=i.startAt,u=i.immediateRender,f=i.lazy,d=i.onUpdate,h=i.runBackwards,m=i.yoyoEase,y=i.keyframes,g=i.autoRevert,_=e._dur,w=e._startAt,S=e._targets,C=e.parent,b=C&&C.data==="nested"?C.vars.targets:S,R=e._overwrite==="auto"&&!D0,P=e.timeline,O,N,L,F,j,B,re,W,ie,ee,me,le,ae;if(P&&(!y||!o)&&(o="none"),e._ease=Su(o,Mc.ease),e._yEase=m?fE(Su(m===!0?o:m,Mc.ease)):0,m&&e._yoyo&&!e._repeat&&(m=e._yEase,e._yEase=e._ease,e._ease=m),e._from=!P&&!!i.runBackwards,!P||y&&!i.stagger){if(W=S[0]?xu(S[0]).harness:0,le=W&&i[W.prop],O=Vp(i,V0),w&&(w._zTime<0&&w.progress(1),n<0&&h&&u&&!g?w.render(-1,!0):w.revert(h&&_?lp:cI),w._lazy=0),l){if(bl(e._startAt=Dr.set(S,zs({data:"isStart",overwrite:!1,parent:C,immediateRender:!0,lazy:!w&&fs(f),startAt:null,delay:0,onUpdate:d&&function(){return Ls(e,"onUpdate")},stagger:0},l))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(li||!u&&!g)&&e._startAt.revert(lp),u&&_&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(h&&_&&!w){if(n&&(u=!1),L=zs({overwrite:!1,data:"isFromStart",lazy:u&&!w&&fs(f),immediateRender:u,stagger:0,parent:C},O),le&&(L[W.prop]=le),bl(e._startAt=Dr.set(S,L)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(li?e._startAt.revert(lp):e._startAt.render(-1,!0)),e._zTime=n,!u)t(e._startAt,sn,sn);else if(!n)return}for(e._pt=e._ptCache=0,f=_&&fs(f)||f&&!_,N=0;N<S.length;N++){if(j=S[N],re=j._gsap||j0(S)[N]._gsap,e._ptLookup[N]=ee={},gv[re.id]&&xl.length&&Fp(),me=b===S?N:b.indexOf(j),W&&(ie=new W).init(j,le||O,e,me,b)!==!1&&(e._pt=F=new hs(e._pt,j,ie.name,0,1,ie.render,ie,0,ie.priority),ie._props.forEach(function($){ee[$]=F}),ie.priority&&(B=1)),!W||le)for(L in O)Rs[L]&&(ie=mE(L,O,e,me,j,b))?ie.priority&&(B=1):ee[L]=F=B0.call(e,j,L,"get",O[L],me,b,0,i.stringFilter);e._op&&e._op[N]&&e.kill(j,e._op[N]),R&&e._pt&&(hl=e,Yn.killTweensOf(j,ee,e.globalTime(n)),ae=!e.parent,hl=0),e._pt&&f&&(gv[re.id]=1)}B&&_E(e),e._onInit&&e._onInit(e)}e._onUpdate=d,e._initted=(!e._op||e._pt)&&!ae,y&&n<=0&&P.render(ao,!0,!0)},FI=function(e,n,r,i,o,l,u,f){var d=(e._pt&&e._ptCache||(e._ptCache={}))[n],h,m,y,g;if(!d)for(d=e._ptCache[n]=[],y=e._ptLookup,g=e._targets.length;g--;){if(h=y[g][n],h&&h.d&&h.d._pt)for(h=h.d._pt;h&&h.p!==n&&h.fp!==n;)h=h._next;if(!h)return Sv=1,e.vars[n]="+=0",U0(e,u),Sv=0,f?ud(n+" not eligible for reset"):1;d.push(h)}for(g=d.length;g--;)m=d[g],h=m._pt||m,h.s=(i||i===0)&&!o?i:h.s+(i||0)+l*h.c,h.c=r-h.s,m.e&&(m.e=yr(r)+Si(m.e)),m.b&&(m.b=h.s+Si(m.b))},VI=function(e,n){var r=e[0]?xu(e[0]).harness:0,i=r&&r.aliases,o,l,u,f;if(!i)return n;o=Dc({},n);for(l in i)if(l in o)for(f=i[l].split(","),u=f.length;u--;)o[f[u]]=o[l];return o},zI=function(e,n,r,i){var o=n.ease||i||"power1.inOut",l,u;if(bi(n))u=r[e]||(r[e]=[]),n.forEach(function(f,d){return u.push({t:d/(n.length-1)*100,v:f,e:o})});else for(l in n)u=r[l]||(r[l]=[]),l==="ease"||u.push({t:parseFloat(e),v:n[l],e:o})},Bf=function(e,n,r,i,o){return rr(e)?e.call(n,r,i,o):Zr(e)&&~e.indexOf("random(")?fd(e):e},gE=z0+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",yE={};ds(gE+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return yE[t]=1});var Dr=(function(t){Ib(e,t);function e(r,i,o,l){var u;typeof i=="number"&&(o.duration=i,i=o,o=null),u=t.call(this,l?i:jf(i))||this;var f=u.vars,d=f.duration,h=f.delay,m=f.immediateRender,y=f.stagger,g=f.overwrite,_=f.keyframes,w=f.defaults,S=f.scrollTrigger,C=f.yoyoEase,b=i.parent||Yn,R=(bi(r)||Vb(r)?La(r[0]):"length"in i)?[r]:lo(r),P,O,N,L,F,j,B,re;if(u._targets=R.length?j0(R):ud("GSAP target "+r+" not found. https://gsap.com",!Fs.nullTargetWarn)||[],u._ptLookup=[],u._overwrite=g,_||y||Ih(d)||Ih(h)){if(i=u.vars,P=u.timeline=new Bi({data:"nested",defaults:w||{},targets:b&&b.data==="nested"?b.vars.targets:R}),P.kill(),P.parent=P._dp=ba(u),P._start=0,y||Ih(d)||Ih(h)){if(L=R.length,B=y&&tE(y),la(y))for(F in y)~gE.indexOf(F)&&(re||(re={}),re[F]=y[F]);for(O=0;O<L;O++)N=Vp(i,yE),N.stagger=0,C&&(N.yoyoEase=C),re&&Dc(N,re),j=R[O],N.duration=+Bf(d,ba(u),O,j,R),N.delay=(+Bf(h,ba(u),O,j,R)||0)-u._delay,!y&&L===1&&N.delay&&(u._delay=h=N.delay,u._start+=h,N.delay=0),P.to(j,N,B?B(O,j,R):0),P._ease=Ot.none;P.duration()?d=h=0:u.timeline=0}else if(_){jf(zs(P.vars.defaults,{ease:"none"})),P._ease=Su(_.ease||i.ease||"none");var W=0,ie,ee,me;if(bi(_))_.forEach(function(le){return P.to(R,le,">")}),P.duration();else{N={};for(F in _)F==="ease"||F==="easeEach"||zI(F,_[F],N,_.easeEach);for(F in N)for(ie=N[F].sort(function(le,ae){return le.t-ae.t}),W=0,O=0;O<ie.length;O++)ee=ie[O],me={ease:ee.e,duration:(ee.t-(O?ie[O-1].t:0))/100*d},me[F]=ee.v,P.to(R,me,W),W+=me.duration;P.duration()<d&&P.to({},{duration:d-P.duration()})}}d||u.duration(d=P.duration())}else u.timeline=0;return g===!0&&!D0&&(hl=ba(u),Yn.killTweensOf(R),hl=0),Zo(b,ba(u),o),i.reversed&&u.reverse(),i.paused&&u.paused(!0),(m||!d&&!_&&u._start===Hn(b._time)&&fs(m)&&gI(ba(u))&&b.data!=="nested")&&(u._tTime=-sn,u.render(Math.max(0,-h)||0)),S&&Qb(ba(u),S),u}var n=e.prototype;return n.render=function(i,o,l){var u=this._time,f=this._tDur,d=this._dur,h=i<0,m=i>f-sn&&!h?f:i<sn?0:i,y,g,_,w,S,C,b,R,P;if(!d)vI(this,i,o,l);else if(m!==this._tTime||!i||l||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==h||this._lazy){if(y=m,R=this.timeline,this._repeat){if(w=d+this._rDelay,this._repeat<-1&&h)return this.totalTime(w*100+i,o,l);if(y=Hn(m%w),m===f?(_=this._repeat,y=d):(S=Hn(m/w),_=~~S,_&&_===S?(y=d,_--):y>d&&(y=d)),C=this._yoyo&&_&1,C&&(P=this._yEase,y=d-y),S=Lc(this._tTime,w),y===u&&!l&&this._initted&&_===S)return this._tTime=m,this;_!==S&&(R&&this._yEase&&dE(R,C),this.vars.repeatRefresh&&!C&&!this._lock&&y!==w&&this._initted&&(this._lock=l=1,this.render(Hn(w*_),!0).invalidate()._lock=0))}if(!this._initted){if(Zb(this,h?i:y,l,o,m))return this._tTime=0,this;if(u!==this._time&&!(l&&this.vars.repeatRefresh&&_!==S))return this;if(d!==this._dur)return this.render(i,o,l)}if(this._tTime=m,this._time=y,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=b=(P||this._ease)(y/d),this._from&&(this.ratio=b=1-b),!u&&m&&!o&&!S&&(Ls(this,"onStart"),this._tTime!==m))return this;for(g=this._pt;g;)g.r(b,g.d),g=g._next;R&&R.render(i<0?i:R._dur*R._ease(y/this._dur),o,l)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(h&&yv(this,i,o,l),Ls(this,"onUpdate")),this._repeat&&_!==S&&this.vars.onRepeat&&!o&&this.parent&&Ls(this,"onRepeat"),(m===this._tDur||!m)&&this._tTime===m&&(h&&!this._onUpdate&&yv(this,i,!0,!0),(i||!d)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&bl(this,1),!o&&!(h&&!u)&&(m||u||C)&&(Ls(this,m===f?"onComplete":"onReverseComplete",!0),this._prom&&!(m<f&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),t.prototype.invalidate.call(this,i)},n.resetTo=function(i,o,l,u,f){dd||Ms.wake(),this._ts||this.play();var d=Math.min(this._dur,(this._dp._time-this._start)*this._ts),h;return this._initted||U0(this,d),h=this._ease(d/this._dur),FI(this,i,o,l,u,h,d,f)?this.resetTo(i,o,l,u,1):(_m(this,0),this.parent||Gb(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?Rf(this):this.scrollTrigger&&this.scrollTrigger.kill(!!li),this;if(this.timeline){var l=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,hl&&hl.vars.overwrite!==!0)._first||Rf(this),this.parent&&l!==this.timeline.totalDuration()&&Nc(this,this._dur*this.timeline._tDur/l,0,1),this}var u=this._targets,f=i?lo(i):u,d=this._ptLookup,h=this._pt,m,y,g,_,w,S,C;if((!o||o==="all")&&pI(u,f))return o==="all"&&(this._pt=0),Rf(this);for(m=this._op=this._op||[],o!=="all"&&(Zr(o)&&(w={},ds(o,function(b){return w[b]=1}),o=w),o=VI(u,o)),C=u.length;C--;)if(~f.indexOf(u[C])){y=d[C],o==="all"?(m[C]=o,_=y,g={}):(g=m[C]=m[C]||{},_=o);for(w in _)S=y&&y[w],S&&((!("kill"in S.d)||S.d.kill(w)===!0)&&wm(this,S,"_pt"),delete y[w]),g!=="all"&&(g[w]=1)}return this._initted&&!this._pt&&h&&Rf(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return $f(1,arguments)},e.delayedCall=function(i,o,l,u){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:l,onReverseCompleteParams:l,callbackScope:u})},e.fromTo=function(i,o,l){return $f(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,l){return Yn.killTweensOf(i,o,l)},e})(hd);zs(Dr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});ds("staggerTo,staggerFrom,staggerFromTo",function(t){Dr[t]=function(){var e=new Bi,n=wv.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var W0=function(e,n,r){return e[n]=r},vE=function(e,n,r){return e[n](r)},jI=function(e,n,r,i){return e[n](i.fp,r)},$I=function(e,n,r){return e.setAttribute(n,r)},H0=function(e,n){return rr(e[n])?vE:L0(e[n])&&e.setAttribute?$I:W0},wE=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},BI=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},xE=function(e,n){var r=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=n.c}n.set(n.t,n.p,i,n)},Y0=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},UI=function(e,n,r,i){for(var o=this._pt,l;o;)l=o._next,o.p===i&&o.modifier(e,n,r),o=l},WI=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?wm(this,n,"_pt"):n.dep||(r=1),n=i;return!r},HI=function(e,n,r,i){i.mSet(e,n,i.m.call(i.tween,r,i.mt),i)},_E=function(e){for(var n=e._pt,r,i,o,l;n;){for(r=n._next,i=o;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:l)?n._prev._next=n:o=n,(n._next=i)?i._prev=n:l=n,n=r}e._pt=o},hs=(function(){function t(n,r,i,o,l,u,f,d,h){this.t=r,this.s=o,this.c=l,this.p=i,this.r=u||wE,this.d=f||this,this.set=d||W0,this.pr=h||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,i,o){this.mSet=this.mSet||this.set,this.set=HI,this.m=r,this.mt=o,this.tween=i},t})();ds(z0+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return V0[t]=1});Vs.TweenMax=Vs.TweenLite=Dr;Vs.TimelineLite=Vs.TimelineMax=Bi;Yn=new Bi({sortChildren:!1,defaults:Mc,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Fs.stringFilter=cE;var Tu=[],cp={},YI=[],K1=0,KI=0,cy=function(e){return(cp[e]||YI).map(function(n){return n()})},Tv=function(){var e=Date.now(),n=[];e-K1>2&&(cy("matchMediaInit"),Tu.forEach(function(r){var i=r.queries,o=r.conditions,l,u,f,d;for(u in i)l=qo.matchMedia(i[u]).matches,l&&(f=1),l!==o[u]&&(o[u]=l,d=1);d&&(r.revert(),f&&n.push(r))}),cy("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),K1=e,cy("matchMedia"))},SE=(function(){function t(n,r){this.selector=r&&xv(r),this.data=[],this._r=[],this.isReverted=!1,this.id=KI++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,i,o){rr(r)&&(o=i,i=r,r=rr);var l=this,u=function(){var d=In,h=l.selector,m;return d&&d!==l&&d.data.push(l),o&&(l.selector=xv(o)),In=l,m=i.apply(l,arguments),rr(m)&&l._r.push(m),In=d,l.selector=h,l.isReverted=!1,m};return l.last=u,r===rr?u(l,function(f){return l.add(null,f)}):r?l[r]=u:u},e.ignore=function(r){var i=In;In=null,r(this),In=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof t?r.push.apply(r,i.getTweens()):i instanceof Dr&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var o=this;if(r?(function(){for(var u=o.getTweens(),f=o.data.length,d;f--;)d=o.data[f],d.data==="isFlip"&&(d.revert(),d.getChildren(!0,!0,!1).forEach(function(h){return u.splice(u.indexOf(h),1)}));for(u.map(function(h){return{g:h._dur||h._delay||h._sat&&!h._sat.vars.immediateRender?h.globalTime(0):-1/0,t:h}}).sort(function(h,m){return m.g-h.g||-1/0}).forEach(function(h){return h.t.revert(r)}),f=o.data.length;f--;)d=o.data[f],d instanceof Bi?d.data!=="nested"&&(d.scrollTrigger&&d.scrollTrigger.revert(),d.kill()):!(d instanceof Dr)&&d.revert&&d.revert(r);o._r.forEach(function(h){return h(r,o)}),o.isReverted=!0})():this.data.forEach(function(u){return u.kill&&u.kill()}),this.clear(),i)for(var l=Tu.length;l--;)Tu[l].id===this.id&&Tu.splice(l,1)},e.revert=function(r){this.kill(r||{})},t})(),XI=(function(){function t(n){this.contexts=[],this.scope=n,In&&In.data.push(this)}var e=t.prototype;return e.add=function(r,i,o){la(r)||(r={matches:r});var l=new SE(0,o||this.scope),u=l.conditions={},f,d,h;In&&!l.selector&&(l.selector=In.selector),this.contexts.push(l),i=l.add("onMatch",i),l.queries=r;for(d in r)d==="all"?h=1:(f=qo.matchMedia(r[d]),f&&(Tu.indexOf(l)<0&&Tu.push(l),(u[d]=f.matches)&&(h=1),f.addListener?f.addListener(Tv):f.addEventListener("change",Tv)));return h&&i(l,function(m){return l.add(null,m)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},t})(),jp={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(i){return aE(i)})},timeline:function(e){return new Bi(e)},getTweensOf:function(e,n){return Yn.getTweensOf(e,n)},getProperty:function(e,n,r,i){Zr(e)&&(e=lo(e)[0]);var o=xu(e||{}).get,l=r?Xb:Kb;return r==="native"&&(r=""),e&&(n?l((Rs[n]&&Rs[n].get||o)(e,n,r,i)):function(u,f,d){return l((Rs[u]&&Rs[u].get||o)(e,u,f,d))})},quickSetter:function(e,n,r){if(e=lo(e),e.length>1){var i=e.map(function(h){return ms.quickSetter(h,n,r)}),o=i.length;return function(h){for(var m=o;m--;)i[m](h)}}e=e[0]||{};var l=Rs[n],u=xu(e),f=u.harness&&(u.harness.aliases||{})[n]||n,d=l?function(h){var m=new l;fc._pt=0,m.init(e,r?h+r:h,fc,0,[e]),m.render(1,m),fc._pt&&Y0(1,fc)}:u.set(e,f);return l?d:function(h){return d(e,f,r?h+r:h,u,1)}},quickTo:function(e,n,r){var i,o=ms.to(e,zs((i={},i[n]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),l=function(f,d,h){return o.resetTo(n,f,d,h)};return l.tween=o,l},isTweening:function(e){return Yn.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Su(e.ease,Mc.ease)),B1(Mc,e||{})},config:function(e){return B1(Fs,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,i=e.plugins,o=e.defaults,l=e.extendTimeline;(i||"").split(",").forEach(function(u){return u&&!Rs[u]&&!Vs[u]&&ud(n+" effect requires "+u+" plugin.")}),oy[n]=function(u,f,d){return r(lo(u),zs(f||{},o),d)},l&&(Bi.prototype[n]=function(u,f,d){return this.add(oy[n](u,la(f)?f:(d=f)&&{},this),d)})},registerEase:function(e,n){Ot[e]=Su(n)},parseEase:function(e,n){return arguments.length?Su(e,n):Ot},getById:function(e){return Yn.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Bi(e),i,o;for(r.smoothChildTiming=fs(e.smoothChildTiming),Yn.remove(r),r._dp=0,r._time=r._tTime=Yn._time,i=Yn._first;i;)o=i._next,(n||!(!i._dur&&i instanceof Dr&&i.vars.onComplete===i._targets[0]))&&Zo(r,i,i._start-i._delay),i=o;return Zo(Yn,r,0),r},context:function(e,n){return e?new SE(e,n):In},matchMedia:function(e){return new XI(e)},matchMediaRefresh:function(){return Tu.forEach(function(e){var n=e.conditions,r,i;for(i in n)n[i]&&(n[i]=!1,r=1);r&&e.revert()})||Tv()},addEventListener:function(e,n){var r=cp[e]||(cp[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=cp[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:EI,wrapYoyo:PI,distribute:tE,random:rE,snap:nE,normalize:bI,getUnit:Si,clamp:_I,splitColor:lE,toArray:lo,selector:xv,mapRange:sE,pipe:TI,unitize:CI,interpolate:kI,shuffle:eE},install:Bb,effects:oy,ticker:Ms,updateRoot:Bi.updateRoot,plugins:Rs,globalTimeline:Yn,core:{PropTween:hs,globals:Ub,Tween:Dr,Timeline:Bi,Animation:hd,getCache:xu,_removeLinkedListItem:wm,reverting:function(){return li},context:function(e){return e&&In&&(In.data.push(e),e._ctx=In),In},suppressOverwrites:function(e){return D0=e}}};ds("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return jp[t]=Dr[t]});Ms.add(Bi.updateRoot);fc=jp.to({},{duration:0});var GI=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},qI=function(e,n){var r=e._targets,i,o,l;for(i in n)for(o=r.length;o--;)l=e._ptLookup[o][i],l&&(l=l.d)&&(l._pt&&(l=GI(l,i)),l&&l.modifier&&l.modifier(n[i],e,r[o],i))},fy=function(e,n){return{name:e,headless:1,rawVars:1,init:function(i,o,l){l._onInit=function(u){var f,d;if(Zr(o)&&(f={},ds(o,function(h){return f[h]=1}),o=f),n){f={};for(d in o)f[d]=n(o[d]);o=f}qI(u,o)}}}},ms=jp.registerPlugin({name:"attr",init:function(e,n,r,i,o){var l,u,f;this.tween=r;for(l in n)f=e.getAttribute(l)||"",u=this.add(e,"setAttribute",(f||0)+"",n[l],i,o,0,0,l),u.op=l,u.b=f,this._props.push(l)},render:function(e,n){for(var r=n._pt;r;)li?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},fy("roundProps",_v),fy("modifiers"),fy("snap",nE))||jp;Dr.version=Bi.version=ms.version="3.14.2";$b=1;N0()&&Ic();Ot.Power0;Ot.Power1;Ot.Power2;Ot.Power3;Ot.Power4;Ot.Linear;Ot.Quad;Ot.Cubic;Ot.Quart;Ot.Quint;Ot.Strong;Ot.Elastic;Ot.Back;Ot.SteppedEase;Ot.Bounce;Ot.Sine;Ot.Expo;Ot.Circ;var X1,pl,Tc,K0,gu,G1,X0,QI=function(){return typeof window<"u"},Na={},fu=180/Math.PI,Cc=Math.PI/180,tc=Math.atan2,q1=1e8,G0=/([A-Z])/g,ZI=/(left|right|width|margin|padding|x)/i,JI=/[\s,\(]\S/,na={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Cv=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},eF=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},tF=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},nF=function(e,n){return n.set(n.t,n.p,e===1?n.e:e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},rF=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},TE=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},CE=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},iF=function(e,n,r){return e.style[n]=r},sF=function(e,n,r){return e.style.setProperty(n,r)},oF=function(e,n,r){return e._gsap[n]=r},aF=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},lF=function(e,n,r,i,o){var l=e._gsap;l.scaleX=l.scaleY=r,l.renderTransform(o,l)},uF=function(e,n,r,i,o){var l=e._gsap;l[n]=r,l.renderTransform(o,l)},Kn="transform",ps=Kn+"Origin",cF=function t(e,n){var r=this,i=this.target,o=i.style,l=i._gsap;if(e in Na&&o){if(this.tfm=this.tfm||{},e!=="transform")e=na[e]||e,~e.indexOf(",")?e.split(",").forEach(function(u){return r.tfm[u]=Ea(i,u)}):this.tfm[e]=l.x?l[e]:Ea(i,e),e===ps&&(this.tfm.zOrigin=l.zOrigin);else return na.transform.split(",").forEach(function(u){return t.call(r,u,n)});if(this.props.indexOf(Kn)>=0)return;l.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(ps,n,"")),e=Kn}(o||n)&&this.props.push(e,n,o[e])},bE=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},fF=function(){var e=this.props,n=this.target,r=n.style,i=n._gsap,o,l;for(o=0;o<e.length;o+=3)e[o+1]?e[o+1]===2?n[e[o]](e[o+2]):n[e[o]]=e[o+2]:e[o+2]?r[e[o]]=e[o+2]:r.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(G0,"-$1").toLowerCase());if(this.tfm){for(l in this.tfm)i[l]=this.tfm[l];i.svg&&(i.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),o=X0(),(!o||!o.isStart)&&!r[Kn]&&(bE(r),i.zOrigin&&r[ps]&&(r[ps]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},EE=function(e,n){var r={target:e,props:[],revert:fF,save:cF};return e._gsap||ms.core.getCache(e),n&&e.style&&e.nodeType&&n.split(",").forEach(function(i){return r.s
vendor: 6,420 bytes, line 9
9ave(i)}),r},PE,bv=function(e,n){var r=pl.createElementNS?pl.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):pl.createElement(e);return r&&r.style?r:pl.createElement(e)},Ns=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(G0,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,Fc(n)||n,1)||""},Q1="O,Moz,ms,Ms,Webkit".split(","),Fc=function(e,n,r){var i=n||gu,o=i.style,l=5;if(e in o&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);l--&&!(Q1[l]+e in o););return l<0?null:(l===3?"ms":l>=0?Q1[l]:"")+e},Ev=function(){QI()&&window.document&&(X1=window,pl=X1.document,Tc=pl.documentElement,gu=bv("div")||{style:{}},bv("div"),Kn=Fc(Kn),ps=Kn+"Origin",gu.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",PE=!!Fc("perspective"),X0=ms.core.reverting,K0=1)},Z1=function(e){var n=e.ownerSVGElement,r=bv("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),o;i.style.display="block",r.appendChild(i),Tc.appendChild(r);try{o=i.getBBox()}catch{}return r.removeChild(i),Tc.removeChild(r),o},J1=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},kE=function(e){var n,r;try{n=e.getBBox()}catch{n=Z1(e),r=1}return n&&(n.width||n.height)||r||(n=Z1(e)),n&&!n.width&&!n.x&&!n.y?{x:+J1(e,["x","cx","x1"])||0,y:+J1(e,["y","cy","y1"])||0,width:0,height:0}:n},RE=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&kE(e))},El=function(e,n){if(n){var r=e.style,i;n in Na&&n!==ps&&(n=Kn),r.removeProperty?(i=n.substr(0,2),(i==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(i==="--"?n:n.replace(G0,"-$1").toLowerCase())):r.removeAttribute(n)}},ml=function(e,n,r,i,o,l){var u=new hs(e._pt,n,r,0,1,l?CE:TE);return e._pt=u,u.b=i,u.e=o,e._props.push(r),u},eS={deg:1,rad:1,turn:1},dF={grid:1,flex:1},Pl=function t(e,n,r,i){var o=parseFloat(r)||0,l=(r+"").trim().substr((o+"").length)||"px",u=gu.style,f=ZI.test(n),d=e.tagName.toLowerCase()==="svg",h=(d?"client":"offset")+(f?"Width":"Height"),m=100,y=i==="px",g=i==="%",_,w,S,C;if(i===l||!o||eS[i]||eS[l])return o;if(l!=="px"&&!y&&(o=t(e,n,r,"px")),C=e.getCTM&&RE(e),(g||l==="%")&&(Na[n]||~n.indexOf("adius")))return _=C?e.getBBox()[f?"width":"height"]:e[h],yr(g?o/_*m:o/100*_);if(u[f?"width":"height"]=m+(y?l:i),w=i!=="rem"&&~n.indexOf("adius")||i==="em"&&e.appendChild&&!d?e:e.parentNode,C&&(w=(e.ownerSVGElement||{}).parentNode),(!w||w===pl||!w.appendChild)&&(w=pl.body),S=w._gsap,S&&g&&S.width&&f&&S.time===Ms.time&&!S.uncache)return yr(o/S.width*m);if(g&&(n==="height"||n==="width")){var b=e.style[n];e.style[n]=m+i,_=e[h],b?e.style[n]=b:El(e,n)}else(g||l==="%")&&!dF[Ns(w,"display")]&&(u.position=Ns(e,"position")),w===e&&(u.position="static"),w.appendChild(gu),_=gu[h],w.removeChild(gu),u.position="absolute";return f&&g&&(S=xu(w),S.time=Ms.time,S.width=w[h]),yr(y?_*o/m:_&&o?m/_*o:0)},Ea=function(e,n,r,i){var o;return K0||Ev(),n in na&&n!=="transform"&&(n=na[n],~n.indexOf(",")&&(n=n.split(",")[0])),Na[n]&&n!=="transform"?(o=md(e,i),o=n!=="transformOrigin"?o[n]:o.svg?o.origin:Bp(Ns(e,ps))+" "+o.zOrigin+"px"):(o=e.style[n],(!o||o==="auto"||i||~(o+"").indexOf("calc("))&&(o=$p[n]&&$p[n](e,n,r)||Ns(e,n)||Hb(e,n)||(n==="opacity"?1:0))),r&&!~(o+"").trim().indexOf(" ")?Pl(e,n,o,r)+r:o},hF=function(e,n,r,i){if(!r||r==="none"){var o=Fc(n,e,1),l=o&&Ns(e,o,1);l&&l!==r?(n=o,r=l):n==="borderColor"&&(r=Ns(e,"borderTopColor"))}var u=new hs(this._pt,e.style,n,0,1,xE),f=0,d=0,h,m,y,g,_,w,S,C,b,R,P,O;if(u.b=r,u.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=Ns(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(w=e.style[n],e.style[n]=i,i=Ns(e,n)||i,w?e.style[n]=w:El(e,n)),h=[r,i],cE(h),r=h[0],i=h[1],y=r.match(cc)||[],O=i.match(cc)||[],O.length){for(;m=cc.exec(i);)S=m[0],b=i.substring(f,m.index),_?_=(_+1)%5:(b.substr(-5)==="rgba("||b.substr(-5)==="hsla(")&&(_=1),S!==(w=y[d++]||"")&&(g=parseFloat(w)||0,P=w.substr((g+"").length),S.charAt(1)==="="&&(S=Sc(g,S)+P),C=parseFloat(S),R=S.substr((C+"").length),f=cc.lastIndex-R.length,R||(R=R||Fs.units[n]||P,f===i.length&&(i+=R,u.e+=R)),P!==R&&(g=Pl(e,n,w,R)||0),u._pt={_next:u._pt,p:b||d===1?b:",",s:g,c:C-g,m:_&&_<4||n==="zIndex"?Math.round:0});u.c=f<i.length?i.substring(f,i.length):""}else u.r=n==="display"&&i==="none"?CE:TE;return jb.test(i)&&(u.e=0),this._pt=u,u},tS={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},pF=function(e){var n=e.split(" "),r=n[0],i=n[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),n[0]=tS[r]||r,n[1]=tS[i]||i,n.join(" ")},mF=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,i=r.style,o=n.u,l=r._gsap,u,f,d;if(o==="all"||o===!0)i.cssText="",f=1;else for(o=o.split(","),d=o.length;--d>-1;)u=o[d],Na[u]&&(f=1,u=u==="transformOrigin"?ps:Kn),El(r,u);f&&(El(r,Kn),l&&(l.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",md(r,1),l.uncache=1,bE(i)))}},$p={clearProps:function(e,n,r,i,o){if(o.data!=="isFromStart"){var l=e._pt=new hs(e._pt,n,r,0,0,mF);return l.u=i,l.pr=-10,l.tween=o,e._props.push(r),1}}},pd=[1,0,0,1,0,0],OE={},AE=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},nS=function(e){var n=Ns(e,Kn);return AE(n)?pd:n.substr(7).match(zb).map(yr)},q0=function(e,n){var r=e._gsap||xu(e),i=e.style,o=nS(e),l,u,f,d;return r.svg&&e.getAttribute("transform")?(f=e.transform.baseVal.consolidate().matrix,o=[f.a,f.b,f.c,f.d,f.e,f.f],o.join(",")==="1,0,0,1,0,0"?pd:o):(o===pd&&!e.offsetParent&&e!==Tc&&!r.svg&&(f=i.display,i.display="block",l=e.parentNode,(!l||!e.offsetParent&&!e.getBoundingClientRect().width)&&(d=1,u=e.nextElementSibling,Tc.appendChild(e)),o=nS(e),f?i.display=f:El(e,"display"),d&&(u?l.insertBefore(e,u):l?l.appendChild(e):Tc.removeChild(e))),n&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},Pv=function(e,n,r,i,o,l){var u=e._gsap,f=o||q0(e,!0),d=u.xOrigin||0,h=u.yOrigin||0,m=u.xOffset||0,y=u.yOffset||0,g=f[0],_=f[1],w=f[2],S=f[3],C=f[4],b=f[5],R=n.split(" "),P=parseFloat(R[0])||0,O=parseFloat(R[1])||0,N,L,F,j;r?f!==pd&&(L=g*S-_*w)&&(F=P*(S/L)+O*(-w/L)+(w*b-S*C)/L,j=P*(-_/L)+O*(g/L)-(g*b-_*C)/L,P=F,O=j):(N=kE(e),P=N.x+(~R[0].indexOf("%")?P/100*N.width:P),O=N.y+(~(R[1]||R[0]).indexOf("%")?O/100*N.height:O)),i||i!==!1&&u.smooth?(C=P-d,b=O-h,u.xOffset=m+(C*g+b*w)-C,u.yOffset=y+(C*_+b*S)-b):u.xOffset=u.yOffset=0,u.xOrigin=P,u.yOrigin=O,u.smooth=!!i,u.origin=n,u.originIsAbsolute=!!r,e.style[ps
vendor: 2,869 bytes, line 9
9]="0px 0px",l&&(ml(l,u,"xOrigin",d,P),ml(l,u,"yOrigin",h,O),ml(l,u,"xOffset",m,u.xOffset),ml(l,u,"yOffset",y,u.yOffset)),e.setAttribute("data-svg-origin",P+" "+O)},md=function(e,n){var r=e._gsap||new pE(e);if("x"in r&&!n&&!r.uncache)return r;var i=e.style,o=r.scaleX<0,l="px",u="deg",f=getComputedStyle(e),d=Ns(e,ps)||"0",h,m,y,g,_,w,S,C,b,R,P,O,N,L,F,j,B,re,W,ie,ee,me,le,ae,$,K,D,V,G,ye,pe,Ee;return h=m=y=w=S=C=b=R=P=0,g=_=1,r.svg=!!(e.getCTM&&RE(e)),f.translate&&((f.translate!=="none"||f.scale!=="none"||f.rotate!=="none")&&(i[Kn]=(f.translate!=="none"?"translate3d("+(f.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(f.rotate!=="none"?"rotate("+f.rotate+") ":"")+(f.scale!=="none"?"scale("+f.scale.split(" ").join(",")+") ":"")+(f[Kn]!=="none"?f[Kn]:"")),i.scale=i.rotate=i.translate="none"),L=q0(e,r.svg),r.svg&&(r.uncache?($=e.getBBox(),d=r.xOrigin-$.x+"px "+(r.yOrigin-$.y)+"px",ae=""):ae=!n&&e.getAttribute("data-svg-origin"),Pv(e,ae||d,!!ae||r.originIsAbsolute,r.smooth!==!1,L)),O=r.xOrigin||0,N=r.yOrigin||0,L!==pd&&(re=L[0],W=L[1],ie=L[2],ee=L[3],h=me=L[4],m=le=L[5],L.length===6?(g=Math.sqrt(re*re+W*W),_=Math.sqrt(ee*ee+ie*ie),w=re||W?tc(W,re)*fu:0,b=ie||ee?tc(ie,ee)*fu+w:0,b&&(_*=Math.abs(Math.cos(b*Cc))),r.svg&&(h-=O-(O*re+N*ie),m-=N-(O*W+N*ee))):(Ee=L[6],ye=L[7],D=L[8],V=L[9],G=L[10],pe=L[11],h=L[12],m=L[13],y=L[14],F=tc(Ee,G),S=F*fu,F&&(j=Math.cos(-F),B=Math.sin(-F),ae=me*j+D*B,$=le*j+V*B,K=Ee*j+G*B,D=me*-B+D*j,V=le*-B+V*j,G=Ee*-B+G*j,pe=ye*-B+pe*j,me=ae,le=$,Ee=K),F=tc(-ie,G),C=F*fu,F&&(j=Math.cos(-F),B=Math.sin(-F),ae=re*j-D*B,$=W*j-V*B,K=ie*j-G*B,pe=ee*B+pe*j,re=ae,W=$,ie=K),F=tc(W,re),w=F*fu,F&&(j=Math.cos(F),B=Math.sin(F),ae=re*j+W*B,$=me*j+le*B,W=W*j-re*B,le=le*j-me*B,re=ae,me=$),S&&Math.abs(S)+Math.abs(w)>359.9&&(S=w=0,C=180-C),g=yr(Math.sqrt(re*re+W*W+ie*ie)),_=yr(Math.sqrt(le*le+Ee*Ee)),F=tc(me,le),b=Math.abs(F)>2e-4?F*fu:0,P=pe?1/(pe<0?-pe:pe):0),r.svg&&(ae=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!AE(Ns(e,Kn)),ae&&e.setAttribute("transform",ae))),Math.abs(b)>90&&Math.abs(b)<270&&(o?(g*=-1,b+=w<=0?180:-180,w+=w<=0?180:-180):(_*=-1,b+=b<=0?180:-180)),n=n||r.uncache,r.x=h-((r.xPercent=h&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-h)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+l,r.y=m-((r.yPercent=m&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-m)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+l,r.z=y+l,r.scaleX=yr(g),r.scaleY=yr(_),r.rotation=yr(w)+u,r.rotationX=yr(S)+u,r.rotationY=yr(C)+u,r.skewX=b+u,r.skewY=R+u,r.transformPerspective=P+l,(r.zOrigin=parseFloat(d.split(" ")[2])||!n&&r.zOrigin||0)&&(i[ps]=Bp(d)),r.xOffset=r.yOffset=0,r.force3D=Fs.force3D,r.renderTransform=r.svg?yF:PE?ME:gF,r.uncache=0,r},Bp=function(e){return(e=e.split(" "))[0]+" "+e[1]},dy=function(e,n,r){var i=Si(n);return yr(parseFloat(n)+parseFloat(Pl(e,"x",r+"px",i)))+i}
vendor: 18,219 bytes, line 9
9,gF=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,ME(e,n)},lu="0deg",bf="0px",uu=") ",ME=function(e,n){var r=n||this,i=r.xPercent,o=r.yPercent,l=r.x,u=r.y,f=r.z,d=r.rotation,h=r.rotationY,m=r.rotationX,y=r.skewX,g=r.skewY,_=r.scaleX,w=r.scaleY,S=r.transformPerspective,C=r.force3D,b=r.target,R=r.zOrigin,P="",O=C==="auto"&&e&&e!==1||C===!0;if(R&&(m!==lu||h!==lu)){var N=parseFloat(h)*Cc,L=Math.sin(N),F=Math.cos(N),j;N=parseFloat(m)*Cc,j=Math.cos(N),l=dy(b,l,L*j*-R),u=dy(b,u,-Math.sin(N)*-R),f=dy(b,f,F*j*-R+R)}S!==bf&&(P+="perspective("+S+uu),(i||o)&&(P+="translate("+i+"%, "+o+"%) "),(O||l!==bf||u!==bf||f!==bf)&&(P+=f!==bf||O?"translate3d("+l+", "+u+", "+f+") ":"translate("+l+", "+u+uu),d!==lu&&(P+="rotate("+d+uu),h!==lu&&(P+="rotateY("+h+uu),m!==lu&&(P+="rotateX("+m+uu),(y!==lu||g!==lu)&&(P+="skew("+y+", "+g+uu),(_!==1||w!==1)&&(P+="scale("+_+", "+w+uu),b.style[Kn]=P||"translate(0, 0)"},yF=function(e,n){var r=n||this,i=r.xPercent,o=r.yPercent,l=r.x,u=r.y,f=r.rotation,d=r.skewX,h=r.skewY,m=r.scaleX,y=r.scaleY,g=r.target,_=r.xOrigin,w=r.yOrigin,S=r.xOffset,C=r.yOffset,b=r.forceCSS,R=parseFloat(l),P=parseFloat(u),O,N,L,F,j;f=parseFloat(f),d=parseFloat(d),h=parseFloat(h),h&&(h=parseFloat(h),d+=h,f+=h),f||d?(f*=Cc,d*=Cc,O=Math.cos(f)*m,N=Math.sin(f)*m,L=Math.sin(f-d)*-y,F=Math.cos(f-d)*y,d&&(h*=Cc,j=Math.tan(d-h),j=Math.sqrt(1+j*j),L*=j,F*=j,h&&(j=Math.tan(h),j=Math.sqrt(1+j*j),O*=j,N*=j)),O=yr(O),N=yr(N),L=yr(L),F=yr(F)):(O=m,F=y,N=L=0),(R&&!~(l+"").indexOf("px")||P&&!~(u+"").indexOf("px"))&&(R=Pl(g,"x",l,"px"),P=Pl(g,"y",u,"px")),(_||w||S||C)&&(R=yr(R+_-(_*O+w*L)+S),P=yr(P+w-(_*N+w*F)+C)),(i||o)&&(j=g.getBBox(),R=yr(R+i/100*j.width),P=yr(P+o/100*j.height)),j="matrix("+O+","+N+","+L+","+F+","+R+","+P+")",g.setAttribute("transform",j),b&&(g.style[Kn]=j)},vF=function(e,n,r,i,o){var l=360,u=Zr(o),f=parseFloat(o)*(u&&~o.indexOf("rad")?fu:1),d=f-i,h=i+d+"deg",m,y;return u&&(m=o.split("_")[1],m==="short"&&(d%=l,d!==d%(l/2)&&(d+=d<0?l:-l)),m==="cw"&&d<0?d=(d+l*q1)%l-~~(d/l)*l:m==="ccw"&&d>0&&(d=(d-l*q1)%l-~~(d/l)*l)),e._pt=y=new hs(e._pt,n,r,i,d,eF),y.e=h,y.u="deg",e._props.push(r),y},rS=function(e,n){for(var r in n)e[r]=n[r];return e},wF=function(e,n,r){var i=rS({},r._gsap),o="perspective,force3D,transformOrigin,svgOrigin",l=r.style,u,f,d,h,m,y,g,_;i.svg?(d=r.getAttribute("transform"),r.setAttribute("transform",""),l[Kn]=n,u=md(r,1),El(r,Kn),r.setAttribute("transform",d)):(d=getComputedStyle(r)[Kn],l[Kn]=n,u=md(r,1),l[Kn]=d);for(f in Na)d=i[f],h=u[f],d!==h&&o.indexOf(f)<0&&(g=Si(d),_=Si(h),m=g!==_?Pl(r,f,d,_):parseFloat(d),y=parseFloat(h),e._pt=new hs(e._pt,u,f,m,y-m,Cv),e._pt.u=_||0,e._props.push(f));rS(u,i)};ds("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",o="Left",l=(e<3?[n,r,i,o]:[n+o,n+r,i+r,i+o]).map(function(u){return e<2?t+u:"border"+u+t});$p[e>1?"border"+t:t]=function(u,f,d,h,m){var y,g;if(arguments.length<4)return y=l.map(function(_){return Ea(u,_,d)}),g=y.join(" "),g.split(y[0]).length===5?y[0]:g;y=(h+"").split(" "),g={},l.forEach(function(_,w){return g[_]=y[w]=y[w]||y[(w-1)/2|0]}),u.init(f,g,m)}});var DE={name:"css",register:Ev,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,i,o){var l=this._props,u=e.style,f=r.vars.startAt,d,h,m,y,g,_,w,S,C,b,R,P,O,N,L,F,j;K0||Ev(),this.styles=this.styles||EE(e),F=this.styles.props,this.tween=r;for(w in n)if(w!=="autoRound"&&(h=n[w],!(Rs[w]&&mE(w,n,r,i,e,o)))){if(g=typeof h,_=$p[w],g==="function"&&(h=h.call(r,i,e,o),g=typeof h),g==="string"&&~h.indexOf("random(")&&(h=fd(h)),_)_(this,e,w,h,r)&&(L=1);else if(w.substr(0,2)==="--")d=(getComputedStyle(e).getPropertyValue(w)+"").trim(),h+="",_l.lastIndex=0,_l.test(d)||(S=Si(d),C=Si(h),C?S!==C&&(d=Pl(e,w,d,C)+C):S&&(h+=S)),this.add(u,"setProperty",d,h,i,o,0,0,w),l.push(w),F.push(w,0,u[w]);else if(g!=="undefined"){if(f&&w in f?(d=typeof f[w]=="function"?f[w].call(r,i,e,o):f[w],Zr(d)&&~d.indexOf("random(")&&(d=fd(d)),Si(d+"")||d==="auto"||(d+=Fs.units[w]||Si(Ea(e,w))||""),(d+"").charAt(1)==="="&&(d=Ea(e,w))):d=Ea(e,w),y=parseFloat(d),b=g==="string"&&h.charAt(1)==="="&&h.substr(0,2),b&&(h=h.substr(2)),m=parseFloat(h),w in na&&(w==="autoAlpha"&&(y===1&&Ea(e,"visibility")==="hidden"&&m&&(y=0),F.push("visibility",0,u.visibility),ml(this,u,"visibility",y?"inherit":"hidden",m?"inherit":"hidden",!m)),w!=="scale"&&w!=="transform"&&(w=na[w],~w.indexOf(",")&&(w=w.split(",")[0]))),R=w in Na,R){if(this.styles.save(w),j=h,g==="string"&&h.substring(0,6)==="var(--"){if(h=Ns(e,h.substring(4,h.indexOf(")"))),h.substring(0,5)==="calc("){var B=e.style.perspective;e.style.perspective=h,h=Ns(e,"perspective"),B?e.style.perspective=B:El(e,"perspective")}m=parseFloat(h)}if(P||(O=e._gsap,O.renderTransform&&!n.parseTransform||md(e,n.parseTransform),N=n.smoothOrigin!==!1&&O.smooth,P=this._pt=new hs(this._pt,u,Kn,0,1,O.renderTransform,O,0,-1),P.dep=1),w==="scale")this._pt=new hs(this._pt,O,"scaleY",O.scaleY,(b?Sc(O.scaleY,b+m):m)-O.scaleY||0,Cv),this._pt.u=0,l.push("scaleY",w),w+="X";else if(w==="transformOrigin"){F.push(ps,0,u[ps]),h=pF(h),O.svg?Pv(e,h,0,N,0,this):(C=parseFloat(h.split(" ")[2])||0,C!==O.zOrigin&&ml(this,O,"zOrigin",O.zOrigin,C),ml(this,u,w,Bp(d),Bp(h)));continue}else if(w==="svgOrigin"){Pv(e,h,1,N,0,this);continue}else if(w in OE){vF(this,O,w,y,b?Sc(y,b+h):h);continue}else if(w==="smoothOrigin"){ml(this,O,"smooth",O.smooth,h);continue}else if(w==="force3D"){O[w]=h;continue}else if(w==="transform"){wF(this,h,e);continue}}else w in u||(w=Fc(w)||w);if(R||(m||m===0)&&(y||y===0)&&!JI.test(h)&&w in u)S=(d+"").substr((y+"").length),m||(m=0),C=Si(h)||(w in Fs.units?Fs.units[w]:S),S!==C&&(y=Pl(e,w,d,C)),this._pt=new hs(this._pt,R?O:u,w,y,(b?Sc(y,b+m):m)-y,!R&&(C==="px"||w==="zIndex")&&n.autoRound!==!1?rF:Cv),this._pt.u=C||0,R&&j!==h?(this._pt.b=d,this._pt.e=j,this._pt.r=nF):S!==C&&C!=="%"&&(this._pt.b=d,this._pt.r=tF);else if(w in u)hF.call(this,e,w,d,b?b+h:h);else if(w in e)this.add(e,w,d||e[w],b?b+h:h,i,o);else if(w!=="parseTransform"){F0(w,h);continue}R||(w in u?F.push(w,0,u[w]):typeof e[w]=="function"?F.push(w,2,e[w]()):F.push(w,1,d||e[w])),l.push(w)}}L&&_E(this)},render:function(e,n){if(n.tween._time||!X0())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:Ea,aliases:na,getSetter:function(e,n,r){var i=na[n];return i&&i.indexOf(",")<0&&(n=i),n in Na&&n!==ps&&(e._gsap.x||Ea(e,"x"))?r&&G1===r?n==="scale"?aF:oF:(G1=r||{})&&(n==="scale"?lF:uF):e.style&&!L0(e.style[n])?iF:~n.indexOf("-")?sF:H0(e,n)},core:{_removeProperty:El,_getMatrix:q0}};ms.utils.checkPrefix=Fc;ms.core.getStyleSaver=EE;(function(t,e,n,r){var i=ds(t+","+e+","+n,function(o){Na[o]=1});ds(e,function(o){Fs.units[o]="deg",OE[o]=1}),na[i[13]]=t+","+e,ds(r,function(o){var l=o.split(":");na[l[1]]=i[l[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");ds("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Fs.units[t]="px"});ms.registerPlugin(DE);var xF=ms.registerPlugin(DE)||ms;xF.core.Tween;function _F(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function SF(t,e,n){return e&&_F(t.prototype,e),t}var ai,fp,Ds,gl,yl,bc,LE,du,Uf,NE,Ra,Ao,IE,FE=function(){return ai||typeof window<"u"&&(ai=window.gsap)&&ai.registerPlugin&&ai},VE=1,dc=[],Ct=[],sa=[],Wf=Date.now,kv=function(e,n){return n},TF=function(){var e=Uf.core,n=e.bridge||{},r=e._scrollers,i=e._proxies;r.push.apply(r,Ct),i.push.apply(i,sa),Ct=r,sa=i,kv=function(l,u){return n[l](u)}},Sl=function(e,n){return~sa.indexOf(e)&&sa[sa.indexOf(e)+1][n]},Hf=function(e){return!!~NE.indexOf(e)},Fi=function(e,n,r,i,o){return e.addEventListener(n,r,{passive:i!==!1,capture:!!o})},Ii=function(e,n,r,i){return e.removeEventListener(n,r,!!i)},Fh="scrollLeft",Vh="scrollTop",Rv=function(){return Ra&&Ra.isPressed||Ct.cache++},Up=function(e,n){var r=function i(o){if(o||o===0){VE&&(Ds.history.scrollRestoration="manual");var l=Ra&&Ra.isPressed;o=i.v=Math.round(o)||(Ra&&Ra.iOS?1:0),e(o),i.cacheID=Ct.cache,l&&kv("ss",o)}else(n||Ct.cache!==i.cacheID||kv("ref"))&&(i.cacheID=Ct.cache,i.v=e());return i.v+i.offset};return r.offset=0,e&&r},Ui={s:Fh,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Up(function(t){return arguments.length?Ds.scrollTo(t,jr.sc()):Ds.pageXOffset||gl[Fh]||yl[Fh]||bc[Fh]||0})},jr={s:Vh,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Ui,sc:Up(function(t){return arguments.length?Ds.scrollTo(Ui.sc(),t):Ds.pageYOffset||gl[Vh]||yl[Vh]||bc[Vh]||0})},us=function(e,n){return(n&&n._ctx&&n._ctx.selector||ai.utils.toArray)(e)[0]||(typeof e=="string"&&ai.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},CF=function(e,n){for(var r=n.length;r--;)if(n[r]===e||n[r].contains(e))return!0;return!1},kl=function(e,n){var r=n.s,i=n.sc;Hf(e)&&(e=gl.scrollingElement||yl);var o=Ct.indexOf(e),l=i===jr.sc?1:2;!~o&&(o=Ct.push(e)-1),Ct[o+l]||Fi(e,"scroll",Rv);var u=Ct[o+l],f=u||(Ct[o+l]=Up(Sl(e,r),!0)||(Hf(e)?i:Up(function(d){return arguments.length?e[r]=d:e[r]})));return f.target=e,u||(f.smooth=ai.getProperty(e,"scrollBehavior")==="smooth"),f},Ov=function(e,n,r){var i=e,o=e,l=Wf(),u=l,f=n||50,d=Math.max(500,f*3),h=function(_,w){var S=Wf();w||S-l>f?(o=i,i=_,u=l,l=S):r?i+=_:i=o+(_-o)/(S-u)*(l-u)},m=function(){o=i=r?0:i,u=l=0},y=function(_){var w=u,S=o,C=Wf();return(_||_===0)&&_!==i&&h(_),l===u||C-u>d?0:(i+(r?S:-S))/((r?C:l)-w)*1e3};return{update:h,reset:m,getVelocity:y}},Ef=function(e,n){return n&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},iS=function(e){var n=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(n)>=Math.abs(r)?n:r},zE=function(){Uf=ai.core.globals().ScrollTrigger,Uf&&Uf.core&&TF()},jE=function(e){return ai=e||FE(),!fp&&ai&&typeof document<"u"&&document.body&&(Ds=window,gl=document,yl=gl.documentElement,bc=gl.body,NE=[Ds,gl,yl,bc],ai.utils.clamp,IE=ai.core.context||function(){},du="onpointerenter"in bc?"pointer":"mouse",LE=vr.isTouch=Ds.matchMedia&&Ds.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Ds||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Ao=vr.eventTypes=("ontouchstart"in yl?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in yl?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return VE=0},500),zE(),fp=1),fp};Ui.op=jr;Ct.cache=0;var vr=(function(){function t(n){this.init(n)}var e=t.prototype;return e.init=function(r){fp||jE(ai)||console.warn("Please gsap.registerPlugin(Observer)"),Uf||zE();var i=r.tolerance,o=r.dragMinimum,l=r.type,u=r.target,f=r.lineHeight,d=r.debounce,h=r.preventDefault,m=r.onStop,y=r.onStopDelay,g=r.ignore,_=r.wheelSpeed,w=r.event,S=r.onDragStart,C=r.onDragEnd,b=r.onDrag,R=r.onPress,P=r.onRelease,O=r.onRight,N=r.onLeft,L=r.onUp,F=r.onDown,j=r.onChangeX,B=r.onChangeY,re=r.onChange,W=r.onToggleX,ie=r.onToggleY,ee=r.onHover,me=r.onHoverEnd,le=r.onMove,ae=r.ignoreCheck,$=r.isNormalizer,K=r.onGestureStart,D=r.onGestureEnd,V=r.onWheel,G=r.onEnable,ye=r.onDisable,pe=r.onClick,Ee=r.scrollSpeed,Ie=r.capture,_e=r.allowClicks,Te=r.lockAxis,ue=r.onLockAxis;this.target=u=us(u)||yl,this.vars=r,g&&(g=ai.utils.toArray(g)),i=i||1e-9,o=o||0,_=_||1,Ee=Ee||1,l=l||"wheel,touch,pointer",d=d!==!1,f||(f=parseFloat(Ds.getComputedStyle(bc).lineHeight)||22);var Pt,ke,Ze,Ve,je,Fn,Pn,ne=this,on=0,ir=0,Gn=r.passive||!h&&r.passive!==!1,Ge=kl(u,Ui),sr=kl(u,jr),Vn=Ge(),Kt=sr(),an=~l.indexOf("touch")&&!~l.indexOf("pointer")&&Ao[0]==="pointerdown",Jt=Hf(u),gt=u.ownerDocument||gl,or=[0,0,0],ar=[0,0,0],zn=0,Ut=function(){return zn=Wf()},Wt=function(Re,rt){return(ne.event=Re)&&g&&CF(Re.target,g)||rt&&an&&Re.pointerType!=="touch"||ae&&ae(Re,rt)},Ki=function(){ne._vx.reset(),ne._vy.reset(),ke.pause(),m&&m(ne)},qn=function(){var Re=ne.deltaX=iS(or),rt=ne.deltaY=iS(ar),xe=Math.abs(Re)>=i,Me=Math.abs(rt)>=i;re&&(xe||Me)&&re(ne,Re,rt,or,ar),xe&&(O&&ne.deltaX>0&&O(ne),N&&ne.deltaX<0&&N(ne),j&&j(ne),W&&ne.deltaX<0!=on<0&&W(ne),on=ne.deltaX,or[0]=or[1]=or[2]=0),Me&&(F&&ne.deltaY>0&&F(ne),L&&ne.deltaY<0&&L(ne),B&&B(ne),ie&&ne.deltaY<0!=ir<0&&ie(ne),ir=ne.deltaY,ar[0]=ar[1]=ar[2]=0),(Ve||Ze)&&(le&&le(ne),Ze&&(S&&Ze===1&&S(ne),b&&b(ne),Ze=0),Ve=!1),Fn&&!(Fn=!1)&&ue&&ue(ne),je&&(V(ne),je=!1),Pt=0},_r=function(Re,rt,xe){or[xe]+=Re,ar[xe]+=rt,ne._vx.update(Re),ne._vy.update(rt),d?Pt||(Pt=requestAnimationFrame(qn)):qn()},lr=function(Re,rt){Te&&!Pn&&(ne.axis=Pn=Math.abs(Re)>Math.abs(rt)?"x":"y",Fn=!0),Pn!=="y"&&(or[2]+=Re,ne._vx.update(Re,!0)),Pn!=="x"&&(ar[2]+=rt,ne._vy.update(rt,!0)),d?Pt||(Pt=requestAnimationFrame(qn)):qn()},$r=function(Re){if(!Wt(Re,1)){Re=Ef(Re,h);var rt=Re.clientX,xe=Re.clientY,Me=rt-ne.x,Ce=xe-ne.y,Ue=ne.isDragging;ne.x=rt,ne.y=xe,(Ue||(Me||Ce)&&(Math.abs(ne.startX-rt)>=o||Math.abs(ne.startY-xe)>=o))&&(Ze||(Ze=Ue?2:1),Ue||(ne.isDragging=!0),lr(Me,Ce))}},Sr=ne.onPress=function(Fe){Wt(Fe,1)||Fe&&Fe.button||(ne.axis=Pn=null,ke.pause(),ne.isPressed=!0,Fe=Ef(Fe),on=ir=0,ne.startX=ne.x=Fe.clientX,ne.startY=ne.y=Fe.clientY,ne._vx.reset(),ne._vy.reset(),Fi($?u:gt,Ao[1],$r,Gn,!0),ne.deltaX=ne.deltaY=0,R&&R(ne))},nt=ne.onRelease=function(Fe){if(!Wt(Fe,1)){Ii($?u:gt,Ao[1],$r,!0);var Re=!isNaN(ne.y-ne.startY),rt=ne.isDragging,xe=rt&&(Math.abs(ne.x-ne.startX)>3||Math.abs(ne.y-ne.startY)>3),Me=Ef(Fe);!xe&&Re&&(ne._vx.reset(),ne._vy.reset(),h&&_e&&ai.delayedCall(.08,function(){if(Wf()-zn>300&&!Fe.defaultPrevented){if(Fe.target.click)Fe.target.click();else if(gt.createEvent){var Ce=gt.createEvent("MouseEvents");Ce.initMouseEvent("click",!0,!0,Ds,1,Me.screenX,Me.screenY,Me.clientX,Me.clientY,!1,!1,!1,!1,0,null),Fe.target.dispatchEvent(Ce)}}})),ne.isDragging=ne.isGesturing=ne.isPressed=!1,m&&rt&&!$&&ke.restart(!0),Ze&&qn(),C&&rt&&C(ne),P&&P(ne,xe)}},Tr=function(Re){return Re.touches&&Re.touches.length>1&&(ne.isGesturing=!0)&&K(Re,ne.isDragging)},kn=function(){return(ne.isGesturing=!1)||D(ne)},ln=function(Re){if(!Wt(Re)){var rt=Ge(),xe=sr();_r((rt-Vn)*Ee,(xe-Kt)*Ee,1),Vn=rt,Kt=xe,m&&ke.restart(!0)}},Xt=function(Re){if(!Wt(Re)){Re=Ef(Re,h),V&&(je=!0);var rt=(Re.deltaMode===1?f:Re.deltaMode===2?Ds.innerHeight:1)*_;_r(Re.deltaX*rt,Re.deltaY*rt,0),m&&!$&&ke.restart(!0)}},Ht=function(Re){if(!Wt(Re)){var rt=Re.clientX,xe=Re.clientY,Me=rt-ne.x,Ce=xe-ne.y;ne.x=rt,ne.y=xe,Ve=!0,m&&ke.restart(!0),(Me||Ce)&&lr(Me,Ce)}},$e=function(Re){ne.event=Re,ee(ne)},Ye=function(Re){ne.event=Re,me(ne)},yt=function(Re){return Wt(Re)||Ef(Re,h)&&pe(ne)};ke=ne._dc=ai.delayedCall(y||.25,Ki).pause(),ne.deltaX=ne.deltaY=0,ne._vx=Ov(0,50,!0),ne._vy=Ov(0,50,!0),ne.scrollX=Ge,ne.scrollY=sr,ne.isDragging=ne.isGesturing=ne.isPressed=!1,IE(this),ne.enable=function(Fe){return ne.isEnabled||(Fi(Jt?gt:u,"scroll",Rv),l.indexOf("scroll")>=0&&Fi(Jt?gt:u,"scroll",ln,Gn,Ie),l.indexOf("wheel")>=0&&Fi(u,"wheel",Xt,Gn,Ie),(l.indexOf("touch")>=0&&LE||l.indexOf("pointer")>=0)&&(Fi(u,Ao[0],Sr,Gn,Ie),Fi(gt,Ao[2],nt),Fi(gt,Ao[3],nt),_e&&Fi(u,"click",Ut,!0,!0),pe&&Fi(u,"click",yt),K&&Fi(gt,"gesturestart",Tr),D&&Fi(gt,"gestureend",kn),ee&&Fi(u,du+"enter",$e),me&&Fi(u,du+"leave",Ye),le&&Fi(u,du+"move",Ht)),ne.isEnabled=!0,ne.isDragging=ne.isGesturing=ne.isPressed=Ve=Ze=!1,ne._vx.reset(),ne._vy.reset(),Vn=Ge(),Kt=sr(),Fe&&Fe.type&&Sr(Fe),G&&G(ne)),ne},ne.disable=function(){ne.isEnabled&&(dc.filter(function(Fe){return Fe!==ne&&Hf(Fe.target)}).length||Ii(Jt?gt:u,"scroll",Rv),ne.isPressed&&(ne._vx.reset(),ne._vy.reset(),Ii($?u:gt,Ao[1],$r,!0)),Ii(Jt?gt:u,"scroll",ln,Ie),Ii(u,"wheel",Xt,Ie),Ii(u,Ao[0],Sr,Ie),Ii(gt,Ao[2],nt),Ii(gt,Ao[3],nt),Ii(u,"click",Ut,!0),Ii(u,"click",yt),Ii(gt,"gesturestart",Tr),Ii(gt,"gestureend",kn),Ii(u,du+"enter",$e),Ii(u,du+"leave",Ye),Ii(u,du+"move",Ht),ne.isEnabled=ne.isPressed=ne.isDragging=!1,ye&&ye(ne))},ne.kill=ne.revert=function(){ne.disable();var Fe=dc.indexOf(ne);Fe>=0&&dc.splice(Fe,1),Ra===ne&&(Ra=0)},dc.push(ne),$&&Hf(u)&&(Ra=ne),ne.enable(w)},SF(t,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),t})();vr.version="3.14.2";vr.create=function(t){return new vr(t)};vr.register=jE;vr.getAll=function(){return dc.slice()};vr.getById=function(t){return dc.filter(function(e){return e.vars.id===t})[0]};FE()&&ai.registerPlugin(vr);var Ae,ac,Tt,pn,As,Bt,Q0,Wp,gd,Yf,Af,zh,xi,Sm,Av,zi,sS,oS,lc,$E,hy,BE,Vi,Mv,UE,WE,ul,Dv,Z0,Ec,J0,Kf,Lv,py,jh=1,_i=Date.now,my=_i(),co=0,Mf=0,aS=function(e,n,r){var i=ks(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+n+"Clamp"]=i,i?e.substr(6,e.length-7):e},lS=function(e,n){return n&&(!ks(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},bF=function t(){return Mf&&requestAnimationFrame(t)},uS=function(){return Sm=1},cS=function(){return Sm=0},Qo=function(e){return e},Df=function(e){return Math.round(e*1e5)/1e5||0},HE=function(){return typeof window<"u"},YE=function(){return Ae||HE()&&(Ae=window.gsap)&&Ae.registerPlugin&&Ae},Ru=function(e){return!!~Q0.indexOf(e)},KE=function(e){return(e==="Height"?J0:Tt["inner"+e])||As["client"+e]||Bt["client"+e]},XE=function(e){return Sl(e,"getBoundingClientRect")||(Ru(e)?function(){return gp.width=Tt.innerWidth,gp.height=J0,gp}:function(){return Pa(e)})},EF=function(e,n,r){var i=r.d,o=r.d2,l=r.a;return(l=Sl(e,"getBoundingClientRect"))?function(){return l()[i]}:function(){return(n?KE(o):e["client"+o])||0}},PF=function(e,n){return!n||~sa.indexOf(e)?XE(e):function(){return gp}},ra=function(e,n){var r=n.s,i=n.d2,o=n.d,l=n.a;return Math.max(0,(r="scroll"+i)&&(l=Sl(e,r))?l()-XE(e)()[o]:Ru(e)?(As[r]||Bt[r])-KE(i):e[r]-e["offset"+i])},$h=function(e,n){for(var r=0;r<lc.length;r+=3)(!n||~n.indexOf(lc[r+1]))&&e(lc[r],lc[r+1],lc[r+2])},ks=function(e){return typeof e=="string"},Ti=function(e){return typeof e=="function"},Lf=function(e){return typeof e=="number"},hu=function(e){return typeof e=="object"},Pf=function(e,n,r){return e&&e.progress(n?0:1)&&r&&e.pause()},gy=function(e,n){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return n(e)}):n(e);
vendor: 9,194 bytes, line 9
9r&&r.totalTime&&(e.callbackAnimation=r)}},nc=Math.abs,GE="left",qE="top",ew="right",tw="bottom",Cu="width",bu="height",Xf="Right",Gf="Left",qf="Top",Qf="Bottom",Ar="padding",so="margin",Vc="Width",nw="Height",Vr="px",oo=function(e){return Tt.getComputedStyle(e)},kF=function(e){var n=oo(e).position;e.style.position=n==="absolute"||n==="fixed"?n:"relative"},fS=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},Pa=function(e,n){var r=n&&oo(e)[Av]!=="matrix(1, 0, 0, 1, 0, 0)"&&Ae.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return r&&r.progress(0).kill(),i},Hp=function(e,n){var r=n.d2;return e["offset"+r]||e["client"+r]||0},QE=function(e){var n=[],r=e.labels,i=e.duration(),o;for(o in r)n.push(r[o]/i);return n},RF=function(e){return function(n){return Ae.utils.snap(QE(e),n)}},rw=function(e){var n=Ae.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(i,o){return i-o});return r?function(i,o,l){l===void 0&&(l=.001);var u;if(!o)return n(i);if(o>0){for(i-=l,u=0;u<r.length;u++)if(r[u]>=i)return r[u];return r[u-1]}else for(u=r.length,i+=l;u--;)if(r[u]<=i)return r[u];return r[0]}:function(i,o,l){l===void 0&&(l=.001);var u=n(i);return!o||Math.abs(u-i)<l||u-i<0==o<0?u:n(o<0?i-e:i+e)}},OF=function(e){return function(n,r){return rw(QE(e))(n,r.direction)}},Bh=function(e,n,r,i){return r.split(",").forEach(function(o){return e(n,o,i)})},Qr=function(e,n,r,i,o){return e.addEventListener(n,r,{passive:!i,capture:!!o})},qr=function(e,n,r,i){return e.removeEventListener(n,r,!!i)},Uh=function(e,n,r){r=r&&r.wheelHandler,r&&(e(n,"wheel",r),e(n,"touchmove",r))},dS={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Wh={toggleActions:"play",anticipatePin:0},Yp={top:0,left:0,center:.5,bottom:1,right:1},dp=function(e,n){if(ks(e)){var r=e.indexOf("="),i=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(i*=n/100),e=e.substr(0,r-1)),e=i+(e in Yp?Yp[e]*n:~e.indexOf("%")?parseFloat(e)*n/100:parseFloat(e)||0)}return e},Hh=function(e,n,r,i,o,l,u,f){var d=o.startColor,h=o.endColor,m=o.fontSize,y=o.indent,g=o.fontWeight,_=pn.createElement("div"),w=Ru(r)||Sl(r,"pinType")==="fixed",S=e.indexOf("scroller")!==-1,C=w?Bt:r,b=e.indexOf("start")!==-1,R=b?d:h,P="border-color:"+R+";font-size:"+m+";color:"+R+";font-weight:"+g+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return P+="position:"+((S||f)&&w?"fixed;":"absolute;"),(S||f||!w)&&(P+=(i===jr?ew:tw)+":"+(l+parseFloat(y))+"px;"),u&&(P+="box-sizing:border-box;text-align:left;width:"+u.offsetWidth+"px;"),_._isStart=b,_.setAttribute("class","gsap-marker-"+e+(n?" marker-"+n:"")),_.style.cssText=P,_.innerText=n||n===0?e+"-"+n:e,C.children[0]?C.insertBefore(_,C.children[0]):C.appendChild(_),_._offset=_["offset"+i.op.d2],hp(_,0,i,b),_},hp=function(e,n,r,i){var o={display:"block"},l=r[i?"os2":"p2"],u=r[i?"p2":"os2"];e._isFlipped=i,o[r.a+"Percent"]=i?-100:0,o[r.a]=i?"1px":0,o["border"+l+Vc]=1,o["border"+u+Vc]=0,o[r.p]=n+"px",Ae.set(e,o)},xt=[],Nv={},yd,hS=function(){return _i()-co>34&&(yd||(yd=requestAnimationFrame(Oa)))},rc=function(){(!Vi||!Vi.isPressed||Vi.startX>Bt.clientWidth)&&(Ct.cache++,Vi?yd||(yd=requestAnimationFrame(Oa)):Oa(),co||Au("scrollStart"),co=_i())},yy=function(){WE=Tt.innerWidth,UE=Tt.innerHeight},Nf=function(e){Ct.cache++,(e===!0||!xi&&!BE&&!pn.fullscreenElement&&!pn.webkitFullscreenElement&&(!Mv||WE!==Tt.innerWidth||Math.abs(Tt.innerHeight-UE)>Tt.innerHeight*.25))&&Wp.restart(!0)},Ou={},AF=[],ZE=function t(){return qr(Rt,"scrollEnd",t)||yu(!0)},Au=function(e){return Ou[e]&&Ou[e].map(function(n){return n()})||AF},Ps=[],JE=function(e){for(var n=0;n<Ps.length;n+=5)(!e||Ps[n+4]&&Ps[n+4].query===e)&&(Ps[n].style.cssText=Ps[n+1],Ps[n].getBBox&&Ps[n].setAttribute("transform",Ps[n+2]||""),Ps[n+3].uncache=1)},eP=function(){return Ct.forEach(function(e){return Ti(e)&&++e.cacheID&&(e.rec=e())})},iw=function(e,n){var r;for(zi=0;zi<xt.length;zi++)r=xt[zi],r&&(!n||r._ctx===n)&&(e?r.kill(1):r.revert(!0,!0));Kf=!0,n&&JE(n),n||Au("revert")},tP=function(e,n){Ct.cache++,(n||!ji)&&Ct.forEach(function(r){return Ti(r)&&r.cacheID++&&(r.rec=0)}),ks(e)&&(Tt.history.scrollRestoration=Z0=e)},ji,Eu=0,pS,MF=function(){if(pS!==Eu){var e=pS=Eu;requestAnimationFrame(function(){return e===Eu&&yu(!0)})}},nP=function(){Bt.appendChild(Ec),J0=!Vi&&Ec.offsetHeight||Tt.innerHeight,Bt.removeChild(Ec)},mS=function(e){return gd(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(n){return n.style.display=e?"none":"block"})},yu=function(e,n){if(As=pn.documentElement,Bt=pn.body,Q0=[Tt,pn,As,Bt],co&&!e&&!Kf){Qr(Rt,"scrollEnd",ZE);return}nP(),ji=Rt.isRefreshing=!0,Kf||eP();var r=Au("refreshInit");$E&&Rt.sort(),n||iw(),Ct.forEach(function(i){Ti(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),xt.slice(0).forEach(function(i){return i.refresh()}),Kf=!1,xt.forEach(function(i){if(i._subPinOffset&&i.pin){var o=i.vars.horizontal?"offsetWidth":"offsetHeight",l=i.pin[o];i.revert(!0,1),i.adjustPinSpacing(i.pin[o]-l),i.refresh()}}),Lv=1,mS(!0),xt.forEach(function(i){var o=ra(i.scroller,i._dir),l=i.vars.end==="max"||i._endClamp&&i.end>o,u=i._startClamp&&i.start>=o;(l||u)&&i.setPositions(u?o-1:i.start,l?Math.max(u?o:i.start+1,o):i.end,!0)}),mS(!1),Lv=0,r.forEach(function(i){return i&&i.render&&i.render(-1)}),Ct.forEach(function(i){Ti(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),tP(Z0,1),Wp.pause(),Eu++,ji=2,Oa(2),xt.forEach(function(i){return Ti(i.vars.onRefresh)&&i.vars.onRefresh(i)}),ji=Rt.isRefreshing=!1,Au("refresh")},Iv=0,pp=1,Zf,Oa=function(e){if(e===2||!ji&&!Kf){Rt.isUpdating=!0,Zf&&Zf.update(0);var n=xt.length,r=_i(),i=r-my>=50,o=n&&xt[0].scroll();if(pp=Iv>o?-1:1,ji||(Iv=o),i&&(co&&!Sm&&r-co>200&&(co=0,Au("scrollEnd")),Af=my,my=r),pp<0){for(zi=n;zi-- >0;)xt[zi]&&xt[zi].update(0,i);pp=1}else for(zi=0;zi<n;zi++)xt[zi]&&xt[zi].update(0,i);Rt.isUpdating=!1}yd=0},Fv=[GE,qE,tw,ew,so+Qf,so+Xf,so+qf,so+Gf,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],mp=Fv.concat([Cu,bu,"boxSizing","max"+Vc,"max"+nw,"position",so,Ar,Ar+qf,Ar+Xf,Ar+Qf,Ar+Gf]),DF=function(e,n,r){Pc(r);var i=e._gsap;if(i.spacerIsNative)Pc(i.spacerState);else if(e._gsap.swappedIn){var o=n.parentNode;o&&(o.insertBefore(e,n),o.removeChild(n))}e._gsap.swappedIn=!1},vy=function(e,n,r,i){if(!e._gsap.swappedIn){for(var o=Fv.length,l=n.style,u=e.style,f;o--;)f=Fv[o],l[f]=r[f];l.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(l.display="inline-block"),u[tw]=u[ew]="auto",l.flexBasis=r.flexBasis||"auto",l.overflow="visible",l.boxSizing="border-box",l[Cu]=Hp(e,Ui)+Vr,l[bu]=Hp(e,jr)+Vr,l[Ar]=u[so]=u[qE]=u[GE]="0",Pc(i),u[Cu]=u["max"+Vc]=r[Cu],u[bu]=u["max"+nw]=r[bu],u[Ar]=r[Ar],e.parentNode!==n&&(e.parentNode.insertBefore(n,e),n.appendChild(e)),e._gsap.swappedIn=!0}},LF=/([A-Z])/g,Pc=function(e){if(e){var n=e.t.style,r=e.length,i=0,o,l;for((e.t._gsap||Ae.core.getCache(e.t)).uncache=1;i<r;i+=2)l=e[i+1],o=e[i],l?n[o]=l:n[o]&&n.removeProperty(o.replace(LF,"-$1").toLowerCase())}},Yh=function(e){for(var n=mp.length,r=e.style,i=[],o=0;o<n;o++)i.push(mp[o],r[mp[o]]);return i.t=e,i},NF=function(e,n,r){for(var i=[],o=e.length,l=r?8:0,u;l<o;l+=2)u=e[l],i.push(u,u in n?n[u]:e[l+1]);return i.t=e.t,i},gp={left:0,top:0},gS=function(e,n,r,i,o,l,u,f,d,h,m,y,g,_){Ti(e)&&(e=e(f)),ks(e)&&e.substr(0,3)==="max"&&(e=y+(e.charAt(4)==="="?dp("0"+e.substr(3),r):0));var w=g?g.time():0,S,C,b;if(g&&g.seek(0),isNaN(e)||(e=+e),Lf(e))g&&(e=Ae.utils.mapRange(g.scrollTrigger.start,g.scrollTrigger.end,0,y,e)),u&&hp(u,r,i,!0);else{Ti(n)&&(n=n(f));var R=(e||"0").split(" "),P,O,N,L;b=us(n,f)||Bt,P=Pa(b)||{},(!P||!P.left&&!P.top)&&oo(b).display==="none"&&(L=b.style.display,b.style.display="block",P=Pa(b),L?b.style.display=L:b.style.removeProperty("display")),O=dp(R[0],P[i.d]),N=dp(R[1]||"0",r),e=P[i.p]-d[i.p]-h+O+o-N,u&&hp(u,N,i,r-N<20||u._isStart&&N>20),r-=r-N}if(_&&(f[_]=e||-.001,e<0&&(e=0)),l){var F=e+r,j=l._isStart;S="scroll"+i.d2,hp(l,F,i,j&&F>20||!j&&(m?Math.max(Bt[S],As[S]):l.parentNode[S])<=F+1),m&&(d=Pa(u),m&&(l.style[i.op.p]=d[i.op.p]-i.op.m-l._offset+Vr))}return g&&b&&(S=Pa(b),g.seek(y),C=Pa(b),g._caScrollDist=S[i.p]-C[i.p],e=e/g._caScrollDist*y),g&&g.seek(w),g?e:Math.round(e)},IF=/(webkit|moz|length|cssText|inset)/i,yS=function(e,n,r,i){if(e.parentNode!==n){var o=e.style,l,u;if(n===Bt){e._stOrig=o.cssText,u=oo(e);for(l in u)!+l&&!IF.test(l)&&u[l]&&typeof o[l]=="string"&&l!=="0"&&(o[l]=u[l]);o.top=r,o.left=i}else o.cssText=e._stOrig;Ae.core.getCache(e).uncache=1,n.appendChild(e)}},rP=function(e,n,r){var i=n,o=i;return function(l){var u=Math.round(e());return u!==i&&u!==o&&Math.abs(u-i)>3&&Math.abs(u-o)>3&&(l=u,r&&r()),o=i,i=Math.round(l),i}},Kh=function(e,n,r){var i={};i[n.p]="+="+r,Ae.set(e,i)},vS=function(e,n){var r=kl(e,n),i="_scroll"+n.p2,o=function l(u,f,d,h,m){var y=l.tween,g=f.onComplete,_={};d=d||r();
vendor: 4,176 bytes, line 9
9var w=rP(r,d,function(){y.kill(),l.tween=0});return m=h&&m||0,h=h||u-d,y&&y.kill(),f[i]=u,f.inherit=!1,f.modifiers=_,_[i]=function(){return w(d+h*y.ratio+m*y.ratio*y.ratio)},f.onUpdate=function(){Ct.cache++,l.tween&&Oa()},f.onComplete=function(){l.tween=0,g&&g.call(y)},y=l.tween=Ae.to(e,f),y};return e[i]=r,r.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},Qr(e,"wheel",r.wheelHandler),Rt.isTouch&&Qr(e,"touchmove",r.wheelHandler),o},Rt=(function(){function t(n,r){ac||t.register(Ae)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Dv(this),this.init(n,r)}var e=t.prototype;return e.init=function(r,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Mf){this.update=this.refresh=this.kill=Qo;return}r=fS(ks(r)||Lf(r)||r.nodeType?{trigger:r}:r,Wh);var o=r,l=o.onUpdate,u=o.toggleClass,f=o.id,d=o.onToggle,h=o.onRefresh,m=o.scrub,y=o.trigger,g=o.pin,_=o.pinSpacing,w=o.invalidateOnRefresh,S=o.anticipatePin,C=o.onScrubComplete,b=o.onSnapComplete,R=o.once,P=o.snap,O=o.pinReparent,N=o.pinSpacer,L=o.containerAnimation,F=o.fastScrollEnd,j=o.preventOverlaps,B=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Ui:jr,re=!m&&m!==0,W=us(r.scroller||Tt),ie=Ae.core.getCache(W),ee=Ru(W),me=("pinType"in r?r.pinType:Sl(W,"pinType")||ee&&"fixed")==="fixed",le=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],ae=re&&r.toggleActions.split(" "),$="markers"in r?r.markers:Wh.markers,K=ee?0:parseFloat(oo(W)["border"+B.p2+Vc])||0,D=this,V=r.onRefreshInit&&function(){return r.onRefreshInit(D)},G=EF(W,ee,B),ye=PF(W,ee),pe=0,Ee=0,Ie=0,_e=kl(W,B),Te,ue,Pt,ke,Ze,Ve,je,Fn,Pn,ne,on,ir,Gn,Ge,sr,Vn,Kt,an,Jt,gt,or,ar,zn,Ut,Wt,Ki,qn,_r,lr,$r,Sr,nt,Tr,kn,ln,Xt,Ht,$e,Ye;if(D._startClamp=D._endClamp=!1,D._dir=B,S*=45,D.scroller=W,D.scroll=L?L.time.bind(L):_e,ke=_e(),D.vars=r,i=i||r.animation,"refreshPriority"in r&&($E=1,r.refreshPriority===-9999&&(Zf=D)),ie.tweenScroll=ie.tweenScroll||{top:vS(W,jr),left:vS(W,Ui)},D.tweenTo=Te=ie.tweenScroll[B.p],D.scrubDuration=function(xe){Tr=Lf(xe)&&xe,Tr?nt?nt.duration(xe):nt=Ae.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Tr,paused:!0,onComplete:function(){return C&&C(D)}}):(nt&&nt.progress(1).kill(),nt=0)},i&&(i.vars.lazy=!1,i._initted&&!D.isReverted||i.vars.immediateRender!==!1&&r.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),D.animation=i.pause(),i.scrollTrigger=D,D.scrubDuration(m),$r=0,f||(f=i.vars.id)),P&&((!hu(P)||P.push)&&(P={snapTo:P}),"scrollBehavior"in Bt.style&&Ae.set(ee?[Bt,As]:W,{scrollBehavior:"auto"}),Ct.forEach(function(xe){return Ti(xe)&&xe.target===(ee?pn.scrollingElement||As:W)&&(xe.smooth=!1)}),Pt=Ti(P.snapTo)?P.snapTo:P.snapTo==="labels"?RF(i):P.snapTo==="labelsDirectional"?OF(i):P.directional!==!1?function(xe,Me){return rw(P.snapTo)(xe,_i()-Ee<500?0:Me.direction)}:Ae.utils.snap(P.snapTo),kn=P.duration||{min:.1,max:2},kn=hu(kn)?Yf(kn.min,kn.max):Yf(kn,kn),ln=Ae.delayedCall(P.delay||Tr/2||.1,function(){var xe=_e(),Me=_i()-Ee<500,Ce=Te.tween;if((Me||Math.abs(D.getVelocity())<10)&&!Ce&&!Sm&&pe!==xe){var Ue=(xe-Ve)/Ge,un=i&&!re?i.totalProgress():Ue,dt=Me?0:(un-Sr)/(_i()-Af)*1e3||0,At=Ae.utils.clamp(-Ue,1-Ue,nc(dt/2)*dt/.185),ur=Ue+(P.inertia===!1?0:At),en,Gt,bt=P,gn=bt.onStart,Vt=bt.onInterrupt,Yt=bt.onComplete;if(en=Pt(ur,D),Lf(en)||(en=ur),Gt=Math.max(0,Math.round(Ve+en*Ge)),xe<=je&&xe>=Ve&&Gt!==xe){if(Ce&&!Ce._initted&&Ce.data<=nc(Gt-xe))return;P.inertia===!1&&(At=en-Ue),Te(Gt,{duration:kn(nc(Math.max(nc(ur-un),nc(en-un))*.185/dt/.05||0)),ease:P.ease||"power3",data:nc(Gt-xe),onInterrupt:function(){return ln.restart(!0)&&Vt&&Vt(D)},onComplete:function(){D.update(),pe=_e(),i&&!re&&(nt?nt.resetTo("totalProgress",en,i._tTime/i._tDur):i.progress(en)),$r=Sr=i&&!re?i.totalProgress():D.progress,b&&b(D),Yt&&Yt(D)}},xe,At*Ge,Gt-xe-At*Ge),gn&&gn(D,Te.tween)}}else D.isActive&&pe!==xe&&ln.restart(!0)}).pause()),f&&(Nv[f]=D),y=D.trigger=us(y||g!==!0&&g),Ye=y&&y._gsap&&y._gsap.stRevert,Ye&&(Ye=Ye(D)),g=g===!0?y:us(g),ks(u)&&(u={targets:y,className:u}),g&&(_===!1||_===so||(_=!_&&g.parentNode&&g.parentNode.style&&oo(g.parentNode).display==="flex"?!1:Ar),D.pin=g,ue=Ae.core.getCache(g),ue.spacer?sr=ue.pinState:(N&&(N=us(N),N&&!N.nodeType&&(N=N.
vendor: 4,894 bytes, line 9
9current||N.nativeElement),ue.spacerIsNative=!!N,N&&(ue.spacerState=Yh(N))),ue.spacer=an=N||pn.createElement("div"),an.classList.add("pin-spacer"),f&&an.classList.add("pin-spacer-"+f),ue.pinState=sr=Yh(g)),r.force3D!==!1&&Ae.set(g,{force3D:!0}),D.spacer=an=ue.spacer,lr=oo(g),Ut=lr[_+B.os2],gt=Ae.getProperty(g),or=Ae.quickSetter(g,B.a,Vr),vy(g,an,lr),Kt=Yh(g)),$){ir=hu($)?fS($,dS):dS,ne=Hh("scroller-start",f,W,B,ir,0),on=Hh("scroller-end",f,W,B,ir,0,ne),Jt=ne["offset"+B.op.d2];var yt=us(Sl(W,"content")||W);Fn=this.markerStart=Hh("start",f,yt,B,ir,Jt,0,L),Pn=this.markerEnd=Hh("end",f,yt,B,ir,Jt,0,L),L&&($e=Ae.quickSetter([Fn,Pn],B.a,Vr)),!me&&!(sa.length&&Sl(W,"fixedMarkers")===!0)&&(kF(ee?Bt:W),Ae.set([ne,on],{force3D:!0}),Ki=Ae.quickSetter(ne,B.a,Vr),_r=Ae.quickSetter(on,B.a,Vr))}if(L){var Fe=L.vars.onUpdate,Re=L.vars.onUpdateParams;L.eventCallback("onUpdate",function(){D.update(0,0,1),Fe&&Fe.apply(L,Re||[])})}if(D.previous=function(){return xt[xt.indexOf(D)-1]},D.next=function(){return xt[xt.indexOf(D)+1]},D.revert=function(xe,Me){if(!Me)return D.kill(!0);var Ce=xe!==!1||!D.enabled,Ue=xi;Ce!==D.isReverted&&(Ce&&(Xt=Math.max(_e(),D.scroll.rec||0),Ie=D.progress,Ht=i&&i.progress()),Fn&&[Fn,Pn,ne,on].forEach(function(un){return un.style.display=Ce?"none":"block"}),Ce&&(xi=D,D.update(Ce)),g&&(!O||!D.isActive)&&(Ce?DF(g,an,sr):vy(g,an,oo(g),Wt)),Ce||D.update(Ce),xi=Ue,D.isReverted=Ce)},D.refresh=function(xe,Me,Ce,Ue){if(!((xi||!D.enabled)&&!Me)){if(g&&xe&&co){Qr(t,"scrollEnd",ZE);return}!ji&&V&&V(D),xi=D,Te.tween&&!Ce&&(Te.tween.kill(),Te.tween=0),nt&&nt.pause(),w&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren?i.getChildren(!0,!0,!1).forEach(function(ci){return ci.vars.immediateRender&&ci.render(0,!0,!0)}):i.vars.immediateRender&&i.render(0,!0,!0)),D.isReverted||D.revert(!0,!0),D._subPinOffset=!1;var un=G(),dt=ye(),At=L?L.duration():ra(W,B),ur=Ge<=.01||!Ge,en=0,Gt=Ue||0,bt=hu(Ce)?Ce.end:r.end,gn=r.endTrigger||y,Vt=hu(Ce)?Ce.start:r.start||(r.start===0||!y?0:g?"0 0":"0 100%"),Yt=D.pinnedContainer=r.pinnedContainer&&us(r.pinnedContainer,D),jt=y&&Math.max(0,xt.indexOf(D))||0,cn=jt,qt,yn,ys,vs,ht,Rn,Br,jo,Ei,Pi,Lr,ui,cr;for($&&hu(Ce)&&(ui=Ae.getProperty(ne,B.p),cr=Ae.getProperty(on,B.p));cn-- >0;)Rn=xt[cn],Rn.end||Rn.refresh(0,1)||(xi=D),Br=Rn.pin,Br&&(Br===y||Br===g||Br===Yt)&&!Rn.isReverted&&(Pi||(Pi=[]),Pi.unshift(Rn),Rn.revert(!0,!0)),Rn!==xt[cn]&&(jt--,cn--);for(Ti(Vt)&&(Vt=Vt(D)),Vt=aS(Vt,"start",D),Ve=gS(Vt,y,un,B,_e(),Fn,ne,D,dt,K,me,At,L,D._startClamp&&"_startClamp")||(g?-.001:0),Ti(bt)&&(bt=bt(D)),ks(bt)&&!bt.indexOf("+=")&&(~bt.indexOf(" ")?bt=(ks(Vt)?Vt.split(" ")[0]:"")+bt:(en=dp(bt.substr(2),un),bt=ks(Vt)?Vt:(L?Ae.utils.mapRange(0,L.duration(),L.scrollTrigger.start,L.scrollTrigger.end,Ve):Ve)+en,gn=y)),bt=aS(bt,"end",D),je=Math.max(Ve,gS(bt||(gn?"100% 0":At),gn,un,B,_e()+en,Pn,on,D,dt,K,me,At,L,D._endClamp&&"_endClamp"))||-.001,en=0,cn=jt;cn--;)Rn=xt[cn]||{},Br=Rn.pin,Br&&Rn.start-Rn._pinPush<=Ve&&!L&&Rn.end>0&&(qt=Rn.end-(D._startClamp?Math.max(0,Rn.start):Rn.start),(Br===y&&Rn.start-Rn._pinPush<Ve||Br===Yt)&&isNaN(Vt)&&(en+=qt*(1-Rn.progress)),Br===g&&(Gt+=qt));if(Ve+=en,je+=en,D._startClamp&&(D._startClamp+=en),D._endClamp&&!ji&&(D._endClamp=je||-.001,je=Math.min(je,ra(W,B))),Ge=je-Ve||(Ve-=.01)&&.001,ur&&(Ie=Ae.utils.clamp(0,1,Ae.utils.normalize(Ve,je,Xt))),D._pinPush=Gt,Fn&&en&&(qt={},qt[B.a]="+="+en,Yt&&(qt[B.p]="-="+_e()),Ae.set([Fn,Pn],qt)),g&&!(Lv&&D.end>=ra(W,B)))qt=oo(g),vs=B===jr,ys=_e(),ar=parseFloat(gt(B.a))+Gt,!At&&je>1&&(Lr=(ee?pn.scrollingElement||As:W).style,Lr={style:Lr,value:Lr["overflow"+B.a.toUpperCase()]},ee&&oo(Bt)["overflow"+B.a.toUpperCase()]!=="scroll"&&(Lr.style["overflow"+B.a.toUpperCase()]="scroll")),vy(g,an,qt),Kt=Yh(g),yn=Pa(g,!0),jo=me&&kl(W,vs?Ui:jr)(),_?(Wt=[_+B.os2,Ge+Gt+Vr],Wt.t=an,cn=_===Ar?Hp(g,B)+Ge+Gt:0,cn&&(Wt.push(B.d,cn+Vr),an.style.flexBasis!=="auto"&&(an.style.flexBasis=cn+Vr)),Pc(Wt),Yt&&xt.forEach(function(ci){ci.pin===Yt&&ci.vars.pinSpacing!==!1&&(ci._subPinOffset=!0)}),me&&_e(Xt)):(cn=Hp(g,B),cn&&an.style.flexBasis!=="auto"&&(an.style.flexBasis=cn+Vr)),me&&(ht={top:yn.top+(vs?ys-Ve:jo)+Vr,left:yn.left+(vs?jo:ys-Ve)+Vr,boxSizing:"border-box",position:"fixed"},ht[Cu]=ht["max"+Vc]=Math.ceil(yn.width)+Vr,ht[bu]=ht["max"+nw]=Math.ceil(yn.height)+Vr,ht[so]=ht[so+qf]=ht[so+Xf]=ht[so+Qf]=ht[so+Gf]="0",ht[Ar]=qt[Ar],ht[Ar+qf]=qt[Ar+qf],ht[Ar+Xf]=qt[Ar+Xf],ht[Ar+Qf]=qt[Ar+Qf],ht[Ar+Gf]=qt[Ar+Gf],Vn=NF(sr,ht,O),ji&&_e(0)),i?(Ei=i._initted,hy(1),i.render(i.duration(),!0,!0),zn=gt(B.a)-ar+Ge+Gt,qn=Math.abs(Ge-zn)>1,me&&qn&&Vn.splice(Vn.length-2,2),i.render(0,!0,!0),Ei||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),hy(0)):zn=Ge,Lr&&(Lr.value?Lr.style["overflow"+B.a.toUpperCase()]=Lr.value:Lr.style.removeProperty("overflow-"+B.a));else if(y&&_e()&&!L)for(yn=y.parentNode;yn&&yn!==Bt;)yn._pinOffset&&(Ve-=yn._pinOffset,je-=yn._pinOffset),yn=yn.parentNode;
vendor: 11,616 bytes, line 9
9Pi&&Pi.forEach(function(ci){return ci.revert(!1,!0)}),D.start=Ve,D.end=je,ke=Ze=ji?Xt:_e(),!L&&!ji&&(ke<Xt&&_e(Xt),D.scroll.rec=0),D.revert(!1,!0),Ee=_i(),ln&&(pe=-1,ln.restart(!0)),xi=0,i&&re&&(i._initted||Ht)&&i.progress()!==Ht&&i.progress(Ht||0,!0).render(i.time(),!0,!0),(ur||Ie!==D.progress||L||w||i&&!i._initted)&&(i&&!re&&(i._initted||Ie||i.vars.immediateRender!==!1)&&i.totalProgress(L&&Ve<-.001&&!Ie?Ae.utils.normalize(Ve,je,0):Ie,!0),D.progress=ur||(ke-Ve)/Ge===Ie?0:Ie),g&&_&&(an._pinOffset=Math.round(D.progress*zn)),nt&&nt.invalidate(),isNaN(ui)||(ui-=Ae.getProperty(ne,B.p),cr-=Ae.getProperty(on,B.p),Kh(ne,B,ui),Kh(Fn,B,ui-(Ue||0)),Kh(on,B,cr),Kh(Pn,B,cr-(Ue||0))),ur&&!ji&&D.update(),h&&!ji&&!Gn&&(Gn=!0,h(D),Gn=!1)}},D.getVelocity=function(){return(_e()-Ze)/(_i()-Af)*1e3||0},D.endAnimation=function(){Pf(D.callbackAnimation),i&&(nt?nt.progress(1):i.paused()?re||Pf(i,D.direction<0,1):Pf(i,i.reversed()))},D.labelToScroll=function(xe){return i&&i.labels&&(Ve||D.refresh()||Ve)+i.labels[xe]/i.duration()*Ge||0},D.getTrailing=function(xe){var Me=xt.indexOf(D),Ce=D.direction>0?xt.slice(0,Me).reverse():xt.slice(Me+1);return(ks(xe)?Ce.filter(function(Ue){return Ue.vars.preventOverlaps===xe}):Ce).filter(function(Ue){return D.direction>0?Ue.end<=Ve:Ue.start>=je})},D.update=function(xe,Me,Ce){if(!(L&&!Ce&&!xe)){var Ue=ji===!0?Xt:D.scroll(),un=xe?0:(Ue-Ve)/Ge,dt=un<0?0:un>1?1:un||0,At=D.progress,ur,en,Gt,bt,gn,Vt,Yt,jt;if(Me&&(Ze=ke,ke=L?_e():Ue,P&&(Sr=$r,$r=i&&!re?i.totalProgress():dt)),S&&g&&!xi&&!jh&&co&&(!dt&&Ve<Ue+(Ue-Ze)/(_i()-Af)*S?dt=1e-4:dt===1&&je>Ue+(Ue-Ze)/(_i()-Af)*S&&(dt=.9999)),dt!==At&&D.enabled){if(ur=D.isActive=!!dt&&dt<1,en=!!At&&At<1,Vt=ur!==en,gn=Vt||!!dt!=!!At,D.direction=dt>At?1:-1,D.progress=dt,gn&&!xi&&(Gt=dt&&!At?0:dt===1?1:At===1?2:3,re&&(bt=!Vt&&ae[Gt+1]!=="none"&&ae[Gt+1]||ae[Gt],jt=i&&(bt==="complete"||bt==="reset"||bt in i))),j&&(Vt||jt)&&(jt||m||!i)&&(Ti(j)?j(D):D.getTrailing(j).forEach(function(ys){return ys.endAnimation()})),re||(nt&&!xi&&!jh?(nt._dp._time-nt._start!==nt._time&&nt.render(nt._dp._time-nt._start),nt.resetTo?nt.resetTo("totalProgress",dt,i._tTime/i._tDur):(nt.vars.totalProgress=dt,nt.invalidate().restart())):i&&i.totalProgress(dt,!!(xi&&(Ee||xe)))),g){if(xe&&_&&(an.style[_+B.os2]=Ut),!me)or(Df(ar+zn*dt));else if(gn){if(Yt=!xe&&dt>At&&je+1>Ue&&Ue+1>=ra(W,B),O)if(!xe&&(ur||Yt)){var cn=Pa(g,!0),qt=Ue-Ve;yS(g,Bt,cn.top+(B===jr?qt:0)+Vr,cn.left+(B===jr?0:qt)+Vr)}else yS(g,an);Pc(ur||Yt?Vn:Kt),qn&&dt<1&&ur||or(ar+(dt===1&&!Yt?zn:0))}}P&&!Te.tween&&!xi&&!jh&&ln.restart(!0),u&&(Vt||R&&dt&&(dt<1||!py))&&gd(u.targets).forEach(function(ys){return ys.classList[ur||R?"add":"remove"](u.className)}),l&&!re&&!xe&&l(D),gn&&!xi?(re&&(jt&&(bt==="complete"?i.pause().totalProgress(1):bt==="reset"?i.restart(!0).pause():bt==="restart"?i.restart(!0):i[bt]()),l&&l(D)),(Vt||!py)&&(d&&Vt&&gy(D,d),le[Gt]&&gy(D,le[Gt]),R&&(dt===1?D.kill(!1,1):le[Gt]=0),Vt||(Gt=dt===1?1:3,le[Gt]&&gy(D,le[Gt]))),F&&!ur&&Math.abs(D.getVelocity())>(Lf(F)?F:2500)&&(Pf(D.callbackAnimation),nt?nt.progress(1):Pf(i,bt==="reverse"?1:!dt,1))):re&&l&&!xi&&l(D)}if(_r){var yn=L?Ue/L.duration()*(L._caScrollDist||0):Ue;Ki(yn+(ne._isFlipped?1:0)),_r(yn)}$e&&$e(-Ue/L.duration()*(L._caScrollDist||0))}},D.enable=function(xe,Me){D.enabled||(D.enabled=!0,Qr(W,"resize",Nf),ee||Qr(W,"scroll",rc),V&&Qr(t,"refreshInit",V),xe!==!1&&(D.progress=Ie=0,ke=Ze=pe=_e()),Me!==!1&&D.refresh())},D.getTween=function(xe){return xe&&Te?Te.tween:nt},D.setPositions=function(xe,Me,Ce,Ue){if(L){var un=L.scrollTrigger,dt=L.duration(),At=un.end-un.start;xe=un.start+At*xe/dt,Me=un.start+At*Me/dt}D.refresh(!1,!1,{start:lS(xe,Ce&&!!D._startClamp),end:lS(Me,Ce&&!!D._endClamp)},Ue),D.update()},D.adjustPinSpacing=function(xe){if(Wt&&xe){var Me=Wt.indexOf(B.d)+1;Wt[Me]=parseFloat(Wt[Me])+xe+Vr,Wt[1]=parseFloat(Wt[1])+xe+Vr,Pc(Wt)}},D.disable=function(xe,Me){if(xe!==!1&&D.revert(!0,!0),D.enabled&&(D.enabled=D.isActive=!1,Me||nt&&nt.pause(),Xt=0,ue&&(ue.uncache=1),V&&qr(t,"refreshInit",V),ln&&(ln.pause(),Te.tween&&Te.tween.kill()&&(Te.tween=0)),!ee)){for(var Ce=xt.length;Ce--;)if(xt[Ce].scroller===W&&xt[Ce]!==D)return;qr(W,"resize",Nf),ee||qr(W,"scroll",rc)}},D.kill=function(xe,Me){D.disable(xe,Me),nt&&!Me&&nt.kill(),f&&delete Nv[f];var Ce=xt.indexOf(D);Ce>=0&&xt.splice(Ce,1),Ce===zi&&pp>0&&zi--,Ce=0,xt.forEach(function(Ue){return Ue.scroller===D.scroller&&(Ce=1)}),Ce||ji||(D.scroll.rec=0),i&&(i.scrollTrigger=null,xe&&i.revert({kill:!1}),Me||i.kill()),Fn&&[Fn,Pn,ne,on].forEach(function(Ue){return Ue.parentNode&&Ue.parentNode.removeChild(Ue)}),Zf===D&&(Zf=0),g&&(ue&&(ue.uncache=1),Ce=0,xt.forEach(function(Ue){return Ue.pin===g&&Ce++}),Ce||(ue.spacer=0)),r.onKill&&r.onKill(D)},xt.push(D),D.enable(!1,!1),Ye&&Ye(D),i&&i.add&&!Ge){var rt=D.update;D.update=function(){D.update=rt,Ct.cache++,Ve||je||D.refresh()},Ae.delayedCall(.01,D.update),Ge=.01,Ve=je=0}else D.refresh();g&&MF()},t.register=function(r){return ac||(Ae=r||YE(),HE()&&window.document&&t.enable(),ac=Mf),ac},t.defaults=function(r){if(r)for(var i in r)Wh[i]=r[i];return Wh},t.disable=function(r,i){Mf=0,xt.forEach(function(l){return l[i?"kill":"disable"](r)}),qr(Tt,"wheel",rc),qr(pn,"scroll",rc),clearInterval(zh),qr(pn,"touchcancel",Qo),qr(Bt,"touchstart",Qo),Bh(qr,pn,"pointerdown,touchstart,mousedown",uS),Bh(qr,pn,"pointerup,touchend,mouseup",cS),Wp.kill(),$h(qr);for(var o=0;o<Ct.length;o+=3)Uh(qr,Ct[o],Ct[o+1]),Uh(qr,Ct[o],Ct[o+2])},t.enable=function(){if(Tt=window,pn=document,As=pn.documentElement,Bt=pn.body,Ae&&(gd=Ae.utils.toArray,Yf=Ae.utils.clamp,Dv=Ae.core.context||Qo,hy=Ae.core.suppressOverwrites||Qo,Z0=Tt.history.scrollRestoration||"auto",Iv=Tt.pageYOffset||0,Ae.core.globals("ScrollTrigger",t),Bt)){Mf=1,Ec=document.createElement("div"),Ec.style.height="100vh",Ec.style.position="absolute",nP(),bF(),vr.register(Ae),t.isTouch=vr.isTouch,ul=vr.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Mv=vr.isTouch===1,Qr(Tt,"wheel",rc),Q0=[Tt,pn,As,Bt],Ae.matchMedia?(t.matchMedia=function(d){var h=Ae.matchMedia(),m;for(m in d)h.add(m,d[m]);return h},Ae.addEventListener("matchMediaInit",function(){eP(),iw()}),Ae.addEventListener("matchMediaRevert",function(){return JE()}),Ae.addEventListener("matchMedia",function(){yu(0,1),Au("matchMedia")}),Ae.matchMedia().add("(orientation: portrait)",function(){return yy(),yy})):console.warn("Requires GSAP 3.11.0 or later"),yy(),Qr(pn,"scroll",rc);var r=Bt.hasAttribute("style"),i=Bt.style,o=i.borderTopStyle,l=Ae.core.Animation.prototype,u,f;for(l.revert||Object.defineProperty(l,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",u=Pa(Bt),jr.m=Math.round(u.top+jr.sc())||0,Ui.m=Math.round(u.left+Ui.sc())||0,o?i.borderTopStyle=o:i.removeProperty("border-top-style"),r||(Bt.setAttribute("style",""),Bt.removeAttribute("style")),zh=setInterval(hS,250),Ae.delayedCall(.5,function(){return jh=0}),Qr(pn,"touchcancel",Qo),Qr(Bt,"touchstart",Qo),Bh(Qr,pn,"pointerdown,touchstart,mousedown",uS),Bh(Qr,pn,"pointerup,touchend,mouseup",cS),Av=Ae.utils.checkPrefix("transform"),mp.push(Av),ac=_i(),Wp=Ae.delayedCall(.2,yu).pause(),lc=[pn,"visibilitychange",function(){var d=Tt.innerWidth,h=Tt.innerHeight;pn.hidden?(sS=d,oS=h):(sS!==d||oS!==h)&&Nf()},pn,"DOMContentLoaded",yu,Tt,"load",yu,Tt,"resize",Nf],$h(Qr),xt.forEach(function(d){return d.enable(0,1)}),f=0;f<Ct.length;f+=3)Uh(qr,Ct[f],Ct[f+1]),Uh(qr,Ct[f],Ct[f+2])}},t.config=function(r){"limitCallbacks"in r&&(py=!!r.limitCallbacks);var i=r.syncInterval;i&&clearInterval(zh)||(zh=i)&&setInterval(hS,i),"ignoreMobileResize"in r&&(Mv=t.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&($h(qr)||$h(Qr,r.autoRefreshEvents||"none"),BE=(r.autoRefreshEvents+"").indexOf("resize")===-1)},t.scrollerProxy=function(r,i){var o=us(r),l=Ct.indexOf(o),u=Ru(o);~l&&Ct.splice(l,u?6:2),i&&(u?sa.unshift(Tt,i,Bt,i,As,i):sa.unshift(o,i))},t.clearMatchMedia=function(r){xt.forEach(function(i){return i._ctx&&i._ctx.query===r&&i._ctx.kill(!0,!0)})},t.isInViewport=function(r,i,o){var l=(ks(r)?us(r):r).getBoundingClientRect(),u=l[o?Cu:bu]*i||0;return o?l.right-u>0&&l.left+u<Tt.innerWidth:l.bottom-u>0&&l.top+u<Tt.innerHeight},t.positionInViewport=function(r,i,o){ks(r)&&(r=us(r));var l=r.getBoundingClientRect(),u=l[o?Cu:bu],f=i==null?u/2:i in Yp?Yp[i]*u:~i.indexOf("%")?parseFloat(i)*u/100:parseFloat(i)||0;return o?(l.left+f)/Tt.innerWidth:(l.top+f)/Tt.innerHeight},t.killAll=function(r){if(xt.slice(0).forEach(function(o){return o.vars.id!=="ScrollSmoother"&&o.kill()}),r!==!0){var i=Ou.killAll||[];Ou={},i.forEach(function(o){return o()})}},t})();Rt.version="3.14.2";Rt.saveStyles=function(t){return t?gd(t).forEach(function(e){if(e&&e.style){var n=Ps.indexOf(e);n>=0&&Ps.splice(n,5),Ps.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),Ae.core.getCache(e),Dv())}}):Ps};Rt.revert=function(t,e){return iw(!t,e)};Rt.create=function(t,e){return new Rt(t,e)};Rt.refresh=function(t){return t?Nf(!0):(ac||Rt.register())&&yu(!0)};Rt.update=function(t){return++Ct.cache&&Oa(t===!0?2:0)};Rt.clearScrollMemory=tP;Rt.maxScroll=function(t,e){return ra(t,e?Ui:jr)};Rt.getScrollFunc=function(t,e){return kl(us(t),e?Ui:jr)};Rt.getById=function(t){return Nv[t]};Rt.getAll=function(){return xt.filter(function(t){return t.vars.id!=="ScrollSmoother"})};Rt.isScrolling=function(){return!!co};Rt.snapDirectional=rw;Rt.addEventListener=function(t,e){var n=Ou[t]||(Ou[t]=[]);~n.indexOf(e)||n.push(e)};Rt.removeEventListener=function(t,e){var n=Ou[t],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)};Rt.batch=function(t,e){var n=[],r={},i=e.interval||.016,o=e.batchMax||1e9,l=function(d,h){var m=[],y=[],g=Ae.delayedCall(i,function(){h(m,y),m=[],y=[]}).pause();return function(_){m.length||g.restart(!0),m.push(_.trigger),y.push(_),o<=m.length&&g.progress(1)}},u;for(u in e)r[u]=u.substr(0,2)==="on"&&Ti(e[u])&&u!=="onRefreshInit"?l(u,e[u]):e[u];return Ti(o)&&(o=o(),Qr(Rt,"refresh",function(){return o=e.batchMax()})),gd(t).forEach(function(f){var d={};for(u in r)d[u]=r[u];d.trigger=f,n.push(Rt.create(d))}),n};var wS=function(e,n,r,i){return n>i?e(i):n<0&&e(0),r>i?(i-n)/(r-n):r<0?n/(n-r):1},wy=function t(e,n){n===!0?e.style.removeProperty("touch-action"):e.style.touchAction=n===!0?"auto":n?"pan-"+n+(vr.isTouch?" pinch-zoom":""):"none",e===As&&t(Bt,n)},Xh={auto:1,scroll:1},FF=function(e){var n=e.event,r=e.target,i=e.axis,o=(n.changedTouches?n.changedTouches[0]:n).target,l=o._gsap||Ae.core.getCache(o),u=_i(),f;if(!l._isScrollT||u-l._isScrollT>2e3){for(;o&&o!==Bt&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(Xh[(f=oo(o)).overflowY]||Xh[f.overflowX]));)o=o.parentNode;l._isScroll=o&&o!==r&&!Ru(o)&&(Xh[(f=oo(o)).overflowY]||Xh[f.overflowX]),l._isScrollT=u}(l._isScroll||i==="x")&&(n.stopPropagation(),n._gsapAllow=!0)},iP=function(e,n,r,i){return vr.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:n,onWheel:i=i&&FF,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&Qr(pn,vr.eventTypes[0],_S,!1,!0)},onDisable:function(){return qr(pn,vr.eventTypes[0],_S,!0)}})},VF=/(input|label|select|textarea)/i,xS,_S=function(e){var n=VF.test(e.target.tagName);(n||xS)&&(e._gsapAllow=!0,xS=n)},zF=function(e){hu(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var n=e,r=n.normalizeScrollX,i=n.momentum,o=n.allowNestedScroll,l=n.onRelease,u,f,d=us(e.target)||As,h=Ae.core.globals().ScrollSmoother,m=h&&h.get(),y=ul&&(e.content&&us(e.content)||m&&e.content!==!1&&!m.smooth()&&m.content()),g=kl(d,jr),_=kl(d,Ui),w=1,S=(vr.isTouch&&Tt.visualViewport?Tt.visualViewport.scale*Tt.visualVie
vendor: 1,057 bytes, line 9
9wport.width:Tt.outerWidth)/Tt.innerWidth,C=0,b=Ti(i)?function(){return i(u)}:function(){return i||2.8},R,P,O=iP(d,e.type,!0,o),N=function(){return P=!1},L=Qo,F=Qo,j=function(){f=ra(d,jr),F=Yf(ul?1:0,f),r&&(L=Yf(0,ra(d,Ui))),R=Eu},B=function(){y._gsap.y=Df(parseFloat(y._gsap.y)+g.offset)+"px",y.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(y._gsap.y)+", 0, 1)",g.offset=g.cacheID=0},re=function(){if(P){requestAnimationFrame(N);var $=Df(u.deltaY/2),K=F(g.v-$);if(y&&K!==g.v+g.offset){g.offset=K-g.v;var D=Df((parseFloat(y&&y._gsap.y)||0)-g.offset);y.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+D+", 0, 1)",y._gsap.y=D+"px",g.cacheID=Ct.cache,Oa()}return!0}g.offset&&B(),P=!0},W,ie,ee,me,le=function(){j(),W.isActive()&&W.vars.scrollY>f&&(g()>f?W.progress(1)&&g(f):W.resetTo("scrollY",f))};return y&&Ae.set(y,{y:"+=0"}),e.ignoreCheck=function(ae){return ul&&ae.type==="touchmove"&&re()||w>1.05&&ae.type!=="touchstart"||u.isGesturing||ae.touches&&ae.touches.length>1},e.onPress=function(){P=!1;var ae=w;
9w=Df((Tt.visualViewport&&Tt.visualViewport.scale||1)/S),W.pause(),ae!==w&&wy(d,w>1.01?!0:r?!1:"x"),ie=_(),ee=g(),j(),R=Eu},e.onRelease=e.onGestureStart=function(ae,$){if(g.offset&&B(),!$)me.restart(!0);else{Ct.cache++;var K=b(),D,V;r&&(D=_(),V=D+K*.05*-ae.velocityX/.227,K*=wS(_,D,V,ra(d,Ui)),W.vars.scrollX=L(V)),D=g(),V=D+K*.05*-ae.velocityY/.227,K*=wS(g,D,V,ra(d,jr)),W.vars.scrollY=F(V),W.invalidate().duration(K).play(.01),(ul&&W.vars.scrollY>=f||D>=f-1)&&Ae.to({},{onUpdate:le,duration:K})}l&&l(ae)},e.onWheel=function(){W._ts&&W.pause(),_i()-C>1e3&&(R=0,C=_i())},e.onChange=function(ae,$,K,D,V){if(Eu!==R&&j(),$&&r&&_(L(D[2]===$?ie+(ae.startX-ae.x):_()+$-D[1])),K){g.offset&&B();var G=V[2]===K,ye=G?ee+ae.startY-ae.y:g()+K-V[1],pe=F(ye);G&&ye!==pe&&(ee+=pe-ye),g(pe)}(K||$)&&Oa()},e.onEnable=function(){wy(d,r?!1:"x"),Rt.addEventListener("refresh",le),Qr(Tt,"resize",le),g.smooth&&(g.target.style.scrollBehavior="auto",g.smooth=_.smooth=!1),O.enable()},e.onDisable=function(){wy(d,!0),qr(Tt,"resize",le),Rt.removeEventListener("refresh",le),O.kill()},e.lockAxis=e.lockAxis!==!1,u=new vr(e),u.iOS=ul,ul&&!g()&&g(1),ul&&Ae.ticker.add(Qo),me=u._dc,W=Ae.to(u,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:rP(g,g(),function(){return W.pause()})},onUpdate:Oa,onComplete:me.vars.onComplete}),u};Rt.sort=function(t){if(Ti(t))return xt.sort(t);var e=Tt.pageYOffset||0;return Rt.getAll().forEach(function(n){return n._sortY=n.trigger?e+n.trigger.getBoundingClientRect().top:n.start+Tt.innerHeight}),xt.sort(t||function(n,r){return(n.vars.refreshPriority||0)*-1e6+(n.vars.containerAnimation?1e6:n._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};Rt.observe=function(t){return new vr(t)};Rt.normalizeScroll=function(t){if(typeof t>"u")return Vi;if(t===!0&&Vi)return Vi.enable();if(t===!1){Vi&&Vi.kill(),Vi=t;return}var e=t instanceof vr?t:zF(t);return Vi&&Vi.target===e.target&&Vi.kill(),Ru(e.target)&&(Vi=e),e};Rt.core={_getVelocityProp:Ov,_inputObserver:iP,_scrollers:Ct,_proxies:sa,bridge:{ss:function(){co||Au("scrollStart"),co=_i()},ref:function(){return xi}}};YE()&&Ae.registerPlugin(Rt);var SS="1.3.18";function sP(t,e,n){return Math.max(t,Math.min(e,n))}function jF(t,e,n){return(1-n)*t+n*e}function $F(t,e,n,r){return jF(t,e,1-Math.exp(-n*r))}function BF(t,e){return(t%e+e)%e}var UF=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(t){if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;const n=sP(0,this.currentTime/this.duration,1);e=n>=1;const r=e?1:this.easing(n);this.value=this.from+(this.to-this.from)*r}else this.lerp?(this.value=$F(this.value,this.to,this.lerp*60,t),Math.round(this.value)===this.to&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),this.onUpdate?.(this.value,e)}stop(){this.isRunning=!1}fromTo(t,e,{lerp:n,duration:r,easing:i,onStart:o,onUpdate:l}){this.from=this.value=t,this.to=e,this.lerp=n,this.duration=r,this.easing=i,this.currentTime=0,this.isRunning=!0,o?.(),this.onUpdate=l}};function WF(t,e){let n;return function(...r){clearTimeout(n),n=setTimeout(()=>{n=void 0,t.apply(this,r)},e)}}var HF=class{constructor(t,e,{autoResize:n=!0,debounce:r=250}={}){this.wrapper=t,this.content=e,n&&(this.debouncedResize=WF(this.resize,r),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},oP=class{events={};emit(t,...e){const n=this.events[t]||[];for(let r=0,i=n.length;r<i;r++)n[r]?.(...e)}on(t,e){return this.events[t]?this.events[t].push(e):this.events[t]=[e],()=>{this.events[t]=this.events[t]?.filter(n=>e!==n)}}off(t,e){this.events[t]=this.events[t]?.filter(n=>e!==n)}destroy(){this.events={}}},YF=100/6,ll={passive:!1};function TS(t,e){return t===1?YF:t===2?e:1}var KF=class{constructor(t,e={wheelMultiplier:1,touchMultiplier:1}){this.element=t,this.options=e,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,ll),this.element.addEventListener("touchstart",this.onTouchStart,ll),this.element.addEventListener("touchmove",this.onTouchMove,ll),this.element.addEventListener("touchend",this.onTouchEnd,ll)}touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new oP;on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,ll),this.element.removeEventListener("touchstart",this.onTouchStart,ll),this.element.removeEventListener("touchmove",this.onTouchMove,ll),this.element.removeEventListener("touchend",this.onTouchEnd,ll)}onTouchStart=t=>{const{clientX:e,clientY:n}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=n,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})};onTouchMove=t=>{const{clientX:e,clientY:n}=t.targetTouches?t.targetTouches[0]:t,r=-(e-this.touchStart.x)*this.options.touchMultiplier,i=-(n-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=n,this.lastDelta={x:r,y:i},this.emitter.emit("scroll",{deltaX:r,deltaY:i,event:t})};onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})};onWheel=t=>{let{deltaX:e,deltaY:n,deltaMode:r}=t;const i=TS(r,this.window.width),o=TS(r,this.window.height);e*=i,n*=o,e*=this.options.wheelMultiplier,n*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:n,event:t})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}},CS=t=>Math.min(1,1.001-2**(-10*t)),Z5=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new UF;emitter=new oP;dimensions;virtualScroll;constructor({wrapper:t=window,content:e=document.documentElement,eventsTarget:n=t,smoothWheel:r=!0,syncTouch:i=!1,syncTouchLerp:o=.075,touchInertiaExponent:l=1.7,duration:u,easing:f,lerp:d=.1,infinite:h=!1,orientation:m="vertical",gestureOrientation:y=m==="horizontal"?"both":"vertical",touchMultiplier:g=1,wheelMultiplier:_=1,autoResize:w=!0,prevent:S,virtualScroll:C,overscroll:b=!0,autoRaf:R=!1,anchors:P=!1,autoToggle:O=!1,allowNestedScroll:N=!1,__experimental__naiveDimensions:L=!1,naiveDimensions:F=L,stopInertiaOnNavigate:j=!1}={}){window.lenisVersion=SS,window.lenis||(window.lenis={}),window.lenis.version=SS,m==="horizontal"&&(window.lenis.horizontal=!0),(!t||t===document.documentElement)&&(t=window),typeof u=="number"&&typeof f!="function"?f=CS:typeof f=="function"&&typeof u!="number"&&(u=1),this.options={wrapper:t,content:e,eventsTarget:n,smoothWheel:r,syncTouch:i,syncTouchLerp:o,touchInertiaExponent:l,duration:u,easing:f,lerp:d,infinite:h,gestureOrientation:y,orientation:m,touchMultiplier:g,wheelMultiplier:_,autoResize:w,prevent:S,virtualScroll:C,overscroll:b,autoRaf:R,anchors:P,autoToggle:O,allowNestedScroll:N,naiveDimensions:F,stopInertiaOnNavigate:j},this.dimensions=new HF(t,e,{autoResize:w}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=ne
9w KF(n,{touchMultiplier:g,wheelMultiplier:_}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}onScrollEnd=t=>{t instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&t.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){const t=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[t]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=t=>{t.propertyName.includes("overflow")&&this.checkOverflow()};setScroll(t){this.isHorizontal?this.options.wrapper.scrollTo({left:t,behavior:"instant"}):this.options.wrapper.scrollTo({top:t,behavior:"instant"})}onClick=t=>{const n=t.composedPath().filter(r=>r instanceof HTMLAnchorElement&&r.getAttribute("href"));if(this.options.anchors){const r=n.find(i=>i.getAttribute("href")?.includes("#"));if(r){const i=r.getAttribute("href");if(i){const o=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0,l=`#${i.split("#")[1]}`;this.scrollTo(l,o)}}}this.options.stopInertiaOnNavigate&&n.find(i=>i.host===window.location.host)&&this.reset()};onPointerDown=t=>{t.button===1&&this.reset()};onVirtualScroll=t=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(t)===!1)return;const{deltaX:e,deltaY:n,event:r}=t;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:n,event:r}),r.ctrlKey||r.lenisStopPropagation)return;const i=r.type.includes("touch"),o=r.type.includes("wheel");this.isTouching=r.type==="touchstart"||r.type==="touchmove";const l=e===0&&n===0;if(this.options.syncTouch&&i&&r.type==="touchstart"&&l&&!this.isStopped&&!this.isLocked){this.reset();return}const f=this.options.gestureOrientation==="vertical"&&n===0||this.options.gestureOrientation==="horizontal"&&e===0;if(l||f)return;let d=r.composedPath();d=d.slice(0,d.indexOf(this.rootElement));const h=this.options.prevent,m=Math.abs(e)>=Math.abs(n)?"horizontal":"vertical";if(d.find(C=>C instanceof HTMLElement&&(typeof h=="function"&&h?.(C)||C.hasAttribute?.("data-lenis-prevent")||m==="vertical"&&C.hasAttribute?.("data-lenis-prevent-vertical")||m==="horizontal"&&C.hasAttribute?.("data-lenis-prevent-horizontal")||i&&C.hasAttribute?.("data-lenis-prevent-touch")||o&&C.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(C,{deltaX:e,deltaY:n}))))return;if(this.isStopped||this.isLocked){r.cancelable&&r.preventDefault();return}if(!(this.options.syncTouch&&i||this.options.smoothWheel&&o)){this.isScrolling="native",this.animate.stop(),r.lenisStopPropagation=!0;return}let g=n;this.options.gestureOrientation==="both"?g=Math.abs(n)>Math.abs(e)?n:e:this.options.gestureOrientation==="horizontal"&&(g=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||this.animatedScroll===0&&n>0||this.animatedScroll===this.limit&&n<0))&&(r.lenisStopPropagation=!0),r.cancelable&&r.preventDefault();const _=i&&this.options.syncTouch,S=i&&r.type==="touchend";S&&(g=Math.sign(this.velocity)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+g,{programmatic:!1,..._?{lerp:S?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit
9()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-t,this.direction=Math.sign(this.animatedScroll-t),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=t=>{const e=t-(this.time||t);this.time=t,this.animate.advance(e*.001),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(t,{offset:e=0,immediate:n=!1,lock:r=!1,programmatic:i=!0,lerp:o=i?this.options.lerp:void 0,duration:l=i?this.options.duration:void 0,easing:u=i?this.options.easing:void 0,onStart:f,onComplete:d,force:h=!1,userData:m}={}){if((this.isStopped||this.isLocked)&&!h)return;let y=t,g=e;if(typeof y=="string"&&["top","left","start","#"].includes(y))y=0;else if(typeof y=="string"&&["bottom","right","end"].includes(y))y=this.limit;else{let _=null;if(typeof y=="string"?(_=document.querySelector(y),_||(y==="#top"?y=0:console.warn("Lenis: Target not found",y))):y instanceof HTMLElement&&y?.nodeType&&(_=y),_){if(this.options.wrapper!==window){const S=this.rootElement.getBoundingClientRect();g-=this.isHorizontal?S.left:S.top}const w=_.getBoundingClientRect();y=(this.isHorizontal?w.left:w.top)+this.animatedScroll}}if(typeof y=="number"){if(y+=g,y=Math.round(y),this.options.infinite){if(i){this.targetScroll=this.animatedScroll=this.scroll;const _=y-this.animatedScroll;_>this.limit/2?y-=this.limit:_<-this.limit/2&&(y+=this.limit)}}else y=sP(0,y,this.limit);if(y===this.targetScroll){f?.(this),d?.(this);return}if(this.userData=m??{},n){this.animatedScroll=this.targetScroll=y,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),d?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}i||(this.targetScroll=y),typeof l=="number"&&typeof u!="function"?u=CS:typeof u=="function"&&typeof l!="number"&&(l=1),this.animate.fromTo(this.animatedScroll,y,{duration:l,easing:u,lerp:o,onStart:()=>{r&&(this.isLocked=!0),this.isScrolling="smooth",f?.(this)},onUpdate:(_,w)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=_-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=_,this.setScroll(this.scroll),i&&(this.targetScroll=_),w||this.emit(),w&&(this.reset(),this.emit(),d?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(t,{deltaX:e,deltaY:n}){const r=Date.now();t._lenis||(t._lenis={});const i=t._lenis;let o,l,u,f,d,h,m,y,g,_;if(r-(i.time??0)>2e3){i.time=Date.now();const L=window.getComputedStyle(t);if(i.computedStyle=L,o=["auto","overlay","scroll"].includes(L.overflowX),l=["auto","overlay","scroll"].includes(L.overflowY),d=["auto"].includes(L.overscrollBehaviorX),h=["auto"].includes(L.overscrollBehaviorY),i.hasOverflowX=o,i.hasOverflowY=l,!(o||l))return!1;m=t.scrollWidth,y=t.scrollHeight,g=t.clientWidth,_=t.clientHeight,u=m>g,f=y>_,i.isScrollableX=u,i.isScrollableY=f,i.scrollWidth=m,i.scrollHeight=y,i.clientWidth=g,i.clientHeight=_,i.hasOverscrollBehaviorX=d,i.hasOverscrollBehaviorY=h}else u=i.isScrollableX,f=i.isScrollableY,o=i.hasOverflowX,l=i.hasOverflowY,m=i.scrollWidth,y=i.scrollHeight,g=i.clientWidth,_=i.clientHeight,d=i.hasOverscrollBehaviorX,h=i.hasOverscrollBehaviorY;if(!(o&&u||l&&f))return!1;const w=Math.abs(e)>=Math.abs(n)?"horizontal":"vertical";let S,C,b,R,P,O;if(w==="horizontal")S=Math.round(t.scrollLeft),C=m-g,b=e,R=o,P=u,O=d;else if(w==="vertical")S=Math.round(t.scrollTop),C=y-_,b=n,R=l,P=f,O=h;else return!1;return!O&&(S>=C||S<=0)?!0:(b>0?S<C:S>0)&&R&&P}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){const t=this.options.wrapper;return this.isHorizontal?t.scrollX??t.scrollLeft:t.scrollY??t.scrollTop}get scroll(){return this.options.infinite?BF(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(t){this._isScrolling!==t&&(this._isScrolling=t,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(t){this._isStopped!==t&&(this._isStopped=t,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(t){this._isLocked!==t&&(this._isLocked=t,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let t="lenis";return this.options.autoToggle&&(t+=" lenis-autoToggle"),this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),this.isScrolling==="smooth"&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}},xy="focusScope.autoFocusOnMount",_y="focusScope.autoFocusOnUnmount",bS={bubbles:!1,cancelable:!0},XF="FocusScope",aP=T.forwardRef((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...l}=t,[u,f]=T.useState(null),d=aa(i),h=aa(o),m=T.useRef(null),y=Yi(e,w=>f(w)),g=T.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;T.useEffect(()=>{if(r){let w=function(R){if(g.paused||!u)return;const P=R.target;u.contains(P)?m.current=P:cl(m.current,{select:!0})},S=function(R){if(g.paused||!u)return;const P=R.relatedTarget;P!==null&&(u.contains(P)||cl(m.current,{select:!0}))},C=function(R){if(document.activeElement===document.body)for(const O of R)O.removedNodes.length>0&&cl(u)};document.addEventListener("focusin",w),document.addEventListener("focusout",S);const b=new MutationObserver(C);return u&&b.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",S),b.disconnect()}}},[r,u,g.paused]),T.useEffect(()=>{if(u){PS.add(g);const w=document.activeElement;if(!u.contains(w)){const C=new CustomEvent(xy,bS);u.addEventListener(xy,d),u.dispatchEvent(C),C.defaultPrevented||(GF(eV(lP(u)),{select:!0}),document.activeElement===w&&cl(u))}return()=>{u.removeEventListener(xy,d),setTimeout(()=>{const C=new CustomEvent(_y,bS);u.addEventListener(_y,h),u.dispatchEvent(C),C.defaultPrevented||cl(w??document.body,{select:!0}),u.removeEventListener(_y,h),PS.remove(g)},0)}}},[u,d,h,g]);const _=T.useCallback(w=>{if(!n&&!r||g.paused)return;const S=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,C=document.activeElement;if(S&&C){const b=w.currentTarget,[R,P]=qF(b);R&&P?!w.shiftKey&&C===P?(w.preventDefault(),n&&cl(R,{select:!0})):w.shiftKey&&C===R&&(w.preventDefault(),n&&cl(P,{select:!0})):C===b&&w.preventDefault()}},[n,r,g.paused]);return ce.jsx(xr.div,{tabIndex:-1,...l,ref:y,onKeyDown:_})});aP.displayName=XF;function GF(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(cl(r,{select:e}),document.activeElement!==n)return}function qF(t){const e=lP(t),n=ES(e,t),r=ES(e.reverse(),t);return[n,r]}function lP(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function ES(t,e){for(const n of t)if(!QF(n,{upTo:e}))return n}function QF(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function ZF(t){return t instanceof HTMLInputElement&&"select"in t}function cl(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&ZF(t)&&e&&t.select()}}var PS=JF();function JF(){let t=[];return{add(e){const n=t[0];e!==n&&n?.pause(),t=kS(t,e),t.unshift(e)},remove(e){t=kS(t,e),t[0]?.resume()}}}function kS(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function eV(t){return t.filter(e=>e.tagName!=="A")}var Sy=0;function tV(){T.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??RS()),document.body.insertAdjacentElement("beforeend",t[1]??RS()),Sy++,()=>{Sy===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
vendor: 5,838 bytes, lines 9-24
9=>e.remove()),Sy--}},[])}function RS(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var Jo=function(){return Jo=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Jo.apply(this,arguments)};function uP(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function nV(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))}var yp="right-scroll-bar-position",vp="width-before-scroll-bar",rV="with-scroll-bars-hidden",iV="--removed-body-scroll-bar-size";function Ty(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function sV(t,e){var n=T.useState(function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=e,n.facade}var oV=typeof window<"u"?T.useLayoutEffect:T.useEffect,OS=new WeakMap;function aV(t,e){var n=sV(null,function(r){return t.forEach(function(i){return Ty(i,r)})});return oV(function(){var r=OS.get(n);if(r){var i=new Set(r),o=new Set(t),l=n.current;i.forEach(function(u){o.has(u)||Ty(u,null)}),o.forEach(function(u){i.has(u)||Ty(u,l)})}OS.set(n,t)},[t]),n}function lV(t){return t}function uV(t,e){e===void 0&&(e=lV);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(o){var l=e(o,r);return n.push(l),function(){n=n.filter(function(u){return u!==l})}},assignSyncMedium:function(o){for(r=!0;n.length;){var l=n;n=[],l.forEach(o)}n={push:function(u){return o(u)},filter:function(){return n}}},assignMedium:function(o){r=!0;var l=[];if(n.length){var u=n;n=[],u.forEach(o),l=n}var f=function(){var h=l;l=[],h.forEach(o)},d=function(){return Promise.resolve().then(f)};d(),n={push:function(h){l.push(h),d()},filter:function(h){return l=l.filter(h),n}}}};return i}function cV(t){t===void 0&&(t={});var e=uV(null);return e.options=Jo({async:!0,ssr:!1},t),e}var cP=function(t){var e=t.sideCar,n=uP(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return T.createElement(r,Jo({},n))};cP.isSideCarExport=!0;function fV(t,e){return t.useMedium(e),cP}var fP=cV(),Cy=function(){},Tm=T.forwardRef(function(t,e){var n=T.useRef(null),r=T.useState({onScrollCapture:Cy,onWheelCapture:Cy,onTouchMoveCapture:Cy}),i=r[0],o=r[1],l=t.forwardProps,u=t.children,f=t.className,d=t.removeScrollBar,h=t.enabled,m=t.shards,y=t.sideCar,g=t.noRelative,_=t.noIsolation,w=t.inert,S=t.allowPinchZoom,C=t.as,b=C===void 0?"div":C,R=t.gapMode,P=uP(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=y,N=aV([n,e]),L=Jo(Jo({},P),i);return T.createElement(T.Fragment,null,h&&T.createElement(O,{sideCar:fP,removeScrollBar:d,shards:m,noRelative:g,noIsolation:_,inert:w,setCallbacks:o,allowPinchZoom:!!S,lockRef:n,gapMode:R}),l?T.cloneElement(T.Children.only(u),Jo(Jo({},L),{ref:N})):T.createElement(b,Jo({},L,{className:f,ref:N}),u))});Tm.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Tm.classNames={fullWidth:vp,zeroRight:yp};var dV=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function hV(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=dV();return e&&t.setAttribute("nonce",e),t}function pV(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function mV(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var gV=function(){var t=0,e=null;return{add:function(n){t==0&&(e=hV())&&(pV(e,n),mV(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},yV=function(){var t=gV();return function(e,n){T.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&n])}},dP=function(){var t=yV(),e=function(n){var r=n.styles,i=n.dynamic;return t(r,i),null};return e},vV={left:0,top:0,right:0,gap:0},by=function(t){return parseInt(t||"",10)||0},wV=function(t){var e=window.getComputedStyle(document.body),n=e[t==="padding"?"paddingLeft":"marginLeft"],r=e[t==="padding"?"paddingTop":"marginTop"],i=e[t==="padding"?"paddingRight":"marginRight"];return[by(n),by(r),by(i)]},xV=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return vV;var e=wV(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},_V=dP(),kc="data-scroll-locked",SV=function(t,e,n,r){var i=t.left,o=t.top,l=t.right,u=t.gap;return n===void 0&&(n="margin"),`
10  .`.concat(rV,` {
11   overflow: hidden `).concat(r,`;
12   padding-right: `).concat(u,"px ").concat(r,`;
13  }
14  body[`).concat(kc,`] {
15    overflow: hidden `).concat(r,`;
16    overscroll-behavior: contain;
17    `).concat([e&&"position: relative ".concat(r,";"),n==="margin"&&`
18    padding-left: `.concat(i,`px;
19    padding-top: `).concat(o,`px;
20    padding-right: `).concat(l,`px;
21    margin-left:0;
22    margin-top:0;
23    margin-right: `).concat(u,"px ").concat(r,`;
24    `),n==="padding"&&"padding-right: ".concat(u,"px ").concat(r,";
24")].filter(Boolean).join(""),`
25  }
26  
27  .`).concat(yp,` {
28    right: `).concat(u,"px ").concat(r,`;
29  }
30  
31  .`).concat(vp,` {
32    margin-right: `).concat(u,"px ").concat(r,`;
33  }
34  
35  .`).concat(yp," .").concat(yp,` {
36    right: 0 `).concat(r,`;
37  }
38  
39  .`).concat(vp," .").concat(vp,` {
40    margin-right: 0 `).concat(r,`;
41  }
42  
43  body[`).concat(kc,`] {
44    `).concat(iV,": ").concat(u,`px;
45  }
46`)},AS=function(){var t=parseInt(document.body.getAttribute(kc)||"0",10);return isFinite(t)?t:0},TV=function(){T.useEffect(function(){return document.body.setAttribute(kc,(AS()+1).toString()),function(){var t=AS()-1;t<=0?document.body.removeAttribute(kc):document.body.setAttribute(kc,t.toString())}},[])},CV=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,i=r===void 0?"margin":r;TV();var o=T.useMemo(function(){return xV(i)},[i]);return T.createElement(_V,{styles:SV(o,!e,i,n?"":"!important")})},Vv=!1;if(typeof window<"u")try{var Gh=Object.defineProperty({},"passive",{get:function(){return Vv=!0,!0}});window.addEventListener("test",Gh,Gh),window.removeEventListener("test",Gh,Gh)}catch{Vv=!1}var ic=Vv?{passive:!1}:!1,bV=function(t){return t.tagName==="TEXTAREA"},hP=function(t,e){if(!(t instanceof Element))return!1;var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!bV(t)&&n[e]==="visible")},EV=function(t){return hP(t,"overflowY")},PV=function(t){return hP(t,"overflowX")},MS=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=pP(t,r);
vendor: 1,708 bytes, lines 46-49
46if(i){var o=mP(t,r),l=o[1],u=o[2];if(l>u)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},kV=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},RV=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},pP=function(t,e){return t==="v"?EV(e):PV(e)},mP=function(t,e){return t==="v"?kV(e):RV(e)},OV=function(t,e){return t==="h"&&e==="rtl"?-1:1},AV=function(t,e,n,r,i){var o=OV(t,window.getComputedStyle(e).direction),l=o*r,u=n.target,f=e.contains(u),d=!1,h=l>0,m=0,y=0;do{if(!u)break;var g=mP(t,u),_=g[0],w=g[1],S=g[2],C=w-S-o*_;(_||C)&&pP(t,u)&&(m+=C,y+=_);var b=u.parentNode;u=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!f&&u!==document.body||f&&(e.contains(u)||e===u));return(h&&Math.abs(m)<1||!h&&Math.abs(y)<1)&&(d=!0),d},qh=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},DS=function(t){return[t.deltaX,t.deltaY]},LS=function(t){return t&&"current"in t?t.current:t},MV=function(t,e){return t[0]===e[0]&&t[1]===e[1]},DV=function(t){return`
47  .block-interactivity-`.concat(t,` {pointer-events: none;}
48  .allow-interactivity-`).concat(t,` {pointer-events: all;}
49`)},LV=0,sc=[];function NV(t){var e=T.useRef([]),n=T.useRef([0,0]),r=T.useRef(),i=T.useState(LV++)[0],o=T.useState(dP)[0],l=T.useRef(t);T.useEffect(function(){l.current=t},[t]),T.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var w=nV([t.lockRef.current],(t.shards||[]).map(LS),!0).filter(Boolean);return w.forEach(function(S){return S.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),w.forEac
vendor: 11,747 bytes, lines 49-53
49h(function(S){return S.classList.remove("allow-interactivity-".concat(i))})}}},[t.inert,t.lockRef.current,t.shards]);var u=T.useCallback(function(w,S){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!l.current.allowPinchZoom;var C=qh(w),b=n.current,R="deltaX"in w?w.deltaX:b[0]-C[0],P="deltaY"in w?w.deltaY:b[1]-C[1],O,N=w.target,L=Math.abs(R)>Math.abs(P)?"h":"v";if("touches"in w&&L==="h"&&N.type==="range")return!1;var F=window.getSelection(),j=F&&F.anchorNode,B=j?j===N||j.contains(N):!1;if(B)return!1;var re=MS(L,N);if(!re)return!0;if(re?O=L:(O=L==="v"?"h":"v",re=MS(L,N)),!re)return!1;if(!r.current&&"changedTouches"in w&&(R||P)&&(r.current=O),!O)return!0;var W=r.current||O;return AV(W,S,w,W==="h"?R:P)},[]),f=T.useCallback(function(w){var S=w;if(!(!sc.length||sc[sc.length-1]!==o)){var C="deltaY"in S?DS(S):qh(S),b=e.current.filter(function(O){return O.name===S.type&&(O.target===S.target||S.target===O.shadowParent)&&MV(O.delta,C)})[0];if(b&&b.should){S.cancelable&&S.preventDefault();return}if(!b){var R=(l.current.shards||[]).map(LS).filter(Boolean).filter(function(O){return O.contains(S.target)}),P=R.length>0?u(S,R[0]):!l.current.noIsolation;P&&S.cancelable&&S.preventDefault()}}},[]),d=T.useCallback(function(w,S,C,b){var R={name:w,delta:S,target:C,should:b,shadowParent:IV(C)};e.current.push(R),setTimeout(function(){e.current=e.current.filter(function(P){return P!==R})},1)},[]),h=T.useCallback(function(w){n.current=qh(w),r.current=void 0},[]),m=T.useCallback(function(w){d(w.type,DS(w),w.target,u(w,t.lockRef.current))},[]),y=T.useCallback(function(w){d(w.type,qh(w),w.target,u(w,t.lockRef.current))},[]);T.useEffect(function(){return sc.push(o),t.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:y}),document.addEventListener("wheel",f,ic),document.addEventListener("touchmove",f,ic),document.addEventListener("touchstart",h,ic),function(){sc=sc.filter(function(w){return w!==o}),document.removeEventListener("wheel",f,ic),document.removeEventListener("touchmove",f,ic),document.removeEventListener("touchstart",h,ic)}},[]);var g=t.removeScrollBar,_=t.inert;return T.createElement(T.Fragment,null,_?T.createElement(o,{styles:DV(i)}):null,g?T.createElement(CV,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function IV(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const FV=fV(fP,NV);var gP=T.forwardRef(function(t,e){return T.createElement(Tm,Jo({},t,{ref:e,sideCar:FV}))});gP.classNames=Tm.classNames;var VV=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},oc=new WeakMap,Qh=new WeakMap,Zh={},Ey=0,yP=function(t){return t&&(t.host||yP(t.parentNode))},zV=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=yP(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},jV=function(t,e,n,r){var i=zV(e,Array.isArray(t)?t:[t]);Zh[n]||(Zh[n]=new WeakMap);var o=Zh[n],l=[],u=new Set,f=new Set(i),d=function(m){!m||u.has(m)||(u.add(m),d(m.parentNode))};i.forEach(d);var h=function(m){!m||f.has(m)||Array.prototype.forEach.call(m.children,function(y){if(u.has(y))h(y);else try{var g=y.getAttribute(r),_=g!==null&&g!=="false",w=(oc.get(y)||0)+1,S=(o.get(y)||0)+1;oc.set(y,w),o.set(y,S),l.push(y),w===1&&_&&Qh.set(y,!0),S===1&&y.setAttribute(n,"true"),_||y.setAttribute(r,"true")}catch(C){console.error("aria-hidden: cannot operate on ",y,C)}})};return h(e),u.clear(),Ey++,function(){l.forEach(function(m){var y=oc.get(m)-1,g=o.get(m)-1;oc.set(m,y),o.set(m,g),y||(Qh.has(m)||m.removeAttribute(r),Qh.delete(m)),g||m.removeAttribute(n)}),Ey--,Ey||(oc=new WeakMap,oc=new WeakMap,Qh=new WeakMap,Zh={})}},$V=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),i=VV(t);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),jV(r,i,n,"aria-hidden")):function(){return null}};function BV(t){const e=UV(t),n=T.forwardRef((r,i)=>{const{children:o,...l}=r,u=T.Children.toArray(o),f=u.find(HV);if(f){const d=f.props.children,h=u.map(m=>m===f?T.Children.count(d)>1?T.Children.only(null):T.isValidElement(d)?d.props.children:null:m);return ce.jsx(e,{...l,ref:i,children:T.isValidElement(d)?T.cloneElement(d,void 0,h):null})}return ce.jsx(e,{...l,ref:i,children:o})});return n.displayName=`${t}.Slot`,n}function UV(t){const e=T.forwardRef((n,r)=>{const{children:i,...o}=n;if(T.isValidElement(i)){const l=KV(i),u=YV(o,i.props);return i.type!==T.Fragment&&(u.ref=r?Cd(r,l):l),T.cloneElement(i,u)}return T.Children.count(i)>1?T.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var WV=Symbol("radix.slottable");function HV(t){return T.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===WV}function YV(t,e){const n={...e};for(const r in e){const i=t[r],o=e[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...u)=>{const f=o(...u);return i(...u),f}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...t,...n}}function KV(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var Cm="Dialog",[vP]=bd(Cm),[XV,zo]=vP(Cm),wP=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:l=!0}=t,u=T.useRef(null),f=T.useRef(null),[d,h]=ab({prop:r,defaultProp:i??!1,onChange:o,caller:Cm});return ce.jsx(XV,{scope:e,triggerRef:u,contentRef:f,contentId:Jg(),titleId:Jg(),descriptionId:Jg(),open:d,onOpenChange:h,onOpenToggle:T.useCallback(()=>h(m=>!m),[h]),modal:l,children:n})};wP.displayName=Cm;var xP="DialogTrigger",_P=T.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,i=zo(xP,n),o=Yi(e,i.triggerRef);return ce.jsx(xr.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":aw(i.open),...r,ref:o,onClick:Nn(t.onClick,i.onOpenToggle)})});_P.displayName=xP;var sw="DialogPortal",[GV,SP]=vP(sw,{forceMount:void 0}),TP=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:i}=t,o=zo(sw,e);return ce.jsx(GV,{scope:e,forceMount:n,children:T.Children.map(r,l=>ce.jsx(Hc,{present:n||o.open,children:ce.jsx(E0,{asChild:!0,container:i,children:l})}))})};TP.displayName=sw;var Kp="DialogOverlay",CP=T.forwardRef((t,e)=>{const n=SP(Kp,t.__scopeDialog),{forceMount:r=n.forceMount,...i}=t,o=zo(Kp,t.__scopeDialog);return o.modal?ce.jsx(Hc,{present:r||o.open,children:ce.jsx(QV,{...i,ref:e})}):null});CP.displayName=Kp;var qV=BV("DialogOverlay.RemoveScroll"),QV=T.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,i=zo(Kp,n);return ce.jsx(gP,{as:qV,allowPinchZoom:!0,shards:[i.contentRef],children:ce.jsx(xr.div,{"data-state":aw(i.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),Mu="DialogContent",bP=T.forwardRef((t,e)=>{const n=SP(Mu,t.__scopeDialog),{forceMount:r=n.forceMount,...i}=t,o=zo(Mu,t.__scopeDialog);return ce.jsx(Hc,{present:r||o.open,children:o.modal?ce.jsx(ZV,{...i,ref:e}):ce.jsx(JV,{...i,ref:e})})});bP.displayName=Mu;var ZV=T.forwardRef((t,e)=>{const n=zo(Mu,t.__scopeDialog),r=T.useRef(null),i=Yi(e,n.contentRef,r);return T.useEffect(()=>{const o=r.current;if(o)return $V(o)},[]),ce.jsx(EP,{...t,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Nn(t.onCloseAutoFocus,o=>{o.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:Nn(t.onPointerDownOutside,o=>{const l=o.detail.originalEvent,u=l.button===0&&l.ctrlKey===!0;(l.button===2||u)&&o.preventDefault()}),onFocusOutside:Nn(t.onFocusOutside,o=>o.preventDefault())})}),JV=T.forwardRef((t,e)=>{const n=zo(Mu,t.__scopeDialog),r=T.useRef(!1),i=T.useRef(!1);return ce.jsx(EP,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{t.onCloseAutoFocus?.(o),o.defaultPrevented||(r.current||n.triggerRef.current?.focus(),o.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:o=>{t.onInteractOutside?.(o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const l=o.target;n.triggerRef.current?.contains(l)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),EP=T.forwardRef((t,e)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...l}=t,u=zo(Mu,n),f=T.useRef(null),d=Yi(e,f);return tV(),ce.jsxs(ce.Fragment,{children:[ce.jsx(aP,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:ce.jsx(fm,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":aw(u.open),...l,ref:d,onDismiss:()=>u.onOpenChange(!1)})}),ce.jsxs(ce.Fragment,{children:[ce.jsx(ez,{titleId:u.titleId}),ce.jsx(nz,{contentRef:f,descriptionId:u.descriptionId})]})]})}),ow="DialogTitle",PP=T.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,i=zo(ow,n);return ce.jsx(xr.h2,{id:i.titleId,...r,ref:e})});PP.displayName=ow;var kP="DialogDescription",RP=T.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,i=zo(kP,n);return ce.jsx(xr.p,{id:i.descriptionId,...r,ref:e})});RP.displayName=kP;var OP="DialogClose",AP=T.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,i=zo(OP,n);return ce.jsx(xr.button,{type:"button",...r,ref:e,onClick:Nn(t.onClick,()=>i.onOpenChange(!1))})});AP.displayName=OP;function aw(t){return t?"open":"closed"}var MP="DialogTitleWarning",[J5,DP]=dD(MP,{contentName:Mu,titleName:ow,docsSlug:"dialog"}),ez=({titleId:t})=>{const e=DP(MP),n=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
50
51If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
52
53For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return T.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},tz="DialogDescriptionWarning",nz=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${DP(tz).contentName}}.`;return T.useEffect(()=>{const i=t.current?.getAttribute("aria-describedby");e&&i&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},e4=wP,t4=_P,n4=TP,r4=CP,i4=bP,s4=PP,o4=RP,a4=AP,rz=Symbol.for("react.lazy"),Xp=im[" use ".trim().toString()];function iz(t){return typeof t=="object"&&t!==null&&"then"in t}function LP(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===rz&&"_payload"in t&&iz(t._payload)}function sz(t){const e=oz(t),n=T.forwardRef((r,i)=>{let{children:o,...l}=r;LP(o)&&typeof Xp=="function"&&(o=Xp(o._payload));const u=T.Children.toArray(o),f=u.find(lz);if(f){const d=f.props.children,h=u.map(m=>m===f?T.Children.count(d)>1?T.Children.only(null):T.isValidElement(d)?d.props.children:null:m);return ce.jsx(e,{...l,ref:i,children:T.isValidElement(d)?T.cloneElement(d,void 0,h):null})}return ce.jsx(e,{...l,ref:i,children:o})});return n.displayName=`${t}.Slot`,n}function oz(t){const e=T.forwardRef((n,r)=>{let{children:i,...o}=n;if(LP(i)&&typeof Xp=="function"&&(i=Xp(i._payload)),T.isValidElement(i)){const l=cz(i),u=uz(o,i.props);return i.type!==T.Fragment&&(u.ref=r?Cd(r,l):l),T.cloneElement(i,u)}return T.Children.count(i)>1?T.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var az=Symbol("radix.slottable");function lz(t){return T.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===az}function uz(t,e){const n={...e};for(const r in e){const i=t[r],o=e[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...u)=>{const f=o(...u);return i(...u),f}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}
53:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...t,...n}}function cz(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var fz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],dz=fz.reduce((t,e)=>{const n=sz(`Primitive.${e}`),r=T.forwardRef((i,o)=>{const{asChild:l,...u}=i,f=l?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),ce.jsx(f,{...u,ref:o})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{}),hz=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),pz="VisuallyHidden",NP=T.forwardRef((t,e)=>ce.jsx(dz.span,{...t,ref:e,style:{...hz,...t.style}}));NP.displayName=pz;var l4=NP;const lw=T.createContext({});function uw(t){const e=T.useRef(null);return e.current===null&&(e.current=t()),e.current}const mz=typeof window<"u",IP=mz?T.useLayoutEffect:T.useEffect,bm=T.createContext(null);function cw(t,e){t.indexOf(e)===-1&&t.push(e)}function Gp(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const ua=(t,e,n)=>n>e?e:n<t?t:n;let fw=()=>{};const Ia={},FP=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function VP(t){return typeof t=="object"&&t!==null}const zP=t=>/^0[^.\s]+$/u.test(t);function jP(t){let e;return()=>(e===void 0&&(e=t()),e)}const fo=t=>t,gz=(t,e)=>n=>e(t(n)),Rd=(...t)=>t.reduce(gz),vd=(t,e,n)=>{const r=e-t;return r===0?1:(n-t)/r};class dw{constructor(){this.subscriptions=[]}add(e){return cw(this.subscriptions,e),()=>Gp(this.subscriptions,e)}notify(e,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,r);else for(let o=0;o<i;o++){const l=this.subscriptions[o];l&&l(e,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const No=t=>t*1e3,uo=t=>t/1e3;function $P(t,e){return e?t*(1e3/e):0}const BP=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,yz=1e-7,vz=12;function wz(t,e,n,r,i){let o,l,u=0;do l=e+(n-e)/2,o=BP(l,r,i)-t,o>0?n=l:e=l;while(Math.abs(o)>yz&&++u<vz);return l}function Od(t,e,n,r){if(t===e&&n===r)return fo;const i=o=>wz(o,0,1,t,n);return o=>o===0||o===1?o:BP(i(o),e,r)}const UP=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,WP=t=>e=>1-t(1-e),HP=Od(.33,1.53,.69,.99),hw=WP(HP),YP=UP(hw),KP=t=>(t*=2)<1?.5*hw(t):.5*(2-Math.pow(2,-10*(t-1))),pw=t=>1-Math.sin(Math.acos(t)),XP=WP(pw),GP=UP(pw),xz=Od(.42,0,1,1),_z=Od(0,0,.58,1),qP=Od(.42,0,.58,1),Sz=t=>Array.isArray(t)&&typeof t[0]!="number",QP=t=>Array.isArray(t)&&typeof t[0]=="number",Tz={linear:fo,easeIn:xz,easeInOut:qP,easeOut:_z,cir
vendor: 34,579 bytes, line 53
53cIn:pw,circInOut:GP,circOut:XP,backIn:hw,backInOut:YP,backOut:HP,anticipate:KP},Cz=t=>typeof t=="string",NS=t=>{if(QP(t)){fw(t.length===4);const[e,n,r,i]=t;return Od(e,n,r,i)}else if(Cz(t))return Tz[t];return t},Jh=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function bz(t,e){let n=new Set,r=new Set,i=!1,o=!1;const l=new WeakSet;let u={delta:0,timestamp:0,isProcessing:!1};function f(h){l.has(h)&&(d.schedule(h),t()),h(u)}const d={schedule:(h,m=!1,y=!1)=>{const _=y&&i?n:r;return m&&l.add(h),_.has(h)||_.add(h),h},cancel:h=>{r.delete(h),l.delete(h)},process:h=>{if(u=h,i){o=!0;return}i=!0,[n,r]=[r,n],n.forEach(f),n.clear(),i=!1,o&&(o=!1,d.process(h))}};return d}const Ez=40;function ZP(t,e){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,l=Jh.reduce((R,P)=>(R[P]=bz(o),R),{}),{setup:u,read:f,resolveKeyframes:d,preUpdate:h,update:m,preRender:y,render:g,postRender:_}=l,w=()=>{const R=Ia.useManualTiming?i.timestamp:performance.now();n=!1,Ia.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(R-i.timestamp,Ez),1)),i.timestamp=R,i.isProcessing=!0,u.process(i),f.process(i),d.process(i),h.process(i),m.process(i),y.process(i),g.process(i),_.process(i),i.isProcessing=!1,n&&e&&(r=!1,t(w))},S=()=>{n=!0,r=!0,i.isProcessing||t(w)};return{schedule:Jh.reduce((R,P)=>{const O=l[P];return R[P]=(N,L=!1,F=!1)=>(n||S(),O.schedule(N,L,F)),R},{}),cancel:R=>{for(let P=0;P<Jh.length;P++)l[Jh[P]].cancel(R)},state:i,steps:l}}const{schedule:mn,cancel:Rl,state:oi,steps:Py}=ZP(typeof requestAnimationFrame<"u"?requestAnimationFrame:fo,!0);let wp;function Pz(){wp=void 0}const Wi={now:()=>(wp===void 0&&Wi.set(oi.isProcessing||Ia.useManualTiming?oi.timestamp:performance.now()),wp),set:t=>{wp=t,queueMicrotask(Pz)}},JP=t=>e=>typeof e=="string"&&e.startsWith(t),ek=JP("--"),kz=JP("var(--"),mw=t=>kz(t)?Rz.test(t.split("/*")[0].trim()):!1,Rz=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function IS(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const Kc={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},wd={...Kc,transform:t=>ua(0,1,t)},ep={...Kc,default:1},Jf=t=>Math.round(t*1e5)/1e5,gw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Oz(t){return t==null}const Az=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,yw=(t,e)=>n=>!!(typeof n=="string"&&Az.test(n)&&n.startsWith(t)||e&&!Oz(n)&&Object.prototype.hasOwnProperty.call(n,e)),tk=(t,e,n)=>r=>{if(typeof r!="string")return r;const[i,o,l,u]=r.match(gw);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(l),alpha:u!==void 0?parseFloat(u):1}},Mz=t=>ua(0,255,t),ky={...Kc,transform:t=>Math.round(Mz(t))},vu={test:yw("rgb","red"),parse:tk("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+ky.transform(t)+", "+ky.transform(e)+", "+ky.transform(n)+", "+Jf(wd.transform(r))+")"};function Dz(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const zv={test:yw("#"),parse:Dz,transform:vu.transform},Ad=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),fl=Ad("deg"),oa=Ad("%"),Le=Ad("px"),Lz=Ad("vh"),Nz=Ad("vw"),FS={...oa,parse:t=>oa.parse(t)/100,transform:t=>oa.transform(t*100)},hc={test:yw("hsl","hue"),parse:tk("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+oa.transform(Jf(e))+", "+oa.transform(Jf(n))+", "+Jf(wd.transform(r))+")"},Mr={test:t=>vu.test(t)||zv.test(t)||hc.test(t),parse:t=>vu.test(t)?vu.parse(t):hc.test(t)?hc.parse(t):zv.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?vu.transform(t):hc.transform(t),getAnimatableNone:t=>{const e=Mr.parse(t);return e.alpha=0,Mr.transform(e)}},Iz=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Fz(t){return isNaN(t)&&typeof t=="string"&&(t.match(gw)?.length||0)+(t.match(Iz)?.length||0)>0}const nk="number",rk="color",Vz="var",zz="var(",VS="${}",jz=/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 xd(t){const e=t.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const u=e.replace(jz,f=>(Mr.test(f)?(r.color.push(o),i.push(rk),n.push(Mr.parse(f))):f.startsWith(zz)?(r.var.push(o),i.push(Vz),n.push(f)):(r.number.push(o),i.push(nk),n.push(parseFloat(f))),++o,VS)).split(VS);return{values:n,split:u,indexes:r,types:i}}function ik(t){return xd(t).values}function sk(t){const{split:e,types:n}=xd(t),r=e.length;return i=>{let o="";for(let l=0;l<r;l++)if(o+=e[l],i[l]!==void 0){const u=n[l];u===nk?o+=Jf(i[l]):u===rk?o+=Mr.transform(i[l]):o+=i[l]}return o}}const $z=t=>typeof t=="number"?0:Mr.test(t)?Mr.getAnimatableNone(t):t;function Bz(t){const e=ik(t);return sk(t)(e.map($z))}const Io={test:Fz,parse:ik,createTransformer:sk,getAnimatableNone:Bz};function Ry(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Uz({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,e/=100,n/=100;let i=0,o=0,l=0;if(!e)i=o=l=n;else{const u=n<.5?n*(1+e):n+e-n*e,f=2*n-u;i=Ry(f,u,t+1/3),o=Ry(f,u,t),l=Ry(f,u,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(l*255),alpha:r}}function qp(t,e){return n=>n>0?e:t}const Xn=(t,e,n)=>t+(e-t)*n,Oy=(t,e,n)=>{const r=t*t,i=n*(e*e-r)+r;return i<0?0:Math.sqrt(i)},Wz=[zv,vu,hc],Hz=t=>Wz.find(e=>e.test(t));function zS(t){const e=Hz(t);if(!e)return!1;let n=e.parse(t);return e===hc&&(n=Uz(n)),n}const jS=(t,e)=>{const n=zS(t),r=zS(e);if(!n||!r)return qp(t,e);const i={...n};return o=>(i.red=Oy(n.red,r.red,o),i.green=Oy(n.green,r.green,o),i.blue=Oy(n.blue,r.blue,o),i.alpha=Xn(n.alpha,r.alpha,o),vu.transform(i))},jv=new Set(["none","hidden"]);function Yz(t,e){return jv.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function Kz(t,e){return n=>Xn(t,e,n)}function vw(t){return typeof t=="number"?Kz:typeof t=="string"?mw(t)?qp:Mr.test(t)?jS:qz:Array.isArray(t)?ok:typeof t=="object"?Mr.test(t)?jS:Xz:qp}function ok(t,e){const n=[...t],r=n.length,i=t.map((o,l)=>vw(o)(o,e[l]));return o=>{for(let l=0;l<r;l++)n[l]=i[l](o);return n}}function Xz(t,e){const n={...t,...e},r={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(r[i]=vw(t[i])(t[i],e[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function Gz(t,e){const n=[],r={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const o=e.types[i],l=t.indexes[o][r[o]],u=t.values[l]??0;n[i]=u,r[o]++}return n}const qz=(t,e)=>{const n=Io.createTransformer(e),r=xd(t),i=xd(e);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?jv.has(t)&&!i.values.length||jv.has(e)&&!r.values.length?Yz(t,e):Rd(ok(Gz(r,i),i.values),n):qp(t,e)};function ak(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?Xn(t,e,n):vw(t)(t,e)}const Qz=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>mn.update(e,n),stop:()=>Rl(e),now:()=>oi.isProcessing?oi.timestamp:Wi.now()}},lk=(t,e,n=10)=>{let r="";const i=Math.max(Math.round(e/n),2);for(let o=0;o<i;o++)r+=Math.round(t(o/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Qp=2e4;function ww(t){let e=0;const n=50;let r=t.next(e);for(;!r.done&&e<Qp;)e+=n,r=t.next(e);return e>=Qp?1/0:e}function Zz(t,e=100,n){const r=n({...t,keyframes:[0,e]}),i=Math.min(ww(r),Qp);return{type:"keyframes",ease:o=>r.next(i*o).value/e,duration:uo(i)}}const Jz=5;function uk(t,e,n){const r=Math.max(e-Jz,0);return $P(n-t(r),e-r)}const nr={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},Ay=.001;function ej({duration:t=nr.duration,bounce:e=nr.bounce,velocity:n=nr.velocity,mass:r=nr.mass}){let i,o,l=1-e;l=ua(nr.minDamping,nr.maxDamping,l),t=ua(nr.minDuration,nr.maxDuration,uo(t)),l<1?(i=d=>{const h=d*l,m=h*t,y=h-n,g=$v(d,l),_=Math.exp(-m);return Ay-y/g*_},o=d=>{const m=d*l*t,y=m*n+n,g=Math.pow(l,2)*Math.pow(d,2)*t,_=Math.exp(-m),w=$v(Math.pow(d,2),l);return(-i(d)+Ay>0?-1:1)*((y-g)*_)/w}):(i=d=>{const h=Math.exp(-d*t),m=(d-n)*t+1;return-Ay+h*m},o=d=>{const h=Math.exp(-d*t),m=(n-d)*(t*t);return h*m});const u=5/t,f=nj(i,o,u);if(t=No(t),isNaN(f))return{stiffness:nr.stiffness,damping:nr.damping,duration:t};{const d=Math.pow(f,2)*r;return{stiffness:d,damping:l*2*Math.sqrt(r*d),duration:t}}}const tj=12;function nj(t,e,n){let r=n;for(let i=1;i<tj;i++)r=r-t(r)/e(r);return r}function $v(t,e){return t*Math.sqrt(1-e*e)}const rj=["duration","bounce"],ij=["stiffness","damping","mass"];function $S(t,e){return e.some(n=>t[n]!==void 0)}function sj(t){let e={velocity:nr.velocity,stiffness:nr.stiffness,damping:nr.damping,mass:nr.mass,isResolvedFromDuration:!1,...t};if(!$S(t,ij)&&$S(t,rj))if(e.velocity=0,t.visualDuration){const n=t.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*ua(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:nr.mass,stiffness:i,damping:o}}else{const n=ej({...t,velocity:0});e={...e,...n,mass:nr.mass},e.isResolvedFromDuration=!0}return e}function Zp(t=nr.visualDuration,e=nr.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],u={done:!1,value:o},{stiffness:f,damping:d,mass:h,duration:m,velocity:y,isResolvedFromDuration:g}=sj({...n,velocity:-uo(n.velocity||0)}),_=y||0,w=d/(2*Math.sqrt(f*h)),S=l-o,C=uo(Math.sqrt(f/h)),b=Math.abs(S)<5;r||(r=b?nr.restSpeed.granular:nr.restSpeed.default),i||(i=b?nr.restDelta.granular:nr.restDelta.default);let R;if(w<1){const O=$v(C,w);R=N=>{const L=Math.exp(-w*C*N);return l-L*((_+w*C*S)/O*Math.sin(O*N)+S*Math.cos(O*N))}}else if(w===1)R=O=>l-Math.exp(-C*O)*(S+(_+C*S)*O);else{const O=C*Math.sqrt(w*w-1);R=N=>{const L=Math.exp(-w*C*N),F=Math.min(O*N,300);return l-L*((_+w*C*S)*Math.sinh(F)+O*S*Math.cosh(F))/O}}const P={calculatedDuration:g&&m||null,next:O=>{const N=R(O);if(g)u.done=O>=m;else{let L=O===0?_:0;w<1&&(L=O===0?No(_):uk(R,O,N));const F=Math.abs(L)<=r,j=Math.abs(l-N)<=i;u.done=F&&j}return u.value=u.done?l:N,u},toString:()=>{const O=Math.min(ww(P),Qp),N=lk(L=>P.next(O*L).value,O,30);return O+"ms "+N},toTransition:()=>{}};return P}Zp.applyToOptions=t=>{const e=Zz(t,100,Zp);return t.ease=e.ease,t.duration=No(e.duration),t.type="keyframes",t};function Bv({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:l,min:u,max:f,restDelta:d=.5,restSpeed:h}){const m=t[0],y={done:!1,value:m},g=F=>u!==void 0&&F<u||f!==void 0&&F>f,_=F=>u===void 0?f:f===void 0||Math.abs(u-F)<Math.abs(f-F)?u:f;let w=n*e;const S=m+w,C=l===void 0?S:l(S);C!==S&&(w=C-m);const b=F=>-w*Math.exp(-F/r),R=F=>C+b(F),P=F=>{const j=b(F),B=R(F);y.done=Math.abs(j)<=d,y.value=y.done?C:B};let O,N;const L=F=>{g(y.value)&&(O=F,N=Zp({keyframes:[y.value,_(y.value)],velocity:uk(R,F,y.value),damping:i,stiffness:o,restDelta:d,restSpeed:h}))};return L(0),{calculatedDuration:null,next:F=>{let j=!1;return!N&&O===void 0&&(j=!0,P(F),L(F)),O!==void 0&&F>=O?N.next(F-O):(!j&&P(F),y)}}}function oj(t,e,n){const r=[],i=n||Ia.mix||ak,o=t.length-1;for(let l=0;l<o;l++){let u=i(t[l],t[l+1]);if(e){const f=Array.isArray(e)?e[l]||fo:e;u=Rd(f,u)}r.push(u)}return r}function aj(t,e,{clamp:n=!0,ease:r,mixer:i}={}){const o=t.length;if(fw(o===e.length),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];const l=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const u=oj(e,r,i),f=u.length,d=h=>{if(l&&h<t[0])return e[0];let m=0;if(f>1)for(;m<t.length-2&&!(h<t[m+1]);m++);const y=vd(t[m],t[m+1],h);return u[m](y)};return n?h=>d(ua(t[0],t[o-1],h)):d}function lj(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const i=vd(0,e,r);t.push(Xn(n,1,i))}}function uj(t){const e=[0];return lj(e,t.length-1),e}function cj(t,e){return t.map(n=>n*e)}function fj(t,e){return t.map(()=>e||qP).splice(0,t.length-1)}function ed({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){const i=Sz(r)?r.map(NS):NS(r),o={done:!1,value:e[0]},l=cj(n&&n.length===e.length?n:uj(e),t),u=aj(l,e,{ease:Array.isArray(i)?i:fj(e,i)});return{calculatedDuration:t,next:f=>(o.value=u(f),o.done=f>=t,o)}}const dj=t=>t!==null;function xw(t,{repeat:e,repeatType:n="loop"},r,i=1){const o=t.filter(dj),u=i<0||e&&n!=="loop"&&e%2===1?0:o.length-1;return!u||r===void 0?o[u]:r}const hj={decay:Bv,inertia:Bv,tween:ed,keyframes:ed,spring:Zp};function ck(t){typeof t.type=="string"&&(t.type=hj[t.type])}class _w{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const pj=t=>t/100;class Sw extends _w{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==Wi.now()&&this.tick(Wi.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;ck(e);const{type:n=ed,repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:l=0}=e;let{keyframes:u}=e;const f=n||ed;f!==ed&&typeof u[0]!="number"&&(this.mixKeyframes=Rd(pj,ak(u[0],u[1])),u=[0,100]);const d=f({...e,keyframes:u});o==="mirror"&&(this.mirroredGenerator=f({...e,keyframes:[...u].reverse(),velocity:-l})),d.calculatedDuration===null&&(d.calculatedDuration=ww(d));const{calculatedDuration:h}=d;this.calculatedDuration=h,this.resolvedDuration=h+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=d}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:r,totalDuration:i,mixKeyframes:o,mirroredGenerator:l,resolvedDuration:u,calculatedDuration:f}=this;if(this.startTime===null)return r.next(0);const{delay:d=0,keyframes:h,repeat:m,repeatType:y,repeatDelay:g,type:_,onUpdate:w,finalKeyframe:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const C=this.currentTime-d*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?C<0:C>i;this.currentTime=Math.max(C,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let R=this.currentTime,P=r;if(m){const F=Math.min(this.currentTime,i)/u;let j=Math.floor(F),B=F%1;!B&&F>=1&&(B=1),B===1&&j--,j=Math.min(j,m+1),j%2&&(y==="reverse"?(B=1-B,g&&(B-=g/u)):y==="mirror"&&(P=l)),R=ua(0,1,B)*u}const O=b?{done:!1,value:h[0]}:P.next(R);o&&(O.value=o(O.value));let{done:N}=O;!b&&f!==null&&(N=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const L=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&N);return L&&_!==Bv&&(O.value=xw(h,this.options,S,this.speed)),w&&w(O.value),L&&this.finish(),O}then(e,n){return this.finished.then(e,n)}get duration(){return uo(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+uo(e)}get time(){return uo(this.currentTime)}set time(e){e=No(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(Wi.now());const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=uo(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=Qz,startTime:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Wi.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function mj(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const wu=t=>t*180/Math.PI,Uv=t=>{const e=wu(Math.atan2(t[1],t[0]));return Wv(e)},gj={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Uv,rotateZ:Uv,skewX:t=>wu(Math.atan(t[1])),skewY:t=>wu(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Wv=t=>(t=t%360,t<0&&(t+=360),t),BS=Uv,US=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),WS=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),yj={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:US,scaleY:WS,scale:t=>(US(t)+WS(t))/2,rotateX:t=>Wv(wu(Math.atan2(t[6],t[5]))),rotateY:t=>Wv(wu(Math.atan2(-t[2],t[0]))),rotateZ:BS,rotate:BS,skewX:t=>wu(Math.atan(t[4])),skewY:t=>wu(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Hv(t){return t.includes("scale")?1:0}function Yv(t,e){if(!t||t==="none")return Hv(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=yj,i=n;else{const u=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=gj,i=u}if(!i)return Hv(e);const o=r[e],l=i[1].split(",").map(wj);return typeof o=="function"?o(l):l[o]}const vj=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return Yv(n,e)};function wj(t){return parseFloat(t.trim())}const Xc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Gc=new Set(Xc),HS=t=>t===Kc||t===Le,xj=new Set(["x","y","z"]),_j=Xc.filter(t=>!xj.has(t));function Sj(t){const e=[];return _j.forEach(n=>{const r=t.getValue(n);r!==void 0&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e}const vl={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>Yv(e,"x"),y:(t,{transform:e})=>Yv(e,"y")};vl.translateX=vl.x;vl.translateY=vl.y;const Pu=new Set;let Kv=!1,Xv=!1,Gv=!1;function fk(){if(Xv){const t=Array.from(Pu).filter(r=>r.needsMeasurement),e=new Set(t.map(r=>r.element)),n=new Map;e.forEach(r=>{const i=Sj(r);i.length&&(n.set(r,i),r.render())}),t.forEach(r=>r.measureInitialState()),e.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,l])=>{r.getValue(o)?.set(l)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Xv=!1,Kv=!1,Pu.forEach(t=>t.complete(Gv)),Pu.clear()}function dk(){Pu.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Xv=!0)})}function Tj(){Gv=!0,dk(),fk(),Gv=!1}class Tw{constructor(e,n,r,i,o,l=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=l}scheduleResolve(){this.state="scheduled",this.isAsync?(Pu.add(this),Kv||(Kv=!0,mn.read(dk),mn.resolveKeyframes(fk))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:r,motionValue:i}=this;if(e[0]===null){const o=i?.get(),l=e[e.length-1];if(o!==void 0)e[0]=o;else if(r&&n){const u=r.readValue(n,l);u!=null&&(e[0]=u)}e[0]===void 0&&(e[0]=l),i&&o===void 0&&i.set(e[0])}mj(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Pu.delete(this)}cancel(){this.state==="scheduled"&&(Pu.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Cj=t=>t.startsWith("--");function bj(t,e,n){Cj(e)?t.style.setProperty(e,n):t.style[e]=n}const Ej={};function hk(t,e){const n=jP(t);return()=>Ej[e]??n()}const Pj=hk(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),pk=hk(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),If=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,YS={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:If([0,.65,.55,1]),circOut:If([.55,0,1,.45]),backIn:If([.31,.01,.66,-.59]),backOut:If([.33,1.53,.69,.99])};function mk(t,e){if(t)return typeof t=="function"?pk()?lk(t,e):"ease-out":QP(t)?If(t):Array.isArray(t)?t.map(n=>mk(n,e)||YS.easeOut):YS[t]}function kj(t,e,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:l="loop",ease:u="easeOut",times:f}={},d=void 0){const h={[e]:n};f&&(h.offset=f);const m=mk(u,i);Array.isArray(m)&&(h.easing=m);const y={delay:r,duration:i,easing:Array.isArray(m)?"linear":m,fill:"both",iterations:o+1,direction:l==="reverse"?"alternate":"normal"};return d&&(y.pseudoElement=d),t.animate(h,y)}function gk(t){return typeof t=="function"&&"applyToOptions"in t}function Rj({type:t,...e}){return gk(t)&&pk()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class yk extends _w{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:n,name:r,keyframes:i,pseudoElement:o,allowFlatten:l=!1,finalKeyframe:u,onComplete:f}=e;this.isPseudoElement=!!o,this.allowFlatten=l,this.options=e,fw(typeof e.type!="string");const d=Rj(e);this.animation=kj(n,r,i,d,o),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const h=xw(i,this.options,u,this.speed);this.updateMotionValue&&this.updateMotionValue(h),bj(n,r,h),this.animation.cancel()}f?.(),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;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return uo(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+uo(e)}get time(){return uo(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=No(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:n,rangeEnd:r,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Pj()?(this.animation.timeline=e,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),fo):i(this)}}const vk={anticipate:KP,backInOut:YP,circInOut:GP};function Oj(t){return t in vk}function Aj(t){typeof t.ease=="string"&&Oj(t.ease)&&(t.ease=vk[t.ease])}const My=10;class Mj extends yk{constructor(e){Aj(e),ck(e),super(e),e.startTime!==void 0&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:r,onComplete:i,element:o,...l}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const u=new Sw({...l,autoplay:!1}),f=Math.max(My,Wi.now()-this.startTime),d=ua(0,My,f-My);n.setWithVelocity(u.sample(Math.max(0,f-d)).value,u.sample(f).value,d),u.stop()}}const KS=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Io.test(t)||t==="0")&&!t.startsWith("url("));function Dj(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function Lj(t,e,n,r){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const o=t[t.length-1],l=KS(i,e),u=KS(o,e);return!l||!u?!1:Dj(t)||(n==="spring"||gk(n))&&r}function qv(t){t.duration=0,t.type="keyframes"}const Nj=new Set(["opacity","clipPath","filter","transform"]),Ij=jP(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Fj(t){const{motionValue:e,name:n,repeatDelay:r,repeatType:i,damping:o,type:l}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:d}=e.owner.getProps();return Ij()&&n&&Nj.has(n)&&(n!=="transform"||!d)&&!f&&!r&&i!=="mirror"&&o!==0&&l!=="inertia"}const Vj=40;class zj extends _w{constructor({autoplay:e=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:l="loop",keyframes:u,name:f,motionValue:d,element:h,...m}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Wi.now();const y={autoplay:e,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:l,name:f,motionValue:d,element:h,...m},g=h?.KeyframeResolver||Tw;this.keyframeResolver=new g(u,(_,w,S)=>this.onKeyframesResolved(_,w,y,!S),f,d,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,n,r,i){this.keyframeResolver=void 0;const{name:o,type:l,velocity:u,delay:f,isHandoff:d,onUpdate:h}=r;this.resolvedAt=Wi.now(),Lj(e,o,l,u)||((Ia.instantAnimations||!f)&&h?.(xw(e,r,n)),e[0]=e[e.length-1],qv(r),r.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Vj?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:e},g=!d&&Fj(y),_=y.motionValue?.owner?.current,w=g?new Mj({...y,element:_}):new Sw(y);w.finished.then(()=>{this.notifyFinished()}).catch(fo),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Tj()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function wk(t,e,n,r=0,i=1){const o=Array.from(t).sort((d,h)=>d.sortNodePosition(h)).indexOf(e),l=t.size,u=(l-1)*r;return typeof n=="function"?n(o,l):i===1?o*r:u-o*r}const jj=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function $j(t){const e=jj.exec(t);if(!e)return[,];const[,n,r,i]=e;return[`--${n??r}`,i]}function xk(t,e,n=1){const[r,i]=$j(t);if(!r)return;const o=window.getComputedStyle(e).getPropertyValue(r);if(o){const l=o.trim();return FP(l)?parseFloat(l):l}return mw(i)?xk(i,e,n+1):i}const Bj={type:"spring",stiffness:500,damping:25,restSpeed:10},Uj=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Wj={type:"keyframes",duration:.8},Hj={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Yj=(t,{keyframes:e})=>e.length>2?Wj:Gc.has(t)?t.startsWith("scale")?Uj(e[1]):Bj:Hj,Kj=t=>t!==null;function Xj(t,{repeat:e,repeatType:n="loop"},r){const i=t.filter(Kj),o=e&&n!=="loop"&&e%2===1?0:i.length-1;return i[o]}function _k(t,e){if(t?.inherit&&e){const{inherit:n,...r}=t;return{...e,...r}}return t}function Cw(t,e){const n=t?.[e]??t?.default??t;return n!==t?_k(n,t):n}function Gj({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:l,repeatDelay:u,from:f,elapsed:d,...h}){return!!Object.keys(h).length}const bw=(t,e,n,r={},i,o)=>l=>{const u=Cw(r,t)||{},f=u.delay||r.delay||0;let{elapsed:d=0}=r;d=d-No(f);const h={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...u,delay:-d,onUpdate:y=>{e.set(y),u.onUpdate&&u.onUpdate(y)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:t,motionValue:e,element:o?void 0:i};Gj(u)||Object.assign(h,Yj(t,h)),h.duration&&(h.duration=No(h.duration)),h.repeatDelay&&(h.repeatDelay=No(h.repeatDelay)),h.from!==void 0&&(h.keyframes[0]=h.from);let m=!1;if((h.type===!1||h.duration===0&&!h.repeatDelay)&&(qv(h),h.delay===0&&(m=!0)),(Ia.instantAnimations||Ia.skipAnimations||i?.shouldSkipAnimations)&&(m=!0,qv(h),h.delay=0),h.allowFlatten=!u.type&&!u.ease,m&&!o&&e.get()!==void 0){const y=Xj(h.keyframes,u);if(y!==void 0){mn.update(()=>{h.onUpdate(y),h.onComplete()});return}}return u.isSync?new Sw(h):new zj(h)};function XS(t){const e=[{},{}];return t?.values.forEach((n,r)=>{e[0][r]=n.get(),e[1][r]=n.getVelocity()}),e}function Ew(t,e,n,r){if(typeof e=="function"){const[i,o]=XS(r);e=e(n!==void 0?n:t.custom,i,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,o]=XS(r);e=e(n!==void 0?n:t.custom,i,o)}return e}function Rc(t,e,n){const r=t.getProps();return Ew(r,e,n!==void 0?n:r.custom,t)}const Sk=new Set(["width","height","top","left","right","bottom",...Xc]),GS=30,qj=t=>!isNaN(parseFloat(t));class Qj{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const i=Wi.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=Wi.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=qj(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new dw);const r=this.events[e].add(n);return e==="change"?()=>{r(),mn.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Wi.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>GS)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,GS);return $P(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(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 zc(t,e){return new Qj(t,e)}const Qv=t=>Array.isArray(t);function Zj(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,zc(n))}function Jj(t){return Qv(t)?t[t.length-1]||0:t}function e3(t,e){const n=Rc(t,e);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const l in o){const u=Jj(o[l]);Zj(t,l,u)}}const Ci=t=>!!(t&&t.getVelocity);function t3(t){return!!(Ci(t)&&t.add)}function Zv(t,e){const n=t.getValue("willChange");if(t3(n))return n.add(e);if(!n&&Ia.WillChange){const r=new Ia.WillChange("auto");t.addValue("willChange",r),r.add(e)}}function Pw(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const n3="framerAppearId",Tk="data-"+Pw(n3);function Ck(t){return t.props[Tk]}function r3({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,r}function bk(t,e,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o,transitionEnd:l,...u}=e;const f=t.getDefaultTransition();o=o?_k(o,f):f;const d=o?.reduceMotion;r&&(o=r);const h=[],m=i&&t.animationState&&t.animationState.getState()[i];for(const y in u){const g=t.getValue(y,t.latestValues[y]??null),_=u[y];if(_===void 0||m&&r3(m,y))continue;const w={delay:n,...Cw(o||{},y)},S=g.get();if(S!==void 0&&!g.isAnimating&&!Array.isArray(_)&&_===S&&!w.velocity)continue;let C=!1;if(window.MotionHandoffAnimation){const P=Ck(t);
vendor: 16,130 bytes, line 53
53if(P){const O=window.MotionHandoffAnimation(P,y,mn);O!==null&&(w.startTime=O,C=!0)}}Zv(t,y);const b=d??t.shouldReduceMotion;g.start(bw(y,g,_,b&&Sk.has(y)?{type:!1}:w,t,C));const R=g.animation;R&&h.push(R)}if(l){const y=()=>mn.update(()=>{l&&e3(t,l)});h.length?Promise.all(h).then(y):y()}return h}function Jv(t,e,n={}){const r=Rc(t,e,n.type==="exit"?t.presenceContext?.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(bk(t,r,n)):()=>Promise.resolve(),l=t.variantChildren&&t.variantChildren.size?(f=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:m}=i;return i3(t,e,f,d,h,m,n)}:()=>Promise.resolve(),{when:u}=i;if(u){const[f,d]=u==="beforeChildren"?[o,l]:[l,o];return f().then(()=>d())}else return Promise.all([o(),l(n.delay)])}function i3(t,e,n=0,r=0,i=0,o=1,l){const u=[];for(const f of t.variantChildren)f.notify("AnimationStart",e),u.push(Jv(f,e,{...l,delay:n+(typeof r=="function"?0:r)+wk(t.variantChildren,f,r,i,o)}).then(()=>f.notify("AnimationComplete",e)));return Promise.all(u)}function s3(t,e,n={}){t.notify("AnimationStart",e);let r;if(Array.isArray(e)){const i=e.map(o=>Jv(t,o,n));r=Promise.all(i)}else if(typeof e=="string")r=Jv(t,e,n);else{const i=typeof e=="function"?Rc(t,e,n.custom):e;r=Promise.all(bk(t,i,n))}return r.then(()=>{t.notify("AnimationComplete",e)})}const o3={test:t=>t==="auto",parse:t=>t},Ek=t=>e=>e.test(t),Pk=[Kc,Le,oa,fl,Nz,Lz,o3],qS=t=>Pk.find(Ek(t));function a3(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||zP(t):!0}const l3=new Set(["brightness","contrast","saturate","opacity"]);function u3(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[r]=n.match(gw)||[];if(!r)return t;const i=n.replace(r,"");let o=l3.has(e)?1:0;return r!==n&&(o*=100),e+"("+o+i+")"}const c3=/\b([a-z-]*)\(.*?\)/gu,e0={...Io,getAnimatableNone:t=>{const e=t.match(c3);return e?e.map(u3).join(" "):t}},t0={...Io,getAnimatableNone:t=>{const e=Io.parse(t);return Io.createTransformer(t)(e.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},QS={...Kc,transform:Math.round},f3={rotate:fl,rotateX:fl,rotateY:fl,rotateZ:fl,scale:ep,scaleX:ep,scaleY:ep,scaleZ:ep,skew:fl,skewX:fl,skewY:fl,distance:Le,translateX:Le,translateY:Le,translateZ:Le,x:Le,y:Le,z:Le,perspective:Le,transformPerspective:Le,opacity:wd,originX:FS,originY:FS,originZ:Le},kw={borderWidth:Le,borderTopWidth:Le,borderRightWidth:Le,borderBottomWidth:Le,borderLeftWidth:Le,borderRadius:Le,borderTopLeftRadius:Le,borderTopRightRadius:Le,borderBottomRightRadius:Le,borderBottomLeftRadius:Le,width:Le,maxWidth:Le,height:Le,maxHeight:Le,top:Le,right:Le,bottom:Le,left:Le,inset:Le,insetBlock:Le,insetBlockStart:Le,insetBlockEnd:Le,insetInline:Le,insetInlineStart:Le,insetInlineEnd:Le,padding:Le,paddingTop:Le,paddingRight:Le,paddingBottom:Le,paddingLeft:Le,paddingBlock:Le,paddingBlockStart:Le,paddingBlockEnd:Le,paddingInline:Le,paddingInlineStart:Le,paddingInlineEnd:Le,margin:Le,marginTop:Le,marginRight:Le,marginBottom:Le,marginLeft:Le,marginBlock:Le,marginBlockStart:Le,marginBlockEnd:Le,marginInline:Le,marginInlineStart:Le,marginInlineEnd:Le,fontSize:Le,backgroundPositionX:Le,backgroundPositionY:Le,...f3,zIndex:QS,fillOpacity:wd,strokeOpacity:wd,numOctaves:QS},d3={...kw,color:Mr,backgroundColor:Mr,outlineColor:Mr,fill:Mr,stroke:Mr,borderColor:Mr,borderTopColor:Mr,borderRightColor:Mr,borderBottomColor:Mr,borderLeftColor:Mr,filter:e0,WebkitFilter:e0,mask:t0,WebkitMask:t0},kk=t=>d3[t],h3=new Set([e0,t0]);function Rk(t,e){let n=kk(t);return h3.has(n)||(n=Io),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const p3=new Set(["auto","none","0"]);function m3(t,e,n){let r=0,i;for(;r<t.length&&!i;){const o=t[r];typeof o=="string"&&!p3.has(o)&&xd(o).values.length&&(i=t[r]),r++}if(i&&n)for(const o of e)t[o]=Rk(n,i)}class g3 extends Tw{constructor(e,n,r,i,o){super(e,n,r,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let h=0;h<e.length;h++){let m=e[h];if(typeof m=="string"&&(m=m.trim(),mw(m))){const y=xk(m,n.current);y!==void 0&&(e[h]=y),h===e.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!Sk.has(r)||e.length!==2)return;const[i,o]=e,l=qS(i),u=qS(o),f=IS(i),d=IS(o);if(f!==d&&vl[r]){this.needsMeasurement=!0;return}if(l!==u)if(HS(l)&&HS(u))for(let h=0;h<e.length;h++){const m=e[h];typeof m=="string"&&(e[h]=parseFloat(m))}else vl[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,r=[];for(let i=0;i<e.length;i++)(e[i]===null||a3(e[i]))&&r.push(i);r.length&&m3(e,r,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:r}=this;if(!e||!e.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=vl[r](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&e.getValue(r,i).jump(i,!1)}measureEndState(){const{element:e,name:n,unresolvedKeyframes:r}=this;if(!e||!e.current)return;const i=e.getValue(n);i&&i.jump(this.measuredOrigin,!1);const o=r.length-1,l=r[o];r[o]=vl[n](e.measureViewportBox(),window.getComputedStyle(e.current)),l!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=l),this.removedTransforms?.length&&this.removedTransforms.forEach(([u,f])=>{e.getValue(u).set(f)}),this.resolveNoneKeyframes()}}const y3=new Set(["opacity","clipPath","filter","transform"]);function Ok(t,e,n){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let r=document;const i=n?.[t]??r.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t).filter(r=>r!=null)}const Ak=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function n0(t){return VP(t)&&"offsetHeight"in t}const{schedule:Rw}=ZP(queueMicrotask,!1),Mo={x:!1,y:!1};function Mk(){return Mo.x||Mo.y}function v3(t){return t==="x"||t==="y"?Mo[t]?null:(Mo[t]=!0,()=>{Mo[t]=!1}):Mo.x||Mo.y?null:(Mo.x=Mo.y=!0,()=>{Mo.x=Mo.y=!1})}function Dk(t,e){const n=Ok(t),r=new AbortController,i={passive:!0,...e,signal:r.signal};return[n,i,()=>r.abort()]}function w3(t){return!(t.pointerType==="touch"||Mk())}function x3(t,e,n={}){const[r,i,o]=Dk(t,n);return r.forEach(l=>{let u=!1,f=!1,d;const h=()=>{l.removeEventListener("pointerleave",_)},m=S=>{d&&(d(S),d=void 0),h()},y=S=>{u=!1,window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",y),f&&(f=!1,m(S))},g=()=>{u=!0,window.addEventListener("pointerup",y,i),window.addEventListener("pointercancel",y,i)},_=S=>{if(S.pointerType!=="touch"){if(u){f=!0;return}m(S)}},w=S=>{if(!w3(S))return;f=!1;const C=e(l,S);typeof C=="function"&&(d=C,l.addEventListener("pointerleave",_,i))};l.addEventListener("pointerenter",w,i),l.addEventListener("pointerdown",g,i)}),o}const Lk=(t,e)=>e?t===e?!0:Lk(t,e.parentElement):!1,Ow=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,_3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function S3(t){return _3.has(t.tagName)||t.isContentEditable===!0}const T3=new Set(["INPUT","SELECT","TEXTAREA"]);function C3(t){return T3.has(t.tagName)||t.isContentEditable===!0}const xp=new WeakSet;function ZS(t){return e=>{e.key==="Enter"&&t(e)}}function Dy(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const b3=(t,e)=>{const n=t.currentTarget;if(!n)return;const r=ZS(()=>{if(xp.has(n))return;Dy(n,"down");const i=ZS(()=>{Dy(n,"up")}),o=()=>Dy(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",o,e)});n.addEventListener("keydown",r,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),e)};function JS(t){return Ow(t)&&!Mk()}const eT=new WeakSet;function E3(t,e,n={}){const[r,i,o]=Dk(t,n),l=u=>{const f=u.currentTarget;if(!JS(u)||eT.has(u))return;xp.add(f),n.stopPropagation&&eT.add(u);const d=e(f,u),h=(g,_)=>{window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",y),xp.has(f)&&xp.delete(f),JS(g)&&typeof d=="function"&&d(g,{success:_})},m=g=>{h(g,f===window||f===document||n.useGlobalTarget||Lk(f,g.target))},y=g=>{h(g,!1)};window.addEventListener("pointerup",m,i),window.addEventListener("pointercancel",y,i)};return r.forEach(u=>{(n.useGlobalTarget?window:u).addEventListener("pointerdown",l,i),n0(u)&&(u.addEventListener("focus",d=>b3(d,i)),!S3(u)&&!u.hasAttribute("tabindex")&&(u.tabIndex=0))}),o}function Aw(t){return VP(t)&&"ownerSVGElement"in t}const _p=new WeakMap;let Sp;const Nk=(t,e,n)=>(r,i)=>i&&i[0]?i[0][t+"Size"]:Aw(r)&&"getBBox"in r?r.getBBox()[e]:r[n],P3=Nk("inline","width","offsetWidth"),k3=Nk("block","height","offsetHeight");function R3({target:t,borderBoxSize:e}){_p.get(t)?.forEach(n=>{n(t,{get width(){return P3(t,e)},get height(){return k3(t,e)}})})}function O3(t){t.forEach(R3)}function A3(){typeof ResizeObserver>"u"||(Sp=new ResizeObserver(O3))}function M3(t,e){Sp||A3();const n=Ok(t);return n.forEach(r=>{let i=_p.get(r);i||(i=new Set,_p.set(r,i)),i.add(e),Sp?.observe(r)}),()=>{n.forEach(r=>{const i=_p.get(r);i?.delete(e),i?.size||Sp?.unobserve(r)})}}const Tp=new Set;let pc;function D3(){pc=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};Tp.forEach(e=>e(t))},window.addEventListener("resize",pc)}function L3(t){return Tp.add(t),pc||D3(),()=>{Tp.delete(t),!Tp.size&&typeof pc=="function"&&(window.removeEventListener("resize",pc),pc=void 0)}}function tT(t,e){return typeof t=="function"?L3(t):M3(t,e)}function N3(t){return Aw(t)&&t.tagName==="svg"}const I3=[...Pk,Mr,Io],F3=t=>I3.find(Ek(t)),nT=()=>({translate:0,scale:1,origin:0,originPoint:0}),mc=()=>({x:nT(),y:nT()}),rT=()=>({min:0,max:0}),zr=()=>({x:rT(),y:rT()}),V3=new WeakMap;function Em(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function _d(t){return typeof t=="string"||Array.isArray(t)}const Mw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Dw=["initial",...Mw];function Pm(t){return Em(t.animate)||Dw.some(e=>_d(t[e]))}function Ik(t){return!!(Pm(t)||t.variants)}function z3(t,e,n){for(const r in e){const i=e[r],o=n[r];if(Ci(i))t.addValue(r,i);else if(Ci(o))t.addValue(r,zc(i,{owner:t}));else if(o!==i)if(t.hasValue(r)){const l=t.getValue(r);l.liveStyle===!0?l.jump(i):l.hasAnimated||l.set(i)}else{const l=t.getStaticValue(r);t.addValue(r,zc(l!==void 0?l:i,{owner:t}))}}for(const r in n)e[r]===void 0&&t.removeValue(r);return e}const r0={current:null},Fk={current:!1},j3=typeof window<"u";function $3(){if(Fk.current=!0,!!j3)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>r0.current=t.matches;t.addEventListener("change",e),e()}else r0.current=!1}const iT=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Jp={};function Vk(t){Jp=t}function B3(){return Jp}class U3{scrapeMotionValuesFromProps(e,n,r){return{}}constructor({parent:e,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:o,blockInitialAnimation:l,visualState:u},f={}){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=Tw,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=()=>{const g=Wi.now();this.renderScheduledAt<g&&(this.renderScheduledAt=g,mn.render(this.render,!1,!0))};const{latestValues:d,renderState:h}=u;this.latestValues=d,this.baseTarget={...d},this.initialValues=n.initial?{...d}:{},this.renderState=h,this.parent=e,this.props=n,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=o,this.options=f,this.blockInitialAnimation=!!l,this.isControllingVariants=Pm(n),this.isVariantNode=Ik(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:m,...y}=this.scrapeMotionValuesFromProps(n,{},this);for(const g in y){const _=y[g];d[g]!==void 0&&Ci(_)&&_.set(d[g])}}mount(e){if(this.hasBeenMounted)for(const n in this.initialValues)this.values.get(n)?.jump(this.initialValues[n]),this.latestValues[n]=this.initialValues[n];this.current=e,V3.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),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:(Fk.current||$3(),this.shouldReduceMotion=r0.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(),Rl(this.notifyUpdate),Rl(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,n){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),n.accelerate&&y3.has(e)&&this.current instanceof HTMLElement){const{factory:l,keyframes:u,times:f,ease:d,duration:h}=n.accelerate,m=new yk({element:this.current,name:e,keyframes:u,times:f,ease:d,duration:No(h)}),y=l(m);this.valueSubscriptions.set(e,()=>{y(),m.cancel()});return}const r=Gc.has(e);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",l=>{this.latestValues[e]=l,this.props.onUpdate&&mn.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),o&&o(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Jp){const n=Jp[e];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[e]&&i&&r(this.props)&&(this.features[e]=new i(this)),this.features[e]){const o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):zr()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<iT.length;r++){const i=iT[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,l=e[o];l&&(this.propEventSubscriptions[i]=this.on(i,l))}this.prevMotionValues=z3(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
vendor: 7,035 bytes, line 53
53addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const r=this.values.get(e);n!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return r===void 0&&n!==void 0&&(r=zc(n===null?void 0:n,{owner:this}),this.addValue(e,r)),r}readValue(e,n){let r=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return r!=null&&(typeof r=="string"&&(FP(r)||zP(r))?r=parseFloat(r):!F3(r)&&Io.test(n)&&(r=Rk(e,n)),this.setBaseTarget(e,Ci(r)?r.get():r)),Ci(r)?r.get():r}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=Ew(this.props,n,this.presenceContext?.custom);o&&(r=o[e])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!Ci(i)?i:this.initialValues[e]!==void 0&&r===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new dw),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}scheduleRenderMicrotask(){Rw.render(this.render)}}class zk extends U3{constructor(){super(...arguments),this.KeyframeResolver=g3}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){const r=e.style;return r?r[n]:void 0}removeValueFromRenderState(e,{vars:n,style:r}){delete n[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Ci(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Ml{constructor(e){this.isMounted=!1,this.node=e}update(){}}function jk({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function W3({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function H3(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Ly(t){return t===void 0||t===1}function i0({scale:t,scaleX:e,scaleY:n}){return!Ly(t)||!Ly(e)||!Ly(n)}function pu(t){return i0(t)||$k(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function $k(t){return sT(t.x)||sT(t.y)}function sT(t){return t&&t!=="0%"}function em(t,e,n){const r=t-n,i=e*r;return n+i}function oT(t,e,n,r,i){return i!==void 0&&(t=em(t,i,r)),em(t,n,r)+e}function s0(t,e=0,n=1,r,i){t.min=oT(t.min,e,n,r,i),t.max=oT(t.max,e,n,r,i)}function Bk(t,{x:e,y:n}){s0(t.x,e.translate,e.scale,e.originPoint),s0(t.y,n.translate,n.scale,n.originPoint)}const aT=.999999999999,lT=1.0000000000001;function Y3(t,e,n,r=!1){const i=n.length;if(!i)return;e.x=e.y=1;let o,l;for(let u=0;u<i;u++){o=n[u],l=o.projectionDelta;const{visualElement:f}=o.options;f&&f.props.style&&f.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&yc(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),l&&(e.x*=l.x.scale,e.y*=l.y.scale,Bk(t,l)),r&&pu(o.latestValues)&&yc(t,o.latestValues))}e.x<lT&&e.x>aT&&(e.x=1),e.y<lT&&e.y>aT&&(e.y=1)}function gc(t,e){t.min=t.min+e,t.max=t.max+e}function uT(t,e,n,r,i=.5){const o=Xn(t.min,t.max,i);s0(t,e,n,o,r)}function cT(t,e){return typeof t=="string"?parseFloat(t)/100*(e.max-e.min):t}function yc(t,e){uT(t.x,cT(e.x,t.x),e.scaleX,e.scale,e.originX),uT(t.y,cT(e.y,t.y),e.scaleY,e.scale,e.originY)}function Uk(t,e){return jk(H3(t.getBoundingClientRect(),e))}function K3(t,e,n){const r=Uk(t,n),{scroll:i}=e;return i&&(gc(r.x,i.offset.x),gc(r.y,i.offset.y)),r}const X3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},G3=Xc.length;function q3(t,e,n){let r="",i=!0;for(let o=0;o<G3;o++){const l=Xc[o],u=t[l];if(u===void 0)continue;let f=!0;if(typeof u=="number")f=u===(l.startsWith("scale")?1:0);else{const d=parseFloat(u);f=l.startsWith("scale")?d===1:d===0}if(!f||n){const d=Ak(u,kw[l]);if(!f){i=!1;const h=X3[l]||l;r+=`${h}(${d}) `}n&&(e[l]=d)}}return r=r.trim(),n?r=n(e,i?"":r):i&&(r="none"),r}function Lw(t,e,n){const{style:r,vars:i,transformOrigin:o}=t;let l=!1,u=!1;for(const f in e){const d=e[f];if(Gc.has(f)){l=!0;continue}else if(ek(f)){i[f]=d;continue}else{const h=Ak(d,kw[f]);f.startsWith("origin")?(u=!0,o[f]=h):r[f]=h}}if(e.transform||(l||n?r.transform=q3(e,t.transform,n):r.transform&&(r.transform="none")),u){const{originX:f="50%",originY:d="50%",originZ:h=0}=o;r.transformOrigin=`${f} ${d} ${h}`}}function Wk(t,{style:e,vars:n},r,i){const o=t.style;let l;for(l in e)o[l]=e[l];i?.applyProjectionStyles(o,r);for(l in n)o.setProperty(l,n[l])}function fT(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const kf={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(Le.test(t))t=parseFloat(t);else return t;const n=fT(t,e.target.x),r=fT(t,e.target.y);return`${n}% ${r}%`}},Q3={correct:(t,{treeScale:e,projectionDelta:n})=>{const r=t,i=Io.parse(t);if(i.length>5)return r;const o=Io.createTransformer(t),l=typeof i[0]!="number"?1:0,u=n.x.scale*e.x,f=n.y.scale*e.y;i[0+l]/=u,i[1+l]/=f;const d=Xn(u,f,.5);return typeof i[2+l]=="number"&&(i[2+l]/=d),typeof i[3+l]=="number"&&(i[3+l]/=d),o(i)}},o0={borderRadius:{...kf,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:kf,borderTopRightRadius:kf,borderBottomLeftRadius:kf,borderBottomRightRadius:kf,boxShadow:Q3};function Hk(t,{layout:e,layoutId:n}){return Gc.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!o0[t]||t==="opacity")}function Nw(t,e,n){const r=t.style,i=e?.style,o={};if(!r)return o;for(const l in r)(Ci(r[l])||i&&Ci(i[l])||Hk(l,t)||n?.getValue(l)?.liveStyle!==void 0)&&(o[l]=r[l]);return o}function Z3(t){return window.getComputedStyle(t)}class J3 extends zk{constructor(){super(...arguments),this.type="html",this.renderInstance=Wk}readValueFromInstance(e,n){if(Gc.has(n))return this.projection?.isProjecting?Hv(n):vj(e,n);{const r=Z3(e),i=(ek(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return Uk(e,n)}build(e,n,r){Lw(e,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,n,r){return Nw(e,n,r)}}const e$={offset:"stroke-dashoffset",array:"stroke-dasharray"},t$={offset:"strokeDashoffset",array:"strokeDasharray"};function n$(t,e,n=1,r=0,i=!0){t.pathLength=1;const o=i?e$:t$;t[o.offset]=`${-r}`,t[o.array]=`${e} ${n}`}const r$=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Yk(t,{attrX:e,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:l=0,...u}
vendor: 14,207 bytes, line 53
53,f,d,h){if(Lw(t,u,d),f){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:m,style:y}=t;m.transform&&(y.transform=m.transform,delete m.transform),(y.transform||m.transformOrigin)&&(y.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),y.transform&&(y.transformBox=h?.transformBox??"fill-box",delete m.transformBox);for(const g of r$)m[g]!==void 0&&(y[g]=m[g],delete m[g]);e!==void 0&&(m.x=e),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),i!==void 0&&n$(m,i,o,l,!1)}const Kk=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"]),Xk=t=>typeof t=="string"&&t.toLowerCase()==="svg";function i$(t,e,n,r){Wk(t,e,void 0,r);for(const i in e.attrs)t.setAttribute(Kk.has(i)?i:Pw(i),e.attrs[i])}function Gk(t,e,n){const r=Nw(t,e,n);for(const i in t)if(Ci(t[i])||Ci(e[i])){const o=Xc.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=t[i]}return r}class s$ extends zk{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=zr}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(Gc.has(n)){const r=kk(n);return r&&r.default||0}return n=Kk.has(n)?n:Pw(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,r){return Gk(e,n,r)}build(e,n,r){Yk(e,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,n,r,i){i$(e,n,r,i)}mount(e){this.isSVGTag=Xk(e.tagName),super.mount(e)}}const o$=Dw.length;function qk(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?qk(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<o$;n++){const r=Dw[n],i=t.props[r];(_d(i)||i===!1)&&(e[r]=i)}return e}function Qk(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}const a$=[...Mw].reverse(),l$=Mw.length;function u$(t){return e=>Promise.all(e.map(({animation:n,options:r})=>s3(t,n,r)))}function c$(t){let e=u$(t),n=dT(),r=!0,i=!1;const o=d=>(h,m)=>{const y=Rc(t,m,d==="exit"?t.presenceContext?.custom:void 0);if(y){const{transition:g,transitionEnd:_,...w}=y;h={...h,...w,..._}}return h};function l(d){e=d(t)}function u(d){const{props:h}=t,m=qk(t.parent)||{},y=[],g=new Set;let _={},w=1/0;for(let C=0;C<l$;C++){const b=a$[C],R=n[b],P=h[b]!==void 0?h[b]:m[b],O=_d(P),N=b===d?R.isActive:null;N===!1&&(w=C);let L=P===m[b]&&P!==h[b]&&O;if(L&&(r||i)&&t.manuallyAnimateOnMount&&(L=!1),R.protectedKeys={..._},!R.isActive&&N===null||!P&&!R.prevProp||Em(P)||typeof P=="boolean")continue;if(b==="exit"&&R.isActive&&N!==!0){R.prevResolvedValues&&(_={..._,...R.prevResolvedValues});continue}const F=f$(R.prevProp,P);let j=F||b===d&&R.isActive&&!L&&O||C>w&&O,B=!1;const re=Array.isArray(P)?P:[P];let W=re.reduce(o(b),{});N===!1&&(W={});const{prevResolvedValues:ie={}}=R,ee={...ie,...W},me=$=>{j=!0,g.has($)&&(B=!0,g.delete($)),R.needsAnimating[$]=!0;const K=t.getValue($);K&&(K.liveStyle=!1)};for(const $ in ee){const K=W[$],D=ie[$];if(_.hasOwnProperty($))continue;let V=!1;Qv(K)&&Qv(D)?V=!Qk(K,D):V=K!==D,V?K!=null?me($):g.add($):K!==void 0&&g.has($)?me($):R.protectedKeys[$]=!0}R.prevProp=P,R.prevResolvedValues=W,R.isActive&&(_={..._,...W}),(r||i)&&t.blockInitialAnimation&&(j=!1);const le=L&&F;j&&(!le||B)&&y.push(...re.map($=>{const K={type:b};if(typeof $=="string"&&(r||i)&&!le&&t.manuallyAnimateOnMount&&t.parent){const{parent:D}=t,V=Rc(D,$);if(D.enteringChildren&&V){const{delayChildren:G}=V.transition||{};K.delay=wk(D.enteringChildren,t,G)}}return{animation:$,options:K}}))}if(g.size){const C={};if(typeof h.initial!="boolean"){const b=Rc(t,Array.isArray(h.initial)?h.initial[0]:h.initial);b&&b.transition&&(C.transition=b.transition)}g.forEach(b=>{const R=t.getBaseTarget(b),P=t.getValue(b);P&&(P.liveStyle=!0),C[b]=R??null}),y.push({animation:C})}let S=!!y.length;return r&&(h.initial===!1||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(S=!1),r=!1,i=!1,S?e(y):Promise.resolve()}function f(d,h){if(n[d].isActive===h)return Promise.resolve();t.variantChildren?.forEach(y=>y.animationState?.setActive(d,h)),n[d].isActive=h;const m=u(d);for(const y in n)n[y].protectedKeys={};return m}return{animateChanges:u,setActive:f,setAnimateFunction:l,getState:()=>n,reset:()=>{n=dT(),i=!0}}}function f$(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Qk(e,t):!1}function cu(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function dT(){return{animate:cu(!0),whileInView:cu(),whileHover:cu(),whileTap:cu(),whileDrag:cu(),whileFocus:cu(),exit:cu()}}function hT(t,e){t.min=e.min,t.max=e.max}function Oo(t,e){hT(t.x,e.x),hT(t.y,e.y)}function pT(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const Zk=1e-4,d$=1-Zk,h$=1+Zk,Jk=.01,p$=0-Jk,m$=0+Jk;function Hi(t){return t.max-t.min}function g$(t,e,n){return Math.abs(t-e)<=n}function mT(t,e,n,r=.5){t.origin=r,t.originPoint=Xn(e.min,e.max,t.origin),t.scale=Hi(n)/Hi(e),t.translate=Xn(n.min,n.max,t.origin)-t.originPoint,(t.scale>=d$&&t.scale<=h$||isNaN(t.scale))&&(t.scale=1),(t.translate>=p$&&t.translate<=m$||isNaN(t.translate))&&(t.translate=0)}function td(t,e,n,r){mT(t.x,e.x,n.x,r?r.originX:void 0),mT(t.y,e.y,n.y,r?r.originY:void 0)}function gT(t,e,n){t.min=n.min+e.min,t.max=t.min+Hi(e)}function y$(t,e,n){gT(t.x,e.x,n.x),gT(t.y,e.y,n.y)}function yT(t,e,n){t.min=e.min-n.min,t.max=t.min+Hi(e)}function tm(t,e,n){yT(t.x,e.x,n.x),yT(t.y,e.y,n.y)}function vT(t,e,n,r,i){return t-=e,t=em(t,1/n,r),i!==void 0&&(t=em(t,1/i,r)),t}function v$(t,e=0,n=1,r=.5,i,o=t,l=t){if(oa.test(e)&&(e=parseFloat(e),e=Xn(l.min,l.max,e/100)-l.min),typeof e!="number")return;let u=Xn(o.min,o.max,r);t===o&&(u-=e),t.min=vT(t.min,e,n,u,i),t.max=vT(t.max,e,n,u,i)}function wT(t,e,[n,r,i],o,l){v$(t,e[n],e[r],e[i],e.scale,o,l)}const w$=["x","scaleX","originX"],x$=["y","scaleY","originY"];function xT(t,e,n,r){wT(t.x,e,w$,n?n.x:void 0,r?r.x:void 0),wT(t.y,e,x$,n?n.y:void 0,r?r.y:void 0)}function _T(t){return t.translate===0&&t.scale===1}function eR(t){return _T(t.x)&&_T(t.y)}function ST(t,e){return t.min===e.min&&t.max===e.max}function _$(t,e){return ST(t.x,e.x)&&ST(t.y,e.y)}function TT(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function tR(t,e){return TT(t.x,e.x)&&TT(t.y,e.y)}function CT(t){return Hi(t.x)/Hi(t.y)}function bT(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function Go(t){return[t("x"),t("y")]}function S$(t,e,n){let r="";const i=t.x.translate/e.x,o=t.y.translate/e.y,l=n?.z||0;if((i||o||l)&&(r=`translate3d(${i}px, ${o}px, ${l}px) `),(e.x!==1||e.y!==1)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:d,rotate:h,rotateX:m,rotateY:y,skewX:g,skewY:_}=n;d&&(r=`perspective(${d}px) ${r}`),h&&(r+=`rotate(${h}deg) `),m&&(r+=`rotateX(${m}deg) `),y&&(r+=`rotateY(${y}deg) `),g&&(r+=`skewX(${g}deg) `),_&&(r+=`skewY(${_}deg) `)}const u=t.x.scale*e.x,f=t.y.scale*e.y;return(u!==1||f!==1)&&(r+=`scale(${u}, ${f})`),r||"none"}const nR=["TopLeft","TopRight","BottomLeft","BottomRight"],T$=nR.length,ET=t=>typeof t=="string"?parseFloat(t):t,PT=t=>typeof t=="number"||Le.test(t);function C$(t,e,n,r,i,o){i?(t.opacity=Xn(0,n.opacity??1,b$(r)),t.opacityExit=Xn(e.opacity??1,0,E$(r))):o&&(t.opacity=Xn(e.opacity??1,n.opacity??1,r));for(let l=0;l<T$;l++){const u=`border${nR[l]}Radius`;let f=kT(e,u),d=kT(n,u);if(f===void 0&&d===void 0)continue;f||(f=0),d||(d=0),f===0||d===0||PT(f)===PT(d)?(t[u]=Math.max(Xn(ET(f),ET(d),r),0),(oa.test(d)||oa.test(f))&&(t[u]+="%")):t[u]=d}(e.rotate||n.rotate)&&(t.rotate=Xn(e.rotate||0,n.rotate||0,r))}function kT(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const b$=rR(0,.5,XP),E$=rR(.5,.95,fo);function rR(t,e,n){return r=>r<t?0:r>e?1:n(vd(t,e,r))}function P$(t,e,n){const r=Ci(t)?t:zc(t);return r.start(bw("",r,e,n)),r.animation}function Sd(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}const k$=(t,e)=>t.depth-e.depth;class R${constructor(){this.children=[],this.isDirty=!1}add(e){cw(this.children,e),this.isDirty=!0}remove(e){Gp(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(k$),this.isDirty=!1,this.children.forEach(e)}}function O$(t,e){const n=Wi.now(),r=({timestamp:i})=>{const o=i-n;o>=e&&(Rl(r),t(o-e))};return mn.setup(r,!0),()=>Rl(r)}function Cp(t){return Ci(t)?t.get():t}class A${constructor(){this.members=[]}add(e){cw(this.members,e);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===e||r===this.lead||r===this.prevLead)continue;const i=r.instance;(!i||i.isConnected===!1)&&!r.snapshot&&(Gp(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if(Gp(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){for(let n=this.members.indexOf(e)-1;n>=0;n--){const r=this.members[n];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(e,n){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();const{layoutDependency:i}=r.options,{layoutDependency:o}=e.options;(i===void 0||i!==o)&&(e.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const bp={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ny=["","X","Y","Z"],M$=1e3;let D$=0;function Iy(t,e,n,r){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),r&&(r[t]=0))}function iR(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=Ck(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",mn,!(i||o))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&iR(r)}function sR({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(l={},u=e?.()){this.id=D$++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(I$),this.nodes.forEach(j$),this.nodes.forEach($$),this.nodes.forEach(F$)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new R$)}addEventListener(l,u){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new dw),this.eventHandlers.get(l).add(u)}notifyListeners(l,...u){const f=this.eventHandlers.get(l);f&&f.notify(...u)}hasListeners(l){return this.eventHandlers.has(l)}mount(l){if(this.instance)return;this.isSVG=Aw(l)&&!N3(l),this.instance=l;const{layoutId:u,layout:f,visualElement:d}=this.options;if(d&&!d.current&&d.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(f||u)&&(this.isLayoutDirty=!0),t){let h,m=0;const y=()=>this.root.updateBlockedByResize=!1;mn.read(()=>{m=window.innerWidth}),t(l,()=>{const g=window.innerWidth;g!==m&&(m=g,this.root.updateBlockedByResize=!0,h&&h(),h=O$(y,250),bp.hasAnimatedSinceResize&&(bp.hasAnimatedSinceResize=!1,this.nodes.forEach(AT)))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&d&&(u||f)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:m,hasRelativeLayoutChanged:y,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const _=this.options.transition||d.getDefaultTransition()||Y$,{onLayoutAnimationStart:w,onLayoutAnimationComplete:S}=d.getProps(),C=!this.targetLayout||!tR(this.targetLayout,g),b=!m&&y;if(this.options.layoutRoot||this.resumeFrom||b||m&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const R={...Cw(_,"layout"),onPlay:w,onComplete:S};(d.shouldReduceMotion||this.options.layoutRoot)&&(R.delay=0,R.type=!1),this.startAnimation(R),this.setAnimationOrigin(h,b)}else m||AT(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Rl(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.forEac
vendor: 7,584 bytes, line 53
53h(B$),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&iR(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let h=0;h<this.path.length;h++){const m=this.path[h];m.shouldResetTransform=!0,m.updateScroll("snapshot"),m.options.layoutRoot&&m.willUpdate(!1)}const{layoutId:u,layout:f}=this.options;if(u===void 0&&!f)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(RT);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(OT);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(z$),this.nodes.forEach(L$),this.nodes.forEach(N$)):this.nodes.forEach(OT),this.clearAllSnapshots();const u=Wi.now();oi.delta=ua(0,1e3/60,u-oi.timestamp),oi.timestamp=u,oi.isProcessing=!0,Py.update.process(oi),Py.preRender.process(oi),Py.render.process(oi),oi.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Rw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(V$),this.sharedNodes.forEach(U$)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,mn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){mn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Hi(this.snapshot.measuredBox.x)&&!Hi(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 f=0;f<this.path.length;f++)this.path[f].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=zr(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let u=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(u=!1),u&&this.instance){const f=r(this.instance);this.scroll={animationId:this.root.animationId,phase:l,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!i)return;const l=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!eR(this.projectionDelta),f=this.getTransformTemplate(),d=f?f(this.latestValues,""):void 0,h=d!==this.prevTransformTemplateValue;l&&this.instance&&(u||pu(this.latestValues)||h)&&(i(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const u=this.measurePageBox();let f=this.removeElementScroll(u);return l&&(f=this.removeTransform(f)),K$(f),{animationId:this.root.animationId,measuredBox:u,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:l}=this.options;if(!l)return zr();const u=l.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(X$))){const{scroll:d}=this.root;d&&(gc(u.x,d.offset.x),gc(u.y,d.offset.y))}return u}removeElementScroll(l){const u=zr();if(Oo(u,l),this.scroll?.wasRoot)return u;for(let f=0;f<this.path.length;f++){const d=this.path[f],{scroll:h,options:m}=d;d!==this.root&&h&&m.layoutScroll&&(h.wasRoot&&Oo(u,l),gc(u.x,h.offset.x),gc(u.y,h.offset.y))}return u}applyTransform(l,u=!1){const f=zr();Oo(f,l);for(let d=0;d<this.path.length;d++){const h=this.path[d];!u&&h.options.layoutScroll&&h.scroll&&h!==h.root&&yc(f,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),pu(h.latestValues)&&yc(f,h.latestValues)}return pu(this.latestValues)&&yc(f,this.latestValues),f}removeTransform(l){const u=zr();Oo(u,l);for(let f=0;f<this.path.length;f++){const d=this.path[f];if(!d.instance||!pu(d.latestValues))continue;i0(d.latestValues)&&d.updateSnapshot();const h=zr(),m=d.measurePageBox();Oo(h,m),xT(u,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,h)}return pu(this.latestValues)&&xT(u,this.latestValues),u}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.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!==oi.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){const u=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=u.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=u.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=u.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==u;if(!(l||f&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:h,layoutId:m}=this.options;if(!this.layout||!(h||m))return;this.resolvedRelativeTargetAt=oi.timestamp;const y=this.getClosestProjectingParent();y&&this.linkedParentVersion!==y.layoutVersion&&!y.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(y&&y.layout?this.createRelativeTarget(y,this.layout.layoutBox,y.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=zr(),this.targetWithTransforms=zr()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),y$(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Oo(this.target,this.layout.layoutBox),Bk(this.target,this.targetDelta)):Oo(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,y&&!!y.resumingFrom==!!this.resumingFrom&&!y.options.layoutScroll&&y.target&&this.animationProgress!==1?this.createRelativeTarget(y,this.target,y.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||i0(this.parent.latestValues)||$k(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(l,u,f){this.relativeParent=l,this.linkedParentVersion=l.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=zr(),this.relativeTargetOrigin=zr(),tm(this.relativeTargetOrigin,u,f),Oo(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const l=this.getLead(),u=!!this.resumingFrom||this!==l;let f=!0;
vendor: 4,768 bytes, line 53
53if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(f=!1),u&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===oi.timestamp&&(f=!1),f)return;const{layout:d,layoutId:h}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||h))return;Oo(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,y=this.treeScale.y;Y3(this.layoutCorrected,this.treeScale,this.path,u),l.layout&&!l.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(l.target=l.layout.layoutBox,l.targetWithTransforms=zr());const{target:g}=l;if(!g){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(pT(this.prevProjectionDelta.x,this.projectionDelta.x),pT(this.prevProjectionDelta.y,this.projectionDelta.y)),td(this.projectionDelta,this.layoutCorrected,g,this.latestValues),(this.treeScale.x!==m||this.treeScale.y!==y||!bT(this.projectionDelta.x,this.prevProjectionDelta.x)||!bT(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){if(this.options.visualElement?.scheduleRender(),l){const u=this.getStack();u&&u.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=mc(),this.projectionDelta=mc(),this.projectionDeltaWithTransform=mc()}setAnimationOrigin(l,u=!1){const f=this.snapshot,d=f?f.latestValues:{},h={...this.latestValues},m=mc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const y=zr(),g=f?f.source:void 0,_=this.layout?this.layout.source:void 0,w=g!==_,S=this.getStack(),C=!S||S.members.length<=1,b=!!(w&&!C&&this.options.crossfade===!0&&!this.path.some(H$));this.animationProgress=0;let R;this.mixTargetDelta=P=>{const O=P/1e3;MT(m.x,l.x,O),MT(m.y,l.y,O),this.setTargetDelta(m),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(tm(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),W$(this.relativeTarget,this.relativeTargetOrigin,y,O),R&&_$(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=zr()),Oo(R,this.relativeTarget)),w&&(this.animationValues=h,C$(h,d,this.latestValues,O,b,C)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=O},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Rl(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=mn.update(()=>{bp.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=zc(0)),this.motionValue.jump(0,!1),this.currentAnimation=P$(this.motionValue,[0,1e3],{...l,velocity:0,isSync:!0,onUpdate:u=>{this.mixTargetDelta(u),l.onUpdate&&l.onUpdate(u)},onStop:()=>{},onComplete:()=>{l.onComplete&&l.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(M$),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:u,target:f,layout:d,latestValues:h}=l;if(!(!u||!f||!d)){if(this!==l&&this.layout&&d&&oR(this.options.animationType,this.layout.layoutBox,d.layoutBox)){f=this.target||zr();const m=Hi(this.layout.layoutBox.x);f.x.min=l.target.x.min,f.x.max=f.x.min+m;const y=Hi(this.layout.layoutBox.y);f.y.min=l.target.y.min,f.y.max=f.y.min+y}Oo(u,f),yc(u,h),td(this.projectionDeltaWithTransform,this.layoutCorrected,u,h)}}registerSharedNode(l,u){this.sharedNodes.has(l)||this.sharedNodes.set(l,new A$),this.sharedNodes.get(l).add(u);const d=u.options.initialPromotionConfig;u.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(u):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){const{layoutId:l}=this.options;
vendor: 14,051 bytes, lines 53-61
53return l?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:l}=this.options;return l?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:u,preserveFollowOpacity:f}={}){const d=this.getStack();d&&d.promote(this,f),l&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetSkewAndRotation(){const{visualElement:l}=this.options;if(!l)return;let u=!1;const{latestValues:f}=l;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(u=!0),!u)return;const d={};f.z&&Iy("z",l,d,this.animationValues);for(let h=0;h<Ny.length;h++)Iy(`rotate${Ny[h]}`,l,d,this.animationValues),Iy(`skew${Ny[h]}`,l,d,this.animationValues);l.render();for(const h in d)l.setStaticValue(h,d[h]),this.animationValues&&(this.animationValues[h]=d[h]);l.scheduleRender()}applyProjectionStyles(l,u){if(!this.instance||this.isSVG)return;if(!this.isVisible){l.visibility="hidden";return}const f=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,l.visibility="",l.opacity="",l.pointerEvents=Cp(u?.pointerEvents)||"",l.transform=f?f(this.latestValues,""):"none";return}const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){this.options.layoutId&&(l.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,l.pointerEvents=Cp(u?.pointerEvents)||""),this.hasProjected&&!pu(this.latestValues)&&(l.transform=f?f({},""):"none",this.hasProjected=!1);return}l.visibility="";const h=d.animationValues||d.latestValues;this.applyTransformsToTarget();let m=S$(this.projectionDeltaWithTransform,this.treeScale,h);f&&(m=f(h,m)),l.transform=m;const{x:y,y:g}=this.projectionDelta;l.transformOrigin=`${y.origin*100}% ${g.origin*100}% 0`,d.animationValues?l.opacity=d===this?h.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:l.opacity=d===this?h.opacity!==void 0?h.opacity:"":h.opacityExit!==void 0?h.opacityExit:0;for(const _ in o0){if(h[_]===void 0)continue;const{correct:w,applyTo:S,isCSSVariable:C}=o0[_],b=m==="none"?h[_]:w(h[_],d);if(S){const R=S.length;for(let P=0;P<R;P++)l[S[P]]=b}else C?this.options.visualElement.renderState.vars[_]=b:l[_]=b}this.options.layoutId&&(l.pointerEvents=d===this?Cp(u?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>l.currentAnimation?.stop()),this.root.nodes.forEach(RT),this.root.sharedNodes.clear()}}}function L$(t){t.updateLayout()}function N$(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=t.layout,{animationType:i}=t.options,o=e.source!==t.layout.source;i==="size"?Go(h=>{const m=o?e.measuredBox[h]:e.layoutBox[h],y=Hi(m);m.min=n[h].min,m.max=m.min+y}):oR(i,e.layoutBox,n)&&Go(h=>{const m=o?e.measuredBox[h]:e.layoutBox[h],y=Hi(n[h]);m.max=m.min+y,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[h].max=t.relativeTarget[h].min+y)});const l=mc();td(l,n,e.layoutBox);const u=mc();o?td(u,t.applyTransform(r,!0),e.measuredBox):td(u,n,e.layoutBox);const f=!eR(l);let d=!1;if(!t.resumeFrom){const h=t.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:m,layout:y}=h;if(m&&y){const g=zr();tm(g,e.layoutBox,m.layoutBox);const _=zr();tm(_,n,y.layoutBox),tR(g,_)||(d=!0),h.options.layoutRoot&&(t.relativeTarget=_,t.relativeTargetOrigin=g,t.relativeParent=h)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:u,layoutDelta:l,hasLayoutChanged:f,hasRelativeLayoutChanged:d})}else if(t.isLead()){const{onExitComplete:n}=t.options;n&&n()}t.options.transition=void 0}function I$(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function F$(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function V$(t){t.clearSnapshot()}function RT(t){t.clearMeasurements()}function OT(t){t.isLayoutDirty=!1}function z$(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function AT(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function j$(t){t.resolveTargetDelta()}function $$(t){t.calcProjection()}function B$(t){t.resetSkewAndRotation()}function U$(t){t.removeLeadSnapshot()}function MT(t,e,n){t.translate=Xn(e.translate,0,n),t.scale=Xn(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function DT(t,e,n,r){t.min=Xn(e.min,n.min,r),t.max=Xn(e.max,n.max,r)}function W$(t,e,n,r){DT(t.x,e.x,n.x,r),DT(t.y,e.y,n.y,r)}function H$(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Y$={duration:.45,ease:[.4,0,.1,1]},LT=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),NT=LT("applewebkit/")&&!LT("chrome/")?Math.round:fo;function IT(t){t.min=NT(t.min),t.max=NT(t.max)}function K$(t){IT(t.x),IT(t.y)}function oR(t,e,n){return t==="position"||t==="preserve-aspect"&&!g$(CT(e),CT(n),.2)}function X$(t){return t!==t.root&&t.scroll?.wasRoot}const G$=sR({attachResizeListener:(t,e)=>Sd(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Fy={current:void 0},aR=sR({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Fy.current){const t=new G$({});t.mount(window),t.setOptions({layoutScroll:!0}),Fy.current=t}return Fy.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Iw=T.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function FT(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function q$(...t){return e=>{let n=!1;const r=t.map(i=>{const o=FT(i,e);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():FT(t[i],null)}}}}function Q$(...t){return T.useCallback(q$(...t),t)}class Z$ extends T.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,i=n0(r)&&r.offsetWidth||0,o=n0(r)&&r.offsetHeight||0,l=this.props.sizeRef.current;l.height=n.offsetHeight||0,l.width=n.offsetWidth||0,l.top=n.offsetTop,l.left=n.offsetLeft,l.right=i-l.width-l.left,l.bottom=o-l.height-l.top}return null}componentDidUpdate(){}render(){return this.props.children}}function J$({children:t,isPresent:e,anchorX:n,anchorY:r,root:i,pop:o}){const l=T.useId(),u=T.useRef(null),f=T.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:d}=T.useContext(Iw),h=t.props?.ref??t?.ref,m=Q$(u,h);return T.useInsertionEffect(()=>{const{width:y,height:g,top:_,left:w,right:S,bottom:C}=f.current;if(e||o===!1||!u.current||!y||!g)return;const b=n==="left"?`left: ${w}`:`right: ${S}`,R=r==="bottom"?`bottom: ${C}`:`top: ${_}`;u.current.dataset.motionPopId=l;const P=document.createElement("style");d&&(P.nonce=d);const O=i??document.head;return O.appendChild(P),P.sheet&&P.sheet.insertRule(`
54          [data-motion-pop-id="${l}"] {
55            position: absolute !important;
56            width: ${y}px !important;
57            height: ${g}px !important;
58            ${b}px !important;
59            ${R}px !important;
60          }
61        `),()=>{O.contains(P)&&O.removeChild(P)}},[e]),ce.jsx(Z$,{isPresent:e,childRef:u,sizeRef:f,pop:o,children:o===!1?t:T.cloneElement(t,{ref:m})})}const eB=({children:t,initial:e,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:l,anchorX:u,anchorY:f,root:d})=>{const h=uw(tB),m=T.useId();let y=!0,g=T.useMemo(()=>(y=!1,{id:m,initial:e,isPresent:n,custom:i,onExitComplete:_=>{h.set(_,!0);for(const w of h.values())if(!w)return;r&&r()},register:_=>(h.set(_,!1),()=>h.delete(_))}),[n,h,r]);return o&&y&&(g={...g}),T.useMemo(()=>{h.forEach((_,w)=>h.set(w,!1))},[n]),T.useEffect(()=>{!n&&!h.size&&r&&r()},[n]),t=ce.jsx(J$,{pop:l==="popLayout",isPresent:n,anchorX:u,anchorY:f,root:d,children:t}),ce.jsx(bm.Provider,{value:g,children:t})};function tB(){return new Map}function lR(t=!0){const e=T.useContext(bm);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=e,o=T.useId();T.useEffect(()=>{if(t)return i(o)},[t]);const l=T.useCallback(()=>t&&r&&r(o),[o,r,t]);return!n&&r?[!1,l]:[!0]}const tp=t=>t.key||"";function VT(t){const e=[];return T.Children.forEach(t,n=>{T.isValidElement(n)&&e.push(n)}),e}const c4=({children:t,custom:e,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:l=!1,anchorX:u="left",anchorY:f="top",root:d})=>{const[h,m]=lR(l),y=T.useMemo(()=>VT(t),[t]),g=l&&!h?[]:y.map(tp),_=T.useRef(!0),w=T.useRef(y),S=uw(()=>new Map),C=T.useRef(new Set),[b,R]=T.useState(y),[P,O]=T.useState(y);IP(()=>{_.current=!1,w.current=y;for(let F=0;F<P.length;F++){const j=tp(P[F]);g.includes(j)?(S.delete(j),C.current.delete(j)):S.get(j)!==!0&&S.set(j,!1)}},[P,g.length,g.join("-")]);const N=[];if(y!==b){let F=[...y];for(let j=0;j<P.length;j++){const B=P[j],re=tp(B);g.includes(re)||(F.splice(j,0,B),N.push(B))}return o==="wait"&&N.length&&(F=N),O(VT(F)),R(y),null}const{forceRender:L}=T.useContext(lw);return ce.jsx(ce.Fragment,{children:P.map(F=>{const j=tp(F),B=l&&!h?!1:y===P||g.includes(j),re=()=>{if(C.current.has(j))return;if(C.current.add(j),S.has(j))S.set(j,!0);else return;let W=!0;S.forEach(ie=>{ie||(W=!1)}),W&&(L?.(),O(w.current),l&&m?.(),r&&r())};return ce.jsx(eB,{isPresent:B,initial:!_.current||n?void 0:!1,custom:e,presenceAffectsLayout:i,mode:o,root:d,onExitComplete:B?void 0:re,anchorX:u,anchorY:f,children:F},j)})})},uR=T.createContext({strict:!1}),zT={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"]};let jT=!1;function nB(){if(jT)return;const t={};for(const e in zT)t[e]={isEnabled:n=>zT[e].some(r=>!!n[r])};Vk(t),jT=!0}function cR(){return nB(),B3()}function rB(t){const e=cR();for(const n in t)e[n]={...e[n],...t[n]};Vk(e)}const iB=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 nm(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||iB.has(t)}let fR=t=>!nm(t);function sB(t){typeof t=="function"&&(fR=e=>e.startsWith("on")?!nm(e):t(e))}try{sB(require("@emotion/is-prop-valid").default)}catch{}function oB(t,e,n){const r={};for(const i in t)i==="values"&&typeof t.values=="object"||(fR(i)||n===!0&&nm(i)||!e&&!nm(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}const km=T.createContext({});function aB(t,e){if(Pm(t)){const{initial:n,animate:r}=t;return{initial:n===!1||_d(n)?n:void 0,animate:_d(r)?r:void 0}}return t.inherit!==!1?e:{}}function lB(t){const{initial:e,animate:n}=aB(t,T.useContext(km));return T.useMemo(()=>({initial:e,animate:n}),[$T(e),$T(n)])}function $T(t){return Array.isArray(t)?t.join(" "):t}const Fw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function dR(t,e,n){for(const r in e)!Ci(e[r])&&!Hk(r,n)&&(t[r]=e[r])}function uB({transformTemplate:t},e){return T.useMemo(()=>{const n=Fw();return Lw(n,e,t),Object.assign({},n.vars,n.style)},[e])}function cB(t,e){const n=t.style||{},r={};return dR(r,n,t),Object.assign(r,uB(t,e)),r}function fB(t,e){const n={},r=cB(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=r,n}const hR=()=>({...Fw(),attrs:{}});function dB(t,e,n,r){const i=T.useMemo(()=>{const o=hR();return Yk(o,e,Xk(r),t.transformTemplate,t.style),{...o.attrs,style:{...o.style}}},[e]);if(t.style){const o={};dR(o,t.style,t),i.style={...o,...i.style}}return i}const hB=["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 Vw(t){return typeof t!="string"||t.includes("-")?!1:!!(hB.indexOf(t)>-1||/[A-Z]/u.test(t))}function pB(t,e,n,{latestValues:r},i,o=!1,l){const f=(l??Vw(t)?dB:fB)(e,r,i,t),d=oB(e,typeof t=="string",o),h=t!==T.Fragment?{...d,...f,ref:n}:{},{children:m}=e,y=T.useMemo(()=>Ci(m)?m.get():m,[m]);return T.createElement(t,{...h,children:y})}function mB({scrapeMotionValuesFromProps:t,createRenderState:e},n,r,i){return{latestValues:gB(n,r,i,t),renderState:e()}}function gB(t,e,n,r){const i={},o=r(t,{});for(const y in o)i[y]=Cp(o[y]);let{initial:l,animate:u}=t;const f=Pm(t),d=Ik(t);e&&d&&!f&&t.inherit!==!1&&(l===void 0&&(l=e.initial),u===void 0&&(u=e.animate));let h=n?n.initial===!1:!1;h=h||l===!1;const m=h?u:l;if(m&&typeof m!="boolean"&&!Em(m)){const y=Array.isArray(m)?m:[m];for(let g=0;g<y.length;g++){const _=Ew(t,y[g]);if(_){const{transitionEnd:w,transition:S,...C}=_;for(const b in C){let R=C[b];
vendor: 20,970 bytes, line 61
61if(Array.isArray(R)){const P=h?R.length-1:0;R=R[P]}R!==null&&(i[b]=R)}for(const b in w)i[b]=w[b]}}}return i}const pR=t=>(e,n)=>{const r=T.useContext(km),i=T.useContext(bm),o=()=>mB(t,e,r,i);return n?o():uw(o)},yB=pR({scrapeMotionValuesFromProps:Nw,createRenderState:Fw}),vB=pR({scrapeMotionValuesFromProps:Gk,createRenderState:hR}),wB=Symbol.for("motionComponentSymbol");function xB(t,e,n){const r=T.useRef(n);T.useInsertionEffect(()=>{r.current=n});const i=T.useRef(null);return T.useCallback(o=>{o&&t.onMount?.(o);const l=r.current;if(typeof l=="function")if(o){const u=l(o);typeof u=="function"&&(i.current=u)}else i.current?(i.current(),i.current=null):l(o);else l&&(l.current=o);e&&(o?e.mount(o):e.unmount())},[e])}const mR=T.createContext({});function uc(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function _B(t,e,n,r,i,o){const{visualElement:l}=T.useContext(km),u=T.useContext(uR),f=T.useContext(bm),d=T.useContext(Iw),h=d.reducedMotion,m=d.skipAnimations,y=T.useRef(null),g=T.useRef(!1);r=r||u.renderer,!y.current&&r&&(y.current=r(t,{visualState:e,parent:l,props:n,presenceContext:f,blockInitialAnimation:f?f.initial===!1:!1,reducedMotionConfig:h,skipAnimations:m,isSVG:o}),g.current&&y.current&&(y.current.manuallyAnimateOnMount=!0));const _=y.current,w=T.useContext(mR);_&&!_.projection&&i&&(_.type==="html"||_.type==="svg")&&SB(y.current,n,i,w);const S=T.useRef(!1);T.useInsertionEffect(()=>{_&&S.current&&_.update(n,f)});const C=n[Tk],b=T.useRef(!!C&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(C)&&window.MotionHasOptimisedAnimation?.(C));return IP(()=>{g.current=!0,_&&(S.current=!0,window.MotionIsMounted=!0,_.updateFeatures(),_.scheduleRenderMicrotask(),b.current&&_.animationState&&_.animationState.animateChanges())}),T.useEffect(()=>{_&&(!b.current&&_.animationState&&_.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(C)}),b.current=!1),_.enteringChildren=void 0)}),_}function SB(t,e,n,r){const{layoutId:i,layout:o,drag:l,dragConstraints:u,layoutScroll:f,layoutRoot:d,layoutCrossfade:h}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:gR(t.parent)),t.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!l||u&&uc(u),visualElement:t,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:h,layoutScroll:f,layoutRoot:d})}function gR(t){if(t)return t.options.allowProjection!==!1?t.projection:gR(t.parent)}function Vy(t,{forwardMotionProps:e=!1,type:n}={},r,i){r&&rB(r);const o=n?n==="svg":Vw(t),l=o?vB:yB;function u(d,h){let m;const y={...T.useContext(Iw),...d,layoutId:TB(d)},{isStatic:g}=y,_=lB(d),w=l(d,g);if(!g&&typeof window<"u"){CB();const S=bB(y);m=S.MeasureLayout,_.visualElement=_B(t,w,y,i,S.ProjectionNode,o)}return ce.jsxs(km.Provider,{value:_,children:[m&&_.visualElement?ce.jsx(m,{visualElement:_.visualElement,...y}):null,pB(t,d,xB(w,_.visualElement,h),w,g,e,o)]})}u.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const f=T.forwardRef(u);return f[wB]=t,f}function TB({layoutId:t}){const e=T.useContext(lw).id;return e&&t!==void 0?e+"-"+t:t}function CB(t,e){T.useContext(uR).strict}function bB(t){const e=cR(),{drag:n,layout:r}=e;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n?.isEnabled(t)||r?.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function EB(t,e){if(typeof Proxy>"u")return Vy;const n=new Map,r=(o,l)=>Vy(o,l,t,e),i=(o,l)=>r(o,l);return new Proxy(i,{get:(o,l)=>l==="create"?r:(n.has(l)||n.set(l,Vy(l,void 0,t,e)),n.get(l))})}const PB=(t,e)=>e.isSVG??Vw(t)?new s$(e):new J3(e,{allowProjection:t!==T.Fragment});class kB extends Ml{constructor(e){super(e),e.animationState||(e.animationState=c$(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Em(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let RB=0;class OB extends Ml{constructor(){super(...arguments),this.id=RB++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>{n(this.id)})}mount(){const{register:e,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const AB={animation:{Feature:kB},exit:{Feature:OB}};function Md(t){return{point:{x:t.pageX,y:t.pageY}}}const MB=t=>e=>Ow(e)&&t(e,Md(e));function nd(t,e,n,r){return Sd(t,e,MB(n),r)}const yR=({current:t})=>t?t.ownerDocument.defaultView:null,BT=(t,e)=>Math.abs(t-e);function DB(t,e){const n=BT(t.x,e.x),r=BT(t.y,e.y);return Math.sqrt(n**2+r**2)}const UT=new Set(["auto","scroll"]);class vR{constructor(e,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:o=!1,distanceThreshold:l=3,element:u}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=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;const g=jy(this.lastMoveEventInfo,this.history),_=this.startEvent!==null,w=DB(g.offset,{x:0,y:0})>=this.distanceThreshold;if(!_&&!w)return;const{point:S}=g,{timestamp:C}=oi;this.history.push({...S,timestamp:C});const{onStart:b,onMove:R}=this.handlers;_||(b&&b(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),R&&R(this.lastMoveEvent,g)},this.handlePointerMove=(g,_)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=zy(_,this.transformPagePoint),mn.update(this.updatePoint,!0)},this.handlePointerUp=(g,_)=>{this.end();const{onEnd:w,onSessionEnd:S,resumeAnimation:C}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&C&&C(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=jy(g.type==="pointercancel"?this.lastMoveEventInfo:zy(_,this.transformPagePoint),this.history);this.startEvent&&w&&w(g,b),S&&S(g,b)},!Ow(e))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=l,this.contextWindow=i||window;const f=Md(e),d=zy(f,this.transformPagePoint),{point:h}=d,{timestamp:m}=oi;this.history=[{...h,timestamp:m}];const{onSessionStart:y}=n;y&&y(e,jy(d,this.history)),this.removeListeners=Rd(nd(this.contextWindow,"pointermove",this.handlePointerMove),nd(this.contextWindow,"pointerup",this.handlePointerUp),nd(this.contextWindow,"pointercancel",this.handlePointerUp)),u&&this.startScrollTracking(u)}startScrollTracking(e){let n=e.parentElement;for(;n;){const r=getComputedStyle(n);(UT.has(r.overflowX)||UT.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(e){const n=this.scrollPositions.get(e);if(!n)return;const r=e===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},o={x:i.x-n.x,y:i.y-n.y};o.x===0&&o.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o.x,this.lastMoveEventInfo.point.y+=o.y):this.history.length>0&&(this.history[0].x-=o.x,this.history[0].y-=o.y),this.scrollPositions.set(e,i),mn.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Rl(this.updatePoint)}}function zy(t,e){return e?{point:e(t.point)}:t}function WT(t,e){return{x:t.x-e.x,y:t.y-e.y}}function jy({point:t},e){return{point:t,delta:WT(t,wR(e)),offset:WT(t,LB(e)),velocity:NB(e,.1)}}function LB(t){return t[0]}function wR(t){return t[t.length-1]}function NB(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const i=wR(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>No(e)));)n--;if(!r)return{x:0,y:0};r===t[0]&&t.length>2&&i.timestamp-r.timestamp>No(e)*2&&(r=t[1]);const o=uo(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const l={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function IB(t,{min:e,max:n},r){return e!==void 0&&t<e?t=r?Xn(e,t,r.min):Math.max(t,e):n!==void 0&&t>n&&(t=r?Xn(n,t,r.max):Math.min(t,n)),t}function HT(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function FB(t,{top:e,left:n,bottom:r,right:i}){return{x:HT(t.x,n,i),y:HT(t.y,e,r)}}function YT(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,r]=[r,n]),{min:n,max:r}}function VB(t,e){return{x:YT(t.x,e.x),y:YT(t.y,e.y)}}function zB(t,e){let n=.5;const r=Hi(t),i=Hi(e);return i>r?n=vd(e.min,e.max-r,t.min):r>i&&(n=vd(t.min,t.max-i,e.min)),ua(0,1,n)}function jB(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const a0=.35;function $B(t=a0){return t===!1?t=0:t===!0&&(t=a0),{x:KT(t,"left","right"),y:KT(t,"top","bottom")}}function KT(t,e,n){return{min:XT(t,e),max:XT(t,n)}}function XT(t,e){return typeof t=="number"?t:t[e]||0}const BB=new WeakMap;class UB{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=zr(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=m=>{n&&this.snapToCursor(Md(m).point),this.stopAnimation()},l=(m,y)=>{const{drag:g,dragPropagation:_,onDragStart:w}=this.getProps();if(g&&!_&&(this.openDragLock&&this.openDragLock(),this.openDragLock=v3(g),!this.openDragLock))return;this.latestPointerEvent=m,this.latestPanInfo=y,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Go(C=>{let b=this.getAxisMotionValue(C).get()||0;if(oa.test(b)){const{projection:R}=this.visualElement;if(R&&R.layout){const P=R.layout.layoutBox[C];P&&(b=Hi(P)*(parseFloat(b)/100))}}this.originPoint[C]=b}),w&&mn.update(()=>w(m,y),!1,!0),Zv(this.visualElement,"transform");const{animationState:S}=this.visualElement;S&&S.setActive("whileDrag",!0)},u=(m,y)=>{this.latestPointerEvent=m,this.latestPanInfo=y;const{dragPropagation:g,dragDirectionLock:_,onDirectionLock:w,onDrag:S}=this.getProps();if(!g&&!this.openDragLock)return;const{offset:C}=y;if(_&&this.currentDirection===null){this.currentDirection=HB(C),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",y.point,C),this.updateAxis("y",y.point,C),this.visualElement.render(),S&&mn.update(()=>S(m,y),!1,!0)},f=(m,y)=>{this.latestPointerEvent=m,this.latestPanInfo=y,this.stop(m,y),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>{const{dragSnapToOrigin:m}=this.getProps();(m||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:h}=this.getProps();this.panSession=new vR(e,{onSessionStart:o,onStart:l,onMove:u,onSessionEnd:f,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:r,contextWindow:yR(this.visualElement),element:this.visualElement.current})}stop(e,n){const r=e||this.latestPointerEvent,i=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!i||!r)return;const{velocity:l}=i;this.startAnimation(l);const{onDragEnd:u}=this.getProps();u&&mn.postRender(()=>u(r,i))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();const{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(e,n,r){const{drag:i}=this.getProps();if(!r||!np(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let l=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(l=IB(l,this.constraints[e],this.elastic[e])),o.set(l)}resolveConstraints(){const{dragConstraints:e,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;e&&uc(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=FB(r.layoutBox,e):this.constraints=!1,this.elastic=$B(n),i!==this.constraints&&!uc(e)&&r&&this.constraints&&!this.hasMutatedConstraints&&Go(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=jB(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!uc(e))return!1;const r=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=K3(r,i.root,this.visualElement.getTransformPagePoint());let l=VB(i.layout.layoutBox,o);if(n){const u=n(W3(l));this.hasMutatedConstraints=!!u,u&&(l=jk(u))}return l}startAnimation(e){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:l,onDragTransitionEnd:u}=this.getProps(),f=this.constraints||{},d=Go(h=>{if(!np(h,n,this.currentDirection))return;let m=f&&f[h]||{};l&&(m={min:0,max:0});const y=i?200:1e6,g=i?40:1e7,_={type:"inertia",velocity:r?e[h]:0,bounceStiffness:y,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...o,...m};return this.startAxisValueAnimation(h,_)});return Promise.all(d).then(u)}startAxisValueAnimation(e,n){const r=this.getAxisMotionValue(e);return Zv(this.visualElement,e),r.start(bw(e,r,0,n,this.visualElement,!1))}stopAnimation(){Go(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Go(n=>{const{drag:r}=this.getProps();if(!np(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:l,max:u}=i.layout.layoutBox[n],f=o.get()||0;o.set(e[n]-Xn(l,u,.5)+f)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!uc(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Go(l=>{const u=this.getAxisMotionValue(l);if(u&&this.constraints!==!1){const f=u.get();i[l]=zB({min:f,max:f},this.constraints[l])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Go(l=>{if(!np(l,e,null))return;const u=this.getAxisMotionValue(l),{min:f,max:d}=this.constraints[l];u.set(Xn(f,d,i[l]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;BB.set(this.visualElement,this);const e=this.visualElement.current,n=nd(e,"pointerdown",d=>{const{drag:h,dragListener:m=!0}=this.getProps(),y=d.target,g=y!==e&&C3(y);h&&m&&!g&&this.start(d)});let r;const i=()=>{const{dragConstraints:d}=this.getProps();uc(d)&&d.current&&(this.constraints=this.resolveRefConstraints(),r||(r=WB(e,d.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,l=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),mn.read(i);const u=Sd(window,"resize",()=>this.scalePositionWithinConstraints()),f=o.addEventListener("didUpdate",(({delta:d,hasLayoutChanged:h})=>{this.isDragging&&h&&(Go(m=>{const y=this.getAxisMotionValue(m);y&&(this.originPoint[m]+=d[m].translate,y.set(y.get()+d[m].translate))}),this.visualElement.render())}));return()=>{u(),n(),l(),f&&f(),r&&r()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:l=a0,dragMomentum:u=!0}=e;return{...e,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:l,dragMomentum:u}}}function GT(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function WB(t,e,n){const r=tT(t,GT(n)),i=tT(e,GT(n));return()=>{r(),i()}}function np(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function HB(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class YB extends Ml{constructor(e){super(e),this.removeGroupControls=fo,this.removeListeners=fo,this.controls=new UB(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||fo}update(){const{dragControls:e}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};e!==n&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const $y=t=>(e,n)=>{t&&mn.update(()=>t(e,n),!1,!0)};class KB extends Ml{constructor(){super(...arguments),this.removePointerDownListener=fo}onPointerDown(e){this.session=new vR(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:yR(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:$y(e),onStart:$y(n),onMove:$y(r),onEnd:(o,l)=>{delete this.session,i&&mn.postRender(()=>i(o,l))}}}mount(){this.removePointerDownListener=nd(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let By=!1;class XB extends T.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=e;o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),By&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),bp.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,{projection:l}=r;return l&&(l.isPresent=o,e.layoutDependency!==n&&l.setOptions({...l.options,layoutDependency:n}),By=!0,i||e.layoutDependency!==n||n===void 0||e.isPresent!==o?l.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?l.promote():l.relegate()||mn.postRender(()=>{const u=l.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Rw.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=e;By=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function xR(t){const[e,n]=lR(),r=T.useContext(lw);return ce.jsx(XB,{...t,layoutGroup:r,switchLayoutGroup:T.useContext(mR),isPresent:e,safeToRemove:n})}const GB={pan:{Feature:KB},drag:{Feature:YB,ProjectionNode:aR,MeasureLayout:xR}};function qT(t,e,n){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&mn.postRender(()=>o(e,Md(e)))}class qB extends Ml{mount(){const{current:e}=this.node;e&&(this.unmount=x3(e,(n,r)=>(qT(this.node,r,"Start"),i=>qT(this.node,i,"End"))))}unmount(){}}class QB extends Ml{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!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=Rd(Sd(this.node.current,"focus",()=>this.onFocus()),Sd(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function QT(t,e,n){const{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&mn.postRender(()=>o(e,Md(e)))}class ZB ext
61ends Ml{mount(){const{current:e}=this.node;if(!e)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=E3(e,(i,o)=>(QT(this.node,o,"Start"),(l,{success:u})=>QT(this.node,l,u?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:r?.tap===!1})}unmount(){}}const l0=new WeakMap,Uy=new WeakMap,JB=t=>{const e=l0.get(t.target);e&&e(t)},e5=t=>{t.forEach(JB)};function t5({root:t,...e}){const n=t||document;Uy.has(n)||Uy.set(n,{});const r=Uy.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver(e5,{root:t,...e})),r[i]}function n5(t,e,n){const r=t5(e);return l0.set(t,n),r.observe(t),()=>{l0.delete(t),r.unobserve(t)}}const r5={some:0,all:1};class i5 extends Ml{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=e,l={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:r5[i]},u=f=>{const{isIntersecting:d}=f;if(this.isInView===d||(this.isInView=d,o&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:h,onViewportLeave:m}=this.node.getProps(),y=d?h:m;y&&y(f)};return n5(this.node.current,l,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(s5(e,n))&&this.startObserver()}unmount(){}}function s5({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const o5={inView:{Feature:i5},tap:{Feature:ZB},focus:{Feature:QB},hover:{Feature:qB}},a5={layout:{ProjectionNode:aR,MeasureLayout:xR}},l5={...AB,...o5,...GB,...a5},f4=EB(l5,PB);var Ff={exports:{}},u5=Ff.exports,ZT;function c5(){return ZT||(ZT=1,(function(t,e){(function(n,r){r(e)})(u5,(function(n){function r(X,k){for(var z=0;z<k.length;z++){var A=k[z];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(X,A.key,A)}}function i(X,k,z){return k&&r(X.prototype,k),X}var o,l,u,f,d,h,m,y,g,_,w,S,C,b=function(){return o||typeof window<"u"&&(o=window.gsap)&&o.registerPlugin&&o},R=1,P=[],O=[],N=[],L=Date.now,F=function(k,z){return z},j=function(){var k=g.core,z=k.bridge||{},A=k._scrollers,M=k._proxies;A.push.apply(A,O),M.push.apply(M,N),O=A,N=M,F=function(oe,J){return z[oe](J)}},B=function(k,z){return~N.indexOf(k)&&N[N.indexOf(k)+1][z]},re=function(k){return!!~_.indexOf(k)},W=function(k,z,A,M,Y){return k.addEventListener(z,A,{passive:M!==!1,capture:!!Y})},ie=function(k,z,A,M){return k.removeEventListener(z,A,!!M)},ee="scrollLeft",me="scrollTop",le=function(){return w&&w.isPressed||O.cache++},ae=function(k,z){var A=function M(Y){if(Y||Y===0){R&&(u.history.scrollRestoration="manual");var oe=w&&w.isPressed;Y=M.v=Math.round(Y)||(w&&w.iOS?1:0),k(Y),M.cacheID=O.cache,oe&&F("ss",Y)}else(z||O.cache!==M.cacheID||F("ref"))&&(M.cacheID=O.cache,M.v=k());return M.v+M.offset};return A.offset=0,k&&A},$={s:ee,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:ae(function(X){return arguments.length?u.scrollTo(X,K.sc()):u.pageXOffset||f[ee]||d[ee]||h[ee]||0})},K={s:me,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:$,sc:ae(function(X){return arguments.length?u.scrollTo($.sc(),X):u.pageYOffset||f[me]||d[me]||h[me]||0})},D=function(k,z){return(z&&z._ctx&&z._ctx.selector||o.utils.toArray)(k)[0]||(typeof k=="string"&&o.config().nullTargetWarn!==!1?console.warn("Element not found:",k):null)},V=function(k,z){for(var A=z.length;A--;)if(z[A]===k||z[A].contains(k))return!0;return!1},G=function(k,z){var A=z.s,M=z.sc;re(k)&&(k=f.scrollingElement||d);var Y=O.indexOf(k),oe=M===K.sc?1:2;!~Y&&(Y=O.push(k)-1),O[Y+oe]||W(k,"scroll",le);var J=O[Y+oe],be=J||(O[Y+oe]=ae(B(k,A),!0)||(re(k)?M:ae(function(Je){return arguments.length?k[A]=Je:k[A]})));return be.target=k,J||(be.smooth=o.getProperty(k,"scrollBehavior")==="smooth"),be},ye=function(k,z,A){var M=k,Y=k,oe=L(),J=oe,be=z||50,Je=Math.max(500,be*3),Mt=function(Ke,An){var $t=L();An||$t-oe>be?(Y=M,M=Ke,J=oe,oe=$t):A?M+=Ke:M=Y+(Ke-Y)/($t-J)*(oe-J)},vt=function(){Y=M=A?0:M,J=oe=0},We=function(Ke){var An=J,$t=Y,vn=L();return(Ke||Ke===0)&&Ke!==M&&Mt(Ke),oe===J||vn-J>Je?0:(M+(A?$t:-$t))/((A?vn:oe)-An)*1e3};return{update:Mt,reset:vt,getVelocity:We}},pe=function(k,z){return z&&!k._gsapAllow&&k.preventDefault(),k.changedTouches?k.changedTouches[0]:k},Ee=function(k){var z=Math.max.apply(Math,k),A=Math.min.apply(Math,k);return Math.abs(z)>=Math.abs(A)?z:A},Ie=function(){g=o.core.globals().ScrollTrigger,g&&g.core&&j()},_e=function(k){return o=k||b(),!l&&o&&typeof document<"u"&&document.body&&(u=window,f=document,d=f.documentElement,h=f.body,_=[u,f,d,h],o.utils.clamp,C=o.core.context||function(){},y="onpointerenter"in h?"pointer":"mouse",m=Te.isTouch=u.matchMedia&&u.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in u||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,S=Te.eventTypes=("ontouchstart"in d?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in d?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return R=0},500),Ie(),l=1),l};$.op=K,O.cache=0;var Te=(function(){function X(z){this.init(z)}var k=X.prototype;return k.init=function(A){l||_e(o)||console.warn("Please gsap.registerPlugin(Observer)"),g||Ie();var M=A.tolerance,Y=A.dragMinimum,oe=A.type,J=A.target,be=A.lineHeight,Je=A.debounce,Mt=A.preventDefault,vt=A.onStop,We=A.onStopDelay,fe=A.ignore,Ke=A.wheelSpeed,An=A.event,$t=A.onDragStart,vn=A.onDragEnd,wn=A.onDrag,br=A.onPress,ft=A.onRelease,ki=A.onRight,tn=A.onLeft,st=A.onUp,Zn=A.onDown,di=A.onCh
vendor: 5,499 bytes, line 61
61angeX,Be=A.onChangeY,Er=A.onChange,tt=A.onToggleX,Us=A.onToggleY,xn=A.onHover,dr=A.onHoverEnd,ei=A.onMove,It=A.ignoreCheck,Jn=A.isNormalizer,jn=A.onGestureStart,Q=A.onGestureEnd,$n=A.onWheel,Bo=A.onEnable,yo=A.onDisable,Ri=A.onClick,vo=A.scrollSpeed,Ur=A.capture,er=A.allowClicks,ti=A.lockAxis,Wr=A.onLockAxis;this.target=J=D(J)||d,this.vars=A,fe&&(fe=o.utils.toArray(fe)),M=M||1e-9,Y=Y||0,Ke=Ke||1,vo=vo||1,oe=oe||"wheel,touch,pointer",Je=Je!==!1,be||(be=parseFloat(u.getComputedStyle(h).lineHeight)||22);var Pr,hr,Hr,kt,Mn,ni,ri,se=this,Oi=0,hi=0,Ws=A.passive||!Mt&&A.passive!==!1,Qt=G(J,$),xs=G(J,K),wo=Qt(),Hs=xs(),_n=~oe.indexOf("touch")&&!~oe.indexOf("pointer")&&S[0]==="pointerdown",Ys=re(J),Dn=J.ownerDocument||f,pi=[0,0,0],Ai=[0,0,0],Ks=0,Ka=function(){return Ks=L()},Bn=function(Xe,Et){return(se.event=Xe)&&fe&&V(Xe.target,fe)||Et&&_n&&Xe.pointerType!=="touch"||It&&It(Xe,Et)},Yl=function(){se._vx.reset(),se._vy.reset(),hr.pause(),vt&&vt(se)},Xs=function(){var Xe=se.deltaX=Ee(pi),Et=se.deltaY=Ee(Ai),Se=Math.abs(Xe)>=M,et=Math.abs(Et)>=M;Er&&(Se||et)&&Er(se,Xe,Et,pi,Ai),Se&&(ki&&se.deltaX>0&&ki(se),tn&&se.deltaX<0&&tn(se),di&&di(se),tt&&se.deltaX<0!=Oi<0&&tt(se),Oi=se.deltaX,pi[0]=pi[1]=pi[2]=0),et&&(Zn&&se.deltaY>0&&Zn(se),st&&se.deltaY<0&&st(se),Be&&Be(se),Us&&se.deltaY<0!=hi<0&&Us(se),hi=se.deltaY,Ai[0]=Ai[1]=Ai[2]=0),(kt||Hr)&&(ei&&ei(se),Hr&&($t&&Hr===1&&$t(se),wn&&wn(se),Hr=0),kt=!1),ni&&!(ni=!1)&&Wr&&Wr(se),Mn&&($n(se),Mn=!1),Pr=0},Mi=function(Xe,Et,Se){pi[Se]+=Xe,Ai[Se]+=Et,se._vx.update(Xe),se._vy.update(Et),Je?Pr||(Pr=requestAnimationFrame(Xs)):Xs()},Uo=function(Xe,Et){ti&&!ri&&(se.axis=ri=Math.abs(Xe)>Math.abs(Et)?"x":"y",ni=!0),ri!=="y"&&(pi[2]+=Xe,se._vx.update(Xe,!0)),ri!=="x"&&(Ai[2]+=Et,se._vy.update(Et,!0)),Je?Pr||(Pr=requestAnimationFrame(Xs)):Xs()},Gs=function(Xe){if(!Bn(Xe,1)){Xe=pe(Xe,Mt);var Et=Xe.clientX,Se=Xe.clientY,et=Et-se.x,He=Se-se.y,ut=se.isDragging;se.x=Et,se.y=Se,(ut||(et||He)&&(Math.abs(se.startX-Et)>=Y||Math.abs(se.startY-Se)>=Y))&&(Hr||(Hr=ut?2:1),ut||(se.isDragging=!0),Uo(et,He))}},ga=se.onPress=function(lt){Bn(lt,1)||lt&&lt.button||(se.axis=ri=null,hr.pause(),se.isPressed=!0,lt=pe(lt),Oi=hi=0,se.startX=se.x=lt.clientX,se.startY=se.y=lt.clientY,se._vx.reset(),se._vy.reset(),W(Jn?J:Dn,S[1],Gs,Ws,!0),se.deltaX=se.deltaY=0,br&&br(se))},wt=se.onRelease=function(lt){if(!Bn(lt,1)){ie(Jn?J:Dn,S[1],Gs,!0);var Xe=!isNaN(se.y-se.startY),Et=se.isDragging,Se=Et&&(Math.abs(se.x-se.startX)>3||Math.abs(se.y-se.startY)>3),et=pe(lt);!Se&&Xe&&(se._vx.reset(),se._vy.reset(),Mt&&er&&o.delayedCall(.08,function(){if(L()-Ks>300&&!lt.defaultPrevented){if(lt.target.click)lt.target.click();else if(Dn.createEvent){var He=Dn.createEvent("MouseEvents");He.initMouseEvent("click",!0,!0,u,1,et.screenX,et.screenY,et.clientX,et.clientY,!1,!1,!1,!1,0,null),lt.target.dispatchEvent(He)}}})),se.isDragging=se.isGesturing=se.isPressed=!1,vt&&Et&&!Jn&&hr.restart(!0),Hr&&Xs(),vn&&Et&&vn(se),ft&&ft(se,Se)}},_s=function(Xe){return Xe.touches&&Xe.touches.length>1&&(se.isGesturing=!0)&&jn(Xe,se.isDragging)},Ss=function(){return(se.isGesturing=!1)||Q(se)},Ji=function(Xe){if(!Bn(Xe)){var Et=Qt(),Se=xs();Mi((Et-wo)*vo,(Se-Hs)*vo,1),wo=Et,Hs=Se,vt&&hr.restart(!0)}},es=function(Xe){if(!Bn(Xe)){Xe=pe(Xe,Mt),$n&&(Mn=!0);var Et=(Xe.deltaMode===1?be:Xe.deltaMode===2?u.innerHeight:1)*Ke;Mi(Xe.deltaX*Et,Xe.deltaY*Et,0),vt&&!Jn&&hr.restart(!0)}},Dt=function(Xe){if(!Bn(Xe)){var Et=Xe.clientX,Se=Xe.clientY,et=Et-se.x,He=Se-se.y;se.x=Et,se.y=Se,kt=!0,vt&&hr.restart(!0),(et||He)&&Uo(et,He)}},Wo=function(Xe){se.event=Xe,xn(se)},ts=function(Xe){se.event=Xe,dr(se)},xo=function(Xe){return Bn(Xe)||pe(Xe,Mt)&&Ri(se)};hr=se._dc=o.delayedCall(We||.25,Yl).pause(),se.deltaX=se.deltaY=0,se._vx=ye(0,50,!0),se._vy=ye(0,50,!0),se.scrollX=Qt,se.scrollY=xs,se.isDragging=se.isGesturing=se.isPressed=!1,C(this),se.enable=function(lt){return se.isEnabled||(W(Ys?Dn:J,"scroll",le),oe.indexOf("scroll")>=0&&W(Ys?Dn:J,"scroll",Ji,Ws,Ur),oe.indexOf("wheel")>=0&&W(J,"wheel",es,Ws,Ur),(oe.indexOf("touch")>=0&&m||oe.indexOf("pointer")>=0)&&(W(J,S[0],ga,Ws,Ur),W(Dn,S[2],wt),W(Dn,S[3],wt),er&&W(J,"click",Ka,!0,!0),Ri&&W(J,"click",xo),jn&&W(Dn,"gesturestart",_s),Q&&W(Dn,"gestureend",Ss),xn&&W(J,y+"enter",Wo),dr&&W(J,y+"leave",ts),ei&&W(J,y+"move",Dt)),se.isEnabled=!0,se.isDragging=se.isGesturing=se.isPressed=kt=Hr=!1,se._vx.reset(),se._vy.reset(),wo=Qt(),Hs=xs(),lt&&lt.type&&ga(lt),Bo&&Bo(se)),se},se.disable=function(){se.isEnabled&&(P.filter(function(lt){return lt!==se&&re(lt.target)}).length||ie(Ys?Dn:J,"scroll",le),se.isPressed&&(se._vx.reset(),se._vy.reset(),ie(Jn?J:Dn,S[1],Gs,!0)),ie(Ys?Dn:J,"scroll",Ji,Ur),ie(J,"wheel",es,Ur),ie(J,S[0],ga,Ur),ie(Dn,S[2],wt),ie(Dn,S[3],wt),ie(J,"click",Ka,!0),ie(J,"click",xo),ie(Dn,"gesturestart",_s),ie(Dn,"gestureend",Ss),ie(J,y+"enter",Wo),ie(J,y+"leave",ts),ie(J,y+"move",Dt),se.isEnabled=se.isPressed=se.isDragging=!1,yo&&yo(se))},se.kill=se.revert=function(){se.disable();var lt=P.indexOf(se);lt>=0&&P.splice(lt,1),w===se&&(w=0)},P.push(se),Jn&&re(J)&&(w=se),se.enable(An)},i(X,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),X})();Te.version="3.14.2",Te.create=function(X){return new Te(X)},Te.register=_e,Te.getAll=function(){return P.slice()},Te.getById=function(X){return P.filter(function(k){return k.vars.id===X})[0]},b()&&o.registerPlugin(Te);var ue,Pt,ke,Ze,Ve,je,Fn,Pn,ne,on,ir,Gn,Ge,sr,Vn,Kt,an,Jt,gt,or,ar,zn,Ut,Wt,Ki,qn,_r,lr,$r,Sr,
vendor: 5,047 bytes, line 61
61nt,Tr,kn,ln,Xt=1,Ht=Date.now,$e=Ht(),Ye=0,yt=0,Fe=function(k,z,A){var M=Yt(k)&&(k.substr(0,6)==="clamp("||k.indexOf("max")>-1);return A["_"+z+"Clamp"]=M,M?k.substr(6,k.length-7):k},Re=function(k,z){return z&&(!Yt(k)||k.substr(0,6)!=="clamp(")?"clamp("+k+")":k},rt=function X(){return yt&&requestAnimationFrame(X)},xe=function(){return sr=1},Me=function(){return sr=0},Ce=function(k){return k},Ue=function(k){return Math.round(k*1e5)/1e5||0},un=function(){return typeof window<"u"},dt=function(){return ue||un()&&(ue=window.gsap)&&ue.registerPlugin&&ue},At=function(k){return!!~Fn.indexOf(k)},ur=function(k){return(k==="Height"?nt:ke["inner"+k])||Ve["client"+k]||je["client"+k]},en=function(k){return B(k,"getBoundingClientRect")||(At(k)?function(){return $o.width=ke.innerWidth,$o.height=nt,$o}:function(){return po(k)})},Gt=function(k,z,A){var M=A.d,Y=A.d2,oe=A.a;return(oe=B(k,"getBoundingClientRect"))?function(){return oe()[M]}:function(){return(z?ur(Y):k["client"+Y])||0}},bt=function(k,z){return!z||~N.indexOf(k)?en(k):function(){return $o}},gn=function(k,z){var A=z.s,M=z.d2,Y=z.d,oe=z.a;return Math.max(0,(A="scroll"+M)&&(oe=B(k,A))?oe()-en(k)()[Y]:At(k)?(Ve[A]||je[A])-ur(M):k[A]-k["offset"+M])},Vt=function(k,z){for(var A=0;A<gt.length;A+=3)(!z||~z.indexOf(gt[A+1]))&&k(gt[A],gt[A+1],gt[A+2])},Yt=function(k){return typeof k=="string"},jt=function(k){return typeof k=="function"},cn=function(k){return typeof k=="number"},qt=function(k){return typeof k=="object"},yn=function(k,z,A){return k&&k.progress(z?0:1)&&A&&k.pause()},ys=function(k,z){if(k.enabled){var A=k._ctx?k._ctx.add(function(){return z(k)}):z(k);A&&A.totalTime&&(k.callbackAnimation=A)}},vs=Math.abs,ht="left",Rn="top",Br="right",jo="bottom",Ei="width",Pi="height",Lr="Right",ui="Left",cr="Top",ci="Bottom",Nt="padding",Xi="margin",Va="Width",qc="Height",On="px",Jr=function(k){return ke.getComputedStyle(k)},Dl=function(k){var z=Jr(k).position;k.style.position=z==="absolute"||z==="fixed"?z:"relative"},Ll=function(k,z){for(var A in z)A in k||(k[A]=z[A]);return k},po=function(k,z){var A=z&&Jr(k)[Vn]!=="matrix(1, 0, 0, 1, 0, 0)"&&ue.to(k,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),M=k.getBoundingClientRect();return A&&A.progress(0).kill(),M},Lu=function(k,z){var A=z.d2;return k["offset"+A]||k["client"+A]||0},Nu=function(k){var z=[],A=k.labels,M=k.duration(),Y;for(Y in A)z.push(A[Y]/M);return z},Dd=function(k){return function(z){return ue.utils.snap(Nu(k),z)}},Nl=function(k){var z=ue.utils.snap(k),A=Array.isArray(k)&&k.slice(0).sort(function(M,Y){return M-Y});return A?function(M,Y,oe){oe===void 0&&(oe=.001);var J;if(!Y)return z(M);if(Y>0){for(M-=oe,J=0;J<A.length;J++)if(A[J]>=M)return A[J];return A[J-1]}else for(J=A.length,M+=oe;J--;)if(A[J]<=M)return A[J];return A[0]}:function(M,Y,oe){oe===void 0&&(oe=.001);var J=z(M);return!Y||Math.abs(J-M)<oe||J-M<0==Y<0?J:z(Y<0?M-k:M+k)}},Il=function(k){return function(z,A){return Nl(Nu(k))(z,A.direction)}},Iu=function(k,z,A,M){return A.split(",").forEach(function(Y){return k(z,Y,M)})},Qn=function(k,z,A,M,Y){return k.addEventListener(z,A,{passive:!M,capture:!!Y})},it=function(k,z,A,M){return k.removeEventListener(z,A,!!M)},Fl=function(k,z,A){A=A&&A.wheelHandler,A&&(k(z,"wheel",A),k(z,"touchmove",A))},Qc={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},za={toggleActions:"play",anticipatePin:0},Vl={top:0,left:0,center:.5,bottom:1,right:1},zl=function(k,z){if(Yt(k)){var A=k.indexOf("="),M=~A?+(k.charAt(A-1)+1)*parseFloat(k.substr(A+1)):0;~A&&(k.indexOf("%")>A&&(M*=z/100),k=k.substr(0,A-1)),k=M+(k in Vl?Vl[k]*z:~k.indexOf("%")?parseFloat(k)*z/100:parseFloat(k)||0)}return k},jl=function(k,z,A,M,Y,oe,J,be){var Je=Y.startColor,Mt=Y.endColor,vt=Y.fontSize,We=Y.indent,fe=Y.fontWeight,Ke=Ze.createElement("div"),An=At(A)||B(A,"pinType")==="fixed",$t=k.indexOf("scroller")!==-1,vn=An?je:A,wn=k.indexOf("start")!==-1,br=wn?Je:Mt,ft="border-color:"+br+";font-size:"+vt+";color:"+br+";font-weight:"+fe+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return ft+="position:"+(($t||be)&&An?"fixed;":"absolute;"),($t||be||!An)&&(ft+=(M===K?Br:jo)+":"+(oe+parseFloat(We))+"px;"),J&&(ft+="box-sizing:border-box;text-align:left;width:"+J.offsetWidth+"px;"),Ke._isStart=wn,Ke.setAttribute("class","gsap-marker-"+k+(z?" marker-"+z:"")),Ke.style.cssText=ft,Ke.innerText=z||z===0?k+"-"+z:k,vn.children[0]?vn.insertBefore(Ke,vn.children[0]):vn.appendChild(Ke),Ke._offset=Ke["offset"+M.op.d2],ja(Ke,0,M,wn),Ke},ja=function(k,z,A,M){var Y={display:"block"},oe=A[M?"os2":"p2"],J=A[M?"p2":"os2"];k._isFlipped=M,Y[A.a+"Percent"]=M?-100:0,Y[A.a]=M?"1px":0,Y["border"+oe+Va]=1,Y["border"+J+Va]=0,Y[A.p]=z+"px",ue.set(k,Y)},ct=[],js={},Gi,mo=function(){return Ht()-Ye>34&&(Gi||(Gi=requestAnimationFrame(ws)))},$s=function(){(!Ut||!Ut.isPressed||Ut.startX>je.clientWidth)&&(O.cache++,Ut?Gi||(Gi=requestAnimationFrame(ws)):ws(),Ye||pa("scrollStart"),Ye=Ht())}
vendor: 5,161 bytes, line 61
61,da=function(){qn=ke.innerWidth,Ki=ke.innerHeight},qi=function(k){O.cache++,(k===!0||!Ge&&!zn&&!Ze.fullscreenElement&&!Ze.webkitFullscreenElement&&(!Wt||qn!==ke.innerWidth||Math.abs(ke.innerHeight-Ki)>ke.innerHeight*.25))&&Pn.restart(!0)},ha={},Ld=[],$a=function X(){return it(mt,"scrollEnd",X)||Bs(!0)},pa=function(k){return ha[k]&&ha[k].map(function(z){return z()})||Ld},fi=[],$l=function(k){for(var z=0;z<fi.length;z+=5)(!k||fi[z+4]&&fi[z+4].query===k)&&(fi[z].style.cssText=fi[z+1],fi[z].getBBox&&fi[z].setAttribute("transform",fi[z+2]||""),fi[z+3].uncache=1)},Zc=function(){return O.forEach(function(k){return jt(k)&&++k.cacheID&&(k.rec=k())})},Jc=function(k,z){var A;for(Kt=0;Kt<ct.length;Kt++)A=ct[Kt],A&&(!z||A._ctx===z)&&(k?A.kill(1):A.revert(!0,!0));Tr=!0,z&&$l(z),z||pa("revert")},Ba=function(k,z){O.cache++,(z||!fr)&&O.forEach(function(A){return jt(A)&&A.cacheID++&&(A.rec=0)}),Yt(k)&&(ke.history.scrollRestoration=$r=k)},fr,Qi=0,Bl,Rm=function(){if(Bl!==Qi){var k=Bl=Qi;requestAnimationFrame(function(){return k===Qi&&Bs(!0)})}},Nd=function(){je.appendChild(Sr),nt=!Ut&&Sr.offsetHeight||ke.innerHeight,je.removeChild(Sr)},Fu=function(k){return ne(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(z){return z.style.display=k?"none":"block"})},Bs=function(k,z){if(Ve=Ze.documentElement,je=Ze.body,Fn=[ke,Ze,Ve,je],Ye&&!k&&!Tr){Qn(mt,"scrollEnd",$a);return}Nd(),fr=mt.isRefreshing=!0,Tr||Zc();var A=pa("refreshInit");or&&mt.sort(),z||Jc(),O.forEach(function(M){jt(M)&&(M.smooth&&(M.target.style.scrollBehavior="auto"),M(0))}),ct.slice(0).forEach(function(M){return M.refresh()}),Tr=!1,ct.forEach(function(M){if(M._subPinOffset&&M.pin){var Y=M.vars.horizontal?"offsetWidth":"offsetHeight",oe=M.pin[Y];M.revert(!0,1),M.adjustPinSpacing(M.pin[Y]-oe),M.refresh()}}),kn=1,Fu(!0),ct.forEach(function(M){var Y=gn(M.scroller,M._dir),oe=M.vars.end==="max"||M._endClamp&&M.end>Y,J=M._startClamp&&M.start>=Y;(oe||J)&&M.setPositions(J?Y-1:M.start,oe?Math.max(J?Y:M.start+1,Y):M.end,!0)}),Fu(!1),kn=0,A.forEach(function(M){return M&&M.render&&M.render(-1)}),O.forEach(function(M){jt(M)&&(M.smooth&&requestAnimationFrame(function(){return M.target.style.scrollBehavior="smooth"}),M.rec&&M(M.rec))}),Ba($r,1),Pn.pause(),Qi++,fr=2,ws(2),ct.forEach(function(M){return jt(M.vars.onRefresh)&&M.vars.onRefresh(M)}),fr=mt.isRefreshing=!1,pa("refresh")},Ul=0,Wl=1,Zi,ws=function(k){if(k===2||!fr&&!Tr){mt.isUpdating=!0,Zi&&Zi.update(0);var z=ct.length,A=Ht(),M=A-$e>=50,Y=z&&ct[0].scroll();if(Wl=Ul>Y?-1:1,fr||(Ul=Y),M&&(Ye&&!sr&&A-Ye>200&&(Ye=0,pa("scrollEnd")),ir=$e,$e=A),Wl<0){for(Kt=z;Kt-- >0;)ct[Kt]&&ct[Kt].update(0,M);Wl=1}else for(Kt=0;Kt<z;Kt++)ct[Kt]&&ct[Kt].update(0,M);mt.isUpdating=!1}Gi=0},Ua=[ht,Rn,jo,Br,Xi+ci,Xi+Lr,Xi+cr,Xi+ui,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Hl=Ua.concat([Ei,Pi,"boxSizing","max"+Va,"max"+qc,"position",Xi,Nt,Nt+cr,Nt+Lr,Nt+ci,Nt+ui]),Vu=function(k,z,A){Cr(A);var M=k._gsap;if(M.spacerIsNative)Cr(M.spacerState);else if(k._gsap.swappedIn){var Y=z.parentNode;Y&&(Y.insertBefore(k,z),Y.removeChild(z))}k._gsap.swappedIn=!1},Wa=function(k,z,A,M){if(!k._gsap.swappedIn){for(var Y=Ua.length,oe=z.style,J=k.style,be;Y--;)be=Ua[Y],oe[be]=A[be];oe.position=A.position==="absolute"?"absolute":"relative",A.display==="inline"&&(oe.display="inline-block"),J[jo]=J[Br]="auto",oe.flexBasis=A.flexBasis||"auto",oe.overflow="visible",oe.boxSizing="border-box",oe[Ei]=Lu(k,$)+On,oe[Pi]=Lu(k,K)+On,oe[Nt]=J[Xi]=J[Rn]=J[ht]="0",Cr(M),J[Ei]=J["max"+Va]=A[Ei],J[Pi]=J["max"+qc]=A[Pi],J[Nt]=A[Nt],k.parentNode!==z&&(k.parentNode.insertBefore(z,k),z.appendChild(k)),k._gsap.swappedIn=!0}},Id=/([A-Z])/g,Cr=function(k){if(k){var z=k.t.style,A=k.length,M=0,Y,oe;for((k.t._gsap||ue.core.getCache(k.t)).uncache=1;M<A;M+=2)oe=k[M+1],Y=k[M],oe?z[Y]=oe:z[Y]&&z.removeProperty(Y.replace(Id,"-$1").toLowerCase())}},go=function(k){for(var z=Hl.length,A=k.style,M=[],Y=0;Y<z;Y++)M.push(Hl[Y],A[Hl[Y]]);return M.t=k,M},ef=function(k,z,A){for(var M=[],Y=k.length,oe=A?8:0,J;oe<Y;oe+=2)J=k[oe],M.push(J,J in z?z[J]:k[oe+1]);return M.t=k.t,M},$o={left:0,top:0},Fd=function(k,z,A,M,Y,oe,J,be,Je,Mt,vt,We,fe,Ke){jt(k)&&(k=k(be)),Yt(k)&&k.substr(0,3)==="max"&&(k=We+(k.charAt(4)==="="?zl("0"+k.substr(3),A):0));var An=fe?fe.time():0,$t,vn,wn;if(fe&&fe.seek(0),isNaN(k)||(k=+k),cn(k))fe&&(k=ue.utils.mapRange(fe.scrollTrigger.start,fe.scrollTrigger.end,0,We,k)),J&&ja(J,A,M,!0);else{jt(z)&&(z=z(be));var br=(k||"0").split(" "),ft,ki,tn,st;wn=D(z,be)||je,ft=po(wn)||{},(!ft||!ft.left&&!ft.top)&&Jr(wn).display==="none"&&(st=wn.style.display,wn.style.display="block",ft=po(wn),st?wn.style.display=st:wn.style.removeProperty("display")),ki=zl(br[0],ft[M.d]),tn=zl(br[1]||"0",A),k=ft[M.p]-Je[M.p]-Mt+ki+Y-tn,J&&ja(J,tn,M,A-tn<20||J._isStart&&tn>20),A-=A-tn}if(Ke&&(be[Ke]=k||-.001,k<0&&(k=0)),oe){var Zn=k+A,di=oe._isStart;$t="scroll"+M.d2,ja(oe,Zn,M,di&&Zn>20||!di&&(vt?Math.max(je[$t],Ve[$t]):oe.parentNode[$t])<=Zn+1),vt&&(Je=po(J),vt&&(oe.style[M.op.p]=Je[M.op.p]-M.op.m-oe._offset+On))}
vendor: 5,938 bytes, line 61
61return fe&&wn&&($t=po(wn),fe.seek(We),vn=po(wn),fe._caScrollDist=$t[M.p]-vn[M.p],k=k/fe._caScrollDist*We),fe&&fe.seek(An),fe?k:Math.round(k)},tf=/(webkit|moz|length|cssText|inset)/i,zu=function(k,z,A,M){if(k.parentNode!==z){var Y=k.style,oe,J;if(z===je){k._stOrig=Y.cssText,J=Jr(k);for(oe in J)!+oe&&!tf.test(oe)&&J[oe]&&typeof Y[oe]=="string"&&oe!=="0"&&(Y[oe]=J[oe]);Y.top=A,Y.left=M}else Y.cssText=k._stOrig;ue.core.getCache(k).uncache=1,z.appendChild(k)}},Ha=function(k,z,A){var M=z,Y=M;return function(oe){var J=Math.round(k());return J!==M&&J!==Y&&Math.abs(J-M)>3&&Math.abs(J-Y)>3&&(oe=J,A&&A()),Y=M,M=Math.round(oe),M}},ma=function(k,z,A){var M={};M[z.p]="+="+A,ue.set(k,M)},nf=function(k,z){var A=G(k,z),M="_scroll"+z.p2,Y=function oe(J,be,Je,Mt,vt){var We=oe.tween,fe=be.onComplete,Ke={};Je=Je||A();var An=Ha(A,Je,function(){We.kill(),oe.tween=0});return vt=Mt&&vt||0,Mt=Mt||J-Je,We&&We.kill(),be[M]=J,be.inherit=!1,be.modifiers=Ke,Ke[M]=function(){return An(Je+Mt*We.ratio+vt*We.ratio*We.ratio)},be.onUpdate=function(){O.cache++,oe.tween&&ws()},be.onComplete=function(){oe.tween=0,fe&&fe.call(We)},We=oe.tween=ue.to(k,be),We};return k[M]=A,A.wheelHandler=function(){return Y.tween&&Y.tween.kill()&&(Y.tween=0)},Qn(k,"wheel",A.wheelHandler),mt.isTouch&&Qn(k,"touchmove",A.wheelHandler),Y},mt=(function(){function X(z,A){Pt||X.register(ue)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),lr(this),this.init(z,A)}var k=X.prototype;return k.init=function(A,M){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!yt){this.update=this.refresh=this.kill=Ce;return}A=Ll(Yt(A)||cn(A)||A.nodeType?{trigger:A}:A,za);var Y=A,oe=Y.onUpdate,J=Y.toggleClass,be=Y.id,Je=Y.onToggle,Mt=Y.onRefresh,vt=Y.scrub,We=Y.trigger,fe=Y.pin,Ke=Y.pinSpacing,An=Y.invalidateOnRefresh,$t=Y.anticipatePin,vn=Y.onScrubComplete,wn=Y.onSnapComplete,br=Y.once,ft=Y.snap,ki=Y.pinReparent,tn=Y.pinSpacer,st=Y.containerAnimation,Zn=Y.fastScrollEnd,di=Y.preventOverlaps,Be=A.horizontal||A.containerAnimation&&A.horizontal!==!1?$:K,Er=!vt&&vt!==0,tt=D(A.scroller||ke),Us=ue.core.getCache(tt),xn=At(tt),dr=("pinType"in A?A.pinType:B(tt,"pinType")||xn&&"fixed")==="fixed",ei=[A.onEnter,A.onLeave,A.onEnterBack,A.onLeaveBack],It=Er&&A.toggleActions.split(" "),Jn="markers"in A?A.markers:za.markers,jn=xn?0:parseFloat(Jr(tt)["border"+Be.p2+Va])||0,Q=this,$n=A.onRefreshInit&&function(){return A.onRefreshInit(Q)},Bo=Gt(tt,xn,Be),yo=bt(tt,xn),Ri=0,vo=0,Ur=0,er=G(tt,Be),ti,Wr,Pr,hr,Hr,kt,Mn,ni,ri,se,Oi,hi,Ws,Qt,xs,wo,Hs,_n,Ys,Dn,pi,Ai,Ks,Ka,Bn,Yl,Xs,Mi,Uo,Gs,ga,wt,_s,Ss,Ji,es,Dt,Wo,ts;if(Q._startClamp=Q._endClamp=!1,Q._dir=Be,$t*=45,Q.scroller=tt,Q.scroll=st?st.time.bind(st):er,hr=er(),Q.vars=A,M=M||A.animation,"refreshPriority"in A&&(or=1,A.refreshPriority===-9999&&(Zi=Q)),Us.tweenScroll=Us.tweenScroll||{top:nf(tt,K),left:nf(tt,$)},Q.tweenTo=ti=Us.tweenScroll[Be.p],Q.scrubDuration=function(Se){_s=cn(Se)&&Se,_s?wt?wt.duration(Se):wt=ue.to(M,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:_s,paused:!0,onComplete:function(){return vn&&vn(Q)}}):(wt&&wt.progress(1).kill(),wt=0)},M&&(M.vars.lazy=!1,M._initted&&!Q.isReverted||M.vars.immediateRender!==!1&&A.immediateRender!==!1&&M.duration()&&M.render(0,!0,!0),Q.animation=M.pause(),M.scrollTrigger=Q,Q.scrubDuration(vt),Gs=0,be||(be=M.vars.id)),ft&&((!qt(ft)||ft.push)&&(ft={snapTo:ft}),"scrollBehavior"in je.style&&ue.set(xn?[je,Ve]:tt,{scrollBehavior:"auto"}),O.forEach(function(Se){return jt(Se)&&Se.target===(xn?Ze.scrollingElement||Ve:tt)&&(Se.smooth=!1)}),Pr=jt(ft.snapTo)?ft.snapTo:ft.snapTo==="labels"?Dd(M):ft.snapTo==="labelsDirectional"?Il(M):ft.directional!==!1?function(Se,et){return Nl(ft.snapTo)(Se,Ht()-vo<500?0:et.direction)}:ue.utils.snap(ft.snapTo),Ss=ft.duration||{min:.1,max:2},Ss=qt(Ss)?on(Ss.min,Ss.max):on(Ss,Ss),Ji=ue.delayedCall(ft.delay||_s/2||.1,function(){var Se=er(),et=Ht()-vo<500,He=ti.tween;if((et||Math.abs(Q.getVelocity())<10)&&!He&&!sr&&Ri!==Se){var ut=(Se-kt)/Qt,kr=M&&!Er?M.totalProgress():ut,_t=et?0:(kr-ga)/(Ht()-ir)*1e3||0,fn=ue.utils.clamp(-ut,1-ut,vs(_t/2)*_t/.185),pr=ut+(ft.inertia===!1?0:fn),dn,Zt,zt=ft,Di=zt.onStart,Sn=zt.onInterrupt,mi=zt.onComplete;if(dn=Pr(pr,Q),cn(dn)||(dn=pr),Zt=Math.max(0,Math.round(kt+dn*Qt)),Se<=Mn&&Se>=kt&&Zt!==Se){if(He&&!He._initted&&He.data<=vs(Zt-Se))return;ft.inertia===!1&&(fn=dn-ut),ti(Zt,{duration:Ss(vs(Math.max(vs(pr-kr),vs(dn-kr))*.185/_t/.05||0)),ease:ft.ease||"power3",data:vs(Zt-Se),onInterrupt:function(){return Ji.restart(!0)&&Sn&&Sn(Q)},onComplete:function(){Q.update(),Ri=er(),M&&!Er&&(wt?wt.resetTo("totalProgress",dn,M._tTime/M._tDur):M.progress(dn)),Gs=ga=M&&!Er?M.totalProgress():Q.progress,wn&&wn(Q),mi&&mi(Q)}},Se,fn*Qt,Zt-Se-fn*Qt),Di&&Di(Q,ti.tween)}}else Q.isActive&&Ri!==Se&&Ji.restart(!0)}).pause()),be&&(js[be]=Q),We=Q.trigger=D(We||fe!==!0&&fe),ts=We&&We._gsap&&We._gsap.stRevert,ts&&(ts=ts(Q)),fe=fe===!0?We:D(fe),Yt(J)&&(J={targets:We,className:J}),fe&&(Ke===!1||Ke===Xi||(Ke=!Ke&&fe.parentNode&&fe.parentNode.style&&Jr(fe.parentNode).display==="flex"?!1:Nt),Q.pin=fe,Wr=ue.core.getCache(fe),Wr.spacer?xs=Wr.pinState:(tn&&(tn=D(tn),tn&&!tn.nodeType&&(tn=tn.current||tn.nativeElement),Wr.spacerIsNative=!!tn,tn&&(Wr.spacerState=go(tn))),Wr.spacer=_n=tn||Ze.createElement("div"),_n.classList.add("pin-spacer"),be&&_n.classList.add("pin-spacer-"+be),Wr.pinState=xs=go(fe)),A.force3D!==!1&&ue.set(fe,{force3D:!0}),Q.spacer=_n=Wr.spacer,Uo=Jr(fe),Ka=Uo[Ke+Be.os2],Dn=ue.getProperty(fe),pi=ue.quickSetter(fe,Be.a,On),Wa(fe,_n,Uo),Hs=go(fe)),Jn){hi=qt(Jn)?Ll(Jn,Qc):Qc,se=jl("scroller-start",be,tt,Be,hi,0),Oi=jl("scroller-end",be,tt,Be,hi,0,se),Ys=se["offset"+Be.op.d2];var xo=D(B(tt,"content")||tt);ni=this.markerStart=jl("start",be,xo,Be,hi,Ys,0,st),ri=this.markerEnd=jl("end",be,xo,Be,hi,Ys,0,st),st&&(Wo=ue.quickSetter([ni,ri],Be.a,On)),!dr&&!(N.length&&B(tt,"fixedMarkers")===!0)&&(Dl(xn?je:tt),ue.set([se,Oi],{force3D:!0}),Yl=ue.quickSetter(se,Be.a,On),Mi=ue.quickSetter(Oi,Be.a,On))}
vendor: 4,725 bytes, line 61
61if(st){var lt=st.vars.onUpdate,Xe=st.vars.onUpdateParams;st.eventCallback("onUpdate",function(){Q.update(0,0,1),lt&&lt.apply(st,Xe||[])})}if(Q.previous=function(){return ct[ct.indexOf(Q)-1]},Q.next=function(){return ct[ct.indexOf(Q)+1]},Q.revert=function(Se,et){if(!et)return Q.kill(!0);var He=Se!==!1||!Q.enabled,ut=Ge;He!==Q.isReverted&&(He&&(es=Math.max(er(),Q.scroll.rec||0),Ur=Q.progress,Dt=M&&M.progress()),ni&&[ni,ri,se,Oi].forEach(function(kr){return kr.style.display=He?"none":"block"}),He&&(Ge=Q,Q.update(He)),fe&&(!ki||!Q.isActive)&&(He?Vu(fe,_n,xs):Wa(fe,_n,Jr(fe),Bn)),He||Q.update(He),Ge=ut,Q.isReverted=He)},Q.refresh=function(Se,et,He,ut){if(!((Ge||!Q.enabled)&&!et)){if(fe&&Se&&Ye){Qn(X,"scrollEnd",$a);return}!fr&&$n&&$n(Q),Ge=Q,ti.tween&&!He&&(ti.tween.kill(),ti.tween=0),wt&&wt.pause(),An&&M&&(M.revert({kill:!1}).invalidate(),M.getChildren?M.getChildren(!0,!0,!1).forEach(function(Ts){return Ts.vars.immediateRender&&Ts.render(0,!0,!0)}):M.vars.immediateRender&&M.render(0,!0,!0)),Q.isReverted||Q.revert(!0,!0),Q._subPinOffset=!1;var kr=Bo(),_t=yo(),fn=st?st.duration():gn(tt,Be),pr=Qt<=.01||!Qt,dn=0,Zt=ut||0,zt=qt(He)?He.end:A.end,Di=A.endTrigger||We,Sn=qt(He)?He.start:A.start||(A.start===0||!We?0:fe?"0 0":"0 100%"),mi=Q.pinnedContainer=A.pinnedContainer&&D(A.pinnedContainer,Q),qs=We&&Math.max(0,ct.indexOf(Q))||0,Nr=qs,mr,Tn,Ho,_o,nn,Cn,Rr,Kl,Ud,Xl,Yr,So,To;for(Jn&&qt(He)&&(So=ue.getProperty(se,Be.p),To=ue.getProperty(Oi,Be.p));Nr-- >0;)Cn=ct[Nr],Cn.end||Cn.refresh(0,1)||(Ge=Q),Rr=Cn.pin,Rr&&(Rr===We||Rr===fe||Rr===mi)&&!Cn.isReverted&&(Xl||(Xl=[]),Xl.unshift(Cn),Cn.revert(!0,!0)),Cn!==ct[Nr]&&(qs--,Nr--);for(jt(Sn)&&(Sn=Sn(Q)),Sn=Fe(Sn,"start",Q),kt=Fd(Sn,We,kr,Be,er(),ni,se,Q,_t,jn,dr,fn,st,Q._startClamp&&"_startClamp")||(fe?-.001:0),jt(zt)&&(zt=zt(Q)),Yt(zt)&&!zt.indexOf("+=")&&(~zt.indexOf(" ")?zt=(Yt(Sn)?Sn.split(" ")[0]:"")+zt:(dn=zl(zt.substr(2),kr),zt=Yt(Sn)?Sn:(st?ue.utils.mapRange(0,st.duration(),st.scrollTrigger.start,st.scrollTrigger.end,kt):kt)+dn,Di=We)),zt=Fe(zt,"end",Q),Mn=Math.max(kt,Fd(zt||(Di?"100% 0":fn),Di,kr,Be,er()+dn,ri,Oi,Q,_t,jn,dr,fn,st,Q._endClamp&&"_endClamp"))||-.001,dn=0,Nr=qs;Nr--;)Cn=ct[Nr]||{},Rr=Cn.pin,Rr&&Cn.start-Cn._pinPush<=kt&&!st&&Cn.end>0&&(mr=Cn.end-(Q._startClamp?Math.max(0,Cn.start):Cn.start),(Rr===We&&Cn.start-Cn._pinPush<kt||Rr===mi)&&isNaN(Sn)&&(dn+=mr*(1-Cn.progress)),Rr===fe&&(Zt+=mr));if(kt+=dn,Mn+=dn,Q._startClamp&&(Q._startClamp+=dn),Q._endClamp&&!fr&&(Q._endClamp=Mn||-.001,Mn=Math.min(Mn,gn(tt,Be))),Qt=Mn-kt||(kt-=.01)&&.001,pr&&(Ur=ue.utils.clamp(0,1,ue.utils.normalize(kt,Mn,es))),Q._pinPush=Zt,ni&&dn&&(mr={},mr[Be.a]="+="+dn,mi&&(mr[Be.p]="-="+er()),ue.set([ni,ri],mr)),fe&&!(kn&&Q.end>=gn(tt,Be)))mr=Jr(fe),_o=Be===K,Ho=er(),Ai=parseFloat(Dn(Be.a))+Zt,!fn&&Mn>1&&(Yr=(xn?Ze.scrollingElement||Ve:tt).style,Yr={style:Yr,value:Yr["overflow"+Be.a.toUpperCase()]},xn&&Jr(je)["overflow"+Be.a.toUpperCase()]!=="scroll"&&(Yr.style["overflow"+Be.a.toUpperCase()]="scroll")),Wa(fe,_n,mr),Hs=go(fe),Tn=po(fe,!0),Kl=dr&&G(tt,_o?$:K)(),Ke?(Bn=[Ke+Be.os2,Qt+Zt+On],Bn.t=_n,Nr=Ke===Nt?Lu(fe,Be)+Qt+Zt:0,Nr&&(Bn.push(Be.d,Nr+On),_n.style.flexBasis!=="auto"&&(_n.style.flexBasis=Nr+On)),Cr(Bn),mi&&ct.forEach(function(Ts){Ts.pin===mi&&Ts.vars.pinSpacing!==!1&&(Ts._subPinOffset=!0)}),dr&&er(es)):(Nr=Lu(fe,Be),Nr&&_n.style.flexBasis!=="auto"&&(_n.style.flexBasis=Nr+On)),dr&&(nn={top:Tn.top+(_o?Ho-kt:Kl)+On,left:Tn.left+(_o?Kl:Ho-kt)+On,boxSizing:"border-box",position:"fixed"},nn[Ei]=nn["max"+Va]=Math.ceil(Tn.width)+On,nn[Pi]=nn["max"+qc]=Math.ceil(Tn.height)+On,nn[Xi]=nn[Xi+cr]=nn[Xi+Lr]=nn[Xi+ci]=nn[Xi+ui]="0",nn[Nt]=mr[Nt],nn[Nt+cr]=mr[Nt+cr],nn[Nt+Lr]=mr[Nt+Lr],nn[Nt+ci]=mr[Nt+ci],nn[Nt+ui]=mr[Nt+ui],wo=ef(xs,nn,ki),fr&&er(0)),M?(Ud=M._initted,ar(1),M.render(M.duration(),!0,!0),Ks=Dn(Be.a)-Ai+Qt+Zt,Xs=Math.abs(Qt-Ks)>1,dr&&Xs&&wo.splice(wo.length-2,2),M.render(0,!0,!0),Ud||M.invalidate(!0),M.parent||M.totalTime(M.totalTime()),ar(0)):Ks=Qt,Yr&&(Yr.value?Yr.style["overflow"+Be.a.toUpperCase()]=Yr.value:Yr.style.removeProperty("overflow-"+Be.a));else if(We&&er()&&!st)for(Tn=We.parentNode;Tn&&Tn!==je;)Tn._pinOffset&&(kt-=Tn._pinOffset,Mn-=Tn._pinOffset),Tn=Tn.parentNode;Xl&&Xl.forEach(function(Ts){return Ts.revert(!1,!0)}),Q.start=kt,Q.end=Mn,hr=Hr=fr?es:er(),!st&&!fr&&(hr<es&&er(es),Q.scroll.rec=0),Q.revert(!1,!0),vo=Ht(),Ji&&(Ri=-1,Ji.restart(!0)),Ge=0,M&&Er&&(M._initted||Dt)&&M.progress()!==Dt&&M.progress(Dt||0,!0).render(M.time(),!0,!0),(pr||Ur!==Q.progress||st||An||M&&!M._initted)&&(M&&!Er&&(M._initted||Ur||M.vars.immediateRender!==!1)&&M.totalProgress(st&&kt<-.001&&!Ur?ue.utils.normalize(kt,Mn,0):Ur,!0),Q.progress=pr||(hr-kt)/Qt===Ur?0:Ur),fe&&Ke&&(_n._pinOffset=Math.round(Q.progress*Ks)),wt&&wt.invali
vendor: 4,296 bytes, line 61
61date(),isNaN(So)||(So-=ue.getProperty(se,Be.p),To-=ue.getProperty(Oi,Be.p),ma(se,Be,So),ma(ni,Be,So-(ut||0)),ma(Oi,Be,To),ma(ri,Be,To-(ut||0))),pr&&!fr&&Q.update(),Mt&&!fr&&!Ws&&(Ws=!0,Mt(Q),Ws=!1)}},Q.getVelocity=function(){return(er()-Hr)/(Ht()-ir)*1e3||0},Q.endAnimation=function(){yn(Q.callbackAnimation),M&&(wt?wt.progress(1):M.paused()?Er||yn(M,Q.direction<0,1):yn(M,M.reversed()))},Q.labelToScroll=function(Se){return M&&M.labels&&(kt||Q.refresh()||kt)+M.labels[Se]/M.duration()*Qt||0},Q.getTrailing=function(Se){var et=ct.indexOf(Q),He=Q.direction>0?ct.slice(0,et).reverse():ct.slice(et+1);return(Yt(Se)?He.filter(function(ut){return ut.vars.preventOverlaps===Se}):He).filter(function(ut){return Q.direction>0?ut.end<=kt:ut.start>=Mn})},Q.update=function(Se,et,He){if(!(st&&!He&&!Se)){var ut=fr===!0?es:Q.scroll(),kr=Se?0:(ut-kt)/Qt,_t=kr<0?0:kr>1?1:kr||0,fn=Q.progress,pr,dn,Zt,zt,Di,Sn,mi,qs;if(et&&(Hr=hr,hr=st?er():ut,ft&&(ga=Gs,Gs=M&&!Er?M.totalProgress():_t)),$t&&fe&&!Ge&&!Xt&&Ye&&(!_t&&kt<ut+(ut-Hr)/(Ht()-ir)*$t?_t=1e-4:_t===1&&Mn>ut+(ut-Hr)/(Ht()-ir)*$t&&(_t=.9999)),_t!==fn&&Q.enabled){if(pr=Q.isActive=!!_t&&_t<1,dn=!!fn&&fn<1,Sn=pr!==dn,Di=Sn||!!_t!=!!fn,Q.direction=_t>fn?1:-1,Q.progress=_t,Di&&!Ge&&(Zt=_t&&!fn?0:_t===1?1:fn===1?2:3,Er&&(zt=!Sn&&It[Zt+1]!=="none"&&It[Zt+1]||It[Zt],qs=M&&(zt==="complete"||zt==="reset"||zt in M))),di&&(Sn||qs)&&(qs||vt||!M)&&(jt(di)?di(Q):Q.getTrailing(di).forEach(function(Ho){return Ho.endAnimation()})),Er||(wt&&!Ge&&!Xt?(wt._dp._time-wt._start!==wt._time&&wt.render(wt._dp._time-wt._start),wt.resetTo?wt.resetTo("totalProgress",_t,M._tTime/M._tDur):(wt.vars.totalProgress=_t,wt.invalidate().restart())):M&&M.totalProgress(_t,!!(Ge&&(vo||Se)))),fe){if(Se&&Ke&&(_n.style[Ke+Be.os2]=Ka),!dr)pi(Ue(Ai+Ks*_t));else if(Di){if(mi=!Se&&_t>fn&&Mn+1>ut&&ut+1>=gn(tt,Be),ki)if(!Se&&(pr||mi)){var Nr=po(fe,!0),mr=ut-kt;zu(fe,je,Nr.top+(Be===K?mr:0)+On,Nr.left+(Be===K?0:mr)+On)}else zu(fe,_n);Cr(pr||mi?wo:Hs),Xs&&_t<1&&pr||pi(Ai+(_t===1&&!mi?Ks:0))}}ft&&!ti.tween&&!Ge&&!Xt&&Ji.restart(!0),J&&(Sn||br&&_t&&(_t<1||!ln))&&ne(J.targets).forEach(function(Ho){return Ho.classList[pr||br?"add":"remove"](J.className)}),oe&&!Er&&!Se&&oe(Q),Di&&!Ge?(Er&&(qs&&(zt==="complete"?M.pause().totalProgress(1):zt==="reset"?M.restart(!0).pause():zt==="restart"?M.restart(!0):M[zt]()),oe&&oe(Q)),(Sn||!ln)&&(Je&&Sn&&ys(Q,Je),ei[Zt]&&ys(Q,ei[Zt]),br&&(_t===1?Q.kill(!1,1):ei[Zt]=0),Sn||(Zt=_t===1?1:3,ei[Zt]&&ys(Q,ei[Zt]))),Zn&&!pr&&Math.abs(Q.getVelocity())>(cn(Zn)?Zn:2500)&&(yn(Q.callbackAnimation),wt?wt.progress(1):yn(M,zt==="reverse"?1:!_t,1))):Er&&oe&&!Ge&&oe(Q)}if(Mi){var Tn=st?ut/st.duration()*(st._caScrollDist||0):ut;Yl(Tn+(se._isFlipped?1:0)),Mi(Tn)}Wo&&Wo(-ut/st.duration()*(st._caScrollDist||0))}},Q.enable=function(Se,et){Q.enabled||(Q.enabled=!0,Qn(tt,"resize",qi),xn||Qn(tt,"scroll",$s),$n&&Qn(X,"refreshInit",$n),Se!==!1&&(Q.progress=Ur=0,hr=Hr=Ri=er()),et!==!1&&Q.refresh())},Q.getTween=function(Se){return Se&&ti?ti.tween:wt},Q.setPositions=function(Se,et,He,ut){if(st){var kr=st.scrollTrigger,_t=st.duration(),fn=kr.end-kr.start;Se=kr.start+fn*Se/_t,et=kr.start+fn*et/_t}Q.refresh(!1,!1,{start:Re(Se,He&&!!Q._startClamp),end:Re(et,He&&!!Q._endClamp)},ut),Q.update()},Q.adjustPinSpacing=function(Se){if(Bn&&Se){var et=Bn.indexOf(Be.d)+1;Bn[et]=parseFloat(Bn[et])+Se+On,Bn[1]=parseFloat(Bn[1])+Se+On,Cr(Bn)}},Q.disable=function(Se,et){if(Se!==!1&&Q.revert(!0,!0),Q.enabled&&(Q.enabled=Q.isActive=!1,et||wt&&wt.pause(),es=0,Wr&&(Wr.uncache=1),$n&&it(X,"refreshInit",$n),Ji&&(Ji.pause(),ti.tween&&ti.tween.kill()&&(ti.tween=0)),!xn)){for(var He=ct.length;He--;)if(ct[He].scroller===tt&&ct[He]!==Q)return;it(tt,"resize",qi),xn||it(tt,"scroll",$s)}},Q.kill=function(Se,et){Q.disable(Se,et),wt&&!et&&wt.kill(),be&&delete js[be];var He=ct.indexOf(Q);He>=0&&ct.splice(He,1),He===Kt&&Wl>0&&Kt--,He=0,ct.forEach(function(ut){return ut.scroller===Q.scroller&&(He=1)}),He||fr||(Q.scroll.rec=0),M&&(M.scrollTrigger=null,Se&&M.revert({kill:!1}),et||M.kill()),ni&&[ni,ri,se,Oi].forEach(function(ut){return ut.parentNode&&ut.parentNode.removeChild(ut)}),Zi===Q&&(Zi=0),fe&&(Wr&&(Wr.uncache=1),He=0,ct.forEach(function(ut){return ut.pin===fe&&He++}),He||(Wr.spacer=0)),A.onKill&&A.onKill(Q)},ct.push(Q),Q.enable(!1,!1),ts&&ts(Q),M&&M.add&&!Qt){var Et=Q.update;
vendor: 3,898 bytes, line 61
61Q.update=function(){Q.update=Et,O.cache++,kt||Mn||Q.refresh()},ue.delayedCall(.01,Q.update),Qt=.01,kt=Mn=0}else Q.refresh();fe&&Rm()},X.register=function(A){return Pt||(ue=A||dt(),un()&&window.document&&X.enable(),Pt=yt),Pt},X.defaults=function(A){if(A)for(var M in A)za[M]=A[M];return za},X.disable=function(A,M){yt=0,ct.forEach(function(oe){return oe[M?"kill":"disable"](A)}),it(ke,"wheel",$s),it(Ze,"scroll",$s),clearInterval(Gn),it(Ze,"touchcancel",Ce),it(je,"touchstart",Ce),Iu(it,Ze,"pointerdown,touchstart,mousedown",xe),Iu(it,Ze,"pointerup,touchend,mouseup",Me),Pn.kill(),Vt(it);for(var Y=0;Y<O.length;Y+=3)Fl(it,O[Y],O[Y+1]),Fl(it,O[Y],O[Y+2])},X.enable=function(){if(ke=window,Ze=document,Ve=Ze.documentElement,je=Ze.body,ue&&(ne=ue.utils.toArray,on=ue.utils.clamp,lr=ue.core.context||Ce,ar=ue.core.suppressOverwrites||Ce,$r=ke.history.scrollRestoration||"auto",Ul=ke.pageYOffset||0,ue.core.globals("ScrollTrigger",X),je)){yt=1,Sr=document.createElement("div"),Sr.style.height="100vh",Sr.style.position="absolute",Nd(),rt(),Te.register(ue),X.isTouch=Te.isTouch,_r=Te.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Wt=Te.isTouch===1,Qn(ke,"wheel",$s),Fn=[ke,Ze,Ve,je],ue.matchMedia?(X.matchMedia=function(Je){var Mt=ue.matchMedia(),vt;for(vt in Je)Mt.add(vt,Je[vt]);return Mt},ue.addEventListener("matchMediaInit",function(){Zc(),Jc()}),ue.addEventListener("matchMediaRevert",function(){return $l()}),ue.addEventListener("matchMedia",function(){Bs(0,1),pa("matchMedia")}),ue.matchMedia().add("(orientation: portrait)",function(){return da(),da})):console.warn("Requires GSAP 3.11.0 or later"),da(),Qn(Ze,"scroll",$s);var A=je.hasAttribute("style"),M=je.style,Y=M.borderTopStyle,oe=ue.core.Animation.prototype,J,be;for(oe.revert||Object.defineProperty(oe,"revert",{value:function(){return this.time(-.01,!0)}}),M.borderTopStyle="solid",J=po(je),K.m=Math.round(J.top+K.sc())||0,$.m=Math.round(J.left+$.sc())||0,Y?M.borderTopStyle=Y:M.removeProperty("border-top-style"),A||(je.setAttribute("style",""),je.removeAttribute("style")),Gn=setInterval(mo,250),ue.delayedCall(.5,function(){return Xt=0}),Qn(Ze,"touchcancel",Ce),Qn(je,"touchstart",Ce),Iu(Qn,Ze,"pointerdown,touchstart,mousedown",xe),Iu(Qn,Ze,"pointerup,touchend,mouseup",Me),Vn=ue.utils.checkPrefix("transform"),Hl.push(Vn),Pt=Ht(),Pn=ue.delayedCall(.2,Bs).pause(),gt=[Ze,"visibilitychange",function(){var Je=ke.innerWidth,Mt=ke.innerHeight;Ze.hidden?(an=Je,Jt=Mt):(an!==Je||Jt!==Mt)&&qi()},Ze,"DOMContentLoaded",Bs,ke,"load",Bs,ke,"resize",qi],Vt(Qn),ct.forEach(function(Je){return Je.enable(0,1)}),be=0;be<O.length;be+=3)Fl(it,O[be],O[be+1]),Fl(it,O[be],O[be+2])}},X.config=function(A){"limitCallbacks"in A&&(ln=!!A.limitCallbacks);var M=A.syncInterval;M&&clearInterval(Gn)||(Gn=M)&&setInterval(mo,M),"ignoreMobileResize"in A&&(Wt=X.isTouch===1&&A.ignoreMobileResize),"autoRefreshEvents"in A&&(Vt(it)||Vt(Qn,A.autoRefreshEvents||"none"),zn=(A.autoRefreshEvents+"").indexOf("resize")===-1)},X.scrollerProxy=function(A,M){var Y=D(A),oe=O.indexOf(Y),J=At(Y);~oe&&O.splice(oe,J?6:2),M&&(J?N.unshift(ke,M,je,M,Ve,M):N.unshift(Y,M))},X.clearMatchMedia=function(A){ct.forEach(function(M){return M._ctx&&M._ctx.query===A&&M._ctx.kill(!0,!0)})},X.isInViewport=function(A,M,Y){var oe=(Yt(A)?D(A):A).getBoundingClientRect(),J=oe[Y?Ei:Pi]*M||0;return Y?oe.right-J>0&&oe.left+J<ke.innerWidth:oe.bottom-J>0&&oe.top+J<ke.innerHeight},X.positionInViewport=function(A,M,Y){Yt(A)&&(A=D(A));var oe=A.getBoundingClientRect(),J=oe[Y?Ei:Pi],be=M==null?J/2:M in Vl?Vl[M]*J:~M.indexOf("%")?parseFloat(M)*J/100:parseFloat(M)||0;return Y?(oe.left+be)/ke.innerWidth:(oe.top+be)/ke.innerHeight},X.killAll=function(A){if(ct.slice(0).forEach(function(Y){return Y.vars.id!=="ScrollSmoother"&&Y.kill()}),A!==!0){var M=ha.killAll||[];ha={},M.forEach(function(Y){return Y()})}},X})();mt.version="3.14.2",mt.saveStyles=function(X){return X?ne(X).forEac
vendor: 4,135 bytes, line 61
61h(function(k){if(k&&k.style){var z=fi.indexOf(k);z>=0&&fi.splice(z,5),fi.push(k,k.style.cssText,k.getBBox&&k.getAttribute("transform"),ue.core.getCache(k),lr())}}):fi},mt.revert=function(X,k){return Jc(!X,k)},mt.create=function(X,k){return new mt(X,k)},mt.refresh=function(X){return X?qi(!0):(Pt||mt.register())&&Bs(!0)},mt.update=function(X){return++O.cache&&ws(X===!0?2:0)},mt.clearScrollMemory=Ba,mt.maxScroll=function(X,k){return gn(X,k?$:K)},mt.getScrollFunc=function(X,k){return G(D(X),k?$:K)},mt.getById=function(X){return js[X]},mt.getAll=function(){return ct.filter(function(X){return X.vars.id!=="ScrollSmoother"})},mt.isScrolling=function(){return!!Ye},mt.snapDirectional=Nl,mt.addEventListener=function(X,k){var z=ha[X]||(ha[X]=[]);~z.indexOf(k)||z.push(k)},mt.removeEventListener=function(X,k){var z=ha[X],A=z&&z.indexOf(k);A>=0&&z.splice(A,1)},mt.batch=function(X,k){var z=[],A={},M=k.interval||.016,Y=k.batchMax||1e9,oe=function(Je,Mt){var vt=[],We=[],fe=ue.delayedCall(M,function(){Mt(vt,We),vt=[],We=[]}).pause();return function(Ke){vt.length||fe.restart(!0),vt.push(Ke.trigger),We.push(Ke),Y<=vt.length&&fe.progress(1)}},J;for(J in k)A[J]=J.substr(0,2)==="on"&&jt(k[J])&&J!=="onRefreshInit"?oe(J,k[J]):k[J];return jt(Y)&&(Y=Y(),Qn(mt,"refresh",function(){return Y=k.batchMax()})),ne(X).forEach(function(be){var Je={};for(J in A)Je[J]=A[J];Je.trigger=be,z.push(mt.create(Je))}),z};var Vd=function(k,z,A,M){return z>M?k(M):z<0&&k(0),A>M?(M-z)/(A-z):A<0?z/(z-A):1},rf=function X(k,z){z===!0?k.style.removeProperty("touch-action"):k.style.touchAction=z===!0?"auto":z?"pan-"+z+(Te.isTouch?" pinch-zoom":""):"none",k===Ve&&X(je,z)},Ya={auto:1,scroll:1},Om=function(k){var z=k.event,A=k.target,M=k.axis,Y=(z.changedTouches?z.changedTouches[0]:z).target,oe=Y._gsap||ue.core.getCache(Y),J=Ht(),be;if(!oe._isScrollT||J-oe._isScrollT>2e3){for(;Y&&Y!==je&&(Y.scrollHeight<=Y.clientHeight&&Y.scrollWidth<=Y.clientWidth||!(Ya[(be=Jr(Y)).overflowY]||Ya[be.overflowX]));)Y=Y.parentNode;oe._isScroll=Y&&Y!==A&&!At(Y)&&(Ya[(be=Jr(Y)).overflowY]||Ya[be.overflowX]),oe._isScrollT=J}(oe._isScroll||M==="x")&&(z.stopPropagation(),z._gsapAllow=!0)},zd=function(k,z,A,M){return Te.create({target:k,capture:!0,debounce:!1,lockAxis:!0,type:z,onWheel:M=M&&Om,onPress:M,onDrag:M,onScroll:M,onEnable:function(){return A&&Qn(Ze,Te.eventTypes[0],$d,!1,!0)},onDisable:function(){return it(Ze,Te.eventTypes[0],$d,!0)}})},Am=/(input|label|select|textarea)/i,jd,$d=function(k){var z=Am.test(k.target.tagName);(z||jd)&&(k._gsapAllow=!0,jd=z)},Bd=function(k){qt(k)||(k={}),k.preventDefault=k.isNormalizer=k.allowClicks=!0,k.type||(k.type="wheel,touch"),k.debounce=!!k.debounce,k.id=k.id||"normalizer";var z=k,A=z.normalizeScrollX,M=z.momentum,Y=z.allowNestedScroll,oe=z.onRelease,J,be,Je=D(k.target)||Ve,Mt=ue.core.globals().ScrollSmoother,vt=Mt&&Mt.get(),We=_r&&(k.content&&D(k.content)||vt&&k.content!==!1&&!vt.smooth()&&vt.content()),fe=G(Je,K),Ke=G(Je,$),An=1,$t=(Te.isTouch&&ke.visualViewport?ke.visualViewport.scale*ke.visualViewport.width:ke.outerWidth)/ke.innerWidth,vn=0,wn=jt(M)?function(){return M(J)}:function(){return M||2.8},br,ft,ki=zd(Je,k.type,!0,Y),tn=function(){return ft=!1},st=Ce,Zn=Ce,di=function(){be=gn(Je,K),Zn=on(_r?1:0,be),A&&(st=on(0,gn(Je,$))),br=Qi},Be=function(){We._gsap.y=Ue(parseFloat(We._gsap.y)+fe.offset)+"px",We.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(We._gsap.y)+", 0, 1)",fe.offset=fe.cacheID=0},Er=function(){if(ft){requestAnimationFrame(tn);var Jn=Ue(J.deltaY/2),jn=Zn(fe.v-Jn);if(We&&jn!==fe.v+fe.offset){fe.offset=jn-fe.v;var Q=Ue((parseFloat(We&&We._gsap.y)||0)-fe.offset);We.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+Q+", 0, 1)",We._gsap.y=Q+"px",fe.cacheID=O.cache,ws()}return!0}fe.offset&&Be(),ft=!0},tt,Us,xn,dr,ei=function(){di(),tt.isActive()&&tt.vars.scrollY>be&&(fe()>be?tt.progress(1)&&fe(be):tt.resetTo("scrollY",be))};return We&&ue.set(We,{y:"+=0"}),k.ignoreCheck=function(It){return _r&&It.type==="touchmove"&&Er()||An>1.05&&It.type!=="touchstart"||J.isGesturing||It.touches&&It.touches.length>1},k.onPress=function(){ft=!1;var It=An;
vendor: 2,959 bytes, line 61
61An=Ue((ke.visualViewport&&ke.visualViewport.scale||1)/$t),tt.pause(),It!==An&&rf(Je,An>1.01?!0:A?!1:"x"),Us=Ke(),xn=fe(),di(),br=Qi},k.onRelease=k.onGestureStart=function(It,Jn){if(fe.offset&&Be(),!Jn)dr.restart(!0);else{O.cache++;var jn=wn(),Q,$n;A&&(Q=Ke(),$n=Q+jn*.05*-It.velocityX/.227,jn*=Vd(Ke,Q,$n,gn(Je,$)),tt.vars.scrollX=st($n)),Q=fe(),$n=Q+jn*.05*-It.velocityY/.227,jn*=Vd(fe,Q,$n,gn(Je,K)),tt.vars.scrollY=Zn($n),tt.invalidate().duration(jn).play(.01),(_r&&tt.vars.scrollY>=be||Q>=be-1)&&ue.to({},{onUpdate:ei,duration:jn})}oe&&oe(It)},k.onWheel=function(){tt._ts&&tt.pause(),Ht()-vn>1e3&&(br=0,vn=Ht())},k.onChange=function(It,Jn,jn,Q,$n){if(Qi!==br&&di(),Jn&&A&&Ke(st(Q[2]===Jn?Us+(It.startX-It.x):Ke()+Jn-Q[1])),jn){fe.offset&&Be();var Bo=$n[2]===jn,yo=Bo?xn+It.startY-It.y:fe()+jn-$n[1],Ri=Zn(yo);Bo&&yo!==Ri&&(xn+=Ri-yo),fe(Ri)}(jn||Jn)&&ws()},k.onEnable=function(){rf(Je,A?!1:"x"),mt.addEventListener("refresh",ei),Qn(ke,"resize",ei),fe.smooth&&(fe.target.style.scrollBehavior="auto",fe.smooth=Ke.smooth=!1),ki.enable()},k.onDisable=function(){rf(Je,!0),it(ke,"resize",ei),mt.removeEventListener("refresh",ei),ki.kill()},k.lockAxis=k.lockAxis!==!1,J=new Te(k),J.iOS=_r,_r&&!fe()&&fe(1),_r&&ue.ticker.add(Ce),dr=J._dc,tt=ue.to(J,{ease:"power4",paused:!0,inherit:!1,scrollX:A?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Ha(fe,fe(),function(){return tt.pause()})},onUpdate:ws,onComplete:dr.vars.onComplete}),J};mt.sort=function(X){if(jt(X))return ct.sort(X);var k=ke.pageYOffset||0;return mt.getAll().forEach(function(z){return z._sortY=z.trigger?k+z.trigger.getBoundingClientRect().top:z.start+ke.innerHeight}),ct.sort(X||function(z,A){return(z.vars.refreshPriority||0)*-1e6+(z.vars.containerAnimation?1e6:z._sortY)-((A.vars.containerAnimation?1e6:A._sortY)+(A.vars.refreshPriority||0)*-1e6)})},mt.observe=function(X){return new Te(X)},mt.normalizeScroll=function(X){if(typeof X>"u")return Ut;if(X===!0&&Ut)return Ut.enable();if(X===!1){Ut&&Ut.kill(),Ut=X;return}var k=X instanceof Te?X:Bd(X);return Ut&&Ut.target===k.target&&Ut.kill(),At(k.target)&&(Ut=k),k},mt.core={_getVelocityProp:ye,_inputObserver:zd,_scrollers:O,_proxies:N,bridge:{ss:function(){Ye||pa("scrollStart"),Ye=Ht()},ref:function(){return Ge}}},dt()&&ue.registerPlugin(mt),n.ScrollTrigger=mt,n.default=mt,typeof window>"u"||window!==n?Object.defineProperty(n,"__esModule",{value:!0}):delete window.default}))})(Ff,Ff.exports)),Ff.exports}var d4=c5();export{Q5 as $,N5 as A,$5 as B,k5 as C,L5 as D,X5 as E,B5 as F,K5 as G,d5 as H,U5 as I,Z5 as J,T5 as K,v5 as L,H5 as M,y5 as N,r4 as O,P5 as P,S5 as Q,M5 as R,Rt as S,D5 as T,g5 as U,A5 as V,RA as W,G5 as X,p5 as Y,m5 as Z,gs as _,I5 as a,w5 as a0,f5 as a1,DO as a2,ve as a3,f4 as a4,x5 as a5,d4 as a6,c4 as a7,h5 as a8,F5 as b,_2 as c,O5 as d,q5 as e,_5 as f,n4 as g,i4 as h,a4 as i,ce as j,s4 as k,o4 as l,ZO as m,e4 as n,t4 as o,hC as p,l4 as q,T as r,V5 as s,R5 as t,Td as u,j5 as v,z5 as w,W5 as x,xF as y,Y5 as z};

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.