diff --git a/assets/index-4pvrwOUU.css b/assets/index-4pvrwOUU.css deleted file mode 100644 index 2e536ed..0000000 --- a/assets/index-4pvrwOUU.css +++ /dev/null @@ -1 +0,0 @@ -body,h1,ul{margin:0;padding:0}body{font-family:Arial,sans-serif;background-color:#f0f0f0}.navbar{background-color:#4caf50;color:#fff;padding:15px;display:flex;justify-content:space-between;align-items:center;font-size:20px}.navbar .luxury{display:flex;align-items:center;justify-content:center;width:650px}.navbar .luxury img{height:70px;width:70px;border-radius:50%;margin-right:15px}.navbar a{color:#fff;font-size:30px;text-decoration:none}.navbar .cart{cursor:pointer;display:flex;align-items:center}.product-grid{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;gap:30px;width:100%}.product-list{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;width:100%}.product-card{flex:1 1 calc(33.33% - 20px);max-width:calc(33.33% - 20px);background-color:#fff;border:1px solid #ccc;border-radius:5px;padding:20px;text-align:center;transition:transform .3s ease}.product-card:hover{transform:scale(1.05)}.product-image{width:100%;height:200px;object-fit:cover;margin-bottom:15px}.product-title{font-weight:700;font-size:1.2rem;margin-bottom:10px}.product-description{font-size:.9rem;color:#555;margin-bottom:15px}.product-price{color:#e74c3c;font-size:1rem;margin-bottom:15px}.product-button{background-color:#4caf50;border:none;color:#fff;padding:10px 20px;cursor:pointer;font-size:1rem;border-radius:3px;transition:background-color .3s ease}.product-button:hover{background-color:#45a049}.product-button.added-to-cart{background-color:gray;cursor:not-allowed}@media (max-width: 1200px){.product-card{flex:1 1 calc(33.33% - 20px);max-width:calc(33.33% - 20px)}}@media (max-width: 768px){.product-card{flex:1 1 calc(50% - 20px);max-width:calc(50% - 20px)}.navbar{flex-direction:column;align-items:center}.luxury{margin-bottom:20px;text-align:center}}.cart-item{display:flex;border-bottom:1px solid #ccc;padding:10px 0;background-color:#fff;width:500px;gap:30px}.cart-item-image{width:200px;height:200px;margin-right:20px}.cart-item-details{flex-grow:1}.cart-item-name{font-weight:700;margin-bottom:5px;font-size:25px}.cart-item-cost{margin-bottom:10px;margin-top:10px}.cart-item-quantity{display:flex;align-items:center;margin-bottom:15px}.cart-item-button{background-color:#f0f0f0;border:1px solid lightgrey;color:#333;font-size:18px;cursor:pointer;padding:5px 10px;margin:0 5px;border-radius:5px}.cart-item-quantity-value{font-size:16px;font-weight:700;margin:0 10px}.cart-item-total{font-weight:700}.cart-item-delete{background-color:#ff6961;border:none;color:#fff;font-size:14px;cursor:pointer;padding:10px 15px;margin-top:10px;border-radius:10px}.cart-item-delete:hover{background-color:#c00}@media (max-width: 768px){.cart-item{flex-direction:column;align-items:flex-start;width:100%}.cart-item-image{width:100%;height:auto;margin-right:0;margin-bottom:10px}.cart-item-details{width:100%}.cart-item-quantity{margin-top:10px}}.cart-container{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:20px;margin-top:20px}.total_cart_amount{font-size:20px;font-weight:900}.continue_shopping_btn{margin-top:-50px}@media (max-width: 768px){.cart-container{padding:10px}.total_cart_amount{font-size:18px}}.get-started-button1{padding:15px 75px;font-size:23px;border:none;border-radius:5px;background-color:#4caf50;color:#fff;cursor:pointer;transition:background-color .3s ease;margin-top:40px}*{margin:0;padding:0;box-sizing:border-box;overflow:hidden}.landing-page{position:relative;width:100vw;height:100vh;background-color:#f8f8f8}.background-image{position:absolute;top:0;left:0;width:100%;height:100%;background-image:url(https://cdn.pixabay.com/photo/2017/07/13/08/59/greenhouse-2499758_1280.jpg);background-size:100% 100%;background-position:center;filter:brightness(.8)}.content{display:flex;align-items:center;justify-content:center;height:100vh;width:100vw;top:100px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#00000080;gap:20px}.landing_content{margin-top:430px;margin-left:100px;transform:translate(-50%,-50%);z-index:1;text-align:center;width:400px;height:400px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:10px}.content p,.content h1{color:#fff}.content h1{font-size:48px;margin-bottom:10px}.content p{font-size:25px}.divider{width:50px;height:2px;background-color:#4caf50;margin:10px 0}.get-started-button{padding:15px 25px;font-size:23px;border:none;border-radius:5px;background-color:#4caf50;color:#fff;cursor:pointer;transition:background-color .3s ease;margin-top:40px}.get-started-button:hover{background-color:#45a049}.product-list-container{position:absolute;overflow-x:hidden;top:100vh;left:0;width:100%;height:100vh;background-color:#ffffffe6;transition:top .5s ease;overflow-y:auto;z-index:2;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.product-list-container.visible{top:0}@media screen and (max-width: 768px){.content{flex-direction:column;align-items:center;width:100vw;height:100vh}.landing_content{margin-top:100px;margin-left:0;width:80%;text-align:center}.aboutus_container{margin-top:20px;width:80%}}@media screen and (max-width: 480px){.landing_content{margin-top:50px;width:90%}.aboutus_container{width:90%}}.about-us-container{width:1000px;text-align:justify}.about-us-heading{font-size:32px;font-weight:700;color:#333;margin-bottom:20px}.about-us-description{font-size:18px;color:#666;margin-bottom:30px;text-align:center}.about-us-content{font-size:18px;margin-bottom:20px}.plant_logo_right{text-align:right}.plant_logo_left{text-align:left} diff --git a/assets/index-BOyeTMXF.js b/assets/index-BssT_vgV.js similarity index 61% rename from assets/index-BOyeTMXF.js rename to assets/index-BssT_vgV.js index e374935..728a9f7 100644 --- a/assets/index-BOyeTMXF.js +++ b/assets/index-BssT_vgV.js @@ -1,4 +1,4 @@ -function zf(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function Rf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xs={exports:{}},xl={},Gs={exports:{}},O={};/** +function zf(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function Rf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xs={exports:{}},xl={},Gs={exports:{}},O={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function zf(e,t){for(var n=0;n>>1,G=P[H];if(0>>1;Hl(Kl,R))Ctl(vr,Kl)?(P[H]=vr,P[Ct]=R,H=Ct):(P[H]=Kl,P[xt]=R,H=xt);else if(Ctl(vr,R))P[H]=vr,P[Ct]=R,H=Ct;else break e}}return z}function l(P,z){var R=P.sortIndex-z.sortIndex;return R!==0?R:P.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],a=[],f=1,m=null,h=3,g=!1,v=!1,S=!1,T=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(P){for(var z=n(a);z!==null;){if(z.callback===null)r(a);else if(z.startTime<=P)r(a),z.sortIndex=z.expirationTime,t(s,z);else break;z=n(a)}}function y(P){if(S=!1,d(P),!v)if(n(s)!==null)v=!0,Hl(k);else{var z=n(a);z!==null&&Ql(y,z.startTime-P)}}function k(P,z){v=!1,S&&(S=!1,p(E),E=-1),g=!0;var R=h;try{for(d(z),m=n(s);m!==null&&(!(m.expirationTime>z)||P&&!ye());){var H=m.callback;if(typeof H=="function"){m.callback=null,h=m.priorityLevel;var G=H(m.expirationTime<=z);z=e.unstable_now(),typeof G=="function"?m.callback=G:m===n(s)&&r(s),d(z)}else r(s);m=n(s)}if(m!==null)var yr=!0;else{var xt=n(a);xt!==null&&Ql(y,xt.startTime-z),yr=!1}return yr}finally{m=null,h=R,g=!1}}var _=!1,x=null,E=-1,A=5,j=-1;function ye(){return!(e.unstable_now()-jP||125H?(P.sortIndex=R,t(a,P),n(s)===null&&P===n(a)&&(S?(p(E),E=-1):S=!0,Ql(y,R-H))):(P.sortIndex=G,t(s,P),v||g||(v=!0,Hl(k))),P},e.unstable_shouldYield=ye,e.unstable_wrapCallback=function(P){var z=h;return function(){var R=h;h=z;try{return P.apply(this,arguments)}finally{h=R}}}})(ia);oa.exports=ia;var Jf=oa.exports;/** + */(function(e){function t(P,z){var R=P.length;P.push(z);e:for(;0>>1,G=P[H];if(0>>1;Hl(Kl,R))Ctl(vr,Kl)?(P[H]=vr,P[Ct]=R,H=Ct):(P[H]=Kl,P[xt]=R,H=xt);else if(Ctl(vr,R))P[H]=vr,P[Ct]=R,H=Ct;else break e}}return z}function l(P,z){var R=P.sortIndex-z.sortIndex;return R!==0?R:P.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],a=[],f=1,m=null,h=3,g=!1,v=!1,S=!1,T=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(P){for(var z=n(a);z!==null;){if(z.callback===null)r(a);else if(z.startTime<=P)r(a),z.sortIndex=z.expirationTime,t(s,z);else break;z=n(a)}}function y(P){if(S=!1,d(P),!v)if(n(s)!==null)v=!0,Hl(k);else{var z=n(a);z!==null&&Ql(y,z.startTime-P)}}function k(P,z){v=!1,S&&(S=!1,p(x),x=-1),g=!0;var R=h;try{for(d(z),m=n(s);m!==null&&(!(m.expirationTime>z)||P&&!ye());){var H=m.callback;if(typeof H=="function"){m.callback=null,h=m.priorityLevel;var G=H(m.expirationTime<=z);z=e.unstable_now(),typeof G=="function"?m.callback=G:m===n(s)&&r(s),d(z)}else r(s);m=n(s)}if(m!==null)var yr=!0;else{var xt=n(a);xt!==null&&Ql(y,xt.startTime-z),yr=!1}return yr}finally{m=null,h=R,g=!1}}var E=!1,C=null,x=-1,A=5,j=-1;function ye(){return!(e.unstable_now()-jP||125H?(P.sortIndex=R,t(a,P),n(s)===null&&P===n(a)&&(S?(p(x),x=-1):S=!0,Ql(y,R-H))):(P.sortIndex=G,t(s,P),v||g||(v=!0,Hl(k))),P},e.unstable_shouldYield=ye,e.unstable_wrapCallback=function(P){var z=h;return function(){var R=h;h=z;try{return P.apply(this,arguments)}finally{h=R}}}})(oa);ia.exports=oa;var Jf=ia.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function zf(e,t){for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xo=Object.prototype.hasOwnProperty,ed=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Tu={},zu={};function td(e){return xo.call(zu,e)?!0:xo.call(Tu,e)?!1:ed.test(e)?zu[e]=!0:(Tu[e]=!0,!1)}function nd(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function rd(e,t,n,r){if(t===null||typeof t>"u"||nd(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ae(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){te[e]=new ae(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];te[t]=new ae(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){te[e]=new ae(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){te[e]=new ae(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){te[e]=new ae(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){te[e]=new ae(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){te[e]=new ae(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){te[e]=new ae(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){te[e]=new ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var Pi=/[\-:]([a-z])/g;function Ti(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Pi,Ti);te[t]=new ae(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(Pi,Ti);te[t]=new ae(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(Pi,Ti);te[t]=new ae(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){te[e]=new ae(e,1,!1,e.toLowerCase(),null,!1,!1)});te.xlinkHref=new ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){te[e]=new ae(e,1,!1,e.toLowerCase(),null,!0,!0)});function zi(e,t,n,r){var l=te.hasOwnProperty(t)?te[t]:null;(l!==null?l.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ei=Object.prototype.hasOwnProperty,ed=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Tu={},zu={};function td(e){return Ei.call(zu,e)?!0:Ei.call(Tu,e)?!1:ed.test(e)?zu[e]=!0:(Tu[e]=!0,!1)}function nd(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function rd(e,t,n,r){if(t===null||typeof t>"u"||nd(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ae(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){te[e]=new ae(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];te[t]=new ae(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){te[e]=new ae(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){te[e]=new ae(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){te[e]=new ae(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){te[e]=new ae(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){te[e]=new ae(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){te[e]=new ae(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){te[e]=new ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var Po=/[\-:]([a-z])/g;function To(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Po,To);te[t]=new ae(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(Po,To);te[t]=new ae(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(Po,To);te[t]=new ae(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){te[e]=new ae(e,1,!1,e.toLowerCase(),null,!1,!1)});te.xlinkHref=new ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){te[e]=new ae(e,1,!1,e.toLowerCase(),null,!0,!0)});function zo(e,t,n,r){var l=te.hasOwnProperty(t)?te[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` -`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Gl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?jn(e):""}function ld(e){switch(e.tag){case 5:return jn(e.type);case 16:return jn("Lazy");case 13:return jn("Suspense");case 19:return jn("SuspenseList");case 0:case 2:case 15:return e=Zl(e.type,!1),e;case 11:return e=Zl(e.type.render,!1),e;case 1:return e=Zl(e.type,!0),e;default:return""}}function To(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Qt:return"Fragment";case Ht:return"Portal";case Co:return"Profiler";case Ri:return"StrictMode";case No:return"Suspense";case Po:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case aa:return(e.displayName||"Context")+".Consumer";case sa:return(e._context.displayName||"Context")+".Provider";case ji:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Oi:return t=e.displayName||null,t!==null?t:To(e.type)||"Memo";case rt:t=e._payload,e=e._init;try{return To(e(t))}catch{}}return null}function od(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return To(t);case 8:return t===Ri?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function vt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function fa(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function id(e){var t=fa(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Sr(e){e._valueTracker||(e._valueTracker=id(e))}function da(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=fa(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Gr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function zo(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ju(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=vt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function pa(e,t){t=t.checked,t!=null&&zi(e,"checked",t,!1)}function Ro(e,t){pa(e,t);var n=vt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?jo(e,t.type,n):t.hasOwnProperty("defaultValue")&&jo(e,t.type,vt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ou(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function jo(e,t,n){(t!=="number"||Gr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var On=Array.isArray;function nn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=kr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var In={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},ud=["Webkit","ms","Moz","O"];Object.keys(In).forEach(function(e){ud.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),In[t]=In[e]})});function va(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||In.hasOwnProperty(e)&&In[e]?(""+t).trim():t+"px"}function ga(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=va(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var sd=W({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 Mo(e,t){if(t){if(sd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(w(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(w(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(w(61))}if(t.style!=null&&typeof t.style!="object")throw Error(w(62))}}function Do(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Io=null;function Li(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fo=null,rn=null,ln=null;function Du(e){if(e=pr(e)){if(typeof Fo!="function")throw Error(w(280));var t=e.stateNode;t&&(t=zl(t),Fo(e.stateNode,e.type,t))}}function wa(e){rn?ln?ln.push(e):ln=[e]:rn=e}function Sa(){if(rn){var e=rn,t=ln;if(ln=rn=null,Du(e),t)for(e=0;e>>=0,e===0?32:31-(wd(e)/Sd|0)|0}var _r=64,Er=4194304;function Ln(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function br(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=Ln(u):(o&=i,o!==0&&(r=Ln(o)))}else i=n&~l,i!==0?r=Ln(i):o!==0&&(r=Ln(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function fr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Fe(t),e[t]=n}function xd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=An),Hu=" ",Qu=!1;function Ua(e,t){switch(e){case"keyup":return Jd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ba(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kt=!1;function ep(e,t){switch(e){case"compositionend":return Ba(t);case"keypress":return t.which!==32?null:(Qu=!0,Hu);case"textInput":return e=t.data,e===Hu&&Qu?null:e;default:return null}}function tp(e,t){if(Kt)return e==="compositionend"||!Bi&&Ua(e,t)?(e=Aa(),Ur=Ai=ut=null,Kt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)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=Gu(n)}}function Qa(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qa(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ka(){for(var e=window,t=Gr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Gr(e.document)}return t}function Wi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function cp(e){var t=Ka(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Qa(n.ownerDocument.documentElement,n)){if(r!==null&&Wi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Zu(n,o);var i=Zu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Yt=null,Vo=null,Un=null,Ho=!1;function qu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ho||Yt==null||Yt!==Gr(r)||(r=Yt,"selectionStart"in r&&Wi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Un&&Jn(Un,r)||(Un=r,r=nl(Vo,"onSelect"),0Zt||(e.current=Zo[Zt],Zo[Zt]=null,Zt--)}function D(e,t){Zt++,Zo[Zt]=e.current,e.current=t}var gt={},oe=_t(gt),de=_t(!1),Mt=gt;function cn(e,t){var n=e.type.contextTypes;if(!n)return gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function pe(e){return e=e.childContextTypes,e!=null}function ll(){F(de),F(oe)}function ls(e,t,n){if(oe.current!==gt)throw Error(w(168));D(oe,t),D(de,n)}function tc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(w(108,od(e)||"Unknown",l));return W({},n,r)}function ol(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gt,Mt=oe.current,D(oe,e),D(de,de.current),!0}function os(e,t,n){var r=e.stateNode;if(!r)throw Error(w(169));n?(e=tc(e,t,Mt),r.__reactInternalMemoizedMergedChildContext=e,F(de),F(oe),D(oe,e)):F(de),D(de,n)}var Ke=null,Rl=!1,co=!1;function nc(e){Ke===null?Ke=[e]:Ke.push(e)}function _p(e){Rl=!0,nc(e)}function Et(){if(!co&&Ke!==null){co=!0;var e=0,t=M;try{var n=Ke;for(M=1;e>=i,l-=i,Ye=1<<32-Fe(t)+l|n<E?(A=x,x=null):A=x.sibling;var j=h(p,x,d[E],y);if(j===null){x===null&&(x=A);break}e&&x&&j.alternate===null&&t(p,x),c=o(j,c,E),_===null?k=j:_.sibling=j,_=j,x=A}if(E===d.length)return n(p,x),$&&Nt(p,E),k;if(x===null){for(;EE?(A=x,x=null):A=x.sibling;var ye=h(p,x,j.value,y);if(ye===null){x===null&&(x=A);break}e&&x&&ye.alternate===null&&t(p,x),c=o(ye,c,E),_===null?k=ye:_.sibling=ye,_=ye,x=A}if(j.done)return n(p,x),$&&Nt(p,E),k;if(x===null){for(;!j.done;E++,j=d.next())j=m(p,j.value,y),j!==null&&(c=o(j,c,E),_===null?k=j:_.sibling=j,_=j);return $&&Nt(p,E),k}for(x=r(p,x);!j.done;E++,j=d.next())j=g(x,p,E,j.value,y),j!==null&&(e&&j.alternate!==null&&x.delete(j.key===null?E:j.key),c=o(j,c,E),_===null?k=j:_.sibling=j,_=j);return e&&x.forEach(function(kn){return t(p,kn)}),$&&Nt(p,E),k}function T(p,c,d,y){if(typeof d=="object"&&d!==null&&d.type===Qt&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case wr:e:{for(var k=d.key,_=c;_!==null;){if(_.key===k){if(k=d.type,k===Qt){if(_.tag===7){n(p,_.sibling),c=l(_,d.props.children),c.return=p,p=c;break e}}else if(_.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===rt&&ss(k)===_.type){n(p,_.sibling),c=l(_,d.props),c.ref=Tn(p,_,d),c.return=p,p=c;break e}n(p,_);break}else t(p,_);_=_.sibling}d.type===Qt?(c=Lt(d.props.children,p.mode,y,d.key),c.return=p,p=c):(y=Xr(d.type,d.key,d.props,null,p.mode,y),y.ref=Tn(p,c,d),y.return=p,p=y)}return i(p);case Ht:e:{for(_=d.key;c!==null;){if(c.key===_)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(p,c.sibling),c=l(c,d.children||[]),c.return=p,p=c;break e}else{n(p,c);break}else t(p,c);c=c.sibling}c=wo(d,p.mode,y),c.return=p,p=c}return i(p);case rt:return _=d._init,T(p,c,_(d._payload),y)}if(On(d))return v(p,c,d,y);if(En(d))return S(p,c,d,y);Rr(p,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(p,c.sibling),c=l(c,d),c.return=p,p=c):(n(p,c),c=go(d,p.mode,y),c.return=p,p=c),i(p)):n(p,c)}return T}var dn=ic(!0),uc=ic(!1),sl=_t(null),al=null,bt=null,Ki=null;function Yi(){Ki=bt=al=null}function Xi(e){var t=sl.current;F(sl),e._currentValue=t}function bo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function un(e,t){al=e,Ki=bt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(fe=!0),e.firstContext=null)}function Re(e){var t=e._currentValue;if(Ki!==e)if(e={context:e,memoizedValue:t,next:null},bt===null){if(al===null)throw Error(w(308));bt=e,al.dependencies={lanes:0,firstContext:e}}else bt=bt.next=e;return t}var Rt=null;function Gi(e){Rt===null?Rt=[e]:Rt.push(e)}function sc(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Gi(t)):(n.next=l.next,l.next=n),t.interleaved=n,Je(e,r)}function Je(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var lt=!1;function Zi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ac(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 Ge(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function pt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,L&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Je(e,n)}return l=r.interleaved,l===null?(t.next=t,Gi(r)):(t.next=l.next,l.next=t),r.interleaved=t,Je(e,n)}function Wr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Di(e,n)}}function as(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function cl(e,t,n,r){var l=e.updateQueue;lt=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,a=s.next;s.next=null,i===null?o=a:i.next=a,i=s;var f=e.alternate;f!==null&&(f=f.updateQueue,u=f.lastBaseUpdate,u!==i&&(u===null?f.firstBaseUpdate=a:u.next=a,f.lastBaseUpdate=s))}if(o!==null){var m=l.baseState;i=0,f=a=s=null,u=o;do{var h=u.lane,g=u.eventTime;if((r&h)===h){f!==null&&(f=f.next={eventTime:g,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var v=e,S=u;switch(h=t,g=n,S.tag){case 1:if(v=S.payload,typeof v=="function"){m=v.call(g,m,h);break e}m=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=S.payload,h=typeof v=="function"?v.call(g,m,h):v,h==null)break e;m=W({},m,h);break e;case 2:lt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[u]:h.push(u))}else g={eventTime:g,lane:h,tag:u.tag,payload:u.payload,callback:u.callback,next:null},f===null?(a=f=g,s=m):f=f.next=g,i|=h;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;h=u,u=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(f===null&&(s=m),l.baseState=s,l.firstBaseUpdate=a,l.lastBaseUpdate=f,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);Ft|=i,e.lanes=i,e.memoizedState=m}}function cs(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=po.transition;po.transition={};try{e(!1),t()}finally{M=n,po.transition=r}}function Nc(){return je().memoizedState}function Np(e,t,n){var r=mt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Pc(e))Tc(t,n);else if(n=sc(e,t,n,r),n!==null){var l=ue();Ae(n,e,r,l),zc(n,t,r)}}function Pp(e,t,n){var r=mt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Pc(e))Tc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,$e(u,i)){var s=t.interleaved;s===null?(l.next=l,Gi(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=sc(e,t,l,r),n!==null&&(l=ue(),Ae(n,e,r,l),zc(n,t,r))}}function Pc(e){var t=e.alternate;return e===B||t!==null&&t===B}function Tc(e,t){Bn=dl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Di(e,n)}}var pl={readContext:Re,useCallback:ne,useContext:ne,useEffect:ne,useImperativeHandle:ne,useInsertionEffect:ne,useLayoutEffect:ne,useMemo:ne,useReducer:ne,useRef:ne,useState:ne,useDebugValue:ne,useDeferredValue:ne,useTransition:ne,useMutableSource:ne,useSyncExternalStore:ne,useId:ne,unstable_isNewReconciler:!1},Tp={readContext:Re,useCallback:function(e,t){return Be().memoizedState=[e,t===void 0?null:t],e},useContext:Re,useEffect:ds,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Hr(4194308,4,kc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Hr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Hr(4,2,e,t)},useMemo:function(e,t){var n=Be();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Be();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Np.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=Be();return e={current:e},t.memoizedState=e},useState:fs,useDebugValue:lu,useDeferredValue:function(e){return Be().memoizedState=e},useTransition:function(){var e=fs(!1),t=e[0];return e=Cp.bind(null,e[1]),Be().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=B,l=Be();if($){if(n===void 0)throw Error(w(407));n=n()}else{if(n=t(),q===null)throw Error(w(349));It&30||pc(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,ds(mc.bind(null,r,o,e),[e]),r.flags|=2048,ir(9,hc.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Be(),t=q.identifierPrefix;if($){var n=Xe,r=Ye;n=(r&~(1<<32-Fe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=lr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[We]=t,e[tr]=r,$c(e,t,!1,!1),t.stateNode=e;e:{switch(i=Do(n,r),n){case"dialog":I("cancel",e),I("close",e),l=r;break;case"iframe":case"object":case"embed":I("load",e),l=r;break;case"video":case"audio":for(l=0;lmn&&(t.flags|=128,r=!0,zn(o,!1),t.lanes=4194304)}else{if(!r)if(e=fl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),zn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!$)return re(t),null}else 2*Q()-o.renderingStartTime>mn&&n!==1073741824&&(t.flags|=128,r=!0,zn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Q(),t.sibling=null,n=U.current,D(U,r?n&1|2:n&1),t):(re(t),null);case 22:case 23:return cu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ve&1073741824&&(re(t),t.subtreeFlags&6&&(t.flags|=8192)):re(t),null;case 24:return null;case 25:return null}throw Error(w(156,t.tag))}function Ip(e,t){switch(Hi(t),t.tag){case 1:return pe(t.type)&&ll(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return pn(),F(de),F(oe),bi(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ji(t),null;case 13:if(F(U),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(w(340));fn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return F(U),null;case 4:return pn(),null;case 10:return Xi(t.type._context),null;case 22:case 23:return cu(),null;case 24:return null;default:return null}}var Or=!1,le=!1,Fp=typeof WeakSet=="function"?WeakSet:Set,N=null;function en(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){V(e,t,r)}else n.current=null}function si(e,t,n){try{n()}catch(r){V(e,t,r)}}var Es=!1;function Ap(e,t){if(Qo=el,e=Ka(),Wi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,f=0,m=e,h=null;t:for(;;){for(var g;m!==n||l!==0&&m.nodeType!==3||(u=i+l),m!==o||r!==0&&m.nodeType!==3||(s=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(g=m.firstChild)!==null;)h=m,m=g;for(;;){if(m===e)break t;if(h===n&&++a===l&&(u=i),h===o&&++f===r&&(s=i),(g=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=g}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ko={focusedElem:e,selectionRange:n},el=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var S=v.memoizedProps,T=v.memoizedState,p=t.stateNode,c=p.getSnapshotBeforeUpdate(t.elementType===t.type?S:Le(t.type,S),T);p.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(w(163))}}catch(y){V(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return v=Es,Es=!1,v}function Wn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&si(t,n,o)}l=l.next}while(l!==r)}}function Ll(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ai(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Wc(e){var t=e.alternate;t!==null&&(e.alternate=null,Wc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[We],delete t[tr],delete t[Go],delete t[Sp],delete t[kp])),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 Vc(e){return e.tag===5||e.tag===3||e.tag===4}function xs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ci(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=rl));else if(r!==4&&(e=e.child,e!==null))for(ci(e,t,n),e=e.sibling;e!==null;)ci(e,t,n),e=e.sibling}function fi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(fi(e,t,n),e=e.sibling;e!==null;)fi(e,t,n),e=e.sibling}var b=null,Me=!1;function nt(e,t,n){for(n=n.child;n!==null;)Hc(e,t,n),n=n.sibling}function Hc(e,t,n){if(Ve&&typeof Ve.onCommitFiberUnmount=="function")try{Ve.onCommitFiberUnmount(Cl,n)}catch{}switch(n.tag){case 5:le||en(n,t);case 6:var r=b,l=Me;b=null,nt(e,t,n),b=r,Me=l,b!==null&&(Me?(e=b,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):b.removeChild(n.stateNode));break;case 18:b!==null&&(Me?(e=b,n=n.stateNode,e.nodeType===8?ao(e.parentNode,n):e.nodeType===1&&ao(e,n),Zn(e)):ao(b,n.stateNode));break;case 4:r=b,l=Me,b=n.stateNode.containerInfo,Me=!0,nt(e,t,n),b=r,Me=l;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&si(n,t,i),l=l.next}while(l!==r)}nt(e,t,n);break;case 1:if(!le&&(en(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){V(n,t,u)}nt(e,t,n);break;case 21:nt(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,nt(e,t,n),le=r):nt(e,t,n);break;default:nt(e,t,n)}}function Cs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Fp),t.forEach(function(r){var l=Yp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Oe(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Up(r/1960))-r,10e?16:e,st===null)var r=!1;else{if(e=st,st=null,yl=0,L&6)throw Error(w(331));var l=L;for(L|=4,N=e.current;N!==null;){var o=N,i=o.child;if(N.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sQ()-su?Ot(e,0):uu|=n),he(e,t)}function Jc(e,t){t===0&&(e.mode&1?(t=Er,Er<<=1,!(Er&130023424)&&(Er=4194304)):t=1);var n=ue();e=Je(e,t),e!==null&&(fr(e,t,n),he(e,n))}function Kp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jc(e,n)}function Yp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(w(314))}r!==null&&r.delete(t),Jc(e,n)}var bc;bc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||de.current)fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return fe=!1,Mp(e,t,n);fe=!!(e.flags&131072)}else fe=!1,$&&t.flags&1048576&&rc(t,ul,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Qr(e,t),e=t.pendingProps;var l=cn(t,oe.current);un(t,n),l=tu(null,t,r,e,l,n);var o=nu();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,pe(r)?(o=!0,ol(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Zi(t),l.updater=Ol,t.stateNode=l,l._reactInternals=t,ti(t,r,e,n),t=li(null,t,r,!0,o,n)):(t.tag=0,$&&o&&Vi(t),ie(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Qr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Gp(r),e=Le(r,e),l){case 0:t=ri(null,t,r,e,n);break e;case 1:t=Ss(null,t,r,e,n);break e;case 11:t=gs(null,t,r,e,n);break e;case 14:t=ws(null,t,r,Le(r.type,e),n);break e}throw Error(w(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),ri(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Ss(e,t,r,l,n);case 3:e:{if(Ic(t),e===null)throw Error(w(387));r=t.pendingProps,o=t.memoizedState,l=o.element,ac(e,t),cl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=hn(Error(w(423)),t),t=ks(e,t,r,n,l);break e}else if(r!==l){l=hn(Error(w(424)),t),t=ks(e,t,r,n,l);break e}else for(ge=dt(t.stateNode.containerInfo.firstChild),Se=t,$=!0,De=null,n=uc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fn(),r===l){t=be(e,t,n);break e}ie(e,t,r,n)}t=t.child}return t;case 5:return cc(t),e===null&&Jo(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Yo(r,l)?i=null:o!==null&&Yo(r,o)&&(t.flags|=32),Dc(e,t),ie(e,t,i,n),t.child;case 6:return e===null&&Jo(t),null;case 13:return Fc(e,t,n);case 4:return qi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=dn(t,null,r,n):ie(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),gs(e,t,r,l,n);case 7:return ie(e,t,t.pendingProps,n),t.child;case 8:return ie(e,t,t.pendingProps.children,n),t.child;case 12:return ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,D(sl,r._currentValue),r._currentValue=i,o!==null)if($e(o.value,i)){if(o.children===l.children&&!de.current){t=be(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Ge(-1,n&-n),s.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var f=a.pending;f===null?s.next=s:(s.next=f.next,f.next=s),a.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),bo(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(w(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),bo(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ie(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,un(t,n),l=Re(l),r=r(l),t.flags|=1,ie(e,t,r,n),t.child;case 14:return r=t.type,l=Le(r,t.pendingProps),l=Le(r.type,l),ws(e,t,r,l,n);case 15:return Lc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Qr(e,t),t.tag=1,pe(r)?(e=!0,ol(t)):e=!1,un(t,n),Rc(t,r,l),ti(t,r,l,n),li(null,t,r,!0,e,n);case 19:return Ac(e,t,n);case 22:return Mc(e,t,n)}throw Error(w(156,t.tag))};function ef(e,t){return Pa(e,t)}function Xp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Te(e,t,n,r){return new Xp(e,t,n,r)}function du(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Gp(e){if(typeof e=="function")return du(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ji)return 11;if(e===Oi)return 14}return 2}function yt(e,t){var n=e.alternate;return n===null?(n=Te(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Xr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")du(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Qt:return Lt(n.children,l,o,t);case Ri:i=8,l|=8;break;case Co:return e=Te(12,n,t,l|2),e.elementType=Co,e.lanes=o,e;case No:return e=Te(13,n,t,l),e.elementType=No,e.lanes=o,e;case Po:return e=Te(19,n,t,l),e.elementType=Po,e.lanes=o,e;case ca:return Dl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case sa:i=10;break e;case aa:i=9;break e;case ji:i=11;break e;case Oi:i=14;break e;case rt:i=16,r=null;break e}throw Error(w(130,e==null?e:typeof e,""))}return t=Te(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Lt(e,t,n,r){return e=Te(7,e,r,t),e.lanes=n,e}function Dl(e,t,n,r){return e=Te(22,e,r,t),e.elementType=ca,e.lanes=n,e.stateNode={isHidden:!1},e}function go(e,t,n){return e=Te(6,e,null,t),e.lanes=n,e}function wo(e,t,n){return t=Te(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Zp(e,t,n,r,l){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=Jl(0),this.expirationTimes=Jl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function pu(e,t,n,r,l,o,i,u,s){return e=new Zp(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Te(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zi(o),e}function qp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(lf)}catch(e){console.error(e)}}lf(),la.exports=xe;var nh=la.exports,Ls=nh;Eo.createRoot=Ls.createRoot,Eo.hydrateRoot=Ls.hydrateRoot;var of={exports:{}},uf={};/** +`),i=r.stack.split(` +`),o=l.length-1,u=i.length-1;1<=o&&0<=u&&l[o]!==i[u];)u--;for(;1<=o&&0<=u;o--,u--)if(l[o]!==i[u]){if(o!==1||u!==1)do if(o--,u--,0>u||l[o]!==i[u]){var s=` +`+l[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{Gl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?jn(e):""}function ld(e){switch(e.tag){case 5:return jn(e.type);case 16:return jn("Lazy");case 13:return jn("Suspense");case 19:return jn("SuspenseList");case 0:case 2:case 15:return e=Zl(e.type,!1),e;case 11:return e=Zl(e.type.render,!1),e;case 1:return e=Zl(e.type,!0),e;default:return""}}function Pi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Qt:return"Fragment";case Ht:return"Portal";case xi:return"Profiler";case Ro:return"StrictMode";case Ci:return"Suspense";case Ni:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case aa:return(e.displayName||"Context")+".Consumer";case sa:return(e._context.displayName||"Context")+".Provider";case jo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Oo:return t=e.displayName||null,t!==null?t:Pi(e.type)||"Memo";case rt:t=e._payload,e=e._init;try{return Pi(e(t))}catch{}}return null}function id(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Pi(t);case 8:return t===Ro?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function vt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function fa(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function od(e){var t=fa(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Sr(e){e._valueTracker||(e._valueTracker=od(e))}function da(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=fa(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Gr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ti(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ju(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=vt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function pa(e,t){t=t.checked,t!=null&&zo(e,"checked",t,!1)}function zi(e,t){pa(e,t);var n=vt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ri(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ri(e,t.type,vt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ou(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ri(e,t,n){(t!=="number"||Gr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var On=Array.isArray;function nn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=kr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var In={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},ud=["Webkit","ms","Moz","O"];Object.keys(In).forEach(function(e){ud.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),In[t]=In[e]})});function va(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||In.hasOwnProperty(e)&&In[e]?(""+t).trim():t+"px"}function ga(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=va(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var sd=W({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 Li(e,t){if(t){if(sd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(w(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(w(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(w(61))}if(t.style!=null&&typeof t.style!="object")throw Error(w(62))}}function Mi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Di=null;function Lo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ii=null,rn=null,ln=null;function Du(e){if(e=pr(e)){if(typeof Ii!="function")throw Error(w(280));var t=e.stateNode;t&&(t=zl(t),Ii(e.stateNode,e.type,t))}}function wa(e){rn?ln?ln.push(e):ln=[e]:rn=e}function Sa(){if(rn){var e=rn,t=ln;if(ln=rn=null,Du(e),t)for(e=0;e>>=0,e===0?32:31-(wd(e)/Sd|0)|0}var _r=64,Er=4194304;function Ln(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function br(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=Ln(u):(i&=o,i!==0&&(r=Ln(i)))}else o=n&~l,o!==0?r=Ln(o):i!==0&&(r=Ln(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function fr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Fe(t),e[t]=n}function xd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=An),Hu=" ",Qu=!1;function Ua(e,t){switch(e){case"keyup":return Jd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ba(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kt=!1;function ep(e,t){switch(e){case"compositionend":return Ba(t);case"keypress":return t.which!==32?null:(Qu=!0,Hu);case"textInput":return e=t.data,e===Hu&&Qu?null:e;default:return null}}function tp(e,t){if(Kt)return e==="compositionend"||!Bo&&Ua(e,t)?(e=Aa(),Ur=Ao=ut=null,Kt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)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=Gu(n)}}function Qa(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qa(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ka(){for(var e=window,t=Gr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Gr(e.document)}return t}function Wo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function cp(e){var t=Ka(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Qa(n.ownerDocument.documentElement,n)){if(r!==null&&Wo(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Zu(n,i);var o=Zu(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Yt=null,Wi=null,Un=null,Vi=!1;function qu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vi||Yt==null||Yt!==Gr(r)||(r=Yt,"selectionStart"in r&&Wo(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Un&&Jn(Un,r)||(Un=r,r=nl(Wi,"onSelect"),0Zt||(e.current=Gi[Zt],Gi[Zt]=null,Zt--)}function D(e,t){Zt++,Gi[Zt]=e.current,e.current=t}var gt={},ie=_t(gt),de=_t(!1),Mt=gt;function cn(e,t){var n=e.type.contextTypes;if(!n)return gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function pe(e){return e=e.childContextTypes,e!=null}function ll(){F(de),F(ie)}function ls(e,t,n){if(ie.current!==gt)throw Error(w(168));D(ie,t),D(de,n)}function tc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(w(108,id(e)||"Unknown",l));return W({},n,r)}function il(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gt,Mt=ie.current,D(ie,e),D(de,de.current),!0}function is(e,t,n){var r=e.stateNode;if(!r)throw Error(w(169));n?(e=tc(e,t,Mt),r.__reactInternalMemoizedMergedChildContext=e,F(de),F(ie),D(ie,e)):F(de),D(de,n)}var Ke=null,Rl=!1,ci=!1;function nc(e){Ke===null?Ke=[e]:Ke.push(e)}function _p(e){Rl=!0,nc(e)}function Et(){if(!ci&&Ke!==null){ci=!0;var e=0,t=M;try{var n=Ke;for(M=1;e>=o,l-=o,Ye=1<<32-Fe(t)+l|n<x?(A=C,C=null):A=C.sibling;var j=h(p,C,d[x],y);if(j===null){C===null&&(C=A);break}e&&C&&j.alternate===null&&t(p,C),c=i(j,c,x),E===null?k=j:E.sibling=j,E=j,C=A}if(x===d.length)return n(p,C),$&&Nt(p,x),k;if(C===null){for(;xx?(A=C,C=null):A=C.sibling;var ye=h(p,C,j.value,y);if(ye===null){C===null&&(C=A);break}e&&C&&ye.alternate===null&&t(p,C),c=i(ye,c,x),E===null?k=ye:E.sibling=ye,E=ye,C=A}if(j.done)return n(p,C),$&&Nt(p,x),k;if(C===null){for(;!j.done;x++,j=d.next())j=m(p,j.value,y),j!==null&&(c=i(j,c,x),E===null?k=j:E.sibling=j,E=j);return $&&Nt(p,x),k}for(C=r(p,C);!j.done;x++,j=d.next())j=g(C,p,x,j.value,y),j!==null&&(e&&j.alternate!==null&&C.delete(j.key===null?x:j.key),c=i(j,c,x),E===null?k=j:E.sibling=j,E=j);return e&&C.forEach(function(kn){return t(p,kn)}),$&&Nt(p,x),k}function T(p,c,d,y){if(typeof d=="object"&&d!==null&&d.type===Qt&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case wr:e:{for(var k=d.key,E=c;E!==null;){if(E.key===k){if(k=d.type,k===Qt){if(E.tag===7){n(p,E.sibling),c=l(E,d.props.children),c.return=p,p=c;break e}}else if(E.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===rt&&ss(k)===E.type){n(p,E.sibling),c=l(E,d.props),c.ref=Tn(p,E,d),c.return=p,p=c;break e}n(p,E);break}else t(p,E);E=E.sibling}d.type===Qt?(c=Lt(d.props.children,p.mode,y,d.key),c.return=p,p=c):(y=Xr(d.type,d.key,d.props,null,p.mode,y),y.ref=Tn(p,c,d),y.return=p,p=y)}return o(p);case Ht:e:{for(E=d.key;c!==null;){if(c.key===E)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(p,c.sibling),c=l(c,d.children||[]),c.return=p,p=c;break e}else{n(p,c);break}else t(p,c);c=c.sibling}c=gi(d,p.mode,y),c.return=p,p=c}return o(p);case rt:return E=d._init,T(p,c,E(d._payload),y)}if(On(d))return v(p,c,d,y);if(En(d))return S(p,c,d,y);Rr(p,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(p,c.sibling),c=l(c,d),c.return=p,p=c):(n(p,c),c=vi(d,p.mode,y),c.return=p,p=c),o(p)):n(p,c)}return T}var dn=oc(!0),uc=oc(!1),sl=_t(null),al=null,bt=null,Ko=null;function Yo(){Ko=bt=al=null}function Xo(e){var t=sl.current;F(sl),e._currentValue=t}function Ji(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function un(e,t){al=e,Ko=bt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(fe=!0),e.firstContext=null)}function Re(e){var t=e._currentValue;if(Ko!==e)if(e={context:e,memoizedValue:t,next:null},bt===null){if(al===null)throw Error(w(308));bt=e,al.dependencies={lanes:0,firstContext:e}}else bt=bt.next=e;return t}var Rt=null;function Go(e){Rt===null?Rt=[e]:Rt.push(e)}function sc(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Go(t)):(n.next=l.next,l.next=n),t.interleaved=n,Je(e,r)}function Je(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var lt=!1;function Zo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ac(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 Ge(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function pt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,L&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Je(e,n)}return l=r.interleaved,l===null?(t.next=t,Go(r)):(t.next=l.next,l.next=t),r.interleaved=t,Je(e,n)}function Wr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Do(e,n)}}function as(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function cl(e,t,n,r){var l=e.updateQueue;lt=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,a=s.next;s.next=null,o===null?i=a:o.next=a,o=s;var f=e.alternate;f!==null&&(f=f.updateQueue,u=f.lastBaseUpdate,u!==o&&(u===null?f.firstBaseUpdate=a:u.next=a,f.lastBaseUpdate=s))}if(i!==null){var m=l.baseState;o=0,f=a=s=null,u=i;do{var h=u.lane,g=u.eventTime;if((r&h)===h){f!==null&&(f=f.next={eventTime:g,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var v=e,S=u;switch(h=t,g=n,S.tag){case 1:if(v=S.payload,typeof v=="function"){m=v.call(g,m,h);break e}m=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=S.payload,h=typeof v=="function"?v.call(g,m,h):v,h==null)break e;m=W({},m,h);break e;case 2:lt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[u]:h.push(u))}else g={eventTime:g,lane:h,tag:u.tag,payload:u.payload,callback:u.callback,next:null},f===null?(a=f=g,s=m):f=f.next=g,o|=h;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;h=u,u=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(f===null&&(s=m),l.baseState=s,l.firstBaseUpdate=a,l.lastBaseUpdate=f,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Ft|=o,e.lanes=o,e.memoizedState=m}}function cs(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=di.transition;di.transition={};try{e(!1),t()}finally{M=n,di.transition=r}}function Nc(){return je().memoizedState}function Np(e,t,n){var r=mt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Pc(e))Tc(t,n);else if(n=sc(e,t,n,r),n!==null){var l=ue();Ae(n,e,r,l),zc(n,t,r)}}function Pp(e,t,n){var r=mt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Pc(e))Tc(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,$e(u,o)){var s=t.interleaved;s===null?(l.next=l,Go(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=sc(e,t,l,r),n!==null&&(l=ue(),Ae(n,e,r,l),zc(n,t,r))}}function Pc(e){var t=e.alternate;return e===B||t!==null&&t===B}function Tc(e,t){Bn=dl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Do(e,n)}}var pl={readContext:Re,useCallback:ne,useContext:ne,useEffect:ne,useImperativeHandle:ne,useInsertionEffect:ne,useLayoutEffect:ne,useMemo:ne,useReducer:ne,useRef:ne,useState:ne,useDebugValue:ne,useDeferredValue:ne,useTransition:ne,useMutableSource:ne,useSyncExternalStore:ne,useId:ne,unstable_isNewReconciler:!1},Tp={readContext:Re,useCallback:function(e,t){return Be().memoizedState=[e,t===void 0?null:t],e},useContext:Re,useEffect:ds,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Hr(4194308,4,kc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Hr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Hr(4,2,e,t)},useMemo:function(e,t){var n=Be();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Be();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Np.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=Be();return e={current:e},t.memoizedState=e},useState:fs,useDebugValue:lu,useDeferredValue:function(e){return Be().memoizedState=e},useTransition:function(){var e=fs(!1),t=e[0];return e=Cp.bind(null,e[1]),Be().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=B,l=Be();if($){if(n===void 0)throw Error(w(407));n=n()}else{if(n=t(),q===null)throw Error(w(349));It&30||pc(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,ds(mc.bind(null,r,i,e),[e]),r.flags|=2048,or(9,hc.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Be(),t=q.identifierPrefix;if($){var n=Xe,r=Ye;n=(r&~(1<<32-Fe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=lr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[We]=t,e[tr]=r,$c(e,t,!1,!1),t.stateNode=e;e:{switch(o=Mi(n,r),n){case"dialog":I("cancel",e),I("close",e),l=r;break;case"iframe":case"object":case"embed":I("load",e),l=r;break;case"video":case"audio":for(l=0;lmn&&(t.flags|=128,r=!0,zn(i,!1),t.lanes=4194304)}else{if(!r)if(e=fl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),zn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!$)return re(t),null}else 2*Q()-i.renderingStartTime>mn&&n!==1073741824&&(t.flags|=128,r=!0,zn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Q(),t.sibling=null,n=U.current,D(U,r?n&1|2:n&1),t):(re(t),null);case 22:case 23:return cu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ve&1073741824&&(re(t),t.subtreeFlags&6&&(t.flags|=8192)):re(t),null;case 24:return null;case 25:return null}throw Error(w(156,t.tag))}function Ip(e,t){switch(Ho(t),t.tag){case 1:return pe(t.type)&&ll(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return pn(),F(de),F(ie),bo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Jo(t),null;case 13:if(F(U),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(w(340));fn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return F(U),null;case 4:return pn(),null;case 10:return Xo(t.type._context),null;case 22:case 23:return cu(),null;case 24:return null;default:return null}}var Or=!1,le=!1,Fp=typeof WeakSet=="function"?WeakSet:Set,N=null;function en(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){V(e,t,r)}else n.current=null}function uo(e,t,n){try{n()}catch(r){V(e,t,r)}}var Es=!1;function Ap(e,t){if(Hi=el,e=Ka(),Wo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,s=-1,a=0,f=0,m=e,h=null;t:for(;;){for(var g;m!==n||l!==0&&m.nodeType!==3||(u=o+l),m!==i||r!==0&&m.nodeType!==3||(s=o+r),m.nodeType===3&&(o+=m.nodeValue.length),(g=m.firstChild)!==null;)h=m,m=g;for(;;){if(m===e)break t;if(h===n&&++a===l&&(u=o),h===i&&++f===r&&(s=o),(g=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=g}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Qi={focusedElem:e,selectionRange:n},el=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var S=v.memoizedProps,T=v.memoizedState,p=t.stateNode,c=p.getSnapshotBeforeUpdate(t.elementType===t.type?S:Le(t.type,S),T);p.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(w(163))}}catch(y){V(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return v=Es,Es=!1,v}function Wn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&uo(t,n,i)}l=l.next}while(l!==r)}}function Ll(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function so(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Wc(e){var t=e.alternate;t!==null&&(e.alternate=null,Wc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[We],delete t[tr],delete t[Xi],delete t[Sp],delete t[kp])),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 Vc(e){return e.tag===5||e.tag===3||e.tag===4}function xs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ao(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=rl));else if(r!==4&&(e=e.child,e!==null))for(ao(e,t,n),e=e.sibling;e!==null;)ao(e,t,n),e=e.sibling}function co(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(co(e,t,n),e=e.sibling;e!==null;)co(e,t,n),e=e.sibling}var b=null,Me=!1;function nt(e,t,n){for(n=n.child;n!==null;)Hc(e,t,n),n=n.sibling}function Hc(e,t,n){if(Ve&&typeof Ve.onCommitFiberUnmount=="function")try{Ve.onCommitFiberUnmount(Cl,n)}catch{}switch(n.tag){case 5:le||en(n,t);case 6:var r=b,l=Me;b=null,nt(e,t,n),b=r,Me=l,b!==null&&(Me?(e=b,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):b.removeChild(n.stateNode));break;case 18:b!==null&&(Me?(e=b,n=n.stateNode,e.nodeType===8?ai(e.parentNode,n):e.nodeType===1&&ai(e,n),Zn(e)):ai(b,n.stateNode));break;case 4:r=b,l=Me,b=n.stateNode.containerInfo,Me=!0,nt(e,t,n),b=r,Me=l;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&uo(n,t,o),l=l.next}while(l!==r)}nt(e,t,n);break;case 1:if(!le&&(en(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){V(n,t,u)}nt(e,t,n);break;case 21:nt(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,nt(e,t,n),le=r):nt(e,t,n);break;default:nt(e,t,n)}}function Cs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Fp),t.forEach(function(r){var l=Yp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Oe(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Up(r/1960))-r,10e?16:e,st===null)var r=!1;else{if(e=st,st=null,yl=0,L&6)throw Error(w(331));var l=L;for(L|=4,N=e.current;N!==null;){var i=N,o=i.child;if(N.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sQ()-su?Ot(e,0):uu|=n),he(e,t)}function Jc(e,t){t===0&&(e.mode&1?(t=Er,Er<<=1,!(Er&130023424)&&(Er=4194304)):t=1);var n=ue();e=Je(e,t),e!==null&&(fr(e,t,n),he(e,n))}function Kp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jc(e,n)}function Yp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(w(314))}r!==null&&r.delete(t),Jc(e,n)}var bc;bc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||de.current)fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return fe=!1,Mp(e,t,n);fe=!!(e.flags&131072)}else fe=!1,$&&t.flags&1048576&&rc(t,ul,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Qr(e,t),e=t.pendingProps;var l=cn(t,ie.current);un(t,n),l=tu(null,t,r,e,l,n);var i=nu();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,pe(r)?(i=!0,il(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Zo(t),l.updater=Ol,t.stateNode=l,l._reactInternals=t,eo(t,r,e,n),t=ro(null,t,r,!0,i,n)):(t.tag=0,$&&i&&Vo(t),oe(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Qr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Gp(r),e=Le(r,e),l){case 0:t=no(null,t,r,e,n);break e;case 1:t=Ss(null,t,r,e,n);break e;case 11:t=gs(null,t,r,e,n);break e;case 14:t=ws(null,t,r,Le(r.type,e),n);break e}throw Error(w(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),no(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Ss(e,t,r,l,n);case 3:e:{if(Ic(t),e===null)throw Error(w(387));r=t.pendingProps,i=t.memoizedState,l=i.element,ac(e,t),cl(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=hn(Error(w(423)),t),t=ks(e,t,r,n,l);break e}else if(r!==l){l=hn(Error(w(424)),t),t=ks(e,t,r,n,l);break e}else for(ge=dt(t.stateNode.containerInfo.firstChild),Se=t,$=!0,De=null,n=uc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fn(),r===l){t=be(e,t,n);break e}oe(e,t,r,n)}t=t.child}return t;case 5:return cc(t),e===null&&qi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Ki(r,l)?o=null:i!==null&&Ki(r,i)&&(t.flags|=32),Dc(e,t),oe(e,t,o,n),t.child;case 6:return e===null&&qi(t),null;case 13:return Fc(e,t,n);case 4:return qo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=dn(t,null,r,n):oe(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),gs(e,t,r,l,n);case 7:return oe(e,t,t.pendingProps,n),t.child;case 8:return oe(e,t,t.pendingProps.children,n),t.child;case 12:return oe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,D(sl,r._currentValue),r._currentValue=o,i!==null)if($e(i.value,o)){if(i.children===l.children&&!de.current){t=be(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Ge(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var f=a.pending;f===null?s.next=s:(s.next=f.next,f.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Ji(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(w(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Ji(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}oe(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,un(t,n),l=Re(l),r=r(l),t.flags|=1,oe(e,t,r,n),t.child;case 14:return r=t.type,l=Le(r,t.pendingProps),l=Le(r.type,l),ws(e,t,r,l,n);case 15:return Lc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Qr(e,t),t.tag=1,pe(r)?(e=!0,il(t)):e=!1,un(t,n),Rc(t,r,l),eo(t,r,l,n),ro(null,t,r,!0,e,n);case 19:return Ac(e,t,n);case 22:return Mc(e,t,n)}throw Error(w(156,t.tag))};function ef(e,t){return Pa(e,t)}function Xp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Te(e,t,n,r){return new Xp(e,t,n,r)}function du(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Gp(e){if(typeof e=="function")return du(e)?1:0;if(e!=null){if(e=e.$$typeof,e===jo)return 11;if(e===Oo)return 14}return 2}function yt(e,t){var n=e.alternate;return n===null?(n=Te(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Xr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")du(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Qt:return Lt(n.children,l,i,t);case Ro:o=8,l|=8;break;case xi:return e=Te(12,n,t,l|2),e.elementType=xi,e.lanes=i,e;case Ci:return e=Te(13,n,t,l),e.elementType=Ci,e.lanes=i,e;case Ni:return e=Te(19,n,t,l),e.elementType=Ni,e.lanes=i,e;case ca:return Dl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case sa:o=10;break e;case aa:o=9;break e;case jo:o=11;break e;case Oo:o=14;break e;case rt:o=16,r=null;break e}throw Error(w(130,e==null?e:typeof e,""))}return t=Te(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Lt(e,t,n,r){return e=Te(7,e,r,t),e.lanes=n,e}function Dl(e,t,n,r){return e=Te(22,e,r,t),e.elementType=ca,e.lanes=n,e.stateNode={isHidden:!1},e}function vi(e,t,n){return e=Te(6,e,null,t),e.lanes=n,e}function gi(e,t,n){return t=Te(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Zp(e,t,n,r,l){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=Jl(0),this.expirationTimes=Jl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function pu(e,t,n,r,l,i,o,u,s){return e=new Zp(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Te(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zo(i),e}function qp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(lf)}catch(e){console.error(e)}}lf(),la.exports=xe;var nh=la.exports,Ls=nh;_i.createRoot=Ls.createRoot,_i.hydrateRoot=Ls.hydrateRoot;var of={exports:{}},uf={};/** * @license React * use-sync-external-store-with-selector.production.min.js * @@ -45,4 +45,4 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var mr=Ut;function rh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var lh=typeof Object.is=="function"?Object.is:rh,oh=mr.useSyncExternalStore,ih=mr.useRef,uh=mr.useEffect,sh=mr.useMemo,ah=mr.useDebugValue;uf.useSyncExternalStoreWithSelector=function(e,t,n,r,l){var o=ih(null);if(o.current===null){var i={hasValue:!1,value:null};o.current=i}else i=o.current;o=sh(function(){function s(g){if(!a){if(a=!0,f=g,g=r(g),l!==void 0&&i.hasValue){var v=i.value;if(l(v,g))return m=v}return m=g}if(v=m,lh(f,g))return v;var S=r(g);return l!==void 0&&l(v,S)?v:(f=g,m=S)}var a=!1,f,m,h=n===void 0?null:n;return[function(){return s(t())},h===null?void 0:function(){return s(h())}]},[t,n,r,l]);var u=oh(e,o[0],o[1]);return uh(function(){i.hasValue=!0,i.value=u},[u]),ah(u),u};of.exports=uf;var ch=of.exports,we="default"in Pu?Ni:Pu,Ms=Symbol.for("react-redux-context"),Ds=typeof globalThis<"u"?globalThis:{};function fh(){if(!we.createContext)return{};const e=Ds[Ms]??(Ds[Ms]=new Map);let t=e.get(we.createContext);return t||(t=we.createContext(null),e.set(we.createContext,t)),t}var wt=fh(),dh=()=>{throw new Error("uSES not initialized!")};function vu(e=wt){return function(){return we.useContext(e)}}var sf=vu(),af=dh,ph=e=>{af=e},hh=(e,t)=>e===t;function mh(e=wt){const t=e===wt?sf:vu(e),n=(r,l={})=>{const{equalityFn:o=hh,devModeChecks:i={}}=typeof l=="function"?{equalityFn:l}:l,{store:u,subscription:s,getServerState:a,stabilityCheck:f,identityFunctionCheck:m}=t();we.useRef(!0);const h=we.useCallback({[r.name](v){return r(v)}}[r.name],[r,f,i.stabilityCheck]),g=af(s.addNestedSub,u.getState,a||u.getState,h,o);return we.useDebugValue(g),g};return Object.assign(n,{withTypes:()=>n}),n}var cf=mh();function yh(e){e()}function vh(){let e=null,t=null;return{clear(){e=null,t=null},notify(){yh(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const l=t={callback:n,next:null,prev:t};return l.prev?l.prev.next=l:e=l,function(){!r||e===null||(r=!1,l.next?l.next.prev=l.prev:t=l.prev,l.prev?l.prev.next=l.next:e=l.next)}}}}var Is={notify(){},get:()=>[]};function gh(e,t){let n,r=Is,l=0,o=!1;function i(S){f();const T=r.subscribe(S);let p=!1;return()=>{p||(p=!0,T(),m())}}function u(){r.notify()}function s(){v.onStateChange&&v.onStateChange()}function a(){return o}function f(){l++,n||(n=e.subscribe(s),r=vh())}function m(){l--,n&&l===0&&(n(),n=void 0,r.clear(),r=Is)}function h(){o||(o=!0,f())}function g(){o&&(o=!1,m())}const v={addNestedSub:i,notifyNestedSubs:u,handleChangeWrapper:s,isSubscribed:a,trySubscribe:h,tryUnsubscribe:g,getListeners:()=>r};return v}var wh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Sh=typeof navigator<"u"&&navigator.product==="ReactNative",kh=wh||Sh?we.useLayoutEffect:we.useEffect;function _h({store:e,context:t,children:n,serverState:r,stabilityCheck:l="once",identityFunctionCheck:o="once"}){const i=we.useMemo(()=>{const a=gh(e);return{store:e,subscription:a,getServerState:r?()=>r:void 0,stabilityCheck:l,identityFunctionCheck:o}},[e,r,l,o]),u=we.useMemo(()=>e.getState(),[e]);kh(()=>{const{subscription:a}=i;return a.onStateChange=a.notifyNestedSubs,a.trySubscribe(),u!==e.getState()&&a.notifyNestedSubs(),()=>{a.tryUnsubscribe(),a.onStateChange=void 0}},[i,u]);const s=t||wt;return we.createElement(s.Provider,{value:i},n)}var Eh=_h;function ff(e=wt){const t=e===wt?sf:vu(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var xh=ff();function Ch(e=wt){const t=e===wt?xh:ff(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var df=Ch();ph(ch.useSyncExternalStoreWithSelector);function J(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Nh=typeof Symbol=="function"&&Symbol.observable||"@@observable",Fs=Nh,So=()=>Math.random().toString(36).substring(7).split("").join("."),Ph={INIT:`@@redux/INIT${So()}`,REPLACE:`@@redux/REPLACE${So()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${So()}`},wl=Ph;function gu(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function pf(e,t,n){if(typeof e!="function")throw new Error(J(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(J(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(J(1));return n(pf)(e,t)}let r=e,l=t,o=new Map,i=o,u=0,s=!1;function a(){i===o&&(i=new Map,o.forEach((T,p)=>{i.set(p,T)}))}function f(){if(s)throw new Error(J(3));return l}function m(T){if(typeof T!="function")throw new Error(J(4));if(s)throw new Error(J(5));let p=!0;a();const c=u++;return i.set(c,T),function(){if(p){if(s)throw new Error(J(6));p=!1,a(),i.delete(c),o=null}}}function h(T){if(!gu(T))throw new Error(J(7));if(typeof T.type>"u")throw new Error(J(8));if(typeof T.type!="string")throw new Error(J(17));if(s)throw new Error(J(9));try{s=!0,l=r(l,T)}finally{s=!1}return(o=i).forEach(c=>{c()}),T}function g(T){if(typeof T!="function")throw new Error(J(10));r=T,h({type:wl.REPLACE})}function v(){const T=m;return{subscribe(p){if(typeof p!="object"||p===null)throw new Error(J(11));function c(){const y=p;y.next&&y.next(f())}return c(),{unsubscribe:T(c)}},[Fs](){return this}}}return h({type:wl.INIT}),{dispatch:h,subscribe:m,getState:f,replaceReducer:g,[Fs]:v}}function Th(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:wl.INIT})>"u")throw new Error(J(12));if(typeof n(void 0,{type:wl.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(J(13))})}function zh(e){const t=Object.keys(e),n={};for(let o=0;o"u")throw u&&u.type,new Error(J(14));a[m]=v,s=s||v!==g}return s=s||r.length!==Object.keys(i).length,s?a:i}}function Sl(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Rh(...e){return t=>(n,r)=>{const l=t(n,r);let o=()=>{throw new Error(J(15))};const i={getState:l.getState,dispatch:(s,...a)=>o(s,...a)},u=e.map(s=>s(i));return o=Sl(...u)(l.dispatch),{...l,dispatch:o}}}function jh(e){return gu(e)&&"type"in e&&typeof e.type=="string"}var hf=Symbol.for("immer-nothing"),As=Symbol.for("immer-draftable"),_e=Symbol.for("immer-state");function Ie(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var yn=Object.getPrototypeOf;function St(e){return!!e&&!!e[_e]}function et(e){var t;return e?mf(e)||Array.isArray(e)||!!e[As]||!!((t=e.constructor)!=null&&t[As])||Bl(e)||Wl(e):!1}var Oh=Object.prototype.constructor.toString();function mf(e){if(!e||typeof e!="object")return!1;const t=yn(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===Oh}function kl(e,t){Ul(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Ul(e){const t=e[_e];return t?t.type_:Array.isArray(e)?1:Bl(e)?2:Wl(e)?3:0}function yi(e,t){return Ul(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function yf(e,t,n){const r=Ul(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Lh(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Bl(e){return e instanceof Map}function Wl(e){return e instanceof Set}function Tt(e){return e.copy_||e.base_}function vi(e,t){if(Bl(e))return new Map(e);if(Wl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&mf(e))return yn(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[_e];let r=Reflect.ownKeys(n);for(let l=0;l1&&(e.set=e.add=e.clear=e.delete=Mh),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>wu(r,!0))),e}function Mh(){Ie(2)}function Vl(e){return Object.isFrozen(e)}var Dh={};function $t(e){const t=Dh[e];return t||Ie(0,e),t}var sr;function vf(){return sr}function Ih(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function $s(e,t){t&&($t("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function gi(e){wi(e),e.drafts_.forEach(Fh),e.drafts_=null}function wi(e){e===sr&&(sr=e.parent_)}function Us(e){return sr=Ih(sr,e)}function Fh(e){const t=e[_e];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Bs(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[_e].modified_&&(gi(t),Ie(4)),et(e)&&(e=_l(t,e),t.parent_||El(t,e)),t.patches_&&$t("Patches").generateReplacementPatches_(n[_e].base_,e,t.patches_,t.inversePatches_)):e=_l(t,n,[]),gi(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==hf?e:void 0}function _l(e,t,n){if(Vl(t))return t;const r=t[_e];if(!r)return kl(t,(l,o)=>Ws(e,r,t,l,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return El(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const l=r.copy_;let o=l,i=!1;r.type_===3&&(o=new Set(l),l.clear(),i=!0),kl(o,(u,s)=>Ws(e,r,l,u,s,n,i)),El(e,l,!1),n&&e.patches_&&$t("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Ws(e,t,n,r,l,o,i){if(St(l)){const u=o&&t&&t.type_!==3&&!yi(t.assigned_,r)?o.concat(r):void 0,s=_l(e,l,u);if(yf(n,r,s),St(s))e.canAutoFreeze_=!1;else return}else i&&n.add(l);if(et(l)&&!Vl(l)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;_l(e,l),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&El(e,l)}}function El(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&wu(t,n)}function Ah(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:vf(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=r,o=Su;n&&(l=[r],o=ar);const{revoke:i,proxy:u}=Proxy.revocable(l,o);return r.draft_=u,r.revoke_=i,u}var Su={get(e,t){if(t===_e)return e;const n=Tt(e);if(!yi(n,t))return $h(e,n,t);const r=n[t];return e.finalized_||!et(r)?r:r===ko(e.base_,t)?(_o(e),e.copy_[t]=ki(r,e)):r},has(e,t){return t in Tt(e)},ownKeys(e){return Reflect.ownKeys(Tt(e))},set(e,t,n){const r=gf(Tt(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const l=ko(Tt(e),t),o=l==null?void 0:l[_e];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Lh(n,l)&&(n!==void 0||yi(e.base_,t)))return!0;_o(e),Si(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return ko(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,_o(e),Si(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Tt(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Ie(11)},getPrototypeOf(e){return yn(e.base_)},setPrototypeOf(){Ie(12)}},ar={};kl(Su,(e,t)=>{ar[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});ar.deleteProperty=function(e,t){return ar.set.call(this,e,t,void 0)};ar.set=function(e,t,n){return Su.set.call(this,e[0],t,n,e[0])};function ko(e,t){const n=e[_e];return(n?Tt(n):e)[t]}function $h(e,t,n){var l;const r=gf(t,n);return r?"value"in r?r.value:(l=r.get)==null?void 0:l.call(e.draft_):void 0}function gf(e,t){if(!(t in e))return;let n=yn(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=yn(n)}}function Si(e){e.modified_||(e.modified_=!0,e.parent_&&Si(e.parent_))}function _o(e){e.copy_||(e.copy_=vi(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Uh=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const i=this;return function(s=o,...a){return i.produce(s,f=>n.call(this,f,...a))}}typeof n!="function"&&Ie(6),r!==void 0&&typeof r!="function"&&Ie(7);let l;if(et(t)){const o=Us(this),i=ki(t,void 0);let u=!0;try{l=n(i),u=!1}finally{u?gi(o):wi(o)}return $s(o,r),Bs(l,o)}else if(!t||typeof t!="object"){if(l=n(t),l===void 0&&(l=t),l===hf&&(l=void 0),this.autoFreeze_&&wu(l,!0),r){const o=[],i=[];$t("Patches").generateReplacementPatches_(t,l,o,i),r(o,i)}return l}else Ie(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(i,...u)=>this.produceWithPatches(i,s=>t(s,...u));let r,l;return[this.produce(t,n,(i,u)=>{r=i,l=u}),r,l]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){et(e)||Ie(8),St(e)&&(e=wf(e));const t=Us(this),n=ki(e,void 0);return n[_e].isManual_=!0,wi(t),n}finishDraft(e,t){const n=e&&e[_e];(!n||!n.isManual_)&&Ie(9);const{scope_:r}=n;return $s(r,t),Bs(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const l=t[n];if(l.path.length===0&&l.op==="replace"){e=l.value;break}}n>-1&&(t=t.slice(n+1));const r=$t("Patches").applyPatches_;return St(e)?r(e,t):this.produce(e,l=>r(l,t))}};function ki(e,t){const n=Bl(e)?$t("MapSet").proxyMap_(e,t):Wl(e)?$t("MapSet").proxySet_(e,t):Ah(e,t);return(t?t.scope_:vf()).drafts_.push(n),n}function wf(e){return St(e)||Ie(10,e),Sf(e)}function Sf(e){if(!et(e)||Vl(e))return e;const t=e[_e];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=vi(e,t.scope_.immer_.useStrictShallowCopy_)}else n=vi(e,!0);return kl(n,(r,l)=>{yf(n,r,Sf(l))}),t&&(t.finalized_=!1),n}var Ee=new Uh,kf=Ee.produce;Ee.produceWithPatches.bind(Ee);Ee.setAutoFreeze.bind(Ee);Ee.setUseStrictShallowCopy.bind(Ee);Ee.applyPatches.bind(Ee);Ee.createDraft.bind(Ee);Ee.finishDraft.bind(Ee);function Bh(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Wh(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Vh(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(r=>typeof r=="function"?`function ${r.name||"unnamed"}()`:typeof r).join(", ");throw new TypeError(`${t}[${n}]`)}}var Vs=e=>Array.isArray(e)?e:[e];function Hh(e){const t=Array.isArray(e[0])?e[0]:e;return Vh(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Qh(e,t){const n=[],{length:r}=e;for(let l=0;l{n=Dr(),i.resetResultsCount()},i.resultsCount=()=>o,i.resetResultsCount=()=>{o=0},i}function _f(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,r=(...l)=>{let o=0,i=0,u,s={},a=l.pop();typeof a=="object"&&(s=a,a=l.pop()),Bh(a,`createSelector expects an output function after the inputs, but received: [${typeof a}]`);const f={...n,...s},{memoize:m,memoizeOptions:h=[],argsMemoize:g=ku,argsMemoizeOptions:v=[],devModeChecks:S={}}=f,T=Vs(h),p=Vs(v),c=Hh(l),d=m(function(){return o++,a.apply(null,arguments)},...T),y=g(function(){i++;const _=Qh(c,arguments);return u=d.apply(null,_),u},...p);return Object.assign(y,{resultFunc:a,memoizedResultFunc:d,dependencies:c,dependencyRecomputations:()=>i,resetDependencyRecomputations:()=>{i=0},lastResult:()=>u,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:m,argsMemoize:g})};return Object.assign(r,{withTypes:()=>r}),r}var Gh=_f(ku),Zh=Object.assign((e,t=Gh)=>{Wh(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),r=n.map(o=>e[o]);return t(r,(...o)=>o.reduce((i,u,s)=>(i[n[s]]=u,i),{}))},{withTypes:()=>Zh});function Ef(e){return({dispatch:n,getState:r})=>l=>o=>typeof o=="function"?o(n,r,e):l(o)}var qh=Ef(),Jh=Ef,bh=(...e)=>{const t=_f(...e),n=Object.assign((...r)=>{const l=t(...r),o=(i,...u)=>l(St(i)?wf(i):i,...u);return Object.assign(o,l),o},{withTypes:()=>n});return n};bh(ku);var em=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Sl:Sl.apply(null,arguments)};function vn(e,t){function n(...r){if(t){let l=t(...r);if(!l)throw new Error(me(0));return{type:e,payload:l.payload,..."meta"in l&&{meta:l.meta},..."error"in l&&{error:l.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>jh(r)&&r.type===e,n}var xf=class Dn extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Dn.prototype)}static get[Symbol.species](){return Dn}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Dn(...t[0].concat(this)):new Dn(...t.concat(this))}};function Qs(e){return et(e)?kf(e,()=>{}):e}function Ks(e,t,n){if(e.has(t)){let l=e.get(t);return n.update&&(l=n.update(l,t,e),e.set(t,l)),l}if(!n.insert)throw new Error(me(10));const r=n.insert(t,e);return e.set(t,r),r}function tm(e){return typeof e=="boolean"}var nm=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:l=!0,actionCreatorCheck:o=!0}=t??{};let i=new xf;return n&&(tm(n)?i.push(qh):i.push(Jh(n.extraArgument))),i},rm="RTK_autoBatch",Cf=e=>t=>{setTimeout(t,e)},lm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Cf(10),om=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let l=!0,o=!1,i=!1;const u=new Set,s=e.type==="tick"?queueMicrotask:e.type==="raf"?lm:e.type==="callback"?e.queueNotification:Cf(e.timeout),a=()=>{i=!1,o&&(o=!1,u.forEach(f=>f()))};return Object.assign({},r,{subscribe(f){const m=()=>l&&f(),h=r.subscribe(m);return u.add(f),()=>{h(),u.delete(f)}},dispatch(f){var m;try{return l=!((m=f==null?void 0:f.meta)!=null&&m[rm]),o=!l,o&&(i||(i=!0,s(a))),r.dispatch(f)}finally{l=!0}}})},im=e=>function(n){const{autoBatch:r=!0}=n??{};let l=new xf(e);return r&&l.push(om(typeof r=="object"?r:void 0)),l},um=!0;function sm(e){const t=nm(),{reducer:n=void 0,middleware:r,devTools:l=!0,preloadedState:o=void 0,enhancers:i=void 0}=e||{};let u;if(typeof n=="function")u=n;else if(gu(n))u=zh(n);else throw new Error(me(1));let s;typeof r=="function"?s=r(t):s=t();let a=Sl;l&&(a=em({trace:!um,...typeof l=="object"&&l}));const f=Rh(...s),m=im(f);let h=typeof i=="function"?i(m):m();const g=a(...h);return pf(u,o,g)}function Nf(e){const t={},n=[];let r;const l={addCase(o,i){const u=typeof o=="string"?o:o.type;if(!u)throw new Error(me(28));if(u in t)throw new Error(me(29));return t[u]=i,l},addMatcher(o,i){return n.push({matcher:o,reducer:i}),l},addDefaultCase(o){return r=o,l}};return e(l),[t,n,r]}function am(e){return typeof e=="function"}function cm(e,t){let[n,r,l]=Nf(t),o;if(am(e))o=()=>Qs(e());else{const u=Qs(e);o=()=>u}function i(u=o(),s){let a=[n[s.type],...r.filter(({matcher:f})=>f(s)).map(({reducer:f})=>f)];return a.filter(f=>!!f).length===0&&(a=[l]),a.reduce((f,m)=>{if(m)if(St(f)){const g=m(f,s);return g===void 0?f:g}else{if(et(f))return kf(f,h=>m(h,s));{const h=m(f,s);if(h===void 0){if(f===null)return f;throw new Error(me(9))}return h}}return f},u)}return i.getInitialState=o,i}var fm="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",dm=(e=21)=>{let t="",n=e;for(;n--;)t+=fm[Math.random()*64|0];return t},pm=Symbol.for("rtk-slice-createasyncthunk");function hm(e,t){return`${e}/${t}`}function mm({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[pm];return function(l){const{name:o,reducerPath:i=o}=l;if(!o)throw new Error(me(11));typeof process<"u";const u=(typeof l.reducers=="function"?l.reducers(gm()):l.reducers)||{},s=Object.keys(u),a={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(d,y){const k=typeof d=="string"?d:d.type;if(!k)throw new Error(me(12));if(k in a.sliceCaseReducersByType)throw new Error(me(13));return a.sliceCaseReducersByType[k]=y,f},addMatcher(d,y){return a.sliceMatchers.push({matcher:d,reducer:y}),f},exposeAction(d,y){return a.actionCreators[d]=y,f},exposeCaseReducer(d,y){return a.sliceCaseReducersByName[d]=y,f}};s.forEach(d=>{const y=u[d],k={reducerName:d,type:hm(o,d),createNotation:typeof l.reducers=="function"};Sm(y)?_m(k,y,f,t):wm(k,y,f)});function m(){const[d={},y=[],k=void 0]=typeof l.extraReducers=="function"?Nf(l.extraReducers):[l.extraReducers],_={...d,...a.sliceCaseReducersByType};return cm(l.initialState,x=>{for(let E in _)x.addCase(E,_[E]);for(let E of a.sliceMatchers)x.addMatcher(E.matcher,E.reducer);for(let E of y)x.addMatcher(E.matcher,E.reducer);k&&x.addDefaultCase(k)})}const h=d=>d,g=new Map;let v;function S(d,y){return v||(v=m()),v(d,y)}function T(){return v||(v=m()),v.getInitialState()}function p(d,y=!1){function k(x){let E=x[d];return typeof E>"u"&&y&&(E=T()),E}function _(x=h){const E=Ks(g,y,{insert:()=>new WeakMap});return Ks(E,x,{insert:()=>{const A={};for(const[j,ye]of Object.entries(l.selectors??{}))A[j]=ym(ye,x,T,y);return A}})}return{reducerPath:d,getSelectors:_,get selectors(){return _(k)},selectSlice:k}}const c={name:o,reducer:S,actions:a.actionCreators,caseReducers:a.sliceCaseReducersByName,getInitialState:T,...p(i),injectInto(d,{reducerPath:y,...k}={}){const _=y??i;return d.inject({reducerPath:_,reducer:S},k),{...c,...p(_,!0)}}};return c}}function ym(e,t,n,r){function l(o,...i){let u=t(o);return typeof u>"u"&&r&&(u=n()),e(u,...i)}return l.unwrapped=e,l}var vm=mm();function gm(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function wm({type:e,reducerName:t,createNotation:n},r,l){let o,i;if("reducer"in r){if(n&&!km(r))throw new Error(me(17));o=r.reducer,i=r.prepare}else o=r;l.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,i?vn(e,i):vn(e))}function Sm(e){return e._reducerDefinitionType==="asyncThunk"}function km(e){return e._reducerDefinitionType==="reducerWithPrepare"}function _m({type:e,reducerName:t},n,r,l){if(!l)throw new Error(me(18));const{payloadCreator:o,fulfilled:i,pending:u,rejected:s,settled:a,options:f}=n,m=l(e,o,f);r.exposeAction(t,m),i&&r.addCase(m.fulfilled,i),u&&r.addCase(m.pending,u),s&&r.addCase(m.rejected,s),a&&r.addMatcher(m.settled,a),r.exposeCaseReducer(t,{fulfilled:i||Ir,pending:u||Ir,rejected:s||Ir,settled:a||Ir})}function Ir(){}var Em=(e,t)=>{if(typeof e!="function")throw new Error(me(32))},_u="listenerMiddleware",xm=e=>{let{type:t,actionCreator:n,matcher:r,predicate:l,effect:o}=e;if(t)l=vn(t).match;else if(n)t=n.type,l=n.match;else if(r)l=r;else if(!l)throw new Error(me(21));return Em(o),{predicate:l,type:t,effect:o}},Cm=Object.assign(e=>{const{type:t,predicate:n,effect:r}=xm(e);return{id:dm(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(me(22))}}},{withTypes:()=>Cm}),Nm=Object.assign(vn(`${_u}/add`),{withTypes:()=>Nm});vn(`${_u}/removeAll`);var Pm=Object.assign(vn(`${_u}/remove`),{withTypes:()=>Pm});function me(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const Pf=vm({name:"cart",initialState:{items:[]},reducers:{addItem:(e,t)=>{const n=e.items.find(r=>r.name===t.payload.name);n?n.quantity+=1:e.items.push({...t.payload,quantity:1})},removeItem:(e,t)=>{e.items=e.items.filter(n=>n.name!==t.payload.name)},updateQuantity:(e,t)=>{const{name:n,quantity:r}=t.payload,l=e.items.find(o=>o.name===n);l&&(r>0?l.quantity=r:e.items=e.items.filter(o=>o.name!==n))}}}),{addItem:Tm,removeItem:zm,updateQuantity:Ys}=Pf.actions,Rm=Pf.reducer,jm=({onContinueShopping:e})=>{const t=cf(a=>a.cart.items),n=df(),r=()=>t.reduce((a,f)=>{const m=parseFloat(f.cost.replace("$",""));return a+f.quantity*m},0).toFixed(2),l=a=>{const f=parseFloat(a.cost.replace("$",""));return(a.quantity*f).toFixed(2)},o=a=>{n(Ys({name:a.name,quantity:a.quantity+1}))},i=a=>{a.quantity>1?n(Ys({name:a.name,quantity:a.quantity-1})):u(a)},u=a=>{n(zm({name:a.name}))},s=()=>{alert("Functionality to be added for future reference")};return C.jsxs("div",{className:"cart-container",children:[C.jsxs("h2",{style:{color:"black"},children:["Total Cart Amount: $",r()]}),C.jsx("div",{children:t.map(a=>C.jsxs("div",{className:"cart-item",children:[C.jsx("img",{className:"cart-item-image",src:a.image,alt:a.name}),C.jsxs("div",{className:"cart-item-details",children:[C.jsx("div",{className:"cart-item-name",children:a.name}),C.jsxs("div",{className:"cart-item-cost",children:["Price: ",a.cost]}),C.jsxs("div",{className:"cart-item-quantity",children:[C.jsx("button",{className:"cart-item-button cart-item-button-dec",onClick:()=>i(a),children:"-"}),C.jsx("span",{className:"cart-item-quantity-value",children:a.quantity}),C.jsx("button",{className:"cart-item-button cart-item-button-inc",onClick:()=>o(a),children:"+"})]}),C.jsxs("div",{className:"cart-item-total",children:["Subtotal: $",l(a)]}),C.jsx("button",{className:"cart-item-delete",onClick:()=>u(a),children:"Delete"})]})]},a.name))}),C.jsx("div",{style:{marginTop:"20px",color:"black"},className:"total_cart_amount"}),C.jsxs("div",{className:"continue_shopping_btn",children:[C.jsx("button",{className:"get-started-button",onClick:e,children:"Continue Shopping"}),C.jsx("br",{}),C.jsx("button",{className:"get-started-button1",onClick:s,children:"Checkout"})]})]})};function Om(){const[e,t]=Ut.useState(!1),n=df(),r=cf(f=>{var m;return((m=f.cart)==null?void 0:m.items)||[]}),l=r.reduce((f,m)=>f+m.quantity,0),o=[{category:"Air Purifying Plants",plants:[{name:"Snake Plant",image:"https://cdn.pixabay.com/photo/2021/01/22/06/04/snake-plant-5939187_1280.jpg",description:"Produces oxygen at night, improving air quality.",cost:"$15"},{name:"Spider Plant",image:"https://cdn.pixabay.com/photo/2018/07/11/06/47/chlorophytum-3530413_1280.jpg",description:"Filters formaldehyde and xylene from the air.",cost:"$12"},{name:"Peace Lily",image:"https://cdn.pixabay.com/photo/2019/06/12/14/14/peace-lilies-4269365_1280.jpg",description:"Removes mold spores and purifies the air.",cost:"$18"}]},{category:"Aromatic Plants",plants:[{name:"Lavender",image:"https://images.unsplash.com/photo-1611909023032-2d6b3134ecba?q=80&w=1074&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",description:"Calming scent, used in aromatherapy.",cost:"$20"},{name:"Jasmine",image:"https://cdn.pixabay.com/photo/2023/06/04/12/32/jasmine-8039559_960_720.jpg",description:"Known for its sweet and romantic fragrance.",cost:"$15"}]},{category:"Culinary and Medicinal Plants",plants:[{name:"Mint",image:"https://cdn.pixabay.com/photo/2017/07/12/12/23/peppermint-2496773_1280.jpg",description:"Refreshing aroma, used in teas and cooking.",cost:"$10"}]}],i=f=>{n(Tm({...f,quantity:1}))},u=f=>{f.preventDefault(),t(!0)},s=f=>{f.preventDefault(),t(!1)},a=f=>r.some(m=>m.name===f);return C.jsxs("div",{children:[C.jsxs("div",{className:"navbar",children:[C.jsx("div",{className:"tag",children:C.jsxs("div",{className:"luxury",children:[C.jsx("img",{src:"https://cdn.pixabay.com/photo/2020/08/05/13/12/eco-5465432_1280.png",alt:"Paradise Nursery Logo"}),C.jsx("a",{href:"/",style:{textDecoration:"none"},children:C.jsxs("div",{children:[C.jsx("h3",{style:{color:"white"},children:"Paradise Nursery"}),C.jsx("i",{style:{color:"white"},children:"Where Green Meets Serenity"})]})})]})}),C.jsxs("div",{className:"cart",onClick:u,children:[C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",height:"40",width:"40",children:[C.jsx("rect",{width:"256",height:"256",fill:"none"}),C.jsx("circle",{cx:"80",cy:"216",r:"12"}),C.jsx("circle",{cx:"184",cy:"216",r:"12"}),C.jsx("path",{d:"M42.3,72H221.7l-26.4,92.4A15.9,15.9,0,0,1,179.9,176H84.1a15.9,15.9,0,0,1-15.4-11.6L32.5,37.8A8,8,0,0,0,24.8,32H8",fill:"none",stroke:"#faf9f9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})]}),l>0&&C.jsx("span",{className:"cart-badge",children:l})]})]}),e?C.jsx(jm,{onContinueShopping:s}):C.jsx("div",{className:"product-grid",children:o.map((f,m)=>C.jsxs("div",{className:"product-list",children:[C.jsx("h2",{className:"plant-heading",children:f.category}),C.jsx("div",{className:"product-list",children:f.plants.map(h=>C.jsxs("div",{className:"product-card",children:[C.jsx("img",{src:h.image,alt:h.name,className:"product-image"}),C.jsx("h3",{className:"product-title",children:h.name}),C.jsx("p",{className:"product-description",children:h.description}),C.jsx("p",{className:"product-price",children:h.cost}),C.jsx("button",{className:`product-button ${a(h.name)?"added-to-cart":""}`,onClick:()=>i(h),disabled:a(h.name),children:a(h.name)?"Added to Cart":"Add to Cart"})]},h.name))})]},m))})]})}function Lm(){return C.jsxs("div",{className:"about-us-container",children:[C.jsx("p",{className:"about-us-description",children:"Welcome to Paradise Nursery, where green meets serenity!"}),C.jsx("p",{className:"about-us-content",children:"At Paradise Nursery, we are passionate about bringing nature closer to you. Our mission is to provide a wide range of high-quality plants that not only enhance the beauty of your surroundings but also contribute to a healthier and more sustainable lifestyle. From air-purifying plants to aromatic fragrant ones, we have something for every plant enthusiast."}),C.jsx("p",{className:"about-us-content",children:"Our team of experts is dedicated to ensuring that each plant meets our strict standards of quality and care. Whether you're a seasoned gardener or just starting your green journey, we're here to support you every step of the way. Feel free to explore our collection, ask questions, and let us help you find the perfect plant for your home or office."}),C.jsx("p",{className:"about-us-content",children:"Join us in our mission to create a greener, healthier world. Visit Paradise Nursery today and experience the beauty of nature right at your doorstep."})]})}function Mm(){const[e,t]=Ut.useState(!1),n=()=>{t(!0)};return C.jsxs("div",{className:"app-container",children:[C.jsxs("div",{className:`landing-page ${e?"fade-out":""}`,children:[C.jsx("div",{className:"background-image"}),C.jsxs("div",{className:"content",children:[C.jsxs("div",{className:"landing_content",children:[C.jsx("h1",{children:"Welcome To Paradise Nursery"}),C.jsx("div",{className:"divider"}),C.jsx("p",{children:"Where Green Meets Serenity"}),C.jsx("button",{className:"get-started-button",onClick:n,children:"Get Started"})]}),C.jsx("div",{className:"aboutus_container",children:C.jsx(Lm,{})})]})]}),C.jsx("div",{className:`product-list-container ${e?"visible":""}`,children:C.jsx(Om,{})})]})}const Dm=sm({reducer:{cart:Rm}});Eo.createRoot(document.getElementById("root")).render(C.jsx(Ni.StrictMode,{children:C.jsx(Eh,{store:Dm,children:C.jsx(Mm,{})})})); + */var mr=Ut;function rh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var lh=typeof Object.is=="function"?Object.is:rh,ih=mr.useSyncExternalStore,oh=mr.useRef,uh=mr.useEffect,sh=mr.useMemo,ah=mr.useDebugValue;uf.useSyncExternalStoreWithSelector=function(e,t,n,r,l){var i=oh(null);if(i.current===null){var o={hasValue:!1,value:null};i.current=o}else o=i.current;i=sh(function(){function s(g){if(!a){if(a=!0,f=g,g=r(g),l!==void 0&&o.hasValue){var v=o.value;if(l(v,g))return m=v}return m=g}if(v=m,lh(f,g))return v;var S=r(g);return l!==void 0&&l(v,S)?v:(f=g,m=S)}var a=!1,f,m,h=n===void 0?null:n;return[function(){return s(t())},h===null?void 0:function(){return s(h())}]},[t,n,r,l]);var u=ih(e,i[0],i[1]);return uh(function(){o.hasValue=!0,o.value=u},[u]),ah(u),u};of.exports=uf;var ch=of.exports,we="default"in Pu?No:Pu,Ms=Symbol.for("react-redux-context"),Ds=typeof globalThis<"u"?globalThis:{};function fh(){if(!we.createContext)return{};const e=Ds[Ms]??(Ds[Ms]=new Map);let t=e.get(we.createContext);return t||(t=we.createContext(null),e.set(we.createContext,t)),t}var wt=fh(),dh=()=>{throw new Error("uSES not initialized!")};function vu(e=wt){return function(){return we.useContext(e)}}var sf=vu(),af=dh,ph=e=>{af=e},hh=(e,t)=>e===t;function mh(e=wt){const t=e===wt?sf:vu(e),n=(r,l={})=>{const{equalityFn:i=hh,devModeChecks:o={}}=typeof l=="function"?{equalityFn:l}:l,{store:u,subscription:s,getServerState:a,stabilityCheck:f,identityFunctionCheck:m}=t();we.useRef(!0);const h=we.useCallback({[r.name](v){return r(v)}}[r.name],[r,f,o.stabilityCheck]),g=af(s.addNestedSub,u.getState,a||u.getState,h,i);return we.useDebugValue(g),g};return Object.assign(n,{withTypes:()=>n}),n}var cf=mh();function yh(e){e()}function vh(){let e=null,t=null;return{clear(){e=null,t=null},notify(){yh(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const l=t={callback:n,next:null,prev:t};return l.prev?l.prev.next=l:e=l,function(){!r||e===null||(r=!1,l.next?l.next.prev=l.prev:t=l.prev,l.prev?l.prev.next=l.next:e=l.next)}}}}var Is={notify(){},get:()=>[]};function gh(e,t){let n,r=Is,l=0,i=!1;function o(S){f();const T=r.subscribe(S);let p=!1;return()=>{p||(p=!0,T(),m())}}function u(){r.notify()}function s(){v.onStateChange&&v.onStateChange()}function a(){return i}function f(){l++,n||(n=e.subscribe(s),r=vh())}function m(){l--,n&&l===0&&(n(),n=void 0,r.clear(),r=Is)}function h(){i||(i=!0,f())}function g(){i&&(i=!1,m())}const v={addNestedSub:o,notifyNestedSubs:u,handleChangeWrapper:s,isSubscribed:a,trySubscribe:h,tryUnsubscribe:g,getListeners:()=>r};return v}var wh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Sh=typeof navigator<"u"&&navigator.product==="ReactNative",kh=wh||Sh?we.useLayoutEffect:we.useEffect;function _h({store:e,context:t,children:n,serverState:r,stabilityCheck:l="once",identityFunctionCheck:i="once"}){const o=we.useMemo(()=>{const a=gh(e);return{store:e,subscription:a,getServerState:r?()=>r:void 0,stabilityCheck:l,identityFunctionCheck:i}},[e,r,l,i]),u=we.useMemo(()=>e.getState(),[e]);kh(()=>{const{subscription:a}=o;return a.onStateChange=a.notifyNestedSubs,a.trySubscribe(),u!==e.getState()&&a.notifyNestedSubs(),()=>{a.tryUnsubscribe(),a.onStateChange=void 0}},[o,u]);const s=t||wt;return we.createElement(s.Provider,{value:o},n)}var Eh=_h;function ff(e=wt){const t=e===wt?sf:vu(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var xh=ff();function Ch(e=wt){const t=e===wt?xh:ff(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var df=Ch();ph(ch.useSyncExternalStoreWithSelector);function J(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Nh=typeof Symbol=="function"&&Symbol.observable||"@@observable",Fs=Nh,wi=()=>Math.random().toString(36).substring(7).split("").join("."),Ph={INIT:`@@redux/INIT${wi()}`,REPLACE:`@@redux/REPLACE${wi()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${wi()}`},wl=Ph;function gu(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function pf(e,t,n){if(typeof e!="function")throw new Error(J(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(J(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(J(1));return n(pf)(e,t)}let r=e,l=t,i=new Map,o=i,u=0,s=!1;function a(){o===i&&(o=new Map,i.forEach((T,p)=>{o.set(p,T)}))}function f(){if(s)throw new Error(J(3));return l}function m(T){if(typeof T!="function")throw new Error(J(4));if(s)throw new Error(J(5));let p=!0;a();const c=u++;return o.set(c,T),function(){if(p){if(s)throw new Error(J(6));p=!1,a(),o.delete(c),i=null}}}function h(T){if(!gu(T))throw new Error(J(7));if(typeof T.type>"u")throw new Error(J(8));if(typeof T.type!="string")throw new Error(J(17));if(s)throw new Error(J(9));try{s=!0,l=r(l,T)}finally{s=!1}return(i=o).forEach(c=>{c()}),T}function g(T){if(typeof T!="function")throw new Error(J(10));r=T,h({type:wl.REPLACE})}function v(){const T=m;return{subscribe(p){if(typeof p!="object"||p===null)throw new Error(J(11));function c(){const y=p;y.next&&y.next(f())}return c(),{unsubscribe:T(c)}},[Fs](){return this}}}return h({type:wl.INIT}),{dispatch:h,subscribe:m,getState:f,replaceReducer:g,[Fs]:v}}function Th(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:wl.INIT})>"u")throw new Error(J(12));if(typeof n(void 0,{type:wl.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(J(13))})}function zh(e){const t=Object.keys(e),n={};for(let i=0;i"u")throw u&&u.type,new Error(J(14));a[m]=v,s=s||v!==g}return s=s||r.length!==Object.keys(o).length,s?a:o}}function Sl(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Rh(...e){return t=>(n,r)=>{const l=t(n,r);let i=()=>{throw new Error(J(15))};const o={getState:l.getState,dispatch:(s,...a)=>i(s,...a)},u=e.map(s=>s(o));return i=Sl(...u)(l.dispatch),{...l,dispatch:i}}}function jh(e){return gu(e)&&"type"in e&&typeof e.type=="string"}var hf=Symbol.for("immer-nothing"),As=Symbol.for("immer-draftable"),_e=Symbol.for("immer-state");function Ie(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var yn=Object.getPrototypeOf;function St(e){return!!e&&!!e[_e]}function et(e){var t;return e?mf(e)||Array.isArray(e)||!!e[As]||!!((t=e.constructor)!=null&&t[As])||Bl(e)||Wl(e):!1}var Oh=Object.prototype.constructor.toString();function mf(e){if(!e||typeof e!="object")return!1;const t=yn(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===Oh}function kl(e,t){Ul(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Ul(e){const t=e[_e];return t?t.type_:Array.isArray(e)?1:Bl(e)?2:Wl(e)?3:0}function yo(e,t){return Ul(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function yf(e,t,n){const r=Ul(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Lh(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Bl(e){return e instanceof Map}function Wl(e){return e instanceof Set}function Tt(e){return e.copy_||e.base_}function vo(e,t){if(Bl(e))return new Map(e);if(Wl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&mf(e))return yn(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[_e];let r=Reflect.ownKeys(n);for(let l=0;l1&&(e.set=e.add=e.clear=e.delete=Mh),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>wu(r,!0))),e}function Mh(){Ie(2)}function Vl(e){return Object.isFrozen(e)}var Dh={};function $t(e){const t=Dh[e];return t||Ie(0,e),t}var sr;function vf(){return sr}function Ih(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function $s(e,t){t&&($t("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function go(e){wo(e),e.drafts_.forEach(Fh),e.drafts_=null}function wo(e){e===sr&&(sr=e.parent_)}function Us(e){return sr=Ih(sr,e)}function Fh(e){const t=e[_e];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Bs(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[_e].modified_&&(go(t),Ie(4)),et(e)&&(e=_l(t,e),t.parent_||El(t,e)),t.patches_&&$t("Patches").generateReplacementPatches_(n[_e].base_,e,t.patches_,t.inversePatches_)):e=_l(t,n,[]),go(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==hf?e:void 0}function _l(e,t,n){if(Vl(t))return t;const r=t[_e];if(!r)return kl(t,(l,i)=>Ws(e,r,t,l,i,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return El(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const l=r.copy_;let i=l,o=!1;r.type_===3&&(i=new Set(l),l.clear(),o=!0),kl(i,(u,s)=>Ws(e,r,l,u,s,n,o)),El(e,l,!1),n&&e.patches_&&$t("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Ws(e,t,n,r,l,i,o){if(St(l)){const u=i&&t&&t.type_!==3&&!yo(t.assigned_,r)?i.concat(r):void 0,s=_l(e,l,u);if(yf(n,r,s),St(s))e.canAutoFreeze_=!1;else return}else o&&n.add(l);if(et(l)&&!Vl(l)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;_l(e,l),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&El(e,l)}}function El(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&wu(t,n)}function Ah(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:vf(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=r,i=Su;n&&(l=[r],i=ar);const{revoke:o,proxy:u}=Proxy.revocable(l,i);return r.draft_=u,r.revoke_=o,u}var Su={get(e,t){if(t===_e)return e;const n=Tt(e);if(!yo(n,t))return $h(e,n,t);const r=n[t];return e.finalized_||!et(r)?r:r===Si(e.base_,t)?(ki(e),e.copy_[t]=ko(r,e)):r},has(e,t){return t in Tt(e)},ownKeys(e){return Reflect.ownKeys(Tt(e))},set(e,t,n){const r=gf(Tt(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const l=Si(Tt(e),t),i=l==null?void 0:l[_e];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Lh(n,l)&&(n!==void 0||yo(e.base_,t)))return!0;ki(e),So(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Si(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,ki(e),So(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Tt(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Ie(11)},getPrototypeOf(e){return yn(e.base_)},setPrototypeOf(){Ie(12)}},ar={};kl(Su,(e,t)=>{ar[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});ar.deleteProperty=function(e,t){return ar.set.call(this,e,t,void 0)};ar.set=function(e,t,n){return Su.set.call(this,e[0],t,n,e[0])};function Si(e,t){const n=e[_e];return(n?Tt(n):e)[t]}function $h(e,t,n){var l;const r=gf(t,n);return r?"value"in r?r.value:(l=r.get)==null?void 0:l.call(e.draft_):void 0}function gf(e,t){if(!(t in e))return;let n=yn(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=yn(n)}}function So(e){e.modified_||(e.modified_=!0,e.parent_&&So(e.parent_))}function ki(e){e.copy_||(e.copy_=vo(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Uh=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const i=n;n=t;const o=this;return function(s=i,...a){return o.produce(s,f=>n.call(this,f,...a))}}typeof n!="function"&&Ie(6),r!==void 0&&typeof r!="function"&&Ie(7);let l;if(et(t)){const i=Us(this),o=ko(t,void 0);let u=!0;try{l=n(o),u=!1}finally{u?go(i):wo(i)}return $s(i,r),Bs(l,i)}else if(!t||typeof t!="object"){if(l=n(t),l===void 0&&(l=t),l===hf&&(l=void 0),this.autoFreeze_&&wu(l,!0),r){const i=[],o=[];$t("Patches").generateReplacementPatches_(t,l,i,o),r(i,o)}return l}else Ie(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(o,...u)=>this.produceWithPatches(o,s=>t(s,...u));let r,l;return[this.produce(t,n,(o,u)=>{r=o,l=u}),r,l]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){et(e)||Ie(8),St(e)&&(e=wf(e));const t=Us(this),n=ko(e,void 0);return n[_e].isManual_=!0,wo(t),n}finishDraft(e,t){const n=e&&e[_e];(!n||!n.isManual_)&&Ie(9);const{scope_:r}=n;return $s(r,t),Bs(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const l=t[n];if(l.path.length===0&&l.op==="replace"){e=l.value;break}}n>-1&&(t=t.slice(n+1));const r=$t("Patches").applyPatches_;return St(e)?r(e,t):this.produce(e,l=>r(l,t))}};function ko(e,t){const n=Bl(e)?$t("MapSet").proxyMap_(e,t):Wl(e)?$t("MapSet").proxySet_(e,t):Ah(e,t);return(t?t.scope_:vf()).drafts_.push(n),n}function wf(e){return St(e)||Ie(10,e),Sf(e)}function Sf(e){if(!et(e)||Vl(e))return e;const t=e[_e];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=vo(e,t.scope_.immer_.useStrictShallowCopy_)}else n=vo(e,!0);return kl(n,(r,l)=>{yf(n,r,Sf(l))}),t&&(t.finalized_=!1),n}var Ee=new Uh,kf=Ee.produce;Ee.produceWithPatches.bind(Ee);Ee.setAutoFreeze.bind(Ee);Ee.setUseStrictShallowCopy.bind(Ee);Ee.applyPatches.bind(Ee);Ee.createDraft.bind(Ee);Ee.finishDraft.bind(Ee);function Bh(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Wh(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Vh(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(r=>typeof r=="function"?`function ${r.name||"unnamed"}()`:typeof r).join(", ");throw new TypeError(`${t}[${n}]`)}}var Vs=e=>Array.isArray(e)?e:[e];function Hh(e){const t=Array.isArray(e[0])?e[0]:e;return Vh(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Qh(e,t){const n=[],{length:r}=e;for(let l=0;l{n=Dr(),o.resetResultsCount()},o.resultsCount=()=>i,o.resetResultsCount=()=>{i=0},o}function _f(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,r=(...l)=>{let i=0,o=0,u,s={},a=l.pop();typeof a=="object"&&(s=a,a=l.pop()),Bh(a,`createSelector expects an output function after the inputs, but received: [${typeof a}]`);const f={...n,...s},{memoize:m,memoizeOptions:h=[],argsMemoize:g=ku,argsMemoizeOptions:v=[],devModeChecks:S={}}=f,T=Vs(h),p=Vs(v),c=Hh(l),d=m(function(){return i++,a.apply(null,arguments)},...T),y=g(function(){o++;const E=Qh(c,arguments);return u=d.apply(null,E),u},...p);return Object.assign(y,{resultFunc:a,memoizedResultFunc:d,dependencies:c,dependencyRecomputations:()=>o,resetDependencyRecomputations:()=>{o=0},lastResult:()=>u,recomputations:()=>i,resetRecomputations:()=>{i=0},memoize:m,argsMemoize:g})};return Object.assign(r,{withTypes:()=>r}),r}var Gh=_f(ku),Zh=Object.assign((e,t=Gh)=>{Wh(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),r=n.map(i=>e[i]);return t(r,(...i)=>i.reduce((o,u,s)=>(o[n[s]]=u,o),{}))},{withTypes:()=>Zh});function Ef(e){return({dispatch:n,getState:r})=>l=>i=>typeof i=="function"?i(n,r,e):l(i)}var qh=Ef(),Jh=Ef,bh=(...e)=>{const t=_f(...e),n=Object.assign((...r)=>{const l=t(...r),i=(o,...u)=>l(St(o)?wf(o):o,...u);return Object.assign(i,l),i},{withTypes:()=>n});return n};bh(ku);var em=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Sl:Sl.apply(null,arguments)};function vn(e,t){function n(...r){if(t){let l=t(...r);if(!l)throw new Error(me(0));return{type:e,payload:l.payload,..."meta"in l&&{meta:l.meta},..."error"in l&&{error:l.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>jh(r)&&r.type===e,n}var xf=class Dn extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Dn.prototype)}static get[Symbol.species](){return Dn}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Dn(...t[0].concat(this)):new Dn(...t.concat(this))}};function Qs(e){return et(e)?kf(e,()=>{}):e}function Ks(e,t,n){if(e.has(t)){let l=e.get(t);return n.update&&(l=n.update(l,t,e),e.set(t,l)),l}if(!n.insert)throw new Error(me(10));const r=n.insert(t,e);return e.set(t,r),r}function tm(e){return typeof e=="boolean"}var nm=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:l=!0,actionCreatorCheck:i=!0}=t??{};let o=new xf;return n&&(tm(n)?o.push(qh):o.push(Jh(n.extraArgument))),o},rm="RTK_autoBatch",Cf=e=>t=>{setTimeout(t,e)},lm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Cf(10),im=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let l=!0,i=!1,o=!1;const u=new Set,s=e.type==="tick"?queueMicrotask:e.type==="raf"?lm:e.type==="callback"?e.queueNotification:Cf(e.timeout),a=()=>{o=!1,i&&(i=!1,u.forEach(f=>f()))};return Object.assign({},r,{subscribe(f){const m=()=>l&&f(),h=r.subscribe(m);return u.add(f),()=>{h(),u.delete(f)}},dispatch(f){var m;try{return l=!((m=f==null?void 0:f.meta)!=null&&m[rm]),i=!l,i&&(o||(o=!0,s(a))),r.dispatch(f)}finally{l=!0}}})},om=e=>function(n){const{autoBatch:r=!0}=n??{};let l=new xf(e);return r&&l.push(im(typeof r=="object"?r:void 0)),l},um=!0;function sm(e){const t=nm(),{reducer:n=void 0,middleware:r,devTools:l=!0,preloadedState:i=void 0,enhancers:o=void 0}=e||{};let u;if(typeof n=="function")u=n;else if(gu(n))u=zh(n);else throw new Error(me(1));let s;typeof r=="function"?s=r(t):s=t();let a=Sl;l&&(a=em({trace:!um,...typeof l=="object"&&l}));const f=Rh(...s),m=om(f);let h=typeof o=="function"?o(m):m();const g=a(...h);return pf(u,i,g)}function Nf(e){const t={},n=[];let r;const l={addCase(i,o){const u=typeof i=="string"?i:i.type;if(!u)throw new Error(me(28));if(u in t)throw new Error(me(29));return t[u]=o,l},addMatcher(i,o){return n.push({matcher:i,reducer:o}),l},addDefaultCase(i){return r=i,l}};return e(l),[t,n,r]}function am(e){return typeof e=="function"}function cm(e,t){let[n,r,l]=Nf(t),i;if(am(e))i=()=>Qs(e());else{const u=Qs(e);i=()=>u}function o(u=i(),s){let a=[n[s.type],...r.filter(({matcher:f})=>f(s)).map(({reducer:f})=>f)];return a.filter(f=>!!f).length===0&&(a=[l]),a.reduce((f,m)=>{if(m)if(St(f)){const g=m(f,s);return g===void 0?f:g}else{if(et(f))return kf(f,h=>m(h,s));{const h=m(f,s);if(h===void 0){if(f===null)return f;throw new Error(me(9))}return h}}return f},u)}return o.getInitialState=i,o}var fm="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",dm=(e=21)=>{let t="",n=e;for(;n--;)t+=fm[Math.random()*64|0];return t},pm=Symbol.for("rtk-slice-createasyncthunk");function hm(e,t){return`${e}/${t}`}function mm({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[pm];return function(l){const{name:i,reducerPath:o=i}=l;if(!i)throw new Error(me(11));typeof process<"u";const u=(typeof l.reducers=="function"?l.reducers(gm()):l.reducers)||{},s=Object.keys(u),a={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(d,y){const k=typeof d=="string"?d:d.type;if(!k)throw new Error(me(12));if(k in a.sliceCaseReducersByType)throw new Error(me(13));return a.sliceCaseReducersByType[k]=y,f},addMatcher(d,y){return a.sliceMatchers.push({matcher:d,reducer:y}),f},exposeAction(d,y){return a.actionCreators[d]=y,f},exposeCaseReducer(d,y){return a.sliceCaseReducersByName[d]=y,f}};s.forEach(d=>{const y=u[d],k={reducerName:d,type:hm(i,d),createNotation:typeof l.reducers=="function"};Sm(y)?_m(k,y,f,t):wm(k,y,f)});function m(){const[d={},y=[],k=void 0]=typeof l.extraReducers=="function"?Nf(l.extraReducers):[l.extraReducers],E={...d,...a.sliceCaseReducersByType};return cm(l.initialState,C=>{for(let x in E)C.addCase(x,E[x]);for(let x of a.sliceMatchers)C.addMatcher(x.matcher,x.reducer);for(let x of y)C.addMatcher(x.matcher,x.reducer);k&&C.addDefaultCase(k)})}const h=d=>d,g=new Map;let v;function S(d,y){return v||(v=m()),v(d,y)}function T(){return v||(v=m()),v.getInitialState()}function p(d,y=!1){function k(C){let x=C[d];return typeof x>"u"&&y&&(x=T()),x}function E(C=h){const x=Ks(g,y,{insert:()=>new WeakMap});return Ks(x,C,{insert:()=>{const A={};for(const[j,ye]of Object.entries(l.selectors??{}))A[j]=ym(ye,C,T,y);return A}})}return{reducerPath:d,getSelectors:E,get selectors(){return E(k)},selectSlice:k}}const c={name:i,reducer:S,actions:a.actionCreators,caseReducers:a.sliceCaseReducersByName,getInitialState:T,...p(o),injectInto(d,{reducerPath:y,...k}={}){const E=y??o;return d.inject({reducerPath:E,reducer:S},k),{...c,...p(E,!0)}}};return c}}function ym(e,t,n,r){function l(i,...o){let u=t(i);return typeof u>"u"&&r&&(u=n()),e(u,...o)}return l.unwrapped=e,l}var vm=mm();function gm(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function wm({type:e,reducerName:t,createNotation:n},r,l){let i,o;if("reducer"in r){if(n&&!km(r))throw new Error(me(17));i=r.reducer,o=r.prepare}else i=r;l.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,o?vn(e,o):vn(e))}function Sm(e){return e._reducerDefinitionType==="asyncThunk"}function km(e){return e._reducerDefinitionType==="reducerWithPrepare"}function _m({type:e,reducerName:t},n,r,l){if(!l)throw new Error(me(18));const{payloadCreator:i,fulfilled:o,pending:u,rejected:s,settled:a,options:f}=n,m=l(e,i,f);r.exposeAction(t,m),o&&r.addCase(m.fulfilled,o),u&&r.addCase(m.pending,u),s&&r.addCase(m.rejected,s),a&&r.addMatcher(m.settled,a),r.exposeCaseReducer(t,{fulfilled:o||Ir,pending:u||Ir,rejected:s||Ir,settled:a||Ir})}function Ir(){}var Em=(e,t)=>{if(typeof e!="function")throw new Error(me(32))},_u="listenerMiddleware",xm=e=>{let{type:t,actionCreator:n,matcher:r,predicate:l,effect:i}=e;if(t)l=vn(t).match;else if(n)t=n.type,l=n.match;else if(r)l=r;else if(!l)throw new Error(me(21));return Em(i),{predicate:l,type:t,effect:i}},Cm=Object.assign(e=>{const{type:t,predicate:n,effect:r}=xm(e);return{id:dm(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(me(22))}}},{withTypes:()=>Cm}),Nm=Object.assign(vn(`${_u}/add`),{withTypes:()=>Nm});vn(`${_u}/removeAll`);var Pm=Object.assign(vn(`${_u}/remove`),{withTypes:()=>Pm});function me(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const Pf=vm({name:"cart",initialState:{items:[]},reducers:{addItem:(e,t)=>{const n=e.items.find(r=>r.name===t.payload.name);n?n.quantity+=1:e.items.push({...t.payload,quantity:1})},removeItem:(e,t)=>{e.items=e.items.filter(n=>n.name!==t.payload.name)},updateQuantity:(e,t)=>{const{name:n,quantity:r}=t.payload,l=e.items.find(i=>i.name===n);l&&(r>0?l.quantity=r:e.items=e.items.filter(i=>i.name!==n))}}}),{addItem:Tm,removeItem:zm,updateQuantity:Ys}=Pf.actions,Rm=Pf.reducer,jm=({onContinueShopping:e})=>{const t=cf(a=>a.cart.items),n=df(),r=()=>t.reduce((a,f)=>{const m=parseFloat(f.cost.replace("$",""));return a+f.quantity*m},0).toFixed(2),l=a=>{const f=parseFloat(a.cost.replace("$",""));return(a.quantity*f).toFixed(2)},i=a=>{n(Ys({name:a.name,quantity:a.quantity+1}))},o=a=>{a.quantity>1?n(Ys({name:a.name,quantity:a.quantity-1})):u(a)},u=a=>{n(zm({name:a.name}))},s=()=>{alert("Functionality to be added for future reference")};return _.jsxs("div",{className:"cart-container",children:[_.jsxs("h2",{style:{color:"black"},children:["Total Cart Amount: $",r()]}),_.jsx("div",{children:t.map(a=>_.jsxs("div",{className:"cart-item",children:[_.jsx("img",{className:"cart-item-image",src:a.image,alt:a.name}),_.jsxs("div",{className:"cart-item-details",children:[_.jsx("div",{className:"cart-item-name",children:a.name}),_.jsxs("div",{className:"cart-item-cost",children:["Price: ",a.cost]}),_.jsxs("div",{className:"cart-item-quantity",children:[_.jsx("button",{className:"cart-item-button cart-item-button-dec",onClick:()=>o(a),children:"-"}),_.jsx("span",{className:"cart-item-quantity-value",children:a.quantity}),_.jsx("button",{className:"cart-item-button cart-item-button-inc",onClick:()=>i(a),children:"+"})]}),_.jsxs("div",{className:"cart-item-total",children:["Subtotal: $",l(a)]}),_.jsx("button",{className:"cart-item-delete",onClick:()=>u(a),children:"Delete"})]})]},a.name))}),_.jsx("div",{style:{marginTop:"20px",color:"black"},className:"total_cart_amount"}),_.jsxs("div",{className:"continue_shopping_btn",children:[_.jsx("button",{className:"get-started-button",onClick:e,children:"Continue Shopping"}),_.jsx("br",{}),_.jsx("button",{className:"get-started-button1",onClick:s,children:"Checkout"})]})]})};function Om(){const[e,t]=Ut.useState(!1),n=df(),r=cf(f=>{var m;return((m=f.cart)==null?void 0:m.items)||[]}),l=r.reduce((f,m)=>f+m.quantity,0),i=[{category:"Air Purifying Plants",plants:[{name:"Snake Plant",image:"https://cdn.pixabay.com/photo/2021/01/22/06/04/snake-plant-5939187_1280.jpg",description:"Produces oxygen at night, improving air quality.",cost:"$15"},{name:"Spider Plant",image:"https://cdn.pixabay.com/photo/2018/07/11/06/47/chlorophytum-3530413_1280.jpg",description:"Filters formaldehyde and xylene from the air.",cost:"$12"},{name:"Peace Lily",image:"https://cdn.pixabay.com/photo/2019/06/12/14/14/peace-lilies-4269365_1280.jpg",description:"Removes mold spores and purifies the air.",cost:"$18"}]},{category:"Aromatic Plants",plants:[{name:"Lavender",image:"https://images.unsplash.com/photo-1611909023032-2d6b3134ecba?q=80&w=1074&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",description:"Calming scent, used in aromatherapy.",cost:"$20"},{name:"Jasmine",image:"https://cdn.pixabay.com/photo/2023/06/04/12/32/jasmine-8039559_960_720.jpg",description:"Known for its sweet and romantic fragrance.",cost:"$15"}]},{category:"Culinary and Medicinal Plants",plants:[{name:"Mint",image:"https://cdn.pixabay.com/photo/2017/07/12/12/23/peppermint-2496773_1280.jpg",description:"Refreshing aroma, used in teas and cooking.",cost:"$10"}]}],o=f=>{n(Tm({...f,quantity:1}))},u=f=>{f.preventDefault(),t(!0)},s=f=>{f.preventDefault(),t(!1)},a=f=>r.some(m=>m.name===f);return _.jsxs("div",{children:[_.jsxs("div",{className:"navbar",children:[_.jsxs("div",{className:"navbar-section luxury",children:[_.jsx("img",{src:"https://cdn.pixabay.com/photo/2020/08/05/13/12/eco-5465432_1280.png",alt:"Paradise Nursery Logo",className:"navbar-logo"}),_.jsx("a",{href:"#",className:"navbar-link",onClick:f=>{f.preventDefault(),onNavigate("landing")},children:_.jsxs("div",{children:[_.jsx("h3",{className:"navbar-title",children:"Paradise Nursery"}),_.jsx("i",{className:"navbar-subtitle",children:"Where Green Meets Serenity"})]})})]}),_.jsx("div",{className:"navbar-section",children:_.jsx("a",{href:"#plants",className:"navbar-link",onClick:f=>{f.preventDefault(),t(!1)},children:"Plants"})}),_.jsx("div",{className:"navbar-section cart",onClick:u,children:_.jsxs("div",{className:"cart-container",children:[_.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",height:"40",width:"40",children:[_.jsx("rect",{width:"256",height:"256",fill:"none"}),_.jsx("circle",{cx:"80",cy:"216",r:"12"}),_.jsx("circle",{cx:"184",cy:"216",r:"12"}),_.jsx("path",{d:"M42.3,72H221.7l-26.4,92.4A15.9,15.9,0,0,1,179.9,176H84.1a15.9,15.9,0,0,1-15.4-11.6L32.5,37.8A8,8,0,0,0,24.8,32H8",fill:"none",stroke:"#faf9f9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})]}),l>0&&_.jsx("span",{className:"cart-count",children:l})]})})]}),e?_.jsx(jm,{onContinueShopping:s}):_.jsx("div",{className:"product-grid",children:i.map((f,m)=>_.jsxs("div",{className:"product-list",children:[_.jsx("h2",{className:"plant-heading",children:f.category}),_.jsx("div",{className:"product-list",children:f.plants.map(h=>_.jsxs("div",{className:"product-card",children:[_.jsx("img",{src:h.image,alt:h.name,className:"product-image"}),_.jsx("h3",{className:"product-title",children:h.name}),_.jsx("p",{className:"product-description",children:h.description}),_.jsx("p",{className:"product-price",children:h.cost}),_.jsx("button",{className:`product-button ${a(h.name)?"added-to-cart":""}`,onClick:()=>o(h),disabled:a(h.name),children:a(h.name)?"Added to Cart":"Add to Cart"})]},h.name))})]},m))})]})}function Lm(){return _.jsxs("div",{className:"about-us-container",children:[_.jsx("p",{className:"about-us-description",children:"Welcome to Paradise Nursery, where green meets serenity!"}),_.jsx("p",{className:"about-us-content",children:"At Paradise Nursery, we are passionate about bringing nature closer to you. Our mission is to provide a wide range of high-quality plants that not only enhance the beauty of your surroundings but also contribute to a healthier and more sustainable lifestyle. From air-purifying plants to aromatic fragrant ones, we have something for every plant enthusiast."}),_.jsx("p",{className:"about-us-content",children:"Our team of experts is dedicated to ensuring that each plant meets our strict standards of quality and care. Whether you're a seasoned gardener or just starting your green journey, we're here to support you every step of the way. Feel free to explore our collection, ask questions, and let us help you find the perfect plant for your home or office."}),_.jsx("p",{className:"about-us-content",children:"Join us in our mission to create a greener, healthier world. Visit Paradise Nursery today and experience the beauty of nature right at your doorstep."})]})}function Mm(){const[e,t]=Ut.useState(!1),n=()=>{t(!0)};return _.jsxs("div",{className:"app-container",children:[_.jsxs("div",{className:`landing-page ${e?"fade-out":""}`,children:[_.jsx("div",{className:"background-image"}),_.jsxs("div",{className:"content",children:[_.jsxs("div",{className:"landing_content",children:[_.jsx("h1",{children:"Welcome To Paradise Nursery"}),_.jsx("div",{className:"divider"}),_.jsx("p",{children:"Where Green Meets Serenity"}),_.jsx("button",{className:"get-started-button",onClick:n,children:"Get Started"})]}),_.jsx("div",{className:"aboutus_container",children:_.jsx(Lm,{})})]})]}),_.jsx("div",{className:`product-list-container ${e?"visible":""}`,children:_.jsx(Om,{})})]})}const Dm=sm({reducer:{cart:Rm}});_i.createRoot(document.getElementById("root")).render(_.jsx(No.StrictMode,{children:_.jsx(Eh,{store:Dm,children:_.jsx(Mm,{})})})); diff --git a/assets/index-DOYdSw6G.css b/assets/index-DOYdSw6G.css new file mode 100644 index 0000000..670da04 --- /dev/null +++ b/assets/index-DOYdSw6G.css @@ -0,0 +1 @@ +body,h1,ul{margin:0;padding:0}body{font-family:Arial,sans-serif;background-color:#f0f0f0}.navbar{background-color:#4caf50;color:#fff;padding:15px;display:flex;justify-content:space-between;align-items:center;font-size:20px}.navbar-section{display:flex;align-items:center;justify-content:center}.luxury img{height:50px;margin-right:15px;border-radius:50%}.navbar-title{margin:0;font-size:24px;font-weight:700}.navbar-subtitle{font-size:14px;font-style:italic}.navbar-link{color:#fff;font-size:20px;font-weight:700;text-decoration:none}.cart-container{position:relative;display:flex;align-items:center}.cart-count{position:absolute;top:10px;left:12px;font-size:14px;font-weight:700;color:#fff;pointer-events:none}.product-grid{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;gap:30px;width:100%}.product-list{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;width:100%}.product-card{flex:1 1 calc(33.33% - 20px);max-width:calc(33.33% - 20px);background-color:#fff;border:1px solid #ccc;border-radius:5px;padding:20px;text-align:center;transition:transform .3s ease}.product-card:hover{transform:scale(1.05)}.product-image{width:100%;height:200px;object-fit:cover;margin-bottom:15px}.product-title{font-weight:700;font-size:1.2rem;margin-bottom:10px}.product-description{font-size:.9rem;color:#555;margin-bottom:15px}.product-price{color:#e74c3c;font-size:1rem;margin-bottom:15px}.product-button{background-color:#4caf50;border:none;color:#fff;padding:10px 20px;cursor:pointer;font-size:1rem;border-radius:3px;transition:background-color .3s ease}.product-button:hover{background-color:#45a049}.product-button.added-to-cart{background-color:gray;cursor:not-allowed}@media (max-width: 1200px){.product-card{flex:1 1 calc(33.33% - 20px);max-width:calc(33.33% - 20px)}}@media (max-width: 768px){.product-card{flex:1 1 calc(50% - 20px);max-width:calc(50% - 20px)}.navbar{flex-direction:column;align-items:center}.luxury{margin-bottom:20px;text-align:center}}.cart-item{display:flex;border-bottom:1px solid #ccc;padding:10px 0;background-color:#fff;width:500px;gap:30px}.cart-item-image{width:200px;height:200px;margin-right:20px}.cart-item-details{flex-grow:1}.cart-item-name{font-weight:700;margin-bottom:5px;font-size:25px}.cart-item-cost{margin-bottom:10px;margin-top:10px}.cart-item-quantity{display:flex;align-items:center;margin-bottom:15px}.cart-item-button{background-color:#f0f0f0;border:1px solid lightgrey;color:#333;font-size:18px;cursor:pointer;padding:5px 10px;margin:0 5px;border-radius:5px}.cart-item-quantity-value{font-size:16px;font-weight:700;margin:0 10px}.cart-item-total{font-weight:700}.cart-item-delete{background-color:#ff6961;border:none;color:#fff;font-size:14px;cursor:pointer;padding:10px 15px;margin-top:10px;border-radius:10px}.cart-item-delete:hover{background-color:#c00}@media (max-width: 768px){.cart-item{flex-direction:column;align-items:flex-start;width:100%}.cart-item-image{width:100%;height:auto;margin-right:0;margin-bottom:10px}.cart-item-details{width:100%}.cart-item-quantity{margin-top:10px}}.cart-container{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:20px;margin-top:20px}.total_cart_amount{font-size:20px;font-weight:900}.continue_shopping_btn{margin-top:-50px}@media (max-width: 768px){.cart-container{padding:10px}.total_cart_amount{font-size:18px}}.get-started-button1{padding:15px 75px;font-size:23px;border:none;border-radius:5px;background-color:#4caf50;color:#fff;cursor:pointer;transition:background-color .3s ease;margin-top:40px}*{margin:0;padding:0;box-sizing:border-box;overflow:hidden}.landing-page{position:relative;width:100vw;height:100vh;background-color:#f8f8f8}.background-image{position:absolute;top:0;left:0;width:100%;height:100%;background-image:url(https://cdn.pixabay.com/photo/2017/07/13/08/59/greenhouse-2499758_1280.jpg);background-size:100% 100%;background-position:center;filter:brightness(.8)}.content{display:flex;align-items:center;justify-content:center;height:100vh;width:100vw;top:100px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#00000080;gap:20px}.landing_content{margin-top:430px;margin-left:100px;transform:translate(-50%,-50%);z-index:1;text-align:center;width:400px;height:400px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:10px}.content p,.content h1{color:#fff}.content h1{font-size:48px;margin-bottom:10px}.content p{font-size:25px}.divider{width:50px;height:2px;background-color:#4caf50;margin:10px 0}.get-started-button{padding:15px 25px;font-size:23px;border:none;border-radius:5px;background-color:#4caf50;color:#fff;cursor:pointer;transition:background-color .3s ease;margin-top:40px}.get-started-button:hover{background-color:#45a049}.product-list-container{position:absolute;overflow-x:hidden;top:100vh;left:0;width:100%;height:100vh;background-color:#ffffffe6;transition:top .5s ease;overflow-y:auto;z-index:2;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.product-list-container.visible{top:0}@media screen and (max-width: 768px){.content{flex-direction:column;align-items:center;width:100vw;height:100vh}.landing_content{margin-top:100px;margin-left:0;width:80%;text-align:center}.aboutus_container{margin-top:20px;width:80%}}@media screen and (max-width: 480px){.landing_content{margin-top:50px;width:90%}.aboutus_container{width:90%}}.about-us-container{width:1000px;text-align:justify}.about-us-heading{font-size:32px;font-weight:700;color:#333;margin-bottom:20px}.about-us-description{font-size:18px;color:#666;margin-bottom:30px;text-align:center}.about-us-content{font-size:18px;margin-bottom:20px}.plant_logo_right{text-align:right}.plant_logo_left{text-align:left} diff --git a/index.html b/index.html index b2c443a..dbde33a 100644 --- a/index.html +++ b/index.html @@ -7,8 +7,8 @@ E-Plant - - + +