PageSourceSearch

https://argentinaincempanadas.com/assets/index-CadJqJJn.js

js argentinaincempanadas.com collected 2026-10-07 20:45:29 UTC 478,886 bytes, 54 lines download raw bytes

vendor: 5,432 bytes, line 1
1function y1(t,n){for(var o=0;o<n.length;o++){const i=n[o];if(typeof i!="string"&&!Array.isArray(i)){for(const a in i)if(a!=="default"&&!(a in t)){const u=Object.getOwnPropertyDescriptor(i,a);u&&Object.defineProperty(t,a,u.get?u:{enumerable:!0,get:()=>i[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const u of a)if(u.type==="childList")for(const c of u.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&i(c)}).observe(document,{childList:!0,subtree:!0});function o(a){const u={};return a.integrity&&(u.integrity=a.integrity),a.referrerPolicy&&(u.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?u.credentials="include":a.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function i(a){if(a.ep)return;a.ep=!0;const u=o(a);fetch(a.href,u)}})();function Qr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var $u={exports:{}},Ri={},Wu={exports:{}},xe={};var bh;function v1(){if(bh)return xe;bh=1;var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.iterator;function w(R){return R===null||typeof R!="object"?null:(R=m&&R[m]||R["@@iterator"],typeof R=="function"?R:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,E={};function C(R,I,Q){this.props=R,this.context=I,this.refs=E,this.updater=Q||S}C.prototype.isReactComponent={},C.prototype.setState=function(R,I){if(typeof R!="object"&&typeof R!="function"&&R!=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,R,I,"setState")},C.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function P(){}P.prototype=C.prototype;function D(R,I,Q){this.props=R,this.context=I,this.refs=E,this.updater=Q||S}var O=D.prototype=new P;O.constructor=D,N(O,C.prototype),O.isPureReactComponent=!0;var F=Array.isArray,_=Object.prototype.hasOwnProperty,G={current:null},K={key:!0,ref:!0,__self:!0,__source:!0};function Y(R,I,Q){var re,oe={},pe=null,we=null;if(I!=null)for(re in I.ref!==void 0&&(we=I.ref),I.key!==void 0&&(pe=""+I.key),I)_.call(I,re)&&!K.hasOwnProperty(re)&&(oe[re]=I[re]);var se=arguments.length-2;if(se===1)oe.children=Q;else if(1<se){for(var Ce=Array(se),Je=0;Je<se;Je++)Ce[Je]=arguments[Je+2];oe.children=Ce}if(R&&R.defaultProps)for(re in se=R.defaultProps,se)oe[re]===void 0&&(oe[re]=se[re]);return{$$typeof:t,type:R,key:pe,ref:we,props:oe,_owner:G.current}}function he(R,I){return{$$typeof:t,type:R.type,key:I,ref:R.ref,props:R.props,_owner:R._owner}}function ye(R){return typeof R=="object"&&R!==null&&R.$$typeof===t}function Te(R){var I={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(Q){return I[Q]})}var ce=/\/+/g;function Se(R,I){return typeof R=="object"&&R!==null&&R.key!=null?Te(""+R.key):I.toString(36)}function Ne(R,I,Q,re,oe){var pe=typeof R;(pe==="undefined"||pe==="boolean")&&(R=null);var we=!1;if(R===null)we=!0;else switch(pe){case"string":case"number":we=!0;break;case"object":switch(R.$$typeof){case t:case n:we=!0}}if(we)return we=R,oe=oe(we),R=re===""?"."+Se(we,0):re,F(oe)?(Q="",R!=null&&(Q=R.replace(ce,"$&/")+"/"),Ne(oe,I,Q,"",function(Je){return Je})):oe!=null&&(ye(oe)&&(oe=he(oe,Q+(!oe.key||we&&we.key===oe.key?"":(""+oe.key).replace(ce,"$&/")+"/")+R)),I.push(oe)),1;if(we=0,re=re===""?".":re+":",F(R))for(var se=0;se<R.length;se++){pe=R[se];var Ce=re+Se(pe,se);we+=Ne(pe,I,Q,Ce,oe)}else if(Ce=w(R),typeof Ce=="function")for(R=Ce.call(R),se=0;!(pe=R.next()).done;)pe=pe.value,Ce=re+Se(pe,se++),we+=Ne(pe,I,Q,Ce,oe);else if(pe==="object")throw I=String(R),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.");return we}function Pe(R,I,Q){if(R==null)return R;var re=[],oe=0;return Ne(R,re,"","",function(pe){return I.call(Q,pe,oe++)}),re}function de(R){if(R._status===-1){var I=R._result;I=I(),I.then(function(Q){(R._status===0||R._status===-1)&&(R._status=1,R._result=Q)},function(Q){(R._status===0||R._status===-1)&&(R._status=2,R._result=Q)}),R._status===-1&&(R._status=0,R._result=I)}if(R._status===1)return R._result.default;throw R._result}var ne={current:null},U={transition:null},X={ReactCurrentDispatcher:ne,ReactCurrentBatchConfig:U,ReactCurrentOwner:G};function H(){throw Error("act(...) is not supported in production builds of React.")}return xe.Children={map:Pe,forEach:function(R,I,Q){Pe(R,function(){I.apply(this,arguments)},Q)},count:function(R){var I=0;return Pe(R,function(){I++}),I},toArray:function(R){return Pe(R,function(I){return I})||[]},only:function(R){if(!ye(R))throw Error("React.Children.only expected to receive a single React element child.");return R}}
vendor: 5,233 bytes, line 1
1,xe.Component=C,xe.Fragment=o,xe.Profiler=a,xe.PureComponent=D,xe.StrictMode=i,xe.Suspense=p,xe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=X,xe.act=H,xe.cloneElement=function(R,I,Q){if(R==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+R+".");var re=N({},R.props),oe=R.key,pe=R.ref,we=R._owner;if(I!=null){if(I.ref!==void 0&&(pe=I.ref,we=G.current),I.key!==void 0&&(oe=""+I.key),R.type&&R.type.defaultProps)var se=R.type.defaultProps;for(Ce in I)_.call(I,Ce)&&!K.hasOwnProperty(Ce)&&(re[Ce]=I[Ce]===void 0&&se!==void 0?se[Ce]:I[Ce])}var Ce=arguments.length-2;if(Ce===1)re.children=Q;else if(1<Ce){se=Array(Ce);for(var Je=0;Je<Ce;Je++)se[Je]=arguments[Je+2];re.children=se}return{$$typeof:t,type:R.type,key:oe,ref:pe,props:re,_owner:we}},xe.createContext=function(R){return R={$$typeof:c,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},R.Provider={$$typeof:u,_context:R},R.Consumer=R},xe.createElement=Y,xe.createFactory=function(R){var I=Y.bind(null,R);return I.type=R,I},xe.createRef=function(){return{current:null}},xe.forwardRef=function(R){return{$$typeof:d,render:R}},xe.isValidElement=ye,xe.lazy=function(R){return{$$typeof:v,_payload:{_status:-1,_result:R},_init:de}},xe.memo=function(R,I){return{$$typeof:g,type:R,compare:I===void 0?null:I}},xe.startTransition=function(R){var I=U.transition;U.transition={};try{R()}finally{U.transition=I}},xe.unstable_act=H,xe.useCallback=function(R,I){return ne.current.useCallback(R,I)},xe.useContext=function(R){return ne.current.useContext(R)},xe.useDebugValue=function(){},xe.useDeferredValue=function(R){return ne.current.useDeferredValue(R)},xe.useEffect=function(R,I){return ne.current.useEffect(R,I)},xe.useId=function(){return ne.current.useId()},xe.useImperativeHandle=function(R,I,Q){return ne.current.useImperativeHandle(R,I,Q)},xe.useInsertionEffect=function(R,I){return ne.current.useInsertionEffect(R,I)},xe.useLayoutEffect=function(R,I){return ne.current.useLayoutEffect(R,I)},xe.useMemo=function(R,I){return ne.current.useMemo(R,I)},xe.useReducer=function(R,I,Q){return ne.current.useReducer(R,I,Q)},xe.useRef=function(R){return ne.current.useRef(R)},xe.useState=function(R){return ne.current.useState(R)},xe.useSyncExternalStore=function(R,I,Q){return ne.current.useSyncExternalStore(R,I,Q)},xe.useTransition=function(){return ne.current.useTransition()},xe.version="18.3.1",xe}var Sh;function qa(){return Sh||(Sh=1,Wu.exports=v1()),Wu.exports}var Eh;function x1(){if(Eh)return Ri;Eh=1;var t=qa(),n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(d,p,g){var v,m={},w=null,S=null;g!==void 0&&(w=""+g),p.key!==void 0&&(w=""+p.key),p.ref!==void 0&&(S=p.ref);for(v in p)i.call(p,v)&&!u.hasOwnProperty(v)&&(m[v]=p[v]);if(d&&d.defaultProps)for(v in p=d.defaultProps,p)m[v]===void 0&&(m[v]=p[v]);return{$$typeof:n,type:d,key:w,ref:S,props:m,_owner:a.current}}return Ri.Fragment=o,Ri.jsx=c,Ri.jsxs=c,Ri}var Ch;function w1(){return Ch||(Ch=1,$u.exports=x1()),$u.exports}var y=w1(),b=qa();const W=Qr(b),Zc=y1({__proto__:null,default:W},[b]);var xa={},Hu={exports:{}},Et={},Ku={exports:{}},Gu={};var Th;function b1(){return Th||(Th=1,(function(t){function n(U,X){var H=U.length;U.push(X);e:for(;0<H;){var R=H-1>>>1,I=U[R];if(0<a(I,X))U[R]=X,U[H]=I,H=R;else break e}}function o(U){return U.length===0?null:U[0]}function i(U){if(U.length===0)return null;var X=U[0],H=U.pop();if(H!==X){U[0]=H;e:for(var R=0,I=U.length,Q=I>>>1;R<Q;){var re=2*(R+1)-1,oe=U[re],pe=re+1,we=U[pe];if(0>a(oe,H))pe<I&&0>a(we,oe)?(U[R]=we,U[pe]=H,R=pe):(U[R]=oe,U[re]=H,R=re);else if(pe<I&&0>a(we,H))U[R]=we,U[pe]=H,R=pe;else break e}}return X}function a(U,X){var H=U.sortIndex-X.sortIndex;return H!==0?H:U.id-X.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var c=Date,d=c.now();t.unstable_now=function(){return c.now()-d}}var p=[],g=[],v=1,m=null,w=3,S=!1,N=!1,E=!1,C=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(U){for(var X=o(g);X!==null;){if(X.callback===null)i(g);else if(X.startTime<=U)i(g),X.sortIndex=X.expirationTime,n(p,X);else break;X=o(g)}}function F(U){if(E=!1,O(U),!N)if(o(p)!==null)N=!0,de(_);else{var X=o(g);X!==null&&ne(F,X.startTime-U)}}function _(U,X){N=!1,E&&(E=!1,P(Y),Y=-1),S=!0;var H=w;try{for(O(X),m=o(p);m!==null&&(!(m.expirationTime>X)||U&&!Te());){var R=m.callback;if(typeof R=="function"){m.callback=null,w=m.priorityLevel;var I=R(m.expirationTime<=X);X=t.unstable_now(),typeof I=="function"?m.callback=I:m===o(p)&&i(p),O(X)}else i(p);m=o(p)}if(m!==null)var Q=!0;else{var re=o(g);re!==null&&ne(F,re.startTime-X),Q=!1}return Q}finally{m=null,w=H,S=!1}}var G=!1,K=null,Y=-1,he=5,ye=-1;function Te(){return!(t.unstable_now()-ye<he)}
vendor: 50,450 bytes, lines 1-6
1function ce(){if(K!==null){var U=t.unstable_now();ye=U;var X=!0;try{X=K(!0,U)}finally{X?Se():(G=!1,K=null)}}else G=!1}var Se;if(typeof D=="function")Se=function(){D(ce)};else if(typeof MessageChannel<"u"){var Ne=new MessageChannel,Pe=Ne.port2;Ne.port1.onmessage=ce,Se=function(){Pe.postMessage(null)}}else Se=function(){C(ce,0)};function de(U){K=U,G||(G=!0,Se())}function ne(U,X){Y=C(function(){U(t.unstable_now())},X)}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(U){U.callback=null},t.unstable_continueExecution=function(){N||S||(N=!0,de(_))},t.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):he=0<U?Math.floor(1e3/U):5},t.unstable_getCurrentPriorityLevel=function(){return w},t.unstable_getFirstCallbackNode=function(){return o(p)},t.unstable_next=function(U){switch(w){case 1:case 2:case 3:var X=3;break;default:X=w}var H=w;w=X;try{return U()}finally{w=H}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(U,X){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var H=w;w=U;try{return X()}finally{w=H}},t.unstable_scheduleCallback=function(U,X,H){var R=t.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?R+H:R):H=R,U){case 1:var I=-1;break;case 2:I=250;break;case 5:I=1073741823;break;case 4:I=1e4;break;default:I=5e3}return I=H+I,U={id:v++,callback:X,priorityLevel:U,startTime:H,expirationTime:I,sortIndex:-1},H>R?(U.sortIndex=H,n(g,U),o(p)===null&&U===o(g)&&(E?(P(Y),Y=-1):E=!0,ne(F,H-R))):(U.sortIndex=I,n(p,U),N||S||(N=!0,de(_))),U},t.unstable_shouldYield=Te,t.unstable_wrapCallback=function(U){var X=w;return function(){var H=w;w=X;try{return U.apply(this,arguments)}finally{w=H}}}})(Gu)),Gu}var Ph;function S1(){return Ph||(Ph=1,Ku.exports=b1()),Ku.exports}var kh;function E1(){if(kh)return Et;kh=1;var t=qa(),n=S1();function o(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,s=1;s<arguments.length;s++)r+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,a={};function u(e,r){c(e,r),c(e+"Capture",r)}function c(e,r){for(a[e]=r,e=0;e<r.length;e++)i.add(r[e])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,g=/^[: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]*$/,v={},m={};function w(e){return p.call(m,e)?!0:p.call(v,e)?!1:g.test(e)?m[e]=!0:(v[e]=!0,!1)}function S(e,r,s,l){if(s!==null&&s.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return l?!1:s!==null?!s.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function N(e,r,s,l){if(r===null||typeof r>"u"||S(e,r,s,l))return!0;if(l)return!1;if(s!==null)switch(s.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function E(e,r,s,l,f,h,x){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=l,this.attributeNamespace=f,this.mustUseProperty=s,this.propertyName=e,this.type=r,this.sanitizeURL=h,this.removeEmptyString=x}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){C[e]=new E(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];C[r]=new E(r,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){C[e]=new E(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){C[e]=new E(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){C[e]=new E(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){C[e]=new E(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){C[e]=new E(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){C[e]=new E(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){C[e]=new E(e,5,!1,e.toLowerCase(),null,!1,!1)});var P=/[\-:]([a-z])/g;function D(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var r=e.replace(P,D);C[r]=new E(r,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(P,D);C[r]=new E(r,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(P,D);C[r]=new E(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){C[e]=new E(e,1,!1,e.toLowerCase(),null,!1,!1)}),C.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){C[e]=new E(e,1,!1,e.toLowerCase(),null,!0,!0)});function O(e,r,s,l){var f=C.hasOwnProperty(r)?C[r]:null;(f!==null?f.type!==0:l||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(N(r,s,f,l)&&(s=null),l||f===null?w(r)&&(s===null?e.removeAttribute(r):e.setAttribute(r,""+s)):f.mustUseProperty?e[f.propertyName]=s===null?f.type===3?!1:"":s:(r=f.attributeName,l=f.attributeNamespace,s===null?e.removeAttribute(r):(f=f.type,s=f===3||f===4&&s===!0?"":""+s,l?e.setAttributeNS(l,r,s):e.setAttribute(r,s))))}var F=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=Symbol.for("react.element"),G=Symbol.for("react.portal"),K=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),he=Symbol.for("react.profiler"),ye=Symbol.for("react.provider"),Te=Symbol.for("react.context"),ce=Symbol.for("react.forward_ref"),Se=Symbol.for("react.suspense"),Ne=Symbol.for("react.suspense_list"),Pe=Symbol.for("react.memo"),de=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),U=Symbol.iterator;function X(e){return e===null||typeof e!="object"?null:(e=U&&e[U]||e["@@iterator"],typeof e=="function"?e:null)}var H=Object.assign,R;function I(e){if(R===void 0)try{throw Error()}catch(s){var r=s.stack.trim().match(/\n( *(at )?)/);R=r&&r[1]||""}return`
2`+R+e}var Q=!1;function re(e,r){if(!e||Q)return"";Q=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(L){var l=L}Reflect.construct(e,[],r)}else{try{r.call()}catch(L){l=L}e.call(r.prototype)}else{try{throw Error()}catch(L){l=L}e()}}catch(L){if(L&&l&&typeof L.stack=="string"){for(var f=L.stack.split(`
3`),h=l.stack.split(`
4`),x=f.length-1,T=h.length-1;1<=x&&0<=T&&f[x]!==h[T];)T--;for(;1<=x&&0<=T;x--,T--)if(f[x]!==h[T]){if(x!==1||T!==1)do if(x--,T--,0>T||f[x]!==h[T]){var k=`
5`+f[x].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),k}while(1<=x&&0<=T);break}}}finally{Q=!1,Error.prepareStackTrace=s}return(e=e?e.displayName||e.name:"")?I(e):""}function oe(e){switch(e.tag){case 5:return I(e.type);case 16:return I("Lazy");case 13:return I("Suspense");case 19:return I("SuspenseList");case 0:case 2:case 15:return e=re(e.type,!1),e;case 11:return e=re(e.type.render,!1),e;case 1:return e=re(e.type,!0),e;default:return""}}function pe(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case K:return"Fragment";case G:return"Portal";case he:return"Profiler";case Y:return"StrictMode";case Se:return"Suspense";case Ne:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Te:return(e.displayName||"Context")+".Consumer";case ye:return(e._context.displayName||"Context")+".Provider";case ce:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Pe:return r=e.displayName||null,r!==null?r:pe(e.type)||"Memo";case de:r=e._payload,e=e._init;try{return pe(e(r))}catch{}}return null}function we(e){var r=e.type;switch(e.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=r.render,e=e.displayName||e.name||"",r.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pe(r);case 8:return r===Y?"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 r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function se(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ce(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Je(e){var r=Ce(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),l=""+e[r];if(!e.hasOwnProperty(r)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var f=s.get,h=s.set;return Object.defineProperty(e,r,{configurable:!0,get:function(){return f.call(this)},set:function(x){l=""+x,h.call(this,x)}}),Object.defineProperty(e,r,{enumerable:s.enumerable}),{getValue:function(){return l},setValue:function(x){l=""+x},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function vn(e){e._valueTracker||(e._valueTracker=Je(e))}function xn(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var s=r.getValue(),l="";return e&&(l=Ce(e)?e.checked?"true":"false":e.value),e=l,e!==s?(r.setValue(e),!0):!1}function Zr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Er(e,r){var s=r.checked;return H({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??e._wrapperState.initialChecked})}function ls(e,r){var s=r.defaultValue==null?"":r.defaultValue,l=r.checked!=null?r.checked:r.defaultChecked;s=se(r.value!=null?r.value:s),e._wrapperState={initialChecked:l,initialValue:s,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Wo(e,r){r=r.checked,r!=null&&O(e,"checked",r,!1)}function wn(e,r){Wo(e,r);var s=se(r.value),l=r.type;if(s!=null)l==="number"?(s===0&&e.value===""||e.value!=s)&&(e.value=""+s):e.value!==""+s&&(e.value=""+s);else if(l==="submit"||l==="reset"){e.removeAttribute("value");return}r.hasOwnProperty("value")?kt(e,r.type,s):r.hasOwnProperty("defaultValue")&&kt(e,r.type,se(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(e.defaultChecked=!!r.defaultChecked)}function Ho(e,r,s){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var l=r.type;if(!(l!=="submit"&&l!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+e._wrapperState.initialValue,s||r===e.value||(e.value=r),e.defaultValue=r}s=e.name,s!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,s!==""&&(e.name=s)}function kt(e,r,s){(r!=="number"||Zr(e.ownerDocument)!==e)&&(s==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+s&&(e.defaultValue=""+s))}var Cr=Array.isArray;function Bn(e,r,s,l){if(e=e.options,r){r={};for(var f=0;f<s.length;f++)r["$"+s[f]]=!0;for(s=0;s<e.length;s++)f=r.hasOwnProperty("$"+e[s].value),e[s].selected!==f&&(e[s].selected=f),f&&l&&(e[s].defaultSelected=!0)}else{for(s=""+se(s),r=null,f=0;f<e.length;f++){if(e[f].value===s){e[f].selected=!0,l&&(e[f].defaultSelected=!0);return}r!==null||e[f].disabled||(r=e[f])}r!==null&&(r.selected=!0)}}function ot(e,r){if(r.dangerouslySetInnerHTML!=null)throw Error(o(91));return H({},r,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function bn(e,r){var s=r.value;if(s==null){if(s=r.children,r=r.defaultValue,s!=null){if(r!=null)throw Error(o(92));if(Cr(s)){if(1<s.length)throw Error(o(93));s=s[0]}r=s}r==null&&(r=""),s=r}e._wrapperState={initialValue:se(s)}}function us(e,r){var s=se(r.value),l=se(r.defaultValue);s!=null&&(s=""+s,s!==e.value&&(e.value=s),r.defaultValue==null&&e.defaultValue!==s&&(e.defaultValue=s)),l!=null&&(e.defaultValue=""+l)}function cs(e){var r=e.textContent;r===e._wrapperState.initialValue&&r!==""&&r!==null&&(e.value=r)}function Tr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ko(e,r){return e==null||e==="http://www.w3.org/1999/xhtml"?Tr(r):e==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Pr,Jr=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,s,l,f){MSApp.execUnsafeLocalFunction(function(){return e(r,s,l,f)})}:e})(function(e,r){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=r;else{for(Pr=Pr||document.createElement("div"),Pr.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Pr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;r.firstChild;)e.appendChild(r.firstChild)}});function Ot(e,r){if(r){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===3){s.nodeValue=r;return}}e.textContent=r}var Un={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},$n=["Webkit","ms","Moz","O"];Object.keys(Un).forEach(function(e){$n.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),Un[r]=Un[e]})});function ds(e,r,s){return r==null||typeof r=="boolean"||r===""?"":s||typeof r!="number"||r===0||Un.hasOwnProperty(e)&&Un[e]?(""+r).trim():r+"px"}function fs(e,r){e=e.style;for(var s in r)if(r.hasOwnProperty(s)){var l=s.indexOf("--")===0,f=ds(s,r[s],l);s==="float"&&(s="cssFloat"),l?e.setProperty(s,f):e[s]=f}}var ps=H({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 eo(e,r){if(r){if(ps[e]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(o(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(o(61))}if(r.style!=null&&typeof r.style!="object")throw Error(o(62))}}function Go(e,r){if(e.indexOf("-")===-1)return typeof r.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var kr=null;function _t(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yo=null,Wn=null,Sn=null;function Qo(e){if(e=mi(e)){if(typeof Yo!="function")throw Error(o(280));var r=e.stateNode;r&&(r=Ls(r),Yo(e.stateNode,e.type,r))}}function me(e){Wn?Sn?Sn.push(e):Sn=[e]:Wn=e}function We(){if(Wn){var e=Wn,r=Sn;if(Sn=Wn=null,Qo(e),r)for(e=0;e<r.length;e++)Qo(r[e])}}function qe(e,r){return e(r)}function ut(){}var Hn=!1;function Ye(e,r,s){if(Hn)return e(r,s);Hn=!0;try{return qe(e,r,s)}finally{Hn=!1,(Wn!==null||Sn!==null)&&(ut(),We())}}function et(e,r){var s=e.stateNode;if(s===null)return null;var l=Ls(s);if(l===null)return null;s=l[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(s&&typeof s!="function")throw Error(o(231,r,typeof s));return s}var Kn=!1;if(d)try{var it={};Object.defineProperty(it,"passive",{get:function(){Kn=!0}}),window.addEventListener("test",it,it),window.removeEventListener("test",it,it)}catch{Kn=!1}function Nt(e,r,s,l,f,h,x,T,k){var L=Array.prototype.slice.call(arguments,3);try{r.apply(s,L)}catch(z){this.onError(z)}}var Gn=!1,It=null,qo=!1,ll=null,C0={onError:function(e){Gn=!0,It=e}};function T0(e,r,s,l,f,h,x,T,k){Gn=!1,It=null,Nt.apply(C0,arguments)}function P0(e,r,s,l,f,h,x,T,k){if(T0.apply(this,arguments),Gn){if(Gn){var L=It;Gn=!1,It=null}else throw Error(o(198));qo||(qo=!0,ll=L)}}function Nr(e){var r=e,s=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do r=e,(r.flags&4098)!==0&&(s=r.return),e=r.return;while(e)}return r.tag===3?s:null}function $d(e){if(e.tag===13){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function Wd(e){if(Nr(e)!==e)throw Error(o(188))}function k0(e){var r=e.alternate;if(!r){if(r=Nr(e),r===null)throw Error(o(188));return r!==e?null:e}for(var s=e,l=r;;){var f=s.return;if(f===null)break;var h=f.alternate;if(h===null){if(l=f.return,l!==null){s=l;continue}break}if(f.child===h.child){for(h=f.child;h;){if(h===s)return Wd(f),e;if(h===l)return Wd(f),r;h=h.sibling}throw Error(o(188))}if(s.return!==l.return)s=f,l=h;else{for(var x=!1,T=f.child;T;){if(T===s){x=!0,s=f,l=h;break}if(T===l){x=!0,l=f,s=h;break}T=T.sibling}if(!x){for(T=h.child;T;){if(T===s){x=!0,s=h,l=f;break}if(T===l){x=!0,l=h,s=f;break}T=T.sibling}if(!x)throw Error(o(189))}}if(s.alternate!==l)throw Error(o(190))}if(s.tag!==3)throw Error(o(188));return s.stateNode.current===s?e:r}function Hd(e){return e=k0(e),e!==null?Kd(e):null}function Kd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var r=Kd(e);if(r!==null)return r;e=e.sibling}return null}var Gd=n.unstable_scheduleCallback,Yd=n.unstable_cancelCallback,N0=n.unstable_shouldYield,j0=n.unstable_requestPaint,He=n.unstable_now,R0=n.unstable_getCurrentPriorityLevel,ul=n.unstable_ImmediatePriority,Qd=n.unstable_UserBlockingPriority,hs=n.unstable_NormalPriority,A0=n.unstable_LowPriority,qd=n.unstable_IdlePriority,ms=null,on=null;function M0(e){if(on&&typeof on.onCommitFiberRoot=="function")try{on.onCommitFiberRoot(ms,e,void 0,(e.current.flags&128)===128)}catch{}}var Gt=Math.clz32?Math.clz32:O0,D0=Math.log,L0=Math.LN2;function O0(e){return e>>>=0,e===0?32:31-(D0(e)/L0|0)|0}var gs=64,ys=4194304;function Xo(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function vs(e,r){var s=e.pendingLanes;if(s===0)return 0;var l=0,f=e.suspendedLanes,h=e.pingedLanes,x=s&268435455;if(x!==0){var T=x&~f;T!==0?l=Xo(T):(h&=x,h!==0&&(l=Xo(h)))}else x=s&~f,x!==0?l=Xo(x):h!==0&&(l=Xo(h));if(l===0)return 0;if(r!==0&&r!==l&&(r&f)===0&&(f=l&-l,h=r&-r,f>=h||f===16&&(h&4194240)!==0))return r;if((l&4)!==0&&(l|=s&16),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=l;0<r;)s=31-Gt(r),f=1<<s,l|=e[s],r&=~f;return l}function _0(e,r){switch(e){case 1:case 2:case 4:return r+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 r+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 I0(e,r){for(var s=e.suspendedLanes,l=e.pingedLanes,f=e.expirationTimes,h=e.pendingLanes;0<h;){var x=31-Gt(h),T=1<<x,k=f[x];k===-1?((T&s)===0||(T&l)!==0)&&(f[x]=_0(T,r)):k<=r&&(e.expiredLanes|=T),h&=~T}}function cl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Xd(){var e=gs;return gs<<=1,(gs&4194240)===0&&(gs=64),e}function dl(e){for(var r=[],s=0;31>s;s++)r.push(e);return r}function Zo(e,r,s){e.pendingLanes|=r,r!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,r=31-Gt(r),e[r]=s}function F0(e,r){var s=e.pendingLanes&~r;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=r,e.mutableReadLanes&=r,e.entangledLanes&=r,r=e.entanglements;var l=e.eventTimes;for(e=e.expirationTimes;0<s;){var f=31-Gt(s),h=1<<f;r[f]=0,l[f]=-1,e[f]=-1,s&=~h}}function fl(e,r){var s=e.entangledLanes|=r;for(e=e.entanglements;s;){var l=31-Gt(s),f=1<<l;f&r|e[l]&r&&(e[l]|=r),s&=~f}}var ke=0;function Zd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Jd,pl,ef,tf,nf,hl=!1,xs=[],Yn=null,Qn=null,qn=null,Jo=new Map,ei=new Map,Xn=[],V0="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 rf(e,r){switch(e){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":Qn=null;break;case"mouseover":case"mouseout":qn=null;break;case"pointerover":case"pointerout":Jo.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":ei.delete(r.pointerId)}}function ti(e,r,s,l,f,h){return e===null||e.nativeEvent!==h?(e={blockedOn:r,domEventName:s,eventSystemFlags:l,nativeEvent:h,targetContainers:[f]},r!==null&&(r=mi(r),r!==null&&pl(r)),e):(e.eventSystemFlags|=l,r=e.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),e)}function z0(e,r,s,l,f){switch(r){case"focusin":return Yn=ti(Yn,e,r,s,l,f),!0;case"dragenter":return Qn=ti(Qn,e,r,s,l,f),!0;case"mouseover":return qn=ti(qn,e,r,s,l,f),!0;case"pointerover":var h=f.pointerId;return Jo.set(h,ti(Jo.get(h)||null,e,r,s,l,f)),!0;case"gotpointercapture":return h=f.pointerId,ei.set(h,ti(ei.get(h)||null,e,r,s,l,f)),!0}return!1}function of(e){var r=jr(e.target);if(r!==null){var s=Nr(r);if(s!==null){if(r=s.tag,r===13){if(r=$d(s),r!==null){e.blockedOn=r,nf(e.priority,function(){ef(s)});return}}else if(r===3&&s.stateNode.current.memoizedState.isDehydrated){e.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ws(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var s=gl(e.domEventName,e.eventSystemFlags,r[0],e.nativeEvent);if(s===null){s=e.nativeEvent;var l=new s.constructor(s.type,s);kr=l,s.target.dispatchEvent(l),kr=null}else return r=mi(s),r!==null&&pl(r),e.blockedOn=s,!1;r.shift()}return!0}function sf(e,r,s){ws(e)&&s.delete(r)}function B0(){hl=!1,Yn!==null&&ws(Yn)&&(Yn=null),Qn!==null&&ws(Qn)&&(Qn=null),qn!==null&&ws(qn)&&(qn=null),Jo.forEach(sf),ei.forEach(sf)}function ni(e,r){e.blockedOn===r&&(e.blockedOn=null,hl||(hl=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,B0)))}function ri(e){function r(f){return ni(f,e)}if(0<xs.length){ni(xs[0],e);for(var s=1;s<xs.length;s++){var l=xs[s];l.blockedOn===e&&(l.blockedOn=null)}}for(Yn!==null&&ni(Yn,e),Qn!==null&&ni(Qn,e),qn!==null&&ni(qn,e),Jo.forEach(r),ei.forEach(r),s=0;s<Xn.length;s++)l=Xn[s],l.blockedOn===e&&(l.blockedOn=null);for(;0<Xn.length&&(s=Xn[0],s.blockedOn===null);)of(s),s.blockedOn===null&&Xn.shift()}var to=F.ReactCurrentBatchConfig,bs=!0;function U0(e,r,s,l){var f=ke,h=to.transition;to.transition=null;try{ke=1,ml(e,r,s,l)}finally{ke=f,to.transition=h}}function $0(e,r,s,l){var f=ke,h=to.transition;to.transition=null;try{ke=4,ml(e,r,s,l)}finally{ke=f,to.transition=h}}function ml(e,r,s,l){if(bs){var f=gl(e,r,s,l);if(f===null)Dl(e,r,l,Ss,s),rf(e,l);else if(z0(f,e,r,s,l))l.stopPropagation();else if(rf(e,l),r&4&&-1<V0.indexOf(e)){for(;f!==null;){var h=mi(f);if(h!==null&&Jd(h),h=gl(e,r,s,l),h===null&&Dl(e,r,l,Ss,s),h===f)break;f=h}f!==null&&l.stopPropagation()}else Dl(e,r,l,null,s)}}var Ss=null;function gl(e,r,s,l){if(Ss=null,e=_t(l),e=jr(e),e!==null)if(r=Nr(e),r===null)e=null;else if(s=r.tag,s===13){if(e=$d(r),e!==null)return e;e=null}else if(s===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;e=null}else r!==e&&(e=null);return Ss=e,null}function af(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(R0()){case ul:return 1;case Qd:return 4;case hs:case A0:return 16;case qd:return 536870912;default:return 16}default:return 16}}var Zn=null,yl=null,Es=null;function lf(){if(Es)return Es;var e,r=yl,s=r.length,l,f="value"in Zn?Zn.value:Zn.textContent,h=f.length;for(e=0;e<s&&r[e]===f[e];e++);var x=s-e;for(l=1;l<=x&&r[s-l]===f[h-l];l++);return Es=f.slice(e,1<l?1-l:void 0)}function Cs(e){var r=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&r===13&&(e=13)):e=r,e===10&&(e=13),32<=e||e===13?e:0}function Ts(){return!0}function uf(){return!1}function jt(e){function r(s,l,f,h,x){this._reactName=s,this._targetInst=f,this.type=l,this.nativeEvent=h,this.target=x,this.currentTarget=null;for(var T in e)e.hasOwnProperty(T)&&(s=e[T],this[T]=s?s(h):h[T]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Ts:uf,this.isPropagationStopped=uf,this}return H(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Ts)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Ts)},persist:function(){},isPersistent:Ts}),r}var no={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vl=jt(no),oi=H({},no,{view:0,detail:0}),W0=jt(oi),xl,wl,ii,Ps=H({},oi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sl,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ii&&(ii&&e.type==="mousemove"?(xl=e.screenX-ii.screenX,wl=e.screenY-ii.screenY):wl=xl=0,ii=e),xl)},movementY:function(e){return"movementY"in e?e.movementY:wl}}),cf=jt(Ps),H0=H({},Ps,{dataTransfer:0}),K0=jt(H0),G0=H({},oi,{relatedTarget:0}),bl=jt(G0),Y0=H({},no,{animationName:0,elapsedTime:0,pseudoElement:0}),Q0=jt(Y0),q0=H({},no,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),X0=jt(q0),Z0=H({},no,{data:0}),df=jt(Z0),J0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ex={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"},tx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nx(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=tx[e])?!!r[e]:!1}function Sl(){return nx}var rx=H({},oi,{key:function(e){if(e.key){var r=J0[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=Cs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ex[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sl,charCode:function(e){return e.type==="keypress"?Cs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Cs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ox=jt(rx),ix=H({},Ps,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ff=jt(ix),sx=H({},oi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sl}),ax=jt(sx),lx=H({},no,{propertyName:0,elapsedTime:0,pseudoElement:0}),ux=jt(lx),cx=H({},Ps,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),dx=jt(cx),fx=[9,13,27,32],El=d&&"CompositionEvent"in window,si=null;d&&"documentMode"in document&&(si=document.documentMode);var px=d&&"TextEvent"in window&&!si,pf=d&&(!El||si&&8<si&&11>=si),hf=" ",mf=!1;function gf(e,r){switch(e){case"keyup":return fx.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ro=!1;function hx(e,r){switch(e){case"compositionend":return yf(r);case"keypress":return r.which!==32?null:(mf=!0,hf);case"textInput":return e=r.data,e===hf&&mf?null:e;default:return null}}function mx(e,r){if(ro)return e==="compositionend"||!El&&gf(e,r)?(e=lf(),Es=yl=Zn=null,ro=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return pf&&r.locale!=="ko"?null:r.data;default:return null}}var gx={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 vf(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!gx[e.type]:r==="textarea"}function xf(e,r,s,l){me(l),r=As(r,"onChange"),0<r.length&&(s=new vl("onChange","change",null,s,l),e.push({event:s,listeners:r}))}var ai=null,li=null;function yx(e){If(e,0)}function ks(e){var r=lo(e);if(xn(r))return e}function vx(e,r){if(e==="change")return r}var wf=!1;if(d){var Cl;if(d){var Tl="oninput"in document;if(!Tl){var bf=document.createElement("div");bf.setAttribute("oninput","return;"),Tl=typeof bf.oninput=="function"}Cl=Tl}else Cl=!1;wf=Cl&&(!document.documentMode||9<document.documentMode)}function Sf(){ai&&(ai.detachEvent("onpropertychange",Ef),li=ai=null)}function Ef(e){if(e.propertyName==="value"&&ks(li)){var r=[];xf(r,li,e,_t(e)),Ye(yx,r)}}function xx(e,r,s){e==="focusin"?(Sf(),ai=r,li=s,ai.attachEvent("onpropertychange",Ef)):e==="focusout"&&Sf()}function wx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ks(li)}function bx(e,r){if(e==="click")return ks(r)}function Sx(e,r){if(e==="input"||e==="change")return ks(r)}function Ex(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Yt=typeof Object.is=="function"?Object.is:Ex;function ui(e,r){if(Yt(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;var s=Object.keys(e),l=Object.keys(r);if(s.length!==l.length)return!1;for(l=0;l<s.length;l++){var f=s[l];if(!p.call(r,f)||!Yt(e[f],r[f]))return!1}return!0}function Cf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Tf(e,r){var s=Cf(e);e=0;for(var l;s;){if(s.nodeType===3){if(l=e+s.textContent.length,e<=r&&l>=r)return{node:s,offset:r-e};e=l}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Cf(s)}}function Pf(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?Pf(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function kf(){for(var e=window,r=Zr();r instanceof e.HTMLIFrameElement;){try{var s=typeof r.contentWindow.location.href=="string"}catch{s=!1}if(s)e=r.contentWindow;else break;r=Zr(e.document)}return r}function Pl(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}function Cx(e){var r=kf(),s=e.focusedElem,l=e.selectionRange;if(r!==s&&s&&s.ownerDocument&&Pf(s.ownerDocument.documentElement,s)){if(l!==null&&Pl(s)){if(r=l.start,e=l.end,e===void 0&&(e=r),"selectionStart"in s)s.selectionStart=r,s.selectionEnd=Math.min(e,s.value.length);else if(e=(r=s.ownerDocument||document)&&r.defaultView||window,e.getSelection){e=e.getSelection();var f=s.textContent.length,h=Math.min(l.start,f);l=l.end===void 0?h:Math.min(l.end,f),!e.extend&&h>l&&(f=l,l=h,h=f),f=Tf(s,h);var x=Tf(s,l);f&&x&&(e.rangeCount!==1||e.anchorNode!==f.node||e.anchorOffset!==f.offset||e.focusNode!==x.node||e.focusOffset!==x.offset)&&(r=r.createRange(),r.setStart(f.node,f.offset),e.removeAllRanges(),h>l?(e.addRange(r),e.extend(x.node,x.offset)):(r.setEnd(x.node,x.offset),e.addRange(r)))}}for(r=[],e=s;e=e.parentNode;)e.nodeType===1&&r.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<r.length;s++)e=r[s],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Tx=d&&"documentMode"in document&&11>=document.documentMode,oo=null,kl=null,ci=null,Nl=!1;function Nf(e,r,s){var l=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Nl||oo==null||oo!==Zr(l)||(l=oo,"selectionStart"in l&&Pl(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),ci&&ui(ci,l)||(ci=l,l=As(kl,"onSelect"),0<l.length&&(r=new vl("onSelect","select",null,r,s),e.push({event:r,listeners:l}),r.target=oo)))}function Ns(e,r){var s={};return s[e.toLowerCase()]=r.toLowerCase(),s["Webkit"+e]="webkit"+r,s["Moz"+e]="moz"+r,s}var io={animationend:Ns("Animation","AnimationEnd"),animationiteration:Ns("Animation","AnimationIteration"),animationstart:Ns("Animation","AnimationStart"),transitionend:Ns("Transition","TransitionEnd")},jl={},jf={};d&&(jf=document.createElement("div").style,"AnimationEvent"in window||(delete io.animationend.animation,delete io.animationiteration.animation,delete io.animationstart.animation),"TransitionEvent"in window||delete io.transitionend.transition);function js(e){if(jl[e])return jl[e];if(!io[e])return e;var r=io[e],s;for(s in r)if(r.hasOwnProperty(s)&&s in jf)return jl[e]=r[s];return e}var Rf=js("animationend"),Af=js("animationiteration"),Mf=js("animationstart"),Df=js("transitionend"),Lf=new Map,Of="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 Jn(e,r){Lf.set(e,r),u(r,[e])}for(var Rl=0;Rl<Of.length;Rl++){var Al=Of[Rl],Px=Al.toLowerCase(),kx=Al[0].toUpperCase()+Al.slice(1);Jn(Px,"on"+kx)}Jn(Rf,"onAnimationEnd"),Jn(Af,"onAnimationIteration"),Jn(Mf,"onAnimationStart"),Jn("dblclick","onDoubleClick"),Jn("focusin","onFocus"),Jn("focusout","onBlur"),Jn(Df,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var di="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(" "),Nx=new Set("cancel close invalid load scroll toggle".split(" ").concat(di));function _f(e,r,s){var l=e.type||"unknown-event";e.currentTarget=s,P0(l,r,void 0,e),e.currentTarget=null}function If(e,r){r=(r&4)!==0;for(var s=0;s<e.length;s++){var l=e[s],f=l.event;l=l.listeners;e:{var h=void 0;if(r)for(var x=l.length-1;0<=x;x--){var T=l[x],k=T.instance,L=T.currentTarget;if(T=T.listener,k!==h&&f.isPropagationStopped())break e;_f(f,T,L),h=k}else for(x=0;x<l.length;x++){if(T=l[x],k=T.instance,L=T.currentTarget,T=T.listener,k!==h&&f.isPropagationStopped())break e;_f(f,T,L),h=k}}}if(qo)throw e=ll,qo=!1,ll=null,e}function Re(e,r){var s=r[Vl];s===void 0&&(s=r[Vl]=new Set);var l=e+"__bubble";s.has(l)||(Ff(r,e,2,!1),s.add(l))}function Ml(e,r,s){var l=0;r&&(l|=4),Ff(s,e,l,r)}var Rs="_reactListening"+Math.random().toString(36).slice(2);function fi(e){if(!e[Rs]){e[Rs]=!0,i.forEach(function(s){s!=="selectionchange"&&(Nx.has(s)||Ml(s,!1,e),Ml(s,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[Rs]||(r[Rs]=!0,Ml("selectionchange",!1,r))}}function Ff(e,r,s,l){switch(af(r)){case 1:var f=U0;break;case 4:f=$0;break;default:f=ml}s=f.bind(null,r,s,e),f=void 0,!Kn||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),l?f!==void 0?e.addEventListener(r,s,{capture:!0,passive:f}):e.addEventListener(r,s,!0):f!==void 0?e.addEventListener(r,s,{passive:f}):e.addEventListener(r,s,!1)}function Dl(e,r,s,l,f){var h=l;if((r&1)===0&&(r&2)===0&&l!==null)e:for(;;){if(l===null)return;var x=l.tag;if(x===3||x===4){var T=l.stateNode.containerInfo;if(T===f||T.nodeType===8&&T.parentNode===f)break;if(x===4)for(x=l.return;x!==null;){var k=x.tag;if((k===3||k===4)&&(k=x.stateNode.containerInfo,k===f||k.nodeType===8&&k.parentNode===f))return;x=x.return}for(;T!==null;){if(x=jr(T),x===null)return;if(k=x.tag,k===5||k===6){l=h=x;continue e}T=T.parentNode}}l=l.return}Ye(function(){var L=h,z=_t(s),B=[];e:{var V=Lf.get(e);if(V!==void 0){var q=vl,J=e;switch(e){case"keypress":if(Cs(s)===0)break e;case"keydown":case"keyup":q=ox;break;case"focusin":J="focus",q=bl;break;case"focusout":J="blur",q=bl;break;case"beforeblur":case"afterblur":q=bl;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":q=cf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":q=K0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":q=ax;break;case Rf:case Af:case Mf:q=Q0;break;case Df:q=ux;break;case"scroll":q=W0;break;case"wheel":q=dx;break;case"copy":case"cut":case"paste":q=X0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":q=ff}var ee=(r&4)!==0,Ke=!ee&&e==="scroll",A=ee?V!==null?V+"Capture":null:V;ee=[];for(var j=L,M;j!==null;){M=j;var $=M.stateNode;if(M.tag===5&&$!==null&&(M=$,A!==null&&($=et(j,A),$!=null&&ee.push(pi(j,$,M)))),Ke)break;j=j.return}0<ee.length&&(V=new q(V,J,null,s,z),B.push({event:V,listeners:ee}))}}if((r&7)===0){e:{if(V=e==="mouseover"||e==="pointerover",q=e==="mouseout"||e==="pointerout",V&&s!==kr&&(J=s.relatedTarget||s.fromElement)&&(jr(J)||J[En]))break e;if((q||V)&&(V=z.window===z?z:(V=z.ownerDocument)?V.defaultView||V.parentWindow:window,q?(J=s.relatedTarget||s.toElement,q=L,J=J?jr(J):null,J!==null&&(Ke=Nr(J),J!==Ke||J.tag!==5&&J.tag!==6)&&(J=null)):(q=null,J=L),q!==J)){if(ee=cf,$="onMouseLeave",A="onMouseEnter",j="mouse",(e==="pointerout"||e==="pointerover")&&(ee=ff,$="onPointerLeave",A="onPointerEnter",j="pointer"),Ke=q==null?V:lo(q),M=J==null?V:lo(J),V=new ee($,j+"leave",q,s,z),V.target=Ke,V.relatedTarget=M,$=null,jr(z)===L&&(ee=new ee(A,j+"enter",J,s,z),ee.target=M,ee.relatedTarget=Ke,$=ee),Ke=$,q&&J)t:{for(ee=q,A=J,j=0,M=ee;M;M=so(M))j++;for(M=0,$=A;$;$=so($))M++;for(;0<j-M;)ee=so(ee),j--;for(;0<M-j;)A=so(A),M--;for(;j--;){if(ee===A||A!==null&&ee===A.alternate)break t;ee=so(ee),A=so(A)}ee=null}else ee=null;q!==null&&Vf(B,V,q,ee,!1),J!==null&&Ke!==null&&Vf(B,Ke,J,ee,!0)}}e:{if(V=L?lo(L):window,q=V.nodeName&&V.nodeName.toLowerCase(),q==="select"||q==="input"&&V.type==="file")var te=vx;else if(vf(V))if(wf)te=Sx;else{te=wx;var ae=xx}else(q=V.nodeName)&&q.toLowerCase()==="input"&&(V.type==="checkbox"||V.type==="radio")&&(te=bx);if(te&&(te=te(e,L))){xf(B,te,s,z);break e}ae&&ae(e,V,L),e==="focusout"&&(ae=V._wrapperState)&&ae.controlled&&V.type==="number"&&kt(V,"number",V.value)}switch(ae=L?lo(L):window,e){case"focusin":(vf(ae)||ae.contentEditable==="true")&&(oo=ae,kl=L,ci=null);break;case"focusout":ci=kl=oo=null;break;case"mousedown":Nl=!0;break;case"contextmenu":case"mouseup":case"dragend":Nl=!1,Nf(B,s,z);break;case"selectionchange":if(Tx)break;case"keydown":case"keyup":Nf(B,s,z)}var le;if(El)e:{switch(e){case"compositionstart":var fe="onCompositionStart";break e;case"compositionend":fe="onCompositionEnd";break e;case"compositionupdate":fe="onCompositionUpdate";break e}fe=void 0}else ro?gf(e,s)&&(fe="onCompositionEnd"):e==="keydown"&&s.keyCode===229&&(fe="onCompositionStart");fe&&(pf&&s.locale!=="ko"&&(ro||fe!=="onCompositionStart"?fe==="onCompositionEnd"&&ro&&(le=lf()):(Zn=z,yl="value"in Zn?Zn.value:Zn.textContent,ro=!0)),ae=As(L,fe),0<ae.length&&(fe=new df(fe,e,null,s,z),B.push({event:fe,listeners:ae}),le?fe.data=le:(le=yf(s),le!==null&&(fe.data=le)))),(le=px?hx(e,s):mx(e,s))&&(L=As(L,"onBeforeInput"),0<L.length&&(z=new df("onBeforeInput","beforeinput",null,s,z),B.push({event:z,listeners:L}),z.data=le))}If(B,r)})}function pi(e,r,s){return{instance:e,listener:r,currentTarget:s}}function As(e,r){for(var s=r+"Capture",l=[];e!==null;){var f=e,h=f.stateNode;f.tag===5&&h!==null&&(f=h,h=et(e,s),h!=null&&l.unshift(pi(e,h,f)),h=et(e,r),h!=null&&l.push(pi(e,h,f))),e=e.return}return l}function so(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Vf(e,r,s,l,f){for(var h=r._reactName,x=[];s!==null&&s!==l;){var T=s,k=T.alternate,L=T.stateNode;if(k!==null&&k===l)break;T.tag===5&&L!==null&&(T=L,f?(k=et(s,h),k!=null&&x.unshift(pi(s,k,T))):f||(k=et(s,h),k!=null&&x.push(pi(s,k,T)))),s=s.return}x.length!==0&&e.push({event:r,listeners:x})}var jx=/\r\n?/g,Rx=/\u0000|\uFFFD/g;function zf(e){return(typeof e=="string"?e:""+e).replace(jx,`
6`).replace(Rx,"")}function Ms(e,r,s){if(r=zf(r),zf(e)!==r&&s)throw Error(o(425))}function Ds(){}var Ll=null,Ol=null;function _l(e,r){return e==="textarea"||e==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Il=typeof setTimeout=="function"?setTimeout:void 0,Ax=typeof clearTimeout=="function"?clearTimeout:void 0,Bf=typeof Promise=="function"?Promise:void 0,Mx=typeof queueMicrotask=="function"?queueMicrotask:typeof Bf<"u"?function(e){return Bf.resolve(null).then(e).catch(Dx)}:Il;function Dx(e){setTimeout(function(){throw e})}function Fl(e,r){var s=r,l=0;do{var f=s.nextSibling;if(e.removeChild(s),f&&f.nodeType===8)if(s=f.data,s==="/$"){if(l===0){e.removeChild(f),ri(r);return}l--}else s!=="$"&&s!=="$?"&&s!=="$!"||l++;s=f}while(s);ri(r)}function er(e){for(;e!=null;e=e.nextSibling){var r=e.nodeType;if(r===1||r===3)break;if(r===8){if(r=e.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return e}function Uf(e){e=e.previousSibling;for(var r=0;e;){if(e.nodeType===8){var s=e.data;if(s==="$"||s==="$!"||s==="$?"){if(r===0)return e;r--}else s==="/$"&&r++}e=e.previousSibling}return null}var ao=Math.random().toString(36).slice(2),sn="__reactFiber$"+ao,hi="__reactProps$"+ao,En="__reactContainer$"+ao,Vl="__reactEvents$"+ao,Lx="__reactListeners$"+ao,Ox="__reactHandles$"+ao;function jr(e){var r=e[sn];if(r)return r;for(var s=e.parentNode;s;){if(r=s[En]||s[sn]){if(s=r.alternate,r.child!==null||s!==null&&s.child!==null)for(e=Uf(e);e!==null;){if(s=e[sn])return s;e=Uf(e)}return r}e=s,s=e.parentNode}return null}function mi(e){return e=e[sn]||e[En],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function lo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(o(33))}function Ls(e){return e[hi]||null}var zl=[],uo=-1;function tr(e){return{current:e}}function Ae(e){0>uo||(e.current=zl[uo],zl[uo]=null,uo--)}function je(e,r){uo++,zl[uo]=e.current,e.current=r}var nr={},ct=tr(nr),vt=tr(!1),Rr=nr;function co(e,r){var s=e.type.contextTypes;if(!s)return nr;var l=e.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===r)return l.__reactInternalMemoizedMaskedChildContext;var f={},h;for(h in s)f[h]=r[h];return l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=f),f}function xt(e){return e=e.childContextTypes,e!=null}function Os(){Ae(vt),Ae(ct)}function $f(e,r,s){if(ct.current!==nr)throw Error(o(168));je(ct,r),je(vt,s)}function Wf(e,r,s){var l=e.stateNode;if(r=r.childContextTypes,typeof l.getChildContext!="function")return s;l=l.getChildContext();for(var f in l)if(!(f in r))throw Error(o(108,we(e)||"Unknown",f));return H({},s,l)}function _s(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nr,Rr=ct.current,je(ct,e),je(vt,vt.current),!0}function Hf(e,r,s){var l=e.stateNode;if(!l)throw Error(o(169));s?(e=Wf(e,r,Rr),l.__reactInternalMemoizedMergedChildContext=e,Ae(vt),Ae(ct),je(ct,e)):Ae(vt),je(vt,s)}var Cn=null,Is=!1,Bl=!1;function Kf(e){Cn===null?Cn=[e]:Cn.push(e)}function _x(e){Is=!0,Kf(e)}function rr(){if(!Bl&&Cn!==null){Bl=!0;var e=0,r=ke;try{var s=Cn;for(ke=1;e<s.length;e++){var l=s[e];do l=l(!0);while(l!==null)}Cn=null,Is=!1}catch(f){throw Cn!==null&&(Cn=Cn.slice(e+1)),Gd(ul,rr),f}finally{ke=r,Bl=!1}}return null}var fo=[],po=0,Fs=null,Vs=0,Ft=[],Vt=0,Ar=null,Tn=1,Pn="";function Mr(e,r){fo[po++]=Vs,fo[po++]=Fs,Fs=e,Vs=r}function Gf(e,r,s){Ft[Vt++]=Tn,Ft[Vt++]=Pn,Ft[Vt++]=Ar,Ar=e;var l=Tn;e=Pn;var f=32-Gt(l)-1;l&=~(1<<f),s+=1;var h=32-Gt(r)+f;if(30<h){var x=f-f%5;h=(l&(1<<x)-1).toString(32),l>>=x,f-=x,Tn=1<<32-Gt(r)+f|s<<f|l,Pn=h+e}else Tn=1<<h|s<<f|l,Pn=e}function Ul(e){e.return!==null&&(Mr(e,1),Gf(e,1,0))}function $l(e){for(;e===Fs;)Fs=fo[--po],fo[po]=null,Vs=fo[--po],fo[po]=null;for(;e===Ar;)Ar=Ft[--Vt],Ft[Vt]=null,Pn=Ft[--Vt],Ft[Vt]=null,Tn=Ft[--Vt],Ft[Vt]=null}var Rt=null,At=null,Le=!1,Qt=null;function Yf(e,r){var s=$t(5,null,null,0);
vendor: 3,232 bytes, line 6
6s.elementType="DELETED",s.stateNode=r,s.return=e,r=e.deletions,r===null?(e.deletions=[s],e.flags|=16):r.push(s)}function Qf(e,r){switch(e.tag){case 5:var s=e.type;return r=r.nodeType!==1||s.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(e.stateNode=r,Rt=e,At=er(r.firstChild),!0):!1;case 6:return r=e.pendingProps===""||r.nodeType!==3?null:r,r!==null?(e.stateNode=r,Rt=e,At=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(s=Ar!==null?{id:Tn,overflow:Pn}:null,e.memoizedState={dehydrated:r,treeContext:s,retryLane:1073741824},s=$t(18,null,null,0),s.stateNode=r,s.return=e,e.child=s,Rt=e,At=null,!0):!1;default:return!1}}function Wl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Hl(e){if(Le){var r=At;if(r){var s=r;if(!Qf(e,r)){if(Wl(e))throw Error(o(418));r=er(s.nextSibling);var l=Rt;r&&Qf(e,r)?Yf(l,s):(e.flags=e.flags&-4097|2,Le=!1,Rt=e)}}else{if(Wl(e))throw Error(o(418));e.flags=e.flags&-4097|2,Le=!1,Rt=e}}}function qf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Rt=e}function zs(e){if(e!==Rt)return!1;if(!Le)return qf(e),Le=!0,!1;var r;if((r=e.tag!==3)&&!(r=e.tag!==5)&&(r=e.type,r=r!=="head"&&r!=="body"&&!_l(e.type,e.memoizedProps)),r&&(r=At)){if(Wl(e))throw Xf(),Error(o(418));for(;r;)Yf(e,r),r=er(r.nextSibling)}if(qf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,r=0;e;){if(e.nodeType===8){var s=e.data;if(s==="/$"){if(r===0){At=er(e.nextSibling);break e}r--}else s!=="$"&&s!=="$!"&&s!=="$?"||r++}e=e.nextSibling}At=null}}else At=Rt?er(e.stateNode.nextSibling):null;return!0}function Xf(){for(var e=At;e;)e=er(e.nextSibling)}function ho(){At=Rt=null,Le=!1}function Kl(e){Qt===null?Qt=[e]:Qt.push(e)}var Ix=F.ReactCurrentBatchConfig;function gi(e,r,s){if(e=s.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(o(309));var l=s.stateNode}if(!l)throw Error(o(147,e));var f=l,h=""+e;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===h?r.ref:(r=function(x){var T=f.refs;x===null?delete T[h]:T[h]=x},r._stringRef=h,r)}if(typeof e!="string")throw Error(o(284));if(!s._owner)throw Error(o(290,e))}return e}function Bs(e,r){throw e=Object.prototype.toString.call(r),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function Zf(e){var r=e._init;return r(e._payload)}function Jf(e){function r(A,j){if(e){var M=A.deletions;M===null?(A.deletions=[j],A.flags|=16):M.push(j)}}function s(A,j){if(!e)return null;for(;j!==null;)r(A,j),j=j.sibling;return null}function l(A,j){for(A=new Map;j!==null;)j.key!==null?A.set(j.key,j):A.set(j.index,j),j=j.sibling;return A}function f(A,j){return A=dr(A,j),A.index=0,A.sibling=null,A}function h(A,j,M){return A.index=M,e?(M=A.alternate,M!==null?(M=M.index,M<j?(A.flags|=2,j):M):(A.flags|=2,j)):(A.flags|=1048576,j)}function x(A){return e&&A.alternate===null&&(A.flags|=2),A}function T(A,j,M,$){return j===null||j.tag!==6?(j=Iu(M,A.mode,$),j.return=A,j):(j=f(j,M),j.return=A,j)}function k(A,j,M,$){var te=M.type;return te===K?z(A,j,M.props.children,$,M.key):j!==null&&(j.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===de&&Zf(te)===j.t
vendor: 4,324 bytes, line 6
6ype)?($=f(j,M.props),$.ref=gi(A,j,M),$.return=A,$):($=da(M.type,M.key,M.props,null,A.mode,$),$.ref=gi(A,j,M),$.return=A,$)}function L(A,j,M,$){return j===null||j.tag!==4||j.stateNode.containerInfo!==M.containerInfo||j.stateNode.implementation!==M.implementation?(j=Fu(M,A.mode,$),j.return=A,j):(j=f(j,M.children||[]),j.return=A,j)}function z(A,j,M,$,te){return j===null||j.tag!==7?(j=zr(M,A.mode,$,te),j.return=A,j):(j=f(j,M),j.return=A,j)}function B(A,j,M){if(typeof j=="string"&&j!==""||typeof j=="number")return j=Iu(""+j,A.mode,M),j.return=A,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case _:return M=da(j.type,j.key,j.props,null,A.mode,M),M.ref=gi(A,null,j),M.return=A,M;case G:return j=Fu(j,A.mode,M),j.return=A,j;case de:var $=j._init;return B(A,$(j._payload),M)}if(Cr(j)||X(j))return j=zr(j,A.mode,M,null),j.return=A,j;Bs(A,j)}return null}function V(A,j,M,$){var te=j!==null?j.key:null;if(typeof M=="string"&&M!==""||typeof M=="number")return te!==null?null:T(A,j,""+M,$);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case _:return M.key===te?k(A,j,M,$):null;case G:return M.key===te?L(A,j,M,$):null;case de:return te=M._init,V(A,j,te(M._payload),$)}if(Cr(M)||X(M))return te!==null?null:z(A,j,M,$,null);Bs(A,M)}return null}function q(A,j,M,$,te){if(typeof $=="string"&&$!==""||typeof $=="number")return A=A.get(M)||null,T(j,A,""+$,te);if(typeof $=="object"&&$!==null){switch($.$$typeof){case _:return A=A.get($.key===null?M:$.key)||null,k(j,A,$,te);case G:return A=A.get($.key===null?M:$.key)||null,L(j,A,$,te);case de:var ae=$._init;return q(A,j,M,ae($._payload),te)}if(Cr($)||X($))return A=A.get(M)||null,z(j,A,$,te,null);Bs(j,$)}return null}function J(A,j,M,$){for(var te=null,ae=null,le=j,fe=j=0,rt=null;le!==null&&fe<M.length;fe++){le.index>fe?(rt=le,le=null):rt=le.sibling;var Ee=V(A,le,M[fe],$);if(Ee===null){le===null&&(le=rt);break}e&&le&&Ee.alternate===null&&r(A,le),j=h(Ee,j,fe),ae===null?te=Ee:ae.sibling=Ee,ae=Ee,le=rt}if(fe===M.length)return s(A,le),Le&&Mr(A,fe),te;if(le===null){for(;fe<M.length;fe++)le=B(A,M[fe],$),le!==null&&(j=h(le,j,fe),ae===null?te=le:ae.sibling=le,ae=le);return Le&&Mr(A,fe),te}for(le=l(A,le);fe<M.length;fe++)rt=q(le,A,fe,M[fe],$),rt!==null&&(e&&rt.alternate!==null&&le.delete(rt.key===null?fe:rt.key),j=h(rt,j,fe),ae===null?te=rt:ae.sibling=rt,ae=rt);return e&&le.forEach(function(fr){return r(A,fr)}),Le&&Mr(A,fe),te}function ee(A,j,M,$){var te=X(M);if(typeof te!="function")throw Error(o(150));if(M=te.call(M),M==null)throw Error(o(151));for(var ae=te=null,le=j,fe=j=0,rt=null,Ee=M.next();le!==null&&!Ee.done;fe++,Ee=M.next()){le.index>fe?(rt=le,le=null):rt=le.sibling;var fr=V(A,le,Ee.value,$);if(fr===null){le===null&&(le=rt);break}e&&le&&fr.alternate===null&&r(A,le),j=h(fr,j,fe),ae===null?te=fr:ae.sibling=fr,ae=fr,le=rt}if(Ee.done)return s(A,le),Le&&Mr(A,fe),te;if(le===null){for(;!Ee.done;fe++,Ee=M.next())Ee=B(A,Ee.value,$),Ee!==null&&(j=h(Ee,j,fe),ae===null?te=Ee:ae.sibling=Ee,ae=Ee);return Le&&Mr(A,fe),te}for(le=l(A,le);!Ee.done;fe++,Ee=M.next())Ee=q(le,A,fe,Ee.value,$),Ee!==null&&(e&&Ee.alternate!==null&&le.delete(Ee.key===null?fe:Ee.key),j=h(Ee,j,fe),ae===null?te=Ee:ae.sibling=Ee,ae=Ee);return e&&le.forEach(function(g1){return r(A,g1)}),Le&&Mr(A,fe),te}function Ke(A,j,M,$){if(typeof M=="object"&&M!==null&&M.type===K&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case _:e:{for(var te=M.key,ae=j;ae!==null;){if(ae.key===te){if(te=M.type,te===K){if(ae.tag===7){s(A,ae.sibling),j=f(ae,M.props.children),j.return=A,A=j;break e}}else if(ae.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===de&&Zf(te)===ae.type){s(A,ae.sibling),j=f(ae,M.props),j.ref=gi(A,ae,M),j.return=A,A=j;break e}s(A,ae);break}else r(A,ae);ae=ae.sibling}M.type===K?(j=zr(M.props.children,A.mode,$,M.key),j.return=A,A=j):($=da(M.type,M.key,M.props,null,A.mode,$),$.ref=gi(A,j,M),$.return=A,A=$)}return x(A);case G:e:{for(ae=M.key;j!==null;){if(j.key===ae)if(j.tag===4&&j.stateNode.containerInfo===M.containerInfo&&j.stateNode.implementation===M.implementation){s(A,j.sibling),j=f(j,M.children||[]),j.return=A,A=j;break e}else{s(A,j);break}else r(A,j);j=j.sibling}j=Fu(M,A.mode,$),j.return=A,A=j}return x(A);case de:return ae=M._init,Ke(A,j,ae(M._payload),$)}if(Cr(M))return J(A,j,M,$);if(X(M))return ee(A,j,M,$);Bs(A,M)}
vendor: 18,036 bytes, lines 6-8
6return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,j!==null&&j.tag===6?(s(A,j.sibling),j=f(j,M),j.return=A,A=j):(s(A,j),j=Iu(M,A.mode,$),j.return=A,A=j),x(A)):s(A,j)}return Ke}var mo=Jf(!0),ep=Jf(!1),Us=tr(null),$s=null,go=null,Gl=null;function Yl(){Gl=go=$s=null}function Ql(e){var r=Us.current;Ae(Us),e._currentValue=r}function ql(e,r,s){for(;e!==null;){var l=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,l!==null&&(l.childLanes|=r)):l!==null&&(l.childLanes&r)!==r&&(l.childLanes|=r),e===s)break;e=e.return}}function yo(e,r){$s=e,Gl=go=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&r)!==0&&(wt=!0),e.firstContext=null)}function zt(e){var r=e._currentValue;if(Gl!==e)if(e={context:e,memoizedValue:r,next:null},go===null){if($s===null)throw Error(o(308));go=e,$s.dependencies={lanes:0,firstContext:e}}else go=go.next=e;return r}var Dr=null;function Xl(e){Dr===null?Dr=[e]:Dr.push(e)}function tp(e,r,s,l){var f=r.interleaved;return f===null?(s.next=s,Xl(r)):(s.next=f.next,f.next=s),r.interleaved=s,kn(e,l)}function kn(e,r){e.lanes|=r;var s=e.alternate;for(s!==null&&(s.lanes|=r),s=e,e=e.return;e!==null;)e.childLanes|=r,s=e.alternate,s!==null&&(s.childLanes|=r),s=e,e=e.return;return s.tag===3?s.stateNode:null}var or=!1;function Zl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function np(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Nn(e,r){return{eventTime:e,lane:r,tag:0,payload:null,callback:null,next:null}}function ir(e,r,s){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(be&2)!==0){var f=l.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),l.pending=r,kn(e,s)}return f=l.interleaved,f===null?(r.next=r,Xl(l)):(r.next=f.next,f.next=r),l.interleaved=r,kn(e,s)}function Ws(e,r,s){if(r=r.updateQueue,r!==null&&(r=r.shared,(s&4194240)!==0)){var l=r.lanes;l&=e.pendingLanes,s|=l,r.lanes=s,fl(e,s)}}function rp(e,r){var s=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,s===l)){var f=null,h=null;if(s=s.firstBaseUpdate,s!==null){do{var x={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};h===null?f=h=x:h=h.next=x,s=s.next}while(s!==null);h===null?f=h=r:h=h.next=r}else f=h=r;s={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:l.shared,effects:l.effects},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=r:e.next=r,s.lastBaseUpdate=r}function Hs(e,r,s,l){var f=e.updateQueue;or=!1;var h=f.firstBaseUpdate,x=f.lastBaseUpdate,T=f.shared.pending;if(T!==null){f.shared.pending=null;var k=T,L=k.next;k.next=null,x===null?h=L:x.next=L,x=k;var z=e.alternate;z!==null&&(z=z.updateQueue,T=z.lastBaseUpdate,T!==x&&(T===null?z.firstBaseUpdate=L:T.next=L,z.lastBaseUpdate=k))}if(h!==null){var B=f.baseState;x=0,z=L=k=null,T=h;do{var V=T.lane,q=T.eventTime;if((l&V)===V){z!==null&&(z=z.next={eventTime:q,lane:0,tag:T.tag,payload:T.payload,callback:T.callback,next:null});e:{var J=e,ee=T;switch(V=r,q=s,ee.tag){case 1:if(J=ee.payload,typeof J=="function"){B=J.call(q,B,V);break e}B=J;break e;case 3:J.flags=J.flags&-65537|128;case 0:if(J=ee.payload,V=typeof J=="function"?J.call(q,B,V):J,V==null)break e;B=H({},B,V);break e;case 2:or=!0}}T.callback!==null&&T.lane!==0&&(e.flags|=64,V=f.effects,V===null?f.effects=[T]:V.push(T))}else q={eventTime:q,lane:V,tag:T.tag,payload:T.payload,callback:T.callback,next:null},z===null?(L=z=q,k=B):z=z.next=q,x|=V;if(T=T.next,T===null){if(T=f.shared.pending,T===null)break;V=T,T=V.next,V.next=null,f.lastBaseUpdate=V,f.shared.pending=null}}while(!0);if(z===null&&(k=B),f.baseState=k,f.firstBaseUpdate=L,f.lastBaseUpdate=z,r=f.shared.interleaved,r!==null){f=r;do x|=f.lane,f=f.next;while(f!==r)}else h===null&&(f.shared.lanes=0);_r|=x,e.lanes=x,e.memoizedState=B}}function op(e,r,s){if(e=r.effects,r.effects=null,e!==null)for(r=0;r<e.length;r++){var l=e[r],f=l.callback;if(f!==null){if(l.callback=null,l=s,typeof f!="function")throw Error(o(191,f));f.call(l)}}}var yi={},an=tr(yi),vi=tr(yi),xi=tr(yi);function Lr(e){if(e===yi)throw Error(o(174));return e}function Jl(e,r){switch(je(xi,r),je(vi,e),je(an,yi),e=r.nodeType,e){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:Ko(null,"");break;default:e=e===8?r.parentNode:r,r=e.namespaceURI||null,e=e.tagName,r=Ko(r,e)}Ae(an),je(an,r)}function vo(){Ae(an),Ae(vi),Ae(xi)}function ip(e){Lr(xi.current);var r=Lr(an.current),s=Ko(r,e.type);r!==s&&(je(vi,e),je(an,s))}function eu(e){vi.current===e&&(Ae(an),Ae(vi))}var Ie=tr(0);function Ks(e){for(var r=e;r!==null;){if(r.tag===13){var s=r.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var tu=[];function nu(){for(var e=0;e<tu.length;e++)tu[e]._workInProgressVersionPrimary=null;tu.length=0}var Gs=F.ReactCurrentDispatcher,ru=F.ReactCurrentBatchConfig,Or=0,Fe=null,Xe=null,tt=null,Ys=!1,wi=!1,bi=0,Fx=0;function dt(){throw Error(o(321))}function ou(e,r){if(r===null)return!1;for(var s=0;s<r.length&&s<e.length;s++)if(!Yt(e[s],r[s]))return!1;return!0}function iu(e,r,s,l,f,h){if(Or=h,Fe=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Gs.current=e===null||e.memoizedState===null?Ux:$x,e=s(l,f),wi){h=0;do{if(wi=!1,bi=0,25<=h)throw Error(o(301));h+=1,tt=Xe=null,r.updateQueue=null,Gs.current=Wx,e=s(l,f)}while(wi)}if(Gs.current=Xs,r=Xe!==null&&Xe.next!==null,Or=0,tt=Xe=Fe=null,Ys=!1,r)throw Error(o(300));return e}function su(){var e=bi!==0;return bi=0,e}function ln(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tt===null?Fe.memoizedState=tt=e:tt=tt.next=e,tt}function Bt(){if(Xe===null){var e=Fe.alternate;e=e!==null?e.memoizedState:null}else e=Xe.next;var r=tt===null?Fe.memoizedState:tt.next;if(r!==null)tt=r,Xe=e;else{if(e===null)throw Error(o(310));Xe=e,e={memoizedState:Xe.memoizedState,baseState:Xe.baseState,baseQueue:Xe.baseQueue,queue:Xe.queue,next:null},tt===null?Fe.memoizedState=tt=e:tt=tt.next=e}return tt}function Si(e,r){return typeof r=="function"?r(e):r}function au(e){var r=Bt(),s=r.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=e;var l=Xe,f=l.baseQueue,h=s.pending;if(h!==null){if(f!==null){var x=f.next;f.next=h.next,h.next=x}l.baseQueue=f=h,s.pending=null}if(f!==null){h=f.next,l=l.baseState;var T=x=null,k=null,L=h;do{var z=L.lane;if((Or&z)===z)k!==null&&(k=k.next={lane:0,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),l=L.hasEagerState?L.eagerState:e(l,L.action);else{var B={lane:z,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null};k===null?(T=k=B,x=l):k=k.next=B,Fe.lanes|=z,_r|=z}L=L.next}while(L!==null&&L!==h);k===null?x=l:k.next=T,Yt(l,r.memoizedState)||(wt=!0),r.memoizedState=l,r.baseState=x,r.baseQueue=k,s.lastRenderedState=l}if(e=s.interleaved,e!==null){f=e;do h=f.lane,Fe.lanes|=h,_r|=h,f=f.next;while(f!==e)}else f===null&&(s.lanes=0);return[r.memoizedState,s.dispatch]}function lu(e){var r=Bt(),s=r.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=e;var l=s.dispatch,f=s.pending,h=r.memoizedState;if(f!==null){s.pending=null;var x=f=f.next;do h=e(h,x.action),x=x.next;while(x!==f);Yt(h,r.memoizedState)||(wt=!0),r.memoizedState=h,r.baseQueue===null&&(r.baseState=h),s.lastRenderedState=h}return[h,l]}function sp(){}function ap(e,r){var s=Fe,l=Bt(),f=r(),h=!Yt(l.memoizedState,f);if(h&&(l.memoizedState=f,wt=!0),l=l.queue,uu(cp.bind(null,s,l,e),[e]),l.getSnapshot!==r||h||tt!==null&&tt.memoizedState.tag&1){if(s.flags|=2048,Ei(9,up.bind(null,s,l,f,r),void 0,null),nt===null)throw Error(o(349));(Or&30)!==0||lp(s,r,f)}return f}function lp(e,r,s){e.flags|=16384,e={getSnapshot:r,value:s},r=Fe.updateQueue,r===null?(r={lastEffect:null,stores:null},Fe.updateQueue=r,r.stores=[e]):(s=r.stores,s===null?r.stores=[e]:s.push(e))}function up(e,r,s,l){r.value=s,r.getSnapshot=l,dp(r)&&fp(e)}function cp(e,r,s){return s(function(){dp(r)&&fp(e)})}function dp(e){var r=e.getSnapshot;e=e.value;try{var s=r();return!Yt(e,s)}catch{return!0}}function fp(e){var r=kn(e,1);r!==null&&Jt(r,e,1,-1)}function pp(e){var r=ln();return typeof e=="function"&&(e=e()),r.memoizedState=r.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Si,lastRenderedState:e},r.queue=e,e=e.dispatch=Bx.bind(null,Fe,e),[r.memoizedState,e]}function Ei(e,r,s,l){return e={tag:e,create:r,destroy:s,deps:l,next:null},r=Fe.updateQueue,r===null?(r={lastEffect:null,stores:null},Fe.updateQueue=r,r.lastEffect=e.next=e):(s=r.lastEffect,s===null?r.lastEffect=e.next=e:(l=s.next,s.next=e,e.next=l,r.lastEffect=e)),e}function hp(){return Bt().memoizedState}function Qs(e,r,s,l){var f=ln();Fe.flags|=e,f.memoizedState=Ei(1|r,s,void 0,l===void 0?null:l)}function qs(e,r,s,l){var f=Bt();l=l===void 0?null:l;var h=void 0;if(Xe!==null){var x=Xe.memoizedState;if(h=x.destroy,l!==null&&ou(l,x.deps)){f.memoizedState=Ei(r,s,h,l);return}}Fe.flags|=e,f.memoizedState=Ei(1|r,s,h,l)}function mp(e,r){return Qs(8390656,8,e,r)}function uu(e,r){return qs(2048,8,e,r)}function gp(e,r){return qs(4,2,e,r)}function yp(e,r){return qs(4,4,e,r)}function vp(e,r){if(typeof r=="function")return e=e(),r(e),function(){r(null)};if(r!=null)return e=e(),r.current=e,function(){r.current=null}}function xp(e,r,s){return s=s!=null?s.concat([e]):null,qs(4,4,vp.bind(null,r,e),s)}function cu(){}function wp(e,r){var s=Bt();r=r===void 0?null:r;var l=s.memoizedState;return l!==null&&r!==null&&ou(r,l[1])?l[0]:(s.memoizedState=[e,r],e)}function bp(e,r){var s=Bt();r=r===void 0?null:r;var l=s.memoizedState;return l!==null&&r!==null&&ou(r,l[1])?l[0]:(e=e(),s.memoizedState=[e,r],e)}function Sp(e,r,s){return(Or&21)===0?(e.baseState&&(e.baseState=!1,wt=!0),e.memoizedState=s):(Yt(s,r)||(s=Xd(),Fe.lanes|=s,_r|=s,e.baseState=!0),r)}function Vx(e,r){var s=ke;ke=s!==0&&4>s?s:4,e(!0);var l=ru.transition;ru.transition={};try{e(!1),r()}finally{ke=s,ru.transition=l}}function Ep(){return Bt().memoizedState}function zx(e,r,s){var l=ur(e);if(s={lane:l,action:s,hasEagerState:!1,eagerState:null,next:null},Cp(e))Tp(r,s);else if(s=tp(e,r,s,l),s!==null){var f=yt();Jt(s,e,l,f),Pp(s,r,l)}}function Bx(e,r,s){var l=ur(e),f={lane:l,action:s,hasEagerState:!1,eagerState:null,next:null};if(Cp(e))Tp(r,f);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=r.lastRenderedReducer,h!==null))try{var x=r.lastRenderedState,T=h(x,s);if(f.hasEagerState=!0,f.eagerState=T,Yt(T,x)){var k=r.interleaved;k===null?(f.next=f,Xl(r)):(f.next=k.next,k.next=f),r.interleaved=f;return}}catch{}s=tp(e,r,f,l),s!==null&&(f=yt(),Jt(s,e,l,f),Pp(s,r,l))}}function Cp(e){var r=e.alternate;return e===Fe||r!==null&&r===Fe}function Tp(e,r){wi=Ys=!0;var s=e.pending;s===null?r.next=r:(r.next=s.next,s.next=r),e.pending=r}function Pp(e,r,s){if((s&4194240)!==0){var l=r.lanes;l&=e.pendingLanes,s|=l,r.lanes=s,fl(e,s)}}var Xs={readContext:zt,useCallback:dt,useContext:dt,useEffect:dt,useImperativeHandle:dt,useInsertionEffect:dt,useLayoutEffect:dt,useMemo:dt,useReducer:dt,useRef:dt,useState:dt,useDebugValue:dt,useDeferredValue:dt,useTransition:dt,useMutableSource:dt,useSyncExternalStore:dt,useId:dt,unstable_isNewReconciler:!1},Ux={readContext:zt,useCallback:function(e,r){return ln().memoizedState=[e,r===void 0?null:r],e},useContext:zt,useEffect:mp,useImperativeHandle:function(e,r,s){return s=s!=null?s.concat([e]):null,Qs(4194308,4,vp.bind(null,r,e),s)},useLayoutEffect:function(e,r){return Qs(4194308,4,e,r)},useInsertionEffect:function(e,r){return Qs(4,2,e,r)},useMemo:function(e,r){var s=ln();return r=r===void 0?null:r,e=e(),s.memoizedState=[e,r],e},useReducer:function(e,r,s){var l=ln();return r=s!==void 0?s(r):r,l.memoizedState=l.baseState=r,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},l.queue=e,e=e.dispatch=zx.bind(null,Fe,e),[l.memoizedState,e]},useRef:function(e){var r=ln();return e={current:e},r.memoizedState=e},useState:pp,useDebugValue:cu,useDeferredValue:function(e){return ln().memoizedState=e},useTransition:function(){var e=pp(!1),r=e[0];return e=Vx.bind(null,e[1]),ln().memoizedState=e,[r,e]},useMutableSource:function(){},useSyncExternalStore:function(e,r,s){var l=Fe,f=ln();if(Le){if(s===void 0)throw Error(o(407));s=s()}else{if(s=r(),nt===null)throw Error(o(349));(Or&30)!==0||lp(l,r,s)}f.memoizedState=s;var h={value:s,getSnapshot:r};return f.queue=h,mp(cp.bind(null,l,h,e),[e]),l.flags|=2048,Ei(9,up.bind(null,l,h,s,r),void 0,null),s},useId:function(){var e=ln(),r=nt.identifierPrefix;if(Le){var s=Pn,l=Tn;s=(l&~(1<<32-Gt(l)-1)).toString(32)+s,r=":"+r+"R"+s,s=bi++,0<s&&(r+="H"+s.toString(32)),r+=":"}else s=Fx++,r=":"+r+"r"+s.toString(32)+":";return e.memoizedState=r},unstable_isNewReconciler:!1},$x={readContext:zt,useCallback:wp,useContext:zt,useEffect:uu,useImperativeHandle:xp,useInsertionEffect:gp,useLayoutEffect:yp,useMemo:bp,useReducer:au,useRef:hp,useState:function(){return au(Si)},useDebugValue:cu,useDeferredValue:function(e){var r=Bt();return Sp(r,Xe.memoizedState,e)},useTransition:function(){var e=au(Si)[0],r=Bt().memoizedState;return[e,r]},useMutableSource:sp,useSyncExternalStore:ap,useId:Ep,unstable_isNewReconciler:!1},Wx={readContext:zt,useCallback:wp,useContext:zt,useEffect:uu,useImperativeHandle:xp,useInsertionEffect:gp,useLayoutEffect:yp,useMemo:bp,useReducer:lu,useRef:hp,useState:function(){return lu(Si)},useDebugValue:cu,useDeferredValue:function(e){var r=Bt();return Xe===null?r.memoizedState=e:Sp(r,Xe.memoizedState,e)},useTransition:function(){var e=lu(Si)[0],r=Bt().memoizedState;return[e,r]},useMutableSource:sp,useSyncExternalStore:ap,useId:Ep,unstable_isNewReconciler:!1};function qt(e,r){if(e&&e.defaultProps){r=H({},r),e=e.defaultProps;for(var s in e)r[s]===void 0&&(r[s]=e[s]);return r}return r}function du(e,r,s,l){r=e.memoizedState,s=s(l,r),s=s==null?r:H({},r,s),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}var Zs={isMounted:function(e){return(e=e._reactInternals)?Nr(e)===e:!1},enqueueSetState:function(e,r,s){e=e._reactInternals;var l=yt(),f=ur(e),h=Nn(l,f);h.payload=r,s!=null&&(h.callback=s),r=ir(e,h,f),r!==null&&(Jt(r,e,f,l),Ws(r,e,f))},enqueueReplaceState:function(e,r,s){e=e._reactInternals;var l=yt(),f=ur(e),h=Nn(l,f);h.tag=1,h.payload=r,s!=null&&(h.callback=s),r=ir(e,h,f),r!==null&&(Jt(r,e,f,l),Ws(r,e,f))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var s=yt(),l=ur(e),f=Nn(s,l);f.tag=2,r!=null&&(f.callback=r),r=ir(e,f,l),r!==null&&(Jt(r,e,l,s),Ws(r,e,l))}};function kp(e,r,s,l,f,h,x){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,h,x):r.prototype&&r.prototype.isPureReactComponent?!ui(s,l)||!ui(f,h):!0}function Np(e,r,s){var l=!1,f=nr,h=r.contextType;return typeof h=="object"&&h!==null?h=zt(h):(f=xt(r)?Rr:ct.current,l=r.contextTypes,h=(l=l!=null)?co(e,f):nr),r=new r(s,h),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Zs,e.stateNode=r,r._reactInternals=e,l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=f,e.__reactInternalMemoizedMaskedChildContext=h),r}function jp(e,r,s,l){e=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(s,l),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(s,l),r.state!==e&&Zs.enqueueReplaceState(r,r.state,null)}function fu(e,r,s,l){var f=e.stateNode;f.props=s,f.state=e.memoizedState,f.refs={},Zl(e);var h=r.contextType;typeof h=="object"&&h!==null?f.context=zt(h):(h=xt(r)?Rr:ct.current,f.context=co(e,h)),f.state=e.memoizedState,h=r.getDerivedStateFromProps,typeof h=="function"&&(du(e,r,h,s),f.state=e.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(r=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),r!==f.state&&Zs.enqueueReplaceState(f,f.state,null),Hs(e,s,f,l),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308)}function xo(e,r){try{var s="",l=r;do s+=oe(l),l=l.return;while(l);var f=s}catch(h){f=`
7Error generating stack: `+h.message+`
8`+h.stack}return{value:e,source:r,stack:f,digest:null}}function pu(e,r,s){return{value:e,source:null,stack:s??null,digest:r??null}}function hu(e,r){try{console.error(r.value)}catch(s){setTimeout(function(){throw s})}}var Hx=typeof WeakMap=="function"?WeakMap:Map;function Rp(e,r,s){s=Nn(-1,s),s.tag=3,s.payload={element:null};var l=r.value;return s.callback=function(){ia||(ia=!0,ju=l),hu(e,r)},s}function Ap(e,r,s){s=Nn(-1,s),s.tag=3;var l=e.type.getDerivedStateFromError;if(typeof l=="function"){var f=r.value;s.payload=function(){return l(f)},s.callback=function(){hu(e,r)}}var h=e.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(s.callback=function(){hu(e,r),typeof l!="function"&&(ar===null?ar=new Set([this]):ar.add(this));var x=r.stack;this.componentDidCatch(r.value,{componentStack:x!==null?x:""})}),s}function Mp(e,r,s){var l=e.pingCache;if(l===null){l=e.pingCache=new Hx;var f=new Set;l.set(r,f)}else f=l.get(r),f===void 0&&(f=new Set,l.set(r,f));f.has(s)||(f.add(s),e=i1.bind(null,e,r,s),r.then(e,e))}function Dp(e){do{var r;if((r=e.tag===13)&&(r=e.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return e;e=e.return}while(e!==null);return null}function Lp(e,r,s,l,f){return(e.mode&1)===0?(e===r?e.flags|=65536:(e.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(r=Nn(-1,1),r.tag=2,ir(s,r,1))),s.lanes|=1),e):(e.flags|=65536,e.lanes=f,e)}
vendor: 9,903 bytes, line 8
8var Kx=F.ReactCurrentOwner,wt=!1;function gt(e,r,s,l){r.child=e===null?ep(r,null,s,l):mo(r,e.child,s,l)}function Op(e,r,s,l,f){s=s.render;var h=r.ref;return yo(r,f),l=iu(e,r,s,l,h,f),s=su(),e!==null&&!wt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~f,jn(e,r,f)):(Le&&s&&Ul(r),r.flags|=1,gt(e,r,l,f),r.child)}function _p(e,r,s,l,f){if(e===null){var h=s.type;return typeof h=="function"&&!_u(h)&&h.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(r.tag=15,r.type=h,Ip(e,r,h,l,f)):(e=da(s.type,null,l,r,r.mode,f),e.ref=r.ref,e.return=r,r.child=e)}if(h=e.child,(e.lanes&f)===0){var x=h.memoizedProps;if(s=s.compare,s=s!==null?s:ui,s(x,l)&&e.ref===r.ref)return jn(e,r,f)}return r.flags|=1,e=dr(h,l),e.ref=r.ref,e.return=r,r.child=e}function Ip(e,r,s,l,f){if(e!==null){var h=e.memoizedProps;if(ui(h,l)&&e.ref===r.ref)if(wt=!1,r.pendingProps=l=h,(e.lanes&f)!==0)(e.flags&131072)!==0&&(wt=!0);else return r.lanes=e.lanes,jn(e,r,f)}return mu(e,r,s,l,f)}function Fp(e,r,s){var l=r.pendingProps,f=l.children,h=e!==null?e.memoizedState:null;if(l.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},je(bo,Mt),Mt|=s;else{if((s&1073741824)===0)return e=h!==null?h.baseLanes|s:s,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:e,cachePool:null,transitions:null},r.updateQueue=null,je(bo,Mt),Mt|=e,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=h!==null?h.baseLanes:s,je(bo,Mt),Mt|=l}else h!==null?(l=h.baseLanes|s,r.memoizedState=null):l=s,je(bo,Mt),Mt|=l;return gt(e,r,f,s),r.child}function Vp(e,r){var s=r.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(r.flags|=512,r.flags|=2097152)}function mu(e,r,s,l,f){var h=xt(s)?Rr:ct.current;return h=co(r,h),yo(r,f),s=iu(e,r,s,l,h,f),l=su(),e!==null&&!wt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~f,jn(e,r,f)):(Le&&l&&Ul(r),r.flags|=1,gt(e,r,s,f),r.child)}function zp(e,r,s,l,f){if(xt(s)){var h=!0;_s(r)}else h=!1;if(yo(r,f),r.stateNode===null)ea(e,r),Np(r,s,l),fu(r,s,l,f),l=!0;else if(e===null){var x=r.stateNode,T=r.memoizedProps;x.props=T;var k=x.context,L=s.contextType;typeof L=="object"&&L!==null?L=zt(L):(L=xt(s)?Rr:ct.current,L=co(r,L));var z=s.getDerivedStateFromProps,B=typeof z=="function"||typeof x.getSnapshotBeforeUpdate=="function";B||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(T!==l||k!==L)&&jp(r,x,l,L),or=!1;var V=r.memoizedState;x.state=V,Hs(r,l,x,f),k=r.memoizedState,T!==l||V!==k||vt.current||or?(typeof z=="function"&&(du(r,s,z,l),k=r.memoizedState),(T=or||kp(r,s,T,l,V,k,L))?(B||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(r.flags|=4194308)):(typeof x.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=l,r.memoizedState=k),x.props=l,x.state=k,x.context=L,l=T):(typeof x.componentDidMount=="function"&&(r.flags|=4194308),l=!1)}else{x=r.stateNode,np(e,r),T=r.memoizedProps,L=r.type===r.elementType?T:qt(r.type,T),x.props=L,B=r.pendingProps,V=x.context,k=s.contextType,typeof k=="object"&&k!==null?k=zt(k):(k=xt(s)?Rr:ct.current,k=co(r,k));var q=s.getDerivedStateFromProps;(z=typeof q=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(T!==B||V!==k)&&jp(r,x,l,k),or=!1,V=r.memoizedState,x.state=V,Hs(r,l,x,f);var J=r.memoizedState;T!==B||V!==J||vt.current||or?(typeof q=="function"&&(du(r,s,q,l),J=r.memoizedState),(L=or||kp(r,s,L,l,V,J,k)||!1)?(z||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(l,J,k),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(l,J,k)),typeof x.componentDidUpdate=="function"&&(r.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof x.componentDidUpdate!="function"||T===e.memoizedProps&&V===e.memoizedState||(r.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||T===e.memoizedProps&&V===e.memoizedState||(r.flags|=1024),r.memoizedProps=l,r.memoizedState=J),x.props=l,x.state=J,x.context=k,l=L):(typeof x.componentDidUpdate!="function"||T===e.memoizedProps&&V===e.memoizedState||(r.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||T===e.memoizedProps&&V===e.memoizedState||(r.flags|=1024),l=!1)}return gu(e,r,s,l,h,f)}function gu(e,r,s,l,f,h){Vp(e,r);var x=(r.flags&128)!==0;if(!l&&!x)return f&&Hf(r,s,!1),jn(e,r,h);l=r.stateNode,Kx.current=r;var T=x&&typeof s.getDerivedStateFromError!="function"?null:l.render();return r.flags|=1,e!==null&&x?(r.child=mo(r,e.child,null,h),r.child=mo(r,null,T,h)):gt(e,r,T,h),r.memoizedState=l.state,f&&Hf(r,s,!0),r.child}function Bp(e){var r=e.stateNode;r.pendingContext?$f(e,r.pendingContext,r.pendingContext!==r.context):r.context&&$f(e,r.context,!1),Jl(e,r.containerInfo)}function Up(e,r,s,l,f){return ho(),Kl(f),r.flags|=256,gt(e,r,s,l),r.child}var yu={dehydrated:null,treeContext:null,retryLane:0};function vu(e){return{baseLanes:e,cachePool:null,transitions:null}}function $p(e,r,s){var l=r.pendingProps,f=Ie.current,h=!1,x=(r.flags&128)!==0,T;if((T=x)||(T=e!==null&&e.memoizedState===null?!1:(f&2)!==0),T?(h=!0,r.flags&=-129):(e===null||e.memoizedState!==null)&&(f|=1),je(Ie,f&1),e===null)return Hl(r),e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((r.mode&1)===0?r.lanes=1:e.data==="$!"?r.lanes=8:r.lanes=1073741824,null):(x=l.children,e=l.fallback,h?(l=r.mode,h=r.child,x={mode:"hidden",children:x},(l&1)===0&&h!==null?(h.childLanes=0,h.pendingProps=x):h=fa(x,l,0,null),e=zr(e,l,s,null),h.return=r,e.return=r,h.sibling=e,r.child=h,r.child.memoizedState=vu(s),r.memoizedState=yu,e):xu(r,x));if(f=e.memoizedState,f!==null&&(T=f.dehydrated,T!==null))return Gx(e,r,x,l,T,f,s);if(h){h=l.fallback,x=r.mode,f=e.child,T=f.sibling;var k={mode:"hidden",children:l.children};return(x&1)===0&&r.child!==f?(l=r.child,l.childLanes=0,l.pendingProps=k,r.deletions=null):(l=dr(f,k),l.subtreeFlags=f.subtreeFlags&14680064),T!==null?h=dr(T,h):(h=zr(h,x,s,null),h.flags|=2),h.return=r,l.return=r,l.sibling=h,r.child=l,l=h,h=r.child,x=e.child.memoizedState,x=x===null?vu(s):{baseLanes:x.baseLanes|s,cachePool:null,transitions:x.transitions},h.memoizedState=x,h.childLanes=e.childLanes&~s,r.memoizedState=yu,l}return h=e.child,e=h.sibling,l=dr(h,{mode:"visible",children:l.children}),(r.mode&1)===0&&(l.lanes=s),l.return=r,l.sibling=null,e!==null&&(s=r.deletions,s===null?(r.deletions=[e],r.flags|=16):s.push(e)),r.child=l,r.memoizedState=null,l}function xu(e,r){return r=fa({mode:"visible",children:r},e.mode,0,null),r.return=e,e.child=r}function Js(e,r,s,l){return l!==null&&Kl(l),mo(r,e.child,null,s),e=xu(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function Gx(e,r,s,l,f,h,x){if(s)return r.flags&256?(r.flags&=-257,l=pu(Error(o(422))),Js(e,r,x,l)):r.memoizedState!==null?(r.child=e.child,r.flags|=128,null):(h=l.fallback,f=r.mode,l=fa({mode:"visible",children:l.children},f,0,null),h=zr(h,f,x,null),h.flags|=2,l.return=r,h.return=r,l.sibling=h,r.child=l,(r.mode&1)!==0&&mo(r,e.child,null,x),r.child.memoizedState=vu(x),r.memoizedState=yu,h);if((r.mode&1)===0)return Js(e,r,x,null);if(f.data==="$!"){if(l=f.nextSibling&&f.nextSibling.dataset,l)var T=l.dgst;return l=T,h=Error(o(419)),l=pu(h,l,void 0),Js(e,r,x,l)}if(T=(x&e.childLanes)!==0,wt||T){if(l=nt,l!==null){switch(x&-x){case 4:f=2;break;case 16:f=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:f=32;break;case 536870912:f=268435456;break;default:f=0}f=(f&(l.suspendedLanes|x))!==0?0:f,f!==0&&f!==h.retryLane&&(h.retryLane=f,kn(e,f),Jt(l,e,f,-1))}return Ou(),l=pu(Error(o(421))),Js(e,r,x,l)}return f.data==="$?"?(r.flags|=128,r.child=e.child,r=s1.bind(null,e),f._reactRetry=r,null):(e=h.treeContext,At=er(f.nextSibling),Rt=r,Le=!0,Qt=null,e!==null&&(Ft[Vt++]=Tn,Ft[Vt++]=Pn,Ft[Vt++]=Ar,Tn=e.id,Pn=e.overflow,Ar=r),r=xu(r,l.children),r.flags|=4096,r)}function Wp(e,r,s){e.lanes|=r;var l=e.alternate;l!==null&&(l.lanes|=r),ql(e.return,r,s)}function wu(e,r,s,l,f){var h=e.memoizedState;h===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:l,tail:s,tailMode:f}:(h.isBackwards=r,h.rendering=null,h.renderingStartTime=0,h.last=l,h.tail=s,h.tailMode=f)}function Hp(e,r,s){var l=r.pendingProps,f=l.revealOrder,h=l.tail;if(gt(e,r,l.children,s),l=Ie.current,(l&2)!==0)l=l&1|2,r.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Wp(e,s,r);else if(e.tag===19)Wp(e,s,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}l&=1}if(je(Ie,l),(r.mode&1)===0)r.memoizedState=null;else switch(f){case"forwards":for(s=r.child,f=null;s!==null;)e=s.alternate,e!==null&&Ks(e)===null&&(f=s),s=s.sibling;s=f,s===null?(f=r.child,r.child=null):(f=s.sibling,s.sibling=null),wu(r,!1,f,s,h);break;case"backwards":for(s=null,f=r.child,r.child=null;f!==null;){if(e=f.alternate,e!==null&&Ks(e)===null){r.child=f;break}e=f.sibling,f.sibling=s,s=f,f=e}wu(r,!0,s,null,h);break;case"together":wu(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function ea(e,r){(r.mode&1)===0&&e!==null&&(e.alternate=null,r.alternate=null,r.flags|=2)}function jn(e,r,s){if(e!==null&&(r.dependencies=e.dependencies),_r|=r.lanes,(s&r.childLanes)===0)return null;if(e!==null&&r.child!==e.child)throw Error(o(153));
vendor: 5,448 bytes, line 8
8if(r.child!==null){for(e=r.child,s=dr(e,e.pendingProps),r.child=s,s.return=r;e.sibling!==null;)e=e.sibling,s=s.sibling=dr(e,e.pendingProps),s.return=r;s.sibling=null}return r.child}function Yx(e,r,s){switch(r.tag){case 3:Bp(r),ho();break;case 5:ip(r);break;case 1:xt(r.type)&&_s(r);break;case 4:Jl(r,r.stateNode.containerInfo);break;case 10:var l=r.type._context,f=r.memoizedProps.value;je(Us,l._currentValue),l._currentValue=f;break;case 13:if(l=r.memoizedState,l!==null)return l.dehydrated!==null?(je(Ie,Ie.current&1),r.flags|=128,null):(s&r.child.childLanes)!==0?$p(e,r,s):(je(Ie,Ie.current&1),e=jn(e,r,s),e!==null?e.sibling:null);je(Ie,Ie.current&1);break;case 19:if(l=(s&r.childLanes)!==0,(e.flags&128)!==0){if(l)return Hp(e,r,s);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),je(Ie,Ie.current),l)break;return null;case 22:case 23:return r.lanes=0,Fp(e,r,s)}return jn(e,r,s)}var Kp,bu,Gp,Yp;Kp=function(e,r){for(var s=r.child;s!==null;){if(s.tag===5||s.tag===6)e.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},bu=function(){},Gp=function(e,r,s,l){var f=e.memoizedProps;if(f!==l){e=r.stateNode,Lr(an.current);var h=null;switch(s){case"input":f=Er(e,f),l=Er(e,l),h=[];break;case"select":f=H({},f,{value:void 0}),l=H({},l,{value:void 0}),h=[];break;case"textarea":f=ot(e,f),l=ot(e,l),h=[];break;default:typeof f.onClick!="function"&&typeof l.onClick=="function"&&(e.onclick=Ds)}eo(s,l);var x;s=null;for(L in f)if(!l.hasOwnProperty(L)&&f.hasOwnProperty(L)&&f[L]!=null)if(L==="style"){var T=f[L];for(x in T)T.hasOwnProperty(x)&&(s||(s={}),s[x]="")}else L!=="dangerouslySetInnerHTML"&&L!=="children"&&L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&L!=="autoFocus"&&(a.hasOwnProperty(L)?h||(h=[]):(h=h||[]).push(L,null));for(L in l){var k=l[L];if(T=f?.[L],l.hasOwnProperty(L)&&k!==T&&(k!=null||T!=null))if(L==="style")if(T){for(x in T)!T.hasOwnProperty(x)||k&&k.hasOwnProperty(x)||(s||(s={}),s[x]="");for(x in k)k.hasOwnProperty(x)&&T[x]!==k[x]&&(s||(s={}),s[x]=k[x])}else s||(h||(h=[]),h.push(L,s)),s=k;else L==="dangerouslySetInnerHTML"?(k=k?k.__html:void 0,T=T?T.__html:void 0,k!=null&&T!==k&&(h=h||[]).push(L,k)):L==="children"?typeof k!="string"&&typeof k!="number"||(h=h||[]).push(L,""+k):L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&(a.hasOwnProperty(L)?(k!=null&&L==="onScroll"&&Re("scroll",e),h||T===k||(h=[])):(h=h||[]).push(L,k))}s&&(h=h||[]).push("style",s);var L=h;(r.updateQueue=L)&&(r.flags|=4)}},Yp=function(e,r,s,l){s!==l&&(r.flags|=4)};function Ci(e,r){if(!Le)switch(e.tailMode){case"hidden":r=e.tail;for(var s=null;r!==null;)r.alternate!==null&&(s=r),r=r.sibling;s===null?e.tail=null:s.sibling=null;break;case"collapsed":s=e.tail;for(var l=null;s!==null;)s.alternate!==null&&(l=s),s=s.sibling;l===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function ft(e){var r=e.alternate!==null&&e.alternate.child===e.child,s=0,l=0;if(r)for(var f=e.child;f!==null;)s|=f.lanes|f.childLanes,l|=f.subtreeFlags&14680064,l|=f.flags&14680064,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)s|=f.lanes|f.childLanes,l|=f.subtreeFlags,l|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=l,e.childLanes=s,r}function Qx(e,r,s){var l=r.pendingProps;switch($l(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ft(r),null;case 1:return xt(r.type)&&Os(),ft(r),null;case 3:return l=r.stateNode,vo(),Ae(vt),Ae(ct),nu(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(zs(r)?r.flags|=4:e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Qt!==null&&(Mu(Qt),Qt=null))),bu(e,r),ft(r),null;case 5:eu(r);var f=Lr(xi.current);if(s=r.type,e!==null&&r.stateNode!=null)Gp(e,r,s,l,f),e.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!l){if(r.stateNode===null)throw Error(o(166));return ft(r),null}if(e=Lr(an.current),zs(r)){l=r.stateNode,s=r.type;var h=r.memoizedProps;switch(l[sn]=r,l[hi]=h,e=(r.mode&1)!==0,s){case"dialog":Re("cancel",l),Re("close",l);break;case"iframe":case"object":case"embed":Re("load",l);break;case"video":case"audio":for(f=0;f<di.length;f++)Re(di[f],l);break;case"source":Re("error",l);break;case"img":case"image":case"link":Re("error",l),Re("load",l);break;case"details":Re("toggle",l);break;case"input":ls(l,h),Re("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!h.multiple},Re("invalid",l);break;case"textarea":bn(l,h),Re("invalid",l)}eo(s,h),f=null;for(var x in h)if(h.hasOwnProperty(x)){var T=h[x];x==="children"?typeof T=="string"?l.textContent!==T&&(h.suppressHydrationWarning!==!0&&Ms(l.textContent,T,e),f=["children",T]):typeof T=="number"&&l.textContent!==""+T&&(h.suppressHydrationWarning!==!0&&Ms(l.textContent,T,e),f=["children",""+T]):a.hasOwnProperty(x)&&T!=null&&x==="onScroll"&&Re("scroll",l)}switch(s){case"input":vn(l),Ho(l,h,!0);break;case"textarea":vn(l),cs(l);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(l.onclick=Ds)}l=f,r.updateQueue=l,l!==null&&(r.flags|=4)}else{x=f.nodeType===9?f:f.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Tr(s)),e==="http://www.w3.org/1999/xhtml"?s==="script"?(e=x.createElement("div"),e.innerHTML="<script><\/script>
8",e=e.removeChild(e.firstChild)):typeof l.is=="string"?e=x.createElement(s,{is:l.is}):(e=x.createElement(s),s==="select"&&(x=e,l.multiple?x.multiple=!0:l.size&&(x.size=l.size))):e=x.createElementNS(e,s),e[sn]=r,e[hi]=l,Kp(e,r,!1,!1),r.stateNode=e;e:{switch(x=Go(s,l),s){case"dialog":Re("cancel",e),Re("close",e),f=l;break;case"iframe":case"object":case"embed":Re("load",e),f=l;break;case"video":case"audio":for(f=0;f<di.length;f++)Re(di[f],e);f=l;break;case"source":Re("error",e),f=l;break;case"img":case"image":case"link":Re("error",e),Re("load",e),f=l;break;case"details":Re("toggle",e),f=l;break;case"input":ls(e,l),f=Er(e,l),Re("invalid",e);break;case"option":f=l;break;case"select":e._wrapperState={wasMultiple:!!l.multiple},f=H({},l,{value:void 0}),Re("invalid",e);break;case"textarea":bn(e,l),f=ot(e,l),Re("invalid",e);break;default:f=l}eo(s,f),T=f;for(h in T)if(T.hasOwnProperty(h)){var k=T[h];h==="style"?fs(e,k):h==="dangerouslySetInnerHTML"?(k=k?k.__html:void 0,k!=null&&Jr(e,k)):h==="children"?typeof k=="string"?(s!=="textarea"||k!=="")&&Ot(e,k):typeof k=="number"&&Ot(e,""+k):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(a.hasOwnProperty(h)?k!=null&&h==="onScroll"&&Re("scroll",e):k!=null&&O(e,h,k,x))}switch(s){case"input":vn(e),Ho(e,l,!1);break;case"textarea":vn(e),cs(e);break;case"option":l.value!=null&&e.setAttribute("value",""+se(l.value));break;case"select":e.multiple=!!l.multiple,h=l.value,h!=null?Bn(e,!!l.multiple,h,!1):l.defaultValue!=null&&Bn(e,!!l.multiple,l.defaultValue,!0);break;default:typeof f.onClick=="function"&&(e.onclick=Ds)}switch(s){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}}l&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return ft(r),null;case 6:if(e&&r.stateNode!=null)Yp(e,r,e.memoizedProps,l);else{if(typeof l!="string"&&r.stateNode===null)throw Error(o(166));if(s=Lr(xi.current),Lr(an.current),zs(r)){if(l=r.stateNode,s=r.memoizedProps,l[sn]=r,(h=l.nodeValue!==s)&&(e=Rt,e!==null))switch(e.tag){case 3:Ms(l.nodeValue,s,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ms(l.nodeValue,s,(e.mode&1)!==0)}h&&(r.flags|=4)}else l=(s.nodeType===9?s:s.ownerDocument).createTextNode(l),l[sn]=r,r.stateNode=l}return ft(r),null;case 13:if(Ae(Ie),l=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Le&&At!==null&&(r.mode&1)!==0&&(r.flags&128)===0)Xf(),ho(),r.flags|=98560,h=!1;else if(h=zs(r),l!==null&&l.dehydrated!==null){if(e===null){if(!h)throw Error(o(318));if(h=r.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(o(317));h[sn]=r}else ho(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;ft(r),h=!1}else Qt!==null&&(Mu(Qt),Qt=null),h=!0;if(!h)return r.flags&65536?r:null}return(r.flags&128)!==0?(r.lanes=s,r):(l=l!==null,l!==(e!==null&&e.memoizedState!==null)&&l&&(r.child.flags|=8192,(r.mode&1)!==0&&(e===null||(Ie.current&1)!==0?Ze===0&&(Ze=3):Ou())),r.updateQueue!==null&&(r.flags|=4),ft(r),null);case 4:return vo(),bu(e,r),e===null&&fi(r.stateNode.containerInfo),ft(r),null;case 10:return Ql(r.type._context),ft(r),null;case 17:return xt(r.type)&&Os(),ft(r),null;case 19:if(Ae(Ie),h=r.memoizedState,h===null)return ft(r),null;if(l=(r.flags&128)!==0,x=h.rendering,x===null)if(l)Ci(h,!1);else{if(Ze!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(x=Ks(e),x!==null){for(r.flags|=128,Ci(h,!1),l=x.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),r.subtreeFlags=0,l=s,s=r.child;s!==null;)h=s,e=l,h.flags&=14680066,x=h.alternate,x===null?(h.childLanes=0,h.lanes=e,h.child=null,h.subtreeFlags=0,h.memoizedProps=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.stateNode=null):(h.childLanes=x.childLanes,h.lanes=x.lanes,h.child=x.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=x.memoizedProps,h.memoizedState=x.memoizedState,h.updateQueue=x.updateQueue,h.type=x.type,e=x.dependencies,h.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),s=s.sibling;return je(Ie,Ie.current&1|2),r.child}e=e.sibling}h.tail!==null&&He()>So&&(r.flags|=128,l=!0,Ci(h,!1),r.lanes=4194304)}else{if(!l)if(e=Ks(x),e!==null){if(r.flags|=128,l=!0,s=e.updateQueue,s!==null&&(r.updateQueue=s,r.flags|=4),Ci(h,!0),h.tail===null&&h.tailMode==="hidden"&&!x.alternate&&!Le)return ft(r),null}else 2*He()-h.renderingStartTime>So&&s!==1073741824&&(r.flags|=128,l=!0,Ci(h,!1),r.lanes=4194304);h.isBackwards?(x.sibling=r.child,r.child=x):(s=h.last,s!==null?s.sibling=x:r.child=x,h.last=x)}return h.tail!==null?(r=h.tail,h.rendering=r,h.tail=r.sibling,h.renderingStartTime=He(),r.sibling=null,s=Ie.current,je(Ie,l?s&1|2:s&1),r):(ft(r),null);case 22:case 23:return Lu(),l=r.memoizedState!==null,e!==null&&e.memoizedState!==null!==l&&(r.flags|=8192),l&&(r.mode&1)!==0?(Mt&1073741824)!==0&&(ft(r),r.subtreeFlags&6&&(r.flags|=8192)):ft(r),null;case 24:return null;case 25:return null}throw Error(o(156,r.tag))}function qx(e,r){switch($l(r),r.tag){case 1:return xt(r.type)&&Os(),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return vo(),Ae(vt),Ae(ct),nu(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 5:return eu(r),null;case 13:if(Ae(Ie),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(o(340));ho()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return Ae(Ie),null;case 4:return vo(),null;case 10:return Ql(r.type._context),null;case 22:case 23:return Lu(),null;case 24:return null;default:return null}}var ta=!1,pt=!1,Xx=typeof WeakSet=="function"?WeakSet:Set,Z=null;function wo(e,r){var s=e.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(l){Ue(e,r,l)}
vendor: 3,235 bytes, line 8
8else s.current=null}function Su(e,r,s){try{s()}catch(l){Ue(e,r,l)}}var Qp=!1;function Zx(e,r){if(Ll=bs,e=kf(),Pl(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else e:{s=(s=e.ownerDocument)&&s.defaultView||window;var l=s.getSelection&&s.getSelection();if(l&&l.rangeCount!==0){s=l.anchorNode;var f=l.anchorOffset,h=l.focusNode;l=l.focusOffset;try{s.nodeType,h.nodeType}catch{s=null;break e}var x=0,T=-1,k=-1,L=0,z=0,B=e,V=null;t:for(;;){for(var q;B!==s||f!==0&&B.nodeType!==3||(T=x+f),B!==h||l!==0&&B.nodeType!==3||(k=x+l),B.nodeType===3&&(x+=B.nodeValue.length),(q=B.firstChild)!==null;)V=B,B=q;for(;;){if(B===e)break t;if(V===s&&++L===f&&(T=x),V===h&&++z===l&&(k=x),(q=B.nextSibling)!==null)break;B=V,V=B.parentNode}B=q}s=T===-1||k===-1?null:{start:T,end:k}}else s=null}s=s||{start:0,end:0}}else s=null;for(Ol={focusedElem:e,selectionRange:s},bs=!1,Z=r;Z!==null;)if(r=Z,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,Z=e;else for(;Z!==null;){r=Z;try{var J=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(J!==null){var ee=J.memoizedProps,Ke=J.memoizedState,A=r.stateNode,j=A.getSnapshotBeforeUpdate(r.elementType===r.type?ee:qt(r.type,ee),Ke);A.__reactInternalSnapshotBeforeUpdate=j}break;case 3:var M=r.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch($){Ue(r,r.return,$)}if(e=r.sibling,e!==null){e.return=r.return,Z=e;break}Z=r.return}return J=Qp,Qp=!1,J}function Ti(e,r,s){var l=r.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var f=l=l.next;do{if((f.tag&e)===e){var h=f.destroy;f.destroy=void 0,h!==void 0&&Su(r,s,h)}f=f.next}while(f!==l)}}function na(e,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var l=s.create;s.destroy=l()}s=s.next}while(s!==r)}}function Eu(e){var r=e.ref;if(r!==null){var s=e.stateNode;e.tag,e=s,typeof r=="function"?r(e):r.current=e}}function qp(e){var r=e.alternate;r!==null&&(e.alternate=null,qp(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&(delete r[sn],delete r[hi],delete r[Vl],delete r[Lx],delete r[Ox])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Xp(e){return e.tag===5||e.tag===3||e.tag===4}function Zp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Cu(e,r,s){var l=e.tag;if(l===5||l===6)e=e.stateNode,r?s.nodeType===8?s.parentNode.insertBefore(e,r):s.insertBefore(e,r):(s.nodeType===8?(r=s.parentNode,r.insertBefore(e,s)):(r=s,r.appendChild(e)),s=s._reactRootContainer,s!=null||r.onclick!==null||(r.onclick=Ds));else if(l!==4&&(e=e.child,e!==null))for(Cu(e,r,s),e=e.sibling;e!==null;)Cu(e,r,s),e=e.sibling}function Tu(e,r,s){var l=e.tag;if(l===5||l===6)e=e.stateNode,r?s.insertBefore(e,r):s.appendChild(e);
vendor: 15,463 bytes, line 8
8else if(l!==4&&(e=e.child,e!==null))for(Tu(e,r,s),e=e.sibling;e!==null;)Tu(e,r,s),e=e.sibling}var st=null,Xt=!1;function sr(e,r,s){for(s=s.child;s!==null;)Jp(e,r,s),s=s.sibling}function Jp(e,r,s){if(on&&typeof on.onCommitFiberUnmount=="function")try{on.onCommitFiberUnmount(ms,s)}catch{}switch(s.tag){case 5:pt||wo(s,r);case 6:var l=st,f=Xt;st=null,sr(e,r,s),st=l,Xt=f,st!==null&&(Xt?(e=st,s=s.stateNode,e.nodeType===8?e.parentNode.removeChild(s):e.removeChild(s)):st.removeChild(s.stateNode));break;case 18:st!==null&&(Xt?(e=st,s=s.stateNode,e.nodeType===8?Fl(e.parentNode,s):e.nodeType===1&&Fl(e,s),ri(e)):Fl(st,s.stateNode));break;case 4:l=st,f=Xt,st=s.stateNode.containerInfo,Xt=!0,sr(e,r,s),st=l,Xt=f;break;case 0:case 11:case 14:case 15:if(!pt&&(l=s.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){f=l=l.next;do{var h=f,x=h.destroy;h=h.tag,x!==void 0&&((h&2)!==0||(h&4)!==0)&&Su(s,r,x),f=f.next}while(f!==l)}sr(e,r,s);break;case 1:if(!pt&&(wo(s,r),l=s.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=s.memoizedProps,l.state=s.memoizedState,l.componentWillUnmount()}catch(T){Ue(s,r,T)}sr(e,r,s);break;case 21:sr(e,r,s);break;case 22:s.mode&1?(pt=(l=pt)||s.memoizedState!==null,sr(e,r,s),pt=l):sr(e,r,s);break;default:sr(e,r,s)}}function eh(e){var r=e.updateQueue;if(r!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new Xx),r.forEach(function(l){var f=a1.bind(null,e,l);s.has(l)||(s.add(l),l.then(f,f))})}}function Zt(e,r){var s=r.deletions;if(s!==null)for(var l=0;l<s.length;l++){var f=s[l];try{var h=e,x=r,T=x;e:for(;T!==null;){switch(T.tag){case 5:st=T.stateNode,Xt=!1;break e;case 3:st=T.stateNode.containerInfo,Xt=!0;break e;case 4:st=T.stateNode.containerInfo,Xt=!0;break e}T=T.return}if(st===null)throw Error(o(160));Jp(h,x,f),st=null,Xt=!1;var k=f.alternate;k!==null&&(k.return=null),f.return=null}catch(L){Ue(f,r,L)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)th(r,e),r=r.sibling}function th(e,r){var s=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Zt(r,e),un(e),l&4){try{Ti(3,e,e.return),na(3,e)}catch(ee){Ue(e,e.return,ee)}try{Ti(5,e,e.return)}catch(ee){Ue(e,e.return,ee)}}break;case 1:Zt(r,e),un(e),l&512&&s!==null&&wo(s,s.return);break;case 5:if(Zt(r,e),un(e),l&512&&s!==null&&wo(s,s.return),e.flags&32){var f=e.stateNode;try{Ot(f,"")}catch(ee){Ue(e,e.return,ee)}}if(l&4&&(f=e.stateNode,f!=null)){var h=e.memoizedProps,x=s!==null?s.memoizedProps:h,T=e.type,k=e.updateQueue;if(e.updateQueue=null,k!==null)try{T==="input"&&h.type==="radio"&&h.name!=null&&Wo(f,h),Go(T,x);var L=Go(T,h);for(x=0;x<k.length;x+=2){var z=k[x],B=k[x+1];z==="style"?fs(f,B):z==="dangerouslySetInnerHTML"?Jr(f,B):z==="children"?Ot(f,B):O(f,z,B,L)}switch(T){case"input":wn(f,h);break;case"textarea":us(f,h);break;case"select":var V=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!h.multiple;var q=h.value;q!=null?Bn(f,!!h.multiple,q,!1):V!==!!h.multiple&&(h.defaultValue!=null?Bn(f,!!h.multiple,h.defaultValue,!0):Bn(f,!!h.multiple,h.multiple?[]:"",!1))}f[hi]=h}catch(ee){Ue(e,e.return,ee)}}break;case 6:if(Zt(r,e),un(e),l&4){if(e.stateNode===null)throw Error(o(162));f=e.stateNode,h=e.memoizedProps;try{f.nodeValue=h}catch(ee){Ue(e,e.return,ee)}}break;case 3:if(Zt(r,e),un(e),l&4&&s!==null&&s.memoizedState.isDehydrated)try{ri(r.containerInfo)}catch(ee){Ue(e,e.return,ee)}break;case 4:Zt(r,e),un(e);break;case 13:Zt(r,e),un(e),f=e.child,f.flags&8192&&(h=f.memoizedState!==null,f.stateNode.isHidden=h,!h||f.alternate!==null&&f.alternate.memoizedState!==null||(Nu=He())),l&4&&eh(e);break;case 22:if(z=s!==null&&s.memoizedState!==null,e.mode&1?(pt=(L=pt)||z,Zt(r,e),pt=L):Zt(r,e),un(e),l&8192){if(L=e.memoizedState!==null,(e.stateNode.isHidden=L)&&!z&&(e.mode&1)!==0)for(Z=e,z=e.child;z!==null;){for(B=Z=z;Z!==null;){switch(V=Z,q=V.child,V.tag){case 0:case 11:case 14:case 15:Ti(4,V,V.return);break;case 1:wo(V,V.return);var J=V.stateNode;if(typeof J.componentWillUnmount=="function"){l=V,s=V.return;try{r=l,J.props=r.memoizedProps,J.state=r.memoizedState,J.componentWillUnmount()}catch(ee){Ue(l,s,ee)}}break;case 5:wo(V,V.return);break;case 22:if(V.memoizedState!==null){oh(B);continue}}q!==null?(q.return=V,Z=q):oh(B)}z=z.sibling}e:for(z=null,B=e;;){if(B.tag===5){if(z===null){z=B;try{f=B.stateNode,L?(h=f.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(T=B.stateNode,k=B.memoizedProps.style,x=k!=null&&k.hasOwnProperty("display")?k.display:null,T.style.display=ds("display",x))}catch(ee){Ue(e,e.return,ee)}}}else if(B.tag===6){if(z===null)try{B.stateNode.nodeValue=L?"":B.memoizedProps}catch(ee){Ue(e,e.return,ee)}}else if((B.tag!==22&&B.tag!==23||B.memoizedState===null||B===e)&&B.child!==null){B.child.return=B,B=B.child;continue}if(B===e)break e;for(;B.sibling===null;){if(B.return===null||B.return===e)break e;z===B&&(z=null),B=B.return}z===B&&(z=null),B.sibling.return=B.return,B=B.sibling}}break;case 19:Zt(r,e),un(e),l&4&&eh(e);break;case 21:break;default:Zt(r,e),un(e)}}function un(e){var r=e.flags;if(r&2){try{e:{for(var s=e.return;s!==null;){if(Xp(s)){var l=s;break e}s=s.return}throw Error(o(160))}switch(l.tag){case 5:var f=l.stateNode;l.flags&32&&(Ot(f,""),l.flags&=-33);var h=Zp(e);Tu(e,h,f);break;case 3:case 4:var x=l.stateNode.containerInfo,T=Zp(e);Cu(e,T,x);break;default:throw Error(o(161))}}catch(k){Ue(e,e.return,k)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function Jx(e,r,s){Z=e,nh(e)}function nh(e,r,s){for(var l=(e.mode&1)!==0;Z!==null;){var f=Z,h=f.child;if(f.tag===22&&l){var x=f.memoizedState!==null||ta;if(!x){var T=f.alternate,k=T!==null&&T.memoizedState!==null||pt;T=ta;var L=pt;if(ta=x,(pt=k)&&!L)for(Z=f;Z!==null;)x=Z,k=x.child,x.tag===22&&x.memoizedState!==null?ih(f):k!==null?(k.return=x,Z=k):ih(f);for(;h!==null;)Z=h,nh(h),h=h.sibling;Z=f,ta=T,pt=L}rh(e)}else(f.subtreeFlags&8772)!==0&&h!==null?(h.return=f,Z=h):rh(e)}}function rh(e){for(;Z!==null;){var r=Z;if((r.flags&8772)!==0){var s=r.alternate;try{if((r.flags&8772)!==0)switch(r.tag){case 0:case 11:case 15:pt||na(5,r);break;case 1:var l=r.stateNode;if(r.flags&4&&!pt)if(s===null)l.componentDidMount();else{var f=r.elementType===r.type?s.memoizedProps:qt(r.type,s.memoizedProps);l.componentDidUpdate(f,s.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var h=r.updateQueue;h!==null&&op(r,h,l);break;case 3:var x=r.updateQueue;if(x!==null){if(s=null,r.child!==null)switch(r.child.tag){case 5:s=r.child.stateNode;break;case 1:s=r.child.stateNode}op(r,x,s)}break;case 5:var T=r.stateNode;if(s===null&&r.flags&4){s=T;var k=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":k.autoFocus&&s.focus();break;case"img":k.src&&(s.src=k.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var L=r.alternate;if(L!==null){var z=L.memoizedState;if(z!==null){var B=z.dehydrated;B!==null&&ri(B)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}pt||r.flags&512&&Eu(r)}catch(V){Ue(r,r.return,V)}}if(r===e){Z=null;break}if(s=r.sibling,s!==null){s.return=r.return,Z=s;break}Z=r.return}}function oh(e){for(;Z!==null;){var r=Z;if(r===e){Z=null;break}var s=r.sibling;if(s!==null){s.return=r.return,Z=s;break}Z=r.return}}function ih(e){for(;Z!==null;){var r=Z;try{switch(r.tag){case 0:case 11:case 15:var s=r.return;try{na(4,r)}catch(k){Ue(r,s,k)}break;case 1:var l=r.stateNode;if(typeof l.componentDidMount=="function"){var f=r.return;try{l.componentDidMount()}catch(k){Ue(r,f,k)}}var h=r.return;try{Eu(r)}catch(k){Ue(r,h,k)}break;case 5:var x=r.return;try{Eu(r)}catch(k){Ue(r,x,k)}}}catch(k){Ue(r,r.return,k)}if(r===e){Z=null;break}var T=r.sibling;if(T!==null){T.return=r.return,Z=T;break}Z=r.return}}var e1=Math.ceil,ra=F.ReactCurrentDispatcher,Pu=F.ReactCurrentOwner,Ut=F.ReactCurrentBatchConfig,be=0,nt=null,Qe=null,at=0,Mt=0,bo=tr(0),Ze=0,Pi=null,_r=0,oa=0,ku=0,ki=null,bt=null,Nu=0,So=1/0,Rn=null,ia=!1,ju=null,ar=null,sa=!1,lr=null,aa=0,Ni=0,Ru=null,la=-1,ua=0;function yt(){return(be&6)!==0?He():la!==-1?la:la=He()}function ur(e){return(e.mode&1)===0?1:(be&2)!==0&&at!==0?at&-at:Ix.transition!==null?(ua===0&&(ua=Xd()),ua):(e=ke,e!==0||(e=window.event,e=e===void 0?16:af(e.type)),e)}function Jt(e,r,s,l){if(50<Ni)throw Ni=0,Ru=null,Error(o(185));Zo(e,s,l),((be&2)===0||e!==nt)&&(e===nt&&((be&2)===0&&(oa|=s),Ze===4&&cr(e,at)),St(e,l),s===1&&be===0&&(r.mode&1)===0&&(So=He()+500,Is&&rr()))}function St(e,r){var s=e.callbackNode;I0(e,r);var l=vs(e,e===nt?at:0);if(l===0)s!==null&&Yd(s),e.callbackNode=null,e.callbackPriority=0;else if(r=l&-l,e.callbackPriority!==r){if(s!=null&&Yd(s),r===1)e.tag===0?_x(ah.bind(null,e)):Kf(ah.bind(null,e)),Mx(function(){(be&6)===0&&rr()}),s=null;else{switch(Zd(l)){case 1:s=ul;break;case 4:s=Qd;break;case 16:s=hs;break;case 536870912:s=qd;break;default:s=hs}s=mh(s,sh.bind(null,e))}e.callbackPriority=r,e.callbackNode=s}}function sh(e,r){if(la=-1,ua=0,(be&6)!==0)throw Error(o(327));var s=e.callbackNode;if(Eo()&&e.callbackNode!==s)return null;var l=vs(e,e===nt?at:0);if(l===0)return null;if((l&30)!==0||(l&e.expiredLanes)!==0||r)r=ca(e,l);else{r=l;var f=be;be|=2;var h=uh();(nt!==e||at!==r)&&(Rn=null,So=He()+500,Fr(e,r));do try{r1();break}catch(T){lh(e,T)}while(!0);Yl(),ra.current=h,be=f,Qe!==null?r=0:(nt=null,at=0,r=Ze)}if(r!==0){if(r===2&&(f=cl(e),f!==0&&(l=f,r=Au(e,f))),r===1)throw s=Pi,Fr(e,0),cr(e,l),St(e,He()),s;if(r===6)cr(e,l);else{if(f=e.current.alternate,(l&30)===0&&!t1(f)&&(r=ca(e,l),r===2&&(h=cl(e),h!==0&&(l=h,r=Au(e,h))),r===1))throw s=Pi,Fr(e,0),cr(e,l),St(e,He()),s;switch(e.finishedWork=f,e.finishedLanes=l,r){case 0:case 1:throw Error(o(345));case 2:Vr(e,bt,Rn);break;case 3:if(cr(e,l),(l&130023424)===l&&(r=Nu+500-He(),10<r)){if(vs(e,0)!==0)break;if(f=e.suspendedLanes,(f&l)!==l){yt(),e.pingedLanes|=e.suspendedLanes&f;break}e.timeoutHandle=Il(Vr.bind(null,e,bt,Rn),r);break}Vr(e,bt,Rn);break;case 4:if(cr(e,l),(l&4194240)===l)break;for(r=e.eventTimes,f=-1;0<l;){var x=31-Gt(l);h=1<<x,x=r[x],x>f&&(f=x),l&=~h}if(l=f,l=He()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*e1(l/1960))-l,10<l){e.timeoutHandle=Il(Vr.bind(null,e,bt,Rn),l);break}Vr(e,bt,Rn);break;case 5:Vr(e,bt,Rn);break;default:throw Error(o(329))}}}return St(e,He()),e.callbackNode===s?sh.bind(null,e):null}function Au(e,r){var s=ki;return e.current.memoizedState.isDehydrated&&(Fr(e,r).flags|=256),e=ca(e,r),e!==2&&(r=bt,bt=s,r!==null&&Mu(r)),e}function Mu(e){bt===null?bt=e:bt.push.apply(bt,e)}function t1(e){for(var r=e;;){if(r.flags&16384){var s=r.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var l=0;l<s.length;l++){var f=s[l],h=f.getSnapshot;f=f.value;try{if(!Yt(h(),f))return!1}catch{return!1}}}if(s=r.child,r.subtreeFlags&16384&&s!==null)s.return=r,r=s;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function cr(e,r){for(r&=~ku,r&=~oa,e.suspendedLanes|=r,e.pingedLanes&=~r,e=e.expirationTimes;0<r;){var s=31-Gt(r),l=1<<s;e[s]=-1,r&=~l}}function ah(e){if((be&6)!==0)throw Error(o(327));Eo();var r=vs(e,0);if((r&1)===0)return St(e,He()),null;var s=ca(e,r);if(e.tag!==0&&s===2){var l=cl(e);l!==0&&(r=l,s=Au(e,l))}if(s===1)throw s=Pi,Fr(e,0),cr(e,r),St(e,He()),s;if(s===6)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=r,Vr(e,bt,Rn),St(e,He()),null}function Du(e,r){var s=be;be|=1;try{return e(r)}finally{be=s,be===0&&(So=He()+500,Is&&rr())}}function Ir(e){lr!==null&&lr.tag===0&&(be&6)===0&&Eo();var r=be;be|=1;var s=Ut.transition,l=ke;try{if(Ut.transition=null,ke=1,e)return e()}finally{ke=l,Ut.transition=s,be=r,(be&6)===0&&rr()}}function Lu(){Mt=bo.current,Ae(bo)}function Fr(e,r){e.finishedWork=null,e.finishedLanes=0;var s=e.timeoutHandle;if(s!==-1&&(e.timeoutHandle=-1,Ax(s)),Qe!==null)for(s=Qe.return;s!==null;){var l=s;switch($l(l),l.tag){case 1:l=l.type.childContextTypes,l!=null&&Os();break;case 3:vo(),Ae(vt),Ae(ct),nu();break;case 5:eu(l);break;case 4:vo();break;case 13:Ae(Ie);break;case 19:Ae(Ie);break;case 10:Ql(l.type._context);break;case 22:case 23:Lu()}s=s.return}if(nt=e,Qe=e=dr(e.current,null),at=Mt=r,Ze=0,Pi=null,ku=oa=_r=0,bt=ki=null,Dr!==null){for(r=0;r<Dr.length;r++)if(s=Dr[r],l=s.interleaved,l!==null){s.interleaved=null;var f=l.next,h=s.pending;if(h!==null){var x=h.next;h.next=f,l.next=x}s.pending=l}Dr=null}return e}function lh(e,r){do{var s=Qe;try{if(Yl(),Gs.current=Xs,Ys){for(var l=Fe.memoizedState;l!==null;){var f=l.queue;f!==null&&(f.pending=null),l=l.next}Ys=!1}if(Or=0,tt=Xe=Fe=null,wi=!1,bi=0,Pu.current=null,s===null||s.return===null){Ze=1,Pi=r,Qe=null;break}e:{var h=e,x=s.return,T=s,k=r;if(r=at,T.flags|=32768,k!==null&&typeof k=="object"&&typeof k.then=="function"){var L=k,z=T,B=z.tag;if((z.mode&1)===0&&(B===0||B===11||B===15)){var V=z.alternate;V?(z.updateQueue=V.updateQueue,z.memoizedState=V.memoizedState,z.lanes=V.lanes):(z.updateQueue=null,z.memoizedState=null)}var q=Dp(x);if(q!==null){q.flags&=-257,Lp(q,x,T,h,r),q.mode&1&&Mp(h,L,r),r=q,k=L;var J=r.updateQueue;if(J===null){var ee=new Set;ee.add(k),r.updateQueue=ee}else J.add(k);break e}else{if((r&1)===0){Mp(h,L,r),Ou();break e}k=Error(o(426))}}else if(Le&&T.mode&1){var Ke=Dp(x);if(Ke!==null){(Ke.flags&65536)===0&&(Ke.flags|=256),Lp(Ke,x,T,h,r),Kl(xo(k,T));break e}}h=k=xo(k,T),Ze!==4&&(Ze=2),ki===null?ki=[h]:ki.push(h),h=x;do{switch(h.tag){case 3:h.flags|=65536,r&=-r,h.lanes|=r;var A=Rp(h,k,r);rp(h,A);break e;case 1:T=k;var j=h.type,M=h.stateNode;if((h.flags&128)===0&&(typeof j.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&(ar===null||!ar.has(M)))){h.flags|=65536,r&=-r,h.lanes|=r;var $=Ap(h,T,r);rp(h,$);break e}}h=h.return}while(h!==null)}dh(s)}catch(te){r=te,Qe===s&&s!==null&&(Qe=s=s.return);continue}break}while(!0)}function uh(){var e=ra.current;return ra.current=Xs,e===null?Xs:e}function Ou(){(Ze===0||Ze===3||Ze===2)&&(Ze=4),nt===null||(_r&268435455)===0&&(oa&268435455)===0||cr(nt,at)}function ca(e,r){var s=be;be|=2;var l=uh();(nt!==e||at!==r)&&(Rn=null,Fr(e,r));do try{n1();break}catch(f){lh(e,f)}while(!0);if(Yl(),be=s,ra.current=l,Qe!==null)throw Error(o(261));return nt=null,at=0,Ze}function n1(){for(;Qe!==null;)ch(Qe)}function r1(){for(;Qe!==null&&!N0();)ch(Qe)}function ch(e){var r=hh(e.alternate,e,Mt);e.memoizedProps=e.pendingProps,r===null?dh(e):Qe=r,Pu.current=null}function dh(e){var r=e;do{var s=r.alternate;if(e=r.return,(r.flags&32768)===0){if(s=Qx(s,r,Mt),s!==null){Qe=s;return}}else{if(s=qx(s,r),s!==null){s.flags&=32767,Qe=s;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ze=6,Qe=null;return}}if(r=r.sibling,r!==null){Qe=r;return}Qe=r=e}while(r!==null);Ze===0&&(Ze=5)}function Vr(e,r,s){var l=ke,f=Ut.transition;try{Ut.transition=null,ke=1,o1(e,r,s,l)}finally{Ut.transition=f,ke=l}return null}function o1(e,r,s,l){do Eo();while(lr!==null);if((be&6)!==0)throw Error(o(327));s=e.finishedWork;var f=e.finishedLanes;if(s===null)return null;if(e.finishedWork=null,e.finishedLanes=0,s===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var h=s.lanes|s.childLanes;if(F0(e,h),e===nt&&(Qe=nt=null,at=0),(s.subtreeFlags&2064)===0&&(s.flags&2064)===0||sa||(sa=!0,mh(hs,function(){return Eo(),null})),h=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||h){h=Ut.transition,Ut.transition=null;var x=ke;ke=1;var T=be;be|=4,Pu.current=null,Zx(e,s),th(s,e),Cx(Ol),bs=!!Ll,Ol=Ll=null,e.current=s,Jx(s),j0(),be=T,ke=x,Ut.transition=h}else e.current=s;
vendor: 4,252 bytes, line 8
8if(sa&&(sa=!1,lr=e,aa=f),h=e.pendingLanes,h===0&&(ar=null),M0(s.stateNode),St(e,He()),r!==null)for(l=e.onRecoverableError,s=0;s<r.length;s++)f=r[s],l(f.value,{componentStack:f.stack,digest:f.digest});if(ia)throw ia=!1,e=ju,ju=null,e;return(aa&1)!==0&&e.tag!==0&&Eo(),h=e.pendingLanes,(h&1)!==0?e===Ru?Ni++:(Ni=0,Ru=e):Ni=0,rr(),null}function Eo(){if(lr!==null){var e=Zd(aa),r=Ut.transition,s=ke;try{if(Ut.transition=null,ke=16>e?16:e,lr===null)var l=!1;else{if(e=lr,lr=null,aa=0,(be&6)!==0)throw Error(o(331));var f=be;for(be|=4,Z=e.current;Z!==null;){var h=Z,x=h.child;if((Z.flags&16)!==0){var T=h.deletions;if(T!==null){for(var k=0;k<T.length;k++){var L=T[k];for(Z=L;Z!==null;){var z=Z;switch(z.tag){case 0:case 11:case 15:Ti(8,z,h)}var B=z.child;if(B!==null)B.return=z,Z=B;else for(;Z!==null;){z=Z;var V=z.sibling,q=z.return;if(qp(z),z===L){Z=null;break}if(V!==null){V.return=q,Z=V;break}Z=q}}}var J=h.alternate;if(J!==null){var ee=J.child;if(ee!==null){J.child=null;do{var Ke=ee.sibling;ee.sibling=null,ee=Ke}while(ee!==null)}}Z=h}}if((h.subtreeFlags&2064)!==0&&x!==null)x.return=h,Z=x;else e:for(;Z!==null;){if(h=Z,(h.flags&2048)!==0)switch(h.tag){case 0:case 11:case 15:Ti(9,h,h.return)}var A=h.sibling;if(A!==null){A.return=h.return,Z=A;break e}Z=h.return}}var j=e.current;for(Z=j;Z!==null;){x=Z;var M=x.child;if((x.subtreeFlags&2064)!==0&&M!==null)M.return=x,Z=M;else e:for(x=j;Z!==null;){if(T=Z,(T.flags&2048)!==0)try{switch(T.tag){case 0:case 11:case 15:na(9,T)}}catch(te){Ue(T,T.return,te)}if(T===x){Z=null;break e}var $=T.sibling;if($!==null){$.return=T.return,Z=$;break e}Z=T.return}}if(be=f,rr(),on&&typeof on.onPostCommitFiberRoot=="function")try{on.onPostCommitFiberRoot(ms,e)}catch{}l=!0}return l}finally{ke=s,Ut.transition=r}}return!1}function fh(e,r,s){r=xo(s,r),r=Rp(e,r,1),e=ir(e,r,1),r=yt(),e!==null&&(Zo(e,1,r),St(e,r))}function Ue(e,r,s){if(e.tag===3)fh(e,e,s);else for(;r!==null;){if(r.tag===3){fh(r,e,s);break}else if(r.tag===1){var l=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(ar===null||!ar.has(l))){e=xo(s,e),e=Ap(r,e,1),r=ir(r,e,1),e=yt(),r!==null&&(Zo(r,1,e),St(r,e));break}}r=r.return}}function i1(e,r,s){var l=e.pingCache;l!==null&&l.delete(r),r=yt(),e.pingedLanes|=e.suspendedLanes&s,nt===e&&(at&s)===s&&(Ze===4||Ze===3&&(at&130023424)===at&&500>He()-Nu?Fr(e,0):ku|=s),St(e,r)}function ph(e,r){r===0&&((e.mode&1)===0?r=1:(r=ys,ys<<=1,(ys&130023424)===0&&(ys=4194304)));var s=yt();e=kn(e,r),e!==null&&(Zo(e,r,s),St(e,s))}function s1(e){var r=e.memoizedState,s=0;r!==null&&(s=r.retryLane),ph(e,s)}function a1(e,r){var s=0;switch(e.tag){case 13:var l=e.stateNode,f=e.memoizedState;f!==null&&(s=f.retryLane);break;case 19:l=e.stateNode;break;default:throw Error(o(314))}l!==null&&l.delete(r),ph(e,s)}var hh;hh=function(e,r,s){if(e!==null)if(e.memoizedProps!==r.pendingProps||vt.current)wt=!0;else{if((e.lanes&s)===0&&(r.flags&128)===0)return wt=!1,Yx(e,r,s);wt=(e.flags&131072)!==0}else wt=!1,Le&&(r.flags&1048576)!==0&&Gf(r,Vs,r.index);switch(r.lanes=0,r.tag){case 2:var l=r.type;ea(e,r),e=r.pendingProps;var f=co(r,ct.current);yo(r,s),f=iu(null,r,l,e,f,s);var h=su();return r.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,xt(l)?(h=!0,_s(r)):h=!1,r.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Zl(r),f.updater=Zs,r.stateNode=f,f._reactInternals=r,fu(r,l,e,s),r=gu(null,r,l,!0,h,s)):(r.tag=0,Le&&h&&Ul(r),gt(null,r,f,s),r=r.child),r;case 16:l=r.elementType;e:{switch(ea(e,r),e=r.pendingProps,f=l._init,l=f(l._payload),r.type=l,f=r.tag=u1(l),e=qt(l,e),f){case 0:r=mu(null,r,l,e,s);break e;case 1:r=zp(null,r,l,e,s);break e;case 11:r=Op(null,r,l,e,s);break e;case 14:r=_p(null,r,l,qt(l.type,e),s);break e}throw Error(o(306,l,""))}return r;case 0:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:qt(l,f),mu(e,r,l,f,s);case 1:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:qt(l,f),zp(e,r,l,f,s);case 3:e:{if(Bp(r),e===null)throw Error(o(387));l=r.pendingProps,h=r.memoizedState,f=h.element,np(e,r),Hs(r,l,null,s);var x=r.memoizedState;if(l=x.element,h.isDehydrated)if(h={element:l,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pe
vendor: 8,384 bytes, line 8
8ndingSuspenseBoundaries,transitions:x.transitions},r.updateQueue.baseState=h,r.memoizedState=h,r.flags&256){f=xo(Error(o(423)),r),r=Up(e,r,l,s,f);break e}else if(l!==f){f=xo(Error(o(424)),r),r=Up(e,r,l,s,f);break e}else for(At=er(r.stateNode.containerInfo.firstChild),Rt=r,Le=!0,Qt=null,s=ep(r,null,l,s),r.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(ho(),l===f){r=jn(e,r,s);break e}gt(e,r,l,s)}r=r.child}return r;case 5:return ip(r),e===null&&Hl(r),l=r.type,f=r.pendingProps,h=e!==null?e.memoizedProps:null,x=f.children,_l(l,f)?x=null:h!==null&&_l(l,h)&&(r.flags|=32),Vp(e,r),gt(e,r,x,s),r.child;case 6:return e===null&&Hl(r),null;case 13:return $p(e,r,s);case 4:return Jl(r,r.stateNode.containerInfo),l=r.pendingProps,e===null?r.child=mo(r,null,l,s):gt(e,r,l,s),r.child;case 11:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:qt(l,f),Op(e,r,l,f,s);case 7:return gt(e,r,r.pendingProps,s),r.child;case 8:return gt(e,r,r.pendingProps.children,s),r.child;case 12:return gt(e,r,r.pendingProps.children,s),r.child;case 10:e:{if(l=r.type._context,f=r.pendingProps,h=r.memoizedProps,x=f.value,je(Us,l._currentValue),l._currentValue=x,h!==null)if(Yt(h.value,x)){if(h.children===f.children&&!vt.current){r=jn(e,r,s);break e}}else for(h=r.child,h!==null&&(h.return=r);h!==null;){var T=h.dependencies;if(T!==null){x=h.child;for(var k=T.firstContext;k!==null;){if(k.context===l){if(h.tag===1){k=Nn(-1,s&-s),k.tag=2;var L=h.updateQueue;if(L!==null){L=L.shared;var z=L.pending;z===null?k.next=k:(k.next=z.next,z.next=k),L.pending=k}}h.lanes|=s,k=h.alternate,k!==null&&(k.lanes|=s),ql(h.return,s,r),T.lanes|=s;break}k=k.next}}else if(h.tag===10)x=h.type===r.type?null:h.child;else if(h.tag===18){if(x=h.return,x===null)throw Error(o(341));x.lanes|=s,T=x.alternate,T!==null&&(T.lanes|=s),ql(x,s,r),x=h.sibling}else x=h.child;if(x!==null)x.return=h;else for(x=h;x!==null;){if(x===r){x=null;break}if(h=x.sibling,h!==null){h.return=x.return,x=h;break}x=x.return}h=x}gt(e,r,f.children,s),r=r.child}return r;case 9:return f=r.type,l=r.pendingProps.children,yo(r,s),f=zt(f),l=l(f),r.flags|=1,gt(e,r,l,s),r.child;case 14:return l=r.type,f=qt(l,r.pendingProps),f=qt(l.type,f),_p(e,r,l,f,s);case 15:return Ip(e,r,r.type,r.pendingProps,s);case 17:return l=r.type,f=r.pendingProps,f=r.elementType===l?f:qt(l,f),ea(e,r),r.tag=1,xt(l)?(e=!0,_s(r)):e=!1,yo(r,s),Np(r,l,f),fu(r,l,f,s),gu(null,r,l,!0,e,s);case 19:return Hp(e,r,s);case 22:return Fp(e,r,s)}throw Error(o(156,r.tag))};function mh(e,r){return Gd(e,r)}function l1(e,r,s,l){this.tag=e,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $t(e,r,s,l){return new l1(e,r,s,l)}function _u(e){return e=e.prototype,!(!e||!e.isReactComponent)}function u1(e){if(typeof e=="function")return _u(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ce)return 11;if(e===Pe)return 14}return 2}function dr(e,r){var s=e.alternate;return s===null?(s=$t(e.tag,r,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s.alternate=e,e.alternate=s):(s.pendingProps=r,s.type=e.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=e.flags&14680064,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue,r=e.dependencies,s.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s}function da(e,r,s,l,f,h){var x=2;if(l=e,typeof e=="function")_u(e)&&(x=1);else if(typeof e=="string")x=5;else e:switch(e){case K:return zr(s.children,f,h,r);case Y:x=8,f|=8;break;case he:return e=$t(12,s,r,f|2),e.elementType=he,e.lanes=h,e;case Se:return e=$t(13,s,r,f),e.elementType=Se,e.lanes=h,e;case Ne:return e=$t(19,s,r,f),e.elementType=Ne,e.lanes=h,e;case ne:return fa(s,f,h,r);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ye:x=10;break e;case Te:x=9;break e;case ce:x=11;break e;case Pe:x=14;break e;case de:x=16,l=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return r=$t(x,s,r,f),r.elementType=e,r.type=l,r.lanes=h,r}function zr(e,r,s,l){return e=$t(7,e,l,r),e.lanes=s,e}function fa(e,r,s,l){return e=$t(22,e,l,r),e.elementType=ne,e.lanes=s,e.stateNode={isHidden:!1},e}function Iu(e,r,s){return e=$t(6,e,null,r),e.lanes=s,e}function Fu(e,r,s){return r=$t(4,e.children!==null?e.children:[],e.key,r),r.lanes=s,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function c1(e,r,s,l,f){this.tag=r,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=dl(0),this.expirationTimes=dl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=dl(0),this.identifierPrefix=l,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function Vu(e,r,s,l,f,h,x,T,k){return e=new c1(e,r,s,T,k),r===1?(r=1,h===!0&&(r|=8)):r=0,h=$t(3,null,null,r),e.current=h,h.stateNode=e,h.memoizedState={element:l,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zl(h),e}function d1(e,r,s){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:G,key:l==null?null:""+l,children:e,containerInfo:r,implementation:s}}function gh(e){if(!e)return nr;e=e._reactInternals;e:{if(Nr(e)!==e||e.tag!==1)throw Error(o(170));var r=e;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(xt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(o(171))}if(e.tag===1){var s=e.type;if(xt(s))return Wf(e,s,r)}return r}function yh(e,r,s,l,f,h,x,T,k){return e=Vu(s,l,!0,e,f,h,x,T,k),e.context=gh(null),s=e.current,l=yt(),f=ur(s),h=Nn(l,f),h.callback=r??null,ir(s,h,f),e.current.lanes=f,Zo(e,f,l),St(e,l),e}function pa(e,r,s,l){var f=r.current,h=yt(),x=ur(f);return s=gh(s),r.context===null?r.context=s:r.pendingContext=s,r=Nn(h,x),r.payload={element:e},l=l===void 0?null:l,l!==null&&(r.callback=l),e=ir(f,r,x),e!==null&&(Jt(e,f,x,h),Ws(e,f,x)),x}function ha(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function vh(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var s=e.retryLane;e.retryLane=s!==0&&s<r?s:r}}function zu(e,r){vh(e,r),(e=e.alternate)&&vh(e,r)}function f1(){return null}var xh=typeof reportError=="function"?reportError:function(e){console.error(e)};function Bu(e){this._internalRoot=e}ma.prototype.render=Bu.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(o(409));pa(e,r,null,null)},ma.prototype.unmount=Bu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;Ir(function(){pa(null,e,null,null)}),r[En]=null}};function ma(e){this._internalRoot=e}ma.prototype.unstable_scheduleHydration=function(e){if(e){var r=tf();e={blockedOn:null,target:e,priority:r};for(var s=0;s<Xn.length&&r!==0&&r<Xn[s].priority;s++);Xn.splice(s,0,e),s===0&&of(e)}};function Uu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ga(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function wh(){}function p1(e,r,s,l,f){if(f){if(typeof l=="function"){var h=l;l=function(){var L=ha(x);h.call(L)}}var x=yh(r,l,e,0,null,!1,!1,"",wh);return e._reactRootContainer=x,e[En]=x.current,fi(e.nodeType===8?e.parentNode:e),Ir(),x}for(;f=e.lastChild;)e.removeChild(f);if(typeof l=="function"){var T=l;l=function(){var L=ha(k);T.call(L)}}var k=Vu(e,0,!1,null,null,!1,!1,"",wh);return e._reactRootContainer=k,e[En]=k.current,fi(e.nodeType===8?e.parentNode:e),Ir(function(){pa(r,k,s,l)}),k}function ya(e,r,s,l,f){var h=s._reactRootContainer;if(h){var x=h;if(typeof f=="function"){var T=f;f=function(){var k=ha(x);T.call(k)}}pa(r,x,e,f)}else x=p1(s,r,e,f,l);return ha(x)}Jd=function(e){switch(e.tag){case 3:var r=e.stateNode;if(r.current.memoizedState.isDehydrated){var s=Xo(r.pendingLanes);
vendor: 4,705 bytes, line 8
8s!==0&&(fl(r,s|1),St(r,He()),(be&6)===0&&(So=He()+500,rr()))}break;case 13:Ir(function(){var l=kn(e,1);if(l!==null){var f=yt();Jt(l,e,1,f)}}),zu(e,1)}},pl=function(e){if(e.tag===13){var r=kn(e,134217728);if(r!==null){var s=yt();Jt(r,e,134217728,s)}zu(e,134217728)}},ef=function(e){if(e.tag===13){var r=ur(e),s=kn(e,r);if(s!==null){var l=yt();Jt(s,e,r,l)}zu(e,r)}},tf=function(){return ke},nf=function(e,r){var s=ke;try{return ke=e,r()}finally{ke=s}},Yo=function(e,r,s){switch(r){case"input":if(wn(e,s),r=s.name,s.type==="radio"&&r!=null){for(s=e;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<s.length;r++){var l=s[r];if(l!==e&&l.form===e.form){var f=Ls(l);if(!f)throw Error(o(90));xn(l),wn(l,f)}}}break;case"textarea":us(e,s);break;case"select":r=s.value,r!=null&&Bn(e,!!s.multiple,r,!1)}},qe=Du,ut=Ir;var h1={usingClientEntryPoint:!1,Events:[mi,lo,Ls,me,We,Du]},ji={findFiberByHostInstance:jr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},m1={bundleType:ji.bundleType,version:ji.version,rendererPackageName:ji.rendererPackageName,rendererConfig:ji.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:F.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Hd(e),e===null?null:e.stateNode},findFiberByHostInstance:ji.findFiberByHostInstance||f1,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 va=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!va.isDisabled&&va.supportsFiber)try{ms=va.inject(m1),on=va}catch{}}return Et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=h1,Et.createPortal=function(e,r){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Uu(r))throw Error(o(200));return d1(e,r,null,s)},Et.createRoot=function(e,r){if(!Uu(e))throw Error(o(299));var s=!1,l="",f=xh;return r!=null&&(r.unstable_strictMode===!0&&(s=!0),r.identifierPrefix!==void 0&&(l=r.identifierPrefix),r.onRecoverableError!==void 0&&(f=r.onRecoverableError)),r=Vu(e,1,!1,null,null,s,!1,l,f),e[En]=r.current,fi(e.nodeType===8?e.parentNode:e),new Bu(r)},Et.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var r=e._reactInternals;if(r===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=Hd(r),e=e===null?null:e.stateNode,e},Et.flushSync=function(e){return Ir(e)},Et.hydrate=function(e,r,s){if(!ga(r))throw Error(o(200));return ya(null,e,r,!0,s)},Et.hydrateRoot=function(e,r,s){if(!Uu(e))throw Error(o(405));var l=s!=null&&s.hydratedSources||null,f=!1,h="",x=xh;if(s!=null&&(s.unstable_strictMode===!0&&(f=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onRecoverableError!==void 0&&(x=s.onRecoverableError)),r=yh(r,null,e,1,s??null,f,!1,h,x),e[En]=r.current,fi(e),l)for(e=0;e<l.length;e++)s=l[e],f=s._getVersion,f=f(s._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[s,f]:r.mutableSourceEagerHydrationData.push(s,f);return new ma(r)},Et.render=function(e,r,s){if(!ga(r))throw Error(o(200));return ya(null,e,r,!1,s)},Et.unmountComponentAtNode=function(e){if(!ga(e))throw Error(o(40));return e._reactRootContainer?(Ir(function(){ya(null,null,e,!1,function(){e._reactRootContainer=null,e[En]=null})}),!0):!1},Et.unstable_batchedUpdates=Du,Et.unstable_renderSubtreeIntoContainer=function(e,r,s,l){if(!ga(s))throw Error(o(200));if(e==null||e._reactInternals===void 0)throw Error(o(38));return ya(e,r,s,!1,l)},Et.version="18.3.1-next-f1338f8080-20240426",Et}var Nh;function Pg(){if(Nh)return Hu.exports;Nh=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(n){console.error(n)}}return t(),Hu.exports=E1(),Hu.exports}var jh;function C1(){if(jh)return xa;jh=1;var t=Pg();return xa.createRoot=t.createRoot,xa.hydrateRoot=t.hydrateRoot,xa}var T1=C1();const P1=Qr(T1);var Rh="popstate";function Ah(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function k1(t={}){function n(i,a){let u=a.state?.masked,{pathname:c,search:d,hash:p}=u||i.location;return Pc("",{pathname:c,search:d,hash:p},a.state&&a.state.usr||null,a.state&&a.state.key||"default",u?{pathname:i.location.pathname,search:i.location.search,hash:i.location.hash}:void 0)}
8function o(i,a){return typeof a=="string"?a:Hi(a)}return j1(n,o,null,t)}function ze(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}function gn(t,n){if(!t){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function N1(){return Math.random().toString(36).substring(2,10)}function Mh(t,n){return{usr:t.state,key:t.key,idx:n,masked:t.unstable_mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function Pc(t,n,o=null,i,a){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof n=="string"?Vo(n):n,state:o,key:n&&n.key||i||N1(),unstable_mask:a}}function Hi({pathname:t="/",search:n="",hash:o=""}){return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function Vo(t){let n={};if(t){let o=t.indexOf("#");o>=0&&(n.hash=t.substring(o),t=t.substring(0,o));let i=t.indexOf("?");i>=0&&(n.search=t.substring(i),t=t.substring(0,i)),t&&(n.pathname=t)}return n}function j1(t,n,o,i={}){let{window:a=document.defaultView,v5Compat:u=!1}=i,c=a.history,d="POP",p=null,g=v();g==null&&(g=0,c.replaceState({...c.state,idx:g},""));function v(){return(c.state||{idx:null}).idx}function m(){d="POP";let C=v(),P=C==null?null:C-g;g=C,p&&p({action:d,location:E.location,delta:P})}function w(C,P){d="PUSH";let D=Ah(C)?C:Pc(E.location,C,P);g=v()+1;let O=Mh(D,g),F=E.createHref(D.unstable_mask||D);try{c.pushState(O,"",F)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;a.location.assign(F)}u&&p&&p({action:d,location:E.location,delta:1})}function S(C,P){d="REPLACE";let D=Ah(C)?C:Pc(E.location,C,P);g=v();let O=Mh(D,g),F=E.createHref(D.unstable_mask||D);c.replaceState(O,"",F),u&&p&&p({action:d,location:E.location,delta:0})}function N(C){return R1(C)}let E={get action(){return d},get location(){return t(a,c)},listen(C){if(p)throw new Error("A history only accepts one active listener");return a.addEventListener(Rh,m),p=C,()=>{a.removeEventListener(Rh,m),p=null}},createHref(C){return n(a,C)},createURL:N,encodeLocation(C){let P=N(C);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:w,replace:S,go(C){return c.go(C)}};return E}function R1(t,n=!1){let o="http://localhost";
8typeof window<"u"&&(o=window.location.origin!=="null"?window.location.origin:window.location.href),ze(o,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:Hi(t);return i=i.replace(/ $/,"%20"),!n&&i.startsWith("//")&&(i=o+i),new URL(i,o)}function kg(t,n,o="/"){return A1(t,n,o,!1)}function A1(t,n,o,i){let a=typeof n=="string"?Vo(n):n,u=On(a.pathname||"/",o);if(u==null)return null;let c=Ng(t);M1(c);let d=null;for(let p=0;d==null&&p<c.length;++p){let g=$1(u);d=B1(c[p],g,i)}return d}function Ng(t,n=[],o=[],i="",a=!1){let u=(c,d,p=a,g)=>{let v={relativePath:g===void 0?c.path||"":g,caseSensitive:c.caseSensitive===!0,childrenIndex:d,route:c};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(i)&&p)return;ze(v.relativePath.startsWith(i),`Absolute route path "${v.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(i.length)}let m=pn([i,v.relativePath]),w=o.concat(v);c.children&&c.children.length>0&&(ze(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),Ng(c.children,n,w,m,p)),!(c.path==null&&!c.index)&&n.push({path:m,score:V1(m,c.index),routesMeta:w})};return t.forEach((c,d)=>{if(c.path===""||!c.path?.includes("?"))u(c,d);else for(let p of jg(c.path))u(c,d,!0,p)}),n}function jg(t){let n=t.split("/");if(n.length===0)return[];let[o,...i]=n,a=o.endsWith("?"),u=o.replace(/\?$/,"");if(i.length===0)return a?[u,""]:[u];let c=jg(i.join("/")),d=[];return d.push(...c.map(p=>p===""?u:[u,p].join("/"))),a&&d.push(...c),d.map(p=>t.startsWith("/")&&p===""?"/":p)}function M1(t){t.sort((n,o)=>n.score!==o.score?o.score-n.score:z1(n.routesMeta.map(i=>i.childrenIndex),o.routesMeta.map(i=>i.childrenIndex)))}var D1=/^:[\w-]+$/,L1=3,O1=2,_1=1,I1=10,F1=-2,Dh=t=>t==="*";function V1(t,n){let o=t.split("/"),i=o.length;return o.some(Dh)&&(i+=F1),n&&(i+=O1),o.filter(a=>!Dh(a)).reduce((a,u)=>a+(D1.test(u)?L1:u===""?_1:I1),i)}function z1(t,n){return t.length===n.length&&t.slice(0,-1).every((i,a)=>i===n[a])?t[t.length-1]-n[n.length-1]:0}function B1(t,n,o=!1){let{routesMeta:i}=t,a={},u="/",c=[];for(let d=0;d<i.length;++d){let p=i[d],g=d===i.length-1,v=u==="/"?n:n.slice(u.length)||"/",m=Fa({path:p.relativePath,caseSensitive:p.caseSensitive,end:g},v),w=p.route;if(!m&&g&&o&&!i[i.length-1].route.index&&(m=Fa({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},v)),!m)return null;
8Object.assign(a,m.params),c.push({params:a,pathname:pn([u,m.pathname]),pathnameBase:G1(pn([u,m.pathnameBase])),route:w}),m.pathnameBase!=="/"&&(u=pn([u,m.pathnameBase]))}return c}function Fa(t,n){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[o,i]=U1(t.path,t.caseSensitive,t.end),a=n.match(o);if(!a)return null;let u=a[0],c=u.replace(/(.)\/+$/,"$1"),d=a.slice(1);return{params:i.reduce((g,{paramName:v,isOptional:m},w)=>{if(v==="*"){let N=d[w]||"";c=u.slice(0,u.length-N.length).replace(/(.)\/+$/,"$1")}const S=d[w];return m&&!S?g[v]=void 0:g[v]=(S||"").replace(/%2F/g,"/"),g},{}),pathname:u,pathnameBase:c,pattern:t}}function U1(t,n=!1,o=!0){gn(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 i=[],a="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,p,g,v)=>{if(i.push({paramName:d,isOptional:p!=null}),p){let m=v.charAt(g+c.length);return m&&m!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(i.push({paramName:"*"}),a+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?a+="\\/*$":t!==""&&t!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,n?void 0:"i"),i]}function $1(t){try{return t.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return gn(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),t}}function On(t,n){if(n==="/")return t;if(!t.toLowerCase().startsWith(n.toLowerCase()))return null;let o=n.endsWith("/")?n.length-1:n.length,i=t.charAt(o);return i&&i!=="/"?null:t.slice(o)||"/"}var W1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function H1(t,n="/"){let{pathname:o,search:i="",hash:a=""}=typeof t=="string"?Vo(t):t,u;return o?(o=o.replace(/\/\/+/g,"/"),o.startsWith("/")?u=Lh(o.substring(1),"/"):u=Lh(o,n)):u=n,{pathname:u,search:Y1(i),hash:Q1(a)}}function Lh(t,n){let o=n.replace(/\/+$/,"").split("/");return t.split("/").forEach(a=>{a===".."?o.length>1&&o.pop():a!=="."&&o.push(a)}),o.length>1?o.join("/"):"/"}function Yu(t,n,o,i){return`Cannot include a '${t}' character in a manually specified \`to.${n}\` field [${JSON.stringify(i)}].  Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function K1(t){return t.filter((n,o)=>o===0||n.route.path&&n.route.path.length>0)}function Rg(t){let n=K1(t);return n.map((o,i)=>i===n.length-1?o.pathname:o.pathnameBase)}function Jc(t,n,o,i=!1){let a;typeof t=="string"?a=Vo(t):(a={...t},ze(!a.pathname||!a.pathname.includes("?"),Yu("?","pathname","search",a)),ze(!a.pathname||!a.pathname.includes("#"),Yu("#","pathname","hash",a)),ze(!a.search||!a.search.includes("#"),Yu("#","search","hash",a)));let u=t===""||a.pathname==="",c=u?"/":a.pathname,d;if(c==null)d=o;else{let m=n.length-1;if(!i&&c.startsWith("..")){let w=c.split("/");for(;w[0]==="..";)w.shift(),m-=1;a.pathname=w.join("/")}d=m>=0?n[m]:"/"}let p=H1(a,d),g=c&&c!=="/"&&c.endsWith("/"),v=(u||c===".")&&o.endsWith("/");return!p.pathname.endsWith("/")&&(g||v)&&(p.pathname+="/"),p}var pn=t=>t.join("/").replace(/\/\/+/g,"/"),G1=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Y1=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Q1=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,q1=class{constructor(t,n,o,i=!1){this.status=t,this.statusText=n||"",this.internal=i,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function X1(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Z1(t){return t.map(n=>n.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Ag=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Mg(t,n){let o=t;if(typeof o!="string"||!W1.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let i=o,a=!1;if(Ag)try{let u=new URL(window.location.href),c=o.startsWith("//")?new URL(u.protocol+o):new URL(o),d=On(c.pathname,n);c.origin===u.origin&&d!=null?o=d+c.search+c.hash:a=!0}catch{gn(!1,`<Link to="${o}">
8 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:a,to:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Dg=["POST","PUT","PATCH","DELETE"];new Set(Dg);var J1=["GET",...Dg];new Set(J1);var zo=b.createContext(null);zo.displayName="DataRouter";var Xa=b.createContext(null);Xa.displayName="DataRouterState";var ew=b.createContext(!1),Lg=b.createContext({isTransitioning:!1});Lg.displayName="ViewTransition";var tw=b.createContext(new Map);tw.displayName="Fetchers";var nw=b.createContext(null);nw.displayName="Await";var Kt=b.createContext(null);Kt.displayName="Navigation";var es=b.createContext(null);es.displayName="Location";var In=b.createContext({outlet:null,matches:[],isDataRoute:!1});In.displayName="Route";var ed=b.createContext(null);ed.displayName="RouteError";var Og="REACT_ROUTER_ERROR",rw="REDIRECT",ow="ROUTE_ERROR_RESPONSE";function iw(t){if(t.startsWith(`${Og}:${rw}:{`))try{let n=JSON.parse(t.slice(28));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.location=="string"&&typeof n.reloadDocument=="boolean"&&typeof n.replace=="boolean")return n}catch{}}function sw(t){if(t.startsWith(`${Og}:${ow}:{`))try{let n=JSON.parse(t.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new q1(n.status,n.statusText,n.data)}catch{}}function aw(t,{relative:n}={}){ze(ts(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:i}=b.useContext(Kt),{hash:a,pathname:u,search:c}=ns(t,{relative:n}),d=u;return o!=="/"&&(d=u==="/"?o:pn([o,u])),i.createHref({pathname:d,search:c,hash:a})}function ts(){return b.useContext(es)!=null}function yn(){return ze(ts(),"useLocation() may be used only in the context of a <Router> component."),b.useContext(es).location}var _g="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ig(t){b.useContext(Kt).static||b.useLayoutEffect(t)}function lw(){let{isDataRoute:t}=b.useContext(In);return t?bw():uw()}function uw(){ze(ts(),"useNavigate() may be used only in the context of a <Router> component.");let t=b.useContext(zo),{basename:n,navigator:o}=b.useContext(Kt),{matches:i}=b.useContext(In),{pathname:a}=yn(),u=JSON.stringify(Rg(i)),c=b.useRef(!1);return Ig(()=>{c.current=!0}),b.useCallback((p,g={})=>{if(gn(c.current,_g),!c.current)return;if(typeof p=="number"){o.go(p);return}let v=Jc(p,JSON.parse(u),a,g.relative==="path");t==null&&n!=="/"&&(v.pathname=v.pathname==="/"?n:pn([n,v.pathname])),(g.replace?o.replace:o.push)(v,g.state,g)},[n,o,u,a,t])}b.createContext(null);function ns(t,{relative:n}={}){let{matches:o}=b.useContext(In),{pathname:i}=yn(),a=JSON.stringify(Rg(o));return b.useMemo(()=>Jc(t,JSON.parse(a),i,n==="path"),[t,a,i,n])}function cw(t,n){return Fg(t,n)}function Fg(t,n,o){ze(ts(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=b.useContext(Kt),{matches:a}=b.useContext(In),u=a[a.length-1],c=u?u.params:{},d=u?u.pathname:"/",p=u?u.pathnameBase:"/",g=u&&u.route;{let C=g&&g.path||"";zg(d,!g||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${C}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
9
10Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}/*`}">.`)}let v=yn(),m;if(n){let C=typeof n=="string"?Vo(n):n;ze(p==="/"||C.pathname?.startsWith(p),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${C.pathname}" was given in the \`location\` prop.`),m=C}else m=v;let w=m.pathname||"/",S=w;if(p!=="/"){let C=p.replace(/^\//,"").split("/");S="/"+w.replace(/^\//,"").split("/").slice(C.length).join("/")}let N=kg(t,{pathname:S});gn(g||N!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),gn(N==null||N[N.length-1].route.element!==void 0||N[N.length-1].route.Component!==void 0||N[N.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let E=mw(N&&N.map(C=>Object.assign({},C,{params:Object.assign({},c,C.params),pathname:pn([p,i.encodeLocation?i.encodeLocation(C.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?p:pn([p,i.encodeLocation?i.encodeLocation(C.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathnameBase])})),a,o);return n&&E?b.createElement(es.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...m},navigationType:"POP"}},E):E}function dw(){let t=ww(),n=X1(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),o=t instanceof Error?t.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},u={padding:"2px 4px",backgroundColor:i},c=null;return console.error("Error handled by React Router default ErrorBoundary:",t),c=b.createElement(b.Fragment,null,b.createElement("p",null,"💿 Hey developer 👋"),b.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",b.createElement("code",{style:u},"ErrorBoundary")," or"," ",b.createElement("code",{style:u},"errorElement")," prop on your route.")),b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application 
10Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},n),o?b.createElement("pre",{style:a},o):null,c)}var fw=b.createElement(dw,null),Vg=class extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){this.props.onError?this.props.onError(t,n):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const o=sw(t.digest);o&&(t=o)}let n=t!==void 0?b.createElement(In.Provider,{value:this.props.routeContext},b.createElement(ed.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?b.createElement(pw,{error:t},n):n}};Vg.contextType=ew;var Qu=new WeakMap;function pw({children:t,error:n}){let{basename:o}=b.useContext(Kt);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let i=iw(n.digest);if(i){let a=Qu.get(n);if(a)throw a;let u=Mg(i.location,o);if(Ag&&!Qu.get(n))if(u.isExternal||i.reloadDocument)window.location.href=u.absoluteURL||u.to;else{const c=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:i.replace}));throw Qu.set(n,c),c}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u.absoluteURL||u.to}`})}}return t}function hw({routeContext:t,match:n,children:o}){let i=b.useContext(zo);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(In.Provider,{value:t},o)}function mw(t,n=[],o){let i=o?.state;if(t==null){if(!i)return null;if(i.errors)t=i.matches;else if(n.length===0&&!i.initialized&&i.matches.length>0)t=i.matches;else return null}let a=t,u=i?.errors;if(u!=null){let v=a.findIndex(m=>m.route.id&&u?.[m.route.id]!==void 0);ze(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),a=a.slice(0,Math.min(a.length,v+1))}let c=!1,d=-1;if(o&&i){c=i.renderFallback;for(let v=0;v<a.length;v++){let m=a[v];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(d=v),m.route.id){let{loaderData:w,errors:S}=i,N=m.route.loader&&!w.hasOwnProperty(m.route.id)&&(!S||S[m.route.id]===void 0);if(m.route.lazy||N){o.isStatic&&(c=!0),d>=0?a=a.slice(0,d+1):a=[a[0]];break}}}}let p=o?.onError,g=i&&p?(v,m)=>{p(v,{location:i.location,params:i.matches?.[0]?.params??{},unstable_pattern:Z1(i.matches),errorInfo:m})}:void 0;return a.reduceRight((v,m,w)=>{let S,N=!1,E=null,C=null;i&&(S=u&&m.route.id?u[m.route.id]:void 0,E=m.route.errorElement||fw,c&&(d<0&&w===0?(zg("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),N=!0,C=null):d===w&&(N=!0,C=m.route.hydrateFallbackElement||null)));let P=n.concat(a.slice(0,w+1)),D=()=>{let O;return S?O=E:N?O=C:m.route.Component?O=b.createElement(m.route.Component,null):m.route.element?O=m.route.element:O=v,b.createElement(hw,{match:m,routeContext:{outlet:v,matches:P,isDataRoute:i!=null},children:O})};return i&&(m.route.ErrorBoundary||m.route.errorElement||w===0)?b.createElement(Vg,{location:i.location,revalidation:i.revalidation,component:E,error:S,children:D(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:g}):D()},null)}function td(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function gw(t){let n=b.useContext(zo);return ze(n,td(t)),n}function yw(t){let n=b.useContext(Xa);return ze(n,td(t)),n}function vw(t){let n=b.useContext(In);return ze(n,td(t)),n}function nd(t){let n=vw(t),o=n.matches[n.matches.length-1];return ze(o.route.id,`${t} can only be used on routes that contain a unique "id"`),o.route.id}function xw(){return nd("useRouteId")}function ww(){let t=b.useContext(ed),n=yw("useRouteError"),o=nd("useRouteError");return t!==void 0?t:n.errors?.[o]}function bw(){let{router:t}=gw("useNavigate"),n=nd("useNavigate"),o=b.useRef(!1);return Ig(()=>{o.current=!0}),b.useCallback(async(a,u={})=>
10{gn(o.current,_g),o.current&&(typeof a=="number"?await t.navigate(a):await t.navigate(a,{fromRouteId:n,...u}))},[t,n])}var Oh={};function zg(t,n,o){!n&&!Oh[t]&&(Oh[t]=!0,gn(!1,o))}b.memo(Sw);function Sw({routes:t,future:n,state:o,isStatic:i,onError:a}){return Fg(t,void 0,{state:o,isStatic:i,onError:a})}function dn(t){ze(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Ew({basename:t="/",children:n=null,location:o,navigationType:i="POP",navigator:a,static:u=!1,unstable_useTransitions:c}){ze(!ts(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=t.replace(/^\/*/,"/"),p=b.useMemo(()=>({basename:d,navigator:a,static:u,unstable_useTransitions:c,future:{}}),[d,a,u,c]);typeof o=="string"&&(o=Vo(o));let{pathname:g="/",search:v="",hash:m="",state:w=null,key:S="default",unstable_mask:N}=o,E=b.useMemo(()=>{let C=On(g,d);return C==null?null:{location:{pathname:C,search:v,hash:m,state:w,key:S,unstable_mask:N},navigationType:i}},[d,g,v,m,w,S,i,N]);return gn(E!=null,`<Router basename="${d}"> is not able to match the URL "${g}${v}${m}" because it does not start with the basename, so the <Router> won't render anything.`),E==null?null:b.createElement(Kt.Provider,{value:p},b.createElement(es.Provider,{children:n,value:E}))}function Cw({children:t,location:n}){return cw(kc(t),n)}function kc(t,n=[]){let o=[];return b.Children.forEach(t,(i,a)=>{if(!b.isValidElement(i))return;let u=[...n,a];if(i.type===b.Fragment){o.push.apply(o,kc(i.props.children,u));return}ze(i.type===dn,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ze(!i.props.index||!i.props.children,"An index route cannot have child routes.");let c={id:i.props.id||u.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(c.children=kc(i.props.children,u)),o.push(c)}),o}var Ra="get",Aa="application/x-www-form-urlencoded";function Za(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function Tw(t){return Za(t)&&t.tagName.toLowerCase()==="button"}function Pw(t){return Za(t)&&t.tagName.toLowerCase()==="form"}function kw(t){return Za(t)&&t.tagName.toLowerCase()==="input"}function Nw(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function jw(t,n){return t.button===0&&(!n||n==="_self")&&!Nw(t)}var wa=null;function Rw(){if(wa===null)try{new FormData(document.createElement("form"),0),wa=!1}catch{wa=!0}return wa}var Aw=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function qu(t){return t!=null&&!Aw.has(t)?(gn(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Aa}"`),null):t}function Mw(t,n){let o,i,a,u,c;if(Pw(t)){let d=t.getAttribute("action");i=d?On(d,n):null,o=t.getAttribute("method")||Ra,a=qu(t.getAttribute("enctype"))||Aa,u=new FormData(t)}else if(Tw(t)||kw(t)&&(t.type==="submit"||t.type==="image")){let d=t.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=t.getAttribute("formaction")||d.getAttribute("action");if(i=p?On(p,n):null,o=t.getAttribute("formmethod")||d.getAttribute("method")||Ra,a=qu(t.getAttribute("formenctype"))||qu(d.getAttribute("enctype"))||Aa,u=new FormData(d,t),!Rw()){let{name:g,type:v,value:m}=t;if(v==="image"){let w=g?`${g}.`:"";u.append(`${w}x`,"0"),u.append(`${w}y`,"0")}else g&&u.append(g,m)}}else{if(Za(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=Ra,i=null,a=Aa,c=t}return u&&a==="text/plain"&&(c=u,u=void 0),{action:i,method:o.toLowerCase(),encType:a,formData:u,body:c}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function rd(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}function Dw(t,n,o,i){let a=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return o?a.pathname.endsWith("/")?a.pathname=`${a.pathname}_.${i}`:a.pathname=`${a.pathname}.${i}`:a.pathname==="/"?a.pathname=`_root.${i}`:n&&On(a.pathname,n)==="/"?a.pathname=`${n.replace(/\/$/,"")}/_root.${i}`:a.pathname=`${a.pathname.replace(/\/$/,"")}.${i}`,a}async function Lw(t,n){if(t.id in n)return n[t.id];try{let o=await import(t.module);return n[t.id]=o,o}catch(o){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.
10isSpaMode,window.location.reload(),new Promise(()=>{})}}function Ow(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function _w(t,n,o){let i=await Promise.all(t.map(async a=>{let u=n.routes[a.route.id];if(u){let c=await Lw(u,o);return c.links?c.links():[]}return[]}));return zw(i.flat(1).filter(Ow).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function _h(t,n,o,i,a,u){let c=(p,g)=>o[g]?p.route.id!==o[g].route.id:!0,d=(p,g)=>o[g].pathname!==p.pathname||o[g].route.path?.endsWith("*")&&o[g].params["*"]!==p.params["*"];return u==="assets"?n.filter((p,g)=>c(p,g)||d(p,g)):u==="data"?n.filter((p,g)=>{let v=i.routes[p.route.id];if(!v||!v.hasLoader)return!1;if(c(p,g)||d(p,g))return!0;if(p.route.shouldRevalidate){let m=p.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:o[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof m=="boolean")return m}return!0}):[]}function Iw(t,n,{includeHydrateFallback:o}={}){return Fw(t.map(i=>{let a=n.routes[i.route.id];if(!a)return[];let u=[a.module];return a.clientActionModule&&(u=u.concat(a.clientActionModule)),a.clientLoaderModule&&(u=u.concat(a.clientLoaderModule)),o&&a.hydrateFallbackModule&&(u=u.concat(a.hydrateFallbackModule)),a.imports&&(u=u.concat(a.imports)),u}).flat(1))}function Fw(t){return[...new Set(t)]}function Vw(t){let n={},o=Object.keys(t).sort();for(let i of o)n[i]=t[i];return n}function zw(t,n){let o=new Set;return new Set(n),t.reduce((i,a)=>{let u=JSON.stringify(Vw(a));return o.has(u)||(o.add(u),i.push({key:u,link:a})),i},[])}function Bg(){let t=b.useContext(zo);return rd(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function Bw(){let t=b.useContext(Xa);return rd(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var od=b.createContext(void 0);od.displayName="FrameworkContext";function Ug(){let t=b.useContext(od);return rd(t,"You must render this element inside a <HydratedRouter> element"),t}function Uw(t,n){let o=b.useContext(od),[i,a]=b.useState(!1),[u,c]=b.useState(!1),{onFocus:d,onBlur:p,onMouseEnter:g,onMouseLeave:v,onTouchStart:m}=n,w=b.useRef(null);b.useEffect(()=>{if(t==="render"&&c(!0),t==="viewport"){let E=P=>{P.forEach(D=>{c(D.isIntersecting)})},C=new IntersectionObserver(E,{threshold:.5});return w.current&&C.observe(w.current),()=>{C.disconnect()}}},[t]),b.useEffect(()=>{if(i){let E=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(E)}}},[i]);let S=()=>{a(!0)},N=()=>{a(!1),c(!1)};return o?t!=="intent"?[u,w,{}]:[u,w,{onFocus:Ai(d,S),onBlur:Ai(p,N),onMouseEnter:Ai(g,S),onMouseLeave:Ai(v,N),onTouchStart:Ai(m,S)}]:[!1,w,{}]}function Ai(t,n){return o=>{t&&t(o),o.defaultPrevented||n(o)}}function $w({page:t,...n}){let{router:o}=Bg(),i=b.useMemo(()=>kg(o.routes,t,o.basename),[o.routes,t,o.basename]);return i?b.createElement(Hw,{page:t,matches:i,...n}):null}function Ww(t){let{manifest:n,routeModules:o}=Ug(),[i,a]=b.useState([]);return b.useEffect(()=>{let u=!1;return _w(t,n,o).then(c=>{u||a(c)}),()=>{u=!0}},[t,n,o]),i}function Hw({page:t,matches:n,...o}){let i=yn(),{future:a,manifest:u,routeModules:c}=Ug(),{basename:d}=Bg(),{loaderData:p,matches:g}=Bw(),v=b.useMemo(()=>_h(t,n,g,u,i,"data"),[t,n,g,u,i]),m=b.useMemo(()=>_h(t,n,g,u,i,"assets"),[t,n,g,u,i]),w=b.useMemo(()=>{if(t===i.pathname+i.search+i.hash)return[];let E=new Set,C=!1;if(n.forEach(D=>{let O=u.routes[D.route.id];!O||!O.hasLoader||(!v.some(F=>F.route.id===D.route.id)&&D.route.id in p&&c[D.route.id]?.shouldRevalidate||O.hasClientLoader?C=!0:E.add(D.route.id))}),E.size===0)return[];let P=Dw(t,d,a.unstable_trailingSlashAwareDataRequests,"data");return C&&E.size>0&&P.searchParams.set("_routes",n.filter(D=>E.has(D.route.id)).map(D=>D.route.id).join(",")),[P.pathname+P.search]},[d,a.unstable_trailingSlashAwareDataRequests,p,i,u,v,n,t,c]),S=b.useMemo(()=>Iw(m,u),[m,u]),N=Ww(m);return b.createElement(b.Fragment,null,w.map(E=>b.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...o})),S.map(E=>b.createElement("link",{key:E,rel:"modulepreload",href:E,...o})),N.map(({key:E,link:C})=>b.createElement("link",{key:E,nonce:o.nonce,...C,crossOrigin:C.crossOrigin??o.crossOrigin})))}function Kw(...t){return n=>{t.forEach(o=>{typeof o=="function"?o(n):o!=null&&(o.current=n)})}}var Gw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Gw&&(window.__reactRouterVersion="7.13.2")}catch{}function Yw({basename:t,children:n,unstable_useTransitions:o,window:i}){let a=b.useRef();a.current==null&&(a.current=k1({window:i,v5Compat:!0}));let u=a.current,[c,d]=b.useState({action:u.action,location:u.location}),p=b.useCallback(g=>{o===!1?d(g):b.startTransition(()=>d(g))},[o]);return b.useLayoutEffect(()=>u.listen(p),[u,p]),b.createElement(Ew,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:u,unstable_useTransitions:o})}var $g=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Pt=b.forwardRef(function({onClick:n,discover:o="render",prefetch:i="none",relative:a,reloadDocument:u,replace:c,unstable_mask:d,state:p,target:g,to:v,preventScrollReset:m,viewTransition:w,unstable_defaultShouldRevalidate:S,...
10N},E){let{basename:C,navigator:P,unstable_useTransitions:D}=b.useContext(Kt),O=typeof v=="string"&&$g.test(v),F=Mg(v,C);v=F.to;let _=aw(v,{relative:a}),G=yn(),K=null;if(d){let Pe=Jc(d,[],G.unstable_mask?G.unstable_mask.pathname:"/",!0);C!=="/"&&(Pe.pathname=Pe.pathname==="/"?C:pn([C,Pe.pathname])),K=P.createHref(Pe)}let[Y,he,ye]=Uw(i,N),Te=Zw(v,{replace:c,unstable_mask:d,state:p,target:g,preventScrollReset:m,relative:a,viewTransition:w,unstable_defaultShouldRevalidate:S,unstable_useTransitions:D});function ce(Pe){n&&n(Pe),Pe.defaultPrevented||Te(Pe)}let Se=!(F.isExternal||u),Ne=b.createElement("a",{...N,...ye,href:(Se?K:void 0)||F.absoluteURL||_,onClick:Se?ce:n,ref:Kw(E,he),target:g,"data-discover":!O&&o==="render"?"true":void 0});return Y&&!O?b.createElement(b.Fragment,null,Ne,b.createElement($w,{page:_})):Ne});Pt.displayName="Link";var Qw=b.forwardRef(function({"aria-current":n="page",caseSensitive:o=!1,className:i="",end:a=!1,style:u,to:c,viewTransition:d,children:p,...g},v){let m=ns(c,{relative:g.relative}),w=yn(),S=b.useContext(Xa),{navigator:N,basename:E}=b.useContext(Kt),C=S!=null&&rb(m)&&d===!0,P=N.encodeLocation?N.encodeLocation(m).pathname:m.pathname,D=w.pathname,O=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;o||(D=D.toLowerCase(),O=O?O.toLowerCase():null,P=P.toLowerCase()),O&&E&&(O=On(O,E)||O);const F=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let _=D===P||!a&&D.startsWith(P)&&D.charAt(F)==="/",G=O!=null&&(O===P||!a&&O.startsWith(P)&&O.charAt(P.length)==="/"),K={isActive:_,isPending:G,isTransitioning:C},Y=_?n:void 0,he;typeof i=="function"?he=i(K):he=[i,_?"active":null,G?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let ye=typeof u=="function"?u(K):u;return b.createElement(Pt,{...g,"aria-current":Y,className:he,ref:v,style:ye,to:c,viewTransition:d},typeof p=="function"?p(K):p)});Qw.displayName="NavLink";var qw=b.forwardRef(({discover:t="render",fetcherKey:n,navigate:o,reloadDocument:i,replace:a,state:u,method:c=Ra,action:d,onSubmit:p,relative:g,preventScrollReset:v,viewTransition:m,unstable_defaultShouldRevalidate:w,...S},N)=>{let{unstable_useTransitions:E}=b.useContext(Kt),C=tb(),P=nb(d,{relative:g}),D=c.toLowerCase()==="get"?"get":"post",O=typeof d=="string"&&$g.test(d),F=_=>{if(p&&p(_),_.defaultPrevented)return;_.preventDefault();let G=_.nativeEvent.submitter,K=G?.getAttribute("formmethod")||c,Y=()=>C(G||_.currentTarget,{fetcherKey:n,method:K,navigate:o,replace:a,state:u,relative:g,preventScrollReset:v,viewTransition:m,unstable_defaultShouldRevalidate:w});E&&o!==!1?b.startTransition(()=>Y()):Y()};return b.createElement("form",{ref:N,method:D,action:P,onSubmit:i?p:F,...S,"data-discover":!O&&t==="render"?"true":void 0})});qw.displayName="Form";function Xw(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Wg(t){let n=b.useContext(zo);return ze(n,Xw(t)),n}function Zw(t,{target:n,replace:o,unstable_mask:i,state:a,preventScrollReset:u,relative:c,viewTransition:d,unstable_defaultShouldRevalidate:p,unstable_useTransitions:g}={}){let v=lw(),m=yn(),w=ns(t,{relative:c}
10);return b.useCallback(S=>{if(jw(S,n)){S.preventDefault();let N=o!==void 0?o:Hi(m)===Hi(w),E=()=>v(t,{replace:N,unstable_mask:i,state:a,preventScrollReset:u,relative:c,viewTransition:d,unstable_defaultShouldRevalidate:p});g?b.startTransition(()=>E()):E()}},[m,v,w,o,i,a,n,t,u,c,d,p,g])}var Jw=0,eb=()=>`__${String(++Jw)}__`;function tb(){let{router:t}=Wg("useSubmit"),{basename:n}=b.useContext(Kt),o=xw(),i=t.fetch,a=t.navigate;return b.useCallback(async(u,c={})=>{let{action:d,method:p,encType:g,formData:v,body:m}=Mw(u,n);if(c.navigate===!1){let w=c.fetcherKey||eb();await i(w,o,c.action||d,{unstable_defaultShouldRevalidate:c.unstable_defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:v,body:m,formMethod:c.method||p,formEncType:c.encType||g,flushSync:c.flushSync})}else await a(c.action||d,{unstable_defaultShouldRevalidate:c.unstable_defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:v,body:m,formMethod:c.method||p,formEncType:c.encType||g,replace:c.replace,state:c.state,fromRouteId:o,flushSync:c.flushSync,viewTransition:c.viewTransition})},[i,a,n,o])}function nb(t,{relative:n}={}){let{basename:o}=b.useContext(Kt),i=b.useContext(In);ze(i,"useFormAction must be used inside a RouteContext");let[a]=i.matches.slice(-1),u={...ns(t||".",{relative:n})},c=yn();if(t==null){u.search=c.search;let d=new URLSearchParams(u.search),p=d.getAll("index");if(p.some(v=>v==="")){d.delete("index"),p.filter(m=>m).forEach(m=>d.append("index",m));let v=d.toString();u.search=v?`?${v}`:""}}return(!t||t===".")&&a.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(u.pathname=u.pathname==="/"?o:pn([o,u.pathname])),Hi(u)}function rb(t,{relative:n}={}){let o=b.useContext(Lg);ze(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=Wg("useViewTransitionState"),a=ns(t,{relative:n});if(!o.isTransitioning)return!1;let u=On(o.currentLocation.pathname,i)||o.currentLocation.pathname,c=On(o.nextLocation.pathname,i)||o.nextLocation.pathname;return Fa(a.pathname,c)!=null||Fa(a.pathname,u)!=null}var Hg=Pg();const Kg=Qr(Hg);var ob=(t,n,o,i,a,u,c,d)=>{let p=document.documentElement,g=["light","dark"];function v(S){(Array.isArray(t)?t:[t]).forEach(N=>{let E=N==="class",C=E&&u?a.map(P=>u[P]||P):a;E?(p.classList.remove(...C),p.classList.add(u&&u[S]?u[S]:S)):p.setAttribute(N,S)}),m(S)}function m(S){d&&g.includes(S)&&(p.style.colorScheme=S)}function w(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(i)v(i);else try{let S=localStorage.getItem(n)||o,N=c&&S==="system"?w():S;v(N)}catch{}},ib=b.createContext(void 0),sb={setTheme:t=>{},themes:[]},ab=()=>{var t;return(t=b.useContext(ib))!=null?t:sb};b.memo(({forcedTheme:t,storageKey:n,attribute:o,enableSystem:i,enableColorScheme:a,defaultTheme:u,value:c,themes:d,nonce:p,scriptProps:g})=>{let v=JSON.stringify([o,n,u,t,d,c,i,a]).slice(1,-1);return b.createElement("script",{...g,suppressHydrationWarning:!0,nonce:typeof window>"u"?p:"",dangerouslySetInnerHTML:{__html:`(${ob.toString()})(${v})`}})});function lb(t){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}const ub=t=>{switch(t){case"success":return fb;case"info":return hb;case"warning":return pb;case"error":return mb;default:return null}},cb=Array(12).fill(0),db=({visible:t,className:n})=>W.createElement("div",{className:["sonner-loading-wrapper",n].filter(Boolean).join(" "),"data-visible":t},W.createElement("div",{className:"sonner-spinner"},cb.map((o,i)=>W.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${i}`})))),fb=W.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},W.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"})),pb=W.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
10currentColor",height:"20",width:"20"},W.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"})),hb=W.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},W.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"})),mb=W.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},W.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"})),gb=W.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"},W.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),W.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),yb=()=>{const[t,n]=W.useState(document.hidden);return W.useEffect(()=>{const o=()=>{n(document.hidden)};return document.addEventListener("visibilitychange",o),()=>window.removeEventListener("visibilitychange",o)},[]),t};let Nc=1;class vb{constructor(){this.subscribe=n=>(this.subscribers.push(n),()=>{const o=this.subscribers.indexOf(n);this.subscribers.splice(o,1)}),this.publish=n=>{this.subscribers.forEach(o=>o(n))},this.addToast=n=>{this.publish(n),this.toasts=[...this.toasts,n]},this.create=n=>{var o;const{message:i,...a}=n,u=typeof n?.id=="number"||((o=n.id)==null?void 0:o.length)>0?n.id:Nc++,c=this.toasts.find(p=>p.id===u),d=n.dismissible===void 0?!0:n.dismissible;return this.dismissedToasts.has(u)&&this.dismissedToasts.delete(u),c?this.toasts=this.toasts.map(p=>p.id===u?(this.publish({...p,...n,id:u,title:i}),{...p,...n,id:u,dismissible:d,title:i}):p):this.addToast({title:i,...a,dismissible:d,id:u}),u},this.dismiss=n=>(n?(this.dismissedToasts.add(n),requestAnimationFrame(()=>this.subscribers.forEach(o=>o({id:n,dismiss:!0})))):this.toasts.forEach(o=>{this.subscribers.forEach(i=>i({id:o.id,dismiss:!0}))}),n),this.message=(n,o)=>this.create({...o,message:n}),this.error=(n,o)=>this.create({...o,message:n,type:"error"}),this.success=(n,o)=>this.create({...o,type:"success",message:n}),this.info=(n,o)=>this.create({...o,type:"info",message:n}),this.warning=(n,o)=>this.create({...o,type:"warning",message:n}),this.loading=(n,o)=>this.create({...o,type:"loading",message:n}),this.promise=(n,o)=>
vendor: 2,482 bytes, line 10
10{if(!o)return;let i;o.loading!==void 0&&(i=this.create({...o,promise:n,type:"loading",message:o.loading,description:typeof o.description!="function"?o.description:void 0}));const a=Promise.resolve(n instanceof Function?n():n);let u=i!==void 0,c;const d=a.then(async g=>{if(c=["resolve",g],W.isValidElement(g))u=!1,this.create({id:i,type:"default",message:g});else if(wb(g)&&!g.ok){u=!1;const m=typeof o.error=="function"?await o.error(`HTTP error! status: ${g.status}`):o.error,w=typeof o.description=="function"?await o.description(`HTTP error! status: ${g.status}`):o.description,N=typeof m=="object"&&!W.isValidElement(m)?m:{message:m};this.create({id:i,type:"error",description:w,...N})}else if(g instanceof Error){u=!1;const m=typeof o.error=="function"?await o.error(g):o.error,w=typeof o.description=="function"?await o.description(g):o.description,N=typeof m=="object"&&!W.isValidElement(m)?m:{message:m};this.create({id:i,type:"error",description:w,...N})}else if(o.success!==void 0){u=!1;const m=typeof o.success=="function"?await o.success(g):o.success,w=typeof o.description=="function"?await o.description(g):o.description,N=typeof m=="object"&&!W.isValidElement(m)?m:{message:m};this.create({id:i,type:"success",description:w,...N})}}).catch(async g=>{if(c=["reject",g],o.error!==void 0){u=!1;const v=typeof o.error=="function"?await o.error(g):o.error,m=typeof o.description=="function"?await o.description(g):o.description,S=typeof v=="object"&&!W.isValidElement(v)?v:{message:v};this.create({id:i,type:"error",description:m,...S})}}).finally(()=>{u&&(this.dismiss(i),i=void 0),o.finally==null||o.finally.call(o)}),p=()=>new Promise((g,v)=>d.then(()=>c[0]==="reject"?v(c[1]):g(c[1])).catch(v));return typeof i!="string"&&typeof i!="number"?{unwrap:p}:Object.assign(i,{unwrap:p})},this.custom=(n,o)=>{const i=o?.id||Nc++;return this.create({jsx:n(i),id:i,...o}),i},this.getActiveToasts=()=>this.toasts.filter(n=>!this.dismissedToasts.has(n.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Tt=new vb,xb=(t,n)=>{const o=n?.id||Nc++;return Tt.addToast({title:t,...n,id:o}),o},wb=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",bb=xb,Sb=()=>Tt.toasts,Eb=()=>Tt.getActiveToasts(),Mi=Object.assign(bb,{success:Tt.success,info:Tt.info,warning:Tt.warning,error:Tt.error,custom:Tt.custom,message:Tt.message,promise:Tt.promise,dismiss:Tt.dismiss,loading:Tt.loading},{getHistory:Sb,getToasts:Eb});lb
vendor: 14,873 bytes, line 10
10("[data-sonner-toaster][dir=ltr],html[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%)}[data-sonner-toaster][dir=rtl],html[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%)}[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:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[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);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[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 rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [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)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [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;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left: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);background:var(--normal-bg);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-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[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}[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}[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,0)) translateX(var(--swipe-amount-x,0));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{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{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{from{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-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--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-sonner-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-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-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, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-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-sonner-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]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[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]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[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]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[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]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[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:first-child{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)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{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%)}");function 
vendor: 2,434 bytes, line 10
10ba(t){return t.label!==void 0}const Cb=3,Tb="24px",Pb="16px",Ih=4e3,kb=356,Nb=14,jb=45,Rb=200;function cn(...t){return t.filter(Boolean).join(" ")}function Ab(t){const[n,o]=t.split("-"),i=[];return n&&i.push(n),o&&i.push(o),i}const Mb=t=>{var n,o,i,a,u,c,d,p,g;const{invert:v,toast:m,unstyled:w,interacting:S,setHeights:N,visibleToasts:E,heights:C,index:P,toasts:D,expanded:O,removeToast:F,defaultRichColors:_,closeButton:G,style:K,cancelButtonStyle:Y,actionButtonStyle:he,className:ye="",descriptionClassName:Te="",duration:ce,position:Se,gap:Ne,expandByDefault:Pe,classNames:de,icons:ne,closeButtonAriaLabel:U="Close toast"}=t,[X,H]=W.useState(null),[R,I]=W.useState(null),[Q,re]=W.useState(!1),[oe,pe]=W.useState(!1),[we,se]=W.useState(!1),[Ce,Je]=W.useState(!1),[vn,xn]=W.useState(!1),[Zr,Er]=W.useState(0),[ls,Wo]=W.useState(0),wn=W.useRef(m.duration||ce||Ih),Ho=W.useRef(null),kt=W.useRef(null),Cr=P===0,Bn=P+1<=E,ot=m.type,bn=m.dismissible!==!1,us=m.className||"",cs=m.descriptionClassName||"",Tr=W.useMemo(()=>C.findIndex(me=>me.toastId===m.id)||0,[C,m.id]),Ko=W.useMemo(()=>{var me;return(me=m.closeButton)!=null?me:G},[m.closeButton,G]),Pr=W.useMemo(()=>m.duration||ce||Ih,[m.duration,ce]),Jr=W.useRef(0),Ot=W.useRef(0),Un=W.useRef(0),$n=W.useRef(null),[ds,fs]=Se.split("-"),ps=W.useMemo(()=>C.reduce((me,We,qe)=>qe>=Tr?me:me+We.height,0),[C,Tr]),eo=yb(),Go=m.invert||v,kr=ot==="loading";Ot.current=W.useMemo(()=>Tr*Ne+ps,[Tr,ps]),W.useEffect(()=>{wn.current=Pr},[Pr]),W.useEffect(()=>{re(!0)},[]),W.useEffect(()=>{const me=kt.current;if(me){const We=me.getBoundingClientRect().height;return Wo(We),N(qe=>[{toastId:m.id,height:We,position:m.position},...qe]),()=>N(qe=>qe.filter(ut=>ut.toastId!==m.id))}},[N,m.id]),W.useLayoutEffect(()=>{if(!Q)return;const me=kt.current,We=me.style.height;me.style.height="auto";const qe=me.getBoundingClientRect().height;me.style.height=We,Wo(qe),N(ut=>ut.find(Ye=>Ye.toastId===m.id)?ut.map(Ye=>Ye.toastId===m.id?{...Ye,height:qe}:Ye):[{toastId:m.id,height:qe,position:m.position},...ut])},[Q,m.title,m.description,N,m.id,m.jsx,m.action,m.cancel]);const _t=W.useCallback(()=>{pe(!0),Er(Ot.current),N(me=>me.filter(We=>We.toastId!==m.id)),setTimeout(()=>{F(m)},Rb)},[m,F,N,Ot]);W.useEffect(()=>{if(m.promise&&ot==="loading"||m.duration===1/0||m.type==="loading")return;let me;return O||S||eo?(()=>{if(Un.current<Jr.current){const ut=new Date().getTime()-Jr.current;wn.current=wn.current-ut}
vendor: 5,411 bytes, line 10
10Un.current=new Date().getTime()})():wn.current!==1/0&&(Jr.current=new Date().getTime(),me=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),_t()},wn.current)),()=>clearTimeout(me)},[O,S,m,ot,eo,_t]),W.useEffect(()=>{m.delete&&(_t(),m.onDismiss==null||m.onDismiss.call(m,m))},[_t,m.delete]);function Yo(){var me;if(ne?.loading){var We;return W.createElement("div",{className:cn(de?.loader,m==null||(We=m.classNames)==null?void 0:We.loader,"sonner-loader"),"data-visible":ot==="loading"},ne.loading)}return W.createElement(db,{className:cn(de?.loader,m==null||(me=m.classNames)==null?void 0:me.loader),visible:ot==="loading"})}const Wn=m.icon||ne?.[ot]||ub(ot);var Sn,Qo;return W.createElement("li",{tabIndex:0,ref:kt,className:cn(ye,us,de?.toast,m==null||(n=m.classNames)==null?void 0:n.toast,de?.default,de?.[ot],m==null||(o=m.classNames)==null?void 0:o[ot]),"data-sonner-toast":"","data-rich-colors":(Sn=m.richColors)!=null?Sn:_,"data-styled":!(m.jsx||m.unstyled||w),"data-mounted":Q,"data-promise":!!m.promise,"data-swiped":vn,"data-removed":oe,"data-visible":Bn,"data-y-position":ds,"data-x-position":fs,"data-index":P,"data-front":Cr,"data-swiping":we,"data-dismissible":bn,"data-type":ot,"data-invert":Go,"data-swipe-out":Ce,"data-swipe-direction":R,"data-expanded":!!(O||Pe&&Q),"data-testid":m.testId,style:{"--index":P,"--toasts-before":P,"--z-index":D.length-P,"--offset":`${oe?Zr:Ot.current}px`,"--initial-height":Pe?"auto":`${ls}px`,...K,...m.style},onDragEnd:()=>{se(!1),H(null),$n.current=null},onPointerDown:me=>{me.button!==2&&(kr||!bn||(Ho.current=new Date,Er(Ot.current),me.target.setPointerCapture(me.pointerId),me.target.tagName!=="BUTTON"&&(se(!0),$n.current={x:me.clientX,y:me.clientY})))},onPointerUp:()=>{var me,We,qe;if(Ce||!bn)return;$n.current=null;const ut=Number(((me=kt.current)==null?void 0:me.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Hn=Number(((We=kt.current)==null?void 0:We.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ye=new Date().getTime()-((qe=Ho.current)==null?void 0:qe.getTime()),et=X==="x"?ut:Hn,Kn=Math.abs(et)/Ye;if(Math.abs(et)>=jb||Kn>.11){Er(Ot.current),m.onDismiss==null||m.onDismiss.call(m,m),I(X==="x"?ut>0?"right":"left":Hn>0?"down":"up"),_t(),Je(!0);return}else{var it,Nt;(it=kt.current)==null||it.style.setProperty("--swipe-amount-x","0px"),(Nt=kt.current)==null||Nt.style.setProperty("--swipe-amount-y","0px")}xn(!1),se(!1),H(null)},onPointerMove:me=>{var We,qe,ut;if(!$n.current||!bn||((We=window.getSelection())==null?void 0:We.toString().length)>0)return;const Ye=me.clientY-$n.current.y,et=me.clientX-$n.current.x;var Kn;const it=(Kn=t.swipeDirections)!=null?Kn:Ab(Se);!X&&(Math.abs(et)>1||Math.abs(Ye)>1)&&H(Math.abs(et)>Math.abs(Ye)?"x":"y");let Nt={x:0,y:0};const Gn=It=>1/(1.5+Math.abs(It)/20);if(X==="y"){if(it.includes("top")||it.includes("bottom"))if(it.includes("top")&&Ye<0||it.includes("bottom")&&Ye>0)Nt.y=Ye;else{const It=Ye*Gn(Ye);Nt.y=Math.abs(It)<Math.abs(Ye)?It:Ye}}else if(X==="x"&&(it.includes("left")||it.includes("right")))if(it.includes("left")&&et<0||it.includes("right")&&et>0)Nt.x=et;else{const It=et*Gn(et);Nt.x=Math.abs(It)<Math.abs(et)?It:et}(Math.abs(Nt.x)>0||Math.abs(Nt.y)>0)&&xn(!0),(qe=kt.current)==null||qe.style.setProperty("--swipe-amount-x",`${Nt.x}px`),(ut=kt.current)==null||ut.style.setProperty("--swipe-amount-y",`${Nt.y}px`)}},Ko&&!m.jsx&&ot!=="loading"?W.createElement("button",{"aria-label":U,"data-disabled":kr,"data-close-button":!0,onClick:kr||!bn?()=>{}:()=>{_t(),m.onDismiss==null||m.onDismiss.call(m,m)},className:cn(de?.closeButton,m==null||(i=m.classNames)==null?void 0:i.closeButton)},(Qo=ne?.close)!=null?Qo:gb):null,(ot||m.icon||m.promise)&&m.icon!==null&&(ne?.[ot]!==null||m.icon)?W.createElement("div",{"data-icon":"",className:cn(de?.icon,m==null||(a=m.classNames)==null?void 0:a.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||Yo():null,m.type!=="loading"?Wn:null):null,W.createElement("div",{"data-content":"",className:cn(de?.content,m==null||(u=m.classNames)==null?void 0:u.content)},W.createElement("div",{"data-title":"",className:cn(de?.title,m==null||(c=m.classNames)==null?void 0:c.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?W.createElement("div",{"data-description":"",className:cn(Te,cs,de?.description,m==null||(d=m.classNames)==null?void 0:d.description)},typeof m.description=="function"?m.description():m.description):null),W.isValidElement(m.cancel)?m.cancel:m.cancel&&ba(m.cancel)?W.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||Y,onClick:me=>{ba(m.cancel)&&bn&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,me),_t())},className:cn(de?.cancelButton,m==null||(p=m.classNames)==null?void 0:p.cancelButton)},m.cancel.label):null,W.isValidElement(m.action)?m.action:m.action&&ba(m.action)?W.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||he,onClick:me=>{ba(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,me),!me.defaultPrevented&&_t())},className:cn(de?.actionButton,m==null||(g=m.classNames)==null?void 0:g.actionButton)},m.action.label):null)};function Fh(){if(typeof window>"u"||typeof document>"u")return"ltr";const t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function Db(t,n){const o={};
vendor: 4,483 bytes, line 10
10return[t,n].forEach((i,a)=>{const u=a===1,c=u?"--mobile-offset":"--offset",d=u?Pb:Tb;function p(g){["top","right","bottom","left"].forEach(v=>{o[`${c}-${v}`]=typeof g=="number"?`${g}px`:g})}typeof i=="number"||typeof i=="string"?p(i):typeof i=="object"?["top","right","bottom","left"].forEach(g=>{i[g]===void 0?o[`${c}-${g}`]=d:o[`${c}-${g}`]=typeof i[g]=="number"?`${i[g]}px`:i[g]}):p(d)}),o}const Lb=W.forwardRef(function(n,o){const{id:i,invert:a,position:u="bottom-right",hotkey:c=["altKey","KeyT"],expand:d,closeButton:p,className:g,offset:v,mobileOffset:m,theme:w="light",richColors:S,duration:N,style:E,visibleToasts:C=Cb,toastOptions:P,dir:D=Fh(),gap:O=Nb,icons:F,containerAriaLabel:_="Notifications"}=n,[G,K]=W.useState([]),Y=W.useMemo(()=>i?G.filter(Q=>Q.toasterId===i):G.filter(Q=>!Q.toasterId),[G,i]),he=W.useMemo(()=>Array.from(new Set([u].concat(Y.filter(Q=>Q.position).map(Q=>Q.position)))),[Y,u]),[ye,Te]=W.useState([]),[ce,Se]=W.useState(!1),[Ne,Pe]=W.useState(!1),[de,ne]=W.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),U=W.useRef(null),X=c.join("+").replace(/Key/g,"").replace(/Digit/g,""),H=W.useRef(null),R=W.useRef(!1),I=W.useCallback(Q=>{K(re=>{var oe;return(oe=re.find(pe=>pe.id===Q.id))!=null&&oe.delete||Tt.dismiss(Q.id),re.filter(({id:pe})=>pe!==Q.id)})},[]);return W.useEffect(()=>Tt.subscribe(Q=>{if(Q.dismiss){requestAnimationFrame(()=>{K(re=>re.map(oe=>oe.id===Q.id?{...oe,delete:!0}:oe))});return}setTimeout(()=>{Kg.flushSync(()=>{K(re=>{const oe=re.findIndex(pe=>pe.id===Q.id);return oe!==-1?[...re.slice(0,oe),{...re[oe],...Q},...re.slice(oe+1)]:[Q,...re]})})})}),[G]),W.useEffect(()=>{if(w!=="system"){ne(w);return}if(w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?ne("dark"):ne("light")),typeof window>"u")return;const Q=window.matchMedia("(prefers-color-scheme: dark)");try{Q.addEventListener("change",({matches:re})=>{ne(re?"dark":"light")})}catch{Q.addListener(({matches:oe})=>{try{ne(oe?"dark":"light")}catch(pe){console.error(pe)}})}},[w]),W.useEffect(()=>{G.length<=1&&Se(!1)},[G]),W.useEffect(()=>{const Q=re=>{var oe;if(c.every(se=>re[se]||re.code===se)){var we;Se(!0),(we=U.current)==null||we.focus()}re.code==="Escape"&&(document.activeElement===U.current||(oe=U.current)!=null&&oe.contains(document.activeElement))&&Se(!1)};return document.addEventListener("keydown",Q),()=>document.removeEventListener("keydown",Q)},[c]),W.useEffect(()=>{if(U.current)return()=>{H.current&&(H.current.focus({preventScroll:!0}),H.current=null,R.current=!1)}},[U.current]),W.createElement("section",{ref:o,"aria-label":`${_} ${X}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},he.map((Q,re)=>{var oe;const[pe,we]=Q.split("-");return Y.length?W.createElement("ol",{key:Q,dir:D==="auto"?Fh():D,tabIndex:-1,ref:U,className:g,"data-sonner-toaster":!0,"data-sonner-theme":de,"data-y-position":pe,"data-x-position":we,style:{"--front-toast-height":`${((oe=ye[0])==null?void 0:oe.height)||0}px`,"--width":`${kb}px`,"--gap":`${O}px`,...E,...Db(v,m)},onBlur:se=>{R.current&&!se.currentTarget.contains(se.relatedTarget)&&(R.current=!1,H.current&&(H.current.focus({preventScroll:!0}),H.current=null))},onFocus:se=>{se.target instanceof HTMLElement&&se.target.dataset.dismissible==="false"||R.current||(R.current=!0,H.current=se.relatedTarget)},onMouseEnter:()=>Se(!0),onMouseMove:()=>Se(!0),onMouseLeave:()=>{Ne||Se(!1)},onDragEnd:()=>Se(!1),onPointerDown:se=>{se.target instanceof HTMLElement&&se.target.dataset.dismissible==="false"||Pe(!0)},onPointerUp:()=>Pe(!1)},Y.filter(se=>!se.position&&re===0||se.position===Q).map((se,Ce)=>{var Je,vn;return W.createElement(Mb,{key:se.id,icons:F,index:Ce,toast:se,defaultRichColors:S,duration:(Je=P?.duration)!=null?Je:N,className:P?.className,descriptionClassName:P?.descriptionClassName,invert:a,visibleToasts:C,closeButton:(vn=P?.closeButton)!=null?vn:p,interacting:Ne,position:Q,style:P?.style,unstyled:P?.unstyled,classNames:P?.classNames,cancelButtonStyle:P?.cancelButtonStyle,actionButtonStyle:P?.actionButtonStyle,closeButtonAriaLabel:P?.closeButtonAriaLabel,removeToast:I,toasts:Y.filter(xn=>xn.position==se.position),heights:ye.filter(xn=>xn.position==se.position),setHeights:Te,expandByDefault:d,gap:O,expanded:ce,swipeDirections:n.swipeDirections})})):null}))}),Ob=({...t})=>{const{theme:n="system"}=ab();
10return y.jsx(Lb,{theme:n,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t})},_b=()=>{const{pathname:t}=yn();return b.useLayoutEffect(()=>{window.scrollTo({top:0,left:0,behavior:"instant"})},[t]),null};var Xu={exports:{}},Zu,Vh;function Ib(){if(Vh)return Zu;Vh=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Zu=t,Zu}var Ju,zh;function Fb(){if(zh)return Ju;zh=1;var t=Ib();function n(){}function o(){}return o.resetWarningCache=n,Ju=function(){function i(c,d,p,g,v,m){if(m!==t){var w=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw w.name="Invariant Violation",w}}i.isRequired=i;function a(){return i}var u={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:a,element:i,elementType:i,instanceOf:a,node:i,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:o,resetWarningCache:n};return u.PropTypes=u,u},Ju}var Bh;function Vb(){return Bh||(Bh=1,Xu.exports=Fb()()),Xu.exports}var zb=Vb();const Oe=Qr(zb);var ec,Uh;function Bb(){if(Uh)return ec;Uh=1;function t(d){return d&&typeof d=="object"&&"default"in d?d.default:d}var n=qa(),o=t(n);function i(d,p,g){return p in d?Object.defineProperty(d,p,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[p]=g,d}function a(d,p){d.prototype=Object.create(p.prototype),d.prototype.constructor=d,d.__proto__=p}var u=!!(typeof window<"u"&&window.document&&window.document.createElement);function c(d,p,g){if(typeof d!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof p!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof g<"u"&&typeof g!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function v(m){return m.displayName||m.name||"Component"}return function(w){if(typeof w!="function")throw new Error("Expected WrappedComponent to be a React component.");var S=[],N;function E(){N=d(S.map(function(P){return P.props})),C.canUseDOM?p(N):g&&(N=g(N))}var C=(function(P){a(D,P);function D(){return P.apply(this,arguments)||this}D.peek=function(){return N},D.rewind=function(){if(D.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var _=N;return N=void 0,S=[],_};var O=D.prototype;return O.UNSAFE_componentWillMount=function(){S.push(this),E()},O.componentDidUpdate=function(){E()},O.componentWillUnmount=function(){var _=S.indexOf(this);S.splice(_,1),E()},O.render=function(){return o.createElement(w,this.props)},D})(n.PureComponent);return i(C,"displayName","SideEffect("+v(w)+")"),i(C,"canUseDOM",u),C}}return ec=c,ec}var Ub=Bb();const $b=Qr(Ub);var tc,$h;function Wb(){if($h)return tc;$h=1;var t=typeof Element<"u",n=typeof Map=="function",o=typeof Set=="function",i=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function a(u,c){if(u===c)return!0;if(u&&c&&typeof u=="object"&&typeof c=="object"){if(u.constructor!==c.constructor)return!1;var d,p,g;if(Array.isArray(u)){if(d=u.length,d!=c.length)return!1;for(p=d;p--!==0;)if(!a(u[p],c[p]))return!1;return!0}var v;if(n&&u instanceof Map&&c instanceof Map){if(u.size!==c.size)return!1;for(v=u.entries();!(p=v.next()).done;)if(!c.has(p.value[0]))return!1;for(v=u.entries();!(p=v.next()).done;)if(!a(p.value[1],c.get(p.value[0])))return!1;return!0}if(o&&u instanceof Set&&c instanceof Set){if(u.size!==c.size)return!1;for(v=u.entries();!(p=v.next()).done;)if(!c.has(p.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(c)){if(d=u.length,d!=c.length)return!1;for(p=d;p--!==0;)if(u[p]!==c[p])return!1;return!0}if(u.constructor===RegExp)return u.source===c.source&&u.flags===c.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf=="function"&&typeof c.valueOf=="function")return u.valueOf()===c.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString=="function"&&typeof c.toString=="function")return u.toString()===c.toString();if(g=Object.keys(u),d=g.length,d!==Object.keys(c).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(c,g[p]))return!1;if(t&&u instanceof Element)return!1;for(p=d;p--!==0;)if(!((g[p]==="_owner"||g[p]==="__v"||g[p]==="__o")&&u.$$typeof)&&!a(u[g[p]],c[g[p]]))return!1;return!0}return u!==u&&c!==c}return tc=function(c,d){try{return a(c,d)}catch(p){if((p.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw p}},tc}var Hb=Wb();const Kb=Qr(Hb);var nc,Wh;function Gb(){if(Wh)return nc;Wh=1;var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function a(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var c={},d=0;d<10;d++)c["_"+String.fromCharCode(d)]=d;var p=Object.getOwnPropertyNames(c).map(function(v){return c[v]});if(p.join("")!=="0123456789")return!1;var g={};return"abcdefghijklmnopqrst".split("").forEach(function(v){g[v]=v}),Object.keys(Object.assign({},g)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return nc=a()?Object.assign:function(u,c){for(var d,p=i(u),g,v=1;v<arguments.length;v++){d=Object(arguments[v]);
10for(var m in d)n.call(d,m)&&(p[m]=d[m]);if(t){g=t(d);for(var w=0;w<g.length;w++)o.call(d,g[w])&&(p[g[w]]=d[g[w]])}}return p},nc}var Yb=Gb();const Qb=Qr(Yb);var Kr={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},ge={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(ge).map(function(t){return ge[t]});var _e={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},Va={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Ki={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},qb=Object.keys(Va).reduce(function(t,n){return t[Va[n]]=n,t},{}),Xb=[ge.NOSCRIPT,ge.SCRIPT,ge.STYLE],tn="data-react-helmet",Zb=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jb=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")},eS=(function(){function t(n,o){for(var i=0;i<o.length;i++){var a=o[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,a.key,a)}}return function(n,o,i){return o&&t(n.prototype,o),i&&t(n,i),n}})(),Ct=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},tS=function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)},Hh=function(t,n){var o={};for(var i in t)n.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i]);return o},nS=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:t},jc=function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return o===!1?String(n):String(n).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},rS=function(n){var o=Do(n,ge.TITLE),i=Do(n,Ki.TITLE_TEMPLATE);if(i&&o)return i.replace(/%s/g,function(){return Array.isArray(o)?o.join(""):o});var a=Do(n,Ki.DEFAULT_TITLE);return o||a||void 0},oS=function(n){return Do(n,Ki.ON_CHANGE_CLIENT_STATE)||function(){}},rc=function(n,o){return o.filter(function(i){return typeof i[n]<"u"}).map(function(i){return i[n]}).reduce(function(i,a){return Ct({},i,a)},{})},iS=function(n,o){return o.filter(function(i){return typeof i[ge.BASE]<"u"}).map(function(i){return i[ge.BASE]}).reverse().reduce(function(i,a){if(!i.length)for(var u=Object.keys(a),c=0;c<u.length;c++){var d=u[c],p=d.toLowerCase();if(n.indexOf(p)!==-1&&a[p])return i.concat(a)}return i},[])},Di=function(n,o,i){var a={};return i.filter(function(u){return Array.isArray(u[n])?!0:(typeof u[n]<"u"&&uS("Helmet: "+n+' should be of type "Array". Instead found type "'+Zb(u[n])+'"'),!1)}).map(function(u){return u[n]}).reverse().reduce(function(u,c){var d={};c.filter(function(w){for(var S=void 0,N=Object.keys(w),E=0;E<N.length;E++){var C=N[E],P=C.toLowerCase();o.indexOf(P)!==-1&&!(S===_e.REL&&w[S].toLowerCase()==="canonical")&&!(P===_e.REL&&w[P].toLowerCase()==="stylesheet")&&(S=P),o.indexOf(C)!==-1&&(C===_e.INNER_HTML||C===_e.CSS_TEXT||C===_e.ITEM_PROP)&&(S=C)}if(!S||!w[S])return!1;var D=w[S].toLowerCase();return a[S]||(a[S]={}),d[S]||(d[S]={}),a[S][D]?!1:(d[S][D]=!0,!0)}).reverse().forEach(function(w){return u.push(w)});for(var p=Object.keys(d),g=0;g<p.length;g++){var v=p[g],m=Qb({},a[v],d[v]);a[v]=m}return u},[]).reverse()},Do=function(n,o){for(var i=n.length-1;i>=0;i--){var a=n[i];if(a.hasOwnProperty(o))return a[o]}return null},sS=function(n){return{baseTag:iS([_e.HREF,_e.TARGET],n),bodyAttributes:rc(Kr.BODY,n),defer:D
10o(n,Ki.DEFER),encode:Do(n,Ki.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:rc(Kr.HTML,n),linkTags:Di(ge.LINK,[_e.REL,_e.HREF],n),metaTags:Di(ge.META,[_e.NAME,_e.CHARSET,_e.HTTPEQUIV,_e.PROPERTY,_e.ITEM_PROP],n),noscriptTags:Di(ge.NOSCRIPT,[_e.INNER_HTML],n),onChangeClientState:oS(n),scriptTags:Di(ge.SCRIPT,[_e.SRC,_e.INNER_HTML],n),styleTags:Di(ge.STYLE,[_e.CSS_TEXT],n),title:rS(n),titleAttributes:rc(Kr.TITLE,n)}},Rc=(function(){var t=Date.now();return function(n){var o=Date.now();o-t>16?(t=o,n(o)):setTimeout(function(){Rc(n)},0)}})(),Kh=function(n){return clearTimeout(n)},aS=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Rc:global.requestAnimationFrame||Rc,lS=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Kh:global.cancelAnimationFrame||Kh,uS=function(n){return console&&typeof console.warn=="function"&&console.warn(n)},Li=null,cS=function(n){Li&&lS(Li),n.defer?Li=aS(function(){Gh(n,function(){Li=null})}):(Gh(n),Li=null)},Gh=function(n,o){var i=n.baseTag,a=n.bodyAttributes,u=n.htmlAttributes,c=n.linkTags,d=n.metaTags,p=n.noscriptTags,g=n.onChangeClientState,v=n.scriptTags,m=n.styleTags,w=n.title,S=n.titleAttributes;Ac(ge.BODY,a),Ac(ge.HTML,u),dS(w,S);var N={baseTag:Co(ge.BASE,i),linkTags:Co(ge.LINK,c),metaTags:Co(ge.META,d),noscriptTags:Co(ge.NOSCRIPT,p),scriptTags:Co(ge.SCRIPT,v),styleTags:Co(ge.STYLE,m)},E={},C={};Object.keys(N).forEach(function(P){var D=N[P],O=D.newTags,F=D.oldTags;O.length&&(E[P]=O),F.length&&(C[P]=N[P].oldTags)}),o&&o(),g(n,E,C)},Gg=function(n){return Array.isArray(n)?n.join(""):n},dS=function(n,o){typeof n<"u"&&document.title!==n&&(document.title=Gg(n)),Ac(ge.TITLE,o)},Ac=function(n,o){var i=document.getElementsByTagName(n)[0];if(i){for(var a=i.getAttribute(tn),u=a?a.split(","):[],c=[].concat(u),d=Object.keys(o),p=0;p<d.length;p++){var g=d[p],v=o[g]||"";i.getAttribute(g)!==v&&i.setAttribute(g,v),u.indexOf(g)===-1&&u.push(g);var m=c.indexOf(g);m!==-1&&c.splice(m,1)}for(var w=c.length-1;w>=0;w--)i.removeAttribute(c[w]);u.length===c.length?i.removeAttribute(tn):i.getAttribute(tn)!==d.join(",")&&i.setAttribute(tn,d.join(","))}},Co=function(n,o){var i=document.head||document.querySelector(ge.HEAD),a=i.querySelectorAll(n+"["+tn+"]"),u=Array.prototype.slice.call(a),c=[],d=void 0;return o&&o.length&&o.forEach(function(p){var g=document.createElement(n);for(var v in p)if(p.hasOwnProperty(v))if(v===_e.INNER_HTML)g.innerHTML=p.innerHTML;else if(v===_e.CSS_TEXT)g.styleSheet?g.styleSheet.cssText=p.cssText:g.appendChild(document.createTextNode(p.cssText));else{var m=typeof p[v]>"u"?"":p[v];g.setAttribute(v,m)}g.setAttribute(tn,"true"),u.some(function(w,S){return d=S,g.isEqualNode(w)})?u.splice(d,1):c.push(g)}),u.forEach(function(p){return p.parentNode.removeChild(p)}),c.forEach(function(p){return i.appendChild(p)}),{oldTags:u,newTags:c}},Yg=function(n){return Object.keys(n).reduce(function(o,i){var a=typeof n[i]<"u"?i+'="'+n[i]+'"':""+i;return o?o+" "+a:a},"")},fS=function(n,o,i,a){var u=Yg(i),c=Gg(o);return u?"<"+n+" "+tn+'="true" '+u+">"+jc(c,a)+"</"+n+">":"<"+n+" "+tn+'="true">'+jc(c,a)+"</"+n+">"},pS=function(n,o,i){return o.reduce(function(a,u){var c=Object.keys(u).filter(function(g){return!(g===_e.INNER_HTML||g===_e.CSS_TEXT)}).reduce(function(g,v){var m=typeof u[v]>"u"?v:v+'="'+jc(u[v],i)+'"';return g?g+" "+m:m},""),d=u.innerHTML||u.cssText||"",p=Xb.indexOf(n)===-1;return a+"<"+n+" "+tn+'="true" '+c+(p?"/>":">"+d+"</"+n+">")},"")},Qg=function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(n).reduce(function(i,a){return i[Va[a]||a]=n[a],i},o)},hS=function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(n).reduce(function(i,a){return i[qb[a]||a]=n[a],i},o)},mS=function(n,o,i){var a,u=(a={key:o},a[tn]=!0,a),c=Qg(i,u);return[W.createElement(ge.TITLE,c,o)]},gS=function(n,o){return o.map(function(i,a){var u,c=(u={key:a},u[tn]=!0,u);
10return Object.keys(i).forEach(function(d){var p=Va[d]||d;if(p===_e.INNER_HTML||p===_e.CSS_TEXT){var g=i.innerHTML||i.cssText;c.dangerouslySetInnerHTML={__html:g}}else c[p]=i[d]}),W.createElement(n,c)})},An=function(n,o,i){switch(n){case ge.TITLE:return{toComponent:function(){return mS(n,o.title,o.titleAttributes)},toString:function(){return fS(n,o.title,o.titleAttributes,i)}};case Kr.BODY:case Kr.HTML:return{toComponent:function(){return Qg(o)},toString:function(){return Yg(o)}};default:return{toComponent:function(){return gS(n,o)},toString:function(){return pS(n,o,i)}}}},qg=function(n){var o=n.baseTag,i=n.bodyAttributes,a=n.encode,u=n.htmlAttributes,c=n.linkTags,d=n.metaTags,p=n.noscriptTags,g=n.scriptTags,v=n.styleTags,m=n.title,w=m===void 0?"":m,S=n.titleAttributes;return{base:An(ge.BASE,o,a),bodyAttributes:An(Kr.BODY,i,a),htmlAttributes:An(Kr.HTML,u,a),link:An(ge.LINK,c,a),meta:An(ge.META,d,a),noscript:An(ge.NOSCRIPT,p,a),script:An(ge.SCRIPT,g,a),style:An(ge.STYLE,v,a),title:An(ge.TITLE,{title:w,titleAttributes:S},a)}},yS=function(n){var o,i;return i=o=(function(a){tS(u,a);function u(){return Jb(this,u),nS(this,a.apply(this,arguments))}return u.prototype.shouldComponentUpdate=function(d){return!Kb(this.props,d)},u.prototype.mapNestedChildrenToProps=function(d,p){if(!p)return null;switch(d.type){case ge.SCRIPT:case ge.NOSCRIPT:return{innerHTML:p};case ge.STYLE:return{cssText:p}}throw new Error("<"+d.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},u.prototype.flattenArrayTypeChildren=function(d){var p,g=d.child,v=d.arrayTypeChildren,m=d.newChildProps,w=d.nestedChildren;return Ct({},v,(p={},p[g.type]=[].concat(v[g.type]||[],[Ct({},m,this.mapNestedChildrenToProps(g,w))]),p))},u.prototype.mapObjectTypeChildren=function(d){var p,g,v=d.child,m=d.newProps,w=d.newChildProps,S=d.nestedChildren;switch(v.type){case ge.TITLE:return Ct({},m,(p={},p[v.type]=S,p.titleAttributes=Ct({},w),p));case ge.BODY:return Ct({},m,{bodyAttributes:Ct({},w)});case ge.HTML:return Ct({},m,{htmlAttributes:Ct({},w)})}return Ct({},m,(g={},g[v.type]=Ct({},w),g))},u.prototype.mapArrayTypeChildrenToProps=function(d,p){var g=Ct({},p);return Object.keys(d).forEach(function(v){var m;g=Ct({},g,(m={},m[v]=d[v],m))}),g}
10,u.prototype.warnOnInvalidChildren=function(d,p){return!0},u.prototype.mapChildrenToProps=function(d,p){var g=this,v={};return W.Children.forEach(d,function(m){if(!(!m||!m.props)){var w=m.props,S=w.children,N=Hh(w,["children"]),E=hS(N);switch(g.warnOnInvalidChildren(m,S),m.type){case ge.LINK:case ge.META:case ge.NOSCRIPT:case ge.SCRIPT:case ge.STYLE:v=g.flattenArrayTypeChildren({child:m,arrayTypeChildren:v,newChildProps:E,nestedChildren:S});break;default:p=g.mapObjectTypeChildren({child:m,newProps:p,newChildProps:E,nestedChildren:S});break}}}),p=this.mapArrayTypeChildrenToProps(v,p),p},u.prototype.render=function(){var d=this.props,p=d.children,g=Hh(d,["children"]),v=Ct({},g);return p&&(v=this.mapChildrenToProps(p,v)),W.createElement(n,v)},eS(u,null,[{key:"canUseDOM",set:function(d){n.canUseDOM=d}}]),u})(W.Component),o.propTypes={base:Oe.object,bodyAttributes:Oe.object,children:Oe.oneOfType([Oe.arrayOf(Oe.node),Oe.node]),defaultTitle:Oe.string,defer:Oe.bool,encodeSpecialCharacters:Oe.bool,htmlAttributes:Oe.object,link:Oe.arrayOf(Oe.object),meta:Oe.arrayOf(Oe.object),noscript:Oe.arrayOf(Oe.object),onChangeClientState:Oe.func,script:Oe.arrayOf(Oe.object),style:Oe.arrayOf(Oe.object),title:Oe.string,titleAttributes:Oe.object,titleTemplate:Oe.string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=n.peek,o.rewind=function(){var a=n.rewind();return a||(a=qg({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),a},i},vS=function(){return null},xS=$b(sS,cS,qg)(vS),nn=yS(xS);nn.renderStatic=nn.rewind;const Xg=b.createContext({});function wS(t){const n=b.useRef(null);return n.current===null&&(n.current=t()),n.current}const id=b.createContext(null),Zg=b.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function bS(t=!0){const n=b.useContext(id);if(n===null)return[!0,null];const{isPresent:o,onExitComplete:i,register:a}=n,u=b.useId();b.useEffect(()=>{t&&a(u)},[t]);const c=b.useCallback(()=>t&&i&&i(u),[u,i,t]);return!o&&i?[!1,c]:[!0]}const sd=typeof window<"u",SS=sd?b.useLayoutEffect:b.useEffect,Dt=t=>t;let Jg=Dt;function ad(t){let n;return()=>(n===void 0&&(n=t()),n)}const _o=(t,n,o)=>{const i=n-t;return i===0?1:(o-t)/i},Dn=t=>t*1e3,Ln=t=>t/1e3,ES={useManualTiming:!1};function CS(t){let n=new Set,o=new Set,i=!1,a=!1;const u=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1};function d(g){u.has(g)&&(p.schedule(g),t()),g(c)}const p={schedule:(g,v=!1,m=!1)=>{const S=m&&i?n:o;return v&&u.add(g),S.has(g)||S.add(g),g},cancel:g=>{o.delete(g),u.delete(g)},process:g=>{if(c=g,i){a=!0;return}
vendor: 28,401 bytes, line 10
10i=!0,[n,o]=[o,n],n.forEach(d),n.clear(),i=!1,a&&(a=!1,p.process(g))}};return p}const Sa=["read","resolveKeyframes","update","preRender","render","postRender"],TS=40;function ey(t,n){let o=!1,i=!0;const a={delta:0,timestamp:0,isProcessing:!1},u=()=>o=!0,c=Sa.reduce((P,D)=>(P[D]=CS(u),P),{}),{read:d,resolveKeyframes:p,update:g,preRender:v,render:m,postRender:w}=c,S=()=>{const P=performance.now();o=!1,a.delta=i?1e3/60:Math.max(Math.min(P-a.timestamp,TS),1),a.timestamp=P,a.isProcessing=!0,d.process(a),p.process(a),g.process(a),v.process(a),m.process(a),w.process(a),a.isProcessing=!1,o&&n&&(i=!1,t(S))},N=()=>{o=!0,i=!0,a.isProcessing||t(S)};return{schedule:Sa.reduce((P,D)=>{const O=c[D];return P[D]=(F,_=!1,G=!1)=>(o||N(),O.schedule(F,_,G)),P},{}),cancel:P=>{for(let D=0;D<Sa.length;D++)c[Sa[D]].cancel(P)},state:a,steps:c}}const{schedule:De,cancel:vr,state:lt,steps:oc}=ey(typeof requestAnimationFrame<"u"?requestAnimationFrame:Dt,!0),ty=b.createContext({strict:!1}),Yh={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"]},Io={};for(const t in Yh)Io[t]={isEnabled:n=>Yh[t].some(o=>!!n[o])};function PS(t){for(const n in t)Io[n]={...Io[n],...t[n]}}const kS=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function za(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||kS.has(t)}let ny=t=>!za(t);function NS(t){t&&(ny=n=>n.startsWith("on")?!za(n):t(n))}try{NS(require("@emotion/is-prop-valid").default)}catch{}function jS(t,n,o){const i={};for(const a in t)a==="values"&&typeof t.values=="object"||(ny(a)||o===!0&&za(a)||!n&&!za(a)||t.draggable&&a.startsWith("onDrag"))&&(i[a]=t[a]);return i}function RS(t){if(typeof Proxy>"u")return t;const n=new Map,o=(...i)=>t(...i);return new Proxy(o,{get:(i,a)=>a==="create"?t:(n.has(a)||n.set(a,t(a)),n.get(a))})}const Ja=b.createContext({});function Gi(t){return typeof t=="string"||Array.isArray(t)}function el(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const ld=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ud=["initial",...ld];function tl(t){return el(t.animate)||ud.some(n=>Gi(t[n]))}function ry(t){return!!(tl(t)||t.variants)}function AS(t,n){if(tl(t)){const{initial:o,animate:i}=t;return{initial:o===!1||Gi(o)?o:void 0,animate:Gi(i)?i:void 0}}return t.inherit!==!1?n:{}}function MS(t){const{initial:n,animate:o}=AS(t,b.useContext(Ja));return b.useMemo(()=>({initial:n,animate:o}),[Qh(n),Qh(o)])}function Qh(t){return Array.isArray(t)?t.join(" "):t}const DS=Symbol.for("motionComponentSymbol");function No(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function LS(t,n,o){return b.useCallback(i=>{i&&t.onMount&&t.onMount(i),n&&(i?n.mount(i):n.unmount()),o&&(typeof o=="function"?o(i):No(o)&&(o.current=i))},[n])}const cd=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),OS="framerAppearId",oy="data-"+cd(OS),{schedule:dd}=ey(queueMicrotask,!1),iy=b.createContext({});function _S(t,n,o,i,a){var u,c;const{visualElement:d}=b.useContext(Ja),p=b.useContext(ty),g=b.useContext(id),v=b.useContext(Zg).reducedMotion,m=b.useRef(null);i=i||p.renderer,!m.current&&i&&(m.current=i(t,{visualState:n,parent:d,props:o,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:v}));const w=m.current,S=b.useContext(iy);w&&!w.projection&&a&&(w.type==="html"||w.type==="svg")&&IS(m.current,o,a,S);const N=b.useRef(!1);b.useInsertionEffect(()=>{w&&N.current&&w.update(o,g)});const E=o[oy],C=b.useRef(!!E&&!(!((u=window.MotionHandoffIsComplete)===null||u===void 0)&&u.call(window,E))&&((c=window.MotionHasOptimisedAnimation)===null||c===void 0?void 0:c.call(window,E)));return SS(()=>{w&&(N.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),dd.render(w.render),C.current&&w.animationState&&w.animationState.animateChanges())}),b.useEffect(()=>{w&&(!C.current&&w.animationState&&w.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var P;(P=window.MotionHandoffMarkAsComplete)===null||P===void 0||P.call(window,E)}),C.current=!1))}),w}function IS(t,n,o,i){const{layoutId:a,layout:u,drag:c,dragConstraints:d,layoutScroll:p,layoutRoot:g}=n;t.projection=new o(t.latestValues,n["data-framer-portal-id"]?void 0:sy(t.parent)),t.projection.setOptions({layoutId:a,layout:u,alwaysMeasureLayout:!!c||d&&No(d),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:i,layoutScroll:p,layoutRoot:g})}function sy(t){if(t)return t.options.allowProjection!==!1?t.projection:sy(t.parent)}function FS({preloadedFeatures:t,createVisualElement:n,useRender:o,useVisualState:i,Component:a}){var u,c;t&&PS(t);function d(g,v){let m;const w={...b.useContext(Zg),...g,layoutId:VS(g)},{isStatic:S}=w,N=MS(g),E=i(g,S);if(!S&&sd){zS();const C=BS(w);m=C.MeasureLayout,N.visualElement=_S(a,E,w,n,C.ProjectionNode)}return y.jsxs(Ja.Provider,{value:N,children:[m&&N.visualElement?y.jsx(m,{visualElement:N.visualElement,...w}):null,o(a,g,LS(E,N.visualElement,v),E,S,N.visualElement)]})}d.displayName=`motion.${typeof a=="string"?a:`create(${(c=(u=a.displayName)!==null&&u!==void 0?u:a.name)!==null&&c!==void 0?c:""})`}`;const p=b.forwardRef(d);return p[DS]=a,p}function VS({layoutId:t}){const n=b.useContext(Xg).id;return n&&t!==void 0?n+"-"+t:t}function zS(t,n){b.useContext(ty).strict}function BS(t){const{drag:n,layout:o}=Io;if(!n&&!o)return{};const i={...n,...o};return{MeasureLayout:n?.isEnabled(t)||o?.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const US=["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 fd(t){return typeof t!="string"||t.includes("-")?!1:!!(US.indexOf(t)>-1||/[A-Z]/u.test(t))}function qh(t){const n=[{},{}];return t?.values.forEach((o,i)=>{n[0][i]=o.get(),n[1][i]=o.getVelocity()}),n}function pd(t,n,o,i){if(typeof n=="function"){const[a,u]=qh(i);n=n(o!==void 0?o:t.custom,a,u)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[a,u]=qh(i);n=n(o!==void 0?o:t.custom,a,u)}return n}const Mc=t=>Array.isArray(t),$S=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),WS=t=>Mc(t)?t[t.length-1]||0:t,mt=t=>!!(t&&t.getVelocity);function Ma(t){const n=mt(t)?t.get():t;return $S(n)?n.toValue():n}function HS({scrapeMotionValuesFromProps:t,createRenderState:n,onUpdate:o},i,a,u){const c={latestValues:KS(i,a,u,t),renderState:n()};return o&&(c.onMount=d=>o({props:i,current:d,...c}),c.onUpdate=d=>o(d)),c}const ay=t=>(n,o)=>{const i=b.useContext(Ja),a=b.useContext(id),u=()=>HS(t,n,i,a);return o?u():wS(u)};function KS(t,n,o,i){const a={},u=i(t,{});for(const w in u)a[w]=Ma(u[w]);let{initial:c,animate:d}=t;const p=tl(t),g=ry(t);n&&g&&!p&&t.inherit!==!1&&(c===void 0&&(c=n.initial),d===void 0&&(d=n.animate));let v=o?o.initial===!1:!1;v=v||c===!1;const m=v?d:c;if(m&&typeof m!="boolean"&&!el(m)){const w=Array.isArray(m)?m:[m];for(let S=0;S<w.length;S++){const N=pd(t,w[S]);if(N){const{transitionEnd:E,transition:C,...P}=N;for(const D in P){let O=P[D];if(Array.isArray(O)){const F=v?O.length-1:0;O=O[F]}O!==null&&(a[D]=O)}for(const D in E)a[D]=E[D]}}}return a}const Bo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],qr=new Set(Bo),ly=t=>n=>typeof n=="string"&&n.startsWith(t),uy=ly("--"),GS=ly("var(--"),hd=t=>GS(t)?YS.test(t.split("/*")[0].trim()):!1,YS=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,cy=(t,n)=>n&&typeof t=="number"?n.transform(t):t,_n=(t,n,o)=>o>n?n:o<t?t:o,Uo={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Yi={...Uo,transform:t=>_n(0,1,t)},Ea={...Uo,default:1},rs=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),mr=rs("deg"),hn=rs("%"),ue=rs("px"),QS=rs("vh"),qS=rs("vw"),Xh={...hn,parse:t=>hn.parse(t)/100,transform:t=>hn.transform(t*100)},XS={borderWidth:ue,borderTopWidth:ue,borderRightWidth:ue,borderBottomWidth:ue,borderLeftWidth:ue,borderRadius:ue,radius:ue,borderTopLeftRadius:ue,borderTopRightRadius:ue,borderBottomRightRadius:ue,borderBottomLeftRadius:ue,width:ue,maxWidth:ue,height:ue,maxHeight:ue,top:ue,right:ue,bottom:ue,left:ue,padding:ue,paddingTop:ue,paddingRight:ue,paddingBottom:ue,paddingLeft:ue,margin:ue,marginTop:ue,marginRight:ue,marginBottom:ue,marginLeft:ue,backgroundPositionX:ue,backgroundPositionY:ue},ZS={rotate:mr,rotateX:mr,rotateY:mr,rotateZ:mr,scale:Ea,scaleX:Ea,scaleY:Ea,scaleZ:Ea,skew:mr,skewX:mr,skewY:mr,distance:ue,translateX:ue,translateY:ue,translateZ:ue,x:ue,y:ue,z:ue,perspective:ue,transformPerspective:ue,opacity:Yi,originX:Xh,originY:Xh,originZ:ue},Zh={...Uo,transform:Math.round},md={...XS,...ZS,zIndex:Zh,size:ue,fillOpacity:Yi,strokeOpacity:Yi,numOctaves:Zh},JS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},e2=Bo.length;function t2(t,n,o){let i="",a=!0;for(let u=0;u<e2;u++){const c=Bo[u],d=t[c];if(d===void 0)continue;let p=!0;if(typeof d=="number"?p=d===(c.startsWith("scale")?1:0):p=parseFloat(d)===0,!p||o){const g=cy(d,md[c]);if(!p){a=!1;const v=JS[c]||c;i+=`${v}(${g}) `}o&&(n[c]=g)}}return i=i.trim(),o?i=o(n,a?"":i):a&&(i="none"),i}function gd(t,n,o){const{style:i,vars:a,transformOrigin:u}=t;let c=!1,d=!1;for(const p in n){const g=n[p];if(qr.has(p)){c=!0;continue}else if(uy(p)){a[p]=g;continue}else{const v=cy(g,md[p]);p.startsWith("origin")?(d=!0,u[p]=v):i[p]=v}}if(n.transform||(c||o?i.transform=t2(n,t.transform,o):i.transform&&(i.transform="none")),d){const{originX:p="50%",originY:g="50%",originZ:v=0}=u;i.transformOrigin=`${p} ${g} ${v}`}}const n2={offset:"stroke-dashoffset",array:"stroke-dasharray"},r2={offset:"strokeDashoffset",array:"strokeDasharray"};function o2(t,n,o=1,i=0,a=!0){t.pathLength=1;const u=a?n2:r2;t[u.offset]=ue.transform(-i);const c=ue.transform(n),d=ue.transform(o);t[u.array]=`${c} ${d}`}function Jh(t,n,o){return typeof t=="string"?t:ue.transform(n+o*t)}function i2(t,n,o){const i=Jh(n,t.x,t.width),a=Jh(o,t.y,t.height);return`${i} ${a}`}function yd(t,{attrX:n,attrY:o,attrScale:i,originX:a,originY:u,pathLength:c,pathSpacing:d=1,pathOffset:p=0,...g},v,m){if(gd(t,g,m),v){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:w,style:S,dimensions:N}=t;w.transform&&(N&&(S.transform=w.transform),delete w.transform),N&&(a!==void 0||u!==void 0||S.transform)&&(S.transformOrigin=i2(N,a!==void 0?a:.5,u!==void 0?u:.5)),n!==void 0&&(w.x=n),o!==void 0&&(w.y=o),i!==void 0&&(w.scale=i),c!==void 0&&o2(w,c,d,p,!1)}const vd=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),dy=()=>({...vd(),attrs:{}}),xd=t=>typeof t=="string"&&t.toLowerCase()==="svg";function fy(t,{style:n,vars:o},i,a){Object.assign(t.style,n,a&&a.getProjectionStyles(i));for(const u in o)t.style.setProperty(u,o[u])}const py=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function hy(t,n,o,i){fy(t,n,void 0,i);for(const a in n.attrs)t.setAttribute(py.has(a)?a:cd(a),n.attrs[a])}const Ba={};function s2(t){Object.assign(Ba,t)}function my(t,{layout:n,layoutId:o}){return qr.has(t)||t.startsWith("origin")||(n||o!==void 0)&&(!!Ba[t]||t==="opacity")}function wd(t,n,o){var i;const{style:a}=t,u={};for(const c in a)(mt(a[c])||n.style&&mt(n.style[c])||my(c,t)||((i=o?.getValue(c))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(u[c]=a[c]);return u}function gy(t,n,o){const i=wd(t,n,o);for(const a in t)if(mt(t[a])||mt(n[a])){const u=Bo.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;i[u]=t[a]}return i}function a2(t,n){try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}const em=["x","y","width","height","cx","cy","r"],l2={useVisualState:ay({scrapeMotionValuesFromProps:gy,createRenderState:dy,onUpdate:({props:t,prevProps:n,current:o,renderState:i,latestValues:a})=>{if(!o)return;let u=!!t.drag;if(!u){for(const d in a)if(qr.has(d)){u=!0;break}}if(!u)return;let c=!n;if(n)for(let d=0;d<em.length;d++){const p=em[d];t[p]!==n[p]&&(c=!0)}c&&De.read(()=>{a2(o,i),De.render(()=>{yd(i,a,xd(o.tagName),t.transformTemplate),hy(o,i)})})}})},u2={useVisualState:ay({scrapeMotionValuesFromProps:wd,createRenderState:vd})};function yy(t,n,o){for(const i in n)!mt(n[i])&&!my(i,o)&&(t[i]=n[i])}function c2({transformTemplate:t},n){return b.useMemo(()=>{const o=vd();return gd(o,n,t),Object.assign({},o.vars,o.style)},[n])}function d2(t,n){const o=t.style||{},i={};return yy(i,o,t),Object.assign(i,c2(t,n)),i}function f2(t,n){const o={},i=d2(t,n);return t.drag&&t.dragListener!==!1&&(o.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(o.tabIndex=0),o.style=i,o}function p2(t,n,o,i){const a=b.useMemo(()=>{const u=dy();return yd(u,n,xd(i),t.transformTemplate),{...u.attrs,style:{...u.style}}},[n]);if(t.style){const u={};yy(u,t.style,t),a.style={...u,...a.style}}return a}function h2(t=!1){return(o,i,a,{latestValues:u},c)=>{const p=(fd(o)?p2:f2)(i,u,c,o),g=jS(i,typeof o=="string",t),v=o!==b.Fragment?{...g,...p,ref:a}:{},{children:m}=i,w=b.useMemo(()=>mt(m)?m.get():m,[m]);return b.createElement(o,{...v,children:w})}}function m2(t,n){return function(i,{forwardMotionProps:a}={forwardMotionProps:!1}){const c={...fd(i)?l2:u2,preloadedFeatures:t,useRender:h2(a),createVisualElement:n,Component:i};return FS(c)}}function vy(t,n){if(!Array.isArray(n))return!1;const o=n.length;if(o!==t.length)return!1;for(let i=0;i<o;i++)if(n[i]!==t[i])return!1;return!0}function nl(t,n,o){const i=t.getProps();return pd(i,n,o!==void 0?o:i.custom,t)}const g2=ad(()=>window.ScrollTimeline!==void 0);class y2{constructor(n){this.stop=()=>this.runAll("stop"),this.animations=n.filter(Boolean)}get finished(){return Promise.all(this.animations.map(n=>"finished"in n?n.finished:n))}getAll(n){return this.animations[0][n]}setAll(n,o){for(let i=0;i<this.animations.length;i++)this.animations[i][n]=o}attachTimeline(n,o){const i=this.animations.map(a=>{if(g2()&&a.attachTimeline)return a.attachTimeline(n);if(typeof o=="function")return o(a)});return()=>{i.forEach((a,u)=>{a&&a(),this.animations[u].stop()})}}get time(){return this.getAll("time")}set time(n){this.setAll("time",n)}get speed(){return this.getAll("speed")}set speed(n){this.setAll("speed",n)}get startTime(){return this.getAll("startTime")}get duration(){let n=0;for(let o=0;o<this.animations.length;o++)n=Math.max(n,this.animations[o].duration);return n}runAll(n){this.animations.forEach(o=>o[n]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class v2 extends y2{then(n,o){return Promise.all(this.animations).then(n).catch(o)}}function bd(t,n){return t?t[n]||t.default||t:void 0}const Dc=2e4;function xy(t){let n=0;const o=50;let i=t.next(n);for(;!i.done&&n<Dc;)n+=o,i=t.next(n);return n>=Dc?1/0:n}function Sd(t){return typeof t=="function"}function tm(t,n){t.timeline=n,t.onfinish=null}const Ed=t=>Array.isArray(t)&&typeof t[0]=="number",x2={linearEasing:void 0};function w2(t,n){const o=ad(t);return()=>{var i;return(i=x2[n])!==null&&i!==void 0?i:o()}}const Ua=w2(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),wy=(t,n,o=10)=>{let i="";const a=Math.max(Math.round(n/o),2);for(let u=0;u<a;u++)i+=t(_o(0,a-1,u))+", ";return`linear(${i.substring(0,i.length-2)})`};function by(t){return!!(typeof t=="function"&&Ua()||!t||typeof t=="string"&&(t in Lc||Ua())||Ed(t)||Array.isArray(t)&&t.every(by))}const Fi=([t,n,o,i])=>`cubic-bezier(${t}, ${n}, ${o}, ${i})`,Lc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Fi([0,.65,.55,1]),circOut:Fi([.55,0,1,.45]),backIn:Fi([.31,.01,.66,-.59]),backOut:Fi([.33,1.53,.69,.99])};function Sy(t,n){if(t)return typeof t=="function"&&Ua()?wy(t,n):Ed(t)?Fi(t):Array.isArray(t)?t.map(o=>Sy(o,n)||Lc.easeOut):Lc[t]}const en={x:!1,y:!1};function Ey(){return en.x||en.y}function b2(t,n,o){var i;if(t instanceof Element)return[t];if(typeof t=="string"){let a=document;const u=(i=void 0)!==null&&i!==void 0?i:a.querySelectorAll(t);return u?Array.from(u):[]}return Array.from(t)}function Cy(t,n){const o=b2(t),i=new AbortController,a={passive:!0,...n,signal:i.signal};return[o,a,()=>i.abort()]}function nm(t){return n=>{n.pointerType==="touch"||Ey()||t(n)}}function S2(t,n,o={}){const[i,a,u]=Cy(t,o),c=nm(d=>{const{target:p}=d,g=n(d);if(typeof g!="function"||!p)return;const v=nm(m=>{g(m),p.removeEventListener("pointerleave",v)});p.addEventListener("pointerleave",v,a)});return i.forEach(d=>{d.addEventListener("pointerenter",c,a)}),u}const Ty=(t,n)=>n?t===n?!0:Ty(t,n.parentElement):!1,Cd=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,E2=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function C2(t){return E2.has(t.tagName)||t.tabIndex!==-1}const Vi=new WeakSet;function rm(t){return n=>{n.key==="Enter"&&t(n)}}function ic(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const T2=(t,n)=>{const o=t.currentTarget;if(!o)return;const i=rm(()=>{if(Vi.has(o))return;ic(o,"down");const a=rm(()=>{ic(o,"up")}),u=()=>ic(o,"cancel");o.addEventListener("keyup",a,n),o.addEventListener("blur",u,n)});o.addEventListener("keydown",i,n),o.addEventListener("blur",()=>o.removeEventListener("keydown",i),n)};function om(t){return Cd(t)&&!Ey()}function P2(t,n,o={}){const[i,a,u]=Cy(t,o),c=d=>{const p=d.currentTarget;if(!om(d)||Vi.has(p))return;Vi.add(p);const g=n(d),v=(S,N)=>{window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",w),!(!om(S)||!Vi.has(p))&&(Vi.delete(p),typeof g=="function"&&g(S,{success:N}))},m=S=>{v(S,o.useGlobalTarget||Ty(p,S.target))},w=S=>{v(S,!1)};window.addEventListener("pointerup",m,a),window.addEventListener("pointercancel",w,a)};return i.forEach(d=>{!C2(d)&&d.getAttribute("tabindex")===null&&(d.tabIndex=0),(o.useGlobalTarget?window:d).addEventListener("pointerdown",c,a),d.addEventListener("focus",g=>T2(g,a),a)}),u}function k2(t){return t==="x"||t==="y"?en[t]?null:(en[t]=!0,()=>{en[t]=!1}):en.x||en.y?null:(en.x=en.y=!0,()=>{en.x=en.y=!1})}const Py=new Set(["width","height","top","left","right","bottom",...Bo]);let Da;function N2(){Da=void 0}const mn={now:()=>(Da===void 0&&mn.set(lt.isProcessing||ES.useManualTiming?lt.timestamp:performance.now()),Da),set:t=>{Da=t,queueMicrotask(N2)}};function Td(t,n){t.indexOf(n)===-1&&t.push(n)}function Pd(t,n){const o=t.indexOf(n);o>-1&&t.splice(o,1)}class kd{constructor(){this.subscriptions=[]}add(n){return Td(this.subscriptions,n),()=>Pd(this.subscriptions,n)}notify(n,o,i){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](n,o,i);else for(let u=0;u<a;u++){const c=this.subscriptions[u];c&&c(n,o,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function ky(t,n){return n?t*(1e3/n):0}const im=30,j2=t=>!isNaN(parseFloat(t));class R2{constructor(n,o={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,a=!0)=>{const u=mn.now();this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),a&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(n),this.owner=o.owner}setCurrent(n){this.current=n,this.updatedAt=mn.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=j2(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,o){this.events[n]||(this.events[n]=new kd);const i=this.events[n].add(o);return n==="change"?()=>{i(),De.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,o){this.passiveEffect=n,this.stopPassiveEffect=o}set(n,o=!0){!o||!this.passiveEffect?this.updateAndNotify(n,o):this.passiveEffect(n,this.updateAndNotify)}setWithVelocity(n,o,i){this.set(o),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-i}jump(n,o=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=mn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>im)return 0;const o=Math.min(this.updatedAt-this.prevUpdatedAt,im);return ky(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(n){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=n(o),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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Qi(t,n){return new R2(t,n)}function A2(t,n,o){t.hasValue(n)?t.getValue(n).set(o):t.addValue(n,Qi(o))}function M2(t,n){const o=nl(t,n);let{transitionEnd:i={},transition:a={},...u}=o||{};u={...u,...i};for(const c in u){const d=WS(u[c]);A2(t,c,d)}}function D2(t){return!!(mt(t)&&t.add)}function Oc(t,n){const o=t.getValue("willChange");if(D2(o))return o.add(n)}function Ny(t){return t.props[oy]}const jy=(t,n,o)=>(((1-3*o+3*n)*t+(3*o-6*n))*t+3*n)*t,L2=1e-7,O2=12;function _2(t,n,o,i,a){let u,c,d=0;do c=n+(o-n)/2,u=jy(c,i,a)-t,u>0?o=c:n=c;while(Math.abs(u)>L2&&++d<O2);return c}function os(t,n,o,i){if(t===n&&o===i)return Dt;const a=u=>_2(u,0,1,t,o);return u=>u===0||u===1?u:jy(a(u),n,i)}const Ry=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,Ay=t=>n=>1-t(1-n),My=os(.33,1.53,.69,.99),Nd=Ay(My),Dy=Ry(Nd),Ly=t=>(t*=2)<1?.5*Nd(t):.5*(2-Math.pow(2,-10*(t-1))),jd=t=>1-Math.sin(Math.acos(t)),Oy=Ay(jd),_y=Ry(jd),Iy=t=>/^0[^.\s]+$/u.test(t);function I2(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Iy(t):!0}const Bi=t=>Math.round(t*1e5)/1e5,Rd=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function F2(t){return t==null}const V2=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ad=(t,n)=>o=>!!(typeof o=="string"&&V2.test(o)&&o.startsWith(t)||n&&!F2(o)&&Object.prototype.hasOwnProperty.call(o,n)),Fy=(t,n,o)=>i=>{if(typeof i!="string")return i;const[a,u,c,d]=i.match(Rd);return{[t]:parseFloat(a),[n]:parseFloat(u),[o]:parseFloat(c),alpha:d!==void 0?parseFloat(d):1}},z2=t=>_n(0,255,t),sc={...Uo,transform:t=>Math.round(z2(t))},Wr={test:Ad("rgb","red"),parse:Fy("red","green","blue"),transform:({red:t,green:n,blue:o,alpha:i=1})=>"rgba("+sc.transform(t)+", "+sc.transform(n)+", "+sc.transform(o)+", "+Bi(Yi.transform(i))+")"};function B2(t){let n="",o="",i="",a="";return t.length>5?(n=t.substring(1,3),o=t.substring(3,5),i=t.substring(5,7),a=t.substring(7,9)):(n=t.substring(1,2),o=t.substring(2,3),i=t.substring(3,4),a=t.substring(4,5),n+=n,o+=o,i+=i,a+=a),{red:parseInt(n,16),green:parseInt(o,16),blue:parseInt(i,16),alpha:a?parseInt(a,16)/255:1}}const _c={test:Ad("#"),parse:B2,transform:Wr.transform},jo={test:Ad("hsl","hue"),parse:Fy("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:o,alpha:i=1})=>"hsla("+Math.round(t)+", "+hn.transform(Bi(n))+", "+hn.transform(Bi(o))+", "+Bi(Yi.transform(i))+")"},ht={test:t=>Wr.test(t)||_c.test(t)||jo.test(t),parse:t=>Wr.test(t)?Wr.parse(t):jo.test(t)?jo.parse(t):_c.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Wr.transform(t):jo.transform(t)},U2=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function $2(t){var n,o;return isNaN(t)&&typeof t=="string"&&(((n=t.match(Rd))===null||n===void 0?void 0:n.length)||0)+(((o=t.match(U2))===null||o===void 0?void 0:o.length)||0)>0}const Vy="number",zy="color",W2="var",H2="var(",sm="${}",K2=/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 qi(t){const n=t.toString(),o=[],i={color:[],number:[],var:[]},a=[];let u=0;const d=n.replace(K2,p=>(ht.test(p)?(i.color.push(u),a.push(zy),o.push(ht.parse(p))):p.startsWith(H2)?(i.var.push(u),a.push(W2),o.push(p)):(i.number.push(u),a.push(Vy),o.push(parseFloat(p))),++u,sm)).split(sm);return{values:o,split:d,indexes:i,types:a}}function By(t){return qi(t).values}function Uy(t){const{split:n,types:o}=qi(t),i=n.length;return a=>{let u="";for(let c=0;c<i;c++)if(u+=n[c],a[c]!==void 0){const d=o[c];d===Vy?u+=Bi(a[c]):d===zy?u+=ht.transform(a[c]):u+=a[c]}return u}}const G2=t=>typeof t=="number"?0:t;function Y2(t){const n=By(t);return Uy(t)(n.map(G2))}const xr={test:$2,parse:By,createTransformer:Uy,getAnimatableNone:Y2},Q2=new Set(["brightness","contrast","saturate","opacity"]);function q2(t){const[n,o]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[i]=o.match(Rd)||[];if(!i)return t;const a=o.replace(i,"");let u=Q2.has(n)?1:0;return i!==o&&(u*=100),n+"("+u+a+")"}const X2=/\b([a-z-]*)\(.*?\)/gu,Ic={...xr,getAnimatableNone:t=>{const n=t.match(X2);return n?n.map(q2).join(" "):t}},Z2={...md,color:ht,backgroundColor:ht,outlineColor:ht,fill:ht,stroke:ht,borderColor:ht,borderTopColor:ht,borderRightColor:ht,borderBottomColor:ht,borderLeftColor:ht,filter:Ic,WebkitFilter:Ic},Md=t=>Z2[t];function $y(t,n){let o=Md(t);return o!==Ic&&(o=xr),o.getAnimatableNone?o.getAnimatableNone(n):void 0}const J2=new Set(["auto","none","0"]);function eE(t,n,o){let i=0,a;for(;i<t.length&&!a;){const u=t[i];typeof u=="string"&&!J2.has(u)&&qi(u).values.length&&(a=t[i]),i++}if(a&&o)for(const u of n)t[u]=$y(o,a)}const am=t=>t===Uo||t===ue,lm=(t,n)=>parseFloat(t.split(", ")[n]),um=(t,n)=>(o,{transform:i})=>{if(i==="none"||!i)return 0;const a=i.match(/^matrix3d\((.+)\)$/u);if(a)return lm(a[1],n);{const u=i.match(/^matrix\((.+)\)$/u);return u?lm(u[1],t):0}},tE=new Set(["x","y","z"]),nE=Bo.filter(t=>!tE.has(t));function rE(t){const n=[];return nE.forEach(o=>{const i=t.getValue(o);i!==void 0&&(n.push([o,i.get()]),i.set(o.startsWith("scale")?1:0))}),n}const Fo={width:({x:t},{paddingLeft:n="0",paddingRight:o="0"})=>t.max-t.min-parseFloat(n)-parseFloat(o),height:({y:t},{paddingTop:n="0",paddingBottom:o="0"})=>t.max-t.min-parseFloat(n)-parseFloat(o),top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:um(4,13),y:um(5,14)};Fo.translateX=Fo.x;Fo.translateY=Fo.y;const Gr=new Set;let Fc=!1,Vc=!1;function Wy(){if(Vc){const t=Array.from(Gr).filter(i=>i.needsMeasurement),n=new Set(t.map(i=>i.element)),o=new Map;
vendor: 5,414 bytes, line 10
10n.forEach(i=>{const a=rE(i);a.length&&(o.set(i,a),i.render())}),t.forEach(i=>i.measureInitialState()),n.forEach(i=>{i.render();const a=o.get(i);a&&a.forEach(([u,c])=>{var d;(d=i.getValue(u))===null||d===void 0||d.set(c)})}),t.forEach(i=>i.measureEndState()),t.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Vc=!1,Fc=!1,Gr.forEach(t=>t.complete()),Gr.clear()}function Hy(){Gr.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Vc=!0)})}function oE(){Hy(),Wy()}class Dd{constructor(n,o,i,a,u,c=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...n],this.onComplete=o,this.name=i,this.motionValue=a,this.element=u,this.isAsync=c}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Gr.add(this),Fc||(Fc=!0,De.read(Hy),De.resolveKeyframes(Wy))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:o,element:i,motionValue:a}=this;for(let u=0;u<n.length;u++)if(n[u]===null)if(u===0){const c=a?.get(),d=n[n.length-1];if(c!==void 0)n[0]=c;else if(i&&o){const p=i.readValue(o,d);p!=null&&(n[0]=p)}n[0]===void 0&&(n[0]=d),a&&c===void 0&&a.set(n[0])}else n[u]=n[u-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Gr.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Gr.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Ky=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),iE=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function sE(t){const n=iE.exec(t);if(!n)return[,];const[,o,i,a]=n;return[`--${o??i}`,a]}function Gy(t,n,o=1){const[i,a]=sE(t);if(!i)return;const u=window.getComputedStyle(n).getPropertyValue(i);if(u){const c=u.trim();return Ky(c)?parseFloat(c):c}return hd(a)?Gy(a,n,o+1):a}const Yy=t=>n=>n.test(t),aE={test:t=>t==="auto",parse:t=>t},Qy=[Uo,ue,hn,mr,qS,QS,aE],cm=t=>Qy.find(Yy(t));class qy extends Dd{constructor(n,o,i,a,u){super(n,o,i,a,u,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:o,name:i}=this;if(!o||!o.current)return;super.readKeyframes();for(let p=0;p<n.length;p++){let g=n[p];if(typeof g=="string"&&(g=g.trim(),hd(g))){const v=Gy(g,o.current);v!==void 0&&(n[p]=v),p===n.length-1&&(this.finalKeyframe=g)}}if(this.resolveNoneKeyframes(),!Py.has(i)||n.length!==2)return;const[a,u]=n,c=cm(a),d=cm(u);if(c!==d)if(am(c)&&am(d))for(let p=0;p<n.length;p++){const g=n[p];typeof g=="string"&&(n[p]=parseFloat(g))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:o}=this,i=[];for(let a=0;a<n.length;a++)I2(n[a])&&i.push(a);i.length&&eE(n,i,o)}measureInitialState(){const{element:n,unresolvedKeyframes:o,name:i}=this;if(!n||!n.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Fo[i](n.measureViewportBox(),window.getComputedStyle(n.current)),o[0]=this.measuredOrigin;const a=o[o.length-1];a!==void 0&&n.getValue(i,a).jump(a,!1)}measureEndState(){var n;const{element:o,name:i,unresolvedKeyframes:a}=this;if(!o||!o.current)return;const u=o.getValue(i);u&&u.jump(this.measuredOrigin,!1);const c=a.length-1,d=a[c];a[c]=Fo[i](o.measureViewportBox(),window.getComputedStyle(o.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),!((n=this.removedTransforms)===null||n===void 0)&&n.length&&this.removedTransforms.forEach(([p,g])=>{o.getValue(p).set(g)}),this.resolveNoneKeyframes()}}const dm=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(xr.test(t)||t==="0")&&!t.startsWith("url("));function lE(t){const n=t[0];if(t.length===1)return!0;for(let o=0;o<t.length;o++)if(t[o]!==n)return!0}function uE(t,n,o,i){const a=t[0];if(a===null)return!1;if(n==="display"||n==="visibility")return!0;const u=t[t.length-1],c=dm(a,n),d=dm(u,n);return!c||!d?!1:lE(t)||(o==="spring"||Sd(o))&&i}const cE=t=>t!==null;function rl(t,{repeat:n,repeatType:o="loop"},i){const a=t.filter(cE),u=n&&o!=="loop"&&n%2===1?0:a.length-1;return!u||i===void 0?a[u]:i}const dE=40;class Xy{constructor({autoplay:n=!0,delay:o=0,type:i="keyframes",repeat:a=0,repeatDelay:u=0,repeatType:c="loop",...d}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=mn.now(),this.options={autoplay:n,delay:o,type:i,repeat:a,repeatDelay:u,repeatType:c,...d},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>dE?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&oE(),this._resolved}onKeyframesResolved(n,o){this.resolvedAt=mn.now(),this.hasAttemptedResolve=!0;const{name:i,type:a,velocity:u,delay:c,onComplete:d,onUpdate:p,isGenerator:g}=this.options;if(!g&&!uE(n,i,a,u))if(c)this.options.duration=0;else{p&&p(rl(n,this.options,o)),d&&d(),this.resolveFinishedPromise();return}const v=this.initPlayback(n,o);v!==!1&&(this._resolved={keyframes:n,finalKeyframe:o,...v},this.onPostResolved())}onPostResolved(){}then(n,o){return this.currentFinishedPromise.then(n,o)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(n=>{this.resolveFinishedPromise=n})}}const Ve=(t,n,o)=>t+(n-t)*o;function ac(t,n,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?t+(n-t)*6*o:o<1/2?n:o<2/3?t+(n-t)*(2/3-o)*6:t}function fE({hue:t,saturation:n,lightness:o,alpha:i}
vendor: 13,282 bytes, line 10
10){t/=360,n/=100,o/=100;let a=0,u=0,c=0;if(!n)a=u=c=o;else{const d=o<.5?o*(1+n):o+n-o*n,p=2*o-d;a=ac(p,d,t+1/3),u=ac(p,d,t),c=ac(p,d,t-1/3)}return{red:Math.round(a*255),green:Math.round(u*255),blue:Math.round(c*255),alpha:i}}function $a(t,n){return o=>o>0?n:t}const lc=(t,n,o)=>{const i=t*t,a=o*(n*n-i)+i;return a<0?0:Math.sqrt(a)},pE=[_c,Wr,jo],hE=t=>pE.find(n=>n.test(t));function fm(t){const n=hE(t);if(!n)return!1;let o=n.parse(t);return n===jo&&(o=fE(o)),o}const pm=(t,n)=>{const o=fm(t),i=fm(n);if(!o||!i)return $a(t,n);const a={...o};return u=>(a.red=lc(o.red,i.red,u),a.green=lc(o.green,i.green,u),a.blue=lc(o.blue,i.blue,u),a.alpha=Ve(o.alpha,i.alpha,u),Wr.transform(a))},mE=(t,n)=>o=>n(t(o)),is=(...t)=>t.reduce(mE),zc=new Set(["none","hidden"]);function gE(t,n){return zc.has(t)?o=>o<=0?t:n:o=>o>=1?n:t}function yE(t,n){return o=>Ve(t,n,o)}function Ld(t){return typeof t=="number"?yE:typeof t=="string"?hd(t)?$a:ht.test(t)?pm:wE:Array.isArray(t)?Zy:typeof t=="object"?ht.test(t)?pm:vE:$a}function Zy(t,n){const o=[...t],i=o.length,a=t.map((u,c)=>Ld(u)(u,n[c]));return u=>{for(let c=0;c<i;c++)o[c]=a[c](u);return o}}function vE(t,n){const o={...t,...n},i={};for(const a in o)t[a]!==void 0&&n[a]!==void 0&&(i[a]=Ld(t[a])(t[a],n[a]));return a=>{for(const u in i)o[u]=i[u](a);return o}}function xE(t,n){var o;const i=[],a={color:0,var:0,number:0};for(let u=0;u<n.values.length;u++){const c=n.types[u],d=t.indexes[c][a[c]],p=(o=t.values[d])!==null&&o!==void 0?o:0;i[u]=p,a[c]++}return i}const wE=(t,n)=>{const o=xr.createTransformer(n),i=qi(t),a=qi(n);return i.indexes.var.length===a.indexes.var.length&&i.indexes.color.length===a.indexes.color.length&&i.indexes.number.length>=a.indexes.number.length?zc.has(t)&&!a.values.length||zc.has(n)&&!i.values.length?gE(t,n):is(Zy(xE(i,a),a.values),o):$a(t,n)};function Jy(t,n,o){return typeof t=="number"&&typeof n=="number"&&typeof o=="number"?Ve(t,n,o):Ld(t)(t,n)}const bE=5;function ev(t,n,o){const i=Math.max(n-bE,0);return ky(o-t(i),n-i)}const $e={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},uc=.001;function SE({duration:t=$e.duration,bounce:n=$e.bounce,velocity:o=$e.velocity,mass:i=$e.mass}){let a,u,c=1-n;c=_n($e.minDamping,$e.maxDamping,c),t=_n($e.minDuration,$e.maxDuration,Ln(t)),c<1?(a=g=>{const v=g*c,m=v*t,w=v-o,S=Bc(g,c),N=Math.exp(-m);return uc-w/S*N},u=g=>{const m=g*c*t,w=m*o+o,S=Math.pow(c,2)*Math.pow(g,2)*t,N=Math.exp(-m),E=Bc(Math.pow(g,2),c);return(-a(g)+uc>0?-1:1)*((w-S)*N)/E}):(a=g=>{const v=Math.exp(-g*t),m=(g-o)*t+1;return-uc+v*m},u=g=>{const v=Math.exp(-g*t),m=(o-g)*(t*t);return v*m});const d=5/t,p=CE(a,u,d);if(t=Dn(t),isNaN(p))return{stiffness:$e.stiffness,damping:$e.damping,duration:t};{const g=Math.pow(p,2)*i;return{stiffness:g,damping:c*2*Math.sqrt(i*g),duration:t}}}const EE=12;function CE(t,n,o){let i=o;for(let a=1;a<EE;a++)i=i-t(i)/n(i);return i}function Bc(t,n){return t*Math.sqrt(1-n*n)}const TE=["duration","bounce"],PE=["stiffness","damping","mass"];function hm(t,n){return n.some(o=>t[o]!==void 0)}function kE(t){let n={velocity:$e.velocity,stiffness:$e.stiffness,damping:$e.damping,mass:$e.mass,isResolvedFromDuration:!1,...t};if(!hm(t,PE)&&hm(t,TE))if(t.visualDuration){const o=t.visualDuration,i=2*Math.PI/(o*1.2),a=i*i,u=2*_n(.05,1,1-(t.bounce||0))*Math.sqrt(a);n={...n,mass:$e.mass,stiffness:a,damping:u}}else{const o=SE(t);n={...n,...o,mass:$e.mass},n.isResolvedFromDuration=!0}return n}function tv(t=$e.visualDuration,n=$e.bounce){const o=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:i,restDelta:a}=o;const u=o.keyframes[0],c=o.keyframes[o.keyframes.length-1],d={done:!1,value:u},{stiffness:p,damping:g,mass:v,duration:m,velocity:w,isResolvedFromDuration:S}=kE({...o,velocity:-Ln(o.velocity||0)}),N=w||0,E=g/(2*Math.sqrt(p*v)),C=c-u,P=Ln(Math.sqrt(p/v)),D=Math.abs(C)<5;i||(i=D?$e.restSpeed.granular:$e.restSpeed.default),a||(a=D?$e.restDelta.granular:$e.restDelta.default);let O;if(E<1){const _=Bc(P,E);O=G=>{const K=Math.exp(-E*P*G);return c-K*((N+E*P*C)/_*Math.sin(_*G)+C*Math.cos(_*G))}}else if(E===1)O=_=>c-Math.exp(-P*_)*(C+(N+P*C)*_);else{const _=P*Math.sqrt(E*E-1);O=G=>{const K=Math.exp(-E*P*G),Y=Math.min(_*G,300);return c-K*((N+E*P*C)*Math.sinh(Y)+_*C*Math.cosh(Y))/_}}const F={calculatedDuration:S&&m||null,next:_=>{const G=O(_);if(S)d.done=_>=m;else{let K=0;E<1&&(K=_===0?Dn(N):ev(O,_,G));const Y=Math.abs(K)<=i,he=Math.abs(c-G)<=a;d.done=Y&&he}return d.value=d.done?c:G,d},toString:()=>{const _=Math.min(xy(F),Dc),G=wy(K=>F.next(_*K).value,_,30);return _+"ms "+G}};return F}function mm({keyframes:t,velocity:n=0,power:o=.8,timeConstant:i=325,bounceDamping:a=10,bounceStiffness:u=500,modifyTarget:c,min:d,max:p,restDelta:g=.5,restSpeed:v}){const m=t[0],w={done:!1,value:m},S=Y=>d!==void 0&&Y<d||p!==void 0&&Y>p,N=Y=>d===void 0?p:p===void 0||Math.abs(d-Y)<Math.abs(p-Y)?d:p;let E=o*n;const C=m+E,P=c===void 0?C:c(C);P!==C&&(E=P-m);const D=Y=>-E*Math.exp(-Y/i),O=Y=>P+D(Y),F=Y=>{const he=D(Y),ye=O(Y);w.done=Math.abs(he)<=g,w.value=w.done?P:ye};let _,G;const K=Y=>{S(w.value)&&(_=Y,G=tv({keyframes:[w.value,N(w.value)],velocity:ev(O,Y,w.value),damping:a,stiffness:u,restDelta:g,restSpeed:v}))};return K(0),{calculatedDuration:null,next:Y=>{let he=!1;return!G&&_===void 0&&(he=!0,F(Y),K(Y)),_!==void 0&&Y>=_?G.next(Y-_):(!he&&F(Y),w)}}}const NE=os(.42,0,1,1),jE=os(0,0,.58,1),nv=os(.42,0,.58,1),RE=t=>Array.isArray(t)&&typeof t[0]!="number",AE={linear:Dt,easeIn:NE,easeInOut:nv,easeOut:jE,circIn:jd,circInOut:_y,circOut:Oy,backIn:Nd,backInOut:Dy,backOut:My,anticipate:Ly},gm=t=>{if(Ed(t)){Jg(t.length===4);const[n,o,i,a]=t;return os(n,o,i,a)}else if(typeof t=="string")return AE[t];return t};function ME(t,n,o){const i=[],a=o||Jy,u=t.length-1;for(let c=0;c<u;c++){let d=a(t[c],t[c+1]);if(n){const p=Array.isArray(n)?n[c]||Dt:n;d=is(p,d)}i.push(d)}return i}function DE(t,n,{clamp:o=!0,ease:i,mixer:a}={}){const u=t.length;if(Jg(u===n.length),u===1)return()=>n[0];if(u===2&&n[0]===n[1])return()=>n[1];const c=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),n=[...n].reverse());const d=ME(n,i,a),p=d.length,g=v=>{if(c&&v<t[0])return n[0];let m=0;if(p>1)for(;m<t.length-2&&!(v<t[m+1]);m++);const w=_o(t[m],t[m+1],v);return d[m](w)};return o?v=>g(_n(t[0],t[u-1],v)):g}function LE(t,n){const o=t[t.length-1];for(let i=1;i<=n;i++){const a=_o(0,n,i);t.push(Ve(o,1,a))}}function OE(t){const n=[0];return LE(n,t.length-1),n}function _E(t,n){return t.map(o=>o*n)}function IE(t,n){return t.map(()=>n||nv).splice(0,t.length-1)}function Wa({duration:t=300,keyframes:n,times:o,ease:i="easeInOut"}){const a=RE(i)?i.map(gm):gm(i),u={done:!1,value:n[0]},c=_E(o&&o.length===n.length?o:OE(n),t),d=DE(c,n,{ease:Array.isArray(a)?a:IE(n,a)});return{calculatedDuration:t,next:p=>(u.value=d(p),u.done=p>=t,u)}}const FE=t=>{const n=({timestamp:o})=>t(o);return{start:()=>De.update(n,!0),stop:()=>vr(n),now:()=>lt.isProcessing?lt.timestamp:mn.now()}},VE={decay:mm,inertia:mm,tween:Wa,keyframes:Wa,spring:tv},zE=t=>t/100;class Od extends Xy{constructor(n){super(n),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:p}=this.options;p&&p()};const{name:o,motionValue:i,element:a,keyframes:u}=this.options,c=a?.KeyframeResolver||Dd,d=(p,g)=>this.onKeyframesResolved(p,g);this.resolver=new c(u,d,o,i,a),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(n){const{type:o="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:u,velocity:c=0}=this.options,d=Sd(o)?o:VE[o]||Wa;let p,g;d!==Wa&&typeof n[0]!="number"&&(p=is(zE,Jy(n[0],n[1])),n=[0,100]);const v=d({...this.options,keyframes:n});u==="mirror"&&(g=d({...this.options,keyframes:[...n].reverse(),velocity:-c})),v.calculatedDuration===null&&(v.calculatedDuration=xy(v));const{calculatedDuration:m}=v,w=m+a,S=w*(i+1)-a;return{generator:v,mirroredGenerator:g,mapPercentToKeyframes:p,calculatedDuration:m,resolvedDuration:w,totalDuration:S}}onPostResolved(){const{autoplay:n=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!n?this.pause():this.state=this.pendingPlayState}tick(n,o=!1){const{resolved:i}=this;if(!i){const{keyframes:Y}=this.options;return{done:!0,value:Y[Y.length-1]}}const{finalKeyframe:a,generator:u,mirroredGenerator:c,mapPercentToKeyframes:d,keyframes:p,calculatedDuration:g,totalDuration:v,resolvedDuration:m}=i;if(this.startTime===null)return u.next(0);const{delay:w,repeat:S,repeatType:N,repeatDelay:E,onUpdate:C}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-v/this.speed,this.startTime)),o?this.currentTime=n:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(n-this.startTime)*this.speed;const P=this.currentTime-w*(this.speed>=0?1:-1),D=this.speed>=0?P<0:P>v;this.currentTime=Math.max(P,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=v);let O=this.currentTime,F=u;if(S){const Y=Math.min(this.currentTime,v)/m;let he=Math.floor(Y),ye=Y%1;!ye&&Y>=1&&(ye=1),ye===1&&he--,he=Math.min(he,S+1),he%2&&(N==="reverse"?(ye=1-ye,E&&(ye-=E/m)):N==="mirror"&&(F=c)),O=_n(0,1,ye)*m}const _=D?{done:!1,value:p[0]}:F.next(O);d&&(_.value=d(_.value));let{done:G}=_;!D&&g!==null&&(G=this.speed>=0?this.currentTime>=v:this.currentTime<=0);const K=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&G);return K&&a!==void 0&&(_.value=rl(p,this.options,a)),C&&C(_.value),K&&this.finish(),_}get duration(){const{resolved:n}=this;return n?Ln(n.calculatedDuration):0}get time(){return Ln(this.currentTime)}set time(n){n=Dn(n),this.currentTime=n,this.holdTime!==null||this.speed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.speed)}get speed(){return this.playbackSpeed}set speed(n){const o=this.playbackSpeed!==n;this.playbackSpeed=n,o&&(this.time=Ln(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:n=FE,onPlay:o,startTime:i}=this.options;this.driver||(this.driver=n(u=>this.tick(u))),o&&o();const a=this.driver.now();this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=a):this.startTime=i??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var n;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(n=this.currentTime)!==null&&n!==void 0?n:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:n}=this.options;n&&n()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}}const BE=new Set(["opacity","clipPath","filter","transform"]);function UE(t,n,o,{delay:i=0,duration:a=300,repeat:u=0,repeatType:c="loop",ease:d="easeInOut",times:p}={}){const g={[n]:o};p&&(g.offset=p);const v=Sy(d,a);return Array.isArray(v)&&(g.easing=v),t.animate(g,{delay:i,duration:a,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:u+1,direction:c==="reverse"?"alternate":"normal"})}const $E=ad(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ha=10,WE=2e4;function HE(t){return Sd(t.type)||t.type==="spring"||!by(t.ease)}function KE(t,n){const o=new Od({...n,keyframes:t,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:t[0]};const a=[];let u=0;for(;!i.done&&u<WE;)i=o.sample(u),a.push(i.value),u+=Ha;return{times:void 0,keyframes:a,duration:u-Ha,ease:"linear"}}const rv={anticipate:Ly,backInOut:Dy,circInOut:_y};function GE(t){return t in rv}class ym extends Xy{constructor(n){super(n);const{name:o,motionValue:i,element:a,keyframes:u}=this.options;this.resolver=new qy(u,(c,d)=>this.onKeyframesResolved(c,d),o,i,a),this.resolver.scheduleResolve()}initPlayback(n,o){let{duration:i=300,times:a,ease:u,type:c,motionValue:d,name:p,startTime:g}=this.options;if(!d.owner||!d.owner.current)return!1;if(typeof u=="string"&&Ua()&&GE(u)&&(u=rv[u]),HE(this.options)){const{onComplete:m,onUpdate:w,motionValue:S,element:N,...E}=this.options,C=KE(n,E);n=C.keyframes,n.length===1&&(n[1]=n[0]),i=C.duration,a=C.times,u=C.ease,c="keyframes"}const v=UE(d.owner.current,p,n,{...this.options,duration:i,times:a,ease:u});return v.startTime=g??this.calcStartTime(),this.pendingTimeline?(tm(v,this.pendingTimeline),this.pendingTimeline=void 0):v.onfinish=()=>{const{onComplete:m}=this.options;d.set(rl(n,this.options,o)),m&&m(),this.cancel(),this.resolveFinishedProm
vendor: 2,595 bytes, line 10
10ise()},{animation:v,duration:i,times:a,type:c,ease:u,keyframes:n}}get duration(){const{resolved:n}=this;if(!n)return 0;const{duration:o}=n;return Ln(o)}get time(){const{resolved:n}=this;if(!n)return 0;const{animation:o}=n;return Ln(o.currentTime||0)}set time(n){const{resolved:o}=this;if(!o)return;const{animation:i}=o;i.currentTime=Dn(n)}get speed(){const{resolved:n}=this;if(!n)return 1;const{animation:o}=n;return o.playbackRate}set speed(n){const{resolved:o}=this;if(!o)return;const{animation:i}=o;i.playbackRate=n}get state(){const{resolved:n}=this;if(!n)return"idle";const{animation:o}=n;return o.playState}get startTime(){const{resolved:n}=this;if(!n)return null;const{animation:o}=n;return o.startTime}attachTimeline(n){if(!this._resolved)this.pendingTimeline=n;else{const{resolved:o}=this;if(!o)return Dt;const{animation:i}=o;tm(i,n)}return Dt}play(){if(this.isStopped)return;const{resolved:n}=this;if(!n)return;const{animation:o}=n;o.playState==="finished"&&this.updateFinishedPromise(),o.play()}pause(){const{resolved:n}=this;if(!n)return;const{animation:o}=n;o.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:n}=this;if(!n)return;const{animation:o,keyframes:i,duration:a,type:u,ease:c,times:d}=n;if(o.playState==="idle"||o.playState==="finished")return;if(this.time){const{motionValue:g,onUpdate:v,onComplete:m,element:w,...S}=this.options,N=new Od({...S,keyframes:i,duration:a,type:u,ease:c,times:d,isGenerator:!0}),E=Dn(this.time);g.setWithVelocity(N.sample(E-Ha).value,N.sample(E).value,Ha)}const{onStop:p}=this.options;p&&p(),this.cancel()}complete(){const{resolved:n}=this;n&&n.animation.finish()}cancel(){const{resolved:n}=this;n&&n.animation.cancel()}static supports(n){const{motionValue:o,name:i,repeatDelay:a,repeatType:u,damping:c,type:d}=n;if(!o||!o.owner||!(o.owner.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:g}=o.owner.getProps();return $E()&&i&&BE.has(i)&&!p&&!g&&!a&&u!=="mirror"&&c!==0&&d!=="inertia"}}const YE={type:"spring",stiffness:500,damping:25,restSpeed:10},QE=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),qE={type:"keyframes",duration:.8},XE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ZE=(t,{keyframes:n})=>n.length>2?qE:qr.has(t)?t.startsWith("scale")?QE(n[1]):YE:XE;function JE({when:t,delay:n,delayChildren:o,staggerChildren:i,staggerDirection:a,repeat:u,repeatType:c,repeatDelay:d,from:p,elapsed:g,...v}){return!!Object.keys(v).length}const _d=(t,n,o,i={},a,u)=>c=>
vendor: 51,316 bytes, line 10
10{const d=bd(i,t)||{},p=d.delay||i.delay||0;let{elapsed:g=0}=i;g=g-Dn(p);let v={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:n.getVelocity(),...d,delay:-g,onUpdate:w=>{n.set(w),d.onUpdate&&d.onUpdate(w)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:t,motionValue:n,element:u?void 0:a};JE(d)||(v={...v,...ZE(t,v)}),v.duration&&(v.duration=Dn(v.duration)),v.repeatDelay&&(v.repeatDelay=Dn(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let m=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(v.duration=0,v.delay===0&&(m=!0)),m&&!u&&n.get()!==void 0){const w=rl(v.keyframes,d);if(w!==void 0)return De.update(()=>{v.onUpdate(w),v.onComplete()}),new v2([])}return!u&&ym.supports(v)?new ym(v):new Od(v)};function eC({protectedKeys:t,needsAnimating:n},o){const i=t.hasOwnProperty(o)&&n[o]!==!0;return n[o]=!1,i}function ov(t,n,{delay:o=0,transitionOverride:i,type:a}={}){var u;let{transition:c=t.getDefaultTransition(),transitionEnd:d,...p}=n;i&&(c=i);const g=[],v=a&&t.animationState&&t.animationState.getState()[a];for(const m in p){const w=t.getValue(m,(u=t.latestValues[m])!==null&&u!==void 0?u:null),S=p[m];if(S===void 0||v&&eC(v,m))continue;const N={delay:o,...bd(c||{},m)};let E=!1;if(window.MotionHandoffAnimation){const P=Ny(t);if(P){const D=window.MotionHandoffAnimation(P,m,De);D!==null&&(N.startTime=D,E=!0)}}Oc(t,m),w.start(_d(m,w,S,t.shouldReduceMotion&&Py.has(m)?{type:!1}:N,t,E));const C=w.animation;C&&g.push(C)}return d&&Promise.all(g).then(()=>{De.update(()=>{d&&M2(t,d)})}),g}function Uc(t,n,o={}){var i;const a=nl(t,n,o.type==="exit"?(i=t.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:u=t.getDefaultTransition()||{}}=a||{};o.transitionOverride&&(u=o.transitionOverride);const c=a?()=>Promise.all(ov(t,a,o)):()=>Promise.resolve(),d=t.variantChildren&&t.variantChildren.size?(g=0)=>{const{delayChildren:v=0,staggerChildren:m,staggerDirection:w}=u;return tC(t,n,v+g,m,w,o)}:()=>Promise.resolve(),{when:p}=u;if(p){const[g,v]=p==="beforeChildren"?[c,d]:[d,c];return g().then(()=>v())}else return Promise.all([c(),d(o.delay)])}function tC(t,n,o=0,i=0,a=1,u){const c=[],d=(t.variantChildren.size-1)*i,p=a===1?(g=0)=>g*i:(g=0)=>d-g*i;return Array.from(t.variantChildren).sort(nC).forEach((g,v)=>{g.notify("AnimationStart",n),c.push(Uc(g,n,{...u,delay:o+p(v)}).then(()=>g.notify("AnimationComplete",n)))}),Promise.all(c)}function nC(t,n){return t.sortNodePosition(n)}function rC(t,n,o={}){t.notify("AnimationStart",n);let i;if(Array.isArray(n)){const a=n.map(u=>Uc(t,u,o));i=Promise.all(a)}else if(typeof n=="string")i=Uc(t,n,o);else{const a=typeof n=="function"?nl(t,n,o.custom):n;i=Promise.all(ov(t,a,o))}return i.then(()=>{t.notify("AnimationComplete",n)})}const oC=ud.length;function iv(t){if(!t)return;if(!t.isControllingVariants){const o=t.parent?iv(t.parent)||{}:{};return t.props.initial!==void 0&&(o.initial=t.props.initial),o}const n={};for(let o=0;o<oC;o++){const i=ud[o],a=t.props[i];(Gi(a)||a===!1)&&(n[i]=a)}return n}const iC=[...ld].reverse(),sC=ld.length;function aC(t){return n=>Promise.all(n.map(({animation:o,options:i})=>rC(t,o,i)))}function lC(t){let n=aC(t),o=vm(),i=!0;const a=p=>(g,v)=>{var m;const w=nl(t,v,p==="exit"?(m=t.presenceContext)===null||m===void 0?void 0:m.custom:void 0);if(w){const{transition:S,transitionEnd:N,...E}=w;g={...g,...E,...N}}return g};function u(p){n=p(t)}function c(p){const{props:g}=t,v=iv(t.parent)||{},m=[],w=new Set;let S={},N=1/0;for(let C=0;C<sC;C++){const P=iC[C],D=o[P],O=g[P]!==void 0?g[P]:v[P],F=Gi(O),_=P===p?D.isActive:null;_===!1&&(N=C);let G=O===v[P]&&O!==g[P]&&F;if(G&&i&&t.manuallyAnimateOnMount&&(G=!1),D.protectedKeys={...S},!D.isActive&&_===null||!O&&!D.prevProp||el(O)||typeof O=="boolean")continue;const K=uC(D.prevProp,O);let Y=K||P===p&&D.isActive&&!G&&F||C>N&&F,he=!1;const ye=Array.isArray(O)?O:[O];let Te=ye.reduce(a(P),{});_===!1&&(Te={});const{prevResolvedValues:ce={}}=D,Se={...ce,...Te},Ne=ne=>{Y=!0,w.has(ne)&&(he=!0,w.delete(ne)),D.needsAnimating[ne]=!0;const U=t.getValue(ne);U&&(U.liveStyle=!1)};for(const ne in Se){const U=Te[ne],X=ce[ne];if(S.hasOwnProperty(ne))continue;let H=!1;Mc(U)&&Mc(X)?H=!vy(U,X):H=U!==X,H?U!=null?Ne(ne):w.add(ne):U!==void 0&&w.has(ne)?Ne(ne):D.protectedKeys[ne]=!0}D.prevProp=O,D.prevResolvedValues=Te,D.isActive&&(S={...S,...Te}),i&&t.blockInitialAnimation&&(Y=!1),Y&&(!(G&&K)||he)&&m.push(...ye.map(ne=>({animation:ne,options:{type:P}})))}if(w.size){const C={};w.forEach(P=>{const D=t.getBaseTarget(P),O=t.getValue(P);O&&(O.liveStyle=!0),C[P]=D??null}),m.push({animation:C})}let E=!!m.length;return i&&(g.initial===!1||g.initial===g.animate)&&!t.manuallyAnimateOnMount&&(E=!1),i=!1,E?n(m):Promise.resolve()}function d(p,g){var v;if(o[p].isActive===g)return Promise.resolve();(v=t.variantChildren)===null||v===void 0||v.forEach(w=>{var S;return(S=w.animationState)===null||S===void 0?void 0:S.setActive(p,g)}),o[p].isActive=g;const m=c(p);for(const w in o)o[w].protectedKeys={};return m}return{animateChanges:c,setActive:d,setAnimateFunction:u,getState:()=>o,reset:()=>{o=vm(),i=!0}}}function uC(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!vy(n,t):!1}function Br(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function vm(){return{animate:Br(!0),whileInView:Br(),whileHover:Br(),whileTap:Br(),whileDrag:Br(),whileFocus:Br(),exit:Br()}}class br{constructor(n){this.isMounted=!1,this.node=n}update(){}}class cC extends br{constructor(n){super(n),n.animationState||(n.animationState=lC(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();el(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:o}=this.node.prevProps||{};n!==o&&this.updateAnimationControlsSubscription()}unmount(){var n;this.node.animationState.reset(),(n=this.unmountControls)===null||n===void 0||n.call(this)}}let dC=0;class fC extends br{constructor(){super(...arguments),this.id=dC++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:o}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===i)return;const a=this.node.animationState.setActive("exit",!n);o&&!n&&a.then(()=>o(this.id))}mount(){const{register:n}=this.node.presenceContext||{};n&&(this.unmount=n(this.id))}unmount(){}}const pC={animation:{Feature:cC},exit:{Feature:fC}};function Xi(t,n,o,i={passive:!0}){return t.addEventListener(n,o,i),()=>t.removeEventListener(n,o)}function ss(t){return{point:{x:t.pageX,y:t.pageY}}}const hC=t=>n=>Cd(n)&&t(n,ss(n));function Ui(t,n,o,i){return Xi(t,n,hC(o),i)}const xm=(t,n)=>Math.abs(t-n);function mC(t,n){const o=xm(t.x,n.x),i=xm(t.y,n.y);return Math.sqrt(o**2+i**2)}class sv{constructor(n,o,{transformPagePoint:i,contextWindow:a,dragSnapToOrigin:u=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=dc(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,S=mC(m.offset,{x:0,y:0})>=3;if(!w&&!S)return;const{point:N}=m,{timestamp:E}=lt;this.history.push({...N,timestamp:E});const{onStart:C,onMove:P}=this.handlers;w||(C&&C(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),P&&P(this.lastMoveEvent,m)},this.handlePointerMove=(m,w)=>{this.lastMoveEvent=m,this.lastMoveEventInfo=cc(w,this.transformPagePoint),De.update(this.updatePoint,!0)},this.handlePointerUp=(m,w)=>{this.end();const{onEnd:S,onSessionEnd:N,resumeAnimation:E}=this.handlers;if(this.dragSnapToOrigin&&E&&E(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=dc(m.type==="pointercancel"?this.lastMoveEventInfo:cc(w,this.transformPagePoint),this.history);this.startEvent&&S&&S(m,C),N&&N(m,C)},!Cd(n))return;this.dragSnapToOrigin=u,this.handlers=o,this.transformPagePoint=i,this.contextWindow=a||window;const c=ss(n),d=cc(c,this.transformPagePoint),{point:p}=d,{timestamp:g}=lt;this.history=[{...p,timestamp:g}];const{onSessionStart:v}=o;v&&v(n,dc(d,this.history)),this.removeListeners=is(Ui(this.contextWindow,"pointermove",this.handlePointerMove),Ui(this.contextWindow,"pointerup",this.handlePointerUp),Ui(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),vr(this.updatePoint)}}function cc(t,n){return n?{point:n(t.point)}:t}function wm(t,n){return{x:t.x-n.x,y:t.y-n.y}}function dc({point:t},n){return{point:t,delta:wm(t,av(n)),offset:wm(t,gC(n)),velocity:yC(n,.1)}}function gC(t){return t[0]}function av(t){return t[t.length-1]}function yC(t,n){if(t.length<2)return{x:0,y:0};let o=t.length-1,i=null;const a=av(t);for(;o>=0&&(i=t[o],!(a.timestamp-i.timestamp>Dn(n)));)o--;if(!i)return{x:0,y:0};const u=Ln(a.timestamp-i.timestamp);if(u===0)return{x:0,y:0};const c={x:(a.x-i.x)/u,y:(a.y-i.y)/u};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}const lv=1e-4,vC=1-lv,xC=1+lv,uv=.01,wC=0-uv,bC=0+uv;function Lt(t){return t.max-t.min}function SC(t,n,o){return Math.abs(t-n)<=o}function bm(t,n,o,i=.5){t.origin=i,t.originPoint=Ve(n.min,n.max,t.origin),t.scale=Lt(o)/Lt(n),t.translate=Ve(o.min,o.max,t.origin)-t.originPoint,(t.scale>=vC&&t.scale<=xC||isNaN(t.scale))&&(t.scale=1),(t.translate>=wC&&t.translate<=bC||isNaN(t.translate))&&(t.translate=0)}function $i(t,n,o,i){bm(t.x,n.x,o.x,i?i.originX:void 0),bm(t.y,n.y,o.y,i?i.originY:void 0)}function Sm(t,n,o){t.min=o.min+n.min,t.max=t.min+Lt(n)}function EC(t,n,o){Sm(t.x,n.x,o.x),Sm(t.y,n.y,o.y)}function Em(t,n,o){t.min=n.min-o.min,t.max=t.min+Lt(n)}function Wi(t,n,o){Em(t.x,n.x,o.x),Em(t.y,n.y,o.y)}function CC(t,{min:n,max:o},i){return n!==void 0&&t<n?t=i?Ve(n,t,i.min):Math.max(t,n):o!==void 0&&t>o&&(t=i?Ve(o,t,i.max):Math.min(t,o)),t}function Cm(t,n,o){return{min:n!==void 0?t.min+n:void 0,max:o!==void 0?t.max+o-(t.max-t.min):void 0}}function TC(t,{top:n,left:o,bottom:i,right:a}){return{x:Cm(t.x,o,a),y:Cm(t.y,n,i)}}function Tm(t,n){let o=n.min-t.min,i=n.max-t.max;return n.max-n.min<t.max-t.min&&([o,i]=[i,o]),{min:o,max:i}}function PC(t,n){return{x:Tm(t.x,n.x),y:Tm(t.y,n.y)}}function kC(t,n){let o=.5;const i=Lt(t),a=Lt(n);return a>i?o=_o(n.min,n.max-i,t.min):i>a&&(o=_o(t.min,t.max-a,n.min)),_n(0,1,o)}function NC(t,n){const o={};return n.min!==void 0&&(o.min=n.min-t.min),n.max!==void 0&&(o.max=n.max-t.min),o}const $c=.35;function jC(t=$c){return t===!1?t=0:t===!0&&(t=$c),{x:Pm(t,"left","right"),y:Pm(t,"top","bottom")}}function Pm(t,n,o){return{min:km(t,n),max:km(t,o)}}function km(t,n){return typeof t=="number"?t:t[n]||0}const Nm=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ro=()=>({x:Nm(),y:Nm()}),jm=()=>({min:0,max:0}),Ge=()=>({x:jm(),y:jm()});function Ht(t){return[t("x"),t("y")]}function cv({top:t,left:n,right:o,bottom:i}){return{x:{min:n,max:o},y:{min:t,max:i}}}function RC({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function AC(t,n){if(!n)return t;const o=n({x:t.left,y:t.top}),i=n({x:t.right,y:t.bottom});return{top:o.y,left:o.x,bottom:i.y,right:i.x}}function fc(t){return t===void 0||t===1}function Wc({scale:t,scaleX:n,scaleY:o}){return!fc(t)||!fc(n)||!fc(o)}function Ur(t){return Wc(t)||dv(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function dv(t){return Rm(t.x)||Rm(t.y)}function Rm(t){return t&&t!=="0%"}function Ka(t,n,o){const i=t-o,a=n*i;return o+a}function Am(t,n,o,i,a){return a!==void 0&&(t=Ka(t,a,i)),Ka(t,o,i)+n}function Hc(t,n=0,o=1,i,a){t.min=Am(t.min,n,o,i,a),t.max=Am(t.max,n,o,i,a)}function fv(t,{x:n,y:o}){Hc(t.x,n.translate,n.scale,n.originPoint),Hc(t.y,o.translate,o.scale,o.originPoint)}const Mm=.999999999999,Dm=1.0000000000001;function MC(t,n,o,i=!1){const a=o.length;if(!a)return;n.x=n.y=1;let u,c;for(let d=0;d<a;d++){u=o[d],c=u.projectionDelta;const{visualElement:p}=u.options;p&&p.props.style&&p.props.style.display==="contents"||(i&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Mo(t,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),c&&(n.x*=c.x.scale,n.y*=c.y.scale,fv(t,c)),i&&Ur(u.latestValues)&&Mo(t,u.latestValues))}n.x<Dm&&n.x>Mm&&(n.x=1),n.y<Dm&&n.y>Mm&&(n.y=1)}function Ao(t,n){t.min=t.min+n,t.max=t.max+n}function Lm(t,n,o,i,a=.5){const u=Ve(t.min,t.max,a);Hc(t,n,o,u,i)}function Mo(t,n){Lm(t.x,n.x,n.scaleX,n.scale,n.originX),Lm(t.y,n.y,n.scaleY,n.scale,n.originY)}function pv(t,n){return cv(AC(t.getBoundingClientRect(),n))}function DC(t,n,o){const i=pv(t,o),{scroll:a}=n;return a&&(Ao(i.x,a.offset.x),Ao(i.y,a.offset.y)),i}const hv=({current:t})=>t?t.ownerDocument.defaultView:null,LC=new WeakMap;class OC{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ge(),this.visualElement=n}start(n,{snapToCursor:o=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const a=v=>{const{dragSnapToOrigin:m}=this.getProps();m?this.pauseAnimation():this.stopAnimation(),o&&this.snapToCursor(ss(v).point)},u=(v,m)=>{const{drag:w,dragPropagation:S,onDragStart:N}=this.getProps();if(w&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=k2(w),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ht(C=>{let P=this.getAxisMotionValue(C).get()||0;if(hn.test(P)){const{projection:D}=this.visualElement;if(D&&D.layout){const O=D.layout.layoutBox[C];O&&(P=Lt(O)*(parseFloat(P)/100))}}this.originPoint[C]=P}),N&&De.postRender(()=>N(v,m)),Oc(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},c=(v,m)=>{const{dragPropagation:w,dragDirectionLock:S,onDirectionLock:N,onDrag:E}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:C}=m;if(S&&this.currentDirection===null){this.currentDirection=_C(C),this.currentDirection!==null&&N&&N(this.currentDirection);return}this.updateAxis("x",m.point,C),this.updateAxis("y",m.point,C),this.visualElement.render(),E&&E(v,m)},d=(v,m)=>this.stop(v,m),p=()=>Ht(v=>{var m;return this.getAnimationState(v)==="paused"&&((m=this.getAxisMotionValue(v).animation)===null||m===void 0?void 0:m.play())}),{dragSnapToOrigin:g}=this.getProps();this.panSession=new sv(n,{onSessionStart:a,onStart:u,onMove:c,onSessionEnd:d,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,contextWindow:hv(this.visualElement)})}stop(n,o){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:a}=o;this.startAnimation(a);const{onDragEnd:u}=this.getProps();u&&De.postRender(()=>u(n,o))}cancel(){this.isDragging=!1;const{projection:n,animationState:o}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}updateAxis(n,o,i){const{drag:a}=this.getProps();if(!i||!Ca(n,a,this.currentDirection))return;const u=this.getAxisMotionValue(n);let c=this.originPoint[n]+i[n];this.constraints&&this.constraints[n]&&(c=CC(c,this.constraints[n],this.elastic[n])),u.set(c)}resolveConstraints(){var n;const{dragConstraints:o,dragElastic:i}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(n=this.visualElement.projection)===null||n===void 0?void 0:n.layout,u=this.constraints;o&&No(o)?this.constraints||(this.constraints=this.resolveRefConstraints()):o&&a?this.constraints=TC(a.layoutBox,o):this.constraints=!1,this.elastic=jC(i),u!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&Ht(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=NC(a.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:o}=this.getProps();if(!n||!No(n))return!1;const i=n.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const u=DC(i,a.root,this.visualElement.getTransformPagePoint());let c=PC(a.layout.layoutBox,u);if(o){const d=o(RC(c));this.hasMutatedConstraints=!!d,d&&(c=cv(d))}return c}startAnimation(n){const{drag:o,dragMomentum:i,dragElastic:a,dragTransition:u,dragSnapToOrigin:c,onDragTransitionEnd:d}=this.getProps(),p=this.constraints||{},g=Ht(v=>{if(!Ca(v,o,this.currentDirection))return;let m=p&&p[v]||{};c&&(m={min:0,max:0});const w=a?200:1e6,S=a?40:1e7,N={type:"inertia",velocity:i?n[v]:0,bounceStiffness:w,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...u,...m};return this.startAxisValueAnimation(v,N)});return Promise.all(g).then(d)}startAxisValueAnimation(n,o){const i=this.getAxisMotionValue(n);return Oc(this.visualElement,n),i.start(_d(n,i,0,o,this.visualElement,!1))}stopAnimation(){Ht(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){Ht(n=>{var o;return(o=this.getAxisMotionValue(n).animation)===null||o===void 0?void 0:o.pause()})}getAnimationState(n){var o;return(o=this.getAxisMotionValue(n).animation)===null||o===void 0?void 0:o.state}getAxisMotionValue(n){const o=`_drag${n.toUpperCase()}`,i=this.visualElement.getProps(),a=i[o];return a||this.visualElement.getValue(n,(i.initial?i.initial[n]:void 0)||0)}snapToCursor(n){Ht(o=>{const{drag:i}=this.getProps();if(!Ca(o,i,this.currentDirection))return;const{projection:a}=this.visualElement,u=this.getAxisMotionValue(o);if(a&&a.layout){const{min:c,max:d}=a.layout.layoutBox[o];u.set(n[o]-Ve(c,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:o}=this.getProps(),{projection:i}=this.visualElement;if(!No(o)||!i||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};Ht(c=>{const d=this.getAxisMotionValue(c);if(d&&this.constraints!==!1){const p=d.get();a[c]=kC({min:p,max:p},this.constraints[c])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),Ht(c=>{if(!Ca(c,n,null))return;const d=this.getAxisMotionValue(c),{min:p,max:g}=this.constraints[c];d.set(Ve(p,g,a[c]))})}addListeners(){if(!this.visualElement.current)return;LC.set(this.visualElement,this);const n=this.visualElement.current,o=Ui(n,"pointerdown",p=>{const{drag:g,dragListener:v=!0}=this.getProps();g&&v&&this.start(p)}),i=()=>{const{dragConstraints:p}=this.getProps();No(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,u=a.addEventListener("measure",i);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),De.read(i);const c=Xi(window,"resize",()=>this.scalePositionWithinConstraints()),d=a.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(Ht(v=>{const m=this.getAxisMotionValue(v);m&&(this.originPoint[v]+=p[v].translate,m.set(m.get()+p[v].translate))}),this.visualElement.render())}));return()=>{c(),o(),u(),d&&d()}}getProps(){const n=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:i=!1,dragPropagation:a=!1,dragConstraints:u=!1,dragElastic:c=$c,dragMomentum:d=!0}=n;return{...n,drag:o,dragDirectionLock:i,dragPropagation:a,dragConstraints:u,dragElastic:c,dragMomentum:d}}}function Ca(t,n,o){return(n===!0||n===t)&&(o===null||o===t)}function _C(t,n=10){let o=null;return Math.abs(t.y)>n?o="y":Math.abs(t.x)>n&&(o="x"),o}class IC extends br{constructor(n){super(n),this.removeGroupControls=Dt,this.removeListeners=Dt,this.controls=new OC(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Dt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Om=t=>(n,o)=>{t&&De.postRender(()=>t(n,o))};class FC extends br{constructor(){super(...arguments),this.removePointerDownListener=Dt}onPointerDown(n){this.session=new sv(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:hv(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:o,onPan:i,onPanEnd:a}=this.node.getProps();return{onSessionStart:Om(n),onStart:Om(o),onMove:i,onEnd:(u,c)=>{delete this.session,a&&De.postRender(()=>a(u,c))}}}mount(){this.removePointerDownListener=Ui(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const La={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function _m(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const Oi={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(ue.test(t))t=parseFloat(t);else return t;const o=_m(t,n.target.x),i=_m(t,n.target.y);return`${o}% ${i}%`}},VC={correct:(t,{treeScale:n,projectionDelta:o})=>{const i=t,a=xr.parse(t);if(a.length>5)return i;const u=xr.createTransformer(t),c=typeof a[0]!="number"?1:0,d=o.x.scale*n.x,p=o.y.scale*n.y;a[0+c]/=d,a[1+c]/=p;const g=Ve(d,p,.5);return typeof a[2+c]=="number"&&(a[2+c]/=g),typeof a[3+c]=="number"&&(a[3+c]/=g),u(a)}};class zC extends b.Component{componentDidMount(){const{visualElement:n,layoutGroup:o,switchLayoutGroup:i,layoutId:a}=this.props,{projection:u}=n;s2(BC),u&&(o.group&&o.group.add(u),i&&i.register&&a&&i.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),La.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:o,visualElement:i,drag:a,isPresent:u}=this.props,c=i.projection;return c&&(c.isPresent=u,a||n.layoutDependency!==o||o===void 0?c.willUpdate():this.safeToRemove(),n.isPresent!==u&&(u?c.promote():c.relegate()||De.postRender(()=>{const d=c.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),dd.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:o,switchLayoutGroup:i}=this.props,{projection:a}=n;a&&(a.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(a),i&&i.deregister&&i.deregister(a))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function mv(t){const[n,o]=bS(),i=b.useContext(Xg);return y.jsx(zC,{...t,layoutGroup:i,switchLayoutGroup:b.useContext(iy),isPresent:n,safeToRemove:o})}const BC={borderRadius:{...Oi,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Oi,borderTopRightRadius:Oi,borderBottomLeftRadius:Oi,borderBottomRightRadius:Oi,boxShadow:VC};function UC(t,n,o){const i=mt(t)?t:Qi(t);return i.start(_d("",i,n,o)),i.animation}function $C(t){return t instanceof SVGElement&&t.tagName!=="svg"}const WC=(t,n)=>t.depth-n.depth;class HC{constructor(){this.children=[],this.isDirty=!1}add(n){Td(this.children,n),this.isDirty=!0}remove(n){Pd(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(WC),this.isDirty=!1,this.children.forEach(n)}}function KC(t,n){const o=mn.now(),i=({timestamp:a})=>{const u=a-o;u>=n&&(vr(i),t(u-n))};return De.read(i,!0),()=>vr(i)}const gv=["TopLeft","TopRight","BottomLeft","BottomRight"],GC=gv.length,Im=t=>typeof t=="string"?parseFloat(t):t,Fm=t=>typeof t=="number"||ue.test(t);function YC(t,n,o,i,a,u){a?(t.opacity=Ve(0,o.opacity!==void 0?o.opacity:1,QC(i)),t.opacityExit=Ve(n.opacity!==void 0?n.opacity:1,0,qC(i))):u&&(t.opacity=Ve(n.opacity!==void 0?n.opacity:1,o.opacity!==void 0?o.opacity:1,i));for(let c=0;c<GC;c++){const d=`border${gv[c]}Radius`;let p=Vm(n,d),g=Vm(o,d);if(p===void 0&&g===void 0)continue;p||(p=0),g||(g=0),p===0||g===0||Fm(p)===Fm(g)?(t[d]=Math.max(Ve(Im(p),Im(g),i),0),(hn.test(g)||hn.test(p))&&(t[d]+="%")):t[d]=g}(n.rotate||o.rotate)&&(t.rotate=Ve(n.rotate||0,o.rotate||0,i))}function Vm(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const QC=yv(0,.5,Oy),qC=yv(.5,.95,Dt);function yv(t,n,o){return i=>i<t?0:i>n?1:o(_o(t,n,i))}function zm(t,n){t.min=n.min,t.max=n.max}function Wt(t,n){zm(t.x,n.x),zm(t.y,n.y)}function Bm(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}function Um(t,n,o,i,a){return t-=n,t=Ka(t,1/o,i),a!==void 0&&(t=Ka(t,1/a,i)),t}function XC(t,n=0,o=1,i=.5,a,u=t,c=t){if(hn.test(n)&&(n=parseFloat(n),n=Ve(c.min,c.max,n/100)-c.min),typeof n!="number")return;let d=Ve(u.min,u.max,i);t===u&&(d-=n),t.min=Um(t.min,n,o,d,a),t.max=Um(t.max,n,o,d,a)}function $m(t,n,[o,i,a],u,c){XC(t,n[o],n[i],n[a],n.scale,u,c)}const ZC=["x","scaleX","originX"],JC=["y","scaleY","originY"];function Wm(t,n,o,i){$m(t.x,n,ZC,o?o.x:void 0,i?i.x:void 0),$m(t.y,n,JC,o?o.y:void 0,i?i.y:void 0)}function Hm(t){return t.translate===0&&t.scale===1}function vv(t){return Hm(t.x)&&Hm(t.y)}function Km(t,n){return t.min===n.min&&t.max===n.max}function eT(t,n){return Km(t.x,n.x)&&Km(t.y,n.y)}function Gm(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function xv(t,n){return Gm(t.x,n.x)&&Gm(t.y,n.y)}function Ym(t){return Lt(t.x)/Lt(t.y)}function Qm(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}class tT{constructor(){this.members=[]}add(n){Td(this.members,n),n.scheduleRender()}remove(n){if(Pd(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(n){const o=this.members.findIndex(a=>n===a);if(o===0)return!1;let i;for(let a=o;a>=0;a--){const u=this.members[a];if(u.isPresent!==!1){i=u;break}}return i?(this.promote(i),!0):!1}promote(n,o){const i=this.lead;if(n!==i&&(this.prevLead=i,this.lead=n,n.show(),i)){i.instance&&i.scheduleRender(),n.scheduleRender(),n.resumeFrom=i,o&&(n.resumeFrom.preserveOpacity=!0),i.snapshot&&(n.snapshot=i.snapshot,n.snapshot.latestValues=i.animationValues||i.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:a}=n.options;a===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:o,resumingFrom:i}=n;o.onExitComplete&&o.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function nT(t,n,o){let i="";const a=t.x.translate/n.x,u=t.y.translate/n.y,c=o?.z||0;if((a||u||c)&&(i=`translate3d(${a}px, ${u}px, ${c}px) `),(n.x!==1||n.y!==1)&&(i+=`scale(${1/n.x}, ${1/n.y}) `),o){const{transformPerspective:g,rotate:v,rotateX:m,rotateY:w,skewX:S,skewY:N}=o;g&&(i=`perspective(${g}px) ${i}`),v&&(i+=`rotate(${v}deg) `),m&&(i+=`rotateX(${m}deg) `),w&&(i+=`rotateY(${w}deg) `),S&&(i+=`skewX(${S}deg) `),N&&(i+=`skewY(${N}deg) `)}const d=t.x.scale*n.x,p=t.y.scale*n.y;return(d!==1||p!==1)&&(i+=`scale(${d}, ${p})`),i||"none"}const $r={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},zi=typeof window<"u"&&window.MotionDebug!==void 0,pc=["","X","Y","Z"],rT={visibility:"hidden"},qm=1e3;let oT=0;function hc(t,n,o,i){const{latestValues:a}=n;a[t]&&(o[t]=a[t],n.setStaticValue(t,0),i&&(i[t]=0))}function wv(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const o=Ny(n);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:a,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(o,"transform",De,!(a||u))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&wv(i)}function bv({attachResizeListener:t,defaultParent:n,measureScroll:o,checkIsScrollRoot:i,resetTransform:a}){return class{constructor(c={},d=n?.()){this.id=oT++,this.animationId=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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,zi&&($r.totalNodes=$r.resolvedTargetDeltas=$r.recalculatedProjection=0),this.nodes.forEach(aT),this.nodes.forEach(fT),this.nodes.forEach(pT),this.nodes.forEach(lT),zi&&window.MotionDebug.record($r)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new HC)}addEventListener(c,d){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new kd),this.eventHandlers.get(c).add(d)}notifyListeners(c,...d){const p=this.eventHandlers.get(c);p&&p.notify(...d)}hasListeners(c){return this.eventHandlers.has(c)}mount(c,d=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=$C(c),this.instance=c;const{layoutId:p,layout:g,visualElement:v}=this.options;if(v&&!v.current&&v.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),d&&(g||p)&&(this.isLayoutDirty=!0),t){let m;const w=()=>this.root.updateBlockedByResize=!1;t(c,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=KC(w,250),La.hasAnimatedSinceResize&&(La.hasAnimatedSinceResize=!1,this.nodes.forEach(Zm))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&v&&(p||g)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:w,hasRelativeTargetChanged:S,layout:N})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const E=this.options.transition||v.getDefaultTransition()||vT,{onLayoutAnimationStart:C,onLayoutAnimationComplete:P}=v.getProps(),D=!this.targetLayout||!xv(this.targetLayout,N)||S,O=!w&&S;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||O||w&&(D||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,O);const F={...bd(E,"layout"),onPlay:C,onComplete:P};(v.shouldReduceMotion||this.options.layoutRoot)&&(F.delay=0,F.type=!1),this.startAnimation(F)}else w||Zm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=N})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,vr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(hT),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&wv(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const m=this.path[v];m.shouldResetTransform=!0,m.updateScroll("snapshot"),m.options.layoutRoot&&m.willUpdate(!1)}const{layoutId:d,layout:p}=this.options;if(d===void 0&&!p)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Xm);return}this.isUpdating||this.nodes.forEach(cT),this.isUpdating=!1,this.nodes.forEach(dT),this.nodes.forEach(iT),this.nodes.forEach(sT),this.clearAllSnapshots();const d=mn.now();lt.delta=_n(0,1e3/60,d-lt.timestamp),lt.timestamp=d,lt.isProcessing=!0,oc.update.process(lt),oc.preRender.process(lt),oc.render.process(lt),lt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,dd.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(uT),this.sharedNodes.forEach(mT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,De.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){De.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ge(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(d=!1),d){const p=i(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:p,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!a)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!vv(this.projectionDelta),p=this.getTransformTemplate(),g=p?p(this.latestValues,""):void 0,v=g!==this.prevTransformTemplateValue;c&&(d||Ur(this.latestValues)||v)&&(a(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const d=this.measurePageBox();let p=this.removeElementScroll(d);return c&&(p=this.removeTransform(p)),xT(p),{animationId:this.root.animationId,measuredBox:d,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:d}=this.options;if(!d)return Ge();const p=d.measureViewportBox();if(!(((c=this.scroll)===null||c===void 0?void 0:c.wasRoot)||this.path.some(wT))){const{scroll:v}=this.root;v&&(Ao(p.x,v.offset.x),Ao(p.y,v.offset.y))}return p}removeElementScroll(c){var d;const p=Ge();if(Wt(p,c),!((d=this.scroll)===null||d===void 0)&&d.wasRoot)return p;for(let g=0;g<this.path.length;g++){const v=this.path[g],{scroll:m,options:w}=v;v!==this.root&&m&&w.layoutScroll&&(m.wasRoot&&Wt(p,c),Ao(p.x,m.offset.x),Ao(p.y,m.offset.y))}return p}applyTransform(c,d=!1){const p=Ge();Wt(p,c);for(let g=0;g<this.path.length;g++){const v=this.path[g];!d&&v.options.layoutScroll&&v.scroll&&v!==v.root&&Mo(p,{x:-v.scroll.offset.x,y:-v.scroll.offset.y}),Ur(v.latestValues)&&Mo(p,v.latestValues)}return Ur(this.latestValues)&&Mo(p,this.latestValues),p}removeTransform(c){const d=Ge();Wt(d,c);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!g.instance||!Ur(g.latestValues))continue;Wc(g.latestValues)&&g.updateSnapshot();const v=Ge(),m=g.measurePageBox();Wt(v,m),Wm(d,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,v)}return Ur(this.latestValues)&&Wm(d,this.latestValues),d}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.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!==lt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){var d;const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const g=!!this.resumingFrom||this!==p;if(!(c||g&&this.isSharedProjectionDirty||this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:m,layoutId:w}=this.options;if(!(!this.layout||!(m||w))){if(this.resolvedRelativeTargetAt=lt.timestamp,!this.targetDelta&&!this.relativeTarget){const S=this.getClosestProjectingParent();S&&S.layout&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ge(),this.relativeTargetOrigin=Ge(),Wi(this.relativeTargetOrigin,this.layout.layoutBox,S.layout.layoutBox),Wt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ge(),this.targetWithTransforms=Ge()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),EC(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Wt(this.target,this.layout.layoutBox),fv(this.target,this.targetDelta)):Wt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const S=this.getClosestProjectingParent();S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ge(),this.relativeTargetOrigin=Ge(),Wi(this.relativeTargetOrigin,this.target,S.target),Wt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}zi&&$r.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Wc(this.parent.latestValues)||dv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var c;const d=this.getLead(),p=!!this.resumingFrom||this!==d;let g=!0;if((this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty)&&(g=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===lt.timestamp&&(g=!1),g)return;const{layout:v,layoutId:m}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(v||m))return;Wt(this.layoutCorrected,this.layout.layoutBox);const w=this.treeScale.x,S=this.treeScale.y;MC(this.layoutCorrected,this.treeScale,this.path,p),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=Ge());const{target:N}=d;if(!N){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Bm(this.prevProjectionDelta.x,this.projectionDelta.x),Bm(this.prevProjectionDelta.y,this.projectionDelta.y)),$i(this.projectionDelta,this.layoutCorrected,N,this.latestValues),(this.treeScale.x!==w||this.treeScale.y!==S||!Qm(this.projectionDelta.x,this.prevProjectionDelta.x)||!Qm(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",N)),zi&&$r.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){var d;if((d=this.options.visualElement)===null||d===void 0||d.scheduleRender(),c){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ro(),this.projectionDelta=Ro(),this.projectionDeltaWithTransform=Ro()}setAnimationOrigin(c,d=!1){const p=this.snapshot,g=p?p.latestValues:{},v={...this.latestValues},m=Ro();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const w=Ge(),S=p?p.source:void 0,N=this.layout?this.layout.source:void 0,E=S!==N,C=this.getStack(),P=!C||C.members.length<=1,D=!!(E&&!P&&this.options.crossfade===!0&&!this.path.some(yT));this.animationProgress=0;let O;this.mixTargetDelta=F=>{const _=F/1e3;Jm(m.x,c.x,_),Jm(m.y,c.y,_),this.setTargetDelta(m),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Wi(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),gT(this.relativeTarget,this.relativeTargetOrigin,w,_),O&&eT(this.relativeTarget,O)&&(this.isProjectionDirty=!1),O||(O=Ge()),Wt(O,this.relativeTarget)),E&&(this.animationValues=v,YC(v,g,this.latestValues,_,D,P)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=_},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(vr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=De.update(()=>{La.hasAnimatedSinceResize=!0,this.currentAnimation=UC(0,qm,{...c,onUpdate:d=>{this.mixTargetDelta(d),c.onUpdate&&c.onUpdate(d)},onComplete:()=>{c.onComplete&&c.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 c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(qm),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:d,target:p,layout:g,latestValues:v}=c;if(!(!d||!p||!g)){if(this!==c&&this.layout&&g&&Sv(this.options.animationType,this.layout.layoutBox,g.layoutBox)){p=this.target||Ge();const m=Lt(this.layout.layoutBox.x);p.x.min=c.target.x.min,p.x.max=p.x.min+m;const w=Lt(this.layout.layoutBox.y);p.y.min=c.target.y.min,p.y.max=p.y.min+w}Wt(d,p),Mo(d,v),$i(this.projectionDeltaWithTransform,this.layoutCorrected,d,v)}}registerSharedNode(c,d){this.sharedNodes.has(c)||this.sharedNodes.set(c,new tT),this.sharedNodes.get(c).add(d);const g=d.options.initialPromotionConfig;d.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(d):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){var c;const{layoutId:d}=this.options;return d?((c=this.getStack())===null||c===void 0?void 0:c.lead)||this:this}getPrevLead(){var c;const{layoutId:d}=this.options;return d?(c=this.getStack())===null||c===void 0?void 0:c.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:d,preserveFollowOpacity:p}={}){const g=this.getStack();g&&g.promote(this,p),c&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let d=!1;const{latestValues:p}=c;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(d=!0),!d)return;const g={};p.z&&hc("z",c,g,this.animationValues);for(let v=0;v<pc.length;v++)hc(`rotate${pc[v]}`,c,g,this.animationValues),hc(`skew${pc[v]}`,c,g,this.animationValues);c.render();for(const v in g)c.setStaticValue(v,g[v]),this.animationValues&&(this.animationValues[v]=g[v]);c.scheduleRender()}getProjectionStyles(c){var d,p;if(!this.instance||this.isSVG)return;if(!this.isVisible)return rT;const g={visibility:""},v=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,g.opacity="",g.pointerEvents=Ma(c?.pointerEvents)||"",g.transform=v?v(this.latestValues,""):"none",g;const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){const E={};return this.options.layoutId&&(E.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,E.pointerEvents=Ma(c?.pointerEvents)||""),this.hasProjected&&!Ur(this.latestValues)&&(E.transform=v?v({},""):"none",this.hasProjected=!1),E}const w=m.animationValues||m.latestValues;this.applyTransformsToTarget(),g.transform=nT(this.projectionDeltaWithTransform,this.treeScale,w),v&&(g.transform=v(w,g.transform));const{x:S,y:N}=this.projectionDelta;g.transformOrigin=`${S.origin*100}% ${N.origin*100}% 0`,m.animationValues?g.opacity=m===this?(p=(d=w.opacity)!==null&&d!==void 0?d:this.latestValues.opacity)!==null&&p!==void 0?p:1:this.preserveOpacity?this.latestValues.opacity:w.opacityExit:g.opacity=m===this?w.opacity!==void 0?w.opacity:"":w.opacityExit!==void 0?w.opacityExit:0;for(const E in Ba){if(w[E]===void 0)continue;const{correct:C,applyTo:P}=Ba[E],D=g.transform==="none"?w[E]:C(w[E],m);if(P){const O=P.length;for(let F=0;F<O;F++)g[P[F]]=D}else g[E]=D}return this.options.layoutId&&(g.pointerEvents=m===this?Ma(c?.pointerEvents)||"":"none"),g}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>{var d;return(d=c.currentAnimation)===null||d===void 0?void 0:d.stop()}),this.root.nodes.forEach(Xm),this.root.sharedNodes.clear()}}}function iT(t){t.updateLayout()}function sT(t){var n;const o=((n=t.resumeFrom)===null||n===void 0?void 0:n.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&o&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:a}=t.layout,{animationType:u}=t.options,c=o.source!==t.layout.source;u==="size"?Ht(m=>{const w=c?o.measuredBox[m]:o.layoutBox[m],S=Lt(w);w.min=i[m].min,w.max=w.min+S}):Sv(u,o.layoutBox,i)&&Ht(m=>{const w=c?o.measuredBox[m]:o.layoutBox[m],S=Lt(i[m]);w.max=w.min+S,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[m].max=t.relativeTarget[m].min+S)});const d=Ro();$i(d,i,o.layoutBox);const p=Ro();c?$i(p,t.applyTransform(a,!0),o.measuredBox):$i(p,i,o.layoutBox);const g=!vv(d);let v=!1;if(!t.resumeFrom){const m=t.getClosestProjectingParent();if(m&&!m.resumeFrom){const{snapshot:w,layout:S}=m;if(w&&S){const N=Ge();Wi(N,o.layoutBox,w.layoutBox);const E=Ge();Wi(E,i,S.layoutBox),xv(N,E)||(v=!0),m.options.layoutRoot&&(t.relativeTarget=E,t.relativeTargetOrigin=N,t.relativeParent=m)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:o,delta:p,layoutDelta:d,hasLayoutChanged:g,hasRelativeTargetChanged:v})}else if(t.isLead()){const{onExitComplete:i}=t.options;i&&i()}t.options.transition=void 0}function aT(t){zi&&$r.totalNodes++,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 lT(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function uT(t){t.clearSnapshot()}function Xm(t){t.clearMeasurements()}function cT(t){t.isLayoutDirty=!1}function dT(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function Zm(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function fT(t){t.resolveTargetDelta()}function pT(t){t.calcProjection()}function hT(t){t.resetSkewAndRotation()}function mT(t){t.removeLeadSnapshot()}function Jm(t,n,o){t.translate=Ve(n.translate,0,o),t.scale=Ve(n.scale,1,o),t.origin=n.origin,t.originPoint=n.originPoint}function eg(t,n,o,i){t.min=Ve(n.min,o.min,i),t.max=Ve(n.max,o.max,i)}function gT(t,n,o,i){eg(t.x,n.x,o.x,i),eg(t.y,n.y,o.y,i)}function yT(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const vT={duration:.45,ease:[.4,0,.1,1]},tg=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ng=tg("applewebkit/")&&!tg("chrome/")?Math.round:Dt;function rg(t){t.min=ng(t.min),t.max=ng(t.max)}function xT(t){rg(t.x),rg(t.y)}function Sv(t,n,o){return t==="position"||t==="preserve-aspect"&&!SC(Ym(n),Ym(o),.2)}function wT(t){var n;return t!==t.root&&((n=t.scroll)===null||n===void 0?void 0:n.wasRoot)}const bT=bv({attachResizeListener:(t,n)=>Xi(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),mc={current:void 0},Ev=bv({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!mc.current){const t=new bT({});t.mount(window),t.setOptions({layoutScroll:!0}),mc.current=t}return mc.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),ST={pan:{Feature:FC},drag:{Feature:IC,ProjectionNode:Ev,MeasureLayout:mv}};function og(t,n,o){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover",o==="Start");const a="onHover"+o,u=i[a];u&&De.postRender(()=>u(n,ss(n)))}class ET extends br{mount(){const{current:n}=this.node;n&&(this.unmount=S2(n,o=>(og(this.node,o,"Start"),i=>og(this.node,i,"End"))))}unmount(){}}class CT extends br{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!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=is(Xi(this.node.current,"focus",()=>this.onFocus()),Xi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function ig(t,n,o){const{props:i}=t;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap",o==="Start");const a="onTap"+(o==="End"?"":o),u=i[a];u&&De.postRender(()=>u(n,ss(n)))}class TT extends br{mount(){const{current:n}=this.node;n&&(this.unmount=P2(n,o=>(ig(this.node,o,"Start"),(i,{success:a})=>ig(this.node,i,a?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Kc=new WeakMap,gc=new WeakMap,PT=t=>{const n=Kc.get(t.target);n&&n(t)},kT=t=>{t.forEach(PT)};function NT({root:t,...n}){const o=t||document;gc.has(o)||gc.set(o,{});const i=gc.get(o),a=JSON.stringify(n);
vendor: 5,172 bytes, line 10
10return i[a]||(i[a]=new IntersectionObserver(kT,{root:t,...n})),i[a]}function jT(t,n,o){const i=NT(n);return Kc.set(t,o),i.observe(t),()=>{Kc.delete(t),i.unobserve(t)}}const RT={some:0,all:1};class AT extends br{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:o,margin:i,amount:a="some",once:u}=n,c={root:o?o.current:void 0,rootMargin:i,threshold:typeof a=="number"?a:RT[a]},d=p=>{const{isIntersecting:g}=p;if(this.isInView===g||(this.isInView=g,u&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:v,onViewportLeave:m}=this.node.getProps(),w=g?v:m;w&&w(p)};return jT(this.node.current,c,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:o}=this.node;["amount","margin","root"].some(MT(n,o))&&this.startObserver()}unmount(){}}function MT({viewport:t={}},{viewport:n={}}={}){return o=>t[o]!==n[o]}const DT={inView:{Feature:AT},tap:{Feature:TT},focus:{Feature:CT},hover:{Feature:ET}},LT={layout:{ProjectionNode:Ev,MeasureLayout:mv}},Gc={current:null},Cv={current:!1};function OT(){if(Cv.current=!0,!!sd)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>Gc.current=t.matches;t.addListener(n),n()}else Gc.current=!1}const _T=[...Qy,ht,xr],IT=t=>_T.find(Yy(t)),sg=new WeakMap;function FT(t,n,o){for(const i in n){const a=n[i],u=o[i];if(mt(a))t.addValue(i,a);else if(mt(u))t.addValue(i,Qi(a,{owner:t}));else if(u!==a)if(t.hasValue(i)){const c=t.getValue(i);c.liveStyle===!0?c.jump(a):c.hasAnimated||c.set(a)}else{const c=t.getStaticValue(i);t.addValue(i,Qi(c!==void 0?c:a,{owner:t}))}}for(const i in o)n[i]===void 0&&t.removeValue(i);return n}const ag=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class VT{scrapeMotionValuesFromProps(n,o,i){return{}}constructor({parent:n,props:o,presenceContext:i,reducedMotionConfig:a,blockInitialAnimation:u,visualState:c},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Dd,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=mn.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,De.render(this.render,!1,!0))};const{latestValues:p,renderState:g,onUpdate:v}=c;this.onUpdate=v,this.latestValues=p,this.baseTarget={...p},this.initialValues=o.initial?{...p}:{},this.renderState=g,this.parent=n,this.props=o,this.presenceContext=i,this.depth=n?n.depth+1:0,this.reducedMotionConfig=a,this.options=d,this.blockInitialAnimation=!!u,this.isControllingVariants=tl(o),this.isVariantNode=ry(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:m,...w}=this.scrapeMotionValuesFromProps(o,{},this);for(const S in w){const N=w[S];p[S]!==void 0&&mt(N)&&N.set(p[S],!1)}}mount(n){this.current=n,sg.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,i)=>this.bindToMotionValue(i,o)),Cv.current||OT(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Gc.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){sg.delete(this.current),this.projection&&this.projection.unmount(),vr(this.notifyUpdate),vr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const o=this.features[n];o&&(o.unmount(),o.isMounted=!1)}this.current=null}bindToMotionValue(n,o){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const i=qr.has(n),a=o.on("change",d=>{this.latestValues[n]=d,this.props.onUpdate&&De.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),u=o.on("renderRequest",this.scheduleRender);let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,n,o)),this.valueSubscriptions.set(n,()=>{a(),u(),c&&c(),o.owner&&o.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in Io){const o=Io[n];if(!o)continue;const{isEnabled:i,Feature:a}=o;if(!this.features[n]&&a&&i(this.props)&&(this.features[n]=new a(this)),this.features[n]){const u=this.features[n];
vendor: 5,169 bytes, line 10
10u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ge()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,o){this.latestValues[n]=o}update(n,o){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let i=0;i<ag.length;i++){const a=ag[i];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const u="on"+a,c=n[u];c&&(this.propEventSubscriptions[a]=this.on(a,c))}this.prevMotionValues=FT(this,this.scrapeMotionValuesFromProps(n,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(n),()=>o.variantChildren.delete(n)}addValue(n,o){const i=this.values.get(n);o!==i&&(i&&this.removeValue(n),this.bindToMotionValue(n,o),this.values.set(n,o),this.latestValues[n]=o.get())}removeValue(n){this.values.delete(n);const o=this.valueSubscriptions.get(n);o&&(o(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,o){if(this.props.values&&this.props.values[n])return this.props.values[n];let i=this.values.get(n);return i===void 0&&o!==void 0&&(i=Qi(o===null?void 0:o,{owner:this}),this.addValue(n,i)),i}readValue(n,o){var i;let a=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:(i=this.getBaseTargetFromProps(this.props,n))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,n,this.options);return a!=null&&(typeof a=="string"&&(Ky(a)||Iy(a))?a=parseFloat(a):!IT(a)&&xr.test(o)&&(a=$y(n,o)),this.setBaseTarget(n,mt(a)?a.get():a)),mt(a)?a.get():a}setBaseTarget(n,o){this.baseTarget[n]=o}getBaseTarget(n){var o;const{initial:i}=this.props;let a;if(typeof i=="string"||typeof i=="object"){const c=pd(this.props,i,(o=this.presenceContext)===null||o===void 0?void 0:o.custom);c&&(a=c[n])}if(i&&a!==void 0)return a;const u=this.getBaseTargetFromProps(this.props,n);return u!==void 0&&!mt(u)?u:this.initialValues[n]!==void 0&&a===void 0?void 0:this.baseTarget[n]}on(n,o){return this.events[n]||(this.events[n]=new kd),this.events[n].add(o)}notify(n,...o){this.events[n]&&this.events[n].notify(...o)}}class Tv extends VT{constructor(){super(...arguments),this.KeyframeResolver=qy}sortInstanceNodePosition(n,o){return n.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(n,o){return n.style?n.style[o]:void 0}removeValueFromRenderState(n,{vars:o,style:i}){delete o[n],delete i[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;mt(n)&&(this.childSubscription=n.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}}function zT(t){return window.getComputedStyle(t)}class BT extends Tv{constructor(){super(...arguments),this.type="html",this.renderInstance=fy}readValueFromInstance(n,o){if(qr.has(o)){const i=Md(o);return i&&i.default||0}else{const i=zT(n),a=(uy(o)?i.getPropertyValue(o):i[o])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(n,{transformPagePoint:o}){return pv(n,o)}build(n,o,i){gd(n,o,i.transformTemplate)}scrapeMotionValuesFromProps(n,o,i){return wd(n,o,i)}}class UT extends Tv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ge}getBaseTargetFromProps(n,o){return n[o]}readValueFromInstance(n,o){if(qr.has(o)){const i=Md(o);return i&&i.default||0}return o=py.has(o)?o:cd(o),n.getAttribute(o)}scrapeMotionValuesFromProps(n,o,i){return gy(n,o,i)}build(n,o,i){yd(n,o,this.isSVGTag,i.transformTemplate)}renderInstance(n,o,i,a){hy(n,o,i,a)}mount(n){this.isSVGTag=xd(n.tagName),super.mount(n)}}const $T=(t,n)=>fd(t)?new UT(n):new BT(n,{allowProjection:t!==b.Fragment}),WT=m2({...pC,...DT,...ST,...LT},$T),ie=RS(WT);function lg(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function ol(...t){return n=>{let o=!1;const i=t.map(a=>{const u=lg(a,n);return!o&&typeof u=="function"&&(o=!0),u});if(o)return()=>{for(let a=0;a<i.length;a++){const u=i[a];typeof u=="function"?u():lg(t[a],null)}}}}function Xr(...t){return b.useCallback(ol(...t),t)}var HT=Symbol.for("react.lazy"),Ga=Zc[" use ".trim().toString()];function KT(t){return typeof t=="object"&&t!==null&&"then"in t}function Pv(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===HT&&"_payload"in t&&KT(t._payload)}function kv(t){const n=YT(t),o=b.forwardRef((i,a)=>{let{children:u,...c}=i;
vendor: 2,925 bytes, line 10
10Pv(u)&&typeof Ga=="function"&&(u=Ga(u._payload));const d=b.Children.toArray(u),p=d.find(qT);if(p){const g=p.props.children,v=d.map(m=>m===p?b.Children.count(g)>1?b.Children.only(null):b.isValidElement(g)?g.props.children:null:m);return y.jsx(n,{...c,ref:a,children:b.isValidElement(g)?b.cloneElement(g,void 0,v):null})}return y.jsx(n,{...c,ref:a,children:u})});return o.displayName=`${t}.Slot`,o}var GT=kv("Slot");function YT(t){const n=b.forwardRef((o,i)=>{let{children:a,...u}=o;if(Pv(a)&&typeof Ga=="function"&&(a=Ga(a._payload)),b.isValidElement(a)){const c=ZT(a),d=XT(u,a.props);return a.type!==b.Fragment&&(d.ref=i?ol(i,c):c),b.cloneElement(a,d)}return b.Children.count(a)>1?b.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var QT=Symbol("radix.slottable");function qT(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===QT}function XT(t,n){const o={...n};for(const i in n){const a=t[i],u=n[i];/^on[A-Z]/.test(i)?a&&u?o[i]=(...d)=>{const p=u(...d);return a(...d),p}:a&&(o[i]=a):i==="style"?o[i]={...a,...u}:i==="className"&&(o[i]=[a,u].filter(Boolean).join(" "))}return{...t,...o}}function ZT(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,o=n&&"isReactWarning"in n&&n.isReactWarning;return o?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,o=n&&"isReactWarning"in n&&n.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}function Nv(t){var n,o,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(n=0;n<a;n++)t[n]&&(o=Nv(t[n]))&&(i&&(i+=" "),i+=o)}else for(o in t)t[o]&&(i&&(i+=" "),i+=o);return i}function jv(){for(var t,n,o=0,i="",a=arguments.length;o<a;o++)(t=arguments[o])&&(n=Nv(t))&&(i&&(i+=" "),i+=n);return i}const ug=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,cg=jv,Id=(t,n)=>o=>{var i;if(n?.variants==null)return cg(t,o?.class,o?.className);const{variants:a,defaultVariants:u}=n,c=Object.keys(a).map(g=>{const v=o?.[g],m=u?.[g];if(v===null)return null;const w=ug(v)||ug(m);return a[g][w]}),d=o&&Object.entries(o).reduce((g,v)=>{let[m,w]=v;return w===void 0||(g[m]=w),g},{}),p=n==null||(i=n.compoundVariants)===null||i===void 0?void 0:i.reduce((g,v)=>{let{class:m,className:w,...S}=v;return Object.entries(S).every(N=>{let[E,C]=N;return Array.isArray(C)?C.includes({...u,...d}[E]):{...u,...d}[E]===C})?[...g,m,w]:g},[]);return cg(t,c,p,o?.class,o?.className)},Fd="-",JT=t=>{const n=t4(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:c=>{const d=c.split(Fd);return d[0]===""&&d.length!==1&&d.shift(),Rv(d,n)||e4(c)},getConflictingClassGroupIds:(c,d)=>{const p=o[c]||[];return d&&i[c]?[...p,...i[c]]:p}}},Rv=(t,n)=>{if(t.length===0)return n.classGroupId;const o=t[0],i=n.nextPart.get(o),a=i?Rv(t.slice(1),i):void 0;if(a)return a;if(n.validators.length===0)return;const u=t.join(Fd);return n.validators.find(({validator:c}
vendor: 5,353 bytes, line 10
10)=>c(u))?.classGroupId},dg=/^\[(.+)\]$/,e4=t=>{if(dg.test(t)){const n=dg.exec(t)[1],o=n?.substring(0,n.indexOf(":"));if(o)return"arbitrary.."+o}},t4=t=>{const{theme:n,prefix:o}=t,i={nextPart:new Map,validators:[]};return r4(Object.entries(t.classGroups),o).forEach(([u,c])=>{Yc(c,i,u,n)}),i},Yc=(t,n,o,i)=>{t.forEach(a=>{if(typeof a=="string"){const u=a===""?n:fg(n,a);u.classGroupId=o;return}if(typeof a=="function"){if(n4(a)){Yc(a(i),n,o,i);return}n.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([u,c])=>{Yc(c,fg(n,u),o,i)})})},fg=(t,n)=>{let o=t;return n.split(Fd).forEach(i=>{o.nextPart.has(i)||o.nextPart.set(i,{nextPart:new Map,validators:[]}),o=o.nextPart.get(i)}),o},n4=t=>t.isThemeGetter,r4=(t,n)=>n?t.map(([o,i])=>{const a=i.map(u=>typeof u=="string"?n+u:typeof u=="object"?Object.fromEntries(Object.entries(u).map(([c,d])=>[n+c,d])):u);return[o,a]}):t,o4=t=>{if(t<1)return{get:()=>{},set:()=>{}};let n=0,o=new Map,i=new Map;const a=(u,c)=>{o.set(u,c),n++,n>t&&(n=0,i=o,o=new Map)};return{get(u){let c=o.get(u);if(c!==void 0)return c;if((c=i.get(u))!==void 0)return a(u,c),c},set(u,c){o.has(u)?o.set(u,c):a(u,c)}}},Av="!",i4=t=>{const{separator:n,experimentalParseClassName:o}=t,i=n.length===1,a=n[0],u=n.length,c=d=>{const p=[];let g=0,v=0,m;for(let C=0;C<d.length;C++){let P=d[C];if(g===0){if(P===a&&(i||d.slice(C,C+u)===n)){p.push(d.slice(v,C)),v=C+u;continue}if(P==="/"){m=C;continue}}P==="["?g++:P==="]"&&g--}const w=p.length===0?d:d.substring(v),S=w.startsWith(Av),N=S?w.substring(1):w,E=m&&m>v?m-v:void 0;return{modifiers:p,hasImportantModifier:S,baseClassName:N,maybePostfixModifierPosition:E}};return o?d=>o({className:d,parseClassName:c}):c},s4=t=>{if(t.length<=1)return t;const n=[];let o=[];return t.forEach(i=>{i[0]==="["?(n.push(...o.sort(),i),o=[]):o.push(i)}),n.push(...o.sort()),n},a4=t=>({cache:o4(t.cacheSize),parseClassName:i4(t),...JT(t)}),l4=/\s+/,u4=(t,n)=>{const{parseClassName:o,getClassGroupId:i,getConflictingClassGroupIds:a}=n,u=[],c=t.trim().split(l4);let d="";for(let p=c.length-1;p>=0;p-=1){const g=c[p],{modifiers:v,hasImportantModifier:m,baseClassName:w,maybePostfixModifierPosition:S}=o(g);let N=!!S,E=i(N?w.substring(0,S):w);if(!E){if(!N){d=g+(d.length>0?" "+d:d);continue}if(E=i(w),!E){d=g+(d.length>0?" "+d:d);continue}N=!1}const C=s4(v).join(":"),P=m?C+Av:C,D=P+E;if(u.includes(D))continue;u.push(D);const O=a(E,N);for(let F=0;F<O.length;++F){const _=O[F];u.push(P+_)}d=g+(d.length>0?" "+d:d)}return d};function c4(){let t=0,n,o,i="";for(;t<arguments.length;)(n=arguments[t++])&&(o=Mv(n))&&(i&&(i+=" "),i+=o);return i}const Mv=t=>{if(typeof t=="string")return t;let n,o="";for(let i=0;i<t.length;i++)t[i]&&(n=Mv(t[i]))&&(o&&(o+=" "),o+=n);return o};function d4(t,...n){let o,i,a,u=c;function c(p){const g=n.reduce((v,m)=>m(v),t());return o=a4(g),i=o.cache.get,a=o.cache.set,u=d,d(p)}function d(p){const g=i(p);if(g)return g;const v=u4(p,o);return a(p,v),v}return function(){return u(c4.apply(null,arguments))}}const Me=t=>{const n=o=>o[t]||[];return n.isThemeGetter=!0,n},Dv=/^\[(?:([a-z-]+):)?(.+)\]$/i,f4=/^\d+\/\d+$/,p4=new Set(["px","full","screen"]),h4=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,m4=/\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$/,g4=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,y4=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,v4=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Mn=t=>Lo(t)||p4.has(t)||f4.test(t),pr=t=>$o(t,"length",P4),Lo=t=>!!t&&!Number.isNaN(Number(t)),yc=t=>$o(t,"number",Lo),_i=t=>!!t&&Number.isInteger(Number(t)),x4=t=>t.endsWith("%")&&Lo(t.slice(0,-1)),ve=t=>Dv.test(t),hr=t=>h4.test(t),w4=new Set(["length","size","percentage"]),b4=t=>$o(t,w4,Lv),S4=t=>$o(t,"position",Lv),E4=new Set(["image","url"]),C4=t=>$o(t,E4,N4),T4=t=>$o(t,"",k4),Ii=()=>!0,$o=(t,n,o)=>{const i=Dv.exec(t);return i?i[1]?typeof n=="string"?i[1]===n:n.has(i[1]):o(i[2]):!1},P4=t=>m4.test(t)&&!g4.test(t),Lv=()=>!1,k4=t=>y4.test(t),N4=t=>v4.test(t),j4=()=>{const t=Me("colors"),n=Me("spacing"),o=Me("blur"),i=Me("brightness"),a=Me("borderColor"),u=Me("borderRadius"),c=Me("borderSpacing"),d=Me("borderWidth"),p=Me("contrast"),g=Me("grayscale"),v=Me("hueRotate"),m=Me("invert"),w=Me("gap"),S=Me("gradientColorStops"),N=Me("gradientColorStopPositions"),E=Me("inset"),C=Me("margin"),P=Me("opacity"),D=Me("padding"),O=Me("saturate"),F=Me("scale"),_=Me("sepia"),G=Me("skew"),K=Me("space"),Y=Me("translate"),he=()=>["auto","contain","none"],ye=()=>["auto","hidden","clip","visible","scroll"],Te=()=>["auto",ve,n],ce=()=>[ve,n],Se=()=>["",Mn,pr],Ne=()=>["auto",Lo,ve],Pe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],de=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],U=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",ve],H=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[Lo,ve];return{cacheSize:500,separator:":",theme:{colors:[Ii],spacing:[Mn,pr],blur:["none","",hr,ve],brightness:R(),borderColor:[t],borderRadius:["n
10one","","full",hr,ve],borderSpacing:ce(),borderWidth:Se(),contrast:R(),grayscale:X(),hueRotate:R(),invert:X(),gap:ce(),gradientColorStops:[t],gradientColorStopPositions:[x4,pr],inset:Te(),margin:Te(),opacity:R(),padding:ce(),saturate:R(),scale:R(),sepia:X(),skew:R(),space:ce(),translate:ce()},classGroups:{aspect:[{aspect:["auto","square","video",ve]}],container:["container"],columns:[{columns:[hr]}],"break-after":[{"break-after":H()}],"break-before":[{"break-before":H()}],"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:[...Pe(),ve]}],overflow:[{overflow:ye()}],"overflow-x":[{"overflow-x":ye()}],"overflow-y":[{"overflow-y":ye()}],overscroll:[{overscroll:he()}],"overscroll-x":[{"overscroll-x":he()}],"overscroll-y":[{"overscroll-y":he()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[E]}],"inset-x":[{"inset-x":[E]}],"inset-y":[{"inset-y":[E]}],start:[{start:[E]}],end:[{end:[E]}],top:[{top:[E]}],right:[{right:[E]}],bottom:[{bottom:[E]}],left:[{left:[E]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_i,ve]}],basis:[{basis:Te()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ve]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",_i,ve]}],"grid-cols":[{"grid-cols":[Ii]}],"col-start-end":[{col:["auto",{span:["full",_i,ve]},ve]}],"col-start":[{"col-start":Ne()}],"col-end":[{"col-end":Ne()}],"grid-rows":[{"grid-rows":[Ii]}],"row-start-end":[{row:["auto",{span:[_i,ve]},ve]}],"row-start":[{"row-start":Ne()}],"row-end":[{"row-end":Ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ve]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ve]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...U()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...U(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...U(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[D]}],px:[{px:[D]}],py:[{py:[D]}],ps:[{ps:[D]}],pe:[{pe:[D]}],pt:[{pt:[D]}],pr:[{pr:[D]}],pb:[{pb:[D]}],pl:[{pl:[D]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[K]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[K]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ve,n]}],"min-w":[{"min-w":[ve,n,"min","max","fit"]}],"max-w":[{"max-w":[ve,n,"none","full","min","max","fit","prose",{screen:[hr]},hr]}],h:[{h:[ve,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ve,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ve,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ve,n,"auto","min","max","fit"]}],"font-size":[{text:["base",hr,pr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yc]}],"font-family":[{font:[Ii]}],"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",ve]}],"line-clamp":[{"line-clamp":["none",Lo,yc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Mn,ve]}],"list-image":[{"list-image":["none",ve]}],"list-style-type":[{list:["none","disc","decimal",ve]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...de(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Mn,pr]}],"underline-offset":[{"underline-offset":["auto",Mn,ve]}],"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:ce()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ve]}],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",ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Pe(),S4]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",b4]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},C4]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[N]}
vendor: 5,204 bytes, line 10
10],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[u]}],"rounded-s":[{"rounded-s":[u]}],"rounded-e":[{"rounded-e":[u]}],"rounded-t":[{"rounded-t":[u]}],"rounded-r":[{"rounded-r":[u]}],"rounded-b":[{"rounded-b":[u]}],"rounded-l":[{"rounded-l":[u]}],"rounded-ss":[{"rounded-ss":[u]}],"rounded-se":[{"rounded-se":[u]}],"rounded-ee":[{"rounded-ee":[u]}],"rounded-es":[{"rounded-es":[u]}],"rounded-tl":[{"rounded-tl":[u]}],"rounded-tr":[{"rounded-tr":[u]}],"rounded-br":[{"rounded-br":[u]}],"rounded-bl":[{"rounded-bl":[u]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...de(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:de()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...de()]}],"outline-offset":[{"outline-offset":[Mn,ve]}],"outline-w":[{outline:[Mn,pr]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[Mn,pr]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",hr,T4]}],"shadow-color":[{shadow:[Ii]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[i]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",hr,ve]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[m]}],saturate:[{saturate:[O]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[O]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ve]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",ve]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",ve]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[_i,ve]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[G]}],"skew-y":[{"skew-y":[G]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ve]}],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",ve]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ce()}],"scroll-mx":[{"scroll-mx":ce()}],"scroll-my":[{"scroll-my":ce()}],"scroll-ms":[{"scroll-ms":ce()}],"scroll-me":[{"scroll-me":ce()}],"scroll-mt":[{"scroll-mt":ce()}],"scroll-mr":[{"scroll-mr":ce()}],"scroll-mb":[{"scroll-mb":ce()}],"scroll-ml":[{"scroll-ml":ce()}],"scroll-p":[{"scroll-p":ce()}],"scroll-px":[{"scroll-px":ce()}],"scroll-py":[{"scroll-py":ce()}],"scroll-ps":[{"scroll-ps":ce()}],"scroll-pe":[{"scroll-pe":ce()}],"scroll-pt":[{"scroll-pt":ce()}],"scroll-pr":[{"scroll-pr":ce()}],"scroll-pb":[{"scroll-pb":ce()}],"scroll-pl":[{"scroll-pl":ce()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,623 bytes, line 10
10],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",ve]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Mn,pr,yc]}],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"]}}},R4=d4(j4);function Sr(...t){return R4(jv(t))}const A4=Id("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),wr=b.forwardRef(({className:t,variant:n,size:o,asChild:i=!1,...a},u)=>{const c=i?GT:"button";return y.jsx(c,{className:Sr(A4({variant:n,size:o,className:t})),ref:u,...a})});wr.displayName="Button";const M4=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ov=(...t)=>t.filter((n,o,i)=>!!n&&n.trim()!==""&&i.indexOf(n)===o).join(" ").trim();var D4={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 L4=b.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:a="",children:u,iconNode:c,...d},p)=>b.createElement("svg",{ref:p,...D4,width:n,height:n,stroke:t,strokeWidth:i?Number(o)*24/Number(n):o,className:Ov("lucide",a),...d},[...c.map(([g,v])=>b.createElement(g,v)),...Array.isArray(u)?u:[u]]));const Be=(t,n)=>{const o=b.forwardRef(({className:i,...a},u)=>b.createElement(L4,{ref:u,iconNode:n,className:Ov(`lucide-${M4(t)}`,i),...a}
10));return o.displayName=`${t}`,o};const O4=Be("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);const _4=Be("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);const I4=Be("ChefHat",[["path",{d:"M17 21a1 1 0 0 0 1-1v-5.35c0-.457.316-.844.727-1.041a4 4 0 0 0-2.134-7.589 5 5 0 0 0-9.186 0 4 4 0 0 0-2.134 7.588c.411.198.727.585.727 1.041V20a1 1 0 0 0 1 1Z",key:"1qvrer"}],["path",{d:"M6 17h12",key:"1jwigz"}]]);const F4=Be("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);const as=Be("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const Ya=Be("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const V4=Be("ClipboardList",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);const z4=Be("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);const _v=Be("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const B4=Be("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);const U4=Be("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);const $4=Be("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);const W4=Be("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);const Vd=Be("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 H4=Be("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);const K4=Be("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]]);const G4=Be("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 Y4=Be("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);const Q4=Be("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);const q4=Be("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]]);const X4=Be("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);const Iv=Be("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);const Z4=Be("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 32,018 bytes, lines 10-50
10],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function yr(t,n,{checkForDefaultPrevented:o=!0}={}){return function(a){if(t?.(a),o===!1||!a.defaultPrevented)return n?.(a)}}function J4(t,n){const o=b.createContext(n),i=u=>{const{children:c,...d}=u,p=b.useMemo(()=>d,Object.values(d));return y.jsx(o.Provider,{value:p,children:c})};i.displayName=t+"Provider";function a(u){const c=b.useContext(o);if(c)return c;if(n!==void 0)return n;throw new Error(`\`${u}\` must be used within \`${t}\``)}return[i,a]}function eP(t,n=[]){let o=[];function i(u,c){const d=b.createContext(c),p=o.length;o=[...o,c];const g=m=>{const{scope:w,children:S,...N}=m,E=w?.[t]?.[p]||d,C=b.useMemo(()=>N,Object.values(N));return y.jsx(E.Provider,{value:C,children:S})};g.displayName=u+"Provider";function v(m,w){const S=w?.[t]?.[p]||d,N=b.useContext(S);if(N)return N;if(c!==void 0)return c;throw new Error(`\`${m}\` must be used within \`${u}\``)}return[g,v]}const a=()=>{const u=o.map(c=>b.createContext(c));return function(d){const p=d?.[t]||u;return b.useMemo(()=>({[`__scope${t}`]:{...d,[t]:p}}),[d,p])}};return a.scopeName=t,[i,tP(a,...n)]}function tP(...t){const n=t[0];if(t.length===1)return n;const o=()=>{const i=t.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(u){const c=i.reduce((d,{useScope:p,scopeName:g})=>{const m=p(u)[`__scope${g}`];return{...d,...m}},{});return b.useMemo(()=>({[`__scope${n.scopeName}`]:c}),[c])}};return o.scopeName=n.scopeName,o}var Zi=globalThis?.document?b.useLayoutEffect:()=>{},nP=Zc[" useId ".trim().toString()]||(()=>{}),rP=0;function vc(t){const[n,o]=b.useState(nP());return Zi(()=>{o(i=>i??String(rP++))},[t]),t||(n?`radix-${n}`:"")}var oP=Zc[" useInsertionEffect ".trim().toString()]||Zi;function iP({prop:t,defaultProp:n,onChange:o=()=>{},caller:i}){const[a,u,c]=sP({defaultProp:n,onChange:o}),d=t!==void 0,p=d?t:a;{const v=b.useRef(t!==void 0);b.useEffect(()=>{const m=v.current;m!==d&&console.warn(`${i} is changing from ${m?"controlled":"uncontrolled"} to ${d?"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.`),v.current=d},[d,i])}const g=b.useCallback(v=>{if(d){const m=aP(v)?v(t):v;m!==t&&c.current?.(m)}else u(v)},[d,t,u,c]);return[p,g]}function sP({defaultProp:t,onChange:n}){const[o,i]=b.useState(t),a=b.useRef(o),u=b.useRef(n);return oP(()=>{u.current=n},[n]),b.useEffect(()=>{a.current!==o&&(u.current?.(o),a.current=o)},[o,a]),[o,i,u]}function aP(t){return typeof t=="function"}function lP(t){const n=uP(t),o=b.forwardRef((i,a)=>{const{children:u,...c}=i,d=b.Children.toArray(u),p=d.find(dP);if(p){const g=p.props.children,v=d.map(m=>m===p?b.Children.count(g)>1?b.Children.only(null):b.isValidElement(g)?g.props.children:null:m);return y.jsx(n,{...c,ref:a,children:b.isValidElement(g)?b.cloneElement(g,void 0,v):null})}return y.jsx(n,{...c,ref:a,children:u})});return o.displayName=`${t}.Slot`,o}function uP(t){const n=b.forwardRef((o,i)=>{const{children:a,...u}=o;if(b.isValidElement(a)){const c=pP(a),d=fP(u,a.props);return a.type!==b.Fragment&&(d.ref=i?ol(i,c):c),b.cloneElement(a,d)}return b.Children.count(a)>1?b.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var cP=Symbol("radix.slottable");function dP(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===cP}function fP(t,n){const o={...n};for(const i in n){const a=t[i],u=n[i];/^on[A-Z]/.test(i)?a&&u?o[i]=(...d)=>{const p=u(...d);return a(...d),p}:a&&(o[i]=a):i==="style"?o[i]={...a,...u}:i==="className"&&(o[i]=[a,u].filter(Boolean).join(" "))}return{...t,...o}}function pP(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,o=n&&"isReactWarning"in n&&n.isReactWarning;return o?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,o=n&&"isReactWarning"in n&&n.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}var hP=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Fn=hP.reduce((t,n)=>{const o=lP(`Primitive.${n}`),i=b.forwardRef((a,u)=>{const{asChild:c,...d}=a,p=c?o:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(p,{...d,ref:u})});return i.displayName=`Primitive.${n}`,{...t,[n]:i}},{});function mP(t,n){t&&Hg.flushSync(()=>t.dispatchEvent(n))}function Ji(t){const n=b.useRef(t);return b.useEffect(()=>{n.current=t}),b.useMemo(()=>(...o)=>n.current?.(...o),[])}function gP(t,n=globalThis?.document){const o=Ji(t);b.useEffect(()=>{const i=a=>{a.key==="Escape"&&o(a)};return n.addEventListener("keydown",i,{capture:!0}),()=>n.removeEventListener("keydown",i,{capture:!0})},[o,n])}var yP="DismissableLayer",Qc="dismissableLayer.update",vP="dismissableLayer.pointerDownOutside",xP="dismissableLayer.focusOutside",pg,Fv=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Vv=b.forwardRef((t,n)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:u,onInteractOutside:c,onDismiss:d,...p}=t,g=b.useContext(Fv),[v,m]=b.useState(null),w=v?.ownerDocument??globalThis?.document,[,S]=b.useState({}),N=Xr(n,K=>m(K)),E=Array.from(g.layers),[C]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),P=E.indexOf(C),D=v?E.indexOf(v):-1,O=g.layersWithOutsidePointerEventsDisabled.size>0,F=D>=P,_=SP(K=>{const Y=K.target,he=[...g.branches].some(ye=>ye.contains(Y));!F||he||(a?.(K),c?.(K),K.defaultPrevented||d?.())},w),G=EP(K=>{const Y=K.target;[...g.branches].some(ye=>ye.contains(Y))||(u?.(K),c?.(K),K.defaultPrevented||d?.())},w);return gP(K=>{D===g.layers.size-1&&(i?.(K),!K.defaultPrevented&&d&&(K.preventDefault(),d()))},w),b.useEffect(()=>{if(v)return o&&(g.layersWithOutsidePointerEventsDisabled.size===0&&(pg=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(v)),g.layers.add(v),hg(),()=>{o&&g.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=pg)}},[v,w,o,g]),b.useEffect(()=>()=>{v&&(g.layers.delete(v),g.layersWithOutsidePointerEventsDisabled.delete(v),hg())},[v,g]),b.useEffect(()=>{const K=()=>S({});return document.addEventListener(Qc,K),()=>document.removeEventListener(Qc,K)},[]),y.jsx(Fn.div,{...p,ref:N,style:{pointerEvents:O?F?"auto":"none":void 0,...t.style},onFocusCapture:yr(t.onFocusCapture,G.onFocusCapture),onBlurCapture:yr(t.onBlurCapture,G.onBlurCapture),onPointerDownCapture:yr(t.onPointerDownCapture,_.onPointerDownCapture)})});Vv.displayName=yP;var wP="DismissableLayerBranch",bP=b.forwardRef((t,n)=>{const o=b.useContext(Fv),i=b.useRef(null),a=Xr(n,i);return b.useEffect(()=>{const u=i.current;if(u)return o.branches.add(u),()=>{o.branches.delete(u)}},[o.branches]),y.jsx(Fn.div,{...t,ref:a})});bP.displayName=wP;function SP(t,n=globalThis?.document){const o=Ji(t),i=b.useRef(!1),a=b.useRef(()=>{});return b.useEffect(()=>{const u=d=>{if(d.target&&!i.current){let p=function(){zv(vP,o,g,{discrete:!0})};const g={originalEvent:d};d.pointerType==="touch"?(n.removeEventListener("click",a.current),a.current=p,n.addEventListener("click",a.current,{once:!0})):p()}else n.removeEventListener("click",a.current);i.current=!1},c=window.setTimeout(()=>{n.addEventListener("pointerdown",u)},0);return()=>{window.clearTimeout(c),n.removeEventListener("pointerdown",u),n.removeEventListener("click",a.current)}},[n,o]),{onPointerDownCapture:()=>i.current=!0}}function EP(t,n=globalThis?.document){const o=Ji(t),i=b.useRef(!1);return b.useEffect(()=>{const a=u=>{u.target&&!i.current&&zv(xP,o,{originalEvent:u},{discrete:!1})};return n.addEventListener("focusin",a),()=>n.removeEventListener("focusin",a)},[n,o]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function hg(){const t=new CustomEvent(Qc);document.dispatchEvent(t)}function zv(t,n,o,{discrete:i}){const a=o.originalEvent.target,u=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:o});n&&a.addEventListener(t,n,{once:!0}),i?mP(a,u):a.dispatchEvent(u)}var xc="focusScope.autoFocusOnMount",wc="focusScope.autoFocusOnUnmount",mg={bubbles:!1,cancelable:!0},CP="FocusScope",Bv=b.forwardRef((t,n)=>{const{loop:o=!1,trapped:i=!1,onMountAutoFocus:a,onUnmountAutoFocus:u,...c}=t,[d,p]=b.useState(null),g=Ji(a),v=Ji(u),m=b.useRef(null),w=Xr(n,E=>p(E)),S=b.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;b.useEffect(()=>{if(i){let E=function(O){if(S.paused||!d)return;const F=O.target;d.contains(F)?m.current=F:gr(m.current,{select:!0})},C=function(O){if(S.paused||!d)return;const F=O.relatedTarget;F!==null&&(d.contains(F)||gr(m.current,{select:!0}))},P=function(O){if(document.activeElement===document.body)for(const _ of O)_.removedNodes.length>0&&gr(d)};document.addEventListener("focusin",E),document.addEventListener("focusout",C);const D=new MutationObserver(P);return d&&D.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",E),document.removeEventListener("focusout",C),D.disconnect()}}},[i,d,S.paused]),b.useEffect(()=>{if(d){yg.add(S);const E=document.activeElement;if(!d.contains(E)){const P=new CustomEvent(xc,mg);d.addEventListener(xc,g),d.dispatchEvent(P),P.defaultPrevented||(TP(RP(Uv(d)),{select:!0}),document.activeElement===E&&gr(d))}return()=>{d.removeEventListener(xc,g),setTimeout(()=>{const P=new CustomEvent(wc,mg);d.addEventListener(wc,v),d.dispatchEvent(P),P.defaultPrevented||gr(E??document.body,{select:!0}),d.removeEventListener(wc,v),yg.remove(S)},0)}}},[d,g,v,S]);const N=b.useCallback(E=>{if(!o&&!i||S.paused)return;const C=E.key==="Tab"&&!E.altKey&&!E.ctrlKey&&!E.metaKey,P=document.activeElement;if(C&&P){const D=E.currentTarget,[O,F]=PP(D);O&&F?!E.shiftKey&&P===F?(E.preventDefault(),o&&gr(O,{select:!0})):E.shiftKey&&P===O&&(E.preventDefault(),o&&gr(F,{select:!0})):P===D&&E.preventDefault()}},[o,i,S.paused]);return y.jsx(Fn.div,{tabIndex:-1,...c,ref:w,onKeyDown:N})});Bv.displayName=CP;function TP(t,{select:n=!1}={}){const o=document.activeElement;for(const i of t)if(gr(i,{select:n}),document.activeElement!==o)return}function PP(t){const n=Uv(t),o=gg(n,t),i=gg(n.reverse(),t);return[o,i]}function Uv(t){const n=[],o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const a=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||a?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)n.push(o.currentNode);return n}function gg(t,n){for(const o of t)if(!kP(o,{upTo:n}))return o}function kP(t,{upTo:n}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(n!==void 0&&t===n)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function NP(t){return t instanceof HTMLInputElement&&"select"in t}function gr(t,{select:n=!1}={}){if(t&&t.focus){const o=document.activeElement;t.focus({preventScroll:!0}),t!==o&&NP(t)&&n&&t.select()}}var yg=jP();function jP(){let t=[];return{add(n){const o=t[0];n!==o&&o?.pause(),t=vg(t,n),t.unshift(n)},remove(n){t=vg(t,n),t[0]?.resume()}}}function vg(t,n){const o=[...t],i=o.indexOf(n);return i!==-1&&o.splice(i,1),o}function RP(t){return t.filter(n=>n.tagName!=="A")}var AP="Portal",$v=b.forwardRef((t,n)=>{const{container:o,...i}=t,[a,u]=b.useState(!1);Zi(()=>u(!0),[]);const c=o||a&&globalThis?.document?.body;return c?Kg.createPortal(y.jsx(Fn.div,{...i,ref:n}),c):null});$v.displayName=AP;function MP(t,n){return b.useReducer((o,i)=>n[o][i]??o,t)}var il=t=>{const{present:n,children:o}=t,i=DP(n),a=typeof o=="function"?o({present:i.isPresent}):b.Children.only(o),u=Xr(i.ref,LP(a));return typeof o=="function"||i.isPresent?b.cloneElement(a,{ref:u}):null};il.displayName="Presence";function DP(t){const[n,o]=b.useState(),i=b.useRef(null),a=b.useRef(t),u=b.useRef("none"),c=t?"mounted":"unmounted",[d,p]=MP(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const g=Ta(i.current);u.current=d==="mounted"?g:"none"},[d]),Zi(()=>{const g=i.current,v=a.current;if(v!==t){const w=u.current,S=Ta(g);t?p("MOUNT"):S==="none"||g?.display==="none"?p("UNMOUNT"):p(v&&w!==S?"ANIMATION_OUT":"UNMOUNT"),a.current=t}},[t,p]),Zi(()=>{if(n){let g;const v=n.ownerDocument.defaultView??window,m=S=>{const E=Ta(i.current).includes(CSS.escape(S.animationName));if(S.target===n&&E&&(p("ANIMATION_END"),!a.current)){const C=n.style.animationFillMode;n.style.animationFillMode="forwards",g=v.setTimeout(()=>{n.style.animationFillMode==="forwards"&&(n.style.animationFillMode=C)})}},w=S=>{S.target===n&&(u.current=Ta(i.current))};return n.addEventListener("animationstart",w),n.addEventListener("animationcancel",m),n.addEventListener("animationend",m),()=>{v.clearTimeout(g),n.removeEventListener("animationstart",w),n.removeEventListener("animationcancel",m),n.removeEventListener("animationend",m)}}else p("ANIMATION_END")},[n,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:b.useCallback(g=>{i.current=g?getComputedStyle(g):null,o(g)},[])}}function Ta(t){return t?.animationName||"none"}function LP(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,o=n&&"isReactWarning"in n&&n.isReactWarning;return o?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,o=n&&"isReactWarning"in n&&n.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}var bc=0;function OP(){b.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??xg()),document.body.insertAdjacentElement("beforeend",t[1]??xg()),bc++,()=>{bc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),bc--}},[])}function xg(){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 fn=function(){return fn=Object.assign||function(n){for(var o,i=1,a=arguments.length;i<a;i++){o=arguments[i];for(var u in o)Object.prototype.hasOwnProperty.call(o,u)&&(n[u]=o[u])}return n},fn.apply(this,arguments)};function Wv(t,n){var o={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.indexOf(i)<0&&(o[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,i=Object.getOwnPropertySymbols(t);a<i.length;a++)n.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(t,i[a])&&(o[i[a]]=t[i[a]]);return o}function _P(t,n,o){if(o||arguments.length===2)for(var i=0,a=n.length,u;i<a;i++)(u||!(i in n))&&(u||(u=Array.prototype.slice.call(n,0,i)),u[i]=n[i]);return t.concat(u||Array.prototype.slice.call(n))}var Oa="right-scroll-bar-position",_a="width-before-scroll-bar",IP="with-scroll-bars-hidden",FP="--removed-body-scroll-bar-size";function Sc(t,n){return typeof t=="function"?t(n):t&&(t.current=n),t}function VP(t,n){var o=b.useState(function(){return{value:t,callback:n,facade:{get current(){return o.value},set current(i){var a=o.value;a!==i&&(o.value=i,o.callback(i,a))}}}})[0];return o.callback=n,o.facade}var zP=typeof window<"u"?b.useLayoutEffect:b.useEffect,wg=new WeakMap;function BP(t,n){var o=VP(null,function(i){return t.forEach(function(a){return Sc(a,i)})});return zP(function(){var i=wg.get(o);if(i){var a=new Set(i),u=new Set(t),c=o.current;a.forEach(function(d){u.has(d)||Sc(d,null)}),u.forEach(function(d){a.has(d)||Sc(d,c)})}wg.set(o,t)},[t]),o}function UP(t){return t}function $P(t,n){n===void 0&&(n=UP);var o=[],i=!1,a={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:t},useMedium:function(u){var c=n(u,i);return o.push(c),function(){o=o.filter(function(d){return d!==c})}},assignSyncMedium:function(u){for(i=!0;o.length;){var c=o;o=[],c.forEach(u)}o={push:function(d){return u(d)},filter:function(){return o}}},assignMedium:function(u){i=!0;var c=[];if(o.length){var d=o;o=[],d.forEach(u),c=o}var p=function(){var v=c;c=[],v.forEach(u)},g=function(){return Promise.resolve().then(p)};g(),o={push:function(v){c.push(v),g()},filter:function(v){return c=c.filter(v),o}}}};return a}function WP(t){t===void 0&&(t={});var n=$P(null);return n.options=fn({async:!0,ssr:!1},t),n}var Hv=function(t){var n=t.sideCar,o=Wv(t,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=n.read();if(!i)throw new Error("Sidecar medium not found");return b.createElement(i,fn({},o))};Hv.isSideCarExport=!0;function HP(t,n){return t.useMedium(n),Hv}var Kv=WP(),Ec=function(){},sl=b.forwardRef(function(t,n){var o=b.useRef(null),i=b.useState({onScrollCapture:Ec,onWheelCapture:Ec,onTouchMoveCapture:Ec}),a=i[0],u=i[1],c=t.forwardProps,d=t.children,p=t.className,g=t.removeScrollBar,v=t.enabled,m=t.shards,w=t.sideCar,S=t.noRelative,N=t.noIsolation,E=t.inert,C=t.allowPinchZoom,P=t.as,D=P===void 0?"div":P,O=t.gapMode,F=Wv(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),_=w,G=BP([o,n]),K=fn(fn({},F),a);return b.createElement(b.Fragment,null,v&&b.createElement(_,{sideCar:Kv,removeScrollBar:g,shards:m,noRelative:S,noIsolation:N,inert:E,setCallbacks:u,allowPinchZoom:!!C,lockRef:o,gapMode:O}),c?b.cloneElement(b.Children.only(d),fn(fn({},K),{ref:G})):b.createElement(D,fn({},K,{className:p,ref:G}),d))});sl.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};sl.classNames={fullWidth:_a,zeroRight:Oa};var KP=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function GP(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var n=KP();return n&&t.setAttribute("nonce",n),t}function YP(t,n){t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n))}function QP(t){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(t)}var qP=function(){var t=0,n=null;return{add:function(o){t==0&&(n=GP())&&(YP(n,o),QP(n)),t++},remove:function(){t--,!t&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},XP=function(){var t=qP();return function(n,o){b.useEffect(function(){return t.add(n),function(){t.remove()}},[n&&o])}},Gv=function(){var t=XP(),n=function(o){var i=o.styles,a=o.dynamic;return t(i,a),null};return n},ZP={left:0,top:0,right:0,gap:0},Cc=function(t){return parseInt(t||"",10)||0},JP=function(t){var n=window.getComputedStyle(document.body),o=n[t==="padding"?"paddingLeft":"marginLeft"],i=n[t==="padding"?"paddingTop":"marginTop"],a=n[t==="padding"?"paddingRight":"marginRight"];return[Cc(o),Cc(i),Cc(a)]},ek=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return ZP;var n=JP(t),o=document.documentElement.clientWidth,i=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,i-o+n[2]-n[0])}},tk=Gv(),Oo="data-scroll-locked",nk=function(t,n,o,i){var a=t.left,u=t.top,c=t.right,d=t.gap;return o===void 0&&(o="margin"),`
11  .`.concat(IP,` {
12   overflow: hidden `).concat(i,`;
13   padding-right: `).concat(d,"px ").concat(i,`;
14  }
15  body[`).concat(Oo,`] {
16    overflow: hidden `).concat(i,`;
17    overscroll-behavior: contain;
18    `).concat([n&&"position: relative ".concat(i,";"),o==="margin"&&`
19    padding-left: `.concat(a,`px;
20    padding-top: `).concat(u,`px;
21    padding-right: `).concat(c,`px;
22    margin-left:0;
23    margin-top:0;
24    margin-right: `).concat(d,"px ").concat(i,`;
25    `),o==="padding"&&"padding-right: ".concat(d,"px ").concat(i,";")].filter(Boolean).join(""),`
26  }
27  
28  .`).concat(Oa,` {
29    right: `).concat(d,"px ").concat(i,`;
30  }
31  
32  .`).concat(_a,` {
33    margin-right: `).concat(d,"px ").concat(i,`;
34  }
35  
36  .`).concat(Oa," .").concat(Oa,` {
37    right: 0 `).concat(i,`;
38  }
39  
40  .`).concat(_a," .").concat(_a,` {
41    margin-right: 0 `).concat(i,`;
42  }
43  
44  body[`).concat(Oo,`] {
45    `).concat(FP,": ").concat(d,`px;
46  }
47`)},bg=function(){var t=parseInt(document.body.getAttribute(Oo)||"0",10);return isFinite(t)?t:0},rk=function(){b.useEffect(function(){return document.body.setAttribute(Oo,(bg()+1).toString()),function(){var t=bg()-1;t<=0?document.body.removeAttribute(Oo):document.body.setAttribute(Oo,t.toString())}},[])},ok=function(t){var n=t.noRelative,o=t.noImportant,i=t.gapMode,a=i===void 0?"margin":i;rk();var u=b.useMemo(function(){return ek(a)},[a]);return b.createElement(tk,{styles:nk(u,!n,a,o?"":"!important")})},qc=!1;if(typeof window<"u")try{var Pa=Object.defineProperty({},"passive",{get:function(){return qc=!0,!0}});window.addEventListener("test",Pa,Pa),window.removeEventListener("test",Pa,Pa)}catch{qc=!1}var To=qc?{passive:!1}:!1,ik=function(t){return t.tagName==="TEXTAREA"},Yv=function(t,n){if(!(t instanceof Element))return!1;var o=window.getComputedStyle(t);return o[n]!=="hidden"&&!(o.overflowY===o.overflowX&&!ik(t)&&o[n]==="visible")},sk=function(t){return Yv(t,"overflowY")},ak=function(t){return Yv(t,"overflowX")},Sg=function(t,n){var o=n.ownerDocument,i=n;do{typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&(i=i.host);var a=Qv(t,i);if(a){var u=qv(t,i),c=u[1],d=u[2];if(c>d)return!0}i=i.parentNode}while(i&&i!==o.body);return!1},lk=function(t){var n=t.scrollTop,o=t.scrollHeight,i=t.clientHeight;return[n,o,i]},uk=function(t){var n=t.scrollLeft,o=t.scrollWidth,i=t.clientWidth;return[n,o,i]},Qv=function(t,n){return t==="v"?sk(n):ak(n)},qv=function(t,n){return t==="v"?lk(n):uk(n)},ck=function(t,n){return t==="h"&&n==="rtl"?-1:1},dk=function(t,n,o,i,a){var u=ck(t,window.getComputedStyle(n).direction),c=u*i,d=o.target,p=n.contains(d),g=!1,v=c>0,m=0,w=0;do{if(!d)break;var S=qv(t,d),N=S[0],E=S[1],C=S[2],P=E-C-u*N;(N||P)&&Qv(t,d)&&(m+=P,w+=N);var D=d.parentNode;d=D&&D.nodeType===Node.DOCUMENT_FRAGMENT_NODE?D.host:D}while(!p&&d!==document.body||p&&(n.contains(d)||n===d));return(v&&Math.abs(m)<1||!v&&Math.abs(w)<1)&&(g=!0),g},ka=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},Eg=function(t){return[t.deltaX,t.deltaY]},Cg=function(t){return t&&"current"in t?t.current:t},fk=function(t,n){return t[0]===n[0]&&t[1]===n[1]},pk=function(t){return`
48  .block-interactivity-`.concat(t,` {pointer-events: none;}
49  .allow-interactivity-`).concat(t,` {pointer-events: all;}
50`)},hk=0,Po=[];function mk(t){var n=b.useRef([]),o=b.useRef([0,0]),i=b.useRef(),a=b.useState(hk++)[0],u=b.useState(Gv)[0],c=b.useRef(t);b.useEffect(function(){c.current=t},[t]),b.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(a));var E=_P([t.lockRef.current],(t.shards||[]).map(Cg),!0).filter(Boolean);return E.forEach(function(C){return C.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),E.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(a))})}}},[t.inert,t.lockRef.current,t.shards]);var d=b.useCallback(function(E,C){if("touches"in E&&E.touches.length===2||E.type==="wheel"&&E.ctrlKey)return!c.current.allowPinchZoom;var P=ka(E),D=o.current,O="deltaX"in E?E.deltaX:D[0]-P[0],F="deltaY"in E?E.deltaY:D[1]-P[1],_,G=E.target,K=Math.abs(O)>Math.abs(F)?"h":"v";if("touches"in E&&K==="h"&&G.type==="range")return!1;var Y=window.getSelection(),he=Y&&Y.anchorNode,ye=he?he===G||he.contains(G):!1;if(ye)return!1;var Te=Sg(K,G);if(!Te)return!0;if(Te?_=K:(_=K==="v"?"h":"v",Te=Sg(K,G)),!Te)return!1;if(!i.current&&"changedTouches"in E&&(O||F)&&(i.current=_),!_)return!0;var ce=i.current||_;return dk(ce,C,E,ce==="h"?O:F)},[]),p=b.useCallback(function(E){var C=E;if(!(!Po.length||Po[Po.length-1]!==u)){var P="deltaY"in C?Eg(C):ka(C),D=n.current.filter(function(_){return _.name===C.type&&(_.target===C.target||C.target===_.shadowParent)&&fk(_.delta,P)})[0];if(D&&D.should){C.cancelable&&C.preventDefault();return}if(!D){var O=(c.current.shards||[]).map(Cg).filter(Boolean).filter(function(_){return _.contains(C.target)}),F=O.length>0?d(C,O[0]):!c.current.noIsolation;F&&C.cancelable&&C.preventDefault()}}},[]),g=b.useCallback(function(E,C,P,D){var O={name:E,delta:C,target:P,should:D,shadowParent:gk(P)};n.current.push(O),setTimeout(function(){n.current=n.current.filter(function(F){return F!==O})},1)},[]),v=b.useCallback(function(E){o.current=ka(E),i.current=void 0},[]),m=b.useCallback(function(E){g(E.type,Eg(E),E.target,d(E,t.lockRef.current))},[]),w=b.useCallback(function(E){g(E.type,ka(E),E.target,d(E,t.lockRef.current))},[]);b.useEffect(function(){return Po.push(u),t.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:w}),document.addEventListener("wheel",p,To),document.addEventListener("touchmove",p,To),document.addEventListener("touchstart",v,To),function(){Po=Po.filter(function(E){return E!==u}),document.removeEventListener("wheel",p,To),document.removeEventListener("touchmove",p,To),document.removeEventListener("touchstart",v,To)}},[]);var S=t.removeScrollBar,N=t.inert;return b.createElement(b.Fragment,null,N?b.createElement(u,{styles:pk(a)}):null,S?b.createElement(ok,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function gk(t){for(var n=null;t!==null;)t instanceof ShadowRoot&&(n=t.host,t=t.host),t=t.parentNode;return n}const yk=HP(Kv,mk);var Xv=b.forwardRef(function(t,n){return b.createElement(sl,fn({},t,{ref:n,sideCar:yk}))});Xv.classNames=sl.classNames;var vk=function(t){if(typeof document>"u")return null;var n=Array.isArray(t)?t[0]:t;return n.ownerDocument.body},ko=new WeakMap,Na=new WeakMap,ja={},Tc=0,Zv=function(t){return t&&(t.host||Zv(t.parentNode))},xk=function(t,n){return n.map(function(o){if(t.contains(o))return o;var i=Zv(o);return i&&t.contains(i)?i:(console.error("aria-hidden",o,"in not contained inside",t,". Doing nothing"),null)}).filter(function(o){return!!o})},wk=function(t,n,o,i){var a=xk(n,Array.isArray(t)?t:[t]);ja[o]||(ja[o]=new WeakMap);var u=ja[o],c=[],d=new Set,p=new Set(a),g=function(m){!m||d.has(m)||(d.add(m),g(m.parentNode))};a.forEach(g);var v=function(m){!m||p.has(m)||Array.prototype.forEach.call(m.children,function(w){if(d.has(w))v(w);else try{var S=w.getAttribute(i),N=S!==null&&S!=="false",E=(ko.get(w)||0)+1,C=(u.get(w)||0)+1;ko.set(w,E),u.set(w,C),c.push(w),E===1&&N&&Na.set(w,!0),C===1&&w.setAttribute(o,"true"),N||w.setAttribute(i,"true")}catch(P){console.error("aria-hidden: cannot operate on ",w,P)}})};return v(n),d.clear(),Tc++,function(){c.forEach(function(m){var w=ko.get(m)-1,S=u.get(m)-1;ko.set(m,w),u.set(m,S),w||(Na.has(m)||m.removeAttribute(i),Na.delete(m)),S||m.removeAttribute(o)}),Tc--,Tc||(ko=new WeakMap,ko=new WeakMap,Na=new WeakMap,ja={})}},bk=function(t,n,o){o===void 0&&(o="data-aria-hidden");var i=Array.from(Array.isArray(t)?t:[t]),a=vk(t);return a?(i.push.apply(i,Array.from(a.querySelectorAll("[aria-live], script"))),wk(i,a,o,"aria-hidden")):function(){return null}};function Sk(t){const n=Ek(t),o=b.forwardRef((i,a)=>{const{children:u,...c}=i,d=b.Children.toArray(u),p=d.find(Tk);if(p){const g=p.props.children,v=d.map(m=>m===p?b.Children.count(g)>1?b.Children.only(null):b.isValidElement(g)?g.props.children:null:m);return y.jsx(n,{...c,ref:a,children:b.isValidElement(g)?b.cloneElement(g,void 0,v):null})}return y.jsx(n,{...c,ref:a,children:u})});return o.displayName=`${t}.Slot`,o}function Ek(t){const n=b.forwardRef((o,i)=>{const{children:a,...u}=o;if(b.isValidElement(a)){const c=kk(a),d=Pk(u,a.props);return a.type!==b.Fragment&&(d.ref=i?ol(i,c):c),b.cloneElement(a,d)}return b.Children.count(a)>1?b.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var Ck=Symbol("radix.slottable");function Tk(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===Ck}function Pk(t,n){const o={...n};for(const i in n){const a=t[i],u=n[i];/^on[A-Z]/.test(i)?a&&u?o[i]=(...d)=>{const p=u(...d);return a(...d),p}:a&&(o[i]=a):i==="style"?o[i]={...a,...u}:i==="className"&&(o[i]=[a,u].filter(Boolean).join(" "))}return{...t,...o}}function kk(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,o=n&&"isReactWarning"in n&&n.isReactWarning;return o?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,o=n&&"isReactWarning"in n&&n.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}var al="Dialog",[Jv]=eP(al),[Nk,rn]=Jv(al),e0=t=>{const{__scopeDialog:n,children:o,open:i,defaultOpen:a,onOpenChange:u,modal:c=!0}=t,d=b.useRef(null),p=b.useRef(null),[g,v]=iP({prop:i,defaultProp:a??!1,onChange:u,caller:al});return y.jsx(Nk,{scope:n,triggerRef:d,contentRef:p,contentId:vc(),titleId:vc(),descriptionId:vc(),open:g,onOpenChange:v,onOpenToggle:b.useCallback(()=>v(m=>!m),[v]),modal:c,children:o})};e0.displayName=al;var t0="DialogTrigger",n0=b.forwardRef((t,n)=>{const{__scopeDialog:o,...i}=t,a=rn(t0,o),u=Xr(n,a.triggerRef);return y.jsx(Fn.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Ud(a.open),...i,ref:u,onClick:yr(t.onClick,a.onOpenToggle)})});n0.displayName=t0;var zd="DialogPortal",[jk,r0]=Jv(zd,{forceMount:void 0}),o0=t=>{const{__scopeDialog:n,forceMount:o,children:i,container:a}=t,u=rn(zd,n);return y.jsx(jk,{scope:n,forceMount:o,children:b.Children.map(i,c=>y.jsx(il,{present:o||u.open,children:y.jsx($v,{asChild:!0,container:a,children:c})}))})};o0.displayName=zd;var Qa="DialogOverlay",i0=b.forwardRef((t,n)=>{const o=r0(Qa,t.__scopeDialog),{forceMount:i=o.forceMount,...a}=t,u=rn(Qa,t.__scopeDialog);return u.modal?y.jsx(il,{present:i||u.open,children:y.jsx(Ak,{...a,ref:n})}):null});i0.displayName=Qa;var Rk=Sk("DialogOverlay.RemoveScroll"),Ak=b.forwardRef((t,n)=>{const{__scopeDialog:o,...i}=t,a=rn(Qa,o);return y.jsx(Xv,{as:Rk,allowPinchZoom:!0,shards:[a.contentRef],children:y.jsx(Fn.div,{"data-state":Ud(a.open),...i,ref:n,style:{pointerEvents:"auto",...i.style}})})}),Yr="DialogContent",s0=b.forwardRef((t,n)=>{const o=r0(Yr,t.__scopeDialog),{forceMount:i=o.forceMount,...a}=t,u=rn(Yr,t.__scopeDialog);return y.jsx(il,{present:i||u.open,children:u.modal?y.jsx(Mk,{...a,ref:n}):y.jsx(Dk,{...a,ref:n})})});s0.displayName=Yr;var Mk=b.forwardRef((t,n)=>{const o=rn(Yr,t.__scopeDialog),i=b.useRef(null),a=Xr(n,o.contentRef,i);return b.useEffect(()=>{const u=i.current;if(u)return bk(u)},[]),y.jsx(a0,{...t,ref:a,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:yr(t.onCloseAutoFocus,u=>{u.preventDefault(),o.triggerRef.current?.focus()}),onPointerDownOutside:yr(t.onPointerDownOutside,u=>{const c=u.detail.originalEvent,d=c.button===0&&c.ctrlKey===!0;(c.button===2||d)&&u.preventDefault()}),onFocusOutside:yr(t.onFocusOutside,u=>u.preventDefault())})}),Dk=b.forwardRef((t,n)=>{const o=rn(Yr,t.__scopeDialog),i=b.useRef(!1),a=b.useRef(!1);return y.jsx(a0,{...t,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:u=>{t.onCloseAutoFocus?.(u),u.defaultPrevented||(i.current||o.triggerRef.current?.focus(),u.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:u=>{t.onInteractOutside?.(u),u.defaultPrevented||(i.current=!0,u.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const c=u.target;o.triggerRef.current?.contains(c)&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&a.current&&u.preventDefault()}})}),a0=b.forwardRef((t,n)=>{const{__scopeDialog:o,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:u,...c}=t,d=rn(Yr,o),p=b.useRef(null),g=Xr(n,p);return OP(),y.jsxs(y.Fragment,{children:[y.jsx(Bv,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:u,children:y.jsx(Vv,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":Ud(d.open),...c,ref:g,onDismiss:()=>d.onOpenChange(!1)})}),y.jsxs(y.Fragment,{children:[y.jsx(Lk,{titleId:d.titleId}),y.jsx(_k,{contentRef:p,descriptionId:d.descriptionId})]})]})}),Bd="DialogTitle",l0=b.forwardRef((t,n)=>{const{__scopeDialog:o,...i}=t,a=rn(Bd,o);return y.jsx(Fn.h2,{id:a.titleId,...i,ref:n})});l0.displayName=Bd;var u0="DialogDescription",c0=b.forwardRef((t,n)=>{const{__scopeDialog:o,...i}=t,a=rn(u0,o);return y.jsx(Fn.p,{id:a.descriptionId,...i,ref:n})});c0.displayName=u0;
50var d0="DialogClose",f0=b.forwardRef((t,n)=>{const{__scopeDialog:o,...i}=t,a=rn(d0,o);return y.jsx(Fn.button,{type:"button",...i,ref:n,onClick:yr(t.onClick,()=>a.onOpenChange(!1))})});f0.displayName=d0;function Ud(t){return t?"open":"closed"}var p0="DialogTitleWarning",[wN,h0]=J4(p0,{contentName:Yr,titleName:Bd,docsSlug:"dialog"}),Lk=({titleId:t})=>{const n=h0(p0),o=`\`${n.contentName}\` requires a \`${n.titleName}\` for the component to be accessible for screen reader users.
51
52If you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component.
53
54For more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;return b.useEffect(()=>{t&&(document.getElementById(t)||console.error(o))},[o,t]),null},Ok="DialogDescriptionWarning",_k=({contentRef:t,descriptionId:n})=>{const i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${h0(Ok).contentName}}.`;return b.useEffect(()=>{const a=t.current?.getAttribute("aria-describedby");n&&a&&(document.getElementById(n)||console.warn(i))},[i,t,n]),null},Ik=e0,Fk=n0,Vk=o0,m0=i0,g0=s0,y0=l0,v0=c0,zk=f0;const Bk=Ik,Uk=Fk,$k=Vk,x0=b.forwardRef(({className:t,...n},o)=>y.jsx(m0,{className:Sr("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...n,ref:o}));x0.displayName=m0.displayName;const Wk=Id("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),w0=b.forwardRef(({side:t="right",className:n,children:o,...i},a)=>y.jsxs($k,{children:[y.jsx(x0,{}),y.jsxs(g0,{ref:a,className:Sr(Wk({side:t}),n),...i,children:[y.jsxs(zk,{className:"absolute right-4 top-4 roun
54ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[y.jsx(Z4,{className:"h-4 w-4"}),y.jsx("span",{className:"sr-only",children:"Close"})]}),o]})]}));w0.displayName=g0.displayName;const Hk=b.forwardRef(({className:t,...n},o)=>y.jsx(y0,{ref:o,className:Sr("text-lg font-semibold text-foreground",t),...n}));Hk.displayName=y0.displayName;const Kk=b.forwardRef(({className:t,...n},o)=>y.jsx(v0,{ref:o,className:Sr("text-sm text-muted-foreground",t),...n}));Kk.displayName=v0.displayName;const Tg=[{name:"Home",path:"/"},{name:"Our Story",path:"/our-story"},{name:"Our Menu",path:"/menu"},{name:"Licensing",path:"/licensing"},{name:"B2B Wholesale - Retail - Catering",path:"/b2b"},{name:"Kansas BBQ Empanadas",path:"/kansas-bbq-empanadas"},{name:"Marketing & Media",path:"/marketing-media"},{name:"Contact",path:"/contact"}];function Vn(){const t=yn(),[n,o]=b.useState(!1),i=a=>t.pathname===a;return y.jsx("header",{className:"sticky top-0 z-50 bg-white/95 backdrop-blur-sm border-b border-gray-200",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[y.jsxs("div",{className:"py-4 flex flex-col items-center gap-2",children:[y.jsx(Pt,{to:"/",className:"transition-all duration-200 hover:opacity-80",children:y.jsx("img",{src:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/2ba195845b99c6019070822afc7080af.png",alt:"KC Empanadas logo",className:"h-14 md:h-16 w-auto"})}),y.jsx(Pt,{to:"/",className:"text-xl md:text-2xl font-bold text-yellow-700 transition-all duration-200 hover:opacity-80 text-center max-w-xs md:max-w-none",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"KC Empanadas"})]}),y.jsx("nav",{className:"hidden lg:block pb-3",children:y.jsx("ul",{className:"flex justify-center items-center gap-1 flex-wrap",children:Tg.map(a=>y.jsx("li",{children:y.jsx(Pt,{to:a.path,className:`px-3 py-1.5 text-sm font-medium transition-all duration-200 rounded-lg ${i(a.path)?"text-primary bg-primary/10":"text-gray-700 hover:text-primary hover:bg-primary/5"}`,children:a.name})},a.path))})}),y.jsx("div",{className:"lg:hidden pb-3 flex justify-center",children:y.jsxs(Bk,{open:n,onOpenChange:o,children:[y.jsx(Uk,{asChild:!0,children:y.jsxs(wr,{variant:"outline",size:"icon",className:"border-primary/20",children:[y.jsx(G4,{className:"h-5 w-5 text-primary"}),y.jsx("span",{className:"sr-only",children:"Toggle menu"})]})}),y.jsx(w0,{side:"left",className:"w-[300px]",children:y.jsx("div",{className:"flex flex-col gap-2 mt-6",children:Tg.map(a=>y.jsx(Pt,{to:a.path,onClick:()=>o(!1),className:`px-4 py-2.5 text-base font-medium transition-all duration-200 rounded-lg ${i(a.path)?"text-primary bg-primary/10":"text-gray-700 hover:text-primary hover:bg-primary/5"}`,children:a.name},a.path))})})]})})]})})}function zn(){return y.jsx("footer",{className:"bg-primary text-primary-foreground mt-auto",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 md:py-10",children:[y.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 md:gap-6 text-center justify-items-center",children:[y.jsxs("div",{className:"flex flex-col items-center gap-2",children:[y.jsxs("div",{className:"flex items-center justify-center gap-2",children:[y.jsx(H4,{className:"h-5 w-5 text-primary-foreground/80 flex-shrink-0"}),y.jsx("span",{className:"font-semibold text-primary-foreground",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"Address"})]}),y.jsxs("p",{className:"text-sm leading-relaxed text-center text-primary-foreground/90",children:["10919 Johnson Drive",y.jsx("br",{}),"Downtown Shawnee Kansas",y.jsx("br",{}),"66203"]})]}),y.jsxs("div",{className:"flex flex-col items-center gap-2",children:[y.jsxs("div",{className:"flex items-center justify-center gap-2",children:[y.jsx(Vd,{className:"h-5 w-5 text-primary-foreground/80 flex-shrink-0"}),y.jsx("span",{className:"font-semibold text-primary-foreground",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"Email"})]}),y.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-primary-foreground
54/90 hover:text-white transition-colors duration-200 break-all text-center",children:"[email protected]"})]}),y.jsxs("div",{className:"flex flex-col items-center gap-2",children:[y.jsxs("div",{className:"flex items-center justify-center gap-2",children:[y.jsx(Y4,{className:"h-5 w-5 text-primary-foreground/80 flex-shrink-0"}),y.jsx("span",{className:"font-semibold text-primary-foreground",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"Phone & Connect"})]}),y.jsxs("div",{className:"flex items-center justify-center gap-4 text-sm",children:[y.jsx("a",{href:"tel:+19133251915",className:"text-primary-foreground/90 hover:text-white transition-colors duration-200",children:"(913) 325-1915"}),y.jsx("div",{className:"h-4 w-px bg-primary-foreground/30"}),y.jsxs("div",{className:"flex items-center justify-center gap-3",children:[y.jsx("span",{className:"text-primary-foreground/90 hover:text-white transition-colors duration-200 cursor-pointer","aria-label":"Facebook",children:y.jsx(B4,{className:"h-4 w-4"})}),y.jsx("span",{className:"text-primary-foreground/90 hover:text-white transition-colors duration-200 cursor-pointer","aria-label":"Google",children:y.jsx("svg",{className:"w-4 h-4 fill-current",viewBox:"0 0 24 24",children:y.jsx("path",{d:"M12.24 10.285V14.4h6.806c-.275 1.765-2.056 5.174-6.806 5.174-4.095 0-7.439-3.389-7.439-7.574s3.345-7.574 7.439-7.574c2.33 0 3.891.989 4.785 1.849l3.254-3.138C18.189 1.186 15.479 0 12.24 0c-6.635 0-12 5.365-12 12s5.365 12 12 12c6.926 0 11.52-4.869 11.52-11.726 0-.788-.085-1.39-.189-1.989H12.24z"})})})]})]})]})]}),y.jsx("div",{className:"mt-8 pt-6 border-t border-primary-foreground/20 flex flex-col items-center gap-4",children:y.jsxs("p",{className:"text-sm text-center text-primary-foreground/80",children:["© ",new Date().getFullYear()," KC Empanadas. All rights reserved."]})})]})})}const Gk=[{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/a2eaee5ffa8cd66f4430222663b64be4.png",alt:"chimichurri sauce and grilled meat on wooden board"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/55294ce3c8148375f140b71a500d673b.png",alt:"empanadas on dark plate"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/76b90ef23c5381a2597a4bd2c48833f4.png",alt:"empanadas on tray in prep area"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/1665a0c82b153a5ece5e256979cf9e8e.png",alt:"empanada with meat filling close-up"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/42dd97744133f2ebd0118ef8b8173f5e.png",alt:"empanadas on wooden board with filling visible"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/d5c5a1f4e0ba75a216f9e2bf8ac88023.png",alt:"empanada box held in hands"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/3b387029b74aa8ea8459babe8f8ee9f7.png",alt:"stacked delivery boxes"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/cc4d7f1982eae9c4daef2c93e3cce676.png",alt:"salsa jars"}];function Hr({images:t=Gk,aspectRatio:n="aspect-[4/3]",containerClassName:o="bg-gray-900"}){const[i,a]=b.useState(0),[u,c]=b.useState(!0),d=b.useCallback(()=>{a(m=>(m+1)%t.length)},[t.length]),p=b.useCallback(()=>{a(m=>(m-1+t.length)%t.length)},[t.length]),g=b.useCallback(m=>{a(m)},[]);b.useEffect(()=>{if(!u)return;const m=setInterval(()=>{d()},2500);return()=>clearInterval(m)},[u,d]);const v=m=>{c(!1),m(),setTimeout(()=>c(!0),6e3)};return y.jsxs("div",{className:`relative w-full overflow-hidden rounded-2xl shadow-2xl group ${o}`,children:[y.jsx("div",{className:`relative w-full h-full ${n}`,children:t.map((m,w)=>y.jsx("div",{className:`absolute inset-0 w-full h-full transition-opacity duration-700 ease-in-out ${w===i?"opacity-100 z-10":"opacity-0 z-0"}`,children:y.jsx("img",{src:m.url,alt:m.alt||"Carousel image",className:`absolute inset-0 w-full h-full m-0 p-0 ${m.fit==="contain"?"object-contain":"object-cover"}`,style:{objectPosition:m.objectPosition||"center",backgroundColor:m.background||"transparent",padding:m.fit==="contain"?m.padding||"6%":0}})},w))}),t.length>1&&y.jsx(wr,{variant:"ghost",size:"icon",onClick:()=>v(p),className:"absolute left-4 top-1/2 -translate-y-1/2 z-20 bg-white/90 hover:bg-white text-primary hover:text-primary/80 opacity-0 group-hover:opacity-100 transition-all duration-300 h-10 w-10 md:h-12 md:w-12 rounded-full shadow-lg active:scale-[0.98]","aria-label":"Previous image",children:y.jsx(F4,{className:"h-5 w-5 md:h-6 md:w-6"})}),t.length>1&&y.jsx(wr,{variant:"ghost",size:"icon",onClick:()=>v(d),className:"absolute right-4 top-1/2 -translate-y-1/2 z-20 bg-white/90 hover:bg-white text-primary hover:text-primary/80 opacity-0 group-hover:opacity-100 transition-all duration-300 h-10 w-10 md:h-12 md:w-12 rounded-full shadow-lg active:scale-[0.98]","aria-label":"Next image",children:y.jsx(as,{className:"h-5 w-5 md:h-6 md:w-6"})}),t.length>1&&y.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 z-20 flex gap-2 bg-black/20 px-3 py-2 rounded-full backdrop-blur-sm",children:t.map((m,w)=>y.jsx("button",{onClick:()=>v(()=>g(w)),className:`carousel-dot transition-all duration-300 ${w===i?"carousel-dot-active bg-white border-white w-3 h-3 rounded-full":"carousel-dot-inactive bg-white/50 border-transparent w-2 h-2 rounded-full"}`,"aria-label":`Go to image ${w+1}`},w))})]})}const Yk=[{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/a7b962f53b19d0c33568d887d386c6b0.png",alt:"Tray of raw empanad
54as"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/f9bca5f9bff5b3875852d448ed4b9f88.png",alt:"Empanadas baking in oven"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/34c39e1720ca9b3e6aa903d898a8004e.png",alt:"KC Empanadas branding logo",className:"object-contain p-8 md:p-16 bg-white"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/c92298c81e4e1bcff554de3d685f29d3.jpg",alt:"Empanadas on black plate with white sauce bowls and lemon"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/f4fc121f370abc47130c30da5a4decbf.jpg",alt:"Empanadas on a rustic wooden board"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/a03079e934878353d19212350fceb900.jpg",alt:"Empanadas with rich meat filling visible on dark plate"}];function Qk(){return y.jsxs(y.Fragment,{children:[y.jsxs(nn,{children:[y.jsx("title",{children:"KC Empanadas - Authentic Argentine Cuisine"}),y.jsx("meta",{name:"description",content:"Experience authentic Argentine empanadas with our B2B wholesale, retail, and catering services. Featuring our signature Kansas BBQ Empanadas."})]}),y.jsxs("div",{className:"min-h-screen flex flex-col",children:[y.jsx(Vn,{}),y.jsxs("main",{className:"flex-1",children:[y.jsx("section",{className:"relative bg-gradient-to-b from-gray-50 to-white py-6 md:py-10",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-4 md:px-6",children:[y.jsxs(ie.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center mb-6",children:[y.jsx("h1",{className:"mb-3 text-3xl md:text-4xl lg:text-5xl font-bold text-primary leading-tight",style:{fontFamily:'"Playfair Display", Georgia, serif',letterSpacing:"-0.02em"},children:"Authentic Argentinian Empanadas"}),y.jsx("p",{className:"text-lg md:text-xl text-gray-600 max-w-3xl mx-auto leading-relaxed",children:"When flavorful fillings are wrapped in dough, the heart bursts with joy"})]}),y.jsx(ie.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"mb-8 max-w-4xl mx-auto",children:y.jsx(Hr,{images:Yk,containerClassName:"bg-gray-100"})}),y.jsxs(ie.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},className:"flex flex-col sm:flex-row gap-4 justify-center items-center",children:[y.jsx(wr,{asChild:!0,size:"lg",className:"bg-primary hover:bg-primary/90 text-primary-foreground px-8 py-6 text-lg font-medium transition-all duration-200 active:scale-[0.98]",children:y.jsxs(Pt,{to:"/b2b",children:["Explore Our Services",y.jsx(as,{className:"ml-2 h-5 w-5"})]})}),y.jsx(wr,{asChild:!0,variant:"outline",size:"lg",className:"border-2 border-primary text-primary hover:bg-primary hover:text-primary-foreground px-8 py-6 text-lg font-medium transition-all duration-200 active:scale-[0.98]",children:y.jsx(Pt,{to:"/contact",children:"Get in Touch"})})]})]})}),y.jsx("section",{className:"py-10 md:py-16 bg-white",children:y.jsx("div",{className:"max-w-4xl mx-auto px-4 md:px-6",children:y.jsxs(ie.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:[y.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary mb-6 text-center",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"What is an Empanada?"}),y.jsxs("div",{className:"space-y-4 text-gray-700 leading-relaxed text-base md:text-lg",children:[y.jsx("p",{className:"mx-auto",children:"Empanadas are traditional Argentinean hand-held turnovers that have been cherished for generations. These savory pastries feature a tender, flaky dough wrapped around a variety of flavorful fillings, creating the perfect balance of texture and taste in every bite."}),y.jsx("p",{className:"mx-auto",children:'Originating from the Spanish word "empanar," meaning to wrap or coat in bread, empanadas have become a beloved staple of Argentine cuisine. Each region of Argentina has its own unique style and filling combinations, from classic beef and onion to creative modern variations.'}),y.jsx("p",{className:"mx-auto",children:"At KC Empanadas, we honor this rich culinary tradition while bringing our own innovative touches, including our signature Kansas BBQ Empanadas that blend Argentine heritage with American flavors."})]})]})})}),y.jsx("section",{className:"py-10 md:py-16 bg-gradient-to-b from-white to-gray-50",children:y.jsx("div",{className:"max-w-4xl mx-auto px-4 md:px-6",children:y.jsxs(ie.div,{initial:{opacity:0,y:20}
54,animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center",children:[y.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary mb-4",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"KC BBQ Empanadas"}),y.jsx("h3",{className:"text-xl md:text-2xl font-semibold text-primary mb-6",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"A Kansas Landmark"}),y.jsx(ie.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},className:"text-lg md:text-xl text-gray-700 leading-relaxed max-w-2xl mx-auto",children:"Two worlds. Two traditions. One unforgettable creation"}),y.jsx(ie.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.4},className:"mt-10 md:mt-12",children:y.jsx("img",{src:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/1dab048ae192c81a79d4718ed75025fd.png",alt:"KC BBQ Empanadas Logo",className:"h-32 md:h-40 mx-auto mb-8 object-contain"})}),y.jsx(ie.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.6},className:"text-base md:text-lg text-gray-700 leading-relaxed max-w-2xl mx-auto",children:"In collaboration with Jack Stack Barbecue, we created something truly iconic: The Kansas BBQ Empanada. A fusion of Kansas BBQ mastery and Argentinian tradition— bringing together bold flavors inside a perfectly baked empanada."})]})})}),y.jsx("section",{className:"py-12 md:py-20 bg-gray-50",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-4 md:px-6",children:[y.jsxs(ie.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1},className:"text-center mb-10",children:[y.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary mb-3",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"What We Offer"}),y.jsx("div",{className:"w-16 h-1 bg-primary/20 mx-auto rounded-full"})]}),y.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 max-w-4xl mx-auto",children:[y.jsx(ie.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},children:y.jsxs(Pt,{to:"/b2b",className:"block p-6 bg-white rounded-2xl shadow-sm hover:shadow-md transition-all duration-300 hover:-translate-y-1 border border-gray-100 h-full group",children:[y.jsx(q4,{className:"h-12 w-12 text-primary mb-4 group-hover:scale-110 transition-transform duration-300"}),y.jsx("h3",{className:"mb-3 text-primary text-xl font-bold font-sans",children:"B2B Wholesale & Retail"}),y.jsx("p",{className:"text-base text-gray-600 leading-relaxed",children:"Partner with us for wholesale distribution or retail opportunities. We provide quality products and reliable service for your business."})]})}),y.jsx(ie.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.3},children:y.jsxs(Pt,{to:"/b2b",className:"block p-6 bg-white rounded-2xl shadow-sm hover:shadow-md transition-all duration-300 hover:-translate-y-1 border border-gray-100 h-full group",children:[y.jsx(Iv,{className:"h-12 w-12 text-primary mb-4 group-hover:scale-110 transition-transform duration-300"}),y.jsx("h3",{className:"mb-3 text-primary text-xl font-bold font-sans",children:"Catering Services"}),y.jsx("p",{className:"text-base text-gray-600 leading-relaxed",children:"Make your event memorable with our catering services. Perfect for corporate events, weddings, and special occasions."})]})}),y.jsx(ie.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.4},className:"md:col-span-2",children:y.jsxs(Pt,{to:"/kansas-bbq-empanadas",className:"block p-6 bg-gradient-to-r from-primary/10 to-primary/5 rounded-2xl shadow-sm hover:shadow-md transition-all duration-300 hover:-translate-y-1 border border-primary/20 group",children:[y.jsx($4,{className:"h-12 w-12 text-primary mb-4 group-hover:scale-110 transition-transform duration-300"}),y.jsx("h3",{className:"mb-3 text-primary text-xl font-bold font-sans",children:"Kansas BBQ Empanadas"}),y.jsx("p",{className:"text-base text-gray-700 leading-relaxed",children:"Experience our signature fusion creation. Argentine tradition meets Kansas barbecue in a delicious empanad
54a that brings together the best of both worlds."})]})})]})]})})]}),y.jsx(zn,{})]})]})}const qk=[{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/e5ec872a616c44c95d2e93aa38151e6c.jpg",alt:"Historic black and white image of women with bread",objectPosition:"center 10%"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/c1dd1b695aed7b046d25a03ed1db2e83.jpg",alt:"Italian courtyard with balconies",objectPosition:"center"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/60e2e9e6e6dd5892d25322b751f37e7d.jpg",alt:"Colorful Italian street architecture",objectPosition:"center"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/bffc90c8d7a772399cef9d667cd4b74f.jpg",alt:"Yellow building with Vico dei Pazzi sign",objectPosition:"center"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/5ce56d5836b759bca648f299d7c1aed9.jpg",alt:"Birthday message with man in archway",objectPosition:"center 15%"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/e35df54fdbf5678333ae8260da5a7d24.jpg",alt:"Woman preparing empanadas",objectPosition:"center 25%"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/58ba50af82c48b7ccf00c74caff94d81.jpg",alt:"Two people with empanad
54as in kitchen",objectPosition:"center 20%"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/14e94d8c95ca1202aa9dff7b567ba194.jpg",alt:"Empanadas in oven",objectPosition:"center"}];function Xk(){return y.jsxs(y.Fragment,{children:[y.jsxs(nn,{children:[y.jsx("title",{children:"Our Story - KC Empanadas"}),y.jsx("meta",{name:"description",content:"Discover the Di Leo family heritage, a culinary journey from Sicily to Argentina, and finally to Kansas."})]}),y.jsxs("div",{className:"min-h-screen flex flex-col",children:[y.jsx(Vn,{}),y.jsx("main",{className:"flex-1 bg-white",children:y.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 pt-6 pb-12 md:pt-8 md:pb-16",children:[y.jsx(ie.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-3xl mx-auto mb-6",children:y.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-primary text-center leading-tight",style:{fontFamily:'"Playfair Display", Georgia, serif',letterSpacing:"-0.02em"},children:"Where Every Bite Tells a Story."})}),y.jsx(ie.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1},className:"mb-10 max-w-4xl mx-auto",children:y.jsx(Hr,{images:qk})}),y.jsx(ie.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"max-w-3xl mx-auto",children:y.jsxs("div",{className:"space-y-8",children:[y.jsxs(ie.section,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[y.jsx("h2",{className:"text-xl md:text-2xl font-semibold text-gray-900 mb-3",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"Roots in Sicily"}),y.jsx("p",{className:"text-base text-gray-700 leading-relaxed",children:"The Di Leo family's culinary journey began in the sun-drenched hills of Sicily. In a culture where the kitchen is the heart of the home, a deep respect for fresh ingredients, slow cooking, and family gatherings was woven into daily life. These early traditions laid the foundation for a legacy built on the simple joy of sharing a meal."})]}),y.jsxs(ie.section,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[y.jsx("h2",{className:"text-xl md:text-2xl font-semibold text-gray-900 mb-3",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"A New Chapter in Argentina"}),y.jsx("p",{className:"text-base text-gray-700 leading-relaxed",children:"Seeking new horizons, the family immigrated to Argentina. Here, their rich Italian heritage blended seamlessly with vibrant South American traditions. They embraced the art of the empanada, infusing classic Argentine recipes with their own generational secrets. The result was a unique culinary fusion—pastries crafted with Italian precision and filled with the bold, hearty flavors of the Argentine pampas."})]}),y.jsxs(ie.section,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[y.jsx("h2",{className:"text-xl md:text-2xl font-semibold text-gray-900 mb-3",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"Bringing the Tradition to Kansas"}),y.jsx("p",{className:"text-base text-gray-700 leading-relaxed",children:"Decades later, the journey continued to the heartland of America. Settling in Kansas, the Di Leo family realized that the universal language of good food transcends borders. They began sharing their handcrafted empanadas with their new community, creating a perfect marriage of their rich history and their new home. It was here that traditional recipes met local tastes, giving rise to innovations like our signature Kansas BBQ Empanada."})]}),y.jsxs(ie.section,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[y.jsx("h2",{className:"text-xl md:text-2xl font-semibold text-gray-900 mb-3",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"Our Commitment"}),y.jsx("p",{className:"text-base text-gray-700 leading-relaxed",children:"Today, KC Empanadas is more than a business; it is a continuation of a legacy. Every fold of dough and every savory filling is a tribute to the journey from Sicily to Argentina, and finally, to Kansas. We remain dedicated to the principles that guided our ancestors: authentic flavors, quality ingredients, and the belief that the best stories are shared around the table."})]})]})})]})}),y.jsx(zn,{})]})]})}const Zk=[{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/55294ce3c8148375f140b71a500d673b.png",alt:"empanadas on dark plate"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/76b90ef23c5381a2597a4bd2c48833f4.png",alt:"empanadas on tray in prep area"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/1665a0c82b153a5ece5e256979cf9e8e.png",alt:"empanada with meat filling close-up"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/42dd97744133f2ebd0118ef8b8173f5e.png",alt:"empanadas on wooden board with filling visible"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/3b387029b74aa8ea8459babe8f8ee9f7.png",alt:"stacked delivery boxes"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/cc4d7f1982eae9c4daef2c93e3cce676.png",alt:"salsa jars"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/a2eaee5ffa8cd66f4430222663b64be4.png",alt:"chimichurri sauce and grilled meat on wooden board"}],Jk=[{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/97bf2bd1fd605c665cf3a90e46ffd3ed.jpg",alt:"Aerial view of large sports stadium with blue and yellow colors"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/11245ef631c9ae8c9e0db36c6675bdbd.jpg",alt:"Elegant ballroom with ornate ceiling and chandeliers"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/e707e02a5e2164d77be72d40b8af5adc.jpg",alt:"Large event venue with blue and yellow lighting"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/5345613cbc546fa89a5d1fb591e9aec3.jpg",alt:"Crowded indoor event space with stage and audience"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/55468b319a40f5527e24e4e15bd2ff09.jpg",alt:"Large sports stadium with crowd during event"}],eN=[{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/e9309cf3a30e7d66b207b4484ce3a950.jpg",alt:"Group of people in elegant room with red walls and framed artwork"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/e495465cefbc286a53c4513f23cbcbcd.jpg",alt:"Buenos Aires Aire restaurant sign"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/89f4f7b0f929ff01bfe44455e278806a.jpg",alt:"Elegant restaurant interior with red walls and wine bottles"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/bc943f404dcdd20899a5577efaea7887.jpg",alt:"Man in Argentina shirt holding empanadas"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/cc5c76b37f7865c09ca783ed26068f62.jpg",alt:"Catering setup with multiple chafing dishes and empanad
54as"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/b46a9b3d689e97270550a2a93347f81e.jpg",alt:"Restaurant window display with neon sign and table setup"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/28fc81fcffb35d42818fd04e12b87743.png",alt:"Woman in red restaurant room holding tray of empanadas"}],tN=[{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/249ea87a2374adf61b00a4b612ed2c88.jpg",alt:"Elegant catering event with food display and guests"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/fd5753ba701330ecd7c228d0076c194c.jpg",alt:"Group of people at formal event in red-walled venue"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/742c26bb583d48469e2c65d29edc4bce.jpg",alt:"Catering event with food display and guests dining"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/8a2fc4a96577d011c62d6aff7da1ceb1.jpg",alt:"Elegant dinner event with guests at table in red-walled venue"}],nN=[{name:"Balls Food Stores",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/257f28ef510c8c1aeab70b2137c92284.png"},{name:"Wells Fargo",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/47c36fe7c2d6831a77465f72c632e13f.png"},{name:"Scratch Kitchen & Cocktails",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/9e18a4ec9ac660bec269d7b6eb23ee08.png"},{name:"Collins Aerospace",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/8fb944a9e5570390f2a9936f6520479d.png"},{name:"Kansas City Sporting KC",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/bbf0fbeddb31bc0ef81f5b5c4ada7f77.png"},{name:"Fiorella's Jack Stack Barbecue",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/bbea3e6243ebe651e6d358a437e51275.png"},{name:"Unified Government Wyandotte County Kansas City",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/1b9fd764a8a006a570db957da676e4ae.png"},{name:"Lenexa Kansas Parks & Recreation",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/43e8090f32c3acd6bd1a5a26d0c7276e.png"},{name:"Buenos Aires Restaurant Coffee Place Bakery",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/34634212b5119961ee9325a808e73ae1.png"},{name:"Veterans of Foreign Wars",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/543d33dee9414c2bdebe0ba0ef0e584b.png"},{name:"Hen House",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/897645bf37c387ff4d5fdb69f75b6190.png"},{name:"Laila",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/74587fbdd5b4508b9403b49ce4c90230.png"},{name:"Kansas City Young Matrons",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/2e63868c4107fea313882c5f10e89d9d.png"},{name:"Taylor Made Catering",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/5175f308c36cb8d0fbfcbaa891ad7573.png"},{name:"World Fresh Market",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/ae6c4022630a43a9575032dfe0482a2d.png"},{name:"Mdivani Corporate Immigration Law",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/b18d4c6f0e1a4b0edb33f0f2d9d37442.png"},{name:"Patagonia Tree Service LLC",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/14e93d923ae2439e2497a59de7bad3a3.png"},{name:"Dutzel's Catering & Events",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/8a0a3024c7738593ecf047b5249b7c80.png"},{name:"Argentino Heritage LLC",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/e3fb4dc804073e77d949afc7594fb944.png"},{name:"El Mercado Fresca Fresh Market",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/39ba820d18b733ebbc99ac1ca0b37af6.png"},{name:"Chase",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/577f2947e13df534e67b87e456a0f59f.png"},{name:"Sun Fresh Calle 18",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/b08036d7255f59c56630468057ad19e2.png"},{name:"Skal",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/8b0e1e006bb81cad3ab2896ece07225f.png"},{name:"Shawnee Kansas",url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/e9e3ca2bb8e5eaef994e9538f41ac402.png"}];function rN({logos:t}){return y.jsx(ie.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.2},className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 md:gap-6",children:t.map((n,o)=>y.jsx("div",{className:"bg-white border border-gray-100 rounded-xl p-4 md:p-6 shadow-sm hover:shadow-md transition-shadow aspect-[3/2] flex items-center justify-center",children:y.jsx("img",{src:n.url,alt:n.name,className:"w-full h-full object-contain",loading:"lazy"})},o))})}function oN(){return y.jsxs(y.Fragment,{children:[y.jsxs(nn,{children:[y.jsx("title",{children:"B2B Wholesale, Retail & Catering - KC Empanadas"}),y.jsx("meta",{name:"description",content:"KC Empanadas wholesale distribution, retail location, large venues, and professional catering for food businesses."})]}),y.jsxs("div",{className:"min-h-screen flex flex-col bg-white",children:[y.jsx(Vn,{}),y.jsxs("main",{className:"flex-1",children:[y.jsx("section",{className:"py-12 md:py-16 border-t border-gray-100",children:y.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:y.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 items-center",children:[y.jsxs(ie.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[y.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary mb-2",children:"WHOLESALE"}),y.jsx("p",{className:"text-lg md:text-xl font-medium text-gray-800 mb
54-4 italic",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"The Product Your Customers Didn't Know They Needed—But Will Crave"}),y.jsx("p",{className:"text-gray-700 leading-relaxed mb-4 text-base",children:"Bring the flavor of Argentina to your business. We offer a wide variety of authentic, handcrafted empanadas—made fresh, consistent, and ready to scale with your needs."}),y.jsx("ul",{className:"space-y-3 mb-6",children:["Multiple flavors available","Perfect for restaurants, markets, stadiums & venues","Delivery or pickup options available","High-volume production capacity"].map((t,n)=>y.jsxs("li",{className:"flex items-start gap-2",children:[y.jsx(as,{className:"h-5 w-5 text-primary flex-shrink-0"}),y.jsx("span",{className:"text-gray-700 text-base",children:t})]},n))}),y.jsx("div",{className:"p-4 bg-primary/5 border border-primary/10 rounded-lg",children:y.jsx("p",{className:"text-gray-800 font-medium text-sm",children:"Our wholesale program is designed to be profitable, efficient, and unforgettable for your customers."})})]}),y.jsx(ie.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.2},children:y.jsx(Hr,{images:Zk,aspectRatio:"aspect-[4/3]",imageClassName:"object-cover"})})]})})}),y.jsx("section",{className:"py-12 md:py-16 bg-gray-50",children:y.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:y.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 items-center",children:[y.jsx(ie.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},className:"order-2 lg:order-1",children:y.jsx(Hr,{images:Jk,aspectRatio:"aspect-[4/3]",imageClassName:"object-cover"})}),y.jsxs(ie.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.2},className:"order-1 lg:order-2",children:[y.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary mb-2",children:"LARGE VENUES"}),y.jsx("p",{className:"text-lg md:text-xl font-medium text-gray-800 mb-4 italic",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"The Perfect Food for High-Traffic Venues"}),y.jsxs("div",{className:"space-y-4 text-base text-gray-700 mb-6",children:[y.jsxs("p",{className:"flex items-center gap-2",children:[y.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-primary flex-shrink-0"}),"Easy to eat with hands (no mess, no utensils)"]}),y.jsxs("p",{className:"flex items-center gap-2",children:[y.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-primary flex-shrink-0"}),"Fast service = high turnover & revenue"]})]}),y.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-3 font-sans",children:"Perfect for:"}),y.jsx("div",{className:"grid grid-cols-2 gap-3",children:["Casinos","Stadiums","Festivals","Hotels"].map((t,n)=>y.jsxs("div",{className:"flex items-center gap-2 bg-white px-3 py-2 rounded-md shadow-sm border border-gray-100",children:[y.jsx(Ya,{className:"h-4 w-4 text-primary"}),y.jsx("span",{className:"font-medium text-gray-800 text-sm",children:t})]},n))})]})]})})}),y.jsx("section",{className:"py-12 md:py-16 border-t border-gray-100",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[y.jsxs(ie.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-10",children:[y.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary mb-3",children:"RETAIL"}),y.jsx("p",{className:"text-lg md:text-xl font-medium text-gray-800 max-w-3xl mx-auto italic",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"Come Enjoy the most delicious Argentinian Empanadas in our retail location"})]}),y.jsx("div",{className:"max-w-2xl mx-auto",children:y.jsxs(ie.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"flex flex-col h-full",children:[y.jsxs("div",{className:"mb-4 flex-1",children:[y.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-2 font-sans",children:"Buenos Aires Restaurant"}),y.jsxs("a",{href:"https://www.buenosaireskc.com",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-primary hover:text-primary/80 transition-colors font-medium text-base",children:["www.buenosaireskc.com",y.jsx(_v,{className:"h-4 w-4"})]})]}),y.jsx("div",{className:"mt-auto",children:y.jsx(Hr,{images:eN,aspectRatio:"aspect-[4/3]",imageClassName:"object-cover"})})]})})]})}),y.jsx("section",{className:"py-12 md:py-16 bg-gray-50 border-t border-gray-100",children:y.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:y.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 items-center",children:[y.jsxs(ie.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[y.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary mb-2",children:"CATERING"}),y.jsx("p",{className:"text-lg md:text-xl font-medium text-gray-800 mb
54-4 italic",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"Easy to Serve. Impossible to Forget"}),y.jsx("p",{className:"text-base text-gray-700 leading-relaxed mb-6",children:"From intimate gatherings to large-scale events—we bring Argentina to you."}),y.jsx("ul",{className:"space-y-3 mb-6",children:["Corporate breakfasts & lunches","Private events & celebrations","Festivals & large venues","Weddings, parties & special occasions"].map((t,n)=>y.jsxs("li",{className:"flex items-start gap-2",children:[y.jsx(Ya,{className:"h-5 w-5 text-primary flex-shrink-0"}),y.jsx("span",{className:"text-gray-700 text-base",children:t})]},n))}),y.jsxs("div",{className:"p-4 bg-white shadow-sm border border-gray-100 rounded-lg relative overflow-hidden",children:[y.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-1 bg-primary"}),y.jsx("p",{className:"text-gray-800 font-medium italic text-sm",children:`"With high-volume capabilities and years of experience, we deliver exceptional food, flawless execution, and unforgettable flavor. Your guests won't just eat… they will remember."`})]})]}),y.jsx(ie.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.2},children:y.jsx(Hr,{images:tN,aspectRatio:"aspect-[4/3]",imageClassName:"object-cover"})})]})})}),y.jsx("section",{className:"py-12 md:py-16 border-t border-gray-100",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[y.jsxs(ie.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-10",children:[y.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary mb-3",children:"OUR CLIENTS"}),y.jsx("p",{className:"text-lg font-medium text-gray-600 max-w-3xl mx-auto italic",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"We are Proud to Serve our dear Customers - Very Thankful"})]}),y.jsx(rN,{logos:nN})]})}),y.jsx("section",{className:"bg-primary/5 py-10 border-t border-primary/10",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[y.jsxs(ie.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5},className:"flex flex-col sm:flex-row items-center justify-center gap-3 text-lg md:text-xl text-primary font-medium",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:[y.jsx(Vd,{className:"h-6 w-6"}),y.jsx("p",{children:"Contact us for flavors, pricing, and partnership opportunities."})]}),y.jsx("div",{className:"mt-6",children:y.jsx(Pt,{to:"/contact",className:"inline-flex items-center justify-center bg-primary text-primary-foreground px-6 py-2.5 rounded-md font-medium hover:bg-primary/90 transition-colors active:scale-[0.98]",children:"Get in Touch"})})]})})]}),y.jsx(zn,{})]})]})}const iN=[{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/48e2b5b300a0706c3bee725e412d8658.png",alt:"barbecue empanadas on a plate"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/a4d1e6267d63fa652948b0b55fe5dedb.png",alt:"barbecue empanadas on a wooden board"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/61b0f2993fe285d6d679d85dc83cc436.png",alt:"barbecue empanadas on a cutting board"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/c7755e512081dcf4cdede6320d64f0dc.png",alt:"barbecue empanadas in a restaurant scene"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/8cc0e4716659846beb53bb9b16efe7db.png",alt:"KC BBQ Empanadas logo",fit:"contain",background:"#ffffff",padding:"12%"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/c5da00cfcdc8b0f362542a7f7e1cc7a8.png",alt:"Jack Stack BBQ logo",fit:"contain",background:"#ffffff",padding:"12%"},{url:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/28fc81fcffb35d42818fd04e12b87743.png",alt:"Woman in a red restaurant room holding a tray of empanadas"}],sN=["BBQ Beef","BBQ Beef with Cheese","BBQ Pork"];function aN(){return y.jsxs(y.Fragment,{children:[y.jsxs(nn,{children:[y.jsx("title",{children:"Kansas BBQ Empanadas | Jack Stack Collaboration"}),y.jsx("meta",{name:"description",content:"A fusion of Kansas BBQ mastery and Argentinian tradition. Discover our iconic Kansas BBQ Empanadas created in collaboration with Jack Stack Barbecue."})]}),y.jsxs("div",{className:"min-h-screen flex flex-col bg-white",children:[y.jsx(Vn,{}),y.jsxs("main",{className:"flex-1",children:[y.jsx("section",{className:"pt-16 pb-10 px-4 sm:px-6 lg:px-8",children:y.jsx("div",{className:"max-w-4xl mx-auto text-center",children:y.jsx(ie.h1,{initial:{opacity:0,y:20}
54,animate:{opacity:1,y:0},transition:{duration:.7,ease:"easeOut"},className:"text-3xl md:text-4xl lg:text-5xl font-bold text-primary leading-tight",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"Two worlds. Two traditions. One unforgettable creation"})})}),y.jsx("section",{className:"pb-12 px-4 sm:px-6 lg:px-8",children:y.jsx("div",{className:"max-w-4xl mx-auto",children:y.jsx(ie.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},transition:{duration:.8,delay:.2,ease:"easeOut"},children:y.jsx(Hr,{images:iN,aspectRatio:"aspect-[4/3] md:aspect-[16/9]",containerClassName:"bg-gray-100"})})})}),y.jsx("section",{className:"py-12 px-4 sm:px-6 lg:px-8 bg-gray-50/50",children:y.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[y.jsx(ie.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6},className:"text-lg md:text-xl text-gray-800 leading-relaxed mb-12",children:"In collaboration with Jack Stack Barbecue, we created something truly iconic: The Kansas BBQ Empanada. A fusion of Kansas BBQ mastery and Argentinian tradition— bringing together bold flavors inside a perfectly baked empanada."}),y.jsxs(ie.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6,delay:.2},className:"mb-12",children:[y.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary mb-6",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"Flavors"}),y.jsx("div",{className:"flex flex-col gap-3 max-w-md mx-auto",children:sN.map((t,n)=>y.jsxs(ie.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.3+n*.1},className:"group relative overflow-hidden bg-white border border-primary/10 rounded-lg p-4 shadow-sm hover:shadow-md hover:border-primary/30 transition-all duration-300",children:[y.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/0 via-primary/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),y.jsx("span",{className:"relative text-xl font-medium text-gray-900 group-hover:text-primary transition-colors duration-300",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:t})]},t))})]}),y.jsxs(ie.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6,delay:.4},className:"relative py-8",children:[y.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-16 h-px bg-primary/20"}),y.jsx("p",{className:"text-xl md:text-2xl text-primary font-medium italic leading-relaxed",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:`"This is more than a product— it's a Kansas signature, a landmark flavor, a sense of belonging. A new tradition is born: The Empanada of Kansas."`}),y.jsx("div",{className:"absolute bottom-0 left-1/2 -translate-x-1/2 w-16 h-px bg-primary/20"})]})]})}),y.jsx("section",{className:"bg-primary/5 py-12 border-t border-primary/10",children:y.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:y.jsxs(ie.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5},className:"flex flex-col items-center justify-center gap-4",children:[y.jsxs("div",{className:"flex items-center justify-center gap-2 text-lg md:text-xl text-primary font-medium",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:[y.jsx(Vd,{className:"h-5 w-5 md:h-6 md:w-6"}),y.jsx("p",{children:"Contact us for flavors, pricing, and partnership opportunities."})]}),y.jsxs(Pt,{to:"/contact",className:"mt-2 inline-flex items-center justify-center gap-1.5 bg-primary text-primary-foreground px-6 py-3 rounded-md font-medium text-base hover:bg-primary/90 transition-all duration-200 active:scale-[0.98] shadow-sm hover:shadow",children:["Get in Touch",y.jsx(as,{className:"h-4 w-4"})]})]})})})]}),y.jsx(zn,{})]})]})}function lN(){const t=["https://www.youtube.com/embed/xOI-4IpWBUk","https://www.youtube.com/embed/z8KjRVFfTVU","https://www.youtube.com/embed/xlgxxY1cf7I","https://www.youtube.com/embed/cMJ_YlOJP98"];return y.jsxs(y.Fragment,{children:[y.jsxs(nn,{children:[y.jsx("title",{children:"Marketing & Media - KC Empanadas"}),y.jsx("meta",{name:"description",content:"Fuel the Game. Taste the Passion. KC Empanadas… The Official Food of Celebration."})]}),y.jsxs("div",{className:"min-h-screen flex flex-col bg-white",children:[y.jsx(Vn,{}),y.jsx("main",{className:"flex-1",children:y.jsx("section",{className:"py-16 px-4 sm:px-6 lg:px-8",children:y.jsx("div",{className:"max-w-5xl mx-auto text-center",children:y.jsxs(ie.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6},children:[y.jsx("h3",{className:"text-2xl md:text-3xl font-bold text-primary mb-12",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"Watch Us in Action"}),y.jsx("div",{className:"flex flex-col items-center gap-8 md:gap-12 w-full",children:t.map((n,o)=>y.jsx("div",{className:"w-full max-w-3xl aspect-video rounded-xl overflow-hidden shadow-lg border border-gray-100 bg-black/5",children:y.jsx("iframe",{src:n,title:`YouTube video player ${o+1}`,className:"w-full h-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})},o))})]})})})}),y.jsx(zn,{})]})]})}const Xc=b.forwardRef(({className:t,type:n,...o},i)=>y.jsx("input",{type:n,className:Sr("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:i,...o}));Xc.displayName="Input";var uN=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],cN=uN.reduce((t,n)=>{const o=kv(`Primitive.${n}`),i=b.forwardRef((a,u)=>{const{asChild:c,...d}=a,p=c?o:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(p,{...d,ref:u})});return i.displayName=`Primitive.${n}`,{...t,[n]:i}},{}
54),dN="Label",b0=b.forwardRef((t,n)=>y.jsx(cN.label,{...t,ref:n,onMouseDown:o=>{o.target.closest("button, input, select, textarea")||(t.onMouseDown?.(o),!o.defaultPrevented&&o.detail>1&&o.preventDefault())}}));b0.displayName=dN;var S0=b0;const fN=Id("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Ia=b.forwardRef(({className:t,...n},o)=>y.jsx(S0,{ref:o,className:Sr(fN(),t),...n}));Ia.displayName=S0.displayName;const E0=b.forwardRef(({className:t,...n},o)=>y.jsx("textarea",{className:Sr("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:o,...n}));E0.displayName="Textarea";function pN(){const[t,n]=b.useState({name:"",email:"",message:""}),[o,i]=b.useState(!1),a=c=>{const{name:d,value:p}=c.target;n(g=>({...g,[d]:p}))},u=async c=>{if(c.preventDefault(),!t.name.trim()){Mi.error("Please enter your name");return}if(!t.email.trim()||!/\S+@\S+\.\S+/.test(t.email)){Mi.error("Please enter a valid email address");return}if(!t.message.trim()){Mi.error("Please enter a message");return}i(!0),await new Promise(d=>setTimeout(d,1e3));try{const d=JSON.parse(localStorage.getItem("contactSubmissions")||"[]"),p={...t,timestamp:new Date().toISOString(),id:Date.now()};d.push(p),localStorage.setItem("contactSubmissions",JSON.stringify(d)),Mi.success("Message sent successfully"),n({name:"",email:"",message:""})}catch{Mi.error("Failed to send message. Please try again.")}finally{i(!1)}};return y.jsxs("form",{onSubmit:u,className:"space-y-6",children:[y.jsxs("div",{className:"space-y-2",children:[y.jsx(Ia,{htmlFor:"name",className:"text-base font-medium",children:"Name"}),y.jsx(Xc,{id:"name",name:"name",type:"text",value:t.name,onChange:a,placeholder:"Your full name",className:"text-gray-900 placeholder:text-gray-400",required:!0})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Ia,{htmlFor:"email",className:"text-base font-medium",children:"Email"}),y.jsx(Xc,{id:"email",name:"email",type:"email",value:t.email,onChange:a,placeholder:"[email protected]",className:"text-gray-900 placeholder:text-gray-400",required:!0})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(Ia,{htmlFor:"message",className:"text-base font-medium",children:"Message"}),y.jsx(E0,{id:"message",name:"message",value:t.message,onChange:a,placeholder:"Tell us about your inquiry...",rows:6,className:"resize-none text-gray-900 placeholder:text-gray-400",required:!0})]}),y.jsx(wr,{type:"submit",disabled:o,className:"w-full bg-primary hover:bg-primary/90 text-primary-foreground font-medium py-6 text-lg transition-all duration-200 active:scale-[0.98]",children:o?"Sending...":"Send Message"})]})}function hN(){return y.jsxs(y.Fragment,{children:[y.jsxs(nn,{children:[y.jsx("title",{children:"Contact Us - KC Empanadas"}),y.jsx("meta",{name:"description",content:"Get in touch with KC Empanadas. We are here to answer your questions about wholesale, retail, catering, or our Kansas BBQ Empanadas."})]}),y.jsxs("div",{className:"min-h-screen flex flex-col",children:[y.jsx(Vn,{}),y.jsxs("main",{className:"flex-1",children:[y.jsx("section",{className:"bg-gradient-to-b from-gray-50 to-white py-12 md:py-16",children:y.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:y.jsxs(ie.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center",children:[y.jsx("h1",{className:"mb-4 text-primary text-3xl md:text-4xl",children:"Get in Touch"}),y.jsx("p",{className:"text-lg md:text-xl text-gray-600 max-w-3xl mx-auto leading-relaxed",children:"We would love to hear from you. Reach out with any questions about our products or services."})]})})}),y.jsx("section",{className:"py-12 md:py-16",children:y.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:y.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 md:gap-12",children:[y.jsxs(ie.div,{initial:{opacity:0,x:-20}
54,animate:{opacity:1,x:0},transition:{duration:.6,delay:.2},className:"flex flex-col items-center justify-center p-6 md:p-8 bg-white rounded-xl shadow-md border border-gray-100 text-center h-fit",children:[y.jsx("div",{className:"w-56 h-56 md:w-64 md:h-64 mb-5 overflow-hidden rounded-lg shadow-sm border-4 border-white",children:y.jsx("img",{src:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/beacd3d9d351313ae822c7fe607c51d1.jpg",alt:"Claudia Luna West",className:"w-full h-full object-cover"})}),y.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-1",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"Claudia Luna West"}),y.jsx("p",{className:"text-primary font-medium text-lg",children:"CEO and Owner"})]}),y.jsx(ie.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.6,delay:.3},children:y.jsxs("div",{className:"bg-white rounded-xl p-6 md:p-8 shadow-md border border-gray-200",children:[y.jsx("h2",{className:"mb-5 text-primary text-xl md:text-2xl",children:"Send Us a Message"}),y.jsx(pN,{})]})})]})})})]}),y.jsx(zn,{})]})]})}function mN(){return y.jsxs(y.Fragment,{children:[y.jsxs(nn,{children:[y.jsx("title",{children:"Product Order - KC Empanadas"}),y.jsx("meta",{name:"description",content:"Place your new wholesale or catering order for KC Empanadas."})]}),y.jsxs("div",{className:"min-h-screen flex flex-col bg-gray-50",children:[y.jsx(Vn,{}),y.jsx("main",{className:"flex-1 py-4 md:py-8 flex flex-col items-center justify-center px-4 sm:px-6 lg:px-8",children:y.jsxs("div",{className:"max-w-2xl w-full text-center flex flex-col items-center",children:[y.jsxs(ie.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.3},className:"mb-4",children:[y.jsx("h1",{className:"text-2xl md:text-3xl font-bold text-primary mb-2",style:{fontFamily:'"Playfair Display", Georgia, serif',letterSpacing:"-0.02em"},children:"Place Your Order"}),y.jsx("p",{className:"text-gray-600 text-sm md:text-base max-w-lg mx-auto",children:"Submit your wholesale or catering order securely using our quick ordering system."})]}),y.jsx(ie.div,{initial:{opacity:0,scale:.98},animate:{opacity:1,scale:1},transition:{duration:.3,delay:.1},className:"mb-6 rounded-xl overflow-hidden shadow-md bg-white p-1.5 border border-gray-100 mx-auto max-w-sm md:max-w-md w-full",children:y.jsx("img",{src:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/60eb9ffcc69339d1fd10e453960dc565.png",alt:"Empanadas on baking trays ready for distribution",className:"w-full h-auto max-h-[200px] md:max-h-[250px] object-cover rounded-lg"})}),y.jsx(ie.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.3,delay:.2},children:y.jsx(wr,{asChild:!0,size:"lg",className:"bg-primary hover:bg-primary/90 text-primary-foreground px-6 py-6 text-lg font-semibold transition-all duration-200 hover:-translate-y-0.5 shadow-md active:scale-[0.98] rounded-xl",children:y.jsxs("a",{href:"https://docs.google.com/forms/d/e/1FAIpQLSd4r-M5vVfxyGGxamNonXjbwU5r0ZiBQ-6ZMqapGmMyJ4aqVw/viewform",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2",children:[y.jsx(X4,{className:"h-5 w-5"}),"New Order click Here",y.jsx(_v,{className:"h-4 w-4 ml-1 opacity-80"})]})})})]})}),y.jsx(zn,{})]})]})}function gN(){return y.jsxs(y.Fragment,{children:[y.jsxs(nn,{children:[y.jsx("title",{children:"Our Portfolio - KC Empanadas"}),y.jsx("meta",{name:"description",content:"View the product portfolio for KC Empanadas."})]}),y.jsxs("div",{className:"min-h-screen flex flex-col bg-gray-50",children:[y.jsx(Vn,{}),y.jsx("main",{className:"flex-1 flex flex-col items-center py-6 md:py-10 px-0 sm:px-4 lg:px-8",children:y.jsxs("div",{className:"w-full max-w-5xl mx-auto flex flex-col items-center",children:[y.jsx(ie.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.4},className:"mb-6 px-4 text-center",children:y.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-primary",style:{fontFamily:'"Playfair Display", Georgia, serif',letterSpacing:"-0.02em"},children:"Our Portfolio"})}),y.jsx(ie.div,{initial:{opacity:0,y:20}
54,animate:{opacity:1,y:0},transition:{duration:.5,delay:.1},className:"w-full sm:rounded-xl overflow-hidden shadow-xl bg-white sm:border border-gray-200",children:y.jsx("img",{src:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/96c4604e5ed9d066e9274a055ef7777a.png",alt:"KC BBQ Empanadas product portfolio featuring signature collection, Argentine classics, fusion empanadas, breakfast collection, and dessert collection",className:"w-full h-auto object-contain block"})})]})}),y.jsx(zn,{})]})]})}function yN(){return y.jsxs(y.Fragment,{children:[y.jsxs(nn,{children:[y.jsx("title",{children:"Licensing Program - KC Empanadas"}),y.jsx("meta",{name:"description",content:"KC Empanadas Licensing Program — a simple alternative to franchising. Bring the KC Empanadas brand, recipes, and operating system to your existing food business."})]}),y.jsxs("div",{className:"min-h-screen flex flex-col bg-white",children:[y.jsx(Vn,{}),y.jsx("main",{className:"flex-1",children:y.jsx("section",{className:"py-12 md:py-16 bg-[#faf8f4] border-t border-gray-100",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[y.jsxs(ie.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-center mb-8 md:mb-10",children:[y.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-primary mb-2",children:"Licensing"}),y.jsx("div",{className:"mx-auto h-0.5 w-16 bg-yellow-700/70 mb-4"})]}),y.jsx(ie.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.55},className:"max-w-3xl mx-auto mb-10 md:mb-12",children:y.jsx("img",{src:"https://horizons-cdn.hostinger.com/491b43cd-7a58-446e-961d-17090d0152f4/cca75bfe10c29e991edf5517221ea853.png",alt:"KC Empanadas Licensing Program flyer",className:"w-full h-auto rounded-lg shadow-md border border-yellow-700/20",loading:"eager"})}),y.jsxs("div",{className:"max-w-4xl mx-auto space-y-10 md:space-y-12",children:[y.jsxs(ie.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-center",children:[y.jsx("h3",{className:"text-xl md:text-2xl font-bold text-yellow-800 tracking-wide mb-2",children:"KC EMPANADAS LICENSING PROGRAM"}),y.jsx("p",{className:"text-lg md:text-xl font-medium text-primary mb-4 italic",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"A Simple Alternative to Franchising"}),y.jsx("p",{className:"text-gray-700 leading-relaxed text-base max-w-3xl mx-auto",children:"The KC Empanadas Licensing Program is designed for restaurants, coffee shops, cafés, grocery stores, markets, convenience stores, food halls, catering companies, and other food businesses that want to add a proven empanada concept to their existing operation without purchasing a traditional franchise."})]}),y.jsxs(ie.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[y.jsx("h3",{className:"text-lg md:text-xl font-bold text-primary mb-4 text-center tracking-wide",children:"LICENSE STRUCTURE"}),y.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[{icon:U4,label:"Initial Licensing Fee",value:"$10,000"},{icon:_4,label:"Ongoing Support & Brand Fee",value:"$1,000 / month"},{icon:z4,label:"License Term",value:"7 Years"}].map(t=>y.jsxs("div",{className:"bg-white border border-primary/10 rounded-xl p-5 text-center shadow-sm",children:[y.jsx("div",{className:"mx-auto mb-3 flex h-11 w-11 items-center justify-center rounded-full bg-primary text-white",children:y.jsx(t.icon,{className:"h-5 w-5",strokeWidth:1.75})}),y.jsx("p",{className:"text-xs font-semibold uppercase tracking-wider text-gray-500 mb-1",children:t.label}),y.jsx("p",{className:"text-xl font-bold text-primary",children:t.value})]},t.label))}),y.jsx("p",{className:"text-gray-700 leading-relaxed text-base mt-5 max-w-3xl mx-auto text-center",children:"The license gives an approved operator the right to use the KC Empanadas name, brand, recipes, product concept, and operating system to produce and sell KC Empanadas at an approved location, subject to the terms of the licensing agreement."})]}),y.jsxs(ie.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[y.jsx("h3",{className:"text-lg md:text-xl font-bold text-yellow-800 mb
54-6 text-center tracking-wide",children:"WHAT THE $10,000 LICENSE INCLUDES"}),y.jsx("div",{className:"space-y-6",children:[{icon:I4,title:"Brand License",body:"The right to operate and sell empanadas under the KC Empanadas name and approved branding for seven years."},{icon:O4,title:"Recipes & Product Knowledge",body:"Access to the approved KC Empanadas recipes, preparation methods, ingredient specifications, and product standards included in the licensing program."},{icon:Q4,title:"Supplier & Purchasing Guidance",body:null,list:["Ingredients and supplies","Recommended products","Packaging","Equipment","Where and how to purchase necessary supplies"]},{icon:V4,title:"Menu Development",intro:"We help determine the best empanada selection for each location, including:",list:["Recommended flavors","Menu structure","Product combinations","Pricing guidance","Presentation","Grab-and-go options","Frozen and take-home options, when appropriate"],outro:"The menu can be adapted to the type of business and its customers."},{icon:Iv,title:"Training",intro:"Initial training on:",list:["Preparing the empanadas","Production procedures","Baking and handling","Presentation","Quality standards","Storage","Customer service and product knowledge"]},{icon:K4,title:"Marketing Launch",intro:"Assistance introducing KC Empanadas to the licensee's market, including guidance on:",list:["Launch strategy","Social media","Promotions","Product photography and presentation","In-store marketing","Brand messaging"]}].map(t=>y.jsxs("div",{className:"flex gap-4 bg-white border border-gray-100 rounded-xl p-5 shadow-sm",children:[y.jsx("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full bg-primary text-white",children:y.jsx(t.icon,{className:"h-5 w-5",strokeWidth:1.75})}),y.jsxs("div",{className:"min-w-0",children:[y.jsx("h4",{className:"font-bold text-gray-900 font-sans text-base mb-1.5",children:t.title}),t.body&&y.jsx("p",{className:"text-gray-700 text-sm md:text-base leading-relaxed",children:t.body}),t.intro&&y.jsx("p",{className:"text-gray-700 text-sm md:text-base leading-relaxed mb-2",children:t.intro}),t.list&&y.jsx("ul",{className:"space-y-1.5",children:t.list.map(n=>y.jsxs("li",{className:"flex items-start gap-2 text-sm md:text-base text-gray-700",children:[y.jsx(as,{className:"h-4 w-4 text-primary flex-shrink-0 mt-0.5"}),y.jsx("span",{children:n})]},n))}),t.outro&&y.jsx("p",{className:"text-gray-700 text-sm md:text-base leading-relaxed mt-2",children:t.outro})]})]},t.title))})]}),y.jsx(ie.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"bg-white border border-primary/15 rounded-xl p-6 md:p-8 shadow-sm",children:y.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-start gap-4 mb-4",children:[y.jsx("div",{className:"flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-primary text-white",children:y.jsx(W4,{className:"h-6 w-6",strokeWidth:1.75})}),y.jsxs("div",{children:[y.jsx("h3",{className:"text-lg md:text-xl font-bold text-primary tracking-wide mb-2",children:"$1,000 MONTHLY SUPPORT & BRAND FEE"}),y.jsx("p",{className:"text-gray-700 text-sm md:text-base leading-relaxed mb-3",children:"The monthly fee is a fixed $1,000, rather than a percentage of sales."}),y.jsx("p",{className:"text-gray-700 text-sm md:text-base leading-relaxed mb-4",children:"This allows the licensee to know exactly what their monthly brand cost will be regardless of how successful the location becomes."}),y.jsx("p",{className:"text-gray-800 font-medium text-sm md:text-base mb-3",children:"The monthly fee supports:"}),y.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2 mb-5",children:["Continued use of the KC Empanadas brand","Ongoing operational assistance","Training of new employees","Menu updates and new product guidance","Marketing assistance","Promotional ideas","Brand materials and standards","Quality-control guidance","Continued business support"].map(t=>y.jsxs("li",{className:"flex items-start gap-2 text-sm md:text-base text-gray-700",children:[y.jsx(Ya,{className:"h-4 w-4 text-primary flex-shrink-0 mt-0.5"}),y.jsx("span",{children:t})]},t))}),y.jsxs("div",{className:"rounded-lg bg-primary/5 border border-primary/10 px-4 py-3",children:[y.jsx("p",{className:"font-bold text-primary text-sm md:text-base",children:"No percentage royalty on sales."}),y.jsx("p",{className:"text-gray-700 text-sm md:text-base mt-1",children:"The licensee keeps the remaining revenue generated by the business after its own operating expenses."})]})]})]})}),y.jsxs(ie.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[y.jsx("h3",{className:"text-lg md:text-xl font-bold text-primary mb-4 text-center tracking-wide",children:"WHERE KC EMPANADAS CAN OPERATE"}),y.jsx("p",{className:"text-gray-700 text-sm md:text-base text-center mb-5 max-w-2xl mx-auto",children:"The licensing model is designed to work inside many existing businesses, including:"}),y.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-2.5",children:["Restaurants","Coffee shops","Cafés","Grocery stores","Markets","Convenience stores","Bakeries","Food halls","Stadium and entertainment locations","Corporate cafeterias","Universities","Hotels","Airports and travel locations","Catering businesses","Other approved food-service locations"].map(t=>y.jsxs("div",{className:"flex items-center gap-2 bg-white px-3 py-2.5 rounded-md shadow-sm border border-gray-100",children:[y.jsx(Ya,{className:"h-4 w-4 text-primary flex-shrink-0"}),y.jsx("span",{className:"font-medium text-gray-800 text-xs sm:text-sm leading-snug",children:t})]},t))})]}),y.jsxs(ie.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-center max-w-3xl mx-auto",children:[y.jsx("h3",{className:"text-lg md:text-xl font-bold text-yellow-800 mb
54-4 tracking-wide",children:"WHY LICENSING?"}),y.jsxs("div",{className:"space-y-3 text-gray-700 text-sm md:text-base leading-relaxed text-left sm:text-center",children:[y.jsx("p",{children:"This model is intentionally simpler than opening a traditional franchise."}),y.jsx("p",{children:"The operator already has the location, employees, customers, and infrastructure."}),y.jsx("p",{children:"We bring the brand, recipes, product knowledge, training, menu strategy, and marketing support."}),y.jsx("p",{children:"They add KC Empanadas to their existing business and create an additional revenue stream without having to build an entirely new restaurant concept."})]})]}),y.jsxs(ie.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"rounded-xl bg-primary text-primary-foreground px-6 py-8 md:px-10 md:py-10 text-center",children:[y.jsx("h3",{className:"text-lg md:text-xl font-bold tracking-wide mb-4",children:"THE INVESTMENT"}),y.jsx("p",{className:"text-base md:text-lg font-semibold mb-1",children:"$10,000 Initial License Fee + $1,000 Monthly Support & Brand Fee"}),y.jsx("p",{className:"text-sm md:text-base opacity-90 mb-5",children:"7-Year License Term"}),y.jsx("p",{className:"text-base md:text-lg italic mb-6 opacity-95",style:{fontFamily:'"Playfair Display", Georgia, serif'},children:"One location. One established brand. One simple system."}),y.jsx("p",{className:"text-sm md:text-base font-medium tracking-wide",children:"KC EMPANADAS — Bring the empanada experience to your business."}),y.jsx("div",{className:"mt-6",children:y.jsx(Pt,{to:"/contact",className:"inline-flex items-center justify-center bg-white text-primary px-6 py-2.5 rounded-md font-semibold hover:bg-white/90 transition-colors active:scale-[0.98]",children:"Inquire About Licensing"})})]})]})]})})}),y.jsx(zn,{})]})]})}function vN(){return y.jsxs(Yw,{children:[y.jsx(_b,{}),y.jsxs(Cw,{children:[y.jsx(dn,{path:"/",element:y.jsx(Qk,{})}),y.jsx(dn,{path:"/our-story",element:y.jsx(Xk,{})}),y.jsx(dn,{path:"/b2b",element:y.jsx(oN,{})}),y.jsx(dn,{path:"/kansas-bbq-empanadas",element:y.jsx(aN,{})}),y.jsx(dn,{path:"/marketing-media",element:y.jsx(lN,{})}),y.jsx(dn,{path:"/contact",element:y.jsx(hN,{})}),y.jsx(dn,{path:"/product-order",element:y.jsx(mN,{})}),y.jsx(dn,{path:"/menu",element:y.jsx(gN,{})}),y.jsx(dn,{path:"/licensing",element:y.jsx(yN,{})})]}),y.jsx(Ob,{})]})}P1.createRoot(document.getElementById("root")).render(y.jsx(vN,{}));

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.