From 4d47efd6bd58f363df123cf72167acdb315f08b6 Mon Sep 17 00:00:00 2001 From: CKCarr <119520583+CKCarr@users.noreply.github.com> Date: Mon, 30 Dec 2024 22:55:50 -0600 Subject: [PATCH] Updates --- CNAME | 1 - asset-manifest.json | 7 ++++--- index.html | 2 +- .../js/{main.011c1344.js => main.06d0a040.js} | 6 +++--- ...LICENSE.txt => main.06d0a040.js.LICENSE.txt} | 0 ...ain.011c1344.js.map => main.06d0a040.js.map} | 2 +- .../EmployeeManager.238da3fee41feaa80c28.png | Bin 0 -> 34341 bytes 7 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 CNAME rename static/js/{main.011c1344.js => main.06d0a040.js} (92%) rename static/js/{main.011c1344.js.LICENSE.txt => main.06d0a040.js.LICENSE.txt} (100%) rename static/js/{main.011c1344.js.map => main.06d0a040.js.map} (96%) create mode 100644 static/media/EmployeeManager.238da3fee41feaa80c28.png diff --git a/CNAME b/CNAME deleted file mode 100644 index 711be80..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -ckcarr.dev \ No newline at end of file diff --git a/asset-manifest.json b/asset-manifest.json index a484556..9af6635 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "/static/css/main.12ffcc2f.css", - "main.js": "/static/js/main.011c1344.js", + "main.js": "/static/js/main.06d0a040.js", "static/media/headphones.png": "/static/media/headphones.79bd9bee61d098b3dc42.png", "static/media/BreakfastHacksprint-project.png": "/static/media/BreakfastHacksprint-project.f0c11df0a71164fb2bfb.png", "static/media/pc-monitor.png": "/static/media/pc-monitor.d83b34b954ab2709968c.png", @@ -21,15 +21,16 @@ "static/media/fa-regular-400.ttf": "/static/media/fa-regular-400.17a6e1aebccdbaa39e78.ttf", "static/media/process2.png": "/static/media/process2.fde37f769d18abee91a9.png", "static/media/discover-text.png": "/static/media/discover-text.70cb508cd8bc1f7c7551.png", + "static/media/EmployeeManager.png": "/static/media/EmployeeManager.238da3fee41feaa80c28.png", "static/media/fa-regular-400.woff2": "/static/media/fa-regular-400.bc3722686635b5f86132.woff2", "static/media/fa-v4compatibility.ttf": "/static/media/fa-v4compatibility.0f6cb412603527bda691.ttf", "static/media/fa-v4compatibility.woff2": "/static/media/fa-v4compatibility.6cfec8414be20e2c3426.woff2", "index.html": "/index.html", "main.12ffcc2f.css.map": "/static/css/main.12ffcc2f.css.map", - "main.011c1344.js.map": "/static/js/main.011c1344.js.map" + "main.06d0a040.js.map": "/static/js/main.06d0a040.js.map" }, "entrypoints": [ "static/css/main.12ffcc2f.css", - "static/js/main.011c1344.js" + "static/js/main.06d0a040.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index f1797f5..c5ddf64 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
t||X)).splice(0,e.length-1)}function ce(e){let{from:t=0,to:r=1,ease:n,offset:o,duration:a=300}=e;const l={done:!1,value:t},i=Array.isArray(r)?r:[t,r],u=function(e,t){return e.map((e=>e*t))}(o&&o.length===i.length?o:function(e){const t=e.length;return e.map(((e,r)=>0!==r?r/(t-1):0))}(i),a);function s(){return D(u,i,{ease:Array.isArray(n)?n:se(i,n)})}let c=s();return{next:e=>(l.value=c(e),l.done=e>=a,l),flipTarget:()=>{i.reverse(),c=s()}}}function de(e){let{velocity:t=0,from:r=0,power:n=.8,timeConstant:o=350,restDelta:a=.5,modifyTarget:l}=e;const i={done:!1,value:r};let u=n*t;const s=r+u,c=void 0===l?s:l(s);return c!==s&&(u=c-r),{next:e=>{const t=-u*Math.exp(-e/o);return i.done=!(t>a||t<-a),i.value=i.done?c:c+t,i},flipTarget:()=>{}}}const fe={keyframes:ce,spring:m,decay:de};function pe(e,t){return e-t-(arguments.length>2&&void 0!==arguments[2]?arguments[2]:0)}const be=e=>{const t=t=>{let{delta:r}=t;return e(r)};return{start:()=>u.default.update(t,!0),stop:()=>l.cancelSync.update(t)}};function ge(e){var t,r,{from:o,autoplay:a=!0,driver:l=be,elapsed:i=0,repeat:u=0,repeatType:s="loop",repeatDelay:c=0,onPlay:d,onStop:f,onComplete:p,onRepeat:b,onUpdate:g}=e,h=n.__rest(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let y,v,w,{to:x}=h,O=0,k=h.duration,C=!1,P=!0;const T=function(e){if(Array.isArray(e.to))return ce;if(fe[e.type])return fe[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?ce:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?m:ce}(h);(null===(r=(t=T).needsInterpolation)||void 0===r?void 0:r.call(t,o,x))&&(w=D([0,100],[o,x],{clamp:!1}),o=0,x=100);const j=T(Object.assign(Object.assign({},h),{from:o,to:x}));function S(){O++,"reverse"===s?(P=O%2===0,i=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?t-(e-t)+r:pe(t+-e,t,r)}(i,k,c,P)):(i=pe(i,k,c),"mirror"===s&&j.flipTarget()),C=!1,b&&b()}function _(e){if(P||(e=-e),i+=e,!C){const e=j.next(Math.max(0,i));v=e.value,w&&(v=w(v)),C=P?e.done:i<=0}null===g||void 0===g||g(v),C&&(0===O&&(null!==k&&void 0!==k||(k=i)),O=t+r:e<=-r}(i,k,c,P)&&S():(y.stop(),p&&p()))}return a&&(null===d||void 0===d||d(),y=l(_),y.start()),{stop:()=>{null===f||void 0===f||f(),y.stop()}}}function he(e,t){return t?e*(1e3/t):0}const me=e=>180*e/Math.PI,ye=e=>e,ve=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ye;return(t,r,n)=>{const o=r-n,a=-(0-t+1)*(0-e(Math.abs(o)));return o<=0?r+a:r-a}},we=ve(),xe=ve(Math.sqrt),Oe=e=>e*Math.PI/180,ke=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),Ce=e=>ke(e)&&e.hasOwnProperty("z"),Pe=(e,t)=>Math.abs(e-t);const Te=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return t=Math.pow(10,t),Math.round(e*t)/t},je=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return Te(e+r*(t-e)/Math.max(n,r))};const Se=(e,t)=>1-3*t+3*e,_e=(e,t)=>3*t-6*e,Ee=e=>3*e,Me=(e,t,r)=>((Se(t,r)*e+_e(t,r))*e+Ee(t))*e,Ne=(e,t,r)=>3*Se(t,r)*e*e+2*_e(t,r)*e+Ee(t);const Re=.1;t.angle=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S;return me(Math.atan2(t.y-e.y,t.x-e.x))},t.animate=ge,t.anticipate=ne,t.applyOffset=(e,t)=>{let r=!0;return void 0===t&&(t=e,r=!1),n=>r?n-e+t:(e=n,r=!0,t)},t.attract=we,t.attractExpo=xe,t.backIn=ee,t.backInOut=re,t.backOut=te,t.bounceIn=ue,t.bounceInOut=e=>e<.5?.5*(1-ie(1-2*e)):.5*ie(2*e-1)+.5,t.bounceOut=ie,t.circIn=Q,t.circInOut=J,t.circOut=Z,t.clamp=s,t.createAnticipate=U,t.createAttractor=ve,t.createBackIn=H,t.createExpoIn=W,t.cubicBezier=function(e,t,r,n){if(e===t&&r===n)return K;const o=new Float32Array(11);for(let l=0;l<11;++l)o[l]=Me(l*Re,e,r);function a(t){let n=0,a=1;for(;10!==a&&o[a]<=t;++a)n+=Re;--a;const l=n+(t-o[a])/(o[a+1]-o[a])*Re,i=Ne(l,e,r);return i>=.001?function(e,t,r,n){for(let o=0;o<8;++o){const o=Ne(t,r,n);if(0===o)return t;t-=(Me(t,r,n)-e)/o}return t}(t,l,e,r):0===i?l:function(e,t,r,n,o){let a,l,i=0;do{l=t+(r-t)/2,a=Me(l,n,o)-e,a>0?r=l:t=l}while(Math.abs(a)>1e-7&&++i<10);return l}(t,n,n+Re,e,r)}return e=>0===e||1===e?e:Me(a(e),t,n)},t.decay=de,t.degreesToRadians=Oe,t.distance=function(e,t){if(_(e)&&_(t))return Pe(e,t);if(ke(e)&&ke(t)){const r=Pe(e.x,t.x),n=Pe(e.y,t.y),o=Ce(e)&&Ce(t)?Pe(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(o,2))}},t.easeIn=G,t.easeInOut=X,t.easeOut=Y,t.inertia=function(e){let t,{from:r=0,velocity:n=0,min:o,max:a,power:i=.8,timeConstant:u=750,bounceStiffness:s=500,bounceDamping:c=10,restDelta:d=1,modifyTarget:f,driver:p,onUpdate:b,onComplete:g,onStop:h}=e;function m(e){return void 0!==o&&ea}function y(e){return void 0===o?a:void 0===a||Math.abs(o-e) {var r;null===b||void 0===b||b(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:g,onStop:h}))}function w(e){v(Object.assign({type:"spring",stiffness:s,damping:c,restDelta:d},e))}if(m(r))w({from:r,velocity:n,to:y(r)});else{let e=i*n+r;"undefined"!==typeof f&&(e=f(e));const t=y(e),a=t===o?-1:1;let s,c;const p=e=>{s=c,c=e,n=he(e-s,l.getFrameData().delta),(1===a&&e>t||-1===a&&e null===t||void 0===t?void 0:t.stop()}},t.interpolate=D,t.isPoint=ke,t.isPoint3D=Ce,t.keyframes=ce,t.linear=K,t.mirrorEasing=B,t.mix=w,t.mixColor=j,t.mixComplex=L,t.pipe=M,t.pointFromVector=(e,t,r)=>(t=Oe(t),{x:r*Math.cos(t)+e.x,y:r*Math.sin(t)+e.y}),t.progress=v,t.radiansToDegrees=me,t.reverseEasing=V,t.smooth=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:50,t=0,r=0;return n=>{const o=l.getFrameData().timestamp,a=o!==r?o-r:0,i=a?je(t,n,a,e):t;return r=o,t=i,i}},t.smoothFrame=je,t.snap=e=>{if("number"===typeof e)return t=>Math.round(t/e)*e;{let t=0;const r=e.length;return n=>{let o=Math.abs(e[0]-n);for(t=1;t o)return e[t-1];if(t===r-1)return a;o=l}}}},t.spring=m,t.steps=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"end";return r=>{const n=(r="end"===t?Math.min(r,.999):Math.max(r,.001))*e,o="end"===t?Math.floor(n):Math.ceil(n);return s(0,1,o/e)}},t.toDecimal=Te,t.velocityPerFrame=function(e,t){return e/(1e3/t)},t.velocityPerSecond=he,t.wrap=(e,t,r)=>{const n=t-e;return((r-e)%n+n)%n+e}},1497:(e,t,r)=>{"use strict";var n=r(3218);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,l){if(l!==n){var i=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 i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},5173:(e,t,r)=>{e.exports=r(1497)()},3218:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2730:(e,t,r)=>{"use strict";var n=r(5043),o=r(8853);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r t}return!1}(t,r,o,n)&&(r=null),n||null===o?function(e){return!!d.call(b,e)||!d.call(p,e)&&(f.test(e)?b[e]=!0:(p[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=null===r?3!==o.type&&"":r:(t=o.attributeName,n=o.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(o=o.type)||4===o&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(m,y);h[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(m,y);h[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(m,y);h[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){h[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),h.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){h[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),O=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),T=Symbol.for("react.provider"),j=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var A=Symbol.iterator;function I(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=A&&e[A]||e["@@iterator"])?e:null}var L,z=Object.assign;function F(e){if(void 0===L)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var D=!1;function V(e,t){if(!e||D)return"";D=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var n=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){n=s}e.call(t.prototype)}else{try{throw Error()}catch(s){n=s}e()}}catch(s){if(s&&n&&"string"===typeof s.stack){for(var o=s.stack.split("\n"),a=n.stack.split("\n"),l=o.length-1,i=a.length-1;1<=l&&0<=i&&o[l]!==a[i];)i--;for(;1<=l&&0<=i;l--,i--)if(o[l]!==a[i]){if(1!==l||1!==i)do{if(l--,0>--i||o[l]!==a[i]){var u="\n"+o[l].replace(" at new "," at ");return e.displayName&&u.includes(" ")&&(u=u.replace(" ",e.displayName)),u}}while(1<=l&&0<=i);break}}}finally{D=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?F(e):""}function B(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 1:return e=V(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case O:return"Portal";case P:return"Profiler";case C:return"StrictMode";case _:return"Suspense";case E:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case j:return(e.displayName||"Context")+".Consumer";case T:return(e._context.displayName||"Context")+".Provider";case S:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case M:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return W(e(t))}catch(r){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return W(t);case 8:return t===C?"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("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function U(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof r&&"function"===typeof r.get&&"function"===typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=q(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function G(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var r=t.checked;return z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function X(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=U(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function Z(e,t){Q(e,t);var r=U(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,r):t.hasOwnProperty("defaultValue")&&ee(e,t.type,U(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function ee(e,t,r){"number"===t&&G(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var te=Array.isArray;function re(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o "+t.valueOf().toString()+"",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var pe={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},be=["Webkit","ms","Moz","O"];function ge(e,t,r){return null==t||"boolean"===typeof t||""===t?"":r||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function he(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),o=ge(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}Object.keys(pe).forEach((function(e){be.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var me=z({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 ye(e,t){if(t){if(me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;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 we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Oe=null,ke=null,Ce=null;function Pe(e){if(e=wo(e)){if("function"!==typeof Oe)throw Error(a(280));var t=e.stateNode;t&&(t=Oo(t),Oe(e.stateNode,e.type,t))}}function Te(e){ke?Ce?Ce.push(e):Ce=[e]:ke=e}function je(){if(ke){var e=ke,t=Ce;if(Ce=ke=null,Pe(e),t)for(e=0;e >>=0,0===e?32:31-(it(e)/ut|0)|0},it=Math.log,ut=Math.LN2;var st=64,ct=4194304;function dt(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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,l=268435455&r;if(0!==l){var i=l&~o;0!==i?n=dt(i):0!==(a&=l)&&(n=dt(a))}else 0!==(l=r&~o)?n=dt(l):0!==a&&(n=dt(a));if(0===n)return 0;if(0!==t&&t!==n&&0===(t&o)&&((o=n&-n)>=(a=t&-t)||16===o&&0!==(4194240&a)))return t;if(0!==(4&n)&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0 r;r++)t.push(e);return t}function mt(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-lt(t)]=r}function yt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-lt(r),o=1< =Ar),zr=String.fromCharCode(32),Fr=!1;function Dr(e,t){switch(e){case"keyup":return-1!==Nr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vr(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Br=!1;var Wr={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 Hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wr[e.type]:"textarea"===t}function Ur(e,t,r,n){Te(n),0<(t=$n(t,"onChange")).length&&(r=new sr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var qr=null,$r=null;function Kr(e){Fn(e,0)}function Gr(e){if(K(xo(e)))return e}function Yr(e,t){if("change"===e)return t}var Xr=!1;if(c){var Qr;if(c){var Zr="oninput"in document;if(!Zr){var Jr=document.createElement("div");Jr.setAttribute("oninput","return;"),Zr="function"===typeof Jr.oninput}Qr=Zr}else Qr=!1;Xr=Qr&&(!document.documentMode||9 =t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=sn(n)}}function dn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fn(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var r="string"===typeof t.contentWindow.location.href}catch(n){r=!1}if(!r)break;t=G((e=t.contentWindow).document)}return t}function pn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function bn(e){var t=fn(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&dn(r.ownerDocument.documentElement,r)){if(null!==n&&pn(r))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=void 0===n.end?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=cn(r,a);var l=cn(r,n);o&&l&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof r.focus&&r.focus(),r=0;r =document.documentMode,hn=null,mn=null,yn=null,vn=!1;function wn(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;vn||null==hn||hn!==G(n)||("selectionStart"in(n=hn)&&pn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},yn&&un(yn,n)||(yn=n,0<(n=$n(mn,"onSelect")).length&&(t=new sr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=hn)))}function xn(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var On={animationend:xn("Animation","AnimationEnd"),animationiteration:xn("Animation","AnimationIteration"),animationstart:xn("Animation","AnimationStart"),transitionend:xn("Transition","TransitionEnd")},kn={},Cn={};function Pn(e){if(kn[e])return kn[e];if(!On[e])return e;var t,r=On[e];for(t in r)if(r.hasOwnProperty(t)&&t in Cn)return kn[e]=r[t];return e}c&&(Cn=document.createElement("div").style,"AnimationEvent"in window||(delete On.animationend.animation,delete On.animationiteration.animation,delete On.animationstart.animation),"TransitionEvent"in window||delete On.transitionend.transition);var Tn=Pn("animationend"),jn=Pn("animationiteration"),Sn=Pn("animationstart"),_n=Pn("transitionend"),En=new Map,Mn="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 Nn(e,t){En.set(e,t),u(t,[e])}for(var Rn=0;Rn Co||(e.current=ko[Co],ko[Co]=null,Co--)}function jo(e,t){Co++,ko[Co]=e.current,e.current=t}var So={},_o=Po(So),Eo=Po(!1),Mo=So;function No(e,t){var r=e.type.contextTypes;if(!r)return So;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in r)a[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ro(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ao(){To(Eo),To(_o)}function Io(e,t,r){if(_o.current!==So)throw Error(a(168));jo(_o,t),jo(Eo,r)}function Lo(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!==typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in t))throw Error(a(108,H(e)||"Unknown",o));return z({},r,n)}function zo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||So,Mo=_o.current,jo(_o,e),jo(Eo,Eo.current),!0}function Fo(e,t,r){var n=e.stateNode;if(!n)throw Error(a(169));r?(e=Lo(e,t,Mo),n.__reactInternalMemoizedMergedChildContext=e,To(Eo),To(_o),jo(_o,e)):To(Eo),jo(Eo,r)}var Do=null,Vo=!1,Bo=!1;function Wo(e){null===Do?Do=[e]:Do.push(e)}function Ho(){if(!Bo&&null!==Do){Bo=!0;var e=0,t=vt;try{var r=Do;for(vt=1;e >=l,o-=l,Qo=1<<32-lt(t)+o|r< g?(h=d,d=null):h=d.sibling;var m=p(o,d,i[g],u);if(null===m){null===d&&(d=h);break}e&&d&&null===m.alternate&&t(o,d),a=l(m,a,g),null===c?s=m:c.sibling=m,c=m,d=h}if(g===i.length)return r(o,d),aa&&Jo(o,g),s;if(null===d){for(;g h?(m=g,g=null):m=g.sibling;var v=p(o,g,y.value,s);if(null===v){null===g&&(g=m);break}e&&g&&null===v.alternate&&t(o,g),i=l(v,i,h),null===d?c=v:d.sibling=v,d=v,g=m}if(y.done)return r(o,g),aa&&Jo(o,h),c;if(null===g){for(;!y.done;h++,y=u.next())null!==(y=f(o,y.value,s))&&(i=l(y,i,h),null===d?c=y:d.sibling=y,d=y);return aa&&Jo(o,h),c}for(g=n(o,g);!y.done;h++,y=u.next())null!==(y=b(g,o,h,y.value,s))&&(e&&null!==y.alternate&&g.delete(null===y.key?h:y.key),i=l(y,i,h),null===d?c=y:d.sibling=y,d=y);return e&&g.forEach((function(e){return t(o,e)})),aa&&Jo(o,h),c}return function e(n,a,l,u){if("object"===typeof l&&null!==l&&l.type===k&&null===l.key&&(l=l.props.children),"object"===typeof l&&null!==l){switch(l.$$typeof){case x:e:{for(var s=l.key,c=a;null!==c;){if(c.key===s){if((s=l.type)===k){if(7===c.tag){r(n,c.sibling),(a=o(c,l.props.children)).return=n,n=a;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===N&&va(s)===c.type){r(n,c.sibling),(a=o(c,l.props)).ref=ma(n,c,l),a.return=n,n=a;break e}r(n,c);break}t(n,c),c=c.sibling}l.type===k?((a=Is(l.props.children,n.mode,u,l.key)).return=n,n=a):((u=As(l.type,l.key,l.props,null,n.mode,u)).ref=ma(n,a,l),u.return=n,n=u)}return i(n);case O:e:{for(c=l.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===l.containerInfo&&a.stateNode.implementation===l.implementation){r(n,a.sibling),(a=o(a,l.children||[])).return=n,n=a;break e}r(n,a);break}t(n,a),a=a.sibling}(a=Fs(l,n.mode,u)).return=n,n=a}return i(n);case N:return e(n,a,(c=l._init)(l._payload),u)}if(te(l))return g(n,a,l,u);if(I(l))return h(n,a,l,u);ya(n,l)}return"string"===typeof l&&""!==l||"number"===typeof l?(l=""+l,null!==a&&6===a.tag?(r(n,a.sibling),(a=o(a,l)).return=n,n=a):(r(n,a),(a=zs(l,n.mode,u)).return=n,n=a),i(n)):r(n,a)}}var xa=wa(!0),Oa=wa(!1),ka=Po(null),Ca=null,Pa=null,Ta=null;function ja(){Ta=Pa=Ca=null}function Sa(e){var t=ka.current;To(ka),e._currentValue=t}function _a(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Ea(e,t){Ca=e,Ta=Pa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(vi=!0),e.firstContext=null)}function Ma(e){var t=e._currentValue;if(Ta!==e)if(e={context:e,memoizedValue:t,next:null},null===Pa){if(null===Ca)throw Error(a(308));Pa=e,Ca.dependencies={lanes:0,firstContext:e}}else Pa=Pa.next=e;return t}var Na=null;function Ra(e){null===Na?Na=[e]:Na.push(e)}function Aa(e,t,r,n){var o=t.interleaved;return null===o?(r.next=r,Ra(t)):(r.next=o.next,o.next=r),t.interleaved=r,Ia(e,n)}function Ia(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var La=!1;function za(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Da(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Va(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,0!==(2&Su)){var o=n.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),n.pending=t,Ia(e,r)}return null===(o=n.interleaved)?(t.next=t,Ra(n)):(t.next=o.next,o.next=t),n.interleaved=t,Ia(e,r)}function Ba(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&r))){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,yt(e,r)}}function Wa(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var o=null,a=null;if(null!==(r=r.firstBaseUpdate)){do{var l={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===a?o=a=l:a=a.next=l,r=r.next}while(null!==r);null===a?o=a=t:a=a.next=t}else o=a=t;return r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Ha(e,t,r,n){var o=e.updateQueue;La=!1;var a=o.firstBaseUpdate,l=o.lastBaseUpdate,i=o.shared.pending;if(null!==i){o.shared.pending=null;var u=i,s=u.next;u.next=null,null===l?a=s:l.next=s,l=u;var c=e.alternate;null!==c&&((i=(c=c.updateQueue).lastBaseUpdate)!==l&&(null===i?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=u))}if(null!==a){var d=o.baseState;for(l=0,c=s=u=null,i=a;;){var f=i.lane,p=i.eventTime;if((n&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var b=e,g=i;switch(f=t,p=r,g.tag){case 1:if("function"===typeof(b=g.payload)){d=b.call(p,d,f);break e}d=b;break e;case 3:b.flags=-65537&b.flags|128;case 0:if(null===(f="function"===typeof(b=g.payload)?b.call(p,d,f):b)||void 0===f)break e;d=z({},d,f);break e;case 2:La=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[i]:f.push(i))}else p={eventTime:p,lane:f,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(s=c=p,u=d):c=c.next=p,l|=f;if(null===(i=i.next)){if(null===(i=o.shared.pending))break;i=(f=i).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(u=d),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{l|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Lu|=l,e.lanes=l,e.memoizedState=d}}function Ua(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t r?r:4,e(!0);var n=al.transition;al.transition={};try{e(!1),t()}finally{vt=r,al.transition=n}}function $l(){return vl().memoizedState}function Kl(e,t,r){var n=ts(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Yl(e))Xl(t,r);else if(null!==(r=Aa(e,t,r,n))){rs(r,e,n,es()),Ql(r,t,n)}}function Gl(e,t,r){var n=ts(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Yl(e))Xl(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var l=t.lastRenderedState,i=a(l,r);if(o.hasEagerState=!0,o.eagerState=i,ln(i,l)){var u=t.interleaved;return null===u?(o.next=o,Ra(t)):(o.next=u.next,u.next=o),void(t.interleaved=o)}}catch(s){}null!==(r=Aa(e,t,o,n))&&(rs(r,e,n,o=es()),Ql(r,t,n))}}function Yl(e){var t=e.alternate;return e===il||null!==t&&t===il}function Xl(e,t){dl=cl=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Ql(e,t,r){if(0!==(4194240&r)){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,yt(e,r)}}var Zl={readContext:Ma,useCallback:bl,useContext:bl,useEffect:bl,useImperativeHandle:bl,useInsertionEffect:bl,useLayoutEffect:bl,useMemo:bl,useReducer:bl,useRef:bl,useState:bl,useDebugValue:bl,useDeferredValue:bl,useTransition:bl,useMutableSource:bl,useSyncExternalStore:bl,useId:bl,unstable_isNewReconciler:!1},Jl={readContext:Ma,useCallback:function(e,t){return yl().memoizedState=[e,void 0===t?null:t],e},useContext:Ma,useEffect:Il,useImperativeHandle:function(e,t,r){return r=null!==r&&void 0!==r?r.concat([e]):null,Rl(4194308,4,Dl.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Rl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Rl(4,2,e,t)},useMemo:function(e,t){var r=yl();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=yl();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=Kl.bind(null,il,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},yl().memoizedState=e},useState:El,useDebugValue:Bl,useDeferredValue:function(e){return yl().memoizedState=e},useTransition:function(){var e=El(!1),t=e[0];return e=ql.bind(null,e[1]),yl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=il,o=yl();if(aa){if(void 0===r)throw Error(a(407));r=r()}else{if(r=t(),null===_u)throw Error(a(349));0!==(30&ll)||Pl(n,t,r)}o.memoizedState=r;var l={value:r,getSnapshot:t};return o.queue=l,Il(jl.bind(null,n,l,e),[e]),n.flags|=2048,Ml(9,Tl.bind(null,n,l,r,t),void 0,null),r},useId:function(){var e=yl(),t=_u.identifierPrefix;if(aa){var r=Zo;t=":"+t+"R"+(r=(Qo&~(1<<32-lt(Qo)-1)).toString(32)+r),0<(r=fl++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=pl++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ei={readContext:Ma,useCallback:Wl,useContext:Ma,useEffect:Ll,useImperativeHandle:Vl,useInsertionEffect:zl,useLayoutEffect:Fl,useMemo:Hl,useReducer:xl,useRef:Nl,useState:function(){return xl(wl)},useDebugValue:Bl,useDeferredValue:function(e){return Ul(vl(),ul.memoizedState,e)},useTransition:function(){return[xl(wl)[0],vl().memoizedState]},useMutableSource:kl,useSyncExternalStore:Cl,useId:$l,unstable_isNewReconciler:!1},ti={readContext:Ma,useCallback:Wl,useContext:Ma,useEffect:Ll,useImperativeHandle:Vl,useInsertionEffect:zl,useLayoutEffect:Fl,useMemo:Hl,useReducer:Ol,useRef:Nl,useState:function(){return Ol(wl)},useDebugValue:Bl,useDeferredValue:function(e){var t=vl();return null===ul?t.memoizedState=e:Ul(t,ul.memoizedState,e)},useTransition:function(){return[Ol(wl)[0],vl().memoizedState]},useMutableSource:kl,useSyncExternalStore:Cl,useId:$l,unstable_isNewReconciler:!1};function ri(e,t){if(e&&e.defaultProps){for(var r in t=z({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function ni(e,t,r,n){r=null===(r=r(n,t=e.memoizedState))||void 0===r?t:z({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var oi={isMounted:function(e){return!!(e=e._reactInternals)&&We(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=es(),o=ts(e),a=Da(n,o);a.payload=t,void 0!==r&&null!==r&&(a.callback=r),null!==(t=Va(e,a,o))&&(rs(t,e,o,n),Ba(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=es(),o=ts(e),a=Da(n,o);a.tag=1,a.payload=t,void 0!==r&&null!==r&&(a.callback=r),null!==(t=Va(e,a,o))&&(rs(t,e,o,n),Ba(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=es(),n=ts(e),o=Da(r,n);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Va(e,o,n))&&(rs(t,e,n,r),Ba(t,e,n))}};function ai(e,t,r,n,o,a,l){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,a,l):!t.prototype||!t.prototype.isPureReactComponent||(!un(r,n)||!un(o,a))}function li(e,t,r){var n=!1,o=So,a=t.contextType;return"object"===typeof a&&null!==a?a=Ma(a):(o=Ro(t)?Mo:_o.current,a=(n=null!==(n=t.contextTypes)&&void 0!==n)?No(e,o):So),t=new t(r,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=oi,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function ii(e,t,r,n){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&oi.enqueueReplaceState(t,t.state,null)}function ui(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},za(e);var a=t.contextType;"object"===typeof a&&null!==a?o.context=Ma(a):(a=Ro(t)?Mo:_o.current,o.context=No(e,a)),o.state=e.memoizedState,"function"===typeof(a=t.getDerivedStateFromProps)&&(ni(e,t,a,r),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&oi.enqueueReplaceState(o,o.state,null),Ha(e,r,o,n),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function si(e,t){try{var r="",n=t;do{r+=B(n),n=n.return}while(n);var o=r}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:o,digest:null}}function ci(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function di(e,t){try{console.error(t.value)}catch(r){setTimeout((function(){throw r}))}}var fi="function"===typeof WeakMap?WeakMap:Map;function pi(e,t,r){(r=Da(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Uu||(Uu=!0,qu=n),di(0,t)},r}function bi(e,t,r){(r=Da(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"===typeof n){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){di(0,t)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(r.callback=function(){di(0,t),"function"!==typeof n&&(null===$u?$u=new Set([this]):$u.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function gi(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new fi;var o=new Set;n.set(t,o)}else void 0===(o=n.get(t))&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=Ps.bind(null,e,t,r),t.then(e,e))}function hi(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function mi(e,t,r,n,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=Da(-1,1)).tag=2,Va(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var yi=w.ReactCurrentOwner,vi=!1;function wi(e,t,r,n){t.child=null===e?Oa(t,null,r,n):xa(t,e.child,r,n)}function xi(e,t,r,n,o){r=r.render;var a=t.ref;return Ea(t,o),n=hl(e,t,r,n,a,o),r=ml(),null===e||vi?(aa&&r&&ta(t),t.flags|=1,wi(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ui(e,t,o))}function Oi(e,t,r,n,o){if(null===e){var a=r.type;return"function"!==typeof a||Ns(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=As(r.type,null,n,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ki(e,t,a,n,o))}if(a=e.child,0===(e.lanes&o)){var l=a.memoizedProps;if((r=null!==(r=r.compare)?r:un)(l,n)&&e.ref===t.ref)return Ui(e,t,o)}return t.flags|=1,(e=Rs(a,n)).ref=t.ref,e.return=t,t.child=e}function ki(e,t,r,n,o){if(null!==e){var a=e.memoizedProps;if(un(a,n)&&e.ref===t.ref){if(vi=!1,t.pendingProps=n=a,0===(e.lanes&o))return t.lanes=e.lanes,Ui(e,t,o);0!==(131072&e.flags)&&(vi=!0)}}return Ti(e,t,r,n,o)}function Ci(e,t,r){var n=t.pendingProps,o=n.children,a=null!==e?e.memoizedState:null;if("hidden"===n.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},jo(Ru,Nu),Nu|=r;else{if(0===(1073741824&r))return e=null!==a?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,jo(Ru,Nu),Nu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==a?a.baseLanes:r,jo(Ru,Nu),Nu|=n}else null!==a?(n=a.baseLanes|r,t.memoizedState=null):n=r,jo(Ru,Nu),Nu|=n;return wi(e,t,o,r),t.child}function Pi(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Ti(e,t,r,n,o){var a=Ro(r)?Mo:_o.current;return a=No(t,a),Ea(t,o),r=hl(e,t,r,n,a,o),n=ml(),null===e||vi?(aa&&n&&ta(t),t.flags|=1,wi(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ui(e,t,o))}function ji(e,t,r,n,o){if(Ro(r)){var a=!0;zo(t)}else a=!1;if(Ea(t,o),null===t.stateNode)Hi(e,t),li(t,r,n),ui(t,r,n,o),n=!0;else if(null===e){var l=t.stateNode,i=t.memoizedProps;l.props=i;var u=l.context,s=r.contextType;"object"===typeof s&&null!==s?s=Ma(s):s=No(t,s=Ro(r)?Mo:_o.current);var c=r.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof l.getSnapshotBeforeUpdate;d||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(i!==n||u!==s)&&ii(t,l,n,s),La=!1;var f=t.memoizedState;l.state=f,Ha(t,n,l,o),u=t.memoizedState,i!==n||f!==u||Eo.current||La?("function"===typeof c&&(ni(t,r,c,n),u=t.memoizedState),(i=La||ai(t,r,i,n,f,u,s))?(d||"function"!==typeof l.UNSAFE_componentWillMount&&"function"!==typeof l.componentWillMount||("function"===typeof l.componentWillMount&&l.componentWillMount(),"function"===typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"===typeof l.componentDidMount&&(t.flags|=4194308)):("function"===typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=u),l.props=n,l.state=u,l.context=s,n=i):("function"===typeof l.componentDidMount&&(t.flags|=4194308),n=!1)}else{l=t.stateNode,Fa(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:ri(t.type,i),l.props=s,d=t.pendingProps,f=l.context,"object"===typeof(u=r.contextType)&&null!==u?u=Ma(u):u=No(t,u=Ro(r)?Mo:_o.current);var p=r.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof l.getSnapshotBeforeUpdate)||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(i!==d||f!==u)&&ii(t,l,n,u),La=!1,f=t.memoizedState,l.state=f,Ha(t,n,l,o);var b=t.memoizedState;i!==d||f!==b||Eo.current||La?("function"===typeof p&&(ni(t,r,p,n),b=t.memoizedState),(s=La||ai(t,r,s,n,f,b,u)||!1)?(c||"function"!==typeof l.UNSAFE_componentWillUpdate&&"function"!==typeof l.componentWillUpdate||("function"===typeof l.componentWillUpdate&&l.componentWillUpdate(n,b,u),"function"===typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(n,b,u)),"function"===typeof l.componentDidUpdate&&(t.flags|=4),"function"===typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof l.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=b),l.props=n,l.state=b,l.context=u,n=s):("function"!==typeof l.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),n=!1)}return Si(e,t,r,n,a,o)}function Si(e,t,r,n,o,a){Pi(e,t);var l=0!==(128&t.flags);if(!n&&!l)return o&&Fo(t,r,!1),Ui(e,t,a);n=t.stateNode,yi.current=t;var i=l&&"function"!==typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&l?(t.child=xa(t,e.child,null,a),t.child=xa(t,null,i,a)):wi(e,t,i,a),t.memoizedState=n.state,o&&Fo(t,r,!0),t.child}function _i(e){var t=e.stateNode;t.pendingContext?Io(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Io(0,t.context,!1),Xa(e,t.containerInfo)}function Ei(e,t,r,n,o){return ba(),ga(o),t.flags|=256,wi(e,t,r,n),t.child}var Mi,Ni,Ri,Ai,Ii={dehydrated:null,treeContext:null,retryLane:0};function Li(e){return{baseLanes:e,cachePool:null,transitions:null}}function zi(e,t,r){var n,o=t.pendingProps,l=el.current,i=!1,u=0!==(128&t.flags);if((n=u)||(n=(null===e||null!==e.memoizedState)&&0!==(2&l)),n?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(l|=1),jo(el,1&l),null===e)return ca(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=o.children,e=o.fallback,i?(o=t.mode,i=t.child,u={mode:"hidden",children:u},0===(1&o)&&null!==i?(i.childLanes=0,i.pendingProps=u):i=Ls(u,o,0,null),e=Is(e,o,r,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Li(r),t.memoizedState=Ii,e):Fi(t,u));if(null!==(l=e.memoizedState)&&null!==(n=l.dehydrated))return function(e,t,r,n,o,l,i){if(r)return 256&t.flags?(t.flags&=-257,Di(e,t,i,n=ci(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(l=n.fallback,o=t.mode,n=Ls({mode:"visible",children:n.children},o,0,null),(l=Is(l,o,i,null)).flags|=2,n.return=t,l.return=t,n.sibling=l,t.child=n,0!==(1&t.mode)&&xa(t,e.child,null,i),t.child.memoizedState=Li(i),t.memoizedState=Ii,l);if(0===(1&t.mode))return Di(e,t,i,null);if("$!"===o.data){if(n=o.nextSibling&&o.nextSibling.dataset)var u=n.dgst;return n=u,Di(e,t,i,n=ci(l=Error(a(419)),n,void 0))}if(u=0!==(i&e.childLanes),vi||u){if(null!==(n=_u)){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(n.suspendedLanes|i))?0:o)&&o!==l.retryLane&&(l.retryLane=o,Ia(e,o),rs(n,e,o,-1))}return gs(),Di(e,t,i,n=ci(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=js.bind(null,e),o._reactRetry=t,null):(e=l.treeContext,oa=so(o.nextSibling),na=t,aa=!0,la=null,null!==e&&(Go[Yo++]=Qo,Go[Yo++]=Zo,Go[Yo++]=Xo,Qo=e.id,Zo=e.overflow,Xo=t),t=Fi(t,n.children),t.flags|=4096,t)}(e,t,u,o,n,l,r);if(i){i=o.fallback,u=t.mode,n=(l=e.child).sibling;var s={mode:"hidden",children:o.children};return 0===(1&u)&&t.child!==l?((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null):(o=Rs(l,s)).subtreeFlags=14680064&l.subtreeFlags,null!==n?i=Rs(n,i):(i=Is(i,u,r,null)).flags|=2,i.return=t,o.return=t,o.sibling=i,t.child=o,o=i,i=t.child,u=null===(u=e.child.memoizedState)?Li(r):{baseLanes:u.baseLanes|r,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~r,t.memoizedState=Ii,o}return e=(i=e.child).sibling,o=Rs(i,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=r),o.return=t,o.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function Fi(e,t){return(t=Ls({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Di(e,t,r,n){return null!==n&&ga(n),xa(t,e.child,null,r),(e=Fi(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Vi(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),_a(e.return,t,r)}function Bi(e,t,r,n,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=o)}function Wi(e,t,r){var n=t.pendingProps,o=n.revealOrder,a=n.tail;if(wi(e,t,n.children,r),0!==(2&(n=el.current)))n=1&n|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Vi(e,r,t);else if(19===e.tag)Vi(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(jo(el,n),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;null!==r;)null!==(e=r.alternate)&&null===tl(e)&&(o=r),r=r.sibling;null===(r=o)?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),Bi(t,!1,o,r,a);break;case"backwards":for(r=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===tl(e)){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}Bi(t,!0,r,null,a);break;case"together":Bi(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hi(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ui(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Lu|=t.lanes,0===(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(r=Rs(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Rs(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function qi(e,t){if(!aa)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function $i(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=14680064&o.subtreeFlags,n|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function Ki(e,t,r){var n=t.pendingProps;switch(ra(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $i(t),null;case 1:case 17:return Ro(t.type)&&Ao(),$i(t),null;case 3:return n=t.stateNode,Qa(),To(Eo),To(_o),nl(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(fa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==la&&(ls(la),la=null))),Ni(e,t),$i(t),null;case 5:Ja(t);var o=Ya(Ga.current);if(r=t.type,null!==e&&null!=t.stateNode)Ri(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error(a(166));return $i(t),null}if(e=Ya($a.current),fa(t)){n=t.stateNode,r=t.type;var l=t.memoizedProps;switch(n[po]=t,n[bo]=l,e=0!==(1&t.mode),r){case"dialog":Dn("cancel",n),Dn("close",n);break;case"iframe":case"object":case"embed":Dn("load",n);break;case"video":case"audio":for(o=0;o <\/script>",e=e.removeChild(e.firstChild)):"string"===typeof n.is?e=u.createElement(r,{is:n.is}):(e=u.createElement(r),"select"===r&&(u=e,n.multiple?u.multiple=!0:n.size&&(u.size=n.size))):e=u.createElementNS(e,r),e[po]=t,e[bo]=n,Mi(e,t,!1,!1),t.stateNode=e;e:{switch(u=ve(r,n),r){case"dialog":Dn("cancel",e),Dn("close",e),o=n;break;case"iframe":case"object":case"embed":Dn("load",e),o=n;break;case"video":case"audio":for(o=0;o Wu&&(t.flags|=128,n=!0,qi(l,!1),t.lanes=4194304)}else{if(!n)if(null!==(e=tl(u))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),qi(l,!0),null===l.tail&&"hidden"===l.tailMode&&!u.alternate&&!aa)return $i(t),null}else 2*Qe()-l.renderingStartTime>Wu&&1073741824!==r&&(t.flags|=128,n=!0,qi(l,!1),t.lanes=4194304);l.isBackwards?(u.sibling=t.child,t.child=u):(null!==(r=l.last)?r.sibling=u:t.child=u,l.last=u)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Qe(),t.sibling=null,r=el.current,jo(el,n?1&r|2:1&r),t):($i(t),null);case 22:case 23:return ds(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&0!==(1&t.mode)?0!==(1073741824&Nu)&&($i(t),6&t.subtreeFlags&&(t.flags|=8192)):$i(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Gi(e,t){switch(ra(t),t.tag){case 1:return Ro(t.type)&&Ao(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Qa(),To(Eo),To(_o),nl(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ja(t),null;case 13:if(To(el),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ba()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return To(el),null;case 4:return Qa(),null;case 10:return Sa(t.type._context),null;case 22:case 23:return ds(),null;default:return null}}Mi=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ni=function(){},Ri=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Ya($a.current);var a,l=null;switch(r){case"input":o=Y(e,o),n=Y(e,n),l=[];break;case"select":o=z({},o,{value:void 0}),n=z({},n,{value:void 0}),l=[];break;case"textarea":o=ne(e,o),n=ne(e,n),l=[];break;default:"function"!==typeof o.onClick&&"function"===typeof n.onClick&&(e.onclick=Jn)}for(c in ye(r,n),r=null,o)if(!n.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var u=o[c];for(a in u)u.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(i.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in n){var s=n[c];if(u=null!=o?o[c]:void 0,n.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(a in u)!u.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in s)s.hasOwnProperty(a)&&u[a]!==s[a]&&(r||(r={}),r[a]=s[a])}else r||(l||(l=[]),l.push(c,r)),r=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(l=l||[]).push(c,s)):"children"===c?"string"!==typeof s&&"number"!==typeof s||(l=l||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(i.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Dn("scroll",e),l||u===s||(l=[])):(l=l||[]).push(c,s))}r&&(l=l||[]).push("style",r);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},Ai=function(e,t,r,n){r!==n&&(t.flags|=4)};var Yi=!1,Xi=!1,Qi="function"===typeof WeakSet?WeakSet:Set,Zi=null;function Ji(e,t){var r=e.ref;if(null!==r)if("function"===typeof r)try{r(null)}catch(n){Cs(e,t,n)}else r.current=null}function eu(e,t,r){try{r()}catch(n){Cs(e,t,n)}}var tu=!1;function ru(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&eu(t,r,a)}o=o.next}while(o!==n)}}function nu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function ou(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"===typeof t?t(e):t.current=e}}function au(e){var t=e.alternate;null!==t&&(e.alternate=null,au(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[bo],delete t[ho],delete t[mo],delete t[yo])),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 lu(e){return 5===e.tag||3===e.tag||4===e.tag}function iu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||lu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function uu(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!==(r=r._reactRootContainer)&&void 0!==r||null!==t.onclick||(t.onclick=Jn));else if(4!==n&&null!==(e=e.child))for(uu(e,t,r),e=e.sibling;null!==e;)uu(e,t,r),e=e.sibling}function su(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(su(e,t,r),e=e.sibling;null!==e;)su(e,t,r),e=e.sibling}var cu=null,du=!1;function fu(e,t,r){for(r=r.child;null!==r;)pu(e,t,r),r=r.sibling}function pu(e,t,r){if(at&&"function"===typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,r)}catch(i){}switch(r.tag){case 5:Xi||Ji(r,t);case 6:var n=cu,o=du;cu=null,fu(e,t,r),du=o,null!==(cu=n)&&(du?(e=cu,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):cu.removeChild(r.stateNode));break;case 18:null!==cu&&(du?(e=cu,r=r.stateNode,8===e.nodeType?uo(e.parentNode,r):1===e.nodeType&&uo(e,r),Wt(e)):uo(cu,r.stateNode));break;case 4:n=cu,o=du,cu=r.stateNode.containerInfo,du=!0,fu(e,t,r),cu=n,du=o;break;case 0:case 11:case 14:case 15:if(!Xi&&(null!==(n=r.updateQueue)&&null!==(n=n.lastEffect))){o=n=n.next;do{var a=o,l=a.destroy;a=a.tag,void 0!==l&&(0!==(2&a)||0!==(4&a))&&eu(r,t,l),o=o.next}while(o!==n)}fu(e,t,r);break;case 1:if(!Xi&&(Ji(r,t),"function"===typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(i){Cs(r,t,i)}fu(e,t,r);break;case 21:fu(e,t,r);break;case 22:1&r.mode?(Xi=(n=Xi)||null!==r.memoizedState,fu(e,t,r),Xi=n):fu(e,t,r);break;default:fu(e,t,r)}}function bu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new Qi),t.forEach((function(t){var n=Ss.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}function gu(e,t){var r=t.deletions;if(null!==r)for(var n=0;n o&&(o=i),n&=~l}if(n=o,10<(n=(120>(n=Qe()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Cu(n/1960))-n)){e.timeoutHandle=no(xs.bind(null,e,Vu,Hu),n);break}xs(e,Vu,Hu);break;default:throw Error(a(329))}}}return ns(e,Qe()),e.callbackNode===r?os.bind(null,e):null}function as(e,t){var r=Du;return e.current.memoizedState.isDehydrated&&(fs(e,t).flags|=256),2!==(e=hs(e,t))&&(t=Vu,Vu=r,null!==t&&ls(t)),e}function ls(e){null===Vu?Vu=e:Vu.push.apply(Vu,e)}function is(e,t){for(t&=~Fu,t&=~zu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0 e?16:e,null===Gu)var n=!1;else{if(e=Gu,Gu=null,Yu=0,0!==(6&Su))throw Error(a(331));var o=Su;for(Su|=4,Zi=e.current;null!==Zi;){var l=Zi,i=l.child;if(0!==(16&Zi.flags)){var u=l.deletions;if(null!==u){for(var s=0;s Qe()-Bu?fs(e,0):Fu|=r),ns(e,t)}function Ts(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var r=es();null!==(e=Ia(e,t))&&(mt(e,t,r),ns(e,r))}function js(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),Ts(e,r)}function Ss(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;null!==o&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(a(314))}null!==n&&n.delete(t),Ts(e,r)}function _s(e,t){return Ke(e,t)}function Es(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ms(e,t,r,n){return new Es(e,t,r,n)}function Ns(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rs(e,t){var r=e.alternate;return null===r?((r=Ms(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function As(e,t,r,n,o,l){var i=2;if(n=e,"function"===typeof e)Ns(e)&&(i=1);else if("string"===typeof e)i=5;else e:switch(e){case k:return Is(r.children,o,l,t);case C:i=8,o|=8;break;case P:return(e=Ms(12,r,t,2|o)).elementType=P,e.lanes=l,e;case _:return(e=Ms(13,r,t,o)).elementType=_,e.lanes=l,e;case E:return(e=Ms(19,r,t,o)).elementType=E,e.lanes=l,e;case R:return Ls(r,o,l,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case T:i=10;break e;case j:i=9;break e;case S:i=11;break e;case M:i=14;break e;case N:i=16,n=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Ms(i,r,t,o)).elementType=e,t.type=n,t.lanes=l,t}function Is(e,t,r,n){return(e=Ms(7,e,n,t)).lanes=r,e}function Ls(e,t,r,n){return(e=Ms(22,e,n,t)).elementType=R,e.lanes=r,e.stateNode={isHidden:!1},e}function zs(e,t,r){return(e=Ms(6,e,null,t)).lanes=r,e}function Fs(e,t,r){return(t=Ms(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ds(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ht(0),this.expirationTimes=ht(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ht(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Vs(e,t,r,n,o,a,l,i,u){return e=new Ds(e,t,r,i,u),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Ms(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},za(a),e}function Bs(e){if(!e)return So;e:{if(We(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ro(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var r=e.type;if(Ro(r))return Lo(e,r,t)}return t}function Ws(e,t,r,n,o,a,l,i,u){return(e=Vs(r,n,!0,e,0,a,0,i,u)).context=Bs(null),r=e.current,(a=Da(n=es(),o=ts(r))).callback=void 0!==t&&null!==t?t:null,Va(r,a,o),e.current.lanes=o,mt(e,o,n),ns(e,n),e}function Hs(e,t,r,n){var o=t.current,a=es(),l=ts(o);return r=Bs(r),null===t.context?t.context=r:t.pendingContext=r,(t=Da(a,l)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=Va(o,t,l))&&(rs(e,o,l,a),Ba(e,o,l)),l}function Us(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qs(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r {"use strict";var n=r(7950);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},7950:(e,t,r)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=r(2730)},1153:(e,t,r)=>{"use strict";var n=r(5043),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var n,a={},s=null,c=null;for(n in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)l.call(t,n)&&!u.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:o,type:e,key:s,ref:c,props:a,_owner:i.current}}t.Fragment=a,t.jsx=s,t.jsxs=s},4202:(e,t)=>{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,h={};function m(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||b}function y(){}function v(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||b}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=m.prototype;var w=v.prototype=new y;w.constructor=v,g(w,m.prototype),w.isPureReactComponent=!0;var x=Array.isArray,O=Object.prototype.hasOwnProperty,k={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,n){var o,a={},l=null,i=null;if(null!=t)for(o in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(l=""+t.key),t)O.call(t,o)&&!C.hasOwnProperty(o)&&(a[o]=t[o]);var u=arguments.length-2;if(1===u)a.children=n;else if(1{"use strict";e.exports=r(4202)},579:(e,t,r)=>{"use strict";e.exports=r(1153)},7234:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0 >>1,o=e[n];if(!(0>>1;n a(u,r))s a(c,u)?(e[n]=c,e[s]=r,n=s):(e[n]=u,e[i]=r,n=i);else{if(!(s a(c,r)))break e;e[n]=c,e[s]=r,n=s}}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;t.unstable_now=function(){return l.now()}}else{var i=Date,u=i.now();t.unstable_now=function(){return i.now()-u}}var s=[],c=[],d=1,f=null,p=3,b=!1,g=!1,h=!1,m="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,v="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=n(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,r(s,t)}t=n(c)}}function x(e){if(h=!1,w(e),!g)if(null!==n(s))g=!0,R(O);else{var t=n(c);null!==t&&A(x,t.startTime-e)}}function O(e,r){g=!1,h&&(h=!1,y(T),T=-1),b=!0;var a=p;try{for(w(r),f=n(s);null!==f&&(!(f.expirationTime>r)||e&&!_());){var l=f.callback;if("function"===typeof l){f.callback=null,p=f.priorityLevel;var i=l(f.expirationTime<=r);r=t.unstable_now(),"function"===typeof i?f.callback=i:f===n(s)&&o(s),w(r)}else o(s);f=n(s)}if(null!==f)var u=!0;else{var d=n(c);null!==d&&A(x,d.startTime-r),u=!1}return u}finally{f=null,p=a,b=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,C=!1,P=null,T=-1,j=5,S=-1;function _(){return!(t.unstable_now()-S e||125 l?(e.sortIndex=a,r(c,e),null===n(s)&&e===n(c)&&(h?(y(T),T=-1):h=!0,A(x,a-l))):(e.sortIndex=i,r(s,e),g||b||(g=!0,R(O))),e},t.unstable_shouldYield=_,t.unstable_wrapCallback=function(e){var t=p;return function(){var r=p;p=t;try{return e.apply(this,arguments)}finally{p=r}}}},8853:(e,t,r)=>{"use strict";e.exports=r(7234)},614:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(e,t)=>r=>Math.max(Math.min(r,t),e),n=e=>e%1?Number(e.toFixed(5)):e,o=/(-)?([\d]*\.?[\d])+/g,a=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,l=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function i(e){return"string"===typeof e}const u={test:e=>"number"===typeof e,parse:parseFloat,transform:e=>e},s=Object.assign(Object.assign({},u),{transform:r(0,1)}),c=Object.assign(Object.assign({},u),{default:1}),d=e=>({test:t=>i(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),f=d("deg"),p=d("%"),b=d("px"),g=d("vh"),h=d("vw"),m=Object.assign(Object.assign({},p),{parse:e=>p.parse(e)/100,transform:e=>p.transform(100*e)}),y=(e,t)=>r=>Boolean(i(r)&&l.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),v=(e,t,r)=>n=>{if(!i(n))return n;const[a,l,u,s]=n.match(o);return{[e]:parseFloat(a),[t]:parseFloat(l),[r]:parseFloat(u),alpha:void 0!==s?parseFloat(s):1}},w={test:y("hsl","hue"),parse:v("hue","saturation","lightness"),transform:e=>{let{hue:t,saturation:r,lightness:o,alpha:a=1}=e;return"hsla("+Math.round(t)+", "+p.transform(n(r))+", "+p.transform(n(o))+", "+n(s.transform(a))+")"}},x=r(0,255),O=Object.assign(Object.assign({},u),{transform:e=>Math.round(x(e))}),k={test:y("rgb","red"),parse:v("red","green","blue"),transform:e=>{let{red:t,green:r,blue:o,alpha:a=1}=e;return"rgba("+O.transform(t)+", "+O.transform(r)+", "+O.transform(o)+", "+n(s.transform(a))+")"}};const C={test:y("#"),parse:function(e){let t="",r="",n="",o="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),o=e.substr(4,1),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:k.transform},P={test:e=>k.test(e)||C.test(e)||w.test(e),parse:e=>k.test(e)?k.parse(e):w.test(e)?w.parse(e):C.parse(e),transform:e=>i(e)?e:e.hasOwnProperty("red")?k.transform(e):w.transform(e)},T="${c}",j="${n}";function S(e){"number"===typeof e&&(e=`${e}`);const t=[];let r=0;const n=e.match(a);n&&(r=n.length,e=e.replace(a,T),t.push(...n.map(P.parse)));const l=e.match(o);return l&&(e=e.replace(o,j),t.push(...l.map(u.parse))),{values:t,numColors:r,tokenised:e}}function _(e){return S(e).values}function E(e){const{values:t,numColors:r,tokenised:o}=S(e),a=t.length;return e=>{let t=o;for(let o=0;o"number"===typeof e?0:e;const N={test:function(e){var t,r,n,l;return isNaN(e)&&i(e)&&(null!==(r=null===(t=e.match(o))||void 0===t?void 0:t.length)&&void 0!==r?r:0)+(null!==(l=null===(n=e.match(a))||void 0===n?void 0:n.length)&&void 0!==l?l:0)>0},parse:_,createTransformer:E,getAnimatableNone:function(e){const t=_(e);return E(e)(t.map(M))}},R=new Set(["brightness","contrast","saturate","opacity"]);function A(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(o)||[];if(!n)return e;const a=r.replace(n,"");let l=R.has(t)?1:0;return n!==r&&(l*=100),t+"("+l+a+")"}const I=/([a-z-]*)\(.*?\)/g,L=Object.assign(Object.assign({},N),{getAnimatableNone:e=>{const t=e.match(I);return t?t.map(A).join(" "):e}});t.alpha=s,t.color=P,t.complex=N,t.degrees=f,t.filter=L,t.hex=C,t.hsla=w,t.number=u,t.percent=p,t.progressPercentage=m,t.px=b,t.rgbUnit=O,t.rgba=k,t.scale=c,t.vh=g,t.vw=h},478:(e,t,r)=>{"use strict";e.exports=r(5450)},5450:(e,t)=>{"use strict";function r(){for(var e,t,r=0,o="";r e&&(t=0,n=r,r=new Map)}return{get:function(e){var t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set:function(e,t){r.has(e)?r.set(e,t):o(e,t)}}}function d(e){var t=e.separator||":";return function(e){for(var r=0,n=[],o=0,a=0;a 1?t-1:0),n=1;n {"use strict";e.exports=r.p+"static/media/BreakfastHacksprint-project.f0c11df0a71164fb2bfb.png"},2196:(e,t,r)=>{"use strict";e.exports=r.p+"static/media/MuseumOfImagination-project.f87cc8b24846557afa2e.png"},9529:(e,t,r)=>{"use strict";e.exports=r.p+"static/media/ck-logo.f77eb147723f240d6870.png"},3722:(e,t,r)=>{"use strict";e.exports=r.p+"static/media/headphones.79bd9bee61d098b3dc42.png"},6326:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__addDisposableResource:()=>A,__assign:()=>a,__asyncDelegator:()=>P,__asyncGenerator:()=>C,__asyncValues:()=>T,__await:()=>k,__awaiter:()=>b,__classPrivateFieldGet:()=>M,__classPrivateFieldIn:()=>R,__classPrivateFieldSet:()=>N,__createBinding:()=>h,__decorate:()=>i,__disposeResources:()=>L,__esDecorate:()=>s,__exportStar:()=>m,__extends:()=>o,__generator:()=>g,__importDefault:()=>E,__importStar:()=>_,__makeTemplateObject:()=>j,__metadata:()=>p,__param:()=>u,__propKey:()=>d,__read:()=>v,__rest:()=>l,__runInitializers:()=>c,__setFunctionName:()=>f,__spread:()=>w,__spreadArray:()=>O,__spreadArrays:()=>x,__values:()=>y,default:()=>z});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r =0;i--)(o=e[i])&&(l=(a<3?o(l):a>3?o(t,r,l):o(t,r))||l);return a>3&&l&&Object.defineProperty(t,r,l),l}function u(e,t){return function(r,n){t(r,n,e)}}function s(e,t,r,n,o,a){function l(e){if(void 0!==e&&"function"!==typeof e)throw new TypeError("Function expected");return e}for(var i,u=n.kind,s="getter"===u?"get":"setter"===u?"set":"value",c=!t&&e?n.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),f=!1,p=r.length-1;p>=0;p--){var b={};for(var g in n)b[g]="access"===g?{}:n[g];for(var g in n.access)b.access[g]=n.access[g];b.addInitializer=function(e){if(f)throw new TypeError("Cannot add initializers after decoration has completed");a.push(l(e||null))};var h=(0,r[p])("accessor"===u?{get:d.get,set:d.set}:d[s],b);if("accessor"===u){if(void 0===h)continue;if(null===h||"object"!==typeof h)throw new TypeError("Object expected");(i=l(h.get))&&(d.get=i),(i=l(h.set))&&(d.set=i),(i=l(h.init))&&o.unshift(i)}else(i=l(h))&&("field"===u?o.unshift(i):d[s]=i)}c&&Object.defineProperty(c,n.name,d),f=!0}function c(e,t,r){for(var n=arguments.length>2,o=0;o 0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1] =e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),l=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)l.push(n.value)}catch(i){o={error:i}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return l}function w(){for(var e=[],t=0;t 1||i(e,t)}))},t&&(n[e]=t(n[e])))}function i(e,t){try{(r=o[e](t)).value instanceof k?Promise.resolve(r.value.v).then(u,s):c(a[0][2],r)}catch(n){c(a[0][3],n)}var r}function u(e){i("next",e)}function s(e){i("throw",e)}function c(e,t){e(t),a.shift(),a.length&&i(a[0][0],a[0][1])}}function P(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:k(e[n](t)),done:!1}:o?o(t):t}:o}}function T(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=y(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function j(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function _(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&h(t,e,r);return S(t,e),t}function E(e){return e&&e.__esModule?e:{default:e}}function M(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function N(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function R(e,t){if(null===t||"object"!==typeof t&&"function"!==typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"===typeof e?t===e:e.has(t)}function A(e,t,r){if(null!==t&&void 0!==t){if("object"!==typeof t&&"function"!==typeof t)throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(o=n)}if("function"!==typeof n)throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var I="function"===typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function L(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function o(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(o);if(r.dispose){var a=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(a).then(o,(function(e){return t(e),o()}))}else n|=1}catch(l){t(l)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}const z={__extends:o,__assign:a,__rest:l,__decorate:i,__param:u,__metadata:p,__awaiter:b,__generator:g,__createBinding:h,__exportStar:m,__values:y,__read:v,__spread:w,__spreadArrays:x,__spreadArray:O,__await:k,__asyncGenerator:C,__asyncDelegator:P,__asyncValues:T,__makeTemplateObject:j,__importStar:_,__importDefault:E,__classPrivateFieldGet:M,__classPrivateFieldSet:N,__classPrivateFieldIn:R,__addDisposableResource:A,__disposeResources:L}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"===typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"===typeof n.then)return n}var a=Object.create(null);r.r(a);var l={};e=e||[null,t({}),t([]),t(t)];for(var i=2&o&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>l[e]=()=>n[e]));return l.default=()=>n,r.d(a,l),a}})(),r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",(()=>{"use strict";var e,t=r(5043),n=r.t(t,2),o=r(4391),a=r(7950),l=r.t(a,2);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t =0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function g(t,r,n,o){void 0===o&&(o={});let{window:a=document.defaultView,v5Compat:l=!1}=o,c=a.history,b=e.Pop,g=null,h=m();function m(){return(c.state||{idx:null}).idx}function y(){b=e.Pop;let t=m(),r=null==t?null:t-h;h=t,g&&g({action:b,location:w.location,delta:r})}function v(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,r="string"===typeof e?e:p(e);return r=r.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==h&&(h=0,c.replaceState(i({},c.state,{idx:h}),""));let w={get action(){return b},get location(){return t(a,c)},listen(e){if(g)throw new Error("A history only accepts one active listener");return a.addEventListener(u,y),g=e,()=>{a.removeEventListener(u,y),g=null}},createHref:e=>r(a,e),createURL:v,encodeLocation(e){let t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(t,r){b=e.Push;let o=f(w.location,t,r);n&&n(o,t),h=m()+1;let i=d(o,h),u=w.createHref(o);try{c.pushState(i,"",u)}catch(s){if(s instanceof DOMException&&"DataCloneError"===s.name)throw s;a.location.assign(u)}l&&g&&g({action:b,location:w.location,delta:1})},replace:function(t,r){b=e.Replace;let o=f(w.location,t,r);n&&n(o,t),h=m();let a=d(o,h),i=w.createHref(o);c.replaceState(a,"",i),l&&g&&g({action:b,location:w.location,delta:0})},go:e=>c.go(e)};return w}var h;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function m(e,t,r){return void 0===r&&(r="/"),y(e,t,r,!1)}function y(e,t,r,n){let o=N(("string"===typeof t?b(t):t).pathname||"/",r);if(null==o)return null;let a=v(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let l=null;for(let i=0;null==l&&i {let l={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};l.relativePath.startsWith("/")&&(s(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),l.relativePath=l.relativePath.slice(n.length));let i=z([n,l.relativePath]),u=r.concat(l);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),v(e.children,t,u,i)),(null!=e.path||e.index)&&t.push({path:i,score:S(i,e.index),routesMeta:u})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let n of w(e.path))o(e,t,n);else o(e,t)})),t}function w(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===n.length)return o?[a,""]:[a];let l=w(n.join("/")),i=[];return i.push(...l.map((e=>""===e?a:[a,e].join("/")))),o&&i.push(...l),i.map((t=>e.startsWith("/")&&""===t?"/":t))}const x=/^:[\w-]+$/,O=3,k=2,C=1,P=10,T=-2,j=e=>"*"===e;function S(e,t){let r=e.split("/"),n=r.length;return r.some(j)&&(n+=T),t&&(n+=k),r.filter((e=>!j(e))).reduce(((e,t)=>e+(x.test(t)?O:""===t?C:P)),n)}function _(e,t,r){void 0===r&&(r=!1);let{routesMeta:n}=e,o={},a="/",l=[];for(let i=0;i (n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(n.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");let a=new RegExp(o,t?void 0:"i");return[a,n]}(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let a=o[0],l=a.replace(/(.)\/+$/,"$1"),i=o.slice(1);return{params:n.reduce(((e,t,r)=>{let{paramName:n,isOptional:o}=t;if("*"===n){let e=i[r]||"";l=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const u=i[r];return e[n]=o&&!u?void 0:(u||"").replace(/%2F/g,"/"),e}),{}),pathname:a,pathnameBase:l,pattern:e}}function M(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return c(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function N(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function R(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function A(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function I(e,t){let r=A(e);return t?r.map(((e,t)=>t===r.length-1?e.pathname:e.pathnameBase)):r.map((e=>e.pathnameBase))}function L(e,t,r,n){let o;void 0===n&&(n=!1),"string"===typeof e?o=b(e):(o=i({},e),s(!o.pathname||!o.pathname.includes("?"),R("?","pathname","search",o)),s(!o.pathname||!o.pathname.includes("#"),R("#","pathname","hash",o)),s(!o.search||!o.search.includes("#"),R("#","search","hash",o)));let a,l=""===e||""===o.pathname,u=l?"/":o.pathname;if(null==u)a=r;else{let e=t.length-1;if(!n&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let c=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:o=""}="string"===typeof e?b(e):e,a=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:a,search:D(n),hash:V(o)}}(o,a),d=u&&"/"!==u&&u.endsWith("/"),f=(l||"."===u)&&r.endsWith("/");return c.pathname.endsWith("/")||!d&&!f||(c.pathname+="/"),c}const z=e=>e.join("/").replace(/\/\/+/g,"/"),F=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),D=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",V=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;function B(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const W=["post","put","patch","delete"],H=(new Set(W),["get",...W]);new Set(H),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t {n.current=!0})),t.useCallback((function(t,o){void 0===o&&(o={}),n.current&&("number"===typeof t?e.navigate(t):e.navigate(t,U({fromRouteId:r},o)))}),[e,r])}():function(){Q()||s(!1);let e=t.useContext(q),{basename:r,future:n,navigator:o}=t.useContext(K),{matches:a}=t.useContext(Y),{pathname:l}=Z(),i=JSON.stringify(I(a,n.v7_relativeSplatPath)),u=t.useRef(!1);return J((()=>{u.current=!0})),t.useCallback((function(t,n){if(void 0===n&&(n={}),!u.current)return;if("number"===typeof t)return void o.go(t);let a=L(t,JSON.parse(i),l,"path"===n.relative);null==e&&"/"!==r&&(a.pathname="/"===a.pathname?r:z([r,a.pathname])),(n.replace?o.replace:o.push)(a,n.state,n)}),[r,o,i,l,e])}()}function te(e,r){let{relative:n}=void 0===r?{}:r,{future:o}=t.useContext(K),{matches:a}=t.useContext(Y),{pathname:l}=Z(),i=JSON.stringify(I(a,o.v7_relativeSplatPath));return t.useMemo((()=>L(e,JSON.parse(i),l,"path"===n)),[e,i,l,n])}function re(r,n,o,a){Q()||s(!1);let{navigator:l}=t.useContext(K),{matches:i}=t.useContext(Y),u=i[i.length-1],c=u?u.params:{},d=(u&&u.pathname,u?u.pathnameBase:"/");u&&u.route;let f,p=Z();if(n){var g;let e="string"===typeof n?b(n):n;"/"===d||(null==(g=e.pathname)?void 0:g.startsWith(d))||s(!1),f=e}else f=p;let h=f.pathname||"/",y=h;if("/"!==d){let e=d.replace(/^\//,"").split("/");y="/"+h.replace(/^\//,"").split("/").slice(e.length).join("/")}let v=m(r,{pathname:y});let w=ie(v&&v.map((e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:z([d,l.encodeLocation?l.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:z([d,l.encodeLocation?l.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),i,o,a);return n&&w?t.createElement(G.Provider,{value:{location:U({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:e.Pop}},w):w}function ne(){let e=function(){var e;let r=t.useContext(X),n=de(se.UseRouteError),o=fe(se.UseRouteError);if(void 0!==r)return r;return null==(e=n.errors)?void 0:e[o]}(),r=B(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:o};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},r),n?t.createElement("pre",{style:a},n):null,null)}const oe=t.createElement(ne,null);class ae extends t.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?t.createElement(Y.Provider,{value:this.props.routeContext},t.createElement(X.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function le(e){let{routeContext:r,match:n,children:o}=e,a=t.useContext(q);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),t.createElement(Y.Provider,{value:r},o)}function ie(e,r,n,o){var a;if(void 0===r&&(r=[]),void 0===n&&(n=null),void 0===o&&(o=null),null==e){var l;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(l=o)&&l.v7_partialHydration&&0===r.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let i=e,u=null==(a=n)?void 0:a.errors;if(null!=u){let e=i.findIndex((e=>e.route.id&&void 0!==(null==u?void 0:u[e.route.id])));e>=0||s(!1),i=i.slice(0,Math.min(i.length,e+1))}let c=!1,d=-1;if(n&&o&&o.v7_partialHydration)for(let t=0;t =0?i.slice(0,d+1):[i[0]];break}}}return i.reduceRight(((e,o,a)=>{let l,s=!1,f=null,p=null;var b;n&&(l=u&&o.route.id?u[o.route.id]:void 0,f=o.route.errorElement||oe,c&&(d<0&&0===a?(b="route-fallback",!1||pe[b]||(pe[b]=!0),s=!0,p=null):d===a&&(s=!0,p=o.route.hydrateFallbackElement||null)));let g=r.concat(i.slice(0,a+1)),h=()=>{let r;return r=l?f:s?p:o.route.Component?t.createElement(o.route.Component,null):o.route.element?o.route.element:e,t.createElement(le,{match:o,routeContext:{outlet:e,matches:g,isDataRoute:null!=n},children:r})};return n&&(o.route.ErrorBoundary||o.route.errorElement||0===a)?t.createElement(ae,{location:n.location,revalidation:n.revalidation,component:f,error:l,children:h(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):h()}),null)}var ue=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ue||{}),se=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(se||{});function ce(e){let r=t.useContext(q);return r||s(!1),r}function de(e){let r=t.useContext($);return r||s(!1),r}function fe(e){let r=function(){let e=t.useContext(Y);return e||s(!1),e}(),n=r.matches[r.matches.length-1];return n.route.id||s(!1),n.route.id}const pe={};n.startTransition;function be(e){s(!1)}function ge(r){let{basename:n="/",children:o=null,location:a,navigationType:l=e.Pop,navigator:i,static:u=!1,future:c}=r;Q()&&s(!1);let d=n.replace(/^\/*/,"/"),f=t.useMemo((()=>({basename:d,navigator:i,static:u,future:U({v7_relativeSplatPath:!1},c)})),[d,c,i,u]);"string"===typeof a&&(a=b(a));let{pathname:p="/",search:g="",hash:h="",state:m=null,key:y="default"}=a,v=t.useMemo((()=>{let e=N(p,d);return null==e?null:{location:{pathname:e,search:g,hash:h,state:m,key:y},navigationType:l}}),[d,p,g,h,m,y,l]);return null==v?null:t.createElement(K.Provider,{value:f},t.createElement(G.Provider,{children:o,value:v}))}function he(e){let{children:t,location:r}=e;return re(me(t),r)}new Promise((()=>{}));t.Component;function me(e,r){void 0===r&&(r=[]);let n=[];return t.Children.forEach(e,((e,o)=>{if(!t.isValidElement(e))return;let a=[...r,o];if(e.type===t.Fragment)return void n.push.apply(n,me(e.props.children,a));e.type!==be&&s(!1),e.props.index&&e.props.children&&s(!1);let l={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(l.children=me(e.props.children,a)),n.push(l)})),n}function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t =0||(o[r]=e[r]);return o}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const we=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],xe=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];try{window.__reactRouterVersion="6"}catch(jt){}const Oe=t.createContext({isTransitioning:!1});new Map;const ke=n.startTransition;l.flushSync,n.useId;function Ce(e){let{basename:r,children:n,future:o,window:a}=e,l=t.useRef();var i;null==l.current&&(l.current=(void 0===(i={window:a,v5Compat:!0})&&(i={}),g((function(e,t){let{pathname:r,search:n,hash:o}=e.location;return f("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:p(t)}),null,i)));let u=l.current,[s,c]=t.useState({action:u.action,location:u.location}),{v7_startTransition:d}=o||{},b=t.useCallback((e=>{d&&ke?ke((()=>c(e))):c(e)}),[c,d]);return t.useLayoutEffect((()=>u.listen(b)),[u,b]),t.createElement(ge,{basename:r,children:n,location:s.location,navigationType:s.action,navigator:u,future:o})}const Pe="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,Te=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,je=t.forwardRef((function(e,r){let n,{onClick:o,relative:a,reloadDocument:l,replace:i,state:u,target:c,to:d,preventScrollReset:f,unstable_viewTransition:b}=e,g=ve(e,we),{basename:h}=t.useContext(K),m=!1;if("string"===typeof d&&Te.test(d)&&(n=d,Pe))try{let e=new URL(window.location.href),t=d.startsWith("//")?new URL(e.protocol+d):new URL(d),r=N(t.pathname,h);t.origin===e.origin&&null!=r?d=r+t.search+t.hash:m=!0}catch(jt){}let y=function(e,r){let{relative:n}=void 0===r?{}:r;Q()||s(!1);let{basename:o,navigator:a}=t.useContext(K),{hash:l,pathname:i,search:u}=te(e,{relative:n}),c=i;return"/"!==o&&(c="/"===i?o:z([o,i])),a.createHref({pathname:c,search:u,hash:l})}(d,{relative:a}),v=function(e,r){let{target:n,replace:o,state:a,preventScrollReset:l,relative:i,unstable_viewTransition:u}=void 0===r?{}:r,s=ee(),c=Z(),d=te(e,{relative:i});return t.useCallback((t=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,n)){t.preventDefault();let r=void 0!==o?o:p(c)===p(d);s(e,{replace:r,state:a,preventScrollReset:l,relative:i,unstable_viewTransition:u})}}),[c,s,d,o,a,n,e,l,i,u])}(d,{replace:i,state:u,target:c,preventScrollReset:f,relative:a,unstable_viewTransition:b});return t.createElement("a",ye({},g,{href:n||y,onClick:m||l?o:function(e){o&&o(e),e.defaultPrevented||v(e)},ref:r,target:c}))}));const Se=t.forwardRef((function(e,r){let{"aria-current":n="page",caseSensitive:o=!1,className:a="",end:l=!1,style:i,to:u,unstable_viewTransition:c,children:d}=e,f=ve(e,xe),p=te(u,{relative:f.relative}),b=Z(),g=t.useContext($),{navigator:h,basename:m}=t.useContext(K),y=null!=g&&function(e,r){void 0===r&&(r={});let n=t.useContext(Oe);null==n&&s(!1);let{basename:o}=Me(_e.useViewTransitionState),a=te(e,{relative:r.relative});if(!n.isTransitioning)return!1;let l=N(n.currentLocation.pathname,o)||n.currentLocation.pathname,i=N(n.nextLocation.pathname,o)||n.nextLocation.pathname;return null!=E(a.pathname,i)||null!=E(a.pathname,l)}(p)&&!0===c,v=h.encodeLocation?h.encodeLocation(p).pathname:p.pathname,w=b.pathname,x=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;o||(w=w.toLowerCase(),x=x?x.toLowerCase():null,v=v.toLowerCase()),x&&m&&(x=N(x,m)||x);const O="/"!==v&&v.endsWith("/")?v.length-1:v.length;let k,C=w===v||!l&&w.startsWith(v)&&"/"===w.charAt(O),P=null!=x&&(x===v||!l&&x.startsWith(v)&&"/"===x.charAt(v.length)),T={isActive:C,isPending:P,isTransitioning:y},j=C?n:void 0;k="function"===typeof a?a(T):[a,C?"active":null,P?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let S="function"===typeof i?i(T):i;return t.createElement(je,ye({},f,{"aria-current":j,className:k,ref:r,style:S,to:u,unstable_viewTransition:c}),"function"===typeof d?d(T):d)}));var _e,Ee;function Me(e){let r=t.useContext(q);return r||s(!1),r}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(_e||(_e={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Ee||(Ee={}));var Ne=r(2200),Re=function(){return Re=Object.assign||function(e){for(var t,r=1,n=arguments.length;r {window.addEventListener("resize",(()=>window.innerWidth>=960?r(!1):null))}),[]);const n=(0,Ue.jsxs)(Ue.Fragment,{children:[(0,Ue.jsx)(We,{smooth:!0,to:"/#home",onClick:()=>r(!1),children:(0,Ue.jsx)(Ne.Button,{variant:"text",className:"text-white text-sm border-2 border-darkcyan hover:border-plum w-full lg:w-auto px-4 py-2 transition-all",children:"\ud83c\udfe0 Home"})}),(0,Ue.jsx)(je,{to:"/blog",onClick:()=>r(!1),children:(0,Ue.jsx)(Ne.Button,{variant:"text",className:"text-white text-sm border-2 border-darkcyan hover:border-plum w-full lg:w-auto px-4 py-2 transition-all",children:"\ud83d\udc4b Blog"})}),(0,Ue.jsx)(je,{to:"/projects",onClick:()=>r(!1),children:(0,Ue.jsx)(Ne.Button,{variant:"text",className:"text-white text-sm border-2 border-darkcyan hover:border-plum w-full lg:w-auto px-4 py-2 transition-all",children:"\ud83d\uddc3\ufe0f Projects"})}),(0,Ue.jsx)(je,{to:"/resume",onClick:()=>r(!1),children:(0,Ue.jsx)(Ne.Button,{variant:"text",className:"text-white text-sm border-2 border-darkcyan hover:border-plum w-full lg:w-auto px-4 py-2 transition-all",children:"\ud83d\udcc4 Resume"})}),(0,Ue.jsx)(We,{smooth:!0,to:"/#contact",onClick:()=>r(!1),children:(0,Ue.jsx)(Ne.Button,{variant:"text",className:"text-white text-sm border-2 border-darkcyan hover:border-plum w-full lg:w-auto px-4 py-2 transition-all",children:"\ud83d\udce9 Contact Me"})})]}),o=(0,Ue.jsxs)(Ue.Fragment,{children:[(0,Ue.jsx)(We,{smooth:!0,to:"/#home",onClick:()=>r(!1),children:(0,Ue.jsx)(Ne.Button,{variant:"text",className:"text-white text-sm w-full px-1 py-1 border-l-2 border-r-2 border-darkcyan hover:border-plum transition-all",children:"\ud83c\udfe0 Home"})}),(0,Ue.jsx)(je,{to:"/blog",onClick:()=>r(!1),children:(0,Ue.jsx)(Ne.Button,{variant:"text",className:"text-white text-sm w-full px-1 py-1 border-l-2 border-r-2 border-darkcyan hover:border-plum transition-all",children:"\ud83d\udc4b Blog"})}),(0,Ue.jsx)(je,{to:"/projects",onClick:()=>r(!1),children:(0,Ue.jsx)(Ne.Button,{variant:"text",className:"text-white text-sm w-full px-1 py-1 border-l-2 border-r-2 border-darkcyan hover:border-plum transition-all",children:"\ud83d\uddc3\ufe0f Projects"})}),(0,Ue.jsx)(je,{to:"/resume",onClick:()=>r(!1),children:(0,Ue.jsx)(Ne.Button,{variant:"text",className:"text-white text-sm w-full px-1 py-1 border-l-2 border-r-2 border-darkcyan hover:border-plum transition-all",children:"\ud83d\udcc4 Resume"})}),(0,Ue.jsx)(We,{smooth:!0,to:"/#contact",onClick:()=>r(!1),children:(0,Ue.jsx)(Ne.Button,{variant:"text",className:"text-white text-sm w-full px-1 py-1 border-l-2 border-r-2 border-darkcyan hover:border-plum transition-all",children:"\ud83d\udce9 Contact Me"})})]});return(0,Ue.jsxs)(Ue.Fragment,{children:[(0,Ue.jsx)(Ne.Navbar,{id:"header",className:"fixed flex top-0 z-40 bg-midnightblue px-4 py-2 mb-4 w-full xl:w-full max-w-none",children:(0,Ue.jsxs)("div",{className:"w-full mx-auto flex items-center justify-between text-white",children:[(0,Ue.jsx)("a",{href:"/",className:"flex items-center",children:(0,Ue.jsx)("img",{id:"logo",className:"logo-img h-16 w-16",src:He,alt:"Logo"})}),(0,Ue.jsx)("div",{className:"hidden lg:flex xl:flex space-x-6",children:n}),(0,Ue.jsx)(Ne.IconButton,{variant:"text",className:"lg:hidden text-white",ripple:!1,onClick:()=>r(!e),children:(0,Ue.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:"h-6 w-6",children:(0,Ue.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"})})})]})}),e&&(0,Ue.jsx)("div",{className:"lg:hidden bg-midnightblue mt-5 bg-opacity-75 h-3/4 w-1/5 fixed top-14 left-0 z-20 transition-all duration-300 ease-in-out",children:(0,Ue.jsxs)("div",{className:"container mx-auto flex flex-col items-center space-y-8 py-12 text-center",children:[(0,Ue.jsx)(Ne.IconButton,{variant:"text",className:"absolute top-4 right-4 text-white",ripple:!1,onClick:()=>r(!1),children:(0,Ue.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:"h-6 w-6",children:(0,Ue.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}),o]})})]})}const $e=r.p+"static/media/discover-text.70cb508cd8bc1f7c7551.png",Ke=r.p+"static/media/pc-monitor.d83b34b954ab2709968c.png";function Ge(){return(0,Ue.jsx)("section",{id:"home",className:"hero pt-12 text-white",children:(0,Ue.jsxs)("div",{className:"container mx-auto my-5 py-5",children:[(0,Ue.jsxs)("div",{className:"hero-header flex mx-4 justify-center items-center space-x-8",children:[(0,Ue.jsx)("img",{className:"w-1/2 max-w-lg img-fluid",src:$e,alt:"Discover/Research/Design/Create/Deploy"}),(0,Ue.jsx)("img",{className:"w-1/2 max-w-lg img-fluid border-darkcyan",src:Ke,alt:"pc-monitor cute illustration"})]}),(0,Ue.jsx)(Ne.Typography,{variant:"h2",className:"text-center my-8",children:(0,Ue.jsx)("span",{className:"typewriter bg-clip-text text-transparent bg-gradient-to-r from-cornflowerblue via-paleturquoise to-plum",children:"A source of Inspiration. A Muse. A Vibe. Learn while Doing and Never not Try."})}),(0,Ue.jsxs)("div",{className:"flex justify-center mt-12",children:[(0,Ue.jsx)("button",{type:"button",className:"github-btn btn btn-md btn-info mx-auto",children:(0,Ue.jsx)("a",{href:"/projects",children:(0,Ue.jsx)("i",{className:"bi bi-briefcase",children:" PORTFOLIO"})})}),(0,Ue.jsx)("button",{type:"button",className:"linkedin-btn btn btn-md btn-outline-info mx-auto",children:(0,Ue.jsx)("a",{href:"/resume",target:"_blank",children:(0,Ue.jsx)("i",{className:"bi bi-file-earmark-text",children:" RESUME"})})})]})]})})}const Ye=function(e){let{imageSrc:t,title:r,content:n}=e;return(0,Ue.jsxs)("div",{className:" bg-cornflowerblue rounded-lg shadow-lg my-4 mx-auto max-w-sm lg:max-w-md p-6",children:[(0,Ue.jsx)("img",{className:"border-2 border-darkcyan w-48 h-48 rounded-full mx-auto mb-4 ",src:t,alt:r}),(0,Ue.jsxs)("div",{className:"text-center bg-white border-2 border-darkcyan p-5 rounded-lg",children:[(0,Ue.jsx)("h1",{className:"text-2xl font-bold mb-2 text-purple ",children:r}),(0,Ue.jsx)("hr",{className:"border-t-2 border-darkcyan mb-4"}),(0,Ue.jsx)("p",{className:"text-md text-midnightblue font-large",children:n})]})]})},Xe=r.p+"static/media/story.8f7a82b2a0a100542af6.png",Qe=r.p+"static/media/process2.fde37f769d18abee91a9.png",Ze=r.p+"static/media/goals.6474f42c44ea4052f5aa.png";const Je=function(){return(0,Ue.jsx)("section",{id:"about",className:"overflow-hidden text-midnightblue",children:(0,Ue.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-2 justify-center",children:[(0,Ue.jsx)(Ye,{imageSrc:Xe,title:"My Story",content:"As a full stack developer, I'm excited to bring my passion for creativity and problem-solving to every project I undertake. After spending years in the healthcare industry, I transitioned into tech with a fresh drive to create innovative solutions and continuously expand my knowledge.",cardClass:"animate__animated animate__fadeInUp animate__delay-2s w-1/2"}),(0,Ue.jsx)(Ye,{imageSrc:Qe,title:"My Process",content:"I aim to work closely with clients to fully understand their unique needs and preferences, ensuring each project reflects their vision. By fostering open communication and collaboration, I can deliver high-quality, custom solutions that align with client goals and expectations.",cardClass:"w-1/2 animate__animated animate__fadeInUp animate__delay-3s"}),(0,Ue.jsx)("div",{className:"md:col-span-2 flex justify-center",children:(0,Ue.jsx)(Ye,{imageSrc:Ze,title:"My Goals",content:"I\u2019m dedicated to growing as a developer and continuously refining my skills. My focus is on building intuitive, user-friendly websites, designing engaging interfaces, and solving real-world challenges for businesses and individuals. ",cardClass:"w-3/4 animate__animated animate__fadeInUp animate__delay-4s"})})]})})};const et=function(){return(0,Ue.jsx)("section",{id:"tech-tools my-5 pt-5 mx-auto",children:(0,Ue.jsxs)("div",{class:"skill-icons container mt-5",children:[(0,Ue.jsx)("h1",{class:"text-center text-2xl font-outfitBold mt-3",children:"Technologies && Tools"}),(0,Ue.jsxs)("div",{class:"icon-box img img-fluid",children:[(0,Ue.jsxs)("div",{class:"bg-white row pl-5 mx-auto justify-content-between",children:[(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=html",alt:"HTML"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:" https://skillicons.dev/icons?i=css",alt:"CSS"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=js",alt:"JavaScript"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=bootstrap",alt:"Bootstrap"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=sass",alt:"Sass"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=react",alt:"React"})]}),(0,Ue.jsxs)("div",{class:"bg-white row pr-5 mx-auto justify-content-between",children:[(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=c",alt:"C Programming Language"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=bash",alt:"Bash"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=python",alt:"Python"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=docker",alt:"Docker"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=github",alt:"Github"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=git",alt:"Git"})]}),(0,Ue.jsxs)("div",{class:"bg-white row pl-5 mx-auto justify-content-between",children:[(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=nodejs",alt:"NODE JS"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:" https://skillicons.dev/icons?i=threejs",alt:"Three js"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=mysql",alt:"MySQL"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=p5js",alt:"P5js"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=tailwind",alt:"Tailwind"}),(0,Ue.jsx)("img",{class:"img img-fluid",src:"https://skillicons.dev/icons?i=visualstudio",alt:"VS Code"})]})]})]})})},tt=["Learning is a never-ending journey \ud83d\ude80","Keep coding, keep growing \ud83d\udcc8","Every line of code is a new opportunity \ud83d\udcbb","The best way to predict the future is to create it \ud83d\udd2e","The value of a personal portfolio is built over time \u231a"];const rt=function(){return(0,Ue.jsx)("div",{className:"relative overflow-hidden bg-cornflowerblue text-brightturquoise py-4 p-2",children:(0,Ue.jsx)("div",{className:"animate-scroll whitespace-nowrap",children:tt.map(((e,t)=>(0,Ue.jsx)("span",{className:"inline-block mx-6 text-xl",children:e},t)))})})},nt=r.p+"static/media/app-list.b847f42bcc97187c8943.png";const ot=function(){return(0,Ue.jsx)("section",{className:"building-art my-5 p-1",children:(0,Ue.jsx)("div",{className:"container d-flex justify-content-center",children:(0,Ue.jsxs)("div",{className:"art-img row",children:[(0,Ue.jsx)("img",{className:"col col-lg-4 col-md-4 col-sm-6 mx-auto w-50",src:nt,alt:"App list icon"}),(0,Ue.jsxs)("div",{className:"building-art-content col col-lg-4 col-md-4 col-sm-6 mx-auto w-50",children:[(0,Ue.jsx)("h5",{className:"text-info mt-5 ",children:"Full-Stack Software Development"}),(0,Ue.jsx)("h1",{className:"my-3 text-2xl",children:"Crafting Solutions Through Code"}),(0,Ue.jsx)("p",{className:"mb-4",children:"Discover projects that showcase collaboration, creativity, and continuous learning. I\u2019m constantly evolving my craft. Join me on a journey of growth and innovation."}),(0,Ue.jsx)("button",{type:"button",className:"github-btn btn btn-md btn-info mx-auto",children:(0,Ue.jsx)("a",{href:"https://github.com/CKCarr",children:(0,Ue.jsx)("i",{className:"bi bi-github",children:" GITHUB"})})})]})]})})})},at=r.p+"static/media/mobile-contact.9a2d2cf782895b0b1fe2.png";const lt=function(){return(0,Ue.jsx)("section",{className:"contact-me my-5 p-1",children:(0,Ue.jsx)("div",{className:"container d-flex justify-content-center",children:(0,Ue.jsxs)("div",{className:"contact-content row",children:[(0,Ue.jsxs)("div",{className:"building-art-content col col-lg-4 col-md-4 col-sm-6 mx-auto w-50",children:[(0,Ue.jsx)("h5",{className:"text-info mt-5",children:"Follow Me For More"}),(0,Ue.jsx)("h1",{className:"my-3 text-2xl",children:"Let\u2019s Connect, Collaborate, And Create!"}),(0,Ue.jsx)("p",{className:"mb-4",children:"I am usually found in a learning objective, tutorial, or fun coding craft. I love to learn, craft, game, and help build others up along the way."}),(0,Ue.jsx)("button",{type:"button",className:"linkedin-btn btn btn-md btn-outline-info mx-auto",children:(0,Ue.jsx)("a",{href:"https://www.linkedin.com/in/crystal-carrillo/",target:"_blank",rel:"noopener noreferrer",children:(0,Ue.jsx)("i",{className:"bi bi-linkedin",children:" LINKEDIN"})})})]}),(0,Ue.jsx)("img",{className:"col col-lg-4 col-md-4 col-sm-6 mx-auto w-50",src:at,alt:"Mobile contact"})]})})})};const it=function(){return(0,Ue.jsxs)("div",{className:"mt-5 pt-3 ",children:[(0,Ue.jsxs)("h1",{className:"text-5xl text-center font-bold d-flex justify-content-center",children:[(0,Ue.jsx)("span",{className:"color-p",children:"Contact"}),"\u2728",(0,Ue.jsx)("span",{className:"color-b",children:"Me"})]}),(0,Ue.jsx)("section",{id:"contact",className:"container my-5 d-flex justify-content-center text-white ",children:(0,Ue.jsx)("div",{className:"container m-3 bg-cornflowerblue border-4 border-darkcyan d-flex justify-content-center",children:(0,Ue.jsxs)("form",{className:"m-5 text-darkpurple",action:"https://formspree.io/f/xrgngdlq",method:"POST","data-success":"Thank you for your submission!",children:[(0,Ue.jsxs)("div",{className:"row",children:[(0,Ue.jsxs)("div",{className:"col-md-6 col-sm-12",children:[(0,Ue.jsx)("label",{htmlFor:"fname",children:"First Name"}),(0,Ue.jsx)("input",{type:"text",id:"fname",name:"firstname",placeholder:"That's ...",required:!0})]}),(0,Ue.jsxs)("div",{className:"col-md-6 col-sm-12",children:[(0,Ue.jsx)("label",{htmlFor:"lname",children:"Last Name"}),(0,Ue.jsx)("input",{type:"text",id:"lname",name:"lastname",placeholder:"You! ..."})]})]}),(0,Ue.jsxs)("div",{className:"row",children:[(0,Ue.jsxs)("div",{className:"col-md-6 col-sm-12",children:[(0,Ue.jsx)("label",{htmlFor:"cname",children:"Company Name"}),(0,Ue.jsx)("input",{type:"text",id:"cname",name:"companyname",placeholder:"Company ..."})]}),(0,Ue.jsxs)("div",{className:"col-md-6 col-sm-12",children:[(0,Ue.jsx)("label",{htmlFor:"email",children:"Your Email"}),(0,Ue.jsx)("input",{type:"email",id:"email",name:"email",placeholder:"E-mail ...",required:!0})]})]}),(0,Ue.jsx)("label",{htmlFor:"message",children:"Your Message"}),(0,Ue.jsx)("textarea",{id:"message",name:"message",placeholder:"Drop me a line, let's Connect! ..."}),(0,Ue.jsx)("input",{className:"form-btn btn btn-primary mt-3 ml-1",type:"submit",value:"Submit"})]})})})]})},ut=()=>(0,Ue.jsx)("hr",{className:" w-3/4 border-7 mt-5 border-darkcyan mx-auto"});const st=function(){return(0,Ue.jsxs)("div",{children:[(0,Ue.jsx)("div",{id:"home",className:"",children:(0,Ue.jsx)(Ge,{})}),(0,Ue.jsx)(ut,{}),(0,Ue.jsx)("div",{id:"about",className:"",children:(0,Ue.jsx)(Je,{})}),(0,Ue.jsx)(ut,{}),(0,Ue.jsx)("div",{id:"techtools",children:(0,Ue.jsx)(et,{})}),(0,Ue.jsx)(ut,{}),(0,Ue.jsxs)("div",{children:[(0,Ue.jsx)(ot,{}),(0,Ue.jsx)(rt,{}),(0,Ue.jsx)(lt,{})]}),(0,Ue.jsx)(ut,{}),(0,Ue.jsx)("div",{id:"contact",className:"",children:(0,Ue.jsx)(it,{})})]})};const ct=function(e){let{src:t,alt:r}=e;return(0,Ue.jsx)(Ue.Fragment,{children:(0,Ue.jsx)("img",{src:t,alt:r,className:"w-full h-96 object-cover"})})};const dt=function(e){let{name:r,description:n}=e;const[o,a]=(0,t.useState)(!1);return(0,Ue.jsxs)("div",{className:"",children:[(0,Ue.jsx)(Ne.Typography,{variant:"h5",color:"white",className:"mb-2 text-plum",children:r}),(0,Ue.jsxs)(Ne.Typography,{variant:"body2",color:"gray-200",className:"text-white mb-4",children:[o||n.length<=100?n:`${n.substring(0,100)}...`,n.length>100&&(0,Ue.jsx)("button",{onClick:()=>{a(!o)},className:"text-white hover:text-plum transition",children:o?"Show less":"Show more"})]})]})};const ft=function(e){let{tags:t}=e;return(0,Ue.jsx)("div",{className:" p-1 border-2 border-darkcyan bg-darkpurple",children:t.map(((e,t)=>(0,Ue.jsx)("span",{className:"px-2 py-1 text-sm rounded-md font-outfit text-plum ",children:e},t)))})};const pt=function(e){let{project:t}=e;return(0,Ue.jsx)("div",{className:"group relative w-full p-4",children:(0,Ue.jsxs)(Ne.Card,{className:"relative overflow-hidden shadow-lg rounded-lg transform transition-transform hover:scale-105 w-full h-80 hover:border-2 hover:border-darkcyan",children:[(0,Ue.jsx)(ct,{src:t.image,alt:t.name}),(0,Ue.jsxs)("div",{className:"absolute inset-0 bg-black bg-opacity-70 flex flex-col justify-between items-center opacity-0 group-hover:opacity-100 transition-opacity duration-300 p-4",children:[(0,Ue.jsx)("div",{className:"text-center",children:(0,Ue.jsx)(dt,{name:t.name,description:t.description})}),(0,Ue.jsxs)("div",{className:"flex flex-col items-center",children:[(0,Ue.jsx)(ft,{tags:t.tags}),t.link&&(0,Ue.jsx)("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"mt-4 text-md border-2 border-darkcyan text-plum px-4 py-2 rounded hover:bg-darkpurple hover:border-2 hover:border-plum hover:text-white transition",children:"View Project"})]})]})]})})};const bt=function(e){let{searchTerm:t,setSearchTerm:r}=e;return(0,Ue.jsx)("input",{type:"text",className:"form-control text-dark border-6 border-darkcyan hover:border-plum",placeholder:"Search Projects",value:t,onChange:e=>r(e.target.value)})},gt=[{id:1,name:"Museum of Imagination",image:r(2196),description:"A virtual museum experience using modern web technologies.",tags:["HTML","CSS","JavaScript","Three.js"],link:"https://wonderland-3c94c.firebaseapp.com/index.html"},{id:2,name:"Breakfast Bites & Bytes",image:r(1343),description:"A website for healthy breakfast recipes powered by APIs.",tags:["HTML","CSS","Bootstrap"],link:"https://ckcarr.github.io/breakfast_hacksprint/"},{id:3,name:"Printf - C Language",image:r(9529),description:"Recreated the 'printf' function in C, with formatting capabilities.",tags:["C","Standard I/O"],link:"https://github.com/CKCarr/holbertonschool-printf"},{id:4,name:"Simple Shell - UNIX Command Interpreter",image:r(9529),description:"Developed a simple UNIX command interpreter in C.",tags:["C","Shell","CLI"],link:"https://github.com/CKCarr/holbertonschool-simple_shell"},{id:5,name:"Mock AirBnB Clone",image:r(9529),description:"Built a clone of AirBnB using Python, HTML, CSS, and MySQL.",tags:["Python","Flask","MySQL","HTML","CSS"],link:"https://github.com/CKCarr/holbertonschool-AirBnB_clone_v4"},{id:6,name:"A Way Home - Pet Lost & Found App",image:r(9529),description:"Capstone project for a lost and found pet application using React and Next.js.",tags:["Next.js","React","Tailwind CSS","API"],link:"https://www.youtube.com/watch?v=z-WmWKJJnDc"},{id:7,name:"Cinema Guru - React Movie App",image:r(9529),description:"Created a React front-end app connecting to a movie API with login and 'Watch Later' features.",tags:["React","JavaScript","Movie API","Login"],link:"https://github.com/CKCarr/atlas-cinema-guru"},{id:7,name:"Headphones",image:r(3722),description:"Javascript HTML and CSS project",tags:["HTML","JavaScript","CSS"],link:"https://ckcarr.github.io/holbertonschool-headphones/4-index"}];const ht=function(e){let{certifications:t}=e;return(0,Ue.jsxs)("section",{className:"certifications my-12 p-6 container mx-auto",children:[(0,Ue.jsx)("h2",{className:"text-3xl font-bold mb-6 text-center p-2 text-darkcyan",children:"Certifications & Achievements"}),(0,Ue.jsx)("div",{className:" grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 pt-16",children:t.map((e=>(0,Ue.jsxs)("div",{className:"bg-white shadow-lg rounded-lg p-6 border-2 border-darkcyan text-midnightblue",children:[(0,Ue.jsx)("h3",{className:"text-xl font-semibold text-purple-600 mb-2",children:e.title}),(0,Ue.jsxs)("p",{className:"text-gray-600 mb-4",children:[(0,Ue.jsx)("strong",{children:"Platform:"})," ",e.platform]}),(0,Ue.jsx)("a",{href:e.link,target:"_blank",rel:"noopener noreferrer",className:"inline-block border-4 bg-darkpurple border-darkcyan text-plum px-4 py-2 rounded-md hover:border-plum hover:text-white transition",children:"View Certification"})]},e.id)))})]})},mt=[{id:1,title:"Foundations of Project Management",platform:"Google: Coursera",link:"https://coursera.org/share/1e776036754a6d89e750839732f3e7b4"},{id:2,title:"Technical Support Fundamentals",platform:"Google: Coursera",link:"https://coursera.org/share/7bdd3cd3a639ed297f82337b28d56a98"},{id:3,title:"Programming for Everybody (Getting Started with Python)",platform:"Coursera: University of Michigan",link:"https://coursera.org/share/249996da1ac5473c2df9ff444e0e9ce2"},{id:4,title:"Responsive Web Design",platform:"FreeCodeCamp",link:"https://www.freecodecamp.org/certification/CKCarr/responsive-web-design"},{id:5,title:"Create a Project Management Tracker using Microsoft Excel",platform:"Coursera",link:"https://coursera.org/share/933972d5f2b1a7f48d7afee877c23d9e"},{id:6,title:"Getting Started with Microsoft Word",platform:"Coursera",link:"https://coursera.org/share/3857ee7295948d5770206444e5475a0f"},{id:7,title:"Copywriting with ChatGPT: Crafting High-Quality Blog Content",platform:"Coursera",link:"https://coursera.org/share/75db19518bfdcd0514715728b03be947"},{id:8,title:"Copywriting with ChatGPT: Produce Compelling Copy That Sells",platform:"Coursera",link:"https://coursera.org/share/41ee3a039fadc183566f565ca27da8a3"}];const yt=function(){const[e,r]=(0,t.useState)(""),[n,o]=(0,t.useState)([]),[a,l]=(0,t.useState)(!0),i=(0,t.useRef)(null),u=[...new Set(gt.flatMap((e=>e.tags)))],s=gt.filter((t=>{const r=t.name.toLowerCase().includes(e.toLowerCase()),o=0===n.length||n.every((e=>t.tags.includes(e)));return r&&o}));return(0,t.useEffect)((()=>{const e=new IntersectionObserver((e=>{const t=e[0];l(!t.isIntersecting)}),{threshold:.8});return i.current&&e.observe(i.current),()=>{i.current&&e.unobserve(i.current)}}),[]),(0,Ue.jsxs)("section",{className:"projects my-5 p-6 w-full max-w-screen-xl mx-auto",children:[(0,Ue.jsxs)("h1",{className:"text-center text-5xl font-bold mb-8",children:[(0,Ue.jsx)("span",{className:"color-b",children:"Project"}),"\u2728",(0,Ue.jsx)("span",{className:"color-p",children:"Portfolio"})]}),(0,Ue.jsx)("div",{className:(a?"sticky top-24 z-10":"")+" bg-cornflowerblue bg-opacity-90 shadow-lg",children:(0,Ue.jsx)(bt,{searchTerm:e,setSearchTerm:r})}),(0,Ue.jsx)("div",{className:"flex flex-wrap justify-center space-2 mt-4",children:u.map(((e,t)=>(0,Ue.jsx)("button",{onClick:()=>o((t=>t.includes(e)?t.filter((t=>t!==e)):[...t,e])),className:`px-4 py-2 rounded ${n.includes(e)?"bg-darkcyan hover:text-plum ":"bg-white text-darkcyan"} border-2 border-darkcyan hover:bg-darkcyan hover:text-plum transition `,children:e},t)))}),(0,Ue.jsx)(ut,{}),(0,Ue.jsx)("div",{className:"relative grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-2 gap-6 w-full ",children:s.length>0?s.map((e=>(0,Ue.jsx)(pt,{project:e},e.id))):(0,Ue.jsx)("div",{className:"mx-auto text-md text-center text-plum",children:(0,Ue.jsx)("p",{children:"No projects found."})})}),(0,Ue.jsx)(ut,{}),(0,Ue.jsx)("div",{ref:i,children:(0,Ue.jsx)(ht,{certifications:mt})})]})};const vt=function(){return(0,Ue.jsx)("div",{id:"portfolio",className:" pt-16",children:(0,Ue.jsx)(yt,{})})};const wt=function(e){let{imageSrc:t,title:r,content:n}=e;const o=n.split("\n").map(((e,t)=>(0,Ue.jsx)("p",{className:"p-1 m-1 text-midnightblue font-outfit",children:e},t)));return(0,Ue.jsxs)("div",{className:" bg-cornflowerblue rounded-lg shadow-lg my-4 mx-auto w-3/4 p-6",children:[t&&(0,Ue.jsx)("img",{className:"img img-fluid rounded-full mx-auto mb-4 border-2 border-darkcyan",src:t,alt:r,style:{width:"245px",height:"245px",border:"2"}}),(0,Ue.jsxs)("div",{className:"text-center bg-white border-darkcyan border-solid border-2 p-5",children:[(0,Ue.jsx)("h1",{className:"text-2xl font-outfitBold mb-2 text-purple",children:r}),(0,Ue.jsx)("hr",{className:"border-t-2 border-darkcyan mb-4"}),(0,Ue.jsx)("div",{className:"text-md text-midnightblue font-outfit",children:o})]})]})},xt=[{id:1,title:"Refactoring My Life",content:"I wear many hats \u2013 wife, proud mother to four wonderful children, a dedicated caregiver to my Grandma, and a pet mom to two dogs and a cat. I've been a stay-at-home mother and caregiver in recent years, and like many others, life circumstances and the onset of the COVID-19 pandemic prompted me to reevaluate my path."},{id:2,title:"Transition to Tech",content:"My previous career spanned over 11 years in the healthcare field, where I played various roles from nurse assistant to business office manager. Throughout this time, I witnessed technology's increasing role in healthcare, sparking my interest in the tech world. I began to explore the possibility of a career change and started taking steps to make it happen."},{id:3,title:"My Future in Code",content:"I'm excited to embark on this journey of learning and personal growth. With curiosity, hard work, dedication, and perseverance, I know I will be equipped with the knowledge and skills to succeed in a rapidly evolving tech landscape. I have a passion for problem-solving, a love for creativity in all its forms, and a readiness to embrace this exciting career change."},{id:4,title:"Why I Love Coding",content:"There\u2019s something incredibly rewarding about coding \u2013 the ability to solve problems, create something from nothing, and see your work come to life on the screen. Every line of code is like a building block, helping me to bring my ideas into reality.",imageSrc:"https://via.placeholder.com/150"},{id:5,title:"How I Built My Portfolio",content:'\n Building my portfolio was a challenging yet rewarding experience. I started by researching the best practices, and after trying a few different approaches, I finally settled on a design that reflects my personality and skills.\n\n Step 1: Planning\n Before diving into the code, I spent time brainstorming the structure of the site. I knew I wanted to showcase my projects, but I also wanted to include an "About Me" section, a blog, and a contact form.\n\n Step 2: Choosing the Tech Stack\n After some consideration, I chose React for the front-end, Tailwind CSS for styling, and GitHub Pages for hosting.\n\n Step 3: Development\n Once I had the plan and tech stack in place, I began coding. I started with the homepage, making sure the design was responsive and functional on all devices.\n '}];const Ot=function(){return(0,Ue.jsxs)("section",{className:"blog-page container my-5 pt-16",children:[(0,Ue.jsxs)("h1",{className:"text-center m-5 text-5xl font-bold",children:[(0,Ue.jsx)("span",{className:"color-b",children:"Blog"}),"\u2728",(0,Ue.jsx)("span",{className:"color-p",children:"Page"})]}),xt.map((e=>(0,Ue.jsx)(wt,{title:e.title,content:e.content,imageSrc:e.imageSrc},e.id)))]})},kt=r.p+"static/media/CKCarrillo-RESUME.d9b09fb15c4f96fbae16.pdf";const Ct=function(){return(0,Ue.jsxs)("div",{className:"container mx-auto pt-28 my-12 p-6",children:[(0,Ue.jsxs)("div",{className:"text-center mb-10",children:[(0,Ue.jsx)("h1",{className:"text-4xl font-outfitBold ",children:"Crystal Carrillo - Resume"}),(0,Ue.jsx)("p",{className:"text-lg text-gray-600 mb-4",children:"Software Developer & Freelancer"}),(0,Ue.jsx)("a",{href:kt,download:!0,className:"mt-6 inline-block px-6 py-3 bg-darkcyan text-white rounded-md hover:bg-cornflowerblue transition no-underline",children:"Download Resume"})]}),(0,Ue.jsx)("div",{className:"mx-auto w-3/4 h-[90vh] border-4 border-darkcyan rounded-md shadow-md",children:(0,Ue.jsx)("iframe",{src:kt,title:"Crystal Carrillo Resume",className:"w-full h-full border-darkcyan"})})]})};const Pt=function(){return(0,Ue.jsxs)("footer",{className:"container-fluid pb-4 text-darkcyan font-outfit",children:[(0,Ue.jsx)("hr",{className:" w-3/4 border-7 border-darkcyan mx-auto"}),(0,Ue.jsxs)("div",{className:" d-flex justify-content-around row",children:[(0,Ue.jsxs)("aside",{className:"footer-icons text-center mt-4",children:[(0,Ue.jsx)("a",{href:"https://github.com/CKCarr",children:(0,Ue.jsx)("i",{className:"bi bi-github "})}),(0,Ue.jsx)("a",{href:"https://www.linkedin.com/in/crystal-carrillo/",className:"",children:(0,Ue.jsx)("i",{className:"bi bi-linkedin"})})]}),(0,Ue.jsx)("address",{className:"d-block text-center mt-4",children:(0,Ue.jsxs)("p",{className:" text-darkcyan font-outfit",children:[(0,Ue.jsx)("strong",{children:"Crystal Carrillo"}),(0,Ue.jsx)("br",{}),"Claremore, OK",(0,Ue.jsx)("br",{}),"(539)-210-6478"]})})]}),(0,Ue.jsx)("div",{className:"copy",children:(0,Ue.jsxs)("p",{className:"text-center mb-sm-0 mt-4",children:["Copyright \xa9 2024 CKCarr.dev ",(0,Ue.jsx)("br",{}),"All Rights Reserved."]})})]})};const Tt=function(){return(0,Ue.jsx)("div",{className:"min-h-screen bg-gradient-to-b from-midnightblue via-cornflowerblue via-paleturquoise via-plum via-purple to-midnightblue text-white",children:(0,Ue.jsxs)(Ce,{children:[(0,Ue.jsx)(qe,{}),(0,Ue.jsxs)(he,{children:[(0,Ue.jsx)(be,{path:"/",element:(0,Ue.jsx)(st,{})}),(0,Ue.jsx)(be,{path:"/projects",element:(0,Ue.jsx)(vt,{})}),(0,Ue.jsx)(be,{path:"/blog",element:(0,Ue.jsx)(Ot,{})}),(0,Ue.jsx)(be,{path:"/resume",element:(0,Ue.jsx)(Ct,{})})]}),(0,Ue.jsx)(Pt,{})]})})};o.createRoot(document.getElementById("root")).render((0,Ue.jsx)(t.StrictMode,{children:(0,Ue.jsx)(Ne.ThemeProvider,{children:(0,Ue.jsx)(Tt,{})})}))})()})(); -//# sourceMappingURL=main.011c1344.js.map \ No newline at end of file +/*! For license information please see main.06d0a040.js.LICENSE.txt */ +(()=>{var e={5098:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const o=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){return n.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},3616:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FloatingDelayGroup:()=>At,FloatingFocusManager:()=>dr,FloatingNode:()=>gt,FloatingOverlay:()=>pr,FloatingPortal:()=>ur,FloatingTree:()=>ht,arrow:()=>et,autoPlacement:()=>qe,autoUpdate:()=>We,computePosition:()=>Je,detectOverflow:()=>He,flip:()=>Ke,getOverflowAncestors:()=>Z,hide:()=>Ye,inline:()=>Qe,inner:()=>Hr,limitShift:()=>Ze,offset:()=>Ue,platform:()=>Be,safePolygon:()=>qr,shift:()=>$e,size:()=>Ge,useClick:()=>hr,useDelayGroup:()=>It,useDelayGroupContext:()=>Rt,useDismiss:()=>wr,useFloating:()=>$r,useFloatingNodeId:()=>bt,useFloatingParentNodeId:()=>ft,useFloatingPortalNode:()=>ir,useFloatingTree:()=>pt,useFocus:()=>xr,useHover:()=>Mt,useId:()=>ut,useInnerOffset:()=>Ur,useInteractions:()=>Gr,useListNavigation:()=>Ir,useMergeRefs:()=>Lr,useRole:()=>zr,useTransitionStatus:()=>Dr,useTransitionStyles:()=>Vr,useTypeahead:()=>Br});var n=r(5043),o=r.t(n,2),a=function(e){return"undefined"===typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},l=new WeakMap,i=new WeakMap,u={},s=0,c=function(e){return e&&(e.host||c(e.parentNode))},d=function(e,t,r,n){var o=function(e,t){return t.map((function(t){if(e.contains(t))return t;var r=c(t);return r&&e.contains(r)?r:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);u[r]||(u[r]=new WeakMap);var a=u[r],d=[],f=new Set,p=new Set(o),b=function(e){e&&!f.has(e)&&(f.add(e),b(e.parentNode))};o.forEach(b);var g=function(e){e&&!p.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(f.has(e))g(e);else try{var t=e.getAttribute(n),o=null!==t&&"false"!==t,u=(l.get(e)||0)+1,s=(a.get(e)||0)+1;l.set(e,u),a.set(e,s),d.push(e),1===u&&o&&i.set(e,!0),1===s&&e.setAttribute(r,"true"),o||e.setAttribute(n,"true")}catch(c){console.error("aria-hidden: cannot operate on ",e,c)}}))};return g(t),f.clear(),s++,function(){d.forEach((function(e){var t=l.get(e)-1,o=a.get(e)-1;l.set(e,t),a.set(e,o),t||(i.has(e)||e.removeAttribute(n),i.delete(e)),o||e.removeAttribute(r)})),--s||(l=new WeakMap,l=new WeakMap,i=new WeakMap,u={})}},f=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||a(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),d(n,o,r,"aria-hidden")):function(){return null}},p=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],b=p.join(","),g="undefined"===typeof Element,h=g?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,m=!g&&Element.prototype.getRootNode?function(e){var t;return null===e||void 0===e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null===e||void 0===e?void 0:e.ownerDocument},y=function e(t,r){var n;void 0===r&&(r=!0);var o=null===t||void 0===t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===o||"true"===o||r&&t&&e(t.parentNode)},v=function(e,t,r){if(y(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(b));return t&&h.call(e,b)&&n.unshift(e),n=n.filter(r)},w=function e(t,r,n){for(var o=[],a=Array.from(t);a.length;){var l=a.shift();if(!y(l,!1))if("SLOT"===l.tagName){var i=l.assignedElements(),u=e(i.length?i:l.children,!0,n);n.flatten?o.push.apply(o,u):o.push({scopeParent:l,candidates:u})}else{h.call(l,b)&&n.filter(l)&&(r||!t.includes(l))&&o.push(l);var s=l.shadowRoot||"function"===typeof n.getShadowRoot&&n.getShadowRoot(l),c=!y(s,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(l));if(s&&c){var d=e(!0===s?l.children:s.children,!0,n);n.flatten?o.push.apply(o,d):o.push({scopeParent:l,candidates:d})}else a.unshift.apply(a,l.children)}}return o},x=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},O=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,r=null===e||void 0===e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===r||"true"===r}(e))&&!x(e)?0:e.tabIndex},k=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},C=function(e){return"INPUT"===e.tagName},P=function(e){return function(e){return C(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||m(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!==typeof window&&"undefined"!==typeof window.CSS&&"function"===typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var o=function(e,t){for(var r=0;r summary:first-of-type")?e.parentElement:e;if(h.call(o,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return T(e)}else{if("function"===typeof n){for(var a=e;e;){var l=e.parentElement,i=m(e);if(l&&!l.shadowRoot&&!0===n(l))return T(e);e=e.assignedSlot?e.assignedSlot:l||i===e.ownerDocument?l:i.host}e=a}if(function(e){var t,r,n,o,a=e&&m(e),l=null===(t=a)||void 0===t?void 0:t.host,i=!1;if(a&&a!==e)for(i=!!(null!==(r=l)&&void 0!==r&&null!==(n=r.ownerDocument)&&void 0!==n&&n.contains(l)||null!==e&&void 0!==e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!i&&l;){var u,s,c;i=!(null===(s=l=null===(u=a=m(l))||void 0===u?void 0:u.host)||void 0===s||null===(c=s.ownerDocument)||void 0===c||!c.contains(l))}return i}(e))return!e.getClientRects().length;if("legacy-full"!==r)return!0}return!1},S=function(e,t){return!(t.disabled||y(t)||function(e){return C(e)&&"hidden"===e.type}(t)||j(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r =0)},M=function e(t){var r=[],n=[];return t.forEach((function(t,o){var a=!!t.scopeParent,l=a?t.scopeParent:t,i=function(e,t){var r=O(e);return r<0&&t&&!x(e)?0:r}(l,a),u=a?e(t.candidates):l;0===i?a?r.push.apply(r,u):r.push(l):n.push({documentOrder:o,tabIndex:i,item:t,isScope:a,content:u})})),n.sort(k).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(r)},N=function(e,t){var r;return r=(t=t||{}).getShadowRoot?w([e],t.includeContainer,{filter:_.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:E}):v(e,t.includeContainer,_.bind(null,t)),M(r)},R=r(7950);function A(){return"undefined"!==typeof window}function I(e){return F(e)?(e.nodeName||"").toLowerCase():"#document"}function L(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function z(e){var t;return null==(t=(F(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function F(e){return!!A()&&(e instanceof Node||e instanceof L(e).Node)}function D(e){return!!A()&&(e instanceof Element||e instanceof L(e).Element)}function V(e){return!!A()&&(e instanceof HTMLElement||e instanceof L(e).HTMLElement)}function B(e){return!(!A()||"undefined"===typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof L(e).ShadowRoot)}function W(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=G(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function H(e){return["table","td","th"].includes(I(e))}function U(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(r){return!1}}))}function q(e){const t=$(),r=D(e)?G(e):e;return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function $(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function K(e){return["html","body","#document"].includes(I(e))}function G(e){return L(e).getComputedStyle(e)}function Y(e){return D(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function X(e){if("html"===I(e))return e;const t=e.assignedSlot||e.parentNode||B(e)&&e.host||z(e);return B(t)?t.host:t}function Q(e){const t=X(e);return K(t)?e.ownerDocument?e.ownerDocument.body:e.body:V(t)&&W(t)?t:Q(t)}function Z(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=Q(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),l=L(o);if(a){const e=J(l);return t.concat(l,l.visualViewport||[],W(o)?o:[],e&&r?Z(e):[])}return t.concat(o,Z(o,[],r))}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const ee=["top","right","bottom","left"],te=["start","end"],re=ee.reduce(((e,t)=>e.concat(t,t+"-"+te[0],t+"-"+te[1])),[]),ne=Math.min,oe=Math.max,ae=Math.round,le=Math.floor,ie=e=>({x:e,y:e}),ue={left:"right",right:"left",bottom:"top",top:"bottom"},se={start:"end",end:"start"};function ce(e,t,r){return oe(e,ne(t,r))}function de(e,t){return"function"===typeof e?e(t):e}function fe(e){return e.split("-")[0]}function pe(e){return e.split("-")[1]}function be(e){return"x"===e?"y":"x"}function ge(e){return"y"===e?"height":"width"}function he(e){return["top","bottom"].includes(fe(e))?"y":"x"}function me(e){return be(he(e))}function ye(e,t,r){void 0===r&&(r=!1);const n=pe(e),o=me(e),a=ge(o);let l="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[a]>t.floating[a]&&(l=we(l)),[l,we(l)]}function ve(e){return e.replace(/start|end/g,(e=>se[e]))}function we(e){return e.replace(/left|right|bottom|top/g,(e=>ue[e]))}function xe(e){return"number"!==typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Oe(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function ke(e,t,r){let{reference:n,floating:o}=e;const a=he(t),l=me(t),i=ge(l),u=fe(t),s="y"===a,c=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,f=n[i]/2-o[i]/2;let p;switch(u){case"top":p={x:c,y:n.y-o.height};break;case"bottom":p={x:c,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-o.width,y:d};break;default:p={x:n.x,y:n.y}}switch(pe(t)){case"start":p[l]-=f*(r&&s?-1:1);break;case"end":p[l]+=f*(r&&s?-1:1)}return p}async function Ce(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:a,rects:l,elements:i,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=de(t,e),b=xe(p),g=i[f?"floating"===d?"reference":"floating":d],h=Oe(await a.getClippingRect({element:null==(r=await(null==a.isElement?void 0:a.isElement(g)))||r?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(i.floating)),boundary:s,rootBoundary:c,strategy:u})),m="floating"===d?{x:n,y:o,width:l.floating.width,height:l.floating.height}:l.reference,y=await(null==a.getOffsetParent?void 0:a.getOffsetParent(i.floating)),v=await(null==a.isElement?void 0:a.isElement(y))&&await(null==a.getScale?void 0:a.getScale(y))||{x:1,y:1},w=Oe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:m,offsetParent:y,strategy:u}):m);return{top:(h.top-w.top+b.top)/v.y,bottom:(w.bottom-h.bottom+b.bottom)/v.y,left:(h.left-w.left+b.left)/v.x,right:(w.right-h.right+b.right)/v.x}}function Pe(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Te(e){return ee.some((t=>e[t]>=0))}function je(e){const t=ne(...e.map((e=>e.left))),r=ne(...e.map((e=>e.top)));return{x:t,y:r,width:oe(...e.map((e=>e.right)))-t,height:oe(...e.map((e=>e.bottom)))-r}}function Se(e){const t=G(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=V(e),a=o?e.offsetWidth:r,l=o?e.offsetHeight:n,i=ae(r)!==a||ae(n)!==l;return i&&(r=a,n=l),{width:r,height:n,$:i}}function _e(e){return D(e)?e:e.contextElement}function Ee(e){const t=_e(e);if(!V(t))return ie(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:a}=Se(t);let l=(a?ae(r.width):r.width)/n,i=(a?ae(r.height):r.height)/o;return l&&Number.isFinite(l)||(l=1),i&&Number.isFinite(i)||(i=1),{x:l,y:i}}const Me=ie(0);function Ne(e){const t=L(e);return $()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Me}function Re(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),a=_e(e);let l=ie(1);t&&(n?D(n)&&(l=Ee(n)):l=Ee(e));const i=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==L(e))&&t}(a,r,n)?Ne(a):ie(0);let u=(o.left+i.x)/l.x,s=(o.top+i.y)/l.y,c=o.width/l.x,d=o.height/l.y;if(a){const e=L(a),t=n&&D(n)?L(n):n;let r=e,o=J(r);for(;o&&n&&t!==r;){const e=Ee(o),t=o.getBoundingClientRect(),n=G(o),a=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,s*=e.y,c*=e.x,d*=e.y,u+=a,s+=l,r=L(o),o=J(r)}}return Oe({width:c,height:d,x:u,y:s})}function Ae(e,t){const r=Y(e).scrollLeft;return t?t.left+r:Re(z(e)).left+r}function Ie(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=L(e),n=z(e),o=r.visualViewport;let a=n.clientWidth,l=n.clientHeight,i=0,u=0;if(o){a=o.width,l=o.height;const e=$();(!e||e&&"fixed"===t)&&(i=o.offsetLeft,u=o.offsetTop)}return{width:a,height:l,x:i,y:u}}(e,r);else if("document"===t)n=function(e){const t=z(e),r=Y(e),n=e.ownerDocument.body,o=oe(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=oe(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let l=-r.scrollLeft+Ae(e);const i=-r.scrollTop;return"rtl"===G(n).direction&&(l+=oe(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:l,y:i}}(z(e));else if(D(t))n=function(e,t){const r=Re(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=V(e)?Ee(e):ie(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:n*a.y}}(t,r);else{const r=Ne(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return Oe(n)}function Le(e,t){const r=X(e);return!(r===t||!D(r)||K(r))&&("fixed"===G(r).position||Le(r,t))}function ze(e,t,r){const n=V(t),o=z(t),a="fixed"===r,l=Re(e,!0,a,t);let i={scrollLeft:0,scrollTop:0};const u=ie(0);if(n||!n&&!a)if(("body"!==I(t)||W(o))&&(i=Y(t)),n){const e=Re(t,!0,a,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=Ae(o));let s=0,c=0;if(o&&!n&&!a){const e=o.getBoundingClientRect();c=e.top+i.scrollTop,s=e.left+i.scrollLeft-Ae(o,e)}return{x:l.left+i.scrollLeft-u.x-s,y:l.top+i.scrollTop-u.y-c,width:l.width,height:l.height}}function Fe(e){return"static"===G(e).position}function De(e,t){if(!V(e)||"fixed"===G(e).position)return null;if(t)return t(e);let r=e.offsetParent;return z(e)===r&&(r=r.ownerDocument.body),r}function Ve(e,t){const r=L(e);if(U(e))return r;if(!V(e)){let t=X(e);for(;t&&!K(t);){if(D(t)&&!Fe(t))return t;t=X(t)}return r}let n=De(e,t);for(;n&&H(n)&&Fe(n);)n=De(n,t);return n&&K(n)&&Fe(n)&&!q(n)?r:n||function(e){let t=X(e);for(;V(t)&&!K(t);){if(q(t))return t;if(U(t))return null;t=X(t)}return null}(e)||r}const Be={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const a="fixed"===o,l=z(n),i=!!t&&U(t.floating);if(n===l||i&&a)return r;let u={scrollLeft:0,scrollTop:0},s=ie(1);const c=ie(0),d=V(n);if((d||!d&&!a)&&(("body"!==I(n)||W(l))&&(u=Y(n)),V(n))){const e=Re(n);s=Ee(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:r.width*s.x,height:r.height*s.y,x:r.x*s.x-u.scrollLeft*s.x+c.x,y:r.y*s.y-u.scrollTop*s.y+c.y}},getDocumentElement:z,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[..."clippingAncestors"===r?U(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=Z(e,[],!1).filter((e=>D(e)&&"body"!==I(e))),o=null;const a="fixed"===G(e).position;let l=a?X(e):e;for(;D(l)&&!K(l);){const t=G(l),r=q(l);r||"fixed"!==t.position||(o=null),(a?!r&&!o:!r&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||W(l)&&!r&&Le(e,l))?n=n.filter((e=>e!==l)):o=t,l=X(l)}return t.set(e,n),n}(t,this._c):[].concat(r),n],l=a[0],i=a.reduce(((e,r)=>{const n=Ie(t,r,o);return e.top=oe(n.top,e.top),e.right=ne(n.right,e.right),e.bottom=ne(n.bottom,e.bottom),e.left=oe(n.left,e.left),e}),Ie(t,l,o));return{width:i.right-i.left,height:i.bottom-i.top,x:i.left,y:i.top}},getOffsetParent:Ve,getElementRects:async function(e){const t=this.getOffsetParent||Ve,r=this.getDimensions,n=await r(e.floating);return{reference:ze(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=Se(e);return{width:t,height:r}},getScale:Ee,isElement:D,isRTL:function(e){return"rtl"===G(e).direction}};function We(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:l="function"===typeof ResizeObserver,layoutShift:i="function"===typeof IntersectionObserver,animationFrame:u=!1}=n,s=_e(e),c=o||a?[...s?Z(s):[],...Z(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)}));const d=s&&i?function(e,t){let r,n=null;const o=z(e);function a(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function l(i,u){void 0===i&&(i=!1),void 0===u&&(u=1),a();const{left:s,top:c,width:d,height:f}=e.getBoundingClientRect();if(i||t(),!d||!f)return;const p={rootMargin:-le(c)+"px "+-le(o.clientWidth-(s+d))+"px "+-le(o.clientHeight-(c+f))+"px "+-le(s)+"px",threshold:oe(0,ne(1,u))||1};let b=!0;function g(e){const t=e[0].intersectionRatio;if(t!==u){if(!b)return l();t?l(!1,t):r=setTimeout((()=>{l(!1,1e-7)}),1e3)}b=!1}try{n=new IntersectionObserver(g,{...p,root:o.ownerDocument})}catch(h){n=new IntersectionObserver(g,p)}n.observe(e)}(!0),a}(s,r):null;let f,p=-1,b=null;l&&(b=new ResizeObserver((e=>{let[n]=e;n&&n.target===s&&b&&(b.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=b)||e.observe(t)}))),r()})),s&&!u&&b.observe(s),b.observe(t));let g=u?Re(e):null;return u&&function t(){const n=Re(e);!g||n.x===g.x&&n.y===g.y&&n.width===g.width&&n.height===g.height||r();g=n,f=requestAnimationFrame(t)}(),r(),()=>{var e;c.forEach((e=>{o&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)})),null==d||d(),null==(e=b)||e.disconnect(),b=null,u&&cancelAnimationFrame(f)}}const He=Ce,Ue=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:a,placement:l,middlewareData:i}=t,u=await async function(e,t){const{placement:r,platform:n,elements:o}=e,a=await(null==n.isRTL?void 0:n.isRTL(o.floating)),l=fe(r),i=pe(r),u="y"===he(r),s=["left","top"].includes(l)?-1:1,c=a&&u?-1:1,d=de(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:b}="number"===typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return i&&"number"===typeof b&&(p="end"===i?-1*b:b),u?{x:p*c,y:f*s}:{x:f*s,y:p*c}}(t,e);return l===(null==(r=i.offset)?void 0:r.placement)&&null!=(n=i.arrow)&&n.alignmentOffset?{}:{x:o+u.x,y:a+u.y,data:{...u,placement:l}}}}},qe=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,o;const{rects:a,middlewareData:l,placement:i,platform:u,elements:s}=t,{crossAxis:c=!1,alignment:d,allowedPlacements:f=re,autoAlignment:p=!0,...b}=de(e,t),g=void 0!==d||f===re?function(e,t,r){return(e?[...r.filter((t=>pe(t)===e)),...r.filter((t=>pe(t)!==e))]:r.filter((e=>fe(e)===e))).filter((r=>!e||pe(r)===e||!!t&&ve(r)!==r))}(d||null,p,f):f,h=await Ce(t,b),m=(null==(r=l.autoPlacement)?void 0:r.index)||0,y=g[m];if(null==y)return{};const v=ye(y,a,await(null==u.isRTL?void 0:u.isRTL(s.floating)));if(i!==y)return{reset:{placement:g[0]}};const w=[h[fe(y)],h[v[0]],h[v[1]]],x=[...(null==(n=l.autoPlacement)?void 0:n.overflows)||[],{placement:y,overflows:w}],O=g[m+1];if(O)return{data:{index:m+1,overflows:x},reset:{placement:O}};const k=x.map((e=>{const t=pe(e.placement);return[e.placement,t&&c?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),C=(null==(o=k.filter((e=>e[2].slice(0,pe(e[0])?2:3).every((e=>e<=0))))[0])?void 0:o[0])||k[0][0];return C!==i?{data:{index:m+1,overflows:x},reset:{placement:C}}:{}}}},$e=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:i={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...u}=de(e,t),s={x:r,y:n},c=await Ce(t,u),d=he(fe(o)),f=be(d);let p=s[f],b=s[d];if(a){const e="y"===f?"bottom":"right";p=ce(p+c["y"===f?"top":"left"],p,p-c[e])}if(l){const e="y"===d?"bottom":"right";b=ce(b+c["y"===d?"top":"left"],b,b-c[e])}const g=i.fn({...t,[f]:p,[d]:b});return{...g,data:{x:g.x-r,y:g.y-n,enabled:{[f]:a,[d]:l}}}}}},Ke=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:a,rects:l,initialPlacement:i,platform:u,elements:s}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:g=!0,...h}=de(e,t);if(null!=(r=a.arrow)&&r.alignmentOffset)return{};const m=fe(o),y=he(i),v=fe(i)===i,w=await(null==u.isRTL?void 0:u.isRTL(s.floating)),x=f||(v||!g?[we(i)]:function(e){const t=we(e);return[ve(e),t,ve(t)]}(i)),O="none"!==b;!f&&O&&x.push(...function(e,t,r,n){const o=pe(e);let a=function(e,t,r){const n=["left","right"],o=["right","left"],a=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?a:l;default:return[]}}(fe(e),"start"===r,n);return o&&(a=a.map((e=>e+"-"+o)),t&&(a=a.concat(a.map(ve)))),a}(i,g,b,w));const k=[i,...x],C=await Ce(t,h),P=[];let T=(null==(n=a.flip)?void 0:n.overflows)||[];if(c&&P.push(C[m]),d){const e=ye(o,l,w);P.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:o,overflows:P}],!P.every((e=>e<=0))){var j,S;const e=((null==(j=a.flip)?void 0:j.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:T},reset:{placement:t}};let r=null==(S=T.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:S.placement;if(!r)switch(p){case"bestFit":{var _;const e=null==(_=T.filter((e=>{if(O){const t=he(e.placement);return t===y||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:_[0];e&&(r=e);break}case"initialPlacement":r=i}if(o!==r)return{reset:{placement:r}}}return{}}}},Ge=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:a,platform:l,elements:i}=t,{apply:u=()=>{},...s}=de(e,t),c=await Ce(t,s),d=fe(o),f=pe(o),p="y"===he(o),{width:b,height:g}=a.floating;let h,m;"top"===d||"bottom"===d?(h=d,m=f===(await(null==l.isRTL?void 0:l.isRTL(i.floating))?"start":"end")?"left":"right"):(m=d,h="end"===f?"top":"bottom");const y=g-c.top-c.bottom,v=b-c.left-c.right,w=ne(g-c[h],y),x=ne(b-c[m],v),O=!t.middlewareData.shift;let k=w,C=x;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(C=v),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(k=y),O&&!f){const e=oe(c.left,0),t=oe(c.right,0),r=oe(c.top,0),n=oe(c.bottom,0);p?C=b-2*(0!==e||0!==t?e+t:oe(c.left,c.right)):k=g-2*(0!==r||0!==n?r+n:oe(c.top,c.bottom))}await u({...t,availableWidth:C,availableHeight:k});const P=await l.getDimensions(i.floating);return b!==P.width||g!==P.height?{reset:{rects:!0}}:{}}}},Ye=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=de(e,t);switch(n){case"referenceHidden":{const e=Pe(await Ce(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Te(e)}}}case"escaped":{const e=Pe(await Ce(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:Te(e)}}}default:return{}}}}},Xe=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:a,platform:l,elements:i,middlewareData:u}=t,{element:s,padding:c=0}=de(e,t)||{};if(null==s)return{};const d=xe(c),f={x:r,y:n},p=me(o),b=ge(p),g=await l.getDimensions(s),h="y"===p,m=h?"top":"left",y=h?"bottom":"right",v=h?"clientHeight":"clientWidth",w=a.reference[b]+a.reference[p]-f[p]-a.floating[b],x=f[p]-a.reference[p],O=await(null==l.getOffsetParent?void 0:l.getOffsetParent(s));let k=O?O[v]:0;k&&await(null==l.isElement?void 0:l.isElement(O))||(k=i.floating[v]||a.floating[b]);const C=w/2-x/2,P=k/2-g[b]/2-1,T=ne(d[m],P),j=ne(d[y],P),S=T,_=k-g[b]-j,E=k/2-g[b]/2+C,M=ce(S,E,_),N=!u.arrow&&null!=pe(o)&&E!==M&&a.reference[b]/2-(E e.y-t.y)),r=[];let n=null;for(let o=0;on.height/2?r.push([e]):r[r.length-1].push(e),n=e}return r.map((e=>Oe(je(e))))}(c),f=Oe(je(c)),p=xe(i);const b=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=u&&null!=s)return d.find((e=>u>e.left-p.left&&u e.top-p.top&&s =2){if("y"===he(r)){const e=d[0],t=d[d.length-1],n="top"===fe(r),o=e.top,a=t.bottom,l=n?e.left:t.left,i=n?e.right:t.right;return{top:o,bottom:a,left:l,right:i,width:i-l,height:a-o,x:l,y:o}}const e="left"===fe(r),t=oe(...d.map((e=>e.right))),n=ne(...d.map((e=>e.left))),o=d.filter((r=>e?r.left===n:r.right===t)),a=o[0].top,l=o[o.length-1].bottom;return{top:a,bottom:l,left:n,right:t,width:t-n,height:l-a,x:n,y:a}}return f}},floating:n.floating,strategy:l});return o.reference.x!==b.reference.x||o.reference.y!==b.reference.y||o.reference.width!==b.reference.width||o.reference.height!==b.reference.height?{reset:{rects:b}}:{}}}},Ze=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:l}=t,{offset:i=0,mainAxis:u=!0,crossAxis:s=!0}=de(e,t),c={x:r,y:n},d=he(o),f=be(d);let p=c[f],b=c[d];const g=de(i,t),h="number"===typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){const e="y"===f?"height":"width",t=a.reference[f]-a.floating[e]+h.mainAxis,r=a.reference[f]+a.reference[e]-h.mainAxis;p r&&(p=r)}if(s){var m,y;const e="y"===f?"width":"height",t=["top","left"].includes(fe(o)),r=a.reference[d]-a.floating[e]+(t&&(null==(m=l.offset)?void 0:m[d])||0)+(t?0:h.crossAxis),n=a.reference[d]+a.reference[e]+(t?0:(null==(y=l.offset)?void 0:y[d])||0)-(t?h.crossAxis:0);b n&&(b=n)}return{[f]:p,[d]:b}}}},Je=(e,t,r)=>{const n=new Map,o={platform:Be,...r},a={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:l}=r,i=a.filter(Boolean),u=await(null==l.isRTL?void 0:l.isRTL(t));let s=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=ke(s,n,u),f=n,p={},b=0;for(let g=0;g {const{element:t,padding:r}=e;return{name:"arrow",options:e,fn(e){return n=t,Object.prototype.hasOwnProperty.call(n,"current")?null!=t.current?Xe({element:t.current,padding:r}).fn(e):{}:t?Xe({element:t,padding:r}).fn(e):{};var n}}};var tt="undefined"!==typeof document?n.useLayoutEffect:n.useEffect;function rt(e,t){if(e===t)return!0;if(typeof e!==typeof t)return!1;if("function"===typeof e&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;0!==n--;)if(!rt(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!==n--;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!==n--;){const r=o[n];if(("_owner"!==r||!e.$$typeof)&&!rt(e[r],t[r]))return!1}return!0}return e!==e&&t!==t}function nt(e){const t=n.useRef(e);return tt((()=>{t.current=e})),t}var ot="undefined"!==typeof document?n.useLayoutEffect:n.useEffect;let at=!1,lt=0;const it=()=>"floating-ui-"+lt++;const ut=o["useId".toString()]||function(){const[e,t]=n.useState((()=>at?it():void 0));return ot((()=>{null==e&&t(it())}),[]),n.useEffect((()=>{at||(at=!0)}),[]),e};function st(){const e=new Map;return{emit(t,r){var n;null==(n=e.get(t))||n.forEach((e=>e(r)))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){e.set(t,(e.get(t)||[]).filter((e=>e!==r)))}}}const ct=n.createContext(null),dt=n.createContext(null),ft=()=>{var e;return(null==(e=n.useContext(ct))?void 0:e.id)||null},pt=()=>n.useContext(dt),bt=e=>{const t=ut(),r=pt(),n=ft(),o=e||n;return ot((()=>{const e={id:t,parentId:o};return null==r||r.addNode(e),()=>{null==r||r.removeNode(e)}}),[r,t,o]),t},gt=e=>{let{children:t,id:r}=e;const o=ft();return n.createElement(ct.Provider,{value:n.useMemo((()=>({id:r,parentId:o})),[r,o])},t)},ht=e=>{let{children:t}=e;const r=n.useRef([]),o=n.useCallback((e=>{r.current=[...r.current,e]}),[]),a=n.useCallback((e=>{r.current=r.current.filter((t=>t!==e))}),[]),l=n.useState((()=>st()))[0];return n.createElement(dt.Provider,{value:n.useMemo((()=>({nodesRef:r,addNode:o,removeNode:a,events:l})),[r,o,a,l])},t)};function mt(e){return(null==e?void 0:e.ownerDocument)||document}function yt(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function vt(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:r}=e;return t+"/"+r})).join(" "):navigator.userAgent}function wt(e){return mt(e).defaultView||window}function xt(e){return!!e&&e instanceof wt(e).Element}function Ot(e){return!!e&&e instanceof wt(e).HTMLElement}function kt(e){if(0===e.mozInputSource&&e.isTrusted)return!0;const t=/Android/i;return(t.test(yt())||t.test(vt()))&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType}function Ct(e){return 0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"!==e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail}function Pt(){return/apple/i.test(navigator.vendor)}function Tt(){return yt().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function jt(e,t){const r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}function St(e){const t=(0,n.useRef)(e);return ot((()=>{t.current=e})),t}const _t="data-floating-ui-safe-polygon";function Et(e,t,r){return r&&!jt(r)?0:"number"===typeof e?e:null==e?void 0:e[t]}const Mt=function(e,t){let{enabled:r=!0,delay:o=0,handleClose:a=null,mouseOnly:l=!1,restMs:i=0,move:u=!0}=void 0===t?{}:t;const{open:s,onOpenChange:c,dataRef:d,events:f,elements:{domReference:p,floating:b},refs:g}=e,h=pt(),m=ft(),y=St(a),v=St(o),w=n.useRef(),x=n.useRef(),O=n.useRef(),k=n.useRef(),C=n.useRef(!0),P=n.useRef(!1),T=n.useRef((()=>{})),j=n.useCallback((()=>{var e;const t=null==(e=d.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[d]);n.useEffect((()=>{if(r)return f.on("dismiss",e),()=>{f.off("dismiss",e)};function e(){clearTimeout(x.current),clearTimeout(k.current),C.current=!0}}),[r,f]),n.useEffect((()=>{if(!r||!y.current||!s)return;function e(){j()&&c(!1)}const t=mt(b).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[b,s,c,r,y,d,j]);const S=n.useCallback((function(e){void 0===e&&(e=!0);const t=Et(v.current,"close",w.current);t&&!O.current?(clearTimeout(x.current),x.current=setTimeout((()=>c(!1)),t)):e&&(clearTimeout(x.current),c(!1))}),[v,c]),_=n.useCallback((()=>{T.current(),O.current=void 0}),[]),E=n.useCallback((()=>{if(P.current){const e=mt(g.floating.current).body;e.style.pointerEvents="",e.removeAttribute(_t),P.current=!1}}),[g]);return n.useEffect((()=>{if(r&&xt(p)){const e=p;return s&&e.addEventListener("mouseleave",a),null==b||b.addEventListener("mouseleave",a),u&&e.addEventListener("mousemove",n,{once:!0}),e.addEventListener("mouseenter",n),e.addEventListener("mouseleave",o),()=>{s&&e.removeEventListener("mouseleave",a),null==b||b.removeEventListener("mouseleave",a),u&&e.removeEventListener("mousemove",n),e.removeEventListener("mouseenter",n),e.removeEventListener("mouseleave",o)}}function t(){return!!d.current.openEvent&&["click","mousedown"].includes(d.current.openEvent.type)}function n(e){if(clearTimeout(x.current),C.current=!1,l&&!jt(w.current)||i>0&&0===Et(v.current,"open"))return;d.current.openEvent=e;const t=Et(v.current,"open",w.current);t?x.current=setTimeout((()=>{c(!0)}),t):c(!0)}function o(r){if(t())return;T.current();const n=mt(b);if(clearTimeout(k.current),y.current){clearTimeout(x.current),O.current=y.current({...e,tree:h,x:r.clientX,y:r.clientY,onClose(){E(),_(),S()}});const t=O.current;return n.addEventListener("mousemove",t),void(T.current=()=>{n.removeEventListener("mousemove",t)})}S()}function a(r){t()||null==y.current||y.current({...e,tree:h,x:r.clientX,y:r.clientY,onClose(){_(),S()}})(r)}}),[p,b,r,e,l,i,u,S,_,E,c,s,h,v,y,d]),ot((()=>{var e;if(r&&s&&null!=(e=y.current)&&e.__options.blockPointerEvents&&j()){const e=mt(b).body;if(e.setAttribute(_t,""),e.style.pointerEvents="none",P.current=!0,xt(p)&&b){var t,n;const e=p,r=null==h||null==(t=h.nodesRef.current.find((e=>e.id===m)))||null==(n=t.context)?void 0:n.elements.floating;return r&&(r.style.pointerEvents=""),e.style.pointerEvents="auto",b.style.pointerEvents="auto",()=>{e.style.pointerEvents="",b.style.pointerEvents=""}}}}),[r,s,m,b,p,h,y,d,j]),ot((()=>{s||(w.current=void 0,_(),E())}),[s,_,E]),n.useEffect((()=>()=>{_(),clearTimeout(x.current),clearTimeout(k.current),E()}),[r,_,E]),n.useMemo((()=>{if(!r)return{};function e(e){w.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(){s||0===i||(clearTimeout(k.current),k.current=setTimeout((()=>{C.current||c(!0)}),i))}},floating:{onMouseEnter(){clearTimeout(x.current)},onMouseLeave(){f.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),S(!1)}}}}),[f,r,i,s,c,S])},Nt=n.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),Rt=()=>n.useContext(Nt),At=e=>{let{children:t,delay:r,timeoutMs:o=0}=e;const[a,l]=n.useReducer(((e,t)=>({...e,...t})),{delay:r,timeoutMs:o,initialDelay:r,currentId:null,isInstantPhase:!1}),i=n.useRef(null),u=n.useCallback((e=>{l({currentId:e})}),[]);return ot((()=>{a.currentId?null===i.current?i.current=a.currentId:l({isInstantPhase:!0}):(l({isInstantPhase:!1}),i.current=null)}),[a.currentId]),n.createElement(Nt.Provider,{value:n.useMemo((()=>({...a,setState:l,setCurrentId:u})),[a,l,u])},t)},It=(e,t)=>{let{open:r,onOpenChange:o}=e,{id:a}=t;const{currentId:l,setCurrentId:i,initialDelay:u,setState:s,timeoutMs:c}=Rt();n.useEffect((()=>{l&&(s({delay:{open:1,close:Et(u,"close")}}),l!==a&&o(!1))}),[a,o,s,l,u]),n.useEffect((()=>{function e(){o(!1),s({delay:u,currentId:null})}if(!r&&l===a){if(c){const t=window.setTimeout(e,c);return()=>{clearTimeout(t)}}e()}}),[r,s,l,a,o,u,c]),n.useEffect((()=>{r&&i(a)}),[r,i,a])};function Lt(){return Lt=Object.assign||function(e){for(var t=1;t null==e?void 0:e.focus({preventScroll:r});o?a():Dt=requestAnimationFrame(a)}function Bt(e,t){let r=e.filter((e=>{var r;return e.parentId===t&&(null==(r=e.context)?void 0:r.open)}))||[],n=r;for(;n.length;)n=e.filter((e=>{var t;return null==(t=n)?void 0:t.some((t=>{var r;return e.parentId===t.id&&(null==(r=e.context)?void 0:r.open)}))}))||[],r=r.concat(n);return r}function Wt(e){return"composedPath"in e?e.composedPath()[0]:e.target}const Ht="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function Ut(e){return Ot(e)&&e.matches(Ht)}function qt(e){e.preventDefault(),e.stopPropagation()}const $t=()=>({getShadowRoot:!0,displayCheck:"function"===typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function Kt(e,t){const r=N(e,$t());"prev"===t&&r.reverse();const n=r.indexOf(zt(mt(e)));return r.slice(n+1)[0]}function Gt(){return Kt(document.body,"next")}function Yt(){return Kt(document.body,"prev")}function Xt(e,t){const r=t||e.currentTarget,n=e.relatedTarget;return!n||!Ft(r,n)}function Qt(e){N(e,$t()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function Zt(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const Jt=o["useInsertionEffect".toString()]||(e=>e());function er(e){const t=n.useRef((()=>{0}));return Jt((()=>{t.current=e})),n.useCallback((function(){for(var e=arguments.length,r=new Array(e),n=0;n (Pt()&&a("button"),document.addEventListener("keydown",or),()=>{document.removeEventListener("keydown",or)})),[]),n.createElement("span",Lt({},e,{ref:t,tabIndex:0,role:o,"aria-hidden":!o||void 0,"data-floating-ui-focus-guard":"",style:tr,onFocus:e=>{Pt()&&Tt()&&!function(e){const t=rr===e.relatedTarget;return rr=e.relatedTarget,clearTimeout(nr),t}(e)?(e.persist(),nr=window.setTimeout((()=>{r(e)}),50)):r(e)}}))})),lr=n.createContext(null),ir=function(e){let{id:t,enabled:r=!0}=void 0===e?{}:e;const[o,a]=n.useState(null),l=ut(),i=sr();return ot((()=>{if(!r)return;const e=t?document.getElementById(t):null;if(!e){const e=document.createElement("div");""!==t&&(e.id=t||l),e.setAttribute("data-floating-ui-portal",""),a(e);const r=(null==i?void 0:i.portalNode)||document.body;return r.appendChild(e),()=>{r.removeChild(e)}}e.setAttribute("data-floating-ui-portal",""),a(e)}),[t,i,l,r]),o},ur=e=>{let{children:t,id:r,root:o=null,preserveTabOrder:a=!0}=e;const l=ir({id:r,enabled:!o}),[i,u]=n.useState(null),s=n.useRef(null),c=n.useRef(null),d=n.useRef(null),f=n.useRef(null),p=!!i&&!i.modal&&!(!o&&!l)&&a;return n.useEffect((()=>{if(l&&a&&(null==i||!i.modal))return l.addEventListener("focusin",e,!0),l.addEventListener("focusout",e,!0),()=>{l.removeEventListener("focusin",e,!0),l.removeEventListener("focusout",e,!0)};function e(e){if(l&&Xt(e)){("focusin"===e.type?Zt:Qt)(l)}}}),[l,a,null==i?void 0:i.modal]),n.createElement(lr.Provider,{value:n.useMemo((()=>({preserveTabOrder:a,beforeOutsideRef:s,afterOutsideRef:c,beforeInsideRef:d,afterInsideRef:f,portalNode:l,setFocusManagerState:u})),[a,l])},p&&l&&n.createElement(ar,{"data-type":"outside",ref:s,onFocus:e=>{if(Xt(e,l)){var t;null==(t=d.current)||t.focus()}else{const e=Yt()||(null==i?void 0:i.refs.domReference.current);null==e||e.focus()}}}),p&&l&&n.createElement("span",{"aria-owns":l.id,style:tr}),o?(0,R.createPortal)(t,o):l?(0,R.createPortal)(t,l):null,p&&l&&n.createElement(ar,{"data-type":"outside",ref:c,onFocus:e=>{if(Xt(e,l)){var t;null==(t=f.current)||t.focus()}else{const e=Gt()||(null==i?void 0:i.refs.domReference.current);null==e||e.focus(),(null==i?void 0:i.closeOnFocusOut)&&(null==i||i.onOpenChange(!1))}}}))},sr=()=>n.useContext(lr),cr=n.forwardRef((function(e,t){return n.createElement("button",Lt({},e,{type:"button",ref:t,tabIndex:-1,style:tr}))}));function dr(e){let{context:t,children:r,order:o=["content"],guards:a=!0,initialFocus:l=0,returnFocus:i=!0,modal:u=!0,visuallyHiddenDismiss:s=!1,closeOnFocusOut:c=!0}=e;const{refs:d,nodeId:p,onOpenChange:b,events:g,dataRef:h,elements:{domReference:m,floating:y}}=t,v=St(o),w=pt(),x=sr(),[O,k]=n.useState(null),C="number"===typeof l&&l<0,P=n.useRef(null),T=n.useRef(null),j=n.useRef(!1),S=n.useRef(null),_=n.useRef(!1),E=null!=x,M=m&&"combobox"===m.getAttribute("role")&&Ut(m),R=n.useCallback((function(e){return void 0===e&&(e=y),e?N(e,$t()):[]}),[y]),A=n.useCallback((e=>{const t=R(e);return v.current.map((e=>m&&"reference"===e?m:y&&"floating"===e?y:t)).filter(Boolean).flat()}),[m,y,v,R]);n.useEffect((()=>{if(!u)return;function e(e){if("Tab"===e.key){0!==R().length||M||qt(e);const t=A(),r=Wt(e);"reference"===v.current[0]&&r===m&&(qt(e),e.shiftKey?Vt(t[t.length-1]):Vt(t[1])),"floating"===v.current[1]&&r===y&&e.shiftKey&&(qt(e),Vt(t[0]))}}const t=mt(y);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}}),[m,y,u,v,d,M,R,A]),n.useEffect((()=>{if(c)return y&&Ot(m)?(m.addEventListener("focusout",t),m.addEventListener("pointerdown",e),!u&&y.addEventListener("focusout",t),()=>{m.removeEventListener("focusout",t),m.removeEventListener("pointerdown",e),!u&&y.removeEventListener("focusout",t)}):void 0;function e(){_.current=!0,setTimeout((()=>{_.current=!1}))}function t(e){const t=e.relatedTarget,r=!(Ft(m,t)||Ft(y,t)||Ft(t,y)||Ft(null==x?void 0:x.portalNode,t)||null!=t&&t.hasAttribute("data-floating-ui-focus-guard")||w&&(Bt(w.nodesRef.current,p).find((e=>{var r,n;return Ft(null==(r=e.context)?void 0:r.elements.floating,t)||Ft(null==(n=e.context)?void 0:n.elements.domReference,t)}))||function(e,t){var r;let n=[],o=null==(r=e.find((e=>e.id===t)))?void 0:r.parentId;for(;o;){const t=e.find((e=>e.id===o));o=null==t?void 0:t.parentId,t&&(n=n.concat(t))}return n}(w.nodesRef.current,p).find((e=>{var r,n;return(null==(r=e.context)?void 0:r.elements.floating)===t||(null==(n=e.context)?void 0:n.elements.domReference)===t}))));t&&r&&!_.current&&t!==S.current&&(j.current=!0,setTimeout((()=>b(!1))))}}),[m,y,u,p,w,x,b,c]),n.useEffect((()=>{var e;const t=Array.from((null==x||null==(e=x.portalNode)?void 0:e.querySelectorAll("[data-floating-ui-portal]"))||[]);if(y&&u){const e=[y,...t,...[P.current,T.current].filter(Boolean)],r=f(v.current.includes("reference")||M?e.concat(m||[]):e);return()=>{r()}}}),[m,y,u,v,x,M]),n.useEffect((()=>{if(u&&!a&&y){const e=[],t=$t(),r=N(mt(y).body,t),n=A(),o=r.filter((e=>!n.includes(e)));return o.forEach(((t,r)=>{e[r]=t.getAttribute("tabindex"),t.setAttribute("tabindex","-1")})),()=>{o.forEach(((t,r)=>{const n=e[r];null==n?t.removeAttribute("tabindex"):t.setAttribute("tabindex",n)}))}}}),[y,u,a,A]),ot((()=>{if(!y)return;const e=mt(y);let t=i,r=!1;const n=zt(e),o=h.current;S.current=n;const a=A(y),u=("number"===typeof l?a[l]:l.current)||y;function s(e){if("escapeKey"===e.type&&d.domReference.current&&(S.current=d.domReference.current),["referencePress","escapeKey"].includes(e.type))return;const n=e.data.returnFocus;"object"===typeof n?(t=!0,r=n.preventScroll):t=n}return!C&&Vt(u,{preventScroll:u===y}),g.on("dismiss",s),()=>{var n;(g.off("dismiss",s),Ft(y,zt(e))&&d.domReference.current&&(S.current=d.domReference.current),t&&Ot(S.current)&&!j.current)&&(!d.domReference.current||_.current?Vt(S.current,{cancelPrevious:!1,preventScroll:r}):(o.__syncReturnFocus=!0,null==(n=S.current)||n.focus({preventScroll:r}),setTimeout((()=>{delete o.__syncReturnFocus}))))}}),[y,A,l,i,h,d,g,C]),ot((()=>{if(x)return x.setFocusManagerState({...t,modal:u,closeOnFocusOut:c}),()=>{x.setFocusManagerState(null)}}),[x,u,c,t]),ot((()=>{if(!C&&y&&(e(),"function"===typeof MutationObserver)){const t=new MutationObserver(e);return t.observe(y,{childList:!0,subtree:!0}),()=>{t.disconnect()}}function e(){k(R().length)}}),[y,R,C,d]);const I=a&&(E||u)&&!M;function L(e){return s&&u?n.createElement(cr,{ref:"start"===e?P:T,onClick:()=>b(!1)},"string"===typeof s?s:"Dismiss"):null}return n.createElement(n.Fragment,null,I&&n.createElement(ar,{"data-type":"inside",ref:null==x?void 0:x.beforeInsideRef,onFocus:e=>{if(u){const e=A();Vt("reference"===o[0]?e[0]:e[e.length-1])}else if(null!=x&&x.preserveTabOrder&&x.portalNode)if(j.current=!1,Xt(e,x.portalNode)){const e=Gt()||m;null==e||e.focus()}else{var t;null==(t=x.beforeOutsideRef.current)||t.focus()}}}),M?null:L("start"),n.cloneElement(r,0===O||o.includes("floating")?{tabIndex:0}:{}),L("end"),I&&n.createElement(ar,{"data-type":"inside",ref:null==x?void 0:x.afterInsideRef,onFocus:e=>{if(u)Vt(A()[0]);else if(null!=x&&x.preserveTabOrder&&x.portalNode)if(j.current=!0,Xt(e,x.portalNode)){const e=Yt()||m;null==e||e.focus()}else{var t;null==(t=x.afterOutsideRef.current)||t.focus()}}}))}const fr="data-floating-ui-scroll-lock",pr=n.forwardRef((function(e,t){let{lockScroll:r=!1,...o}=e;return ot((()=>{var e,t;if(!r)return;if(document.body.hasAttribute(fr))return;document.body.setAttribute(fr,"");const n=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",o=window.innerWidth-document.documentElement.clientWidth;if(!/iP(hone|ad|od)|iOS/.test(yt()))return Object.assign(document.body.style,{overflow:"hidden",[n]:o+"px"}),()=>{document.body.removeAttribute(fr),Object.assign(document.body.style,{overflow:"",[n]:""})};const a=(null==(e=window.visualViewport)?void 0:e.offsetLeft)||0,l=(null==(t=window.visualViewport)?void 0:t.offsetTop)||0,i=window.pageXOffset,u=window.pageYOffset;return Object.assign(document.body.style,{position:"fixed",overflow:"hidden",top:-(u-Math.floor(l))+"px",left:-(i-Math.floor(a))+"px",right:"0",[n]:o+"px"}),()=>{Object.assign(document.body.style,{position:"",overflow:"",top:"",left:"",right:"",[n]:""}),document.body.removeAttribute(fr),window.scrollTo(i,u)}}),[r]),n.createElement("div",Lt({ref:t},o,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...o.style}}))}));function br(e){return Ot(e.target)&&"BUTTON"===e.target.tagName}function gr(e){return Ut(e)}const hr=function(e,t){let{open:r,onOpenChange:o,dataRef:a,elements:{domReference:l}}=e,{enabled:i=!0,event:u="click",toggle:s=!0,ignoreMouse:c=!1,keyboardHandlers:d=!0}=void 0===t?{}:t;const f=n.useRef();return n.useMemo((()=>i?{reference:{onPointerDown(e){f.current=e.pointerType},onMouseDown(e){0===e.button&&(jt(f.current,!0)&&c||"click"!==u&&(r?!s||a.current.openEvent&&"mousedown"!==a.current.openEvent.type||o(!1):(e.preventDefault(),o(!0)),a.current.openEvent=e.nativeEvent))},onClick(e){a.current.__syncReturnFocus||("mousedown"===u&&f.current?f.current=void 0:jt(f.current,!0)&&c||(r?!s||a.current.openEvent&&"click"!==a.current.openEvent.type||o(!1):o(!0),a.current.openEvent=e.nativeEvent))},onKeyDown(e){f.current=void 0,d&&(br(e)||(" "!==e.key||gr(l)||e.preventDefault(),"Enter"===e.key&&(r?s&&o(!1):o(!0))))},onKeyUp(e){d&&(br(e)||gr(l)||" "===e.key&&(r?s&&o(!1):o(!0)))}}}:{}),[i,a,u,c,d,l,s,r,o])};function mr(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return null!=r.target&&t.contains(r.target)}const yr={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},vr={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},wr=function(e,t){let{open:r,onOpenChange:o,events:a,nodeId:l,elements:{reference:i,domReference:u,floating:s},dataRef:c}=e,{enabled:d=!0,escapeKey:f=!0,outsidePress:p=!0,outsidePressEvent:b="pointerdown",referencePress:g=!1,referencePressEvent:h="pointerdown",ancestorScroll:m=!1,bubbles:y=!0}=void 0===t?{}:t;const v=pt(),w=null!=ft(),x=er("function"===typeof p?p:()=>!1),O="function"===typeof p?x:p,k=n.useRef(!1),{escapeKeyBubbles:C,outsidePressBubbles:P}=function(e){var t,r;return void 0===e&&(e=!0),{escapeKeyBubbles:"boolean"===typeof e?e:null==(t=e.escapeKey)||t,outsidePressBubbles:"boolean"===typeof e?e:null==(r=e.outsidePress)||r}}(y);return n.useEffect((()=>{if(!r||!d)return;function e(e){if("Escape"===e.key){const e=v?Bt(v.nodesRef.current,l):[];if(e.length>0){let t=!0;if(e.forEach((e=>{var r;null==(r=e.context)||!r.open||e.context.dataRef.current.__escapeKeyBubbles||(t=!1)})),!t)return}a.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),o(!1)}}function t(e){const t=k.current;if(k.current=!1,t)return;if("function"===typeof O&&!O(e))return;const r=Wt(e);if(Ot(r)&&s){const t=s.ownerDocument.defaultView||window,n=r.scrollWidth>r.clientWidth,o=r.scrollHeight>r.clientHeight;let a=o&&e.offsetX>r.clientWidth;if(o){"rtl"===t.getComputedStyle(r).direction&&(a=e.offsetX<=r.offsetWidth-r.clientWidth)}if(a||n&&e.offsetY>r.clientHeight)return}const n=v&&Bt(v.nodesRef.current,l).some((t=>{var r;return mr(e,null==(r=t.context)?void 0:r.elements.floating)}));if(mr(e,s)||mr(e,u)||n)return;const i=v?Bt(v.nodesRef.current,l):[];if(i.length>0){let e=!0;if(i.forEach((t=>{var r;null==(r=t.context)||!r.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}a.emit("dismiss",{type:"outsidePress",data:{returnFocus:w?{preventScroll:!0}:kt(e)||Ct(e)}}),o(!1)}function n(){o(!1)}c.current.__escapeKeyBubbles=C,c.current.__outsidePressBubbles=P;const p=mt(s);f&&p.addEventListener("keydown",e),O&&p.addEventListener(b,t);let g=[];return m&&(xt(u)&&(g=Z(u)),xt(s)&&(g=g.concat(Z(s))),!xt(i)&&i&&i.contextElement&&(g=g.concat(Z(i.contextElement)))),g=g.filter((e=>{var t;return e!==(null==(t=p.defaultView)?void 0:t.visualViewport)})),g.forEach((e=>{e.addEventListener("scroll",n,{passive:!0})})),()=>{f&&p.removeEventListener("keydown",e),O&&p.removeEventListener(b,t),g.forEach((e=>{e.removeEventListener("scroll",n)}))}}),[c,s,u,i,f,O,b,a,v,l,r,o,m,d,C,P,w]),n.useEffect((()=>{k.current=!1}),[O,b]),n.useMemo((()=>d?{reference:{[yr[h]]:()=>{g&&(a.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),o(!1))}},floating:{[vr[b]]:()=>{k.current=!0}}}:{}),[d,a,g,b,h,o])},xr=function(e,t){let{open:r,onOpenChange:o,dataRef:a,events:l,refs:i,elements:{floating:u,domReference:s}}=e,{enabled:c=!0,keyboardOnly:d=!0}=void 0===t?{}:t;const f=n.useRef(""),p=n.useRef(!1),b=n.useRef();return n.useEffect((()=>{if(!c)return;const e=mt(u).defaultView||window;function t(){!r&&Ot(s)&&s===zt(mt(s))&&(p.current=!0)}return e.addEventListener("blur",t),()=>{e.removeEventListener("blur",t)}}),[u,s,r,c]),n.useEffect((()=>{if(c)return l.on("dismiss",e),()=>{l.off("dismiss",e)};function e(e){"referencePress"!==e.type&&"escapeKey"!==e.type||(p.current=!0)}}),[l,c]),n.useEffect((()=>()=>{clearTimeout(b.current)}),[]),n.useMemo((()=>c?{reference:{onPointerDown(e){let{pointerType:t}=e;f.current=t,p.current=!(!t||!d)},onMouseLeave(){p.current=!1},onFocus(e){var t;p.current||"focus"===e.type&&"mousedown"===(null==(t=a.current.openEvent)?void 0:t.type)&&a.current.openEvent&&mr(a.current.openEvent,s)||(a.current.openEvent=e.nativeEvent,o(!0))},onBlur(e){p.current=!1;const t=e.relatedTarget,r=xt(t)&&t.hasAttribute("data-floating-ui-focus-guard")&&"outside"===t.getAttribute("data-type");b.current=setTimeout((()=>{Ft(i.floating.current,t)||Ft(s,t)||r||o(!1)}))}}}:{}),[c,d,s,i,a,o])};let Or=!1;const kr="ArrowUp",Cr="ArrowDown",Pr="ArrowLeft",Tr="ArrowRight";function jr(e,t,r){return Math.floor(e/t)!==r}function Sr(e,t){return t<0||t>=e.current.length}function _r(e,t){let{startingIndex:r=-1,decrement:n=!1,disabledIndices:o,amount:a=1}=void 0===t?{}:t;const l=e.current;let i=r;do{var u,s;i+=n?-a:a}while(i>=0&&i<=l.length-1&&(o?o.includes(i):null==l[i]||(null==(u=l[i])?void 0:u.hasAttribute("disabled"))||"true"===(null==(s=l[i])?void 0:s.getAttribute("aria-disabled"))));return i}function Er(e,t,r){switch(e){case"vertical":return t;case"horizontal":return r;default:return t||r}}function Mr(e,t){return Er(t,e===kr||e===Cr,e===Pr||e===Tr)}function Nr(e,t,r){return Er(t,e===Cr,r?e===Pr:e===Tr)||"Enter"===e||" "==e||""===e}function Rr(e,t){return _r(e,{disabledIndices:t})}function Ar(e,t){return _r(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}const Ir=function(e,t){let{open:r,onOpenChange:o,refs:a,elements:{domReference:l}}=e,{listRef:i,activeIndex:u,onNavigate:s=()=>{},enabled:c=!0,selectedIndex:d=null,allowEscape:f=!1,loop:p=!1,nested:b=!1,rtl:g=!1,virtual:h=!1,focusItemOnOpen:m="auto",focusItemOnHover:y=!0,openOnArrowKeyDown:v=!0,disabledIndices:w,orientation:x="vertical",cols:O=1,scrollItemIntoView:k=!0}=void 0===t?{listRef:{current:[]},activeIndex:null,onNavigate:()=>{}}:t;const C=ft(),P=pt(),T=er(s),j=n.useRef(m),S=n.useRef(null!=d?d:-1),_=n.useRef(null),E=n.useRef(!0),M=n.useRef(T),N=n.useRef(r),A=n.useRef(!1),I=n.useRef(!1),L=St(w),z=St(r),F=St(k),[D,V]=n.useState(),B=n.useCallback((function(e,t,r){void 0===r&&(r=!1);const n=e.current[t.current];h?V(null==n?void 0:n.id):Vt(n,{preventScroll:!0,sync:!(!Tt()||!Pt())&&(Or||A.current)}),requestAnimationFrame((()=>{const e=F.current;e&&n&&(r||!E.current)&&(null==n.scrollIntoView||n.scrollIntoView("boolean"===typeof e?{block:"nearest",inline:"nearest"}:e))}))}),[h,F]);ot((()=>{document.createElement("div").focus({get preventScroll(){return Or=!0,!1}})}),[]),ot((()=>{c&&(r?j.current&&null!=d&&(I.current=!0,T(d)):N.current&&(S.current=-1,M.current(null)))}),[c,r,d,T]),ot((()=>{if(c&&r)if(null==u){if(A.current=!1,null!=d)return;N.current&&(S.current=-1,B(i,S)),!N.current&&j.current&&(null!=_.current||!0===j.current&&null==_.current)&&(S.current=null==_.current||Nr(_.current,x,g)||b?Rr(i,L.current):Ar(i,L.current),T(S.current))}else Sr(i,u)||(S.current=u,B(i,S,I.current),I.current=!1)}),[c,r,u,d,b,i,x,g,T,B,L]),ot((()=>{if(c&&N.current&&!r){var e,t;const r=null==P||null==(e=P.nodesRef.current.find((e=>e.id===C)))||null==(t=e.context)?void 0:t.elements.floating;r&&!Ft(r,zt(mt(r)))&&r.focus({preventScroll:!0})}}),[c,r,P,C]),ot((()=>{_.current=null,M.current=T,N.current=r}));const W=null!=u,H=n.useMemo((()=>{function e(e){if(!r)return;const t=i.current.indexOf(e);-1!==t&&T(t)}return{onFocus(t){let{currentTarget:r}=t;e(r)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...y&&{onMouseMove(t){let{currentTarget:r}=t;e(r)},onPointerLeave(){var e;E.current&&(S.current=-1,B(i,S),(0,R.flushSync)((()=>T(null))),h||null==(e=a.floating.current)||e.focus({preventScroll:!0}))}}}}),[r,a,B,y,i,T,h]);return n.useMemo((()=>{if(!c)return{};const e=L.current;function t(t){if(E.current=!1,A.current=!0,!z.current&&t.currentTarget===a.floating.current)return;if(b&&function(e,t,r){return Er(t,r?e===Tr:e===Pr,e===kr)}(t.key,x,g))return qt(t),o(!1),void(Ot(l)&&l.focus());const n=S.current,u=Rr(i,e),s=Ar(i,e);if("Home"===t.key&&(S.current=u,T(S.current)),"End"===t.key&&(S.current=s,T(S.current)),O>1){const r=S.current;if(t.key===kr){if(qt(t),-1===r)S.current=s;else if(S.current=_r(i,{startingIndex:r,amount:O,decrement:!0,disabledIndices:e}),p&&(r-O