@ukpc-lib/react 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ne=require("react/jsx-runtime"),oe=require("react"),Jf=require("react-dom"),vn=require("../index-bdfc5a2d.cjs"),Qf=require("react-router-dom"),Bh=require("axios");function Vh(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Qe=Vh(oe);var Ko={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const re=require("react/jsx-runtime"),oe=require("react"),cd=require("react-dom"),we=require("../extends-b6289784.cjs"),fd=require("react-router-dom"),ep=require("axios");function tp(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const Ye=tp(oe);var ei={};/**
2
2
  * @license React
3
3
  * react-dom-server-legacy.browser.production.min.js
4
4
  *
@@ -6,13 +6,13 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Oc;function zh(){if(Oc)return Ko;Oc=1;var e=oe;function t(u){for(var g="https://reactjs.org/docs/error-decoder.html?invariant="+u,C=1;C<arguments.length;C++)g+="&args[]="+encodeURIComponent(arguments[C]);return"Minified React error #"+u+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Object.prototype.hasOwnProperty,i=/^[: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]*$/,s={},m={};function y(u){return r.call(m,u)?!0:r.call(s,u)?!1:i.test(u)?m[u]=!0:(s[u]=!0,!1)}function S(u,g,C,R,z,j,H){this.acceptsBooleans=g===2||g===3||g===4,this.attributeName=R,this.attributeNamespace=z,this.mustUseProperty=C,this.propertyName=u,this.type=g,this.sanitizeURL=j,this.removeEmptyString=H}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(u){p[u]=new S(u,0,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var g=u[0];p[g]=new S(g,1,!1,u[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){p[u]=new S(u,2,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){p[u]=new S(u,2,!1,u,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(u){p[u]=new S(u,3,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){p[u]=new S(u,3,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){p[u]=new S(u,4,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){p[u]=new S(u,6,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){p[u]=new S(u,5,!1,u.toLowerCase(),null,!1,!1)});var x=/[\-:]([a-z])/g;function A(u){return u[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(u){var g=u.replace(x,A);p[g]=new S(g,1,!1,u,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(u){var g=u.replace(x,A);p[g]=new S(g,1,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var g=u.replace(x,A);p[g]=new S(g,1,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){p[u]=new S(u,1,!1,u.toLowerCase(),null,!1,!1)}),p.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){p[u]=new S(u,1,!1,u.toLowerCase(),null,!0,!0)});var T={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},D=["Webkit","ms","Moz","O"];Object.keys(T).forEach(function(u){D.forEach(function(g){g=g+u.charAt(0).toUpperCase()+u.substring(1),T[g]=T[u]})});var _=/["'&<>]/;function $(u){if(typeof u=="boolean"||typeof u=="number")return""+u;u=""+u;var g=_.exec(u);if(g){var C="",R,z=0;for(R=g.index;R<u.length;R++){switch(u.charCodeAt(R)){case 34:g="&quot;";break;case 38:g="&amp;";break;case 39:g="&#x27;";break;case 60:g="&lt;";break;case 62:g="&gt;";break;default:continue}z!==R&&(C+=u.substring(z,R)),z=R+1,C+=g}u=z!==R?C+u.substring(z,R):C}return u}var G=/([A-Z])/g,B=/^ms-/,F=Array.isArray;function Z(u,g){return{insertionMode:u,selectedValue:g}}function X(u,g,C){switch(g){case"select":return Z(1,C.value!=null?C.value:C.defaultValue);case"svg":return Z(2,null);case"math":return Z(3,null);case"foreignObject":return Z(1,null);case"table":return Z(4,null);case"thead":case"tbody":case"tfoot":return Z(5,null);case"colgroup":return Z(7,null);case"tr":return Z(6,null)}return 4<=u.insertionMode||u.insertionMode===0?Z(1,null):u}var q=new Map;function te(u,g,C){if(typeof C!="object")throw Error(t(62));g=!0;for(var R in C)if(r.call(C,R)){var z=C[R];if(z!=null&&typeof z!="boolean"&&z!==""){if(R.indexOf("--")===0){var j=$(R);z=$((""+z).trim())}else{j=R;var H=q.get(j);H!==void 0||(H=$(j.replace(G,"-$1").toLowerCase().replace(B,"-ms-")),q.set(j,H)),j=H,z=typeof z=="number"?z===0||r.call(T,R)?""+z:z+"px":$((""+z).trim())}g?(g=!1,u.push(' style="',j,":",z)):u.push(";",j,":",z)}}g||u.push('"')}function ee(u,g,C,R){switch(C){case"style":te(u,g,R);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<C.length)||C[0]!=="o"&&C[0]!=="O"||C[1]!=="n"&&C[1]!=="N"){if(g=p.hasOwnProperty(C)?p[C]:null,g!==null){switch(typeof R){case"function":case"symbol":return;case"boolean":if(!g.acceptsBooleans)return}switch(C=g.attributeName,g.type){case 3:R&&u.push(" ",C,'=""');break;case 4:R===!0?u.push(" ",C,'=""'):R!==!1&&u.push(" ",C,'="',$(R),'"');break;case 5:isNaN(R)||u.push(" ",C,'="',$(R),'"');break;case 6:!isNaN(R)&&1<=R&&u.push(" ",C,'="',$(R),'"');break;default:g.sanitizeURL&&(R=""+R),u.push(" ",C,'="',$(R),'"')}}else if(y(C)){switch(typeof R){case"function":case"symbol":return;case"boolean":if(g=C.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-")return}u.push(" ",C,'="',$(R),'"')}}}function re(u,g,C){if(g!=null){if(C!=null)throw Error(t(60));if(typeof g!="object"||!("__html"in g))throw Error(t(61));g=g.__html,g!=null&&u.push(""+g)}}function le(u){var g="";return e.Children.forEach(u,function(C){C!=null&&(g+=C)}),g}function ce(u,g,C,R){u.push(we(C));var z=C=null,j;for(j in g)if(r.call(g,j)){var H=g[j];if(H!=null)switch(j){case"children":C=H;break;case"dangerouslySetInnerHTML":z=H;break;default:ee(u,R,j,H)}}return u.push(">"),re(u,z,C),typeof C=="string"?(u.push($(C)),null):C}var ze=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ne=new Map;function we(u){var g=Ne.get(u);if(g===void 0){if(!ze.test(u))throw Error(t(65,u));g="<"+u,Ne.set(u,g)}return g}function He(u,g,C,R,z){switch(g){case"select":u.push(we("select"));var j=null,H=null;for(ue in C)if(r.call(C,ue)){var Q=C[ue];if(Q!=null)switch(ue){case"children":j=Q;break;case"dangerouslySetInnerHTML":H=Q;break;case"defaultValue":case"value":break;default:ee(u,R,ue,Q)}}return u.push(">"),re(u,H,j),j;case"option":H=z.selectedValue,u.push(we("option"));var ae=Q=null,fe=null,ue=null;for(j in C)if(r.call(C,j)){var ye=C[j];if(ye!=null)switch(j){case"children":Q=ye;break;case"selected":fe=ye;break;case"dangerouslySetInnerHTML":ue=ye;break;case"value":ae=ye;default:ee(u,R,j,ye)}}if(H!=null)if(C=ae!==null?""+ae:le(Q),F(H)){for(R=0;R<H.length;R++)if(""+H[R]===C){u.push(' selected=""');break}}else""+H===C&&u.push(' selected=""');else fe&&u.push(' selected=""');return u.push(">"),re(u,ue,Q),Q;case"textarea":u.push(we("textarea")),ue=H=j=null;for(Q in C)if(r.call(C,Q)&&(ae=C[Q],ae!=null))switch(Q){case"children":ue=ae;break;case"value":j=ae;break;case"defaultValue":H=ae;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:ee(u,R,Q,ae)}if(j===null&&H!==null&&(j=H),u.push(">"),ue!=null){if(j!=null)throw Error(t(92));if(F(ue)&&1<ue.length)throw Error(t(93));j=""+ue}return typeof j=="string"&&j[0]===`
9
+ */var Wc;function np(){if(Wc)return ei;Wc=1;var t=oe;function e(u){for(var g="https://reactjs.org/docs/error-decoder.html?invariant="+u,C=1;C<arguments.length;C++)g+="&args[]="+encodeURIComponent(arguments[C]);return"Minified React error #"+u+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Object.prototype.hasOwnProperty,i=/^[: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]*$/,a={},h={};function p(u){return r.call(h,u)?!0:r.call(a,u)?!1:i.test(u)?h[u]=!0:(a[u]=!0,!1)}function S(u,g,C,R,z,B,G){this.acceptsBooleans=g===2||g===3||g===4,this.attributeName=R,this.attributeNamespace=z,this.mustUseProperty=C,this.propertyName=u,this.type=g,this.sanitizeURL=B,this.removeEmptyString=G}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(u){v[u]=new S(u,0,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var g=u[0];v[g]=new S(g,1,!1,u[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){v[u]=new S(u,2,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){v[u]=new S(u,2,!1,u,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(u){v[u]=new S(u,3,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){v[u]=new S(u,3,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){v[u]=new S(u,4,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){v[u]=new S(u,6,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){v[u]=new S(u,5,!1,u.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function P(u){return u[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(u){var g=u.replace(b,P);v[g]=new S(g,1,!1,u,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(u){var g=u.replace(b,P);v[g]=new S(g,1,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var g=u.replace(b,P);v[g]=new S(g,1,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){v[u]=new S(u,1,!1,u.toLowerCase(),null,!1,!1)}),v.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){v[u]=new S(u,1,!1,u.toLowerCase(),null,!0,!0)});var w={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},D=["Webkit","ms","Moz","O"];Object.keys(w).forEach(function(u){D.forEach(function(g){g=g+u.charAt(0).toUpperCase()+u.substring(1),w[g]=w[u]})});var _=/["'&<>]/;function H(u){if(typeof u=="boolean"||typeof u=="number")return""+u;u=""+u;var g=_.exec(u);if(g){var C="",R,z=0;for(R=g.index;R<u.length;R++){switch(u.charCodeAt(R)){case 34:g="&quot;";break;case 38:g="&amp;";break;case 39:g="&#x27;";break;case 60:g="&lt;";break;case 62:g="&gt;";break;default:continue}z!==R&&(C+=u.substring(z,R)),z=R+1,C+=g}u=z!==R?C+u.substring(z,R):C}return u}var Y=/([A-Z])/g,j=/^ms-/,O=Array.isArray;function X(u,g){return{insertionMode:u,selectedValue:g}}function $(u,g,C){switch(g){case"select":return X(1,C.value!=null?C.value:C.defaultValue);case"svg":return X(2,null);case"math":return X(3,null);case"foreignObject":return X(1,null);case"table":return X(4,null);case"thead":case"tbody":case"tfoot":return X(5,null);case"colgroup":return X(7,null);case"tr":return X(6,null)}return 4<=u.insertionMode||u.insertionMode===0?X(1,null):u}var J=new Map;function q(u,g,C){if(typeof C!="object")throw Error(e(62));g=!0;for(var R in C)if(r.call(C,R)){var z=C[R];if(z!=null&&typeof z!="boolean"&&z!==""){if(R.indexOf("--")===0){var B=H(R);z=H((""+z).trim())}else{B=R;var G=J.get(B);G!==void 0||(G=H(B.replace(Y,"-$1").toLowerCase().replace(j,"-ms-")),J.set(B,G)),B=G,z=typeof z=="number"?z===0||r.call(w,R)?""+z:z+"px":H((""+z).trim())}g?(g=!1,u.push(' style="',B,":",z)):u.push(";",B,":",z)}}g||u.push('"')}function K(u,g,C,R){switch(C){case"style":q(u,g,R);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<C.length)||C[0]!=="o"&&C[0]!=="O"||C[1]!=="n"&&C[1]!=="N"){if(g=v.hasOwnProperty(C)?v[C]:null,g!==null){switch(typeof R){case"function":case"symbol":return;case"boolean":if(!g.acceptsBooleans)return}switch(C=g.attributeName,g.type){case 3:R&&u.push(" ",C,'=""');break;case 4:R===!0?u.push(" ",C,'=""'):R!==!1&&u.push(" ",C,'="',H(R),'"');break;case 5:isNaN(R)||u.push(" ",C,'="',H(R),'"');break;case 6:!isNaN(R)&&1<=R&&u.push(" ",C,'="',H(R),'"');break;default:g.sanitizeURL&&(R=""+R),u.push(" ",C,'="',H(R),'"')}}else if(p(C)){switch(typeof R){case"function":case"symbol":return;case"boolean":if(g=C.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-")return}u.push(" ",C,'="',H(R),'"')}}}function te(u,g,C){if(g!=null){if(C!=null)throw Error(e(60));if(typeof g!="object"||!("__html"in g))throw Error(e(61));g=g.__html,g!=null&&u.push(""+g)}}function ie(u){var g="";return t.Children.forEach(u,function(C){C!=null&&(g+=C)}),g}function se(u,g,C,R){u.push(ye(C));var z=C=null,B;for(B in g)if(r.call(g,B)){var G=g[B];if(G!=null)switch(B){case"children":C=G;break;case"dangerouslySetInnerHTML":z=G;break;default:K(u,R,B,G)}}return u.push(">"),te(u,z,C),typeof C=="string"?(u.push(H(C)),null):C}var Pe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,De=new Map;function ye(u){var g=De.get(u);if(g===void 0){if(!Pe.test(u))throw Error(e(65,u));g="<"+u,De.set(u,g)}return g}function Oe(u,g,C,R,z){switch(g){case"select":u.push(ye("select"));var B=null,G=null;for(ce in C)if(r.call(C,ce)){var ee=C[ce];if(ee!=null)switch(ce){case"children":B=ee;break;case"dangerouslySetInnerHTML":G=ee;break;case"defaultValue":case"value":break;default:K(u,R,ce,ee)}}return u.push(">"),te(u,G,B),B;case"option":G=z.selectedValue,u.push(ye("option"));var le=ee=null,fe=null,ce=null;for(B in C)if(r.call(C,B)){var be=C[B];if(be!=null)switch(B){case"children":ee=be;break;case"selected":fe=be;break;case"dangerouslySetInnerHTML":ce=be;break;case"value":le=be;default:K(u,R,B,be)}}if(G!=null)if(C=le!==null?""+le:ie(ee),O(G)){for(R=0;R<G.length;R++)if(""+G[R]===C){u.push(' selected=""');break}}else""+G===C&&u.push(' selected=""');else fe&&u.push(' selected=""');return u.push(">"),te(u,ce,ee),ee;case"textarea":u.push(ye("textarea")),ce=G=B=null;for(ee in C)if(r.call(C,ee)&&(le=C[ee],le!=null))switch(ee){case"children":ce=le;break;case"value":B=le;break;case"defaultValue":G=le;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:K(u,R,ee,le)}if(B===null&&G!==null&&(B=G),u.push(">"),ce!=null){if(B!=null)throw Error(e(92));if(O(ce)&&1<ce.length)throw Error(e(93));B=""+ce}return typeof B=="string"&&B[0]===`
10
10
  `&&u.push(`
11
- `),j!==null&&u.push($(""+j)),null;case"input":u.push(we("input")),ae=ue=Q=j=null;for(H in C)if(r.call(C,H)&&(fe=C[H],fe!=null))switch(H){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":ae=fe;break;case"defaultValue":Q=fe;break;case"checked":ue=fe;break;case"value":j=fe;break;default:ee(u,R,H,fe)}return ue!==null?ee(u,R,"checked",ue):ae!==null&&ee(u,R,"checked",ae),j!==null?ee(u,R,"value",j):Q!==null&&ee(u,R,"value",Q),u.push("/>"),null;case"menuitem":u.push(we("menuitem"));for(var lt in C)if(r.call(C,lt)&&(j=C[lt],j!=null))switch(lt){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:ee(u,R,lt,j)}return u.push(">"),null;case"title":u.push(we("title")),j=null;for(ye in C)if(r.call(C,ye)&&(H=C[ye],H!=null))switch(ye){case"children":j=H;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:ee(u,R,ye,H)}return u.push(">"),j;case"listing":case"pre":u.push(we(g)),H=j=null;for(ae in C)if(r.call(C,ae)&&(Q=C[ae],Q!=null))switch(ae){case"children":j=Q;break;case"dangerouslySetInnerHTML":H=Q;break;default:ee(u,R,ae,Q)}if(u.push(">"),H!=null){if(j!=null)throw Error(t(60));if(typeof H!="object"||!("__html"in H))throw Error(t(61));C=H.__html,C!=null&&(typeof C=="string"&&0<C.length&&C[0]===`
11
+ `),B!==null&&u.push(H(""+B)),null;case"input":u.push(ye("input")),le=ce=ee=B=null;for(G in C)if(r.call(C,G)&&(fe=C[G],fe!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":le=fe;break;case"defaultValue":ee=fe;break;case"checked":ce=fe;break;case"value":B=fe;break;default:K(u,R,G,fe)}return ce!==null?K(u,R,"checked",ce):le!==null&&K(u,R,"checked",le),B!==null?K(u,R,"value",B):ee!==null&&K(u,R,"value",ee),u.push("/>"),null;case"menuitem":u.push(ye("menuitem"));for(var pt in C)if(r.call(C,pt)&&(B=C[pt],B!=null))switch(pt){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:K(u,R,pt,B)}return u.push(">"),null;case"title":u.push(ye("title")),B=null;for(be in C)if(r.call(C,be)&&(G=C[be],G!=null))switch(be){case"children":B=G;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:K(u,R,be,G)}return u.push(">"),B;case"listing":case"pre":u.push(ye(g)),G=B=null;for(le in C)if(r.call(C,le)&&(ee=C[le],ee!=null))switch(le){case"children":B=ee;break;case"dangerouslySetInnerHTML":G=ee;break;default:K(u,R,le,ee)}if(u.push(">"),G!=null){if(B!=null)throw Error(e(60));if(typeof G!="object"||!("__html"in G))throw Error(e(61));C=G.__html,C!=null&&(typeof C=="string"&&0<C.length&&C[0]===`
12
12
  `?u.push(`
13
- `,C):u.push(""+C))}return typeof j=="string"&&j[0]===`
13
+ `,C):u.push(""+C))}return typeof B=="string"&&B[0]===`
14
14
  `&&u.push(`
15
- `),j;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":u.push(we(g));for(var et in C)if(r.call(C,et)&&(j=C[et],j!=null))switch(et){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,g));default:ee(u,R,et,j)}return u.push("/>"),null;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 ce(u,C,g,R);case"html":return z.insertionMode===0&&u.push("<!DOCTYPE html>"),ce(u,C,g,R);default:if(g.indexOf("-")===-1&&typeof C.is!="string")return ce(u,C,g,R);u.push(we(g)),H=j=null;for(fe in C)if(r.call(C,fe)&&(Q=C[fe],Q!=null))switch(fe){case"children":j=Q;break;case"dangerouslySetInnerHTML":H=Q;break;case"style":te(u,R,Q);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:y(fe)&&typeof Q!="function"&&typeof Q!="symbol"&&u.push(" ",fe,'="',$(Q),'"')}return u.push(">"),re(u,H,j),j}}function Ce(u,g,C){if(u.push('<!--$?--><template id="'),C===null)throw Error(t(395));return u.push(C),u.push('"></template>')}function dt(u,g,C,R){switch(C.insertionMode){case 0:case 1:return u.push('<div hidden id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 2:return u.push('<svg aria-hidden="true" style="display:none" id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 3:return u.push('<math aria-hidden="true" style="display:none" id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 4:return u.push('<table hidden id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 5:return u.push('<table hidden><tbody id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 6:return u.push('<table hidden><tr id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 7:return u.push('<table hidden><colgroup id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');default:throw Error(t(397))}}function Pe(u,g){switch(g.insertionMode){case 0:case 1:return u.push("</div>");case 2:return u.push("</svg>");case 3:return u.push("</math>");case 4:return u.push("</table>");case 5:return u.push("</tbody></table>");case 6:return u.push("</tr></table>");case 7:return u.push("</colgroup></table>");default:throw Error(t(397))}}var ot=/[<\u2028\u2029]/g;function Ze(u){return JSON.stringify(u).replace(ot,function(g){switch(g){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function je(u,g){return g=g===void 0?"":g,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:g+"P:",segmentPrefix:g+"S:",boundaryPrefix:g+"B:",idPrefix:g,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:u}}function Ut(u,g,C,R){return C.generateStaticMarkup?(u.push($(g)),!1):(g===""?u=R:(R&&u.push("<!-- -->"),u.push($(g)),u=!0),u)}var he=Object.assign,Se=Symbol.for("react.element"),Nt=Symbol.for("react.portal"),mt=Symbol.for("react.fragment"),Ae=Symbol.for("react.strict_mode"),ke=Symbol.for("react.profiler"),Rt=Symbol.for("react.provider"),Ht=Symbol.for("react.context"),Ge=Symbol.for("react.forward_ref"),it=Symbol.for("react.suspense"),Ie=Symbol.for("react.suspense_list"),yn=Symbol.for("react.memo"),$e=Symbol.for("react.lazy"),qe=Symbol.for("react.scope"),On=Symbol.for("react.debug_trace_mode"),bn=Symbol.for("react.legacy_hidden"),Mr=Symbol.for("react.default_value"),gt=Symbol.iterator;function xn(u){if(u==null)return null;if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case mt:return"Fragment";case Nt:return"Portal";case ke:return"Profiler";case Ae:return"StrictMode";case it:return"Suspense";case Ie:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case Ht:return(u.displayName||"Context")+".Consumer";case Rt:return(u._context.displayName||"Context")+".Provider";case Ge:var g=u.render;return u=u.displayName,u||(u=g.displayName||g.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case yn:return g=u.displayName||null,g!==null?g:xn(u.type)||"Memo";case $e:g=u._payload,u=u._init;try{return xn(u(g))}catch{}}return null}var Sn={};function Dr(u,g){if(u=u.contextTypes,!u)return Sn;var C={},R;for(R in u)C[R]=g[R];return C}var vt=null;function Je(u,g){if(u!==g){u.context._currentValue2=u.parentValue,u=u.parent;var C=g.parent;if(u===null){if(C!==null)throw Error(t(401))}else{if(C===null)throw Error(t(401));Je(u,C)}g.context._currentValue2=g.value}}function We(u){u.context._currentValue2=u.parentValue,u=u.parent,u!==null&&We(u)}function Qn(u){var g=u.parent;g!==null&&Qn(g),u.context._currentValue2=u.value}function Kn(u,g){if(u.context._currentValue2=u.parentValue,u=u.parent,u===null)throw Error(t(402));u.depth===g.depth?Je(u,g):Kn(u,g)}function qn(u,g){var C=g.parent;if(C===null)throw Error(t(402));u.depth===C.depth?Je(u,C):qn(u,C),g.context._currentValue2=g.value}function Be(u){var g=vt;g!==u&&(g===null?Qn(u):u===null?We(g):g.depth===u.depth?Je(g,u):g.depth>u.depth?Kn(g,u):qn(g,u),vt=u)}var er={isMounted:function(){return!1},enqueueSetState:function(u,g){u=u._reactInternals,u.queue!==null&&u.queue.push(g)},enqueueReplaceState:function(u,g){u=u._reactInternals,u.replace=!0,u.queue=[g]},enqueueForceUpdate:function(){}};function Or(u,g,C,R){var z=u.state!==void 0?u.state:null;u.updater=er,u.props=C,u.state=z;var j={queue:[],replace:!1};u._reactInternals=j;var H=g.contextType;if(u.context=typeof H=="object"&&H!==null?H._currentValue2:R,H=g.getDerivedStateFromProps,typeof H=="function"&&(H=H(C,z),z=H==null?z:he({},z,H),u.state=z),typeof g.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function"))if(g=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),g!==u.state&&er.enqueueReplaceState(u,u.state,null),j.queue!==null&&0<j.queue.length)if(g=j.queue,H=j.replace,j.queue=null,j.replace=!1,H&&g.length===1)u.state=g[0];else{for(j=H?g[0]:u.state,z=!0,H=H?1:0;H<g.length;H++){var Q=g[H];Q=typeof Q=="function"?Q.call(u,j,C,R):Q,Q!=null&&(z?(z=!1,j=he({},j,Q)):he(j,Q))}u.state=j}else j.queue=null}var Fr={id:1,overflow:""};function tr(u,g,C){var R=u.id;u=u.overflow;var z=32-Fn(R)-1;R&=~(1<<z),C+=1;var j=32-Fn(g)+z;if(30<j){var H=z-z%5;return j=(R&(1<<H)-1).toString(32),R>>=H,z-=H,{id:1<<32-Fn(g)+z|C<<z|R,overflow:j+u}}return{id:1<<j|C<<z|R,overflow:u}}var Fn=Math.clz32?Math.clz32:qt,po=Math.log,nr=Math.LN2;function qt(u){return u>>>=0,u===0?32:31-(po(u)/nr|0)|0}function rr(u,g){return u===g&&(u!==0||1/u===1/g)||u!==u&&g!==g}var Lr=typeof Object.is=="function"?Object.is:rr,at=null,Pt=null,en=null,xe=null,tn=!1,Ln=!1,wn=0,At=null,_n=0;function $t(){if(at===null)throw Error(t(321));return at}function Fe(){if(0<_n)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function or(){return xe===null?en===null?(tn=!1,en=xe=Fe()):(tn=!0,xe=en):xe.next===null?(tn=!1,xe=xe.next=Fe()):(tn=!0,xe=xe.next),xe}function ir(){Pt=at=null,Ln=!1,en=null,_n=0,xe=At=null}function _r(u,g){return typeof g=="function"?g(u):g}function Ve(u,g,C){if(at=$t(),xe=or(),tn){var R=xe.queue;if(g=R.dispatch,At!==null&&(C=At.get(R),C!==void 0)){At.delete(R),R=xe.memoizedState;do R=u(R,C.action),C=C.next;while(C!==null);return xe.memoizedState=R,[R,g]}return[xe.memoizedState,g]}return u=u===_r?typeof g=="function"?g():g:C!==void 0?C(g):g,xe.memoizedState=u,u=xe.queue={last:null,dispatch:null},u=u.dispatch=mo.bind(null,at,u),[xe.memoizedState,u]}function ar(u,g){if(at=$t(),xe=or(),g=g===void 0?null:g,xe!==null){var C=xe.memoizedState;if(C!==null&&g!==null){var R=C[1];e:if(R===null)R=!1;else{for(var z=0;z<R.length&&z<g.length;z++)if(!Lr(g[z],R[z])){R=!1;break e}R=!0}if(R)return C[0]}}return u=u(),xe.memoizedState=[u,g],u}function mo(u,g,C){if(25<=_n)throw Error(t(301));if(u===at)if(Ln=!0,u={action:C,next:null},At===null&&(At=new Map),C=At.get(g),C===void 0)At.set(g,u);else{for(g=C;g.next!==null;)g=g.next;g.next=u}}function go(){throw Error(t(394))}function It(){}var sr={readContext:function(u){return u._currentValue2},useContext:function(u){return $t(),u._currentValue2},useMemo:ar,useReducer:Ve,useRef:function(u){at=$t(),xe=or();var g=xe.memoizedState;return g===null?(u={current:u},xe.memoizedState=u):g},useState:function(u){return Ve(_r,u)},useInsertionEffect:It,useLayoutEffect:function(){},useCallback:function(u,g){return ar(function(){return u},g)},useImperativeHandle:It,useEffect:It,useDebugValue:It,useDeferredValue:function(u){return $t(),u},useTransition:function(){return $t(),[!1,go]},useId:function(){var u=Pt.treeContext,g=u.overflow;u=u.id,u=(u&~(1<<32-Fn(u)-1)).toString(32)+g;var C=jn;if(C===null)throw Error(t(404));return g=wn++,u=":"+C.idPrefix+"R"+u,0<g&&(u+="H"+g.toString(32)),u+":"},useMutableSource:function(u,g){return $t(),g(u._source)},useSyncExternalStore:function(u,g,C){if(C===void 0)throw Error(t(407));return C()}},jn=null,lr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function kn(u){return console.error(u),null}function nn(){}function vo(u,g,C,R,z,j,H,Q,ae){var fe=[],ue=new Set;return g={destination:null,responseState:g,progressiveChunkSize:R===void 0?12800:R,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ue,pingedTasks:fe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:z===void 0?kn:z,onAllReady:j===void 0?nn:j,onShellReady:H===void 0?nn:H,onShellError:Q===void 0?nn:Q,onFatalError:ae===void 0?nn:ae},C=Bn(g,0,null,C,!1,!1),C.parentFlushed=!0,u=ur(g,u,null,C,ue,Sn,null,Fr),fe.push(u),g}function ur(u,g,C,R,z,j,H,Q){u.allPendingTasks++,C===null?u.pendingRootTasks++:C.pendingTasks++;var ae={node:g,ping:function(){var fe=u.pingedTasks;fe.push(ae),fe.length===1&&st(u)},blockedBoundary:C,blockedSegment:R,abortSet:z,legacyContext:j,context:H,treeContext:Q};return z.add(ae),ae}function Bn(u,g,C,R,z,j){return{status:0,id:-1,index:g,parentFlushed:!1,chunks:[],children:[],formatContext:R,boundary:C,lastPushedText:z,textEmbedded:j}}function rn(u,g){if(u=u.onError(g),u!=null&&typeof u!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof u+'" instead');return u}function Yt(u,g){var C=u.onShellError;C(g),C=u.onFatalError,C(g),u.destination!==null?(u.status=2,u.destination.destroy(g)):(u.status=1,u.fatalError=g)}function Mt(u,g,C,R,z){for(at={},Pt=g,wn=0,u=C(R,z);Ln;)Ln=!1,wn=0,_n+=1,xe=null,u=C(R,z);return ir(),u}function Tn(u,g,C,R){var z=C.render(),j=R.childContextTypes;if(j!=null){var H=g.legacyContext;if(typeof C.getChildContext!="function")R=H;else{C=C.getChildContext();for(var Q in C)if(!(Q in j))throw Error(t(108,xn(R)||"Unknown",Q));R=he({},H,C)}g.legacyContext=R,De(u,g,z),g.legacyContext=H}else De(u,g,z)}function Cn(u,g){if(u&&u.defaultProps){g=he({},g),u=u.defaultProps;for(var C in u)g[C]===void 0&&(g[C]=u[C]);return g}return g}function ht(u,g,C,R,z){if(typeof C=="function")if(C.prototype&&C.prototype.isReactComponent){z=Dr(C,g.legacyContext);var j=C.contextType;j=new C(R,typeof j=="object"&&j!==null?j._currentValue2:z),Or(j,C,R,z),Tn(u,g,j,C)}else{j=Dr(C,g.legacyContext),z=Mt(u,g,C,R,j);var H=wn!==0;if(typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0)Or(z,C,R,j),Tn(u,g,z,C);else if(H){R=g.treeContext,g.treeContext=tr(R,1,0);try{De(u,g,z)}finally{g.treeContext=R}}else De(u,g,z)}else if(typeof C=="string"){switch(z=g.blockedSegment,j=He(z.chunks,C,R,u.responseState,z.formatContext),z.lastPushedText=!1,H=z.formatContext,z.formatContext=X(H,C,R),yt(u,g,j),z.formatContext=H,C){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:z.chunks.push("</",C,">")}z.lastPushedText=!1}else{switch(C){case bn:case On:case Ae:case ke:case mt:De(u,g,R.children);return;case Ie:De(u,g,R.children);return;case qe:throw Error(t(343));case it:e:{C=g.blockedBoundary,z=g.blockedSegment,j=R.fallback,R=R.children,H=new Set;var Q={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:H,errorDigest:null},ae=Bn(u,z.chunks.length,Q,z.formatContext,!1,!1);z.children.push(ae),z.lastPushedText=!1;var fe=Bn(u,0,null,z.formatContext,!1,!1);fe.parentFlushed=!0,g.blockedBoundary=Q,g.blockedSegment=fe;try{if(yt(u,g,R),u.responseState.generateStaticMarkup||fe.lastPushedText&&fe.textEmbedded&&fe.chunks.push("<!-- -->"),fe.status=1,Ot(Q,fe),Q.pendingTasks===0)break e}catch(ue){fe.status=4,Q.forceClientRender=!0,Q.errorDigest=rn(u,ue)}finally{g.blockedBoundary=C,g.blockedSegment=z}g=ur(u,j,C,ae,H,g.legacyContext,g.context,g.treeContext),u.pingedTasks.push(g)}return}if(typeof C=="object"&&C!==null)switch(C.$$typeof){case Ge:if(R=Mt(u,g,C.render,R,z),wn!==0){C=g.treeContext,g.treeContext=tr(C,1,0);try{De(u,g,R)}finally{g.treeContext=C}}else De(u,g,R);return;case yn:C=C.type,R=Cn(C,R),ht(u,g,C,R,z);return;case Rt:if(z=R.children,C=C._context,R=R.value,j=C._currentValue2,C._currentValue2=R,H=vt,vt=R={parent:H,depth:H===null?0:H.depth+1,context:C,parentValue:j,value:R},g.context=R,De(u,g,z),u=vt,u===null)throw Error(t(403));R=u.parentValue,u.context._currentValue2=R===Mr?u.context._defaultValue:R,u=vt=u.parent,g.context=u;return;case Ht:R=R.children,R=R(C._currentValue2),De(u,g,R);return;case $e:z=C._init,C=z(C._payload),R=Cn(C,R),ht(u,g,C,R,void 0);return}throw Error(t(130,C==null?C:typeof C,""))}}function De(u,g,C){if(g.node=C,typeof C=="object"&&C!==null){switch(C.$$typeof){case Se:ht(u,g,C.type,C.props,C.ref);return;case Nt:throw Error(t(257));case $e:var R=C._init;C=R(C._payload),De(u,g,C);return}if(F(C)){Dt(u,g,C);return}if(C===null||typeof C!="object"?R=null:(R=gt&&C[gt]||C["@@iterator"],R=typeof R=="function"?R:null),R&&(R=R.call(C))){if(C=R.next(),!C.done){var z=[];do z.push(C.value),C=R.next();while(!C.done);Dt(u,g,z)}return}throw u=Object.prototype.toString.call(C),Error(t(31,u==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":u))}typeof C=="string"?(R=g.blockedSegment,R.lastPushedText=Ut(g.blockedSegment.chunks,C,u.responseState,R.lastPushedText)):typeof C=="number"&&(R=g.blockedSegment,R.lastPushedText=Ut(g.blockedSegment.chunks,""+C,u.responseState,R.lastPushedText))}function Dt(u,g,C){for(var R=C.length,z=0;z<R;z++){var j=g.treeContext;g.treeContext=tr(j,R,z);try{yt(u,g,C[z])}finally{g.treeContext=j}}}function yt(u,g,C){var R=g.blockedSegment.formatContext,z=g.legacyContext,j=g.context;try{return De(u,g,C)}catch(ae){if(ir(),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"){C=ae;var H=g.blockedSegment,Q=Bn(u,H.chunks.length,null,H.formatContext,H.lastPushedText,!0);H.children.push(Q),H.lastPushedText=!1,u=ur(u,g.node,g.blockedBoundary,Q,g.abortSet,g.legacyContext,g.context,g.treeContext).ping,C.then(u,u),g.blockedSegment.formatContext=R,g.legacyContext=z,g.context=j,Be(j)}else throw g.blockedSegment.formatContext=R,g.legacyContext=z,g.context=j,Be(j),ae}}function Xe(u){var g=u.blockedBoundary;u=u.blockedSegment,u.status=3,Ft(this,g,u)}function Vn(u,g,C){var R=u.blockedBoundary;u.blockedSegment.status=3,R===null?(g.allPendingTasks--,g.status!==2&&(g.status=2,g.destination!==null&&g.destination.push(null))):(R.pendingTasks--,R.forceClientRender||(R.forceClientRender=!0,u=C===void 0?Error(t(432)):C,R.errorDigest=g.onError(u),R.parentFlushed&&g.clientRenderedBoundaries.push(R)),R.fallbackAbortableTasks.forEach(function(z){return Vn(z,g,C)}),R.fallbackAbortableTasks.clear(),g.allPendingTasks--,g.allPendingTasks===0&&(R=g.onAllReady,R()))}function Ot(u,g){if(g.chunks.length===0&&g.children.length===1&&g.children[0].boundary===null){var C=g.children[0];C.id=g.id,C.parentFlushed=!0,C.status===1&&Ot(u,C)}else u.completedSegments.push(g)}function Ft(u,g,C){if(g===null){if(C.parentFlushed){if(u.completedRootSegment!==null)throw Error(t(389));u.completedRootSegment=C}u.pendingRootTasks--,u.pendingRootTasks===0&&(u.onShellError=nn,g=u.onShellReady,g())}else g.pendingTasks--,g.forceClientRender||(g.pendingTasks===0?(C.parentFlushed&&C.status===1&&Ot(g,C),g.parentFlushed&&u.completedBoundaries.push(g),g.fallbackAbortableTasks.forEach(Xe,u),g.fallbackAbortableTasks.clear()):C.parentFlushed&&C.status===1&&(Ot(g,C),g.completedSegments.length===1&&g.parentFlushed&&u.partialBoundaries.push(g)));u.allPendingTasks--,u.allPendingTasks===0&&(u=u.onAllReady,u())}function st(u){if(u.status!==2){var g=vt,C=lr.current;lr.current=sr;var R=jn;jn=u.responseState;try{var z=u.pingedTasks,j;for(j=0;j<z.length;j++){var H=z[j],Q=u,ae=H.blockedSegment;if(ae.status===0){Be(H.context);try{De(Q,H,H.node),Q.responseState.generateStaticMarkup||ae.lastPushedText&&ae.textEmbedded&&ae.chunks.push("<!-- -->"),H.abortSet.delete(H),ae.status=1,Ft(Q,H.blockedBoundary,ae)}catch(tt){if(ir(),typeof tt=="object"&&tt!==null&&typeof tt.then=="function"){var fe=H.ping;tt.then(fe,fe)}else{H.abortSet.delete(H),ae.status=4;var ue=H.blockedBoundary,ye=tt,lt=rn(Q,ye);if(ue===null?Yt(Q,ye):(ue.pendingTasks--,ue.forceClientRender||(ue.forceClientRender=!0,ue.errorDigest=lt,ue.parentFlushed&&Q.clientRenderedBoundaries.push(ue))),Q.allPendingTasks--,Q.allPendingTasks===0){var et=Q.onAllReady;et()}}}finally{}}}z.splice(0,j),u.destination!==null&&an(u,u.destination)}catch(tt){rn(u,tt),Yt(u,tt)}finally{jn=R,lr.current=C,C===sr&&Be(g)}}}function Gt(u,g,C){switch(C.parentFlushed=!0,C.status){case 0:var R=C.id=u.nextSegmentId++;return C.lastPushedText=!1,C.textEmbedded=!1,u=u.responseState,g.push('<template id="'),g.push(u.placeholderPrefix),u=R.toString(16),g.push(u),g.push('"></template>');case 1:C.status=2;var z=!0;R=C.chunks;var j=0;C=C.children;for(var H=0;H<C.length;H++){for(z=C[H];j<z.index;j++)g.push(R[j]);z=on(u,g,z)}for(;j<R.length-1;j++)g.push(R[j]);return j<R.length&&(z=g.push(R[j])),z;default:throw Error(t(390))}}function on(u,g,C){var R=C.boundary;if(R===null)return Gt(u,g,C);if(R.parentFlushed=!0,R.forceClientRender)return u.responseState.generateStaticMarkup||(R=R.errorDigest,g.push("<!--$!-->"),g.push("<template"),R&&(g.push(' data-dgst="'),R=$(R),g.push(R),g.push('"')),g.push("></template>")),Gt(u,g,C),u=u.responseState.generateStaticMarkup?!0:g.push("<!--/$-->"),u;if(0<R.pendingTasks){R.rootSegmentID=u.nextSegmentId++,0<R.completedSegments.length&&u.partialBoundaries.push(R);var z=u.responseState,j=z.nextSuspenseID++;return z=z.boundaryPrefix+j.toString(16),R=R.id=z,Ce(g,u.responseState,R),Gt(u,g,C),g.push("<!--/$-->")}if(R.byteSize>u.progressiveChunkSize)return R.rootSegmentID=u.nextSegmentId++,u.completedBoundaries.push(R),Ce(g,u.responseState,R.id),Gt(u,g,C),g.push("<!--/$-->");if(u.responseState.generateStaticMarkup||g.push("<!--$-->"),C=R.completedSegments,C.length!==1)throw Error(t(391));return on(u,g,C[0]),u=u.responseState.generateStaticMarkup?!0:g.push("<!--/$-->"),u}function cr(u,g,C){return dt(g,u.responseState,C.formatContext,C.id),on(u,g,C),Pe(g,C.formatContext)}function fr(u,g,C){for(var R=C.completedSegments,z=0;z<R.length;z++)zn(u,g,C,R[z]);if(R.length=0,u=u.responseState,R=C.id,C=C.rootSegmentID,g.push(u.startInlineScript),u.sentCompleteBoundaryFunction?g.push('$RC("'):(u.sentCompleteBoundaryFunction=!0,g.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),R===null)throw Error(t(395));return C=C.toString(16),g.push(R),g.push('","'),g.push(u.segmentPrefix),g.push(C),g.push('")<\/script>')}function zn(u,g,C,R){if(R.status===2)return!0;var z=R.id;if(z===-1){if((R.id=C.rootSegmentID)===-1)throw Error(t(392));return cr(u,g,R)}return cr(u,g,R),u=u.responseState,g.push(u.startInlineScript),u.sentCompleteSegmentFunction?g.push('$RS("'):(u.sentCompleteSegmentFunction=!0,g.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),g.push(u.segmentPrefix),z=z.toString(16),g.push(z),g.push('","'),g.push(u.placeholderPrefix),g.push(z),g.push('")<\/script>')}function an(u,g){try{var C=u.completedRootSegment;if(C!==null&&u.pendingRootTasks===0){on(u,g,C),u.completedRootSegment=null;var R=u.responseState.bootstrapChunks;for(C=0;C<R.length-1;C++)g.push(R[C]);C<R.length&&g.push(R[C])}var z=u.clientRenderedBoundaries,j;for(j=0;j<z.length;j++){var H=z[j];R=g;var Q=u.responseState,ae=H.id,fe=H.errorDigest,ue=H.errorMessage,ye=H.errorComponentStack;if(R.push(Q.startInlineScript),Q.sentClientRenderFunction?R.push('$RX("'):(Q.sentClientRenderFunction=!0,R.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),ae===null)throw Error(t(395));if(R.push(ae),R.push('"'),fe||ue||ye){R.push(",");var lt=Ze(fe||"");R.push(lt)}if(ue||ye){R.push(",");var et=Ze(ue||"");R.push(et)}if(ye){R.push(",");var tt=Ze(ye);R.push(tt)}if(!R.push(")<\/script>")){u.destination=null,j++,z.splice(0,j);return}}z.splice(0,j);var Xt=u.completedBoundaries;for(j=0;j<Xt.length;j++)if(!fr(u,g,Xt[j])){u.destination=null,j++,Xt.splice(0,j);return}Xt.splice(0,j);var bt=u.partialBoundaries;for(j=0;j<bt.length;j++){var Nn=bt[j];e:{z=u,H=g;var sn=Nn.completedSegments;for(Q=0;Q<sn.length;Q++)if(!zn(z,H,Nn,sn[Q])){Q++,sn.splice(0,Q);var En=!1;break e}sn.splice(0,Q),En=!0}if(!En){u.destination=null,j++,bt.splice(0,j);return}}bt.splice(0,j);var Zt=u.completedBoundaries;for(j=0;j<Zt.length;j++)if(!fr(u,g,Zt[j])){u.destination=null,j++,Zt.splice(0,j);return}Zt.splice(0,j)}finally{u.allPendingTasks===0&&u.pingedTasks.length===0&&u.clientRenderedBoundaries.length===0&&u.completedBoundaries.length===0&&g.push(null)}}function dr(u,g){try{var C=u.abortableTasks;C.forEach(function(R){return Vn(R,u,g)}),C.clear(),u.destination!==null&&an(u,u.destination)}catch(R){rn(u,R),Yt(u,R)}}function Wn(){}function Un(u,g,C,R){var z=!1,j=null,H="",Q={push:function(fe){return fe!==null&&(H+=fe),!0},destroy:function(fe){z=!0,j=fe}},ae=!1;if(u=vo(u,je(C,g?g.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Wn,void 0,function(){ae=!0},void 0,void 0),st(u),dr(u,R),u.status===1)u.status=2,Q.destroy(u.fatalError);else if(u.status!==2&&u.destination===null){u.destination=Q;try{an(u,Q)}catch(fe){rn(u,fe),Yt(u,fe)}}if(z)throw j;if(!ae)throw Error(t(426));return H}return Ko.renderToNodeStream=function(){throw Error(t(207))},Ko.renderToStaticMarkup=function(u,g){return Un(u,g,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Ko.renderToStaticNodeStream=function(){throw Error(t(208))},Ko.renderToString=function(u,g){return Un(u,g,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Ko.version="18.2.0",Ko}var hl={};/**
15
+ `),B;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":u.push(ye(g));for(var ot in C)if(r.call(C,ot)&&(B=C[ot],B!=null))switch(ot){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,g));default:K(u,R,ot,B)}return u.push("/>"),null;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 se(u,C,g,R);case"html":return z.insertionMode===0&&u.push("<!DOCTYPE html>"),se(u,C,g,R);default:if(g.indexOf("-")===-1&&typeof C.is!="string")return se(u,C,g,R);u.push(ye(g)),G=B=null;for(fe in C)if(r.call(C,fe)&&(ee=C[fe],ee!=null))switch(fe){case"children":B=ee;break;case"dangerouslySetInnerHTML":G=ee;break;case"style":q(u,R,ee);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:p(fe)&&typeof ee!="function"&&typeof ee!="symbol"&&u.push(" ",fe,'="',H(ee),'"')}return u.push(">"),te(u,G,B),B}}function Ce(u,g,C){if(u.push('<!--$?--><template id="'),C===null)throw Error(e(395));return u.push(C),u.push('"></template>')}function et(u,g,C,R){switch(C.insertionMode){case 0:case 1:return u.push('<div hidden id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 2:return u.push('<svg aria-hidden="true" style="display:none" id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 3:return u.push('<math aria-hidden="true" style="display:none" id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 4:return u.push('<table hidden id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 5:return u.push('<table hidden><tbody id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 6:return u.push('<table hidden><tr id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 7:return u.push('<table hidden><colgroup id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');default:throw Error(e(397))}}function Fe(u,g){switch(g.insertionMode){case 0:case 1:return u.push("</div>");case 2:return u.push("</svg>");case 3:return u.push("</math>");case 4:return u.push("</table>");case 5:return u.push("</tbody></table>");case 6:return u.push("</tr></table>");case 7:return u.push("</colgroup></table>");default:throw Error(e(397))}}var tt=/[<\u2028\u2029]/g;function Ee(u){return JSON.stringify(u).replace(tt,function(g){switch(g){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function je(u,g){return g=g===void 0?"":g,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:g+"P:",segmentPrefix:g+"S:",boundaryPrefix:g+"B:",idPrefix:g,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:u}}function dt(u,g,C,R){return C.generateStaticMarkup?(u.push(H(g)),!1):(g===""?u=R:(R&&u.push("<!-- -->"),u.push(H(g)),u=!0),u)}var he=Object.assign,ke=Symbol.for("react.element"),ht=Symbol.for("react.portal"),yt=Symbol.for("react.fragment"),Re=Symbol.for("react.strict_mode"),Se=Symbol.for("react.profiler"),lt=Symbol.for("react.provider"),ut=Symbol.for("react.context"),Xe=Symbol.for("react.forward_ref"),Ke=Symbol.for("react.suspense"),Ae=Symbol.for("react.suspense_list"),Yt=Symbol.for("react.memo"),Be=Symbol.for("react.lazy"),He=Symbol.for("react.scope"),nn=Symbol.for("react.debug_trace_mode"),Dt=Symbol.for("react.legacy_hidden"),Dr=Symbol.for("react.default_value"),St=Symbol.iterator;function Sn(u){if(u==null)return null;if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case yt:return"Fragment";case ht:return"Portal";case Se:return"Profiler";case Re:return"StrictMode";case Ke:return"Suspense";case Ae:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case ut:return(u.displayName||"Context")+".Consumer";case lt:return(u._context.displayName||"Context")+".Provider";case Xe:var g=u.render;return u=u.displayName,u||(u=g.displayName||g.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case Yt:return g=u.displayName||null,g!==null?g:Sn(u.type)||"Memo";case Be:g=u._payload,u=u._init;try{return Sn(u(g))}catch{}}return null}var wn={};function Or(u,g){if(u=u.contextTypes,!u)return wn;var C={},R;for(R in u)C[R]=g[R];return C}var wt=null;function nt(u,g){if(u!==g){u.context._currentValue2=u.parentValue,u=u.parent;var C=g.parent;if(u===null){if(C!==null)throw Error(e(401))}else{if(C===null)throw Error(e(401));nt(u,C)}g.context._currentValue2=g.value}}function Ze(u){u.context._currentValue2=u.parentValue,u=u.parent,u!==null&&Ze(u)}function Kn(u){var g=u.parent;g!==null&&Kn(g),u.context._currentValue2=u.value}function qn(u,g){if(u.context._currentValue2=u.parentValue,u=u.parent,u===null)throw Error(e(402));u.depth===g.depth?nt(u,g):qn(u,g)}function er(u,g){var C=g.parent;if(C===null)throw Error(e(402));u.depth===C.depth?nt(u,C):er(u,C),g.context._currentValue2=g.value}function Ge(u){var g=wt;g!==u&&(g===null?Kn(u):u===null?Ze(g):g.depth===u.depth?nt(g,u):g.depth>u.depth?qn(g,u):er(g,u),wt=u)}var tr={isMounted:function(){return!1},enqueueSetState:function(u,g){u=u._reactInternals,u.queue!==null&&u.queue.push(g)},enqueueReplaceState:function(u,g){u=u._reactInternals,u.replace=!0,u.queue=[g]},enqueueForceUpdate:function(){}};function Fr(u,g,C,R){var z=u.state!==void 0?u.state:null;u.updater=tr,u.props=C,u.state=z;var B={queue:[],replace:!1};u._reactInternals=B;var G=g.contextType;if(u.context=typeof G=="object"&&G!==null?G._currentValue2:R,G=g.getDerivedStateFromProps,typeof G=="function"&&(G=G(C,z),z=G==null?z:he({},z,G),u.state=z),typeof g.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function"))if(g=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),g!==u.state&&tr.enqueueReplaceState(u,u.state,null),B.queue!==null&&0<B.queue.length)if(g=B.queue,G=B.replace,B.queue=null,B.replace=!1,G&&g.length===1)u.state=g[0];else{for(B=G?g[0]:u.state,z=!0,G=G?1:0;G<g.length;G++){var ee=g[G];ee=typeof ee=="function"?ee.call(u,B,C,R):ee,ee!=null&&(z?(z=!1,B=he({},B,ee)):he(B,ee))}u.state=B}else B.queue=null}var Lr={id:1,overflow:""};function nr(u,g,C){var R=u.id;u=u.overflow;var z=32-Fn(R)-1;R&=~(1<<z),C+=1;var B=32-Fn(g)+z;if(30<B){var G=z-z%5;return B=(R&(1<<G)-1).toString(32),R>>=G,z-=G,{id:1<<32-Fn(g)+z|C<<z|R,overflow:B+u}}return{id:1<<B|C<<z|R,overflow:u}}var Fn=Math.clz32?Math.clz32:rn,vo=Math.log,rr=Math.LN2;function rn(u){return u>>>=0,u===0?32:31-(vo(u)/rr|0)|0}function or(u,g){return u===g&&(u!==0||1/u===1/g)||u!==u&&g!==g}var _r=typeof Object.is=="function"?Object.is:or,ct=null,Ot=null,on=null,Te=null,an=!1,Ln=!1,kn=0,Ft=null,_n=0;function Xt(){if(ct===null)throw Error(e(321));return ct}function We(){if(0<_n)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function ir(){return Te===null?on===null?(an=!1,on=Te=We()):(an=!0,Te=on):Te.next===null?(an=!1,Te=Te.next=We()):(an=!0,Te=Te.next),Te}function ar(){Ot=ct=null,Ln=!1,on=null,_n=0,Te=Ft=null}function jr(u,g){return typeof g=="function"?g(u):g}function $e(u,g,C){if(ct=Xt(),Te=ir(),an){var R=Te.queue;if(g=R.dispatch,Ft!==null&&(C=Ft.get(R),C!==void 0)){Ft.delete(R),R=Te.memoizedState;do R=u(R,C.action),C=C.next;while(C!==null);return Te.memoizedState=R,[R,g]}return[Te.memoizedState,g]}return u=u===jr?typeof g=="function"?g():g:C!==void 0?C(g):g,Te.memoizedState=u,u=Te.queue={last:null,dispatch:null},u=u.dispatch=go.bind(null,ct,u),[Te.memoizedState,u]}function sr(u,g){if(ct=Xt(),Te=ir(),g=g===void 0?null:g,Te!==null){var C=Te.memoizedState;if(C!==null&&g!==null){var R=C[1];e:if(R===null)R=!1;else{for(var z=0;z<R.length&&z<g.length;z++)if(!_r(g[z],R[z])){R=!1;break e}R=!0}if(R)return C[0]}}return u=u(),Te.memoizedState=[u,g],u}function go(u,g,C){if(25<=_n)throw Error(e(301));if(u===ct)if(Ln=!0,u={action:C,next:null},Ft===null&&(Ft=new Map),C=Ft.get(g),C===void 0)Ft.set(g,u);else{for(g=C;g.next!==null;)g=g.next;g.next=u}}function yo(){throw Error(e(394))}function Lt(){}var lr={readContext:function(u){return u._currentValue2},useContext:function(u){return Xt(),u._currentValue2},useMemo:sr,useReducer:$e,useRef:function(u){ct=Xt(),Te=ir();var g=Te.memoizedState;return g===null?(u={current:u},Te.memoizedState=u):g},useState:function(u){return $e(jr,u)},useInsertionEffect:Lt,useLayoutEffect:function(){},useCallback:function(u,g){return sr(function(){return u},g)},useImperativeHandle:Lt,useEffect:Lt,useDebugValue:Lt,useDeferredValue:function(u){return Xt(),u},useTransition:function(){return Xt(),[!1,yo]},useId:function(){var u=Ot.treeContext,g=u.overflow;u=u.id,u=(u&~(1<<32-Fn(u)-1)).toString(32)+g;var C=jn;if(C===null)throw Error(e(404));return g=kn++,u=":"+C.idPrefix+"R"+u,0<g&&(u+="H"+g.toString(32)),u+":"},useMutableSource:function(u,g){return Xt(),g(u._source)},useSyncExternalStore:function(u,g,C){if(C===void 0)throw Error(e(407));return C()}},jn=null,ur=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Tn(u){return console.error(u),null}function sn(){}function bo(u,g,C,R,z,B,G,ee,le){var fe=[],ce=new Set;return g={destination:null,responseState:g,progressiveChunkSize:R===void 0?12800:R,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ce,pingedTasks:fe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:z===void 0?Tn:z,onAllReady:B===void 0?sn:B,onShellReady:G===void 0?sn:G,onShellError:ee===void 0?sn:ee,onFatalError:le===void 0?sn:le},C=Bn(g,0,null,C,!1,!1),C.parentFlushed=!0,u=cr(g,u,null,C,ce,wn,null,Lr),fe.push(u),g}function cr(u,g,C,R,z,B,G,ee){u.allPendingTasks++,C===null?u.pendingRootTasks++:C.pendingTasks++;var le={node:g,ping:function(){var fe=u.pingedTasks;fe.push(le),fe.length===1&&ft(u)},blockedBoundary:C,blockedSegment:R,abortSet:z,legacyContext:B,context:G,treeContext:ee};return z.add(le),le}function Bn(u,g,C,R,z,B){return{status:0,id:-1,index:g,parentFlushed:!1,chunks:[],children:[],formatContext:R,boundary:C,lastPushedText:z,textEmbedded:B}}function ln(u,g){if(u=u.onError(g),u!=null&&typeof u!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof u+'" instead');return u}function Zt(u,g){var C=u.onShellError;C(g),C=u.onFatalError,C(g),u.destination!==null?(u.status=2,u.destination.destroy(g)):(u.status=1,u.fatalError=g)}function _t(u,g,C,R,z){for(ct={},Ot=g,kn=0,u=C(R,z);Ln;)Ln=!1,kn=0,_n+=1,Te=null,u=C(R,z);return ar(),u}function Cn(u,g,C,R){var z=C.render(),B=R.childContextTypes;if(B!=null){var G=g.legacyContext;if(typeof C.getChildContext!="function")R=G;else{C=C.getChildContext();for(var ee in C)if(!(ee in B))throw Error(e(108,Sn(R)||"Unknown",ee));R=he({},G,C)}g.legacyContext=R,Ve(u,g,z),g.legacyContext=G}else Ve(u,g,z)}function En(u,g){if(u&&u.defaultProps){g=he({},g),u=u.defaultProps;for(var C in u)g[C]===void 0&&(g[C]=u[C]);return g}return g}function bt(u,g,C,R,z){if(typeof C=="function")if(C.prototype&&C.prototype.isReactComponent){z=Or(C,g.legacyContext);var B=C.contextType;B=new C(R,typeof B=="object"&&B!==null?B._currentValue2:z),Fr(B,C,R,z),Cn(u,g,B,C)}else{B=Or(C,g.legacyContext),z=_t(u,g,C,R,B);var G=kn!==0;if(typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0)Fr(z,C,R,B),Cn(u,g,z,C);else if(G){R=g.treeContext,g.treeContext=nr(R,1,0);try{Ve(u,g,z)}finally{g.treeContext=R}}else Ve(u,g,z)}else if(typeof C=="string"){switch(z=g.blockedSegment,B=Oe(z.chunks,C,R,u.responseState,z.formatContext),z.lastPushedText=!1,G=z.formatContext,z.formatContext=$(G,C,R),kt(u,g,B),z.formatContext=G,C){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:z.chunks.push("</",C,">")}z.lastPushedText=!1}else{switch(C){case Dt:case nn:case Re:case Se:case yt:Ve(u,g,R.children);return;case Ae:Ve(u,g,R.children);return;case He:throw Error(e(343));case Ke:e:{C=g.blockedBoundary,z=g.blockedSegment,B=R.fallback,R=R.children,G=new Set;var ee={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:G,errorDigest:null},le=Bn(u,z.chunks.length,ee,z.formatContext,!1,!1);z.children.push(le),z.lastPushedText=!1;var fe=Bn(u,0,null,z.formatContext,!1,!1);fe.parentFlushed=!0,g.blockedBoundary=ee,g.blockedSegment=fe;try{if(kt(u,g,R),u.responseState.generateStaticMarkup||fe.lastPushedText&&fe.textEmbedded&&fe.chunks.push("<!-- -->"),fe.status=1,Bt(ee,fe),ee.pendingTasks===0)break e}catch(ce){fe.status=4,ee.forceClientRender=!0,ee.errorDigest=ln(u,ce)}finally{g.blockedBoundary=C,g.blockedSegment=z}g=cr(u,B,C,le,G,g.legacyContext,g.context,g.treeContext),u.pingedTasks.push(g)}return}if(typeof C=="object"&&C!==null)switch(C.$$typeof){case Xe:if(R=_t(u,g,C.render,R,z),kn!==0){C=g.treeContext,g.treeContext=nr(C,1,0);try{Ve(u,g,R)}finally{g.treeContext=C}}else Ve(u,g,R);return;case Yt:C=C.type,R=En(C,R),bt(u,g,C,R,z);return;case lt:if(z=R.children,C=C._context,R=R.value,B=C._currentValue2,C._currentValue2=R,G=wt,wt=R={parent:G,depth:G===null?0:G.depth+1,context:C,parentValue:B,value:R},g.context=R,Ve(u,g,z),u=wt,u===null)throw Error(e(403));R=u.parentValue,u.context._currentValue2=R===Dr?u.context._defaultValue:R,u=wt=u.parent,g.context=u;return;case ut:R=R.children,R=R(C._currentValue2),Ve(u,g,R);return;case Be:z=C._init,C=z(C._payload),R=En(C,R),bt(u,g,C,R,void 0);return}throw Error(e(130,C==null?C:typeof C,""))}}function Ve(u,g,C){if(g.node=C,typeof C=="object"&&C!==null){switch(C.$$typeof){case ke:bt(u,g,C.type,C.props,C.ref);return;case ht:throw Error(e(257));case Be:var R=C._init;C=R(C._payload),Ve(u,g,C);return}if(O(C)){jt(u,g,C);return}if(C===null||typeof C!="object"?R=null:(R=St&&C[St]||C["@@iterator"],R=typeof R=="function"?R:null),R&&(R=R.call(C))){if(C=R.next(),!C.done){var z=[];do z.push(C.value),C=R.next();while(!C.done);jt(u,g,z)}return}throw u=Object.prototype.toString.call(C),Error(e(31,u==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":u))}typeof C=="string"?(R=g.blockedSegment,R.lastPushedText=dt(g.blockedSegment.chunks,C,u.responseState,R.lastPushedText)):typeof C=="number"&&(R=g.blockedSegment,R.lastPushedText=dt(g.blockedSegment.chunks,""+C,u.responseState,R.lastPushedText))}function jt(u,g,C){for(var R=C.length,z=0;z<R;z++){var B=g.treeContext;g.treeContext=nr(B,R,z);try{kt(u,g,C[z])}finally{g.treeContext=B}}}function kt(u,g,C){var R=g.blockedSegment.formatContext,z=g.legacyContext,B=g.context;try{return Ve(u,g,C)}catch(le){if(ar(),typeof le=="object"&&le!==null&&typeof le.then=="function"){C=le;var G=g.blockedSegment,ee=Bn(u,G.chunks.length,null,G.formatContext,G.lastPushedText,!0);G.children.push(ee),G.lastPushedText=!1,u=cr(u,g.node,g.blockedBoundary,ee,g.abortSet,g.legacyContext,g.context,g.treeContext).ping,C.then(u,u),g.blockedSegment.formatContext=R,g.legacyContext=z,g.context=B,Ge(B)}else throw g.blockedSegment.formatContext=R,g.legacyContext=z,g.context=B,Ge(B),le}}function qe(u){var g=u.blockedBoundary;u=u.blockedSegment,u.status=3,Vt(this,g,u)}function Vn(u,g,C){var R=u.blockedBoundary;u.blockedSegment.status=3,R===null?(g.allPendingTasks--,g.status!==2&&(g.status=2,g.destination!==null&&g.destination.push(null))):(R.pendingTasks--,R.forceClientRender||(R.forceClientRender=!0,u=C===void 0?Error(e(432)):C,R.errorDigest=g.onError(u),R.parentFlushed&&g.clientRenderedBoundaries.push(R)),R.fallbackAbortableTasks.forEach(function(z){return Vn(z,g,C)}),R.fallbackAbortableTasks.clear(),g.allPendingTasks--,g.allPendingTasks===0&&(R=g.onAllReady,R()))}function Bt(u,g){if(g.chunks.length===0&&g.children.length===1&&g.children[0].boundary===null){var C=g.children[0];C.id=g.id,C.parentFlushed=!0,C.status===1&&Bt(u,C)}else u.completedSegments.push(g)}function Vt(u,g,C){if(g===null){if(C.parentFlushed){if(u.completedRootSegment!==null)throw Error(e(389));u.completedRootSegment=C}u.pendingRootTasks--,u.pendingRootTasks===0&&(u.onShellError=sn,g=u.onShellReady,g())}else g.pendingTasks--,g.forceClientRender||(g.pendingTasks===0?(C.parentFlushed&&C.status===1&&Bt(g,C),g.parentFlushed&&u.completedBoundaries.push(g),g.fallbackAbortableTasks.forEach(qe,u),g.fallbackAbortableTasks.clear()):C.parentFlushed&&C.status===1&&(Bt(g,C),g.completedSegments.length===1&&g.parentFlushed&&u.partialBoundaries.push(g)));u.allPendingTasks--,u.allPendingTasks===0&&(u=u.onAllReady,u())}function ft(u){if(u.status!==2){var g=wt,C=ur.current;ur.current=lr;var R=jn;jn=u.responseState;try{var z=u.pingedTasks,B;for(B=0;B<z.length;B++){var G=z[B],ee=u,le=G.blockedSegment;if(le.status===0){Ge(G.context);try{Ve(ee,G,G.node),ee.responseState.generateStaticMarkup||le.lastPushedText&&le.textEmbedded&&le.chunks.push("<!-- -->"),G.abortSet.delete(G),le.status=1,Vt(ee,G.blockedBoundary,le)}catch(it){if(ar(),typeof it=="object"&&it!==null&&typeof it.then=="function"){var fe=G.ping;it.then(fe,fe)}else{G.abortSet.delete(G),le.status=4;var ce=G.blockedBoundary,be=it,pt=ln(ee,be);if(ce===null?Zt(ee,be):(ce.pendingTasks--,ce.forceClientRender||(ce.forceClientRender=!0,ce.errorDigest=pt,ce.parentFlushed&&ee.clientRenderedBoundaries.push(ce))),ee.allPendingTasks--,ee.allPendingTasks===0){var ot=ee.onAllReady;ot()}}}finally{}}}z.splice(0,B),u.destination!==null&&cn(u,u.destination)}catch(it){ln(u,it),Zt(u,it)}finally{jn=R,ur.current=C,C===lr&&Ge(g)}}}function Qt(u,g,C){switch(C.parentFlushed=!0,C.status){case 0:var R=C.id=u.nextSegmentId++;return C.lastPushedText=!1,C.textEmbedded=!1,u=u.responseState,g.push('<template id="'),g.push(u.placeholderPrefix),u=R.toString(16),g.push(u),g.push('"></template>');case 1:C.status=2;var z=!0;R=C.chunks;var B=0;C=C.children;for(var G=0;G<C.length;G++){for(z=C[G];B<z.index;B++)g.push(R[B]);z=un(u,g,z)}for(;B<R.length-1;B++)g.push(R[B]);return B<R.length&&(z=g.push(R[B])),z;default:throw Error(e(390))}}function un(u,g,C){var R=C.boundary;if(R===null)return Qt(u,g,C);if(R.parentFlushed=!0,R.forceClientRender)return u.responseState.generateStaticMarkup||(R=R.errorDigest,g.push("<!--$!-->"),g.push("<template"),R&&(g.push(' data-dgst="'),R=H(R),g.push(R),g.push('"')),g.push("></template>")),Qt(u,g,C),u=u.responseState.generateStaticMarkup?!0:g.push("<!--/$-->"),u;if(0<R.pendingTasks){R.rootSegmentID=u.nextSegmentId++,0<R.completedSegments.length&&u.partialBoundaries.push(R);var z=u.responseState,B=z.nextSuspenseID++;return z=z.boundaryPrefix+B.toString(16),R=R.id=z,Ce(g,u.responseState,R),Qt(u,g,C),g.push("<!--/$-->")}if(R.byteSize>u.progressiveChunkSize)return R.rootSegmentID=u.nextSegmentId++,u.completedBoundaries.push(R),Ce(g,u.responseState,R.id),Qt(u,g,C),g.push("<!--/$-->");if(u.responseState.generateStaticMarkup||g.push("<!--$-->"),C=R.completedSegments,C.length!==1)throw Error(e(391));return un(u,g,C[0]),u=u.responseState.generateStaticMarkup?!0:g.push("<!--/$-->"),u}function fr(u,g,C){return et(g,u.responseState,C.formatContext,C.id),un(u,g,C),Fe(g,C.formatContext)}function dr(u,g,C){for(var R=C.completedSegments,z=0;z<R.length;z++)zn(u,g,C,R[z]);if(R.length=0,u=u.responseState,R=C.id,C=C.rootSegmentID,g.push(u.startInlineScript),u.sentCompleteBoundaryFunction?g.push('$RC("'):(u.sentCompleteBoundaryFunction=!0,g.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),R===null)throw Error(e(395));return C=C.toString(16),g.push(R),g.push('","'),g.push(u.segmentPrefix),g.push(C),g.push('")<\/script>')}function zn(u,g,C,R){if(R.status===2)return!0;var z=R.id;if(z===-1){if((R.id=C.rootSegmentID)===-1)throw Error(e(392));return fr(u,g,R)}return fr(u,g,R),u=u.responseState,g.push(u.startInlineScript),u.sentCompleteSegmentFunction?g.push('$RS("'):(u.sentCompleteSegmentFunction=!0,g.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),g.push(u.segmentPrefix),z=z.toString(16),g.push(z),g.push('","'),g.push(u.placeholderPrefix),g.push(z),g.push('")<\/script>')}function cn(u,g){try{var C=u.completedRootSegment;if(C!==null&&u.pendingRootTasks===0){un(u,g,C),u.completedRootSegment=null;var R=u.responseState.bootstrapChunks;for(C=0;C<R.length-1;C++)g.push(R[C]);C<R.length&&g.push(R[C])}var z=u.clientRenderedBoundaries,B;for(B=0;B<z.length;B++){var G=z[B];R=g;var ee=u.responseState,le=G.id,fe=G.errorDigest,ce=G.errorMessage,be=G.errorComponentStack;if(R.push(ee.startInlineScript),ee.sentClientRenderFunction?R.push('$RX("'):(ee.sentClientRenderFunction=!0,R.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),le===null)throw Error(e(395));if(R.push(le),R.push('"'),fe||ce||be){R.push(",");var pt=Ee(fe||"");R.push(pt)}if(ce||be){R.push(",");var ot=Ee(ce||"");R.push(ot)}if(be){R.push(",");var it=Ee(be);R.push(it)}if(!R.push(")<\/script>")){u.destination=null,B++,z.splice(0,B);return}}z.splice(0,B);var Jt=u.completedBoundaries;for(B=0;B<Jt.length;B++)if(!dr(u,g,Jt[B])){u.destination=null,B++,Jt.splice(0,B);return}Jt.splice(0,B);var Tt=u.partialBoundaries;for(B=0;B<Tt.length;B++){var Nn=Tt[B];e:{z=u,G=g;var fn=Nn.completedSegments;for(ee=0;ee<fn.length;ee++)if(!zn(z,G,Nn,fn[ee])){ee++,fn.splice(0,ee);var Rn=!1;break e}fn.splice(0,ee),Rn=!0}if(!Rn){u.destination=null,B++,Tt.splice(0,B);return}}Tt.splice(0,B);var Kt=u.completedBoundaries;for(B=0;B<Kt.length;B++)if(!dr(u,g,Kt[B])){u.destination=null,B++,Kt.splice(0,B);return}Kt.splice(0,B)}finally{u.allPendingTasks===0&&u.pingedTasks.length===0&&u.clientRenderedBoundaries.length===0&&u.completedBoundaries.length===0&&g.push(null)}}function hr(u,g){try{var C=u.abortableTasks;C.forEach(function(R){return Vn(R,u,g)}),C.clear(),u.destination!==null&&cn(u,u.destination)}catch(R){ln(u,R),Zt(u,R)}}function Wn(){}function Un(u,g,C,R){var z=!1,B=null,G="",ee={push:function(fe){return fe!==null&&(G+=fe),!0},destroy:function(fe){z=!0,B=fe}},le=!1;if(u=bo(u,je(C,g?g.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Wn,void 0,function(){le=!0},void 0,void 0),ft(u),hr(u,R),u.status===1)u.status=2,ee.destroy(u.fatalError);else if(u.status!==2&&u.destination===null){u.destination=ee;try{cn(u,ee)}catch(fe){ln(u,fe),Zt(u,fe)}}if(z)throw B;if(!le)throw Error(e(426));return G}return ei.renderToNodeStream=function(){throw Error(e(207))},ei.renderToStaticMarkup=function(u,g){return Un(u,g,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ei.renderToStaticNodeStream=function(){throw Error(e(208))},ei.renderToString=function(u,g){return Un(u,g,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ei.version="18.2.0",ei}var vl={};/**
16
16
  * @license React
17
17
  * react-dom-server.browser.production.min.js
18
18
  *
@@ -20,11 +20,11 @@
20
20
  *
21
21
  * This source code is licensed under the MIT license found in the
22
22
  * LICENSE file in the root directory of this source tree.
23
- */var Fc;function Wh(){if(Fc)return hl;Fc=1;var e=oe;function t(c){for(var v="https://reactjs.org/docs/error-decoder.html?invariant="+c,k=1;k<arguments.length;k++)v+="&args[]="+encodeURIComponent(arguments[k]);return"Minified React error #"+c+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,i=0;function s(c,v){if(v.length!==0)if(512<v.length)0<i&&(c.enqueue(new Uint8Array(r.buffer,0,i)),r=new Uint8Array(512),i=0),c.enqueue(v);else{var k=r.length-i;k<v.length&&(k===0?c.enqueue(r):(r.set(v.subarray(0,k),i),c.enqueue(r),v=v.subarray(k)),r=new Uint8Array(512),i=0),r.set(v,i),i+=v.length}}function m(c,v){return s(c,v),!0}function y(c){r&&0<i&&(c.enqueue(new Uint8Array(r.buffer,0,i)),r=null,i=0)}var S=new TextEncoder;function p(c){return S.encode(c)}function x(c){return S.encode(c)}function A(c,v){typeof c.error=="function"?c.error(v):c.close()}var T=Object.prototype.hasOwnProperty,D=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,_={},$={};function G(c){return T.call($,c)?!0:T.call(_,c)?!1:D.test(c)?$[c]=!0:(_[c]=!0,!1)}function B(c,v,k,P,W,V,Y){this.acceptsBooleans=v===2||v===3||v===4,this.attributeName=P,this.attributeNamespace=W,this.mustUseProperty=k,this.propertyName=c,this.type=v,this.sanitizeURL=V,this.removeEmptyString=Y}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(c){F[c]=new B(c,0,!1,c,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(c){var v=c[0];F[v]=new B(v,1,!1,c[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(c){F[c]=new B(c,2,!1,c.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(c){F[c]=new B(c,2,!1,c,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(c){F[c]=new B(c,3,!1,c.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(c){F[c]=new B(c,3,!0,c,null,!1,!1)}),["capture","download"].forEach(function(c){F[c]=new B(c,4,!1,c,null,!1,!1)}),["cols","rows","size","span"].forEach(function(c){F[c]=new B(c,6,!1,c,null,!1,!1)}),["rowSpan","start"].forEach(function(c){F[c]=new B(c,5,!1,c.toLowerCase(),null,!1,!1)});var Z=/[\-:]([a-z])/g;function X(c){return c[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(c){var v=c.replace(Z,X);F[v]=new B(v,1,!1,c,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(c){var v=c.replace(Z,X);F[v]=new B(v,1,!1,c,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(c){var v=c.replace(Z,X);F[v]=new B(v,1,!1,c,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(c){F[c]=new B(c,1,!1,c.toLowerCase(),null,!1,!1)}),F.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(c){F[c]=new B(c,1,!1,c.toLowerCase(),null,!0,!0)});var q={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},te=["Webkit","ms","Moz","O"];Object.keys(q).forEach(function(c){te.forEach(function(v){v=v+c.charAt(0).toUpperCase()+c.substring(1),q[v]=q[c]})});var ee=/["'&<>]/;function re(c){if(typeof c=="boolean"||typeof c=="number")return""+c;c=""+c;var v=ee.exec(c);if(v){var k="",P,W=0;for(P=v.index;P<c.length;P++){switch(c.charCodeAt(P)){case 34:v="&quot;";break;case 38:v="&amp;";break;case 39:v="&#x27;";break;case 60:v="&lt;";break;case 62:v="&gt;";break;default:continue}W!==P&&(k+=c.substring(W,P)),W=P+1,k+=v}c=W!==P?k+c.substring(W,P):k}return c}var le=/([A-Z])/g,ce=/^ms-/,ze=Array.isArray,Ne=x("<script>"),we=x("<\/script>"),He=x('<script src="'),Ce=x('<script type="module" src="'),dt=x('" async=""><\/script>'),Pe=/(<\/|<)(s)(cript)/gi;function ot(c,v,k,P){return""+v+(k==="s"?"\\u0073":"\\u0053")+P}function Ze(c,v,k,P,W){c=c===void 0?"":c,v=v===void 0?Ne:x('<script nonce="'+re(v)+'">');var V=[];if(k!==void 0&&V.push(v,p((""+k).replace(Pe,ot)),we),P!==void 0)for(k=0;k<P.length;k++)V.push(He,p(re(P[k])),dt);if(W!==void 0)for(P=0;P<W.length;P++)V.push(Ce,p(re(W[P])),dt);return{bootstrapChunks:V,startInlineScript:v,placeholderPrefix:x(c+"P:"),segmentPrefix:x(c+"S:"),boundaryPrefix:c+"B:",idPrefix:c,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function je(c,v){return{insertionMode:c,selectedValue:v}}function Ut(c){return je(c==="http://www.w3.org/2000/svg"?2:c==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function he(c,v,k){switch(v){case"select":return je(1,k.value!=null?k.value:k.defaultValue);case"svg":return je(2,null);case"math":return je(3,null);case"foreignObject":return je(1,null);case"table":return je(4,null);case"thead":case"tbody":case"tfoot":return je(5,null);case"colgroup":return je(7,null);case"tr":return je(6,null)}return 4<=c.insertionMode||c.insertionMode===0?je(1,null):c}var Se=x("<!-- -->");function Nt(c,v,k,P){return v===""?P:(P&&c.push(Se),c.push(p(re(v))),!0)}var mt=new Map,Ae=x(' style="'),ke=x(":"),Rt=x(";");function Ht(c,v,k){if(typeof k!="object")throw Error(t(62));v=!0;for(var P in k)if(T.call(k,P)){var W=k[P];if(W!=null&&typeof W!="boolean"&&W!==""){if(P.indexOf("--")===0){var V=p(re(P));W=p(re((""+W).trim()))}else{V=P;var Y=mt.get(V);Y!==void 0||(Y=x(re(V.replace(le,"-$1").toLowerCase().replace(ce,"-ms-"))),mt.set(V,Y)),V=Y,W=typeof W=="number"?W===0||T.call(q,P)?p(""+W):p(W+"px"):p(re((""+W).trim()))}v?(v=!1,c.push(Ae,V,ke,W)):c.push(Rt,V,ke,W)}}v||c.push(Ie)}var Ge=x(" "),it=x('="'),Ie=x('"'),yn=x('=""');function $e(c,v,k,P){switch(k){case"style":Ht(c,v,P);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<k.length)||k[0]!=="o"&&k[0]!=="O"||k[1]!=="n"&&k[1]!=="N"){if(v=F.hasOwnProperty(k)?F[k]:null,v!==null){switch(typeof P){case"function":case"symbol":return;case"boolean":if(!v.acceptsBooleans)return}switch(k=p(v.attributeName),v.type){case 3:P&&c.push(Ge,k,yn);break;case 4:P===!0?c.push(Ge,k,yn):P!==!1&&c.push(Ge,k,it,p(re(P)),Ie);break;case 5:isNaN(P)||c.push(Ge,k,it,p(re(P)),Ie);break;case 6:!isNaN(P)&&1<=P&&c.push(Ge,k,it,p(re(P)),Ie);break;default:v.sanitizeURL&&(P=""+P),c.push(Ge,k,it,p(re(P)),Ie)}}else if(G(k)){switch(typeof P){case"function":case"symbol":return;case"boolean":if(v=k.toLowerCase().slice(0,5),v!=="data-"&&v!=="aria-")return}c.push(Ge,p(k),it,p(re(P)),Ie)}}}var qe=x(">"),On=x("/>");function bn(c,v,k){if(v!=null){if(k!=null)throw Error(t(60));if(typeof v!="object"||!("__html"in v))throw Error(t(61));v=v.__html,v!=null&&c.push(p(""+v))}}function Mr(c){var v="";return e.Children.forEach(c,function(k){k!=null&&(v+=k)}),v}var gt=x(' selected=""');function xn(c,v,k,P){c.push(Je(k));var W=k=null,V;for(V in v)if(T.call(v,V)){var Y=v[V];if(Y!=null)switch(V){case"children":k=Y;break;case"dangerouslySetInnerHTML":W=Y;break;default:$e(c,P,V,Y)}}return c.push(qe),bn(c,W,k),typeof k=="string"?(c.push(p(re(k))),null):k}var Sn=x(`
24
- `),Dr=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,vt=new Map;function Je(c){var v=vt.get(c);if(v===void 0){if(!Dr.test(c))throw Error(t(65,c));v=x("<"+c),vt.set(c,v)}return v}var We=x("<!DOCTYPE html>");function Qn(c,v,k,P,W){switch(v){case"select":c.push(Je("select"));var V=null,Y=null;for(ge in k)if(T.call(k,ge)){var K=k[ge];if(K!=null)switch(ge){case"children":V=K;break;case"dangerouslySetInnerHTML":Y=K;break;case"defaultValue":case"value":break;default:$e(c,P,ge,K)}}return c.push(qe),bn(c,Y,V),V;case"option":Y=W.selectedValue,c.push(Je("option"));var de=K=null,ve=null,ge=null;for(V in k)if(T.call(k,V)){var Re=k[V];if(Re!=null)switch(V){case"children":K=Re;break;case"selected":ve=Re;break;case"dangerouslySetInnerHTML":ge=Re;break;case"value":de=Re;default:$e(c,P,V,Re)}}if(Y!=null)if(k=de!==null?""+de:Mr(K),ze(Y)){for(P=0;P<Y.length;P++)if(""+Y[P]===k){c.push(gt);break}}else""+Y===k&&c.push(gt);else ve&&c.push(gt);return c.push(qe),bn(c,ge,K),K;case"textarea":c.push(Je("textarea")),ge=Y=V=null;for(K in k)if(T.call(k,K)&&(de=k[K],de!=null))switch(K){case"children":ge=de;break;case"value":V=de;break;case"defaultValue":Y=de;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:$e(c,P,K,de)}if(V===null&&Y!==null&&(V=Y),c.push(qe),ge!=null){if(V!=null)throw Error(t(92));if(ze(ge)&&1<ge.length)throw Error(t(93));V=""+ge}return typeof V=="string"&&V[0]===`
25
- `&&c.push(Sn),V!==null&&c.push(p(re(""+V))),null;case"input":c.push(Je("input")),de=ge=K=V=null;for(Y in k)if(T.call(k,Y)&&(ve=k[Y],ve!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":de=ve;break;case"defaultValue":K=ve;break;case"checked":ge=ve;break;case"value":V=ve;break;default:$e(c,P,Y,ve)}return ge!==null?$e(c,P,"checked",ge):de!==null&&$e(c,P,"checked",de),V!==null?$e(c,P,"value",V):K!==null&&$e(c,P,"value",K),c.push(On),null;case"menuitem":c.push(Je("menuitem"));for(var ft in k)if(T.call(k,ft)&&(V=k[ft],V!=null))switch(ft){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:$e(c,P,ft,V)}return c.push(qe),null;case"title":c.push(Je("title")),V=null;for(Re in k)if(T.call(k,Re)&&(Y=k[Re],Y!=null))switch(Re){case"children":V=Y;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:$e(c,P,Re,Y)}return c.push(qe),V;case"listing":case"pre":c.push(Je(v)),Y=V=null;for(de in k)if(T.call(k,de)&&(K=k[de],K!=null))switch(de){case"children":V=K;break;case"dangerouslySetInnerHTML":Y=K;break;default:$e(c,P,de,K)}if(c.push(qe),Y!=null){if(V!=null)throw Error(t(60));if(typeof Y!="object"||!("__html"in Y))throw Error(t(61));k=Y.__html,k!=null&&(typeof k=="string"&&0<k.length&&k[0]===`
26
- `?c.push(Sn,p(k)):c.push(p(""+k)))}return typeof V=="string"&&V[0]===`
27
- `&&c.push(Sn),V;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":c.push(Je(v));for(var St in k)if(T.call(k,St)&&(V=k[St],V!=null))switch(St){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,v));default:$e(c,P,St,V)}return c.push(On),null;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 xn(c,k,v,P);case"html":return W.insertionMode===0&&c.push(We),xn(c,k,v,P);default:if(v.indexOf("-")===-1&&typeof k.is!="string")return xn(c,k,v,P);c.push(Je(v)),Y=V=null;for(ve in k)if(T.call(k,ve)&&(K=k[ve],K!=null))switch(ve){case"children":V=K;break;case"dangerouslySetInnerHTML":Y=K;break;case"style":Ht(c,P,K);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:G(ve)&&typeof K!="function"&&typeof K!="symbol"&&c.push(Ge,p(ve),it,p(re(K)),Ie)}return c.push(qe),bn(c,Y,V),V}}var Kn=x("</"),qn=x(">"),Be=x('<template id="'),er=x('"></template>'),Or=x("<!--$-->"),Fr=x('<!--$?--><template id="'),tr=x('"></template>'),Fn=x("<!--$!-->"),po=x("<!--/$-->"),nr=x("<template"),qt=x('"'),rr=x(' data-dgst="');x(' data-msg="'),x(' data-stck="');var Lr=x("></template>");function at(c,v,k){if(s(c,Fr),k===null)throw Error(t(395));return s(c,k),m(c,tr)}var Pt=x('<div hidden id="'),en=x('">'),xe=x("</div>"),tn=x('<svg aria-hidden="true" style="display:none" id="'),Ln=x('">'),wn=x("</svg>"),At=x('<math aria-hidden="true" style="display:none" id="'),_n=x('">'),$t=x("</math>"),Fe=x('<table hidden id="'),or=x('">'),ir=x("</table>"),_r=x('<table hidden><tbody id="'),Ve=x('">'),ar=x("</tbody></table>"),mo=x('<table hidden><tr id="'),go=x('">'),It=x("</tr></table>"),sr=x('<table hidden><colgroup id="'),jn=x('">'),lr=x("</colgroup></table>");function kn(c,v,k,P){switch(k.insertionMode){case 0:case 1:return s(c,Pt),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,en);case 2:return s(c,tn),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,Ln);case 3:return s(c,At),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,_n);case 4:return s(c,Fe),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,or);case 5:return s(c,_r),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,Ve);case 6:return s(c,mo),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,go);case 7:return s(c,sr),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,jn);default:throw Error(t(397))}}function nn(c,v){switch(v.insertionMode){case 0:case 1:return m(c,xe);case 2:return m(c,wn);case 3:return m(c,$t);case 4:return m(c,ir);case 5:return m(c,ar);case 6:return m(c,It);case 7:return m(c,lr);default:throw Error(t(397))}}var vo=x('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),ur=x('$RS("'),Bn=x('","'),rn=x('")<\/script>'),Yt=x('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Mt=x('$RC("'),Tn=x('","'),Cn=x('")<\/script>'),ht=x('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),De=x('$RX("'),Dt=x('"'),yt=x(")<\/script>"),Xe=x(","),Vn=/[<\u2028\u2029]/g;function Ot(c){return JSON.stringify(c).replace(Vn,function(v){switch(v){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Ft=Object.assign,st=Symbol.for("react.element"),Gt=Symbol.for("react.portal"),on=Symbol.for("react.fragment"),cr=Symbol.for("react.strict_mode"),fr=Symbol.for("react.profiler"),zn=Symbol.for("react.provider"),an=Symbol.for("react.context"),dr=Symbol.for("react.forward_ref"),Wn=Symbol.for("react.suspense"),Un=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),C=Symbol.for("react.scope"),R=Symbol.for("react.debug_trace_mode"),z=Symbol.for("react.legacy_hidden"),j=Symbol.for("react.default_value"),H=Symbol.iterator;function Q(c){if(c==null)return null;if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case on:return"Fragment";case Gt:return"Portal";case fr:return"Profiler";case cr:return"StrictMode";case Wn:return"Suspense";case Un:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case an:return(c.displayName||"Context")+".Consumer";case zn:return(c._context.displayName||"Context")+".Provider";case dr:var v=c.render;return c=c.displayName,c||(c=v.displayName||v.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case u:return v=c.displayName||null,v!==null?v:Q(c.type)||"Memo";case g:v=c._payload,c=c._init;try{return Q(c(v))}catch{}}return null}var ae={};function fe(c,v){if(c=c.contextTypes,!c)return ae;var k={},P;for(P in c)k[P]=v[P];return k}var ue=null;function ye(c,v){if(c!==v){c.context._currentValue=c.parentValue,c=c.parent;var k=v.parent;if(c===null){if(k!==null)throw Error(t(401))}else{if(k===null)throw Error(t(401));ye(c,k)}v.context._currentValue=v.value}}function lt(c){c.context._currentValue=c.parentValue,c=c.parent,c!==null&&lt(c)}function et(c){var v=c.parent;v!==null&&et(v),c.context._currentValue=c.value}function tt(c,v){if(c.context._currentValue=c.parentValue,c=c.parent,c===null)throw Error(t(402));c.depth===v.depth?ye(c,v):tt(c,v)}function Xt(c,v){var k=v.parent;if(k===null)throw Error(t(402));c.depth===k.depth?ye(c,k):Xt(c,k),v.context._currentValue=v.value}function bt(c){var v=ue;v!==c&&(v===null?et(c):c===null?lt(v):v.depth===c.depth?ye(v,c):v.depth>c.depth?tt(v,c):Xt(v,c),ue=c)}var Nn={isMounted:function(){return!1},enqueueSetState:function(c,v){c=c._reactInternals,c.queue!==null&&c.queue.push(v)},enqueueReplaceState:function(c,v){c=c._reactInternals,c.replace=!0,c.queue=[v]},enqueueForceUpdate:function(){}};function sn(c,v,k,P){var W=c.state!==void 0?c.state:null;c.updater=Nn,c.props=k,c.state=W;var V={queue:[],replace:!1};c._reactInternals=V;var Y=v.contextType;if(c.context=typeof Y=="object"&&Y!==null?Y._currentValue:P,Y=v.getDerivedStateFromProps,typeof Y=="function"&&(Y=Y(k,W),W=Y==null?W:Ft({},W,Y),c.state=W),typeof v.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function"))if(v=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),v!==c.state&&Nn.enqueueReplaceState(c,c.state,null),V.queue!==null&&0<V.queue.length)if(v=V.queue,Y=V.replace,V.queue=null,V.replace=!1,Y&&v.length===1)c.state=v[0];else{for(V=Y?v[0]:c.state,W=!0,Y=Y?1:0;Y<v.length;Y++){var K=v[Y];K=typeof K=="function"?K.call(c,V,k,P):K,K!=null&&(W?(W=!1,V=Ft({},V,K)):Ft(V,K))}c.state=V}else V.queue=null}var En={id:1,overflow:""};function Zt(c,v,k){var P=c.id;c=c.overflow;var W=32-hr(P)-1;P&=~(1<<W),k+=1;var V=32-hr(v)+W;if(30<V){var Y=W-W%5;return V=(P&(1<<Y)-1).toString(32),P>>=Y,W-=Y,{id:1<<32-hr(v)+W|k<<W|P,overflow:V+c}}return{id:1<<V|k<<W|P,overflow:c}}var hr=Math.clz32?Math.clz32:yo,da=Math.log,ha=Math.LN2;function yo(c){return c>>>=0,c===0?32:31-(da(c)/ha|0)|0}function pa(c,v){return c===v&&(c!==0||1/c===1/v)||c!==c&&v!==v}var bo=typeof Object.is=="function"?Object.is:pa,Jt=null,pr=null,jr=null,Ee=null,ln=!1,ut=!1,Rn=0,un=null,Br=0;function cn(){if(Jt===null)throw Error(t(321));return Jt}function xt(){if(0<Br)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function xo(){return Ee===null?jr===null?(ln=!1,jr=Ee=xt()):(ln=!0,Ee=jr):Ee.next===null?(ln=!1,Ee=Ee.next=xt()):(ln=!0,Ee=Ee.next),Ee}function So(){pr=Jt=null,ut=!1,jr=null,Br=0,Ee=un=null}function si(c,v){return typeof v=="function"?v(c):v}function li(c,v,k){if(Jt=cn(),Ee=xo(),ln){var P=Ee.queue;if(v=P.dispatch,un!==null&&(k=un.get(P),k!==void 0)){un.delete(P),P=Ee.memoizedState;do P=c(P,k.action),k=k.next;while(k!==null);return Ee.memoizedState=P,[P,v]}return[Ee.memoizedState,v]}return c=c===si?typeof v=="function"?v():v:k!==void 0?k(v):v,Ee.memoizedState=c,c=Ee.queue={last:null,dispatch:null},c=c.dispatch=ma.bind(null,Jt,c),[Ee.memoizedState,c]}function ui(c,v){if(Jt=cn(),Ee=xo(),v=v===void 0?null:v,Ee!==null){var k=Ee.memoizedState;if(k!==null&&v!==null){var P=k[1];e:if(P===null)P=!1;else{for(var W=0;W<P.length&&W<v.length;W++)if(!bo(v[W],P[W])){P=!1;break e}P=!0}if(P)return k[0]}}return c=c(),Ee.memoizedState=[c,v],c}function ma(c,v,k){if(25<=Br)throw Error(t(301));if(c===Jt)if(ut=!0,c={action:k,next:null},un===null&&(un=new Map),k=un.get(v),k===void 0)un.set(v,c);else{for(v=k;v.next!==null;)v=v.next;v.next=c}}function ga(){throw Error(t(394))}function Vr(){}var zr={readContext:function(c){return c._currentValue},useContext:function(c){return cn(),c._currentValue},useMemo:ui,useReducer:li,useRef:function(c){Jt=cn(),Ee=xo();var v=Ee.memoizedState;return v===null?(c={current:c},Ee.memoizedState=c):v},useState:function(c){return li(si,c)},useInsertionEffect:Vr,useLayoutEffect:function(){},useCallback:function(c,v){return ui(function(){return c},v)},useImperativeHandle:Vr,useEffect:Vr,useDebugValue:Vr,useDeferredValue:function(c){return cn(),c},useTransition:function(){return cn(),[!1,ga]},useId:function(){var c=pr.treeContext,v=c.overflow;c=c.id,c=(c&~(1<<32-hr(c)-1)).toString(32)+v;var k=Wr;if(k===null)throw Error(t(404));return v=Rn++,c=":"+k.idPrefix+"R"+c,0<v&&(c+="H"+v.toString(32)),c+":"},useMutableSource:function(c,v){return cn(),v(c._source)},useSyncExternalStore:function(c,v,k){if(k===void 0)throw Error(t(407));return k()}},Wr=null,mr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function va(c){return console.error(c),null}function gr(){}function wo(c,v,k,P,W,V,Y,K,de){var ve=[],ge=new Set;return v={destination:null,responseState:v,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ge,pingedTasks:ve,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:W===void 0?va:W,onAllReady:V===void 0?gr:V,onShellReady:Y===void 0?gr:Y,onShellError:K===void 0?gr:K,onFatalError:de===void 0?gr:de},k=Hn(v,0,null,k,!1,!1),k.parentFlushed=!0,c=ko(v,c,null,k,ge,ae,null,En),ve.push(c),v}function ko(c,v,k,P,W,V,Y,K){c.allPendingTasks++,k===null?c.pendingRootTasks++:k.pendingTasks++;var de={node:v,ping:function(){var ve=c.pingedTasks;ve.push(de),ve.length===1&&mi(c)},blockedBoundary:k,blockedSegment:P,abortSet:W,legacyContext:V,context:Y,treeContext:K};return W.add(de),de}function Hn(c,v,k,P,W,V){return{status:0,id:-1,index:v,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:k,lastPushedText:W,textEmbedded:V}}function $n(c,v){if(c=c.onError(v),c!=null&&typeof c!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof c+'" instead');return c}function Ur(c,v){var k=c.onShellError;k(v),k=c.onFatalError,k(v),c.destination!==null?(c.status=2,A(c.destination,v)):(c.status=1,c.fatalError=v)}function ci(c,v,k,P,W){for(Jt={},pr=v,Rn=0,c=k(P,W);ut;)ut=!1,Rn=0,Br+=1,Ee=null,c=k(P,W);return So(),c}function To(c,v,k,P){var W=k.render(),V=P.childContextTypes;if(V!=null){var Y=v.legacyContext;if(typeof k.getChildContext!="function")P=Y;else{k=k.getChildContext();for(var K in k)if(!(K in V))throw Error(t(108,Q(P)||"Unknown",K));P=Ft({},Y,k)}v.legacyContext=P,ct(c,v,W),v.legacyContext=Y}else ct(c,v,W)}function fi(c,v){if(c&&c.defaultProps){v=Ft({},v),c=c.defaultProps;for(var k in c)v[k]===void 0&&(v[k]=c[k]);return v}return v}function Nr(c,v,k,P,W){if(typeof k=="function")if(k.prototype&&k.prototype.isReactComponent){W=fe(k,v.legacyContext);var V=k.contextType;V=new k(P,typeof V=="object"&&V!==null?V._currentValue:W),sn(V,k,P,W),To(c,v,V,k)}else{V=fe(k,v.legacyContext),W=ci(c,v,k,P,V);var Y=Rn!==0;if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0)sn(W,k,P,V),To(c,v,W,k);else if(Y){P=v.treeContext,v.treeContext=Zt(P,1,0);try{ct(c,v,W)}finally{v.treeContext=P}}else ct(c,v,W)}else if(typeof k=="string"){switch(W=v.blockedSegment,V=Qn(W.chunks,k,P,c.responseState,W.formatContext),W.lastPushedText=!1,Y=W.formatContext,W.formatContext=he(Y,k,P),Hr(c,v,V),W.formatContext=Y,k){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:W.chunks.push(Kn,p(k),qn)}W.lastPushedText=!1}else{switch(k){case z:case R:case cr:case fr:case on:ct(c,v,P.children);return;case Un:ct(c,v,P.children);return;case C:throw Error(t(343));case Wn:e:{k=v.blockedBoundary,W=v.blockedSegment,V=P.fallback,P=P.children,Y=new Set;var K={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Y,errorDigest:null},de=Hn(c,W.chunks.length,K,W.formatContext,!1,!1);W.children.push(de),W.lastPushedText=!1;var ve=Hn(c,0,null,W.formatContext,!1,!1);ve.parentFlushed=!0,v.blockedBoundary=K,v.blockedSegment=ve;try{if(Hr(c,v,P),ve.lastPushedText&&ve.textEmbedded&&ve.chunks.push(Se),ve.status=1,$r(K,ve),K.pendingTasks===0)break e}catch(ge){ve.status=4,K.forceClientRender=!0,K.errorDigest=$n(c,ge)}finally{v.blockedBoundary=k,v.blockedSegment=W}v=ko(c,V,k,de,Y,v.legacyContext,v.context,v.treeContext),c.pingedTasks.push(v)}return}if(typeof k=="object"&&k!==null)switch(k.$$typeof){case dr:if(P=ci(c,v,k.render,P,W),Rn!==0){k=v.treeContext,v.treeContext=Zt(k,1,0);try{ct(c,v,P)}finally{v.treeContext=k}}else ct(c,v,P);return;case u:k=k.type,P=fi(k,P),Nr(c,v,k,P,W);return;case zn:if(W=P.children,k=k._context,P=P.value,V=k._currentValue,k._currentValue=P,Y=ue,ue=P={parent:Y,depth:Y===null?0:Y.depth+1,context:k,parentValue:V,value:P},v.context=P,ct(c,v,W),c=ue,c===null)throw Error(t(403));P=c.parentValue,c.context._currentValue=P===j?c.context._defaultValue:P,c=ue=c.parent,v.context=c;return;case an:P=P.children,P=P(k._currentValue),ct(c,v,P);return;case g:W=k._init,k=W(k._payload),P=fi(k,P),Nr(c,v,k,P,void 0);return}throw Error(t(130,k==null?k:typeof k,""))}}function ct(c,v,k){if(v.node=k,typeof k=="object"&&k!==null){switch(k.$$typeof){case st:Nr(c,v,k.type,k.props,k.ref);return;case Gt:throw Error(t(257));case g:var P=k._init;k=P(k._payload),ct(c,v,k);return}if(ze(k)){di(c,v,k);return}if(k===null||typeof k!="object"?P=null:(P=H&&k[H]||k["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(k))){if(k=P.next(),!k.done){var W=[];do W.push(k.value),k=P.next();while(!k.done);di(c,v,W)}return}throw c=Object.prototype.toString.call(k),Error(t(31,c==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":c))}typeof k=="string"?(P=v.blockedSegment,P.lastPushedText=Nt(v.blockedSegment.chunks,k,c.responseState,P.lastPushedText)):typeof k=="number"&&(P=v.blockedSegment,P.lastPushedText=Nt(v.blockedSegment.chunks,""+k,c.responseState,P.lastPushedText))}function di(c,v,k){for(var P=k.length,W=0;W<P;W++){var V=v.treeContext;v.treeContext=Zt(V,P,W);try{Hr(c,v,k[W])}finally{v.treeContext=V}}}function Hr(c,v,k){var P=v.blockedSegment.formatContext,W=v.legacyContext,V=v.context;try{return ct(c,v,k)}catch(de){if(So(),typeof de=="object"&&de!==null&&typeof de.then=="function"){k=de;var Y=v.blockedSegment,K=Hn(c,Y.chunks.length,null,Y.formatContext,Y.lastPushedText,!0);Y.children.push(K),Y.lastPushedText=!1,c=ko(c,v.node,v.blockedBoundary,K,v.abortSet,v.legacyContext,v.context,v.treeContext).ping,k.then(c,c),v.blockedSegment.formatContext=P,v.legacyContext=W,v.context=V,bt(V)}else throw v.blockedSegment.formatContext=P,v.legacyContext=W,v.context=V,bt(V),de}}function ya(c){var v=c.blockedBoundary;c=c.blockedSegment,c.status=3,pi(this,v,c)}function hi(c,v,k){var P=c.blockedBoundary;c.blockedSegment.status=3,P===null?(v.allPendingTasks--,v.status!==2&&(v.status=2,v.destination!==null&&v.destination.close())):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,c=k===void 0?Error(t(432)):k,P.errorDigest=v.onError(c),P.parentFlushed&&v.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(W){return hi(W,v,k)}),P.fallbackAbortableTasks.clear(),v.allPendingTasks--,v.allPendingTasks===0&&(P=v.onAllReady,P()))}function $r(c,v){if(v.chunks.length===0&&v.children.length===1&&v.children[0].boundary===null){var k=v.children[0];k.id=v.id,k.parentFlushed=!0,k.status===1&&$r(c,k)}else c.completedSegments.push(v)}function pi(c,v,k){if(v===null){if(k.parentFlushed){if(c.completedRootSegment!==null)throw Error(t(389));c.completedRootSegment=k}c.pendingRootTasks--,c.pendingRootTasks===0&&(c.onShellError=gr,v=c.onShellReady,v())}else v.pendingTasks--,v.forceClientRender||(v.pendingTasks===0?(k.parentFlushed&&k.status===1&&$r(v,k),v.parentFlushed&&c.completedBoundaries.push(v),v.fallbackAbortableTasks.forEach(ya,c),v.fallbackAbortableTasks.clear()):k.parentFlushed&&k.status===1&&($r(v,k),v.completedSegments.length===1&&v.parentFlushed&&c.partialBoundaries.push(v)));c.allPendingTasks--,c.allPendingTasks===0&&(c=c.onAllReady,c())}function mi(c){if(c.status!==2){var v=ue,k=mr.current;mr.current=zr;var P=Wr;Wr=c.responseState;try{var W=c.pingedTasks,V;for(V=0;V<W.length;V++){var Y=W[V],K=c,de=Y.blockedSegment;if(de.status===0){bt(Y.context);try{ct(K,Y,Y.node),de.lastPushedText&&de.textEmbedded&&de.chunks.push(Se),Y.abortSet.delete(Y),de.status=1,pi(K,Y.blockedBoundary,de)}catch(wt){if(So(),typeof wt=="object"&&wt!==null&&typeof wt.then=="function"){var ve=Y.ping;wt.then(ve,ve)}else{Y.abortSet.delete(Y),de.status=4;var ge=Y.blockedBoundary,Re=wt,ft=$n(K,Re);if(ge===null?Ur(K,Re):(ge.pendingTasks--,ge.forceClientRender||(ge.forceClientRender=!0,ge.errorDigest=ft,ge.parentFlushed&&K.clientRenderedBoundaries.push(ge))),K.allPendingTasks--,K.allPendingTasks===0){var St=K.onAllReady;St()}}}finally{}}}W.splice(0,V),c.destination!==null&&Co(c,c.destination)}catch(wt){$n(c,wt),Ur(c,wt)}finally{Wr=P,mr.current=k,k===zr&&bt(v)}}}function Yr(c,v,k){switch(k.parentFlushed=!0,k.status){case 0:var P=k.id=c.nextSegmentId++;return k.lastPushedText=!1,k.textEmbedded=!1,c=c.responseState,s(v,Be),s(v,c.placeholderPrefix),c=p(P.toString(16)),s(v,c),m(v,er);case 1:k.status=2;var W=!0;P=k.chunks;var V=0;k=k.children;for(var Y=0;Y<k.length;Y++){for(W=k[Y];V<W.index;V++)s(v,P[V]);W=Gr(c,v,W)}for(;V<P.length-1;V++)s(v,P[V]);return V<P.length&&(W=m(v,P[V])),W;default:throw Error(t(390))}}function Gr(c,v,k){var P=k.boundary;if(P===null)return Yr(c,v,k);if(P.parentFlushed=!0,P.forceClientRender)P=P.errorDigest,m(v,Fn),s(v,nr),P&&(s(v,rr),s(v,p(re(P))),s(v,qt)),m(v,Lr),Yr(c,v,k);else if(0<P.pendingTasks){P.rootSegmentID=c.nextSegmentId++,0<P.completedSegments.length&&c.partialBoundaries.push(P);var W=c.responseState,V=W.nextSuspenseID++;W=x(W.boundaryPrefix+V.toString(16)),P=P.id=W,at(v,c.responseState,P),Yr(c,v,k)}else if(P.byteSize>c.progressiveChunkSize)P.rootSegmentID=c.nextSegmentId++,c.completedBoundaries.push(P),at(v,c.responseState,P.id),Yr(c,v,k);else{if(m(v,Or),k=P.completedSegments,k.length!==1)throw Error(t(391));Gr(c,v,k[0])}return m(v,po)}function gi(c,v,k){return kn(v,c.responseState,k.formatContext,k.id),Gr(c,v,k),nn(v,k.formatContext)}function vi(c,v,k){for(var P=k.completedSegments,W=0;W<P.length;W++)yi(c,v,k,P[W]);if(P.length=0,c=c.responseState,P=k.id,k=k.rootSegmentID,s(v,c.startInlineScript),c.sentCompleteBoundaryFunction?s(v,Mt):(c.sentCompleteBoundaryFunction=!0,s(v,Yt)),P===null)throw Error(t(395));return k=p(k.toString(16)),s(v,P),s(v,Tn),s(v,c.segmentPrefix),s(v,k),m(v,Cn)}function yi(c,v,k,P){if(P.status===2)return!0;var W=P.id;if(W===-1){if((P.id=k.rootSegmentID)===-1)throw Error(t(392));return gi(c,v,P)}return gi(c,v,P),c=c.responseState,s(v,c.startInlineScript),c.sentCompleteSegmentFunction?s(v,ur):(c.sentCompleteSegmentFunction=!0,s(v,vo)),s(v,c.segmentPrefix),W=p(W.toString(16)),s(v,W),s(v,Bn),s(v,c.placeholderPrefix),s(v,W),m(v,rn)}function Co(c,v){r=new Uint8Array(512),i=0;try{var k=c.completedRootSegment;if(k!==null&&c.pendingRootTasks===0){Gr(c,v,k),c.completedRootSegment=null;var P=c.responseState.bootstrapChunks;for(k=0;k<P.length-1;k++)s(v,P[k]);k<P.length&&m(v,P[k])}var W=c.clientRenderedBoundaries,V;for(V=0;V<W.length;V++){var Y=W[V];P=v;var K=c.responseState,de=Y.id,ve=Y.errorDigest,ge=Y.errorMessage,Re=Y.errorComponentStack;if(s(P,K.startInlineScript),K.sentClientRenderFunction?s(P,De):(K.sentClientRenderFunction=!0,s(P,ht)),de===null)throw Error(t(395));s(P,de),s(P,Dt),(ve||ge||Re)&&(s(P,Xe),s(P,p(Ot(ve||"")))),(ge||Re)&&(s(P,Xe),s(P,p(Ot(ge||"")))),Re&&(s(P,Xe),s(P,p(Ot(Re)))),m(P,yt)}W.splice(0,V);var ft=c.completedBoundaries;for(V=0;V<ft.length;V++)vi(c,v,ft[V]);ft.splice(0,V),y(v),r=new Uint8Array(512),i=0;var St=c.partialBoundaries;for(V=0;V<St.length;V++){var wt=St[V];e:{W=c,Y=v;var Xr=wt.completedSegments;for(K=0;K<Xr.length;K++)if(!yi(W,Y,wt,Xr[K])){K++,Xr.splice(0,K);var xi=!1;break e}Xr.splice(0,K),xi=!0}if(!xi){c.destination=null,V++,St.splice(0,V);return}}St.splice(0,V);var Eo=c.completedBoundaries;for(V=0;V<Eo.length;V++)vi(c,v,Eo[V]);Eo.splice(0,V)}finally{y(v),c.allPendingTasks===0&&c.pingedTasks.length===0&&c.clientRenderedBoundaries.length===0&&c.completedBoundaries.length===0&&v.close()}}function bi(c,v){try{var k=c.abortableTasks;k.forEach(function(P){return hi(P,c,v)}),k.clear(),c.destination!==null&&Co(c,c.destination)}catch(P){$n(c,P),Ur(c,P)}}return hl.renderToReadableStream=function(c,v){return new Promise(function(k,P){var W,V,Y=new Promise(function(ge,Re){V=ge,W=Re}),K=wo(c,Ze(v?v.identifierPrefix:void 0,v?v.nonce:void 0,v?v.bootstrapScriptContent:void 0,v?v.bootstrapScripts:void 0,v?v.bootstrapModules:void 0),Ut(v?v.namespaceURI:void 0),v?v.progressiveChunkSize:void 0,v?v.onError:void 0,V,function(){var ge=new ReadableStream({type:"bytes",pull:function(Re){if(K.status===1)K.status=2,A(Re,K.fatalError);else if(K.status!==2&&K.destination===null){K.destination=Re;try{Co(K,Re)}catch(ft){$n(K,ft),Ur(K,ft)}}},cancel:function(){bi(K)}},{highWaterMark:0});ge.allReady=Y,k(ge)},function(ge){Y.catch(function(){}),P(ge)},W);if(v&&v.signal){var de=v.signal,ve=function(){bi(K,de.reason),de.removeEventListener("abort",ve)};de.addEventListener("abort",ve)}mi(K)})},hl.version="18.2.0",hl}var qo={};/**
23
+ */var Uc;function rp(){if(Uc)return vl;Uc=1;var t=oe;function e(c){for(var y="https://reactjs.org/docs/error-decoder.html?invariant="+c,T=1;T<arguments.length;T++)y+="&args[]="+encodeURIComponent(arguments[T]);return"Minified React error #"+c+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,i=0;function a(c,y){if(y.length!==0)if(512<y.length)0<i&&(c.enqueue(new Uint8Array(r.buffer,0,i)),r=new Uint8Array(512),i=0),c.enqueue(y);else{var T=r.length-i;T<y.length&&(T===0?c.enqueue(r):(r.set(y.subarray(0,T),i),c.enqueue(r),y=y.subarray(T)),r=new Uint8Array(512),i=0),r.set(y,i),i+=y.length}}function h(c,y){return a(c,y),!0}function p(c){r&&0<i&&(c.enqueue(new Uint8Array(r.buffer,0,i)),r=null,i=0)}var S=new TextEncoder;function v(c){return S.encode(c)}function b(c){return S.encode(c)}function P(c,y){typeof c.error=="function"?c.error(y):c.close()}var w=Object.prototype.hasOwnProperty,D=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,_={},H={};function Y(c){return w.call(H,c)?!0:w.call(_,c)?!1:D.test(c)?H[c]=!0:(_[c]=!0,!1)}function j(c,y,T,A,W,V,Z){this.acceptsBooleans=y===2||y===3||y===4,this.attributeName=A,this.attributeNamespace=W,this.mustUseProperty=T,this.propertyName=c,this.type=y,this.sanitizeURL=V,this.removeEmptyString=Z}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(c){O[c]=new j(c,0,!1,c,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(c){var y=c[0];O[y]=new j(y,1,!1,c[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(c){O[c]=new j(c,2,!1,c.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(c){O[c]=new j(c,2,!1,c,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(c){O[c]=new j(c,3,!1,c.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(c){O[c]=new j(c,3,!0,c,null,!1,!1)}),["capture","download"].forEach(function(c){O[c]=new j(c,4,!1,c,null,!1,!1)}),["cols","rows","size","span"].forEach(function(c){O[c]=new j(c,6,!1,c,null,!1,!1)}),["rowSpan","start"].forEach(function(c){O[c]=new j(c,5,!1,c.toLowerCase(),null,!1,!1)});var X=/[\-:]([a-z])/g;function $(c){return c[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(c){var y=c.replace(X,$);O[y]=new j(y,1,!1,c,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(c){var y=c.replace(X,$);O[y]=new j(y,1,!1,c,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(c){var y=c.replace(X,$);O[y]=new j(y,1,!1,c,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(c){O[c]=new j(c,1,!1,c.toLowerCase(),null,!1,!1)}),O.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(c){O[c]=new j(c,1,!1,c.toLowerCase(),null,!0,!0)});var J={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},q=["Webkit","ms","Moz","O"];Object.keys(J).forEach(function(c){q.forEach(function(y){y=y+c.charAt(0).toUpperCase()+c.substring(1),J[y]=J[c]})});var K=/["'&<>]/;function te(c){if(typeof c=="boolean"||typeof c=="number")return""+c;c=""+c;var y=K.exec(c);if(y){var T="",A,W=0;for(A=y.index;A<c.length;A++){switch(c.charCodeAt(A)){case 34:y="&quot;";break;case 38:y="&amp;";break;case 39:y="&#x27;";break;case 60:y="&lt;";break;case 62:y="&gt;";break;default:continue}W!==A&&(T+=c.substring(W,A)),W=A+1,T+=y}c=W!==A?T+c.substring(W,A):T}return c}var ie=/([A-Z])/g,se=/^ms-/,Pe=Array.isArray,De=b("<script>"),ye=b("<\/script>"),Oe=b('<script src="'),Ce=b('<script type="module" src="'),et=b('" async=""><\/script>'),Fe=/(<\/|<)(s)(cript)/gi;function tt(c,y,T,A){return""+y+(T==="s"?"\\u0073":"\\u0053")+A}function Ee(c,y,T,A,W){c=c===void 0?"":c,y=y===void 0?De:b('<script nonce="'+te(y)+'">');var V=[];if(T!==void 0&&V.push(y,v((""+T).replace(Fe,tt)),ye),A!==void 0)for(T=0;T<A.length;T++)V.push(Oe,v(te(A[T])),et);if(W!==void 0)for(A=0;A<W.length;A++)V.push(Ce,v(te(W[A])),et);return{bootstrapChunks:V,startInlineScript:y,placeholderPrefix:b(c+"P:"),segmentPrefix:b(c+"S:"),boundaryPrefix:c+"B:",idPrefix:c,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function je(c,y){return{insertionMode:c,selectedValue:y}}function dt(c){return je(c==="http://www.w3.org/2000/svg"?2:c==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function he(c,y,T){switch(y){case"select":return je(1,T.value!=null?T.value:T.defaultValue);case"svg":return je(2,null);case"math":return je(3,null);case"foreignObject":return je(1,null);case"table":return je(4,null);case"thead":case"tbody":case"tfoot":return je(5,null);case"colgroup":return je(7,null);case"tr":return je(6,null)}return 4<=c.insertionMode||c.insertionMode===0?je(1,null):c}var ke=b("<!-- -->");function ht(c,y,T,A){return y===""?A:(A&&c.push(ke),c.push(v(te(y))),!0)}var yt=new Map,Re=b(' style="'),Se=b(":"),lt=b(";");function ut(c,y,T){if(typeof T!="object")throw Error(e(62));y=!0;for(var A in T)if(w.call(T,A)){var W=T[A];if(W!=null&&typeof W!="boolean"&&W!==""){if(A.indexOf("--")===0){var V=v(te(A));W=v(te((""+W).trim()))}else{V=A;var Z=yt.get(V);Z!==void 0||(Z=b(te(V.replace(ie,"-$1").toLowerCase().replace(se,"-ms-"))),yt.set(V,Z)),V=Z,W=typeof W=="number"?W===0||w.call(J,A)?v(""+W):v(W+"px"):v(te((""+W).trim()))}y?(y=!1,c.push(Re,V,Se,W)):c.push(lt,V,Se,W)}}y||c.push(Ae)}var Xe=b(" "),Ke=b('="'),Ae=b('"'),Yt=b('=""');function Be(c,y,T,A){switch(T){case"style":ut(c,y,A);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N"){if(y=O.hasOwnProperty(T)?O[T]:null,y!==null){switch(typeof A){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}switch(T=v(y.attributeName),y.type){case 3:A&&c.push(Xe,T,Yt);break;case 4:A===!0?c.push(Xe,T,Yt):A!==!1&&c.push(Xe,T,Ke,v(te(A)),Ae);break;case 5:isNaN(A)||c.push(Xe,T,Ke,v(te(A)),Ae);break;case 6:!isNaN(A)&&1<=A&&c.push(Xe,T,Ke,v(te(A)),Ae);break;default:y.sanitizeURL&&(A=""+A),c.push(Xe,T,Ke,v(te(A)),Ae)}}else if(Y(T)){switch(typeof A){case"function":case"symbol":return;case"boolean":if(y=T.toLowerCase().slice(0,5),y!=="data-"&&y!=="aria-")return}c.push(Xe,v(T),Ke,v(te(A)),Ae)}}}var He=b(">"),nn=b("/>");function Dt(c,y,T){if(y!=null){if(T!=null)throw Error(e(60));if(typeof y!="object"||!("__html"in y))throw Error(e(61));y=y.__html,y!=null&&c.push(v(""+y))}}function Dr(c){var y="";return t.Children.forEach(c,function(T){T!=null&&(y+=T)}),y}var St=b(' selected=""');function Sn(c,y,T,A){c.push(nt(T));var W=T=null,V;for(V in y)if(w.call(y,V)){var Z=y[V];if(Z!=null)switch(V){case"children":T=Z;break;case"dangerouslySetInnerHTML":W=Z;break;default:Be(c,A,V,Z)}}return c.push(He),Dt(c,W,T),typeof T=="string"?(c.push(v(te(T))),null):T}var wn=b(`
24
+ `),Or=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,wt=new Map;function nt(c){var y=wt.get(c);if(y===void 0){if(!Or.test(c))throw Error(e(65,c));y=b("<"+c),wt.set(c,y)}return y}var Ze=b("<!DOCTYPE html>");function Kn(c,y,T,A,W){switch(y){case"select":c.push(nt("select"));var V=null,Z=null;for(ve in T)if(w.call(T,ve)){var ne=T[ve];if(ne!=null)switch(ve){case"children":V=ne;break;case"dangerouslySetInnerHTML":Z=ne;break;case"defaultValue":case"value":break;default:Be(c,A,ve,ne)}}return c.push(He),Dt(c,Z,V),V;case"option":Z=W.selectedValue,c.push(nt("option"));var de=ne=null,ge=null,ve=null;for(V in T)if(w.call(T,V)){var Le=T[V];if(Le!=null)switch(V){case"children":ne=Le;break;case"selected":ge=Le;break;case"dangerouslySetInnerHTML":ve=Le;break;case"value":de=Le;default:Be(c,A,V,Le)}}if(Z!=null)if(T=de!==null?""+de:Dr(ne),Pe(Z)){for(A=0;A<Z.length;A++)if(""+Z[A]===T){c.push(St);break}}else""+Z===T&&c.push(St);else ge&&c.push(St);return c.push(He),Dt(c,ve,ne),ne;case"textarea":c.push(nt("textarea")),ve=Z=V=null;for(ne in T)if(w.call(T,ne)&&(de=T[ne],de!=null))switch(ne){case"children":ve=de;break;case"value":V=de;break;case"defaultValue":Z=de;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Be(c,A,ne,de)}if(V===null&&Z!==null&&(V=Z),c.push(He),ve!=null){if(V!=null)throw Error(e(92));if(Pe(ve)&&1<ve.length)throw Error(e(93));V=""+ve}return typeof V=="string"&&V[0]===`
25
+ `&&c.push(wn),V!==null&&c.push(v(te(""+V))),null;case"input":c.push(nt("input")),de=ve=ne=V=null;for(Z in T)if(w.call(T,Z)&&(ge=T[Z],ge!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":de=ge;break;case"defaultValue":ne=ge;break;case"checked":ve=ge;break;case"value":V=ge;break;default:Be(c,A,Z,ge)}return ve!==null?Be(c,A,"checked",ve):de!==null&&Be(c,A,"checked",de),V!==null?Be(c,A,"value",V):ne!==null&&Be(c,A,"value",ne),c.push(nn),null;case"menuitem":c.push(nt("menuitem"));for(var gt in T)if(w.call(T,gt)&&(V=T[gt],V!=null))switch(gt){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:Be(c,A,gt,V)}return c.push(He),null;case"title":c.push(nt("title")),V=null;for(Le in T)if(w.call(T,Le)&&(Z=T[Le],Z!=null))switch(Le){case"children":V=Z;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Be(c,A,Le,Z)}return c.push(He),V;case"listing":case"pre":c.push(nt(y)),Z=V=null;for(de in T)if(w.call(T,de)&&(ne=T[de],ne!=null))switch(de){case"children":V=ne;break;case"dangerouslySetInnerHTML":Z=ne;break;default:Be(c,A,de,ne)}if(c.push(He),Z!=null){if(V!=null)throw Error(e(60));if(typeof Z!="object"||!("__html"in Z))throw Error(e(61));T=Z.__html,T!=null&&(typeof T=="string"&&0<T.length&&T[0]===`
26
+ `?c.push(wn,v(T)):c.push(v(""+T)))}return typeof V=="string"&&V[0]===`
27
+ `&&c.push(wn),V;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":c.push(nt(y));for(var Et in T)if(w.call(T,Et)&&(V=T[Et],V!=null))switch(Et){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,y));default:Be(c,A,Et,V)}return c.push(nn),null;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 Sn(c,T,y,A);case"html":return W.insertionMode===0&&c.push(Ze),Sn(c,T,y,A);default:if(y.indexOf("-")===-1&&typeof T.is!="string")return Sn(c,T,y,A);c.push(nt(y)),Z=V=null;for(ge in T)if(w.call(T,ge)&&(ne=T[ge],ne!=null))switch(ge){case"children":V=ne;break;case"dangerouslySetInnerHTML":Z=ne;break;case"style":ut(c,A,ne);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Y(ge)&&typeof ne!="function"&&typeof ne!="symbol"&&c.push(Xe,v(ge),Ke,v(te(ne)),Ae)}return c.push(He),Dt(c,Z,V),V}}var qn=b("</"),er=b(">"),Ge=b('<template id="'),tr=b('"></template>'),Fr=b("<!--$-->"),Lr=b('<!--$?--><template id="'),nr=b('"></template>'),Fn=b("<!--$!-->"),vo=b("<!--/$-->"),rr=b("<template"),rn=b('"'),or=b(' data-dgst="');b(' data-msg="'),b(' data-stck="');var _r=b("></template>");function ct(c,y,T){if(a(c,Lr),T===null)throw Error(e(395));return a(c,T),h(c,nr)}var Ot=b('<div hidden id="'),on=b('">'),Te=b("</div>"),an=b('<svg aria-hidden="true" style="display:none" id="'),Ln=b('">'),kn=b("</svg>"),Ft=b('<math aria-hidden="true" style="display:none" id="'),_n=b('">'),Xt=b("</math>"),We=b('<table hidden id="'),ir=b('">'),ar=b("</table>"),jr=b('<table hidden><tbody id="'),$e=b('">'),sr=b("</tbody></table>"),go=b('<table hidden><tr id="'),yo=b('">'),Lt=b("</tr></table>"),lr=b('<table hidden><colgroup id="'),jn=b('">'),ur=b("</colgroup></table>");function Tn(c,y,T,A){switch(T.insertionMode){case 0:case 1:return a(c,Ot),a(c,y.segmentPrefix),a(c,v(A.toString(16))),h(c,on);case 2:return a(c,an),a(c,y.segmentPrefix),a(c,v(A.toString(16))),h(c,Ln);case 3:return a(c,Ft),a(c,y.segmentPrefix),a(c,v(A.toString(16))),h(c,_n);case 4:return a(c,We),a(c,y.segmentPrefix),a(c,v(A.toString(16))),h(c,ir);case 5:return a(c,jr),a(c,y.segmentPrefix),a(c,v(A.toString(16))),h(c,$e);case 6:return a(c,go),a(c,y.segmentPrefix),a(c,v(A.toString(16))),h(c,yo);case 7:return a(c,lr),a(c,y.segmentPrefix),a(c,v(A.toString(16))),h(c,jn);default:throw Error(e(397))}}function sn(c,y){switch(y.insertionMode){case 0:case 1:return h(c,Te);case 2:return h(c,kn);case 3:return h(c,Xt);case 4:return h(c,ar);case 5:return h(c,sr);case 6:return h(c,Lt);case 7:return h(c,ur);default:throw Error(e(397))}}var bo=b('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),cr=b('$RS("'),Bn=b('","'),ln=b('")<\/script>'),Zt=b('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),_t=b('$RC("'),Cn=b('","'),En=b('")<\/script>'),bt=b('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Ve=b('$RX("'),jt=b('"'),kt=b(")<\/script>"),qe=b(","),Vn=/[<\u2028\u2029]/g;function Bt(c){return JSON.stringify(c).replace(Vn,function(y){switch(y){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Vt=Object.assign,ft=Symbol.for("react.element"),Qt=Symbol.for("react.portal"),un=Symbol.for("react.fragment"),fr=Symbol.for("react.strict_mode"),dr=Symbol.for("react.profiler"),zn=Symbol.for("react.provider"),cn=Symbol.for("react.context"),hr=Symbol.for("react.forward_ref"),Wn=Symbol.for("react.suspense"),Un=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),C=Symbol.for("react.scope"),R=Symbol.for("react.debug_trace_mode"),z=Symbol.for("react.legacy_hidden"),B=Symbol.for("react.default_value"),G=Symbol.iterator;function ee(c){if(c==null)return null;if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case un:return"Fragment";case Qt:return"Portal";case dr:return"Profiler";case fr:return"StrictMode";case Wn:return"Suspense";case Un:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case cn:return(c.displayName||"Context")+".Consumer";case zn:return(c._context.displayName||"Context")+".Provider";case hr:var y=c.render;return c=c.displayName,c||(c=y.displayName||y.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case u:return y=c.displayName||null,y!==null?y:ee(c.type)||"Memo";case g:y=c._payload,c=c._init;try{return ee(c(y))}catch{}}return null}var le={};function fe(c,y){if(c=c.contextTypes,!c)return le;var T={},A;for(A in c)T[A]=y[A];return T}var ce=null;function be(c,y){if(c!==y){c.context._currentValue=c.parentValue,c=c.parent;var T=y.parent;if(c===null){if(T!==null)throw Error(e(401))}else{if(T===null)throw Error(e(401));be(c,T)}y.context._currentValue=y.value}}function pt(c){c.context._currentValue=c.parentValue,c=c.parent,c!==null&&pt(c)}function ot(c){var y=c.parent;y!==null&&ot(y),c.context._currentValue=c.value}function it(c,y){if(c.context._currentValue=c.parentValue,c=c.parent,c===null)throw Error(e(402));c.depth===y.depth?be(c,y):it(c,y)}function Jt(c,y){var T=y.parent;if(T===null)throw Error(e(402));c.depth===T.depth?be(c,T):Jt(c,T),y.context._currentValue=y.value}function Tt(c){var y=ce;y!==c&&(y===null?ot(c):c===null?pt(y):y.depth===c.depth?be(y,c):y.depth>c.depth?it(y,c):Jt(y,c),ce=c)}var Nn={isMounted:function(){return!1},enqueueSetState:function(c,y){c=c._reactInternals,c.queue!==null&&c.queue.push(y)},enqueueReplaceState:function(c,y){c=c._reactInternals,c.replace=!0,c.queue=[y]},enqueueForceUpdate:function(){}};function fn(c,y,T,A){var W=c.state!==void 0?c.state:null;c.updater=Nn,c.props=T,c.state=W;var V={queue:[],replace:!1};c._reactInternals=V;var Z=y.contextType;if(c.context=typeof Z=="object"&&Z!==null?Z._currentValue:A,Z=y.getDerivedStateFromProps,typeof Z=="function"&&(Z=Z(T,W),W=Z==null?W:Vt({},W,Z),c.state=W),typeof y.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function"))if(y=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),y!==c.state&&Nn.enqueueReplaceState(c,c.state,null),V.queue!==null&&0<V.queue.length)if(y=V.queue,Z=V.replace,V.queue=null,V.replace=!1,Z&&y.length===1)c.state=y[0];else{for(V=Z?y[0]:c.state,W=!0,Z=Z?1:0;Z<y.length;Z++){var ne=y[Z];ne=typeof ne=="function"?ne.call(c,V,T,A):ne,ne!=null&&(W?(W=!1,V=Vt({},V,ne)):Vt(V,ne))}c.state=V}else V.queue=null}var Rn={id:1,overflow:""};function Kt(c,y,T){var A=c.id;c=c.overflow;var W=32-pr(A)-1;A&=~(1<<W),T+=1;var V=32-pr(y)+W;if(30<V){var Z=W-W%5;return V=(A&(1<<Z)-1).toString(32),A>>=Z,W-=Z,{id:1<<32-pr(y)+W|T<<W|A,overflow:V+c}}return{id:1<<V|T<<W|A,overflow:c}}var pr=Math.clz32?Math.clz32:xo,ma=Math.log,va=Math.LN2;function xo(c){return c>>>=0,c===0?32:31-(ma(c)/va|0)|0}function ga(c,y){return c===y&&(c!==0||1/c===1/y)||c!==c&&y!==y}var So=typeof Object.is=="function"?Object.is:ga,qt=null,mr=null,Br=null,Me=null,dn=!1,mt=!1,Pn=0,hn=null,Vr=0;function pn(){if(qt===null)throw Error(e(321));return qt}function Ct(){if(0<Vr)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function wo(){return Me===null?Br===null?(dn=!1,Br=Me=Ct()):(dn=!0,Me=Br):Me.next===null?(dn=!1,Me=Me.next=Ct()):(dn=!0,Me=Me.next),Me}function ko(){mr=qt=null,mt=!1,Br=null,Vr=0,Me=hn=null}function ui(c,y){return typeof y=="function"?y(c):y}function ci(c,y,T){if(qt=pn(),Me=wo(),dn){var A=Me.queue;if(y=A.dispatch,hn!==null&&(T=hn.get(A),T!==void 0)){hn.delete(A),A=Me.memoizedState;do A=c(A,T.action),T=T.next;while(T!==null);return Me.memoizedState=A,[A,y]}return[Me.memoizedState,y]}return c=c===ui?typeof y=="function"?y():y:T!==void 0?T(y):y,Me.memoizedState=c,c=Me.queue={last:null,dispatch:null},c=c.dispatch=ya.bind(null,qt,c),[Me.memoizedState,c]}function fi(c,y){if(qt=pn(),Me=wo(),y=y===void 0?null:y,Me!==null){var T=Me.memoizedState;if(T!==null&&y!==null){var A=T[1];e:if(A===null)A=!1;else{for(var W=0;W<A.length&&W<y.length;W++)if(!So(y[W],A[W])){A=!1;break e}A=!0}if(A)return T[0]}}return c=c(),Me.memoizedState=[c,y],c}function ya(c,y,T){if(25<=Vr)throw Error(e(301));if(c===qt)if(mt=!0,c={action:T,next:null},hn===null&&(hn=new Map),T=hn.get(y),T===void 0)hn.set(y,c);else{for(y=T;y.next!==null;)y=y.next;y.next=c}}function ba(){throw Error(e(394))}function zr(){}var Wr={readContext:function(c){return c._currentValue},useContext:function(c){return pn(),c._currentValue},useMemo:fi,useReducer:ci,useRef:function(c){qt=pn(),Me=wo();var y=Me.memoizedState;return y===null?(c={current:c},Me.memoizedState=c):y},useState:function(c){return ci(ui,c)},useInsertionEffect:zr,useLayoutEffect:function(){},useCallback:function(c,y){return fi(function(){return c},y)},useImperativeHandle:zr,useEffect:zr,useDebugValue:zr,useDeferredValue:function(c){return pn(),c},useTransition:function(){return pn(),[!1,ba]},useId:function(){var c=mr.treeContext,y=c.overflow;c=c.id,c=(c&~(1<<32-pr(c)-1)).toString(32)+y;var T=Ur;if(T===null)throw Error(e(404));return y=Pn++,c=":"+T.idPrefix+"R"+c,0<y&&(c+="H"+y.toString(32)),c+":"},useMutableSource:function(c,y){return pn(),y(c._source)},useSyncExternalStore:function(c,y,T){if(T===void 0)throw Error(e(407));return T()}},Ur=null,vr=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function xa(c){return console.error(c),null}function gr(){}function To(c,y,T,A,W,V,Z,ne,de){var ge=[],ve=new Set;return y={destination:null,responseState:y,progressiveChunkSize:A===void 0?12800:A,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ve,pingedTasks:ge,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:W===void 0?xa:W,onAllReady:V===void 0?gr:V,onShellReady:Z===void 0?gr:Z,onShellError:ne===void 0?gr:ne,onFatalError:de===void 0?gr:de},T=Hn(y,0,null,T,!1,!1),T.parentFlushed=!0,c=Co(y,c,null,T,ve,le,null,Rn),ge.push(c),y}function Co(c,y,T,A,W,V,Z,ne){c.allPendingTasks++,T===null?c.pendingRootTasks++:T.pendingTasks++;var de={node:y,ping:function(){var ge=c.pingedTasks;ge.push(de),ge.length===1&&gi(c)},blockedBoundary:T,blockedSegment:A,abortSet:W,legacyContext:V,context:Z,treeContext:ne};return W.add(de),de}function Hn(c,y,T,A,W,V){return{status:0,id:-1,index:y,parentFlushed:!1,chunks:[],children:[],formatContext:A,boundary:T,lastPushedText:W,textEmbedded:V}}function Gn(c,y){if(c=c.onError(y),c!=null&&typeof c!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof c+'" instead');return c}function Nr(c,y){var T=c.onShellError;T(y),T=c.onFatalError,T(y),c.destination!==null?(c.status=2,P(c.destination,y)):(c.status=1,c.fatalError=y)}function di(c,y,T,A,W){for(qt={},mr=y,Pn=0,c=T(A,W);mt;)mt=!1,Pn=0,Vr+=1,Me=null,c=T(A,W);return ko(),c}function Eo(c,y,T,A){var W=T.render(),V=A.childContextTypes;if(V!=null){var Z=y.legacyContext;if(typeof T.getChildContext!="function")A=Z;else{T=T.getChildContext();for(var ne in T)if(!(ne in V))throw Error(e(108,ee(A)||"Unknown",ne));A=Vt({},Z,T)}y.legacyContext=A,vt(c,y,W),y.legacyContext=Z}else vt(c,y,W)}function hi(c,y){if(c&&c.defaultProps){y=Vt({},y),c=c.defaultProps;for(var T in c)y[T]===void 0&&(y[T]=c[T]);return y}return y}function Hr(c,y,T,A,W){if(typeof T=="function")if(T.prototype&&T.prototype.isReactComponent){W=fe(T,y.legacyContext);var V=T.contextType;V=new T(A,typeof V=="object"&&V!==null?V._currentValue:W),fn(V,T,A,W),Eo(c,y,V,T)}else{V=fe(T,y.legacyContext),W=di(c,y,T,A,V);var Z=Pn!==0;if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0)fn(W,T,A,V),Eo(c,y,W,T);else if(Z){A=y.treeContext,y.treeContext=Kt(A,1,0);try{vt(c,y,W)}finally{y.treeContext=A}}else vt(c,y,W)}else if(typeof T=="string"){switch(W=y.blockedSegment,V=Kn(W.chunks,T,A,c.responseState,W.formatContext),W.lastPushedText=!1,Z=W.formatContext,W.formatContext=he(Z,T,A),Gr(c,y,V),W.formatContext=Z,T){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:W.chunks.push(qn,v(T),er)}W.lastPushedText=!1}else{switch(T){case z:case R:case fr:case dr:case un:vt(c,y,A.children);return;case Un:vt(c,y,A.children);return;case C:throw Error(e(343));case Wn:e:{T=y.blockedBoundary,W=y.blockedSegment,V=A.fallback,A=A.children,Z=new Set;var ne={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Z,errorDigest:null},de=Hn(c,W.chunks.length,ne,W.formatContext,!1,!1);W.children.push(de),W.lastPushedText=!1;var ge=Hn(c,0,null,W.formatContext,!1,!1);ge.parentFlushed=!0,y.blockedBoundary=ne,y.blockedSegment=ge;try{if(Gr(c,y,A),ge.lastPushedText&&ge.textEmbedded&&ge.chunks.push(ke),ge.status=1,$r(ne,ge),ne.pendingTasks===0)break e}catch(ve){ge.status=4,ne.forceClientRender=!0,ne.errorDigest=Gn(c,ve)}finally{y.blockedBoundary=T,y.blockedSegment=W}y=Co(c,V,T,de,Z,y.legacyContext,y.context,y.treeContext),c.pingedTasks.push(y)}return}if(typeof T=="object"&&T!==null)switch(T.$$typeof){case hr:if(A=di(c,y,T.render,A,W),Pn!==0){T=y.treeContext,y.treeContext=Kt(T,1,0);try{vt(c,y,A)}finally{y.treeContext=T}}else vt(c,y,A);return;case u:T=T.type,A=hi(T,A),Hr(c,y,T,A,W);return;case zn:if(W=A.children,T=T._context,A=A.value,V=T._currentValue,T._currentValue=A,Z=ce,ce=A={parent:Z,depth:Z===null?0:Z.depth+1,context:T,parentValue:V,value:A},y.context=A,vt(c,y,W),c=ce,c===null)throw Error(e(403));A=c.parentValue,c.context._currentValue=A===B?c.context._defaultValue:A,c=ce=c.parent,y.context=c;return;case cn:A=A.children,A=A(T._currentValue),vt(c,y,A);return;case g:W=T._init,T=W(T._payload),A=hi(T,A),Hr(c,y,T,A,void 0);return}throw Error(e(130,T==null?T:typeof T,""))}}function vt(c,y,T){if(y.node=T,typeof T=="object"&&T!==null){switch(T.$$typeof){case ft:Hr(c,y,T.type,T.props,T.ref);return;case Qt:throw Error(e(257));case g:var A=T._init;T=A(T._payload),vt(c,y,T);return}if(Pe(T)){pi(c,y,T);return}if(T===null||typeof T!="object"?A=null:(A=G&&T[G]||T["@@iterator"],A=typeof A=="function"?A:null),A&&(A=A.call(T))){if(T=A.next(),!T.done){var W=[];do W.push(T.value),T=A.next();while(!T.done);pi(c,y,W)}return}throw c=Object.prototype.toString.call(T),Error(e(31,c==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":c))}typeof T=="string"?(A=y.blockedSegment,A.lastPushedText=ht(y.blockedSegment.chunks,T,c.responseState,A.lastPushedText)):typeof T=="number"&&(A=y.blockedSegment,A.lastPushedText=ht(y.blockedSegment.chunks,""+T,c.responseState,A.lastPushedText))}function pi(c,y,T){for(var A=T.length,W=0;W<A;W++){var V=y.treeContext;y.treeContext=Kt(V,A,W);try{Gr(c,y,T[W])}finally{y.treeContext=V}}}function Gr(c,y,T){var A=y.blockedSegment.formatContext,W=y.legacyContext,V=y.context;try{return vt(c,y,T)}catch(de){if(ko(),typeof de=="object"&&de!==null&&typeof de.then=="function"){T=de;var Z=y.blockedSegment,ne=Hn(c,Z.chunks.length,null,Z.formatContext,Z.lastPushedText,!0);Z.children.push(ne),Z.lastPushedText=!1,c=Co(c,y.node,y.blockedBoundary,ne,y.abortSet,y.legacyContext,y.context,y.treeContext).ping,T.then(c,c),y.blockedSegment.formatContext=A,y.legacyContext=W,y.context=V,Tt(V)}else throw y.blockedSegment.formatContext=A,y.legacyContext=W,y.context=V,Tt(V),de}}function Sa(c){var y=c.blockedBoundary;c=c.blockedSegment,c.status=3,vi(this,y,c)}function mi(c,y,T){var A=c.blockedBoundary;c.blockedSegment.status=3,A===null?(y.allPendingTasks--,y.status!==2&&(y.status=2,y.destination!==null&&y.destination.close())):(A.pendingTasks--,A.forceClientRender||(A.forceClientRender=!0,c=T===void 0?Error(e(432)):T,A.errorDigest=y.onError(c),A.parentFlushed&&y.clientRenderedBoundaries.push(A)),A.fallbackAbortableTasks.forEach(function(W){return mi(W,y,T)}),A.fallbackAbortableTasks.clear(),y.allPendingTasks--,y.allPendingTasks===0&&(A=y.onAllReady,A()))}function $r(c,y){if(y.chunks.length===0&&y.children.length===1&&y.children[0].boundary===null){var T=y.children[0];T.id=y.id,T.parentFlushed=!0,T.status===1&&$r(c,T)}else c.completedSegments.push(y)}function vi(c,y,T){if(y===null){if(T.parentFlushed){if(c.completedRootSegment!==null)throw Error(e(389));c.completedRootSegment=T}c.pendingRootTasks--,c.pendingRootTasks===0&&(c.onShellError=gr,y=c.onShellReady,y())}else y.pendingTasks--,y.forceClientRender||(y.pendingTasks===0?(T.parentFlushed&&T.status===1&&$r(y,T),y.parentFlushed&&c.completedBoundaries.push(y),y.fallbackAbortableTasks.forEach(Sa,c),y.fallbackAbortableTasks.clear()):T.parentFlushed&&T.status===1&&($r(y,T),y.completedSegments.length===1&&y.parentFlushed&&c.partialBoundaries.push(y)));c.allPendingTasks--,c.allPendingTasks===0&&(c=c.onAllReady,c())}function gi(c){if(c.status!==2){var y=ce,T=vr.current;vr.current=Wr;var A=Ur;Ur=c.responseState;try{var W=c.pingedTasks,V;for(V=0;V<W.length;V++){var Z=W[V],ne=c,de=Z.blockedSegment;if(de.status===0){Tt(Z.context);try{vt(ne,Z,Z.node),de.lastPushedText&&de.textEmbedded&&de.chunks.push(ke),Z.abortSet.delete(Z),de.status=1,vi(ne,Z.blockedBoundary,de)}catch(Rt){if(ko(),typeof Rt=="object"&&Rt!==null&&typeof Rt.then=="function"){var ge=Z.ping;Rt.then(ge,ge)}else{Z.abortSet.delete(Z),de.status=4;var ve=Z.blockedBoundary,Le=Rt,gt=Gn(ne,Le);if(ve===null?Nr(ne,Le):(ve.pendingTasks--,ve.forceClientRender||(ve.forceClientRender=!0,ve.errorDigest=gt,ve.parentFlushed&&ne.clientRenderedBoundaries.push(ve))),ne.allPendingTasks--,ne.allPendingTasks===0){var Et=ne.onAllReady;Et()}}}finally{}}}W.splice(0,V),c.destination!==null&&Ro(c,c.destination)}catch(Rt){Gn(c,Rt),Nr(c,Rt)}finally{Ur=A,vr.current=T,T===Wr&&Tt(y)}}}function Yr(c,y,T){switch(T.parentFlushed=!0,T.status){case 0:var A=T.id=c.nextSegmentId++;return T.lastPushedText=!1,T.textEmbedded=!1,c=c.responseState,a(y,Ge),a(y,c.placeholderPrefix),c=v(A.toString(16)),a(y,c),h(y,tr);case 1:T.status=2;var W=!0;A=T.chunks;var V=0;T=T.children;for(var Z=0;Z<T.length;Z++){for(W=T[Z];V<W.index;V++)a(y,A[V]);W=Xr(c,y,W)}for(;V<A.length-1;V++)a(y,A[V]);return V<A.length&&(W=h(y,A[V])),W;default:throw Error(e(390))}}function Xr(c,y,T){var A=T.boundary;if(A===null)return Yr(c,y,T);if(A.parentFlushed=!0,A.forceClientRender)A=A.errorDigest,h(y,Fn),a(y,rr),A&&(a(y,or),a(y,v(te(A))),a(y,rn)),h(y,_r),Yr(c,y,T);else if(0<A.pendingTasks){A.rootSegmentID=c.nextSegmentId++,0<A.completedSegments.length&&c.partialBoundaries.push(A);var W=c.responseState,V=W.nextSuspenseID++;W=b(W.boundaryPrefix+V.toString(16)),A=A.id=W,ct(y,c.responseState,A),Yr(c,y,T)}else if(A.byteSize>c.progressiveChunkSize)A.rootSegmentID=c.nextSegmentId++,c.completedBoundaries.push(A),ct(y,c.responseState,A.id),Yr(c,y,T);else{if(h(y,Fr),T=A.completedSegments,T.length!==1)throw Error(e(391));Xr(c,y,T[0])}return h(y,vo)}function yi(c,y,T){return Tn(y,c.responseState,T.formatContext,T.id),Xr(c,y,T),sn(y,T.formatContext)}function bi(c,y,T){for(var A=T.completedSegments,W=0;W<A.length;W++)xi(c,y,T,A[W]);if(A.length=0,c=c.responseState,A=T.id,T=T.rootSegmentID,a(y,c.startInlineScript),c.sentCompleteBoundaryFunction?a(y,_t):(c.sentCompleteBoundaryFunction=!0,a(y,Zt)),A===null)throw Error(e(395));return T=v(T.toString(16)),a(y,A),a(y,Cn),a(y,c.segmentPrefix),a(y,T),h(y,En)}function xi(c,y,T,A){if(A.status===2)return!0;var W=A.id;if(W===-1){if((A.id=T.rootSegmentID)===-1)throw Error(e(392));return yi(c,y,A)}return yi(c,y,A),c=c.responseState,a(y,c.startInlineScript),c.sentCompleteSegmentFunction?a(y,cr):(c.sentCompleteSegmentFunction=!0,a(y,bo)),a(y,c.segmentPrefix),W=v(W.toString(16)),a(y,W),a(y,Bn),a(y,c.placeholderPrefix),a(y,W),h(y,ln)}function Ro(c,y){r=new Uint8Array(512),i=0;try{var T=c.completedRootSegment;if(T!==null&&c.pendingRootTasks===0){Xr(c,y,T),c.completedRootSegment=null;var A=c.responseState.bootstrapChunks;for(T=0;T<A.length-1;T++)a(y,A[T]);T<A.length&&h(y,A[T])}var W=c.clientRenderedBoundaries,V;for(V=0;V<W.length;V++){var Z=W[V];A=y;var ne=c.responseState,de=Z.id,ge=Z.errorDigest,ve=Z.errorMessage,Le=Z.errorComponentStack;if(a(A,ne.startInlineScript),ne.sentClientRenderFunction?a(A,Ve):(ne.sentClientRenderFunction=!0,a(A,bt)),de===null)throw Error(e(395));a(A,de),a(A,jt),(ge||ve||Le)&&(a(A,qe),a(A,v(Bt(ge||"")))),(ve||Le)&&(a(A,qe),a(A,v(Bt(ve||"")))),Le&&(a(A,qe),a(A,v(Bt(Le)))),h(A,kt)}W.splice(0,V);var gt=c.completedBoundaries;for(V=0;V<gt.length;V++)bi(c,y,gt[V]);gt.splice(0,V),p(y),r=new Uint8Array(512),i=0;var Et=c.partialBoundaries;for(V=0;V<Et.length;V++){var Rt=Et[V];e:{W=c,Z=y;var Zr=Rt.completedSegments;for(ne=0;ne<Zr.length;ne++)if(!xi(W,Z,Rt,Zr[ne])){ne++,Zr.splice(0,ne);var wi=!1;break e}Zr.splice(0,ne),wi=!0}if(!wi){c.destination=null,V++,Et.splice(0,V);return}}Et.splice(0,V);var Po=c.completedBoundaries;for(V=0;V<Po.length;V++)bi(c,y,Po[V]);Po.splice(0,V)}finally{p(y),c.allPendingTasks===0&&c.pingedTasks.length===0&&c.clientRenderedBoundaries.length===0&&c.completedBoundaries.length===0&&y.close()}}function Si(c,y){try{var T=c.abortableTasks;T.forEach(function(A){return mi(A,c,y)}),T.clear(),c.destination!==null&&Ro(c,c.destination)}catch(A){Gn(c,A),Nr(c,A)}}return vl.renderToReadableStream=function(c,y){return new Promise(function(T,A){var W,V,Z=new Promise(function(ve,Le){V=ve,W=Le}),ne=To(c,Ee(y?y.identifierPrefix:void 0,y?y.nonce:void 0,y?y.bootstrapScriptContent:void 0,y?y.bootstrapScripts:void 0,y?y.bootstrapModules:void 0),dt(y?y.namespaceURI:void 0),y?y.progressiveChunkSize:void 0,y?y.onError:void 0,V,function(){var ve=new ReadableStream({type:"bytes",pull:function(Le){if(ne.status===1)ne.status=2,P(Le,ne.fatalError);else if(ne.status!==2&&ne.destination===null){ne.destination=Le;try{Ro(ne,Le)}catch(gt){Gn(ne,gt),Nr(ne,gt)}}},cancel:function(){Si(ne)}},{highWaterMark:0});ve.allReady=Z,T(ve)},function(ve){Z.catch(function(){}),A(ve)},W);if(y&&y.signal){var de=y.signal,ge=function(){Si(ne,de.reason),de.removeEventListener("abort",ge)};de.addEventListener("abort",ge)}gi(ne)})},vl.version="18.2.0",vl}var ti={};/**
28
28
  * @license React
29
29
  * react-dom-server-legacy.browser.development.js
30
30
  *
@@ -32,38 +32,38 @@
32
32
  *
33
33
  * This source code is licensed under the MIT license found in the
34
34
  * LICENSE file in the root directory of this source tree.
35
- */var Lc;function Uh(){return Lc||(Lc=1,process.env.NODE_ENV!=="production"&&function(){var e=oe,t="18.2.0",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(n){{for(var a=arguments.length,f=new Array(a>1?a-1:0),h=1;h<a;h++)f[h-1]=arguments[h];m("warn",n,f)}}function s(n){{for(var a=arguments.length,f=new Array(a>1?a-1:0),h=1;h<a;h++)f[h-1]=arguments[h];m("error",n,f)}}function m(n,a,f){{var h=r.ReactDebugCurrentFrame,w=h.getStackAddendum();w!==""&&(a+="%s",f=f.concat([w]));var I=f.map(function(O){return String(O)});I.unshift("Warning: "+a),Function.prototype.apply.call(console[n],console,I)}}function y(n){n()}function S(n){}function p(n,a){x(n,a)}function x(n,a){return n.push(a)}function A(n){}function T(n){n.push(null)}function D(n){return n}function _(n){return n}function $(n,a){n.destroy(a)}function G(n){{var a=typeof Symbol=="function"&&Symbol.toStringTag,f=a&&n[Symbol.toStringTag]||n.constructor.name||"Object";return f}}function B(n){try{return F(n),!1}catch{return!0}}function F(n){return""+n}function Z(n,a){if(B(n))return s("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",a,G(n)),F(n)}function X(n,a){if(B(n))return s("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",a,G(n)),F(n)}function q(n){if(B(n))return s("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",G(n)),F(n)}var te=Object.prototype.hasOwnProperty,ee=0,re=1,le=2,ce=3,ze=4,Ne=5,we=6,He=":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",Ce=He+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",dt=new RegExp("^["+He+"]["+Ce+"]*$"),Pe={},ot={};function Ze(n){return te.call(ot,n)?!0:te.call(Pe,n)?!1:dt.test(n)?(ot[n]=!0,!0):(Pe[n]=!0,s("Invalid attribute name: `%s`",n),!1)}function je(n,a,f,h){if(f!==null&&f.type===ee)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":{if(h)return!1;if(f!==null)return!f.acceptsBooleans;var w=n.toLowerCase().slice(0,5);return w!=="data-"&&w!=="aria-"}default:return!1}}function Ut(n){return Se.hasOwnProperty(n)?Se[n]:null}function he(n,a,f,h,w,I,O){this.acceptsBooleans=a===le||a===ce||a===ze,this.attributeName=h,this.attributeNamespace=w,this.mustUseProperty=f,this.propertyName=n,this.type=a,this.sanitizeURL=I,this.removeEmptyString=O}var Se={},Nt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Nt.forEach(function(n){Se[n]=new he(n,ee,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var a=n[0],f=n[1];Se[a]=new he(a,re,!1,f,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){Se[n]=new he(n,le,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Se[n]=new he(n,le,!1,n,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"].forEach(function(n){Se[n]=new he(n,ce,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){Se[n]=new he(n,ce,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){Se[n]=new he(n,ze,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){Se[n]=new he(n,we,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){Se[n]=new he(n,Ne,!1,n.toLowerCase(),null,!1,!1)});var mt=/[\-\:]([a-z])/g,Ae=function(n){return n[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"].forEach(function(n){var a=n.replace(mt,Ae);Se[a]=new he(a,re,!1,n,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(n){var a=n.replace(mt,Ae);Se[a]=new he(a,re,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var a=n.replace(mt,Ae);Se[a]=new he(a,re,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){Se[n]=new he(n,re,!1,n.toLowerCase(),null,!1,!1)});var ke="xlinkHref";Se[ke]=new he("xlinkHref",re,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){Se[n]=new he(n,re,!1,n.toLowerCase(),null,!0,!0)});var Rt={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};function Ht(n,a){return n+a.charAt(0).toUpperCase()+a.substring(1)}var Ge=["Webkit","ms","Moz","O"];Object.keys(Rt).forEach(function(n){Ge.forEach(function(a){Rt[Ht(a,n)]=Rt[n]})});var it={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ie(n,a){it[a.type]||a.onChange||a.onInput||a.readOnly||a.disabled||a.value==null||s("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),a.onChange||a.readOnly||a.disabled||a.checked==null||s("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function yn(n,a){if(n.indexOf("-")===-1)return typeof a.is=="string";switch(n){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 $e={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},qe={},On=new RegExp("^(aria)-["+Ce+"]*$"),bn=new RegExp("^(aria)[A-Z]["+Ce+"]*$");function Mr(n,a){{if(te.call(qe,a)&&qe[a])return!0;if(bn.test(a)){var f="aria-"+a.slice(4).toLowerCase(),h=$e.hasOwnProperty(f)?f:null;if(h==null)return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",a),qe[a]=!0,!0;if(a!==h)return s("Invalid ARIA attribute `%s`. Did you mean `%s`?",a,h),qe[a]=!0,!0}if(On.test(a)){var w=a.toLowerCase(),I=$e.hasOwnProperty(w)?w:null;if(I==null)return qe[a]=!0,!1;if(a!==I)return s("Unknown ARIA attribute `%s`. Did you mean `%s`?",a,I),qe[a]=!0,!0}}return!0}function gt(n,a){{var f=[];for(var h in a){var w=Mr(n,h);w||f.push(h)}var I=f.map(function(O){return"`"+O+"`"}).join(", ");f.length===1?s("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",I,n):f.length>1&&s("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",I,n)}}function xn(n,a){yn(n,a)||gt(n,a)}var Sn=!1;function Dr(n,a){{if(n!=="input"&&n!=="textarea"&&n!=="select")return;a!=null&&a.value===null&&!Sn&&(Sn=!0,n==="select"&&a.multiple?s("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",n):s("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",n))}}var vt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Je=function(){};{var We={},Qn=/^on./,Kn=/^on[^A-Z]/,qn=new RegExp("^(aria)-["+Ce+"]*$"),Be=new RegExp("^(aria)[A-Z]["+Ce+"]*$");Je=function(n,a,f,h){if(te.call(We,a)&&We[a])return!0;var w=a.toLowerCase();if(w==="onfocusin"||w==="onfocusout")return s("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),We[a]=!0,!0;if(h!=null){var I=h.registrationNameDependencies,O=h.possibleRegistrationNames;if(I.hasOwnProperty(a))return!0;var U=O.hasOwnProperty(w)?O[w]:null;if(U!=null)return s("Invalid event handler property `%s`. Did you mean `%s`?",a,U),We[a]=!0,!0;if(Qn.test(a))return s("Unknown event handler property `%s`. It will be ignored.",a),We[a]=!0,!0}else if(Qn.test(a))return Kn.test(a)&&s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",a),We[a]=!0,!0;if(qn.test(a)||Be.test(a))return!0;if(w==="innerhtml")return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),We[a]=!0,!0;if(w==="aria")return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),We[a]=!0,!0;if(w==="is"&&f!==null&&f!==void 0&&typeof f!="string")return s("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof f),We[a]=!0,!0;if(typeof f=="number"&&isNaN(f))return s("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",a),We[a]=!0,!0;var J=Ut(a),ie=J!==null&&J.type===ee;if(vt.hasOwnProperty(w)){var se=vt[w];if(se!==a)return s("Invalid DOM property `%s`. Did you mean `%s`?",a,se),We[a]=!0,!0}else if(!ie&&a!==w)return s("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",a,w),We[a]=!0,!0;return typeof f=="boolean"&&je(a,f,J,!1)?(f?s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',f,a,a,f,a):s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',f,a,a,f,a,a,a),We[a]=!0,!0):ie?!0:je(a,f,J,!1)?(We[a]=!0,!1):((f==="false"||f==="true")&&J!==null&&J.type===ce&&(s("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",f,a,f==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',a,f),We[a]=!0),!0)}}var er=function(n,a,f){{var h=[];for(var w in a){var I=Je(n,w,a[w],f);I||h.push(w)}var O=h.map(function(U){return"`"+U+"`"}).join(", ");h.length===1?s("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",O,n):h.length>1&&s("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",O,n)}};function Or(n,a,f){yn(n,a)||er(n,a,f)}var Fr=function(){};{var tr=/^(?:webkit|moz|o)[A-Z]/,Fn=/^-ms-/,po=/-(.)/g,nr=/;\s*$/,qt={},rr={},Lr=!1,at=!1,Pt=function(n){return n.replace(po,function(a,f){return f.toUpperCase()})},en=function(n){qt.hasOwnProperty(n)&&qt[n]||(qt[n]=!0,s("Unsupported style property %s. Did you mean %s?",n,Pt(n.replace(Fn,"ms-"))))},xe=function(n){qt.hasOwnProperty(n)&&qt[n]||(qt[n]=!0,s("Unsupported vendor-prefixed style property %s. Did you mean %s?",n,n.charAt(0).toUpperCase()+n.slice(1)))},tn=function(n,a){rr.hasOwnProperty(a)&&rr[a]||(rr[a]=!0,s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,n,a.replace(nr,"")))},Ln=function(n,a){Lr||(Lr=!0,s("`NaN` is an invalid value for the `%s` css style property.",n))},wn=function(n,a){at||(at=!0,s("`Infinity` is an invalid value for the `%s` css style property.",n))};Fr=function(n,a){n.indexOf("-")>-1?en(n):tr.test(n)?xe(n):nr.test(a)&&tn(n,a),typeof a=="number"&&(isNaN(a)?Ln(n,a):isFinite(a)||wn(n,a))}}var At=Fr,_n=/["'&<>]/;function $t(n){q(n);var a=""+n,f=_n.exec(a);if(!f)return a;var h,w="",I,O=0;for(I=f.index;I<a.length;I++){switch(a.charCodeAt(I)){case 34:h="&quot;";break;case 38:h="&amp;";break;case 39:h="&#x27;";break;case 60:h="&lt;";break;case 62:h="&gt;";break;default:continue}O!==I&&(w+=a.substring(O,I)),O=I+1,w+=h}return O!==I?w+a.substring(O,I):w}function Fe(n){return typeof n=="boolean"||typeof n=="number"?""+n:$t(n)}var or=/([A-Z])/g,ir=/^ms-/;function _r(n){return n.replace(or,"-$1").toLowerCase().replace(ir,"-ms-")}var Ve=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ar=!1;function mo(n){!ar&&Ve.test(n)&&(ar=!0,s("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(n)))}var go=Array.isArray;function It(n){return go(n)}var sr="<script>",jn="<\/script>",lr='<script src="',kn='<script type="module" src="',nn='" async=""><\/script>';function vo(n){return q(n),(""+n).replace(ur,Bn)}var ur=/(<\/|<)(s)(cript)/gi,Bn=function(n,a,f,h){return""+a+(f==="s"?"\\u0073":"\\u0053")+h};function rn(n,a,f,h,w){var I=n===void 0?"":n,O=a===void 0?sr:'<script nonce="'+Fe(a)+'">',U=[];if(f!==void 0&&U.push(O,vo(f),jn),h!==void 0)for(var J=0;J<h.length;J++)U.push(lr,Fe(h[J]),nn);if(w!==void 0)for(var ie=0;ie<w.length;ie++)U.push(kn,Fe(w[ie]),nn);return{bootstrapChunks:U,startInlineScript:O,placeholderPrefix:I+"P:",segmentPrefix:I+"S:",boundaryPrefix:I+"B:",idPrefix:I,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Yt=0,Mt=1,Tn=2,Cn=3,ht=4,De=5,Dt=6,yt=7;function Xe(n,a){return{insertionMode:n,selectedValue:a}}function Vn(n,a,f){switch(a){case"select":return Xe(Mt,f.value!=null?f.value:f.defaultValue);case"svg":return Xe(Tn,null);case"math":return Xe(Cn,null);case"foreignObject":return Xe(Mt,null);case"table":return Xe(ht,null);case"thead":case"tbody":case"tfoot":return Xe(De,null);case"colgroup":return Xe(yt,null);case"tr":return Xe(Dt,null)}return n.insertionMode>=ht||n.insertionMode===Yt?Xe(Mt,null):n}var Ot=null;function Ft(n){var a=n.nextSuspenseID++;return n.boundaryPrefix+a.toString(16)}function st(n,a,f){var h=n.idPrefix,w=":"+h+"R"+a;return f>0&&(w+="H"+f.toString(32)),w+":"}function Gt(n){return Fe(n)}var on="<!-- -->";function cr(n,a,f,h){return a===""?h:(h&&n.push(on),n.push(Gt(a)),!0)}function fr(n,a,f,h){f&&h&&n.push(on)}var zn=new Map;function an(n){var a=zn.get(n);if(a!==void 0)return a;var f=Fe(_r(n));return zn.set(n,f),f}var dr=' style="',Wn=":",Un=";";function u(n,a,f){if(typeof f!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var h=!0;for(var w in f)if(te.call(f,w)){var I=f[w];if(!(I==null||typeof I=="boolean"||I==="")){var O=void 0,U=void 0,J=w.indexOf("--")===0;J?(O=Fe(w),X(I,w),U=Fe((""+I).trim())):(At(w,I),O=an(w),typeof I=="number"?I!==0&&!te.call(Rt,w)?U=I+"px":U=""+I:(X(I,w),U=Fe((""+I).trim()))),h?(h=!1,n.push(dr,O,Wn,U)):n.push(Un,O,Wn,U)}}h||n.push(R)}var g=" ",C='="',R='"',z='=""';function j(n,a,f,h){switch(f){case"style":{u(n,a,h);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(f.length>2&&(f[0]==="o"||f[0]==="O")&&(f[1]==="n"||f[1]==="N"))){var w=Ut(f);if(w!==null){switch(typeof h){case"function":case"symbol":return;case"boolean":if(!w.acceptsBooleans)return}var I=w.attributeName,O=I;switch(w.type){case ce:h&&n.push(g,O,z);return;case ze:h===!0?n.push(g,O,z):h===!1||n.push(g,O,C,Fe(h),R);return;case Ne:isNaN(h)||n.push(g,O,C,Fe(h),R);break;case we:!isNaN(h)&&h>=1&&n.push(g,O,C,Fe(h),R);break;default:w.sanitizeURL&&(Z(h,I),h=""+h,mo(h)),n.push(g,O,C,Fe(h),R)}}else if(Ze(f)){switch(typeof h){case"function":case"symbol":return;case"boolean":{var U=f.toLowerCase().slice(0,5);if(U!=="data-"&&U!=="aria-")return}}n.push(g,f,C,Fe(h),R)}}}var H=">",Q="/>";function ae(n,a,f){if(a!=null){if(f!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof a!="object"||!("__html"in a))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var h=a.__html;h!=null&&(q(h),n.push(""+h))}}var fe=!1,ue=!1,ye=!1,lt=!1,et=!1,tt=!1,Xt=!1;function bt(n,a){{var f=n[a];if(f!=null){var h=It(f);n.multiple&&!h?s("The `%s` prop supplied to <select> must be an array if `multiple` is true.",a):!n.multiple&&h&&s("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",a)}}}function Nn(n,a,f){Ie("select",a),bt(a,"value"),bt(a,"defaultValue"),a.value!==void 0&&a.defaultValue!==void 0&&!ye&&(s("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),ye=!0),n.push(ut("select"));var h=null,w=null;for(var I in a)if(te.call(a,I)){var O=a[I];if(O==null)continue;switch(I){case"children":h=O;break;case"dangerouslySetInnerHTML":w=O;break;case"defaultValue":case"value":break;default:j(n,f,I,O);break}}return n.push(H),ae(n,w,h),h}function sn(n){var a="";return e.Children.forEach(n,function(f){f!=null&&(a+=f,!et&&typeof f!="string"&&typeof f!="number"&&(et=!0,s("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),a}var En=' selected=""';function Zt(n,a,f,h){var w=h.selectedValue;n.push(ut("option"));var I=null,O=null,U=null,J=null;for(var ie in a)if(te.call(a,ie)){var se=a[ie];if(se==null)continue;switch(ie){case"children":I=se;break;case"selected":U=se,Xt||(s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Xt=!0);break;case"dangerouslySetInnerHTML":J=se;break;case"value":O=se;default:j(n,f,ie,se);break}}if(w!=null){var me;if(O!==null?(Z(O,"value"),me=""+O):(J!==null&&(tt||(tt=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),me=sn(I)),It(w))for(var Me=0;Me<w.length;Me++){Z(w[Me],"value");var rt=""+w[Me];if(rt===me){n.push(En);break}}else Z(w,"select.value"),""+w===me&&n.push(En)}else U&&n.push(En);return n.push(H),ae(n,J,I),I}function hr(n,a,f){Ie("input",a),a.checked!==void 0&&a.defaultChecked!==void 0&&!ue&&(s("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",a.type),ue=!0),a.value!==void 0&&a.defaultValue!==void 0&&!fe&&(s("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",a.type),fe=!0),n.push(ut("input"));var h=null,w=null,I=null,O=null;for(var U in a)if(te.call(a,U)){var J=a[U];if(J==null)continue;switch(U){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":O=J;break;case"defaultValue":w=J;break;case"checked":I=J;break;case"value":h=J;break;default:j(n,f,U,J);break}}return I!==null?j(n,f,"checked",I):O!==null&&j(n,f,"checked",O),h!==null?j(n,f,"value",h):w!==null&&j(n,f,"value",w),n.push(Q),null}function da(n,a,f){Ie("textarea",a),a.value!==void 0&&a.defaultValue!==void 0&&!lt&&(s("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),lt=!0),n.push(ut("textarea"));var h=null,w=null,I=null;for(var O in a)if(te.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":I=U;break;case"value":h=U;break;case"defaultValue":w=U;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:j(n,f,O,U);break}}if(h===null&&w!==null&&(h=w),n.push(H),I!=null){if(s("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),h!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(It(I)){if(I.length>1)throw new Error("<textarea> can only have at most one child.");q(I[0]),h=""+I[0]}q(I),h=""+I}return typeof h=="string"&&h[0]===`
36
- `&&n.push(pr),h!==null&&(Z(h,"value"),n.push(Gt(""+h))),null}function ha(n,a,f,h){n.push(ut(f));for(var w in a)if(te.call(a,w)){var I=a[w];if(I==null)continue;switch(w){case"children":case"dangerouslySetInnerHTML":throw new Error(f+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:j(n,h,w,I);break}}return n.push(Q),null}function yo(n,a,f){n.push(ut("menuitem"));for(var h in a)if(te.call(a,h)){var w=a[h];if(w==null)continue;switch(h){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:j(n,f,h,w);break}}return n.push(H),null}function pa(n,a,f){n.push(ut("title"));var h=null;for(var w in a)if(te.call(a,w)){var I=a[w];if(I==null)continue;switch(w){case"children":h=I;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:j(n,f,w,I);break}}n.push(H);{var O=Array.isArray(h)&&h.length<2?h[0]||null:h;Array.isArray(h)&&h.length>1?s("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):O!=null&&O.$$typeof!=null?s("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):O!=null&&typeof O!="string"&&typeof O!="number"&&s("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return h}function bo(n,a,f,h){n.push(ut(f));var w=null,I=null;for(var O in a)if(te.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":w=U;break;case"dangerouslySetInnerHTML":I=U;break;default:j(n,h,O,U);break}}return n.push(H),ae(n,I,w),typeof w=="string"?(n.push(Gt(w)),null):w}function Jt(n,a,f,h){n.push(ut(f));var w=null,I=null;for(var O in a)if(te.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":w=U;break;case"dangerouslySetInnerHTML":I=U;break;case"style":u(n,h,U);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Ze(O)&&typeof U!="function"&&typeof U!="symbol"&&n.push(g,O,C,Fe(U),R);break}}return n.push(H),ae(n,I,w),w}var pr=`
37
- `;function jr(n,a,f,h){n.push(ut(f));var w=null,I=null;for(var O in a)if(te.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":w=U;break;case"dangerouslySetInnerHTML":I=U;break;default:j(n,h,O,U);break}}if(n.push(H),I!=null){if(w!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof I!="object"||!("__html"in I))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var J=I.__html;J!=null&&(typeof J=="string"&&J.length>0&&J[0]===`
38
- `?n.push(pr,J):(q(J),n.push(""+J)))}return typeof w=="string"&&w[0]===`
39
- `&&n.push(pr),w}var Ee=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ln=new Map;function ut(n){var a=ln.get(n);if(a===void 0){if(!Ee.test(n))throw new Error("Invalid tag: "+n);a="<"+n,ln.set(n,a)}return a}var Rn="<!DOCTYPE html>";function un(n,a,f,h,w){switch(xn(a,f),Dr(a,f),Or(a,f,null),!f.suppressContentEditableWarning&&f.contentEditable&&f.children!=null&&s("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),w.insertionMode!==Tn&&w.insertionMode!==Cn&&a.indexOf("-")===-1&&typeof f.is!="string"&&a.toLowerCase()!==a&&s("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",a),a){case"select":return Nn(n,f,h);case"option":return Zt(n,f,h,w);case"textarea":return da(n,f,h);case"input":return hr(n,f,h);case"menuitem":return yo(n,f,h);case"title":return pa(n,f,h);case"listing":case"pre":return jr(n,f,a,h);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return ha(n,f,a,h);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 bo(n,f,a,h);case"html":return w.insertionMode===Yt&&n.push(Rn),bo(n,f,a,h);default:return a.indexOf("-")===-1&&typeof f.is!="string"?bo(n,f,a,h):Jt(n,f,a,h)}}var Br="</",cn=">";function xt(n,a,f){switch(a){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:n.push(Br,a,cn)}}function xo(n,a){for(var f=a.bootstrapChunks,h=0;h<f.length-1;h++)p(n,f[h]);return h<f.length?x(n,f[h]):!0}var So='<template id="',si='"></template>';function li(n,a,f){p(n,So),p(n,a.placeholderPrefix);var h=f.toString(16);return p(n,h),x(n,si)}var ui="<!--$-->",ma='<!--$?--><template id="',ga='"></template>',Vr="<!--$!-->",zr="<!--/$-->",Wr="<template",mr='"',va=' data-dgst="',gr=' data-msg="',wo=' data-stck="',ko="></template>";function Hn(n,a){return x(n,ui)}function $n(n,a,f){if(p(n,ma),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return p(n,f),x(n,ga)}function Ur(n,a,f,h,w){var I;return I=x(n,Vr),p(n,Wr),f&&(p(n,va),p(n,Fe(f)),p(n,mr)),h&&(p(n,gr),p(n,Fe(h)),p(n,mr)),w&&(p(n,wo),p(n,Fe(w)),p(n,mr)),I=x(n,ko),I}function ci(n,a){return x(n,zr)}function To(n,a){return x(n,zr)}function fi(n,a){return x(n,zr)}var Nr='<div hidden id="',ct='">',di="</div>",Hr='<svg aria-hidden="true" style="display:none" id="',ya='">',hi="</svg>",$r='<math aria-hidden="true" style="display:none" id="',pi='">',mi="</math>",Yr='<table hidden id="',Gr='">',gi="</table>",vi='<table hidden><tbody id="',yi='">',Co="</tbody></table>",bi='<table hidden><tr id="',c='">',v="</tr></table>",k='<table hidden><colgroup id="',P='">',W="</colgroup></table>";function V(n,a,f,h){switch(f.insertionMode){case Yt:case Mt:return p(n,Nr),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,ct);case Tn:return p(n,Hr),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,ya);case Cn:return p(n,$r),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,pi);case ht:return p(n,Yr),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,Gr);case De:return p(n,vi),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,yi);case Dt:return p(n,bi),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,c);case yt:return p(n,k),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,P);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Y(n,a){switch(a.insertionMode){case Yt:case Mt:return x(n,di);case Tn:return x(n,hi);case Cn:return x(n,mi);case ht:return x(n,gi);case De:return x(n,Co);case Dt:return x(n,v);case yt:return x(n,W);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var K="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",de='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',ve='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',ge=K+';$RS("',Re='$RS("',ft='","',St='")<\/script>';function wt(n,a,f){p(n,a.startInlineScript),a.sentCompleteSegmentFunction?p(n,Re):(a.sentCompleteSegmentFunction=!0,p(n,ge)),p(n,a.segmentPrefix);var h=f.toString(16);return p(n,h),p(n,ft),p(n,a.placeholderPrefix),p(n,h),x(n,St)}var Xr=de+';$RC("',xi='$RC("',Eo='","',Wl='")<\/script>';function Ul(n,a,f,h){if(p(n,a.startInlineScript),a.sentCompleteBoundaryFunction?p(n,xi):(a.sentCompleteBoundaryFunction=!0,p(n,Xr)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var w=h.toString(16);return p(n,f),p(n,Eo),p(n,a.segmentPrefix),p(n,w),x(n,Wl)}var Nl=ve+';$RX("',Hl='$RX("',$l='"',Yl=")<\/script>",ba=",";function Gl(n,a,f,h,w,I){if(p(n,a.startInlineScript),a.sentClientRenderFunction?p(n,Hl):(a.sentClientRenderFunction=!0,p(n,Nl)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return p(n,f),p(n,$l),(h||w||I)&&(p(n,ba),p(n,xa(h||""))),(w||I)&&(p(n,ba),p(n,xa(w||""))),I&&(p(n,ba),p(n,xa(I))),x(n,Yl)}var Xl=/[<\u2028\u2029]/g;function xa(n){var a=JSON.stringify(n);return a.replace(Xl,function(f){switch(f){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function Zl(n,a){var f=rn(a,void 0);return{bootstrapChunks:f.bootstrapChunks,startInlineScript:f.startInlineScript,placeholderPrefix:f.placeholderPrefix,segmentPrefix:f.segmentPrefix,boundaryPrefix:f.boundaryPrefix,idPrefix:f.idPrefix,nextSuspenseID:f.nextSuspenseID,sentCompleteSegmentFunction:f.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:f.sentCompleteBoundaryFunction,sentClientRenderFunction:f.sentClientRenderFunction,generateStaticMarkup:n}}function Sa(){return{insertionMode:Mt,selectedValue:null}}function Cs(n,a,f,h){return f.generateStaticMarkup?(n.push(Fe(a)),!1):cr(n,a,f,h)}function Es(n,a,f,h){if(!a.generateStaticMarkup)return fr(n,a,f,h)}function wa(n,a){return a.generateStaticMarkup?!0:Hn(n)}function Lt(n,a,f,h,w){return a.generateStaticMarkup?!0:Ur(n,a,f,h,w)}function Jl(n,a){return a.generateStaticMarkup?!0:ci(n)}function Rs(n,a){return a.generateStaticMarkup?!0:fi(n)}var kt=Object.assign,Ps=Symbol.for("react.element"),ka=Symbol.for("react.portal"),Si=Symbol.for("react.fragment"),wi=Symbol.for("react.strict_mode"),ki=Symbol.for("react.profiler"),Ro=Symbol.for("react.provider"),Po=Symbol.for("react.context"),Ao=Symbol.for("react.forward_ref"),Zr=Symbol.for("react.suspense"),Ta=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),Ti=Symbol.for("react.lazy"),Ql=Symbol.for("react.scope"),As=Symbol.for("react.debug_trace_mode"),Kl=Symbol.for("react.legacy_hidden"),ql=Symbol.for("react.default_value"),Is=Symbol.iterator,Ms="@@iterator";function Le(n){if(n===null||typeof n!="object")return null;var a=Is&&n[Is]||n[Ms];return typeof a=="function"?a:null}function Io(n,a,f){var h=n.displayName;if(h)return h;var w=a.displayName||a.name||"";return w!==""?f+"("+w+")":f}function Ea(n){return n.displayName||"Context"}function Oe(n){if(n==null)return null;if(typeof n.tag=="number"&&s("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Si:return"Fragment";case ka:return"Portal";case ki:return"Profiler";case wi:return"StrictMode";case Zr:return"Suspense";case Ta:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Po:var a=n;return Ea(a)+".Consumer";case Ro:var f=n;return Ea(f._context)+".Provider";case Ao:return Io(n,n.render,"ForwardRef");case Ca:var h=n.displayName||null;return h!==null?h:Oe(n.type)||"Memo";case Ti:{var w=n,I=w._payload,O=w._init;try{return Oe(O(I))}catch{return null}}}return null}var Jr=0,Ra,Pa,Aa,Ia,Ma,Ds,Os;function Ci(){}Ci.__reactDisabledLog=!0;function Da(){{if(Jr===0){Ra=console.log,Pa=console.info,Aa=console.warn,Ia=console.error,Ma=console.group,Ds=console.groupCollapsed,Os=console.groupEnd;var n={configurable:!0,enumerable:!0,value:Ci,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}Jr++}}function Mo(){{if(Jr--,Jr===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:kt({},n,{value:Ra}),info:kt({},n,{value:Pa}),warn:kt({},n,{value:Aa}),error:kt({},n,{value:Ia}),group:kt({},n,{value:Ma}),groupCollapsed:kt({},n,{value:Ds}),groupEnd:kt({},n,{value:Os})})}Jr<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Do=r.ReactCurrentDispatcher,Qr;function Oo(n,a,f){{if(Qr===void 0)try{throw Error()}catch(w){var h=w.stack.trim().match(/\n( *(at )?)/);Qr=h&&h[1]||""}return`
40
- `+Qr+n}}var Fo=!1,Ei;{var Fs=typeof WeakMap=="function"?WeakMap:Map;Ei=new Fs}function Oa(n,a){if(!n||Fo)return"";{var f=Ei.get(n);if(f!==void 0)return f}var h;Fo=!0;var w=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var I;I=Do.current,Do.current=null,Da();try{if(a){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(Vt){h=Vt}Reflect.construct(n,[],O)}else{try{O.call()}catch(Vt){h=Vt}n.call(O.prototype)}}else{try{throw Error()}catch(Vt){h=Vt}n()}}catch(Vt){if(Vt&&h&&typeof Vt.stack=="string"){for(var U=Vt.stack.split(`
41
- `),J=h.stack.split(`
42
- `),ie=U.length-1,se=J.length-1;ie>=1&&se>=0&&U[ie]!==J[se];)se--;for(;ie>=1&&se>=0;ie--,se--)if(U[ie]!==J[se]){if(ie!==1||se!==1)do if(ie--,se--,se<0||U[ie]!==J[se]){var me=`
43
- `+U[ie].replace(" at new "," at ");return n.displayName&&me.includes("<anonymous>")&&(me=me.replace("<anonymous>",n.displayName)),typeof n=="function"&&Ei.set(n,me),me}while(ie>=1&&se>=0);break}}}finally{Fo=!1,Do.current=I,Mo(),Error.prepareStackTrace=w}var Me=n?n.displayName||n.name:"",rt=Me?Oo(Me):"";return typeof n=="function"&&Ei.set(n,rt),rt}function Fa(n,a,f){return Oa(n,!0)}function La(n,a,f){return Oa(n,!1)}function Ls(n){var a=n.prototype;return!!(a&&a.isReactComponent)}function Kr(n,a,f){if(n==null)return"";if(typeof n=="function")return Oa(n,Ls(n));if(typeof n=="string")return Oo(n);switch(n){case Zr:return Oo("Suspense");case Ta:return Oo("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case Ao:return La(n.render);case Ca:return Kr(n.type,a,f);case Ti:{var h=n,w=h._payload,I=h._init;try{return Kr(I(w),a,f)}catch{}}}return""}var _a={},Ri=r.ReactDebugCurrentFrame;function vr(n){if(n){var a=n._owner,f=Kr(n.type,n._source,a?a.type:null);Ri.setExtraStackFrame(f)}else Ri.setExtraStackFrame(null)}function ja(n,a,f,h,w){{var I=Function.call.bind(te);for(var O in n)if(I(n,O)){var U=void 0;try{if(typeof n[O]!="function"){var J=Error((h||"React class")+": "+f+" type `"+O+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[O]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw J.name="Invariant Violation",J}U=n[O](a,O,h,f,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ie){U=ie}U&&!(U instanceof Error)&&(vr(w),s("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",h||"React class",f,O,typeof U),vr(null)),U instanceof Error&&!(U.message in _a)&&(_a[U.message]=!0,vr(w),s("Failed %s type: %s",f,U.message),vr(null))}}}var Ba;Ba={};var Yn={};Object.freeze(Yn);function _s(n,a){{var f=n.contextTypes;if(!f)return Yn;var h={};for(var w in f)h[w]=a[w];{var I=Oe(n)||"Unknown";ja(f,h,"context",I)}return h}}function yr(n,a,f,h){{if(typeof n.getChildContext!="function"){{var w=Oe(a)||"Unknown";Ba[w]||(Ba[w]=!0,s("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",w,w))}return f}var I=n.getChildContext();for(var O in I)if(!(O in h))throw new Error((Oe(a)||"Unknown")+'.getChildContext(): key "'+O+'" is not defined in childContextTypes.');{var U=Oe(a)||"Unknown";ja(h,I,"child context",U)}return kt({},f,I)}}var br;br={};var Va=null,fn=null;function Pi(n){n.context._currentValue2=n.parentValue}function Ai(n){n.context._currentValue2=n.value}function Lo(n,a){if(n!==a){Pi(n);var f=n.parent,h=a.parent;if(f===null){if(h!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(h===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Lo(f,h)}Ai(a)}}function za(n){Pi(n);var a=n.parent;a!==null&&za(a)}function _o(n){var a=n.parent;a!==null&&_o(a),Ai(n)}function js(n,a){Pi(n);var f=n.parent;if(f===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");f.depth===a.depth?Lo(f,a):js(f,a)}function Bs(n,a){var f=a.parent;if(f===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");n.depth===f.depth?Lo(n,f):Bs(n,f),Ai(a)}function Ii(n){var a=fn,f=n;a!==f&&(a===null?_o(f):f===null?za(a):a.depth===f.depth?Lo(a,f):a.depth>f.depth?js(a,f):Bs(a,f),fn=f)}function jo(n,a){var f;f=n._currentValue2,n._currentValue2=a,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==br&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=br;var h=fn,w={parent:h,depth:h===null?0:h.depth+1,context:n,parentValue:f,value:a};return fn=w,w}function Wa(n){var a=fn;if(a===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");a.context!==n&&s("The parent context is not the expected context. This is probably a bug in React.");{var f=a.parentValue;f===ql?a.context._currentValue2=a.context._defaultValue:a.context._currentValue2=f,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==br&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=br}return fn=a.parent}function eu(){return fn}function qr(n){var a=n._currentValue2;return a}function Mi(n){return n._reactInternals}function Ua(n,a){n._reactInternals=a}var Di={},Oi={},Bo,Fi,eo,Vo,Li,to,_i,ji,Bi;{Bo=new Set,Fi=new Set,eo=new Set,_i=new Set,Vo=new Set,ji=new Set,Bi=new Set;var Vs=new Set;to=function(n,a){if(!(n===null||typeof n=="function")){var f=a+"_"+n;Vs.has(f)||(Vs.add(f),s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a,n))}},Li=function(n,a){if(a===void 0){var f=Oe(n)||"Component";Vo.has(f)||(Vo.add(f),s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",f))}}}function zs(n,a){{var f=n.constructor,h=f&&Oe(f)||"ReactClass",w=h+"."+a;if(Di[w])return;s(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
35
+ */var Nc;function op(){return Nc||(Nc=1,process.env.NODE_ENV!=="production"&&function(){var t=oe,e="18.2.0",r=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(n){{for(var s=arguments.length,f=new Array(s>1?s-1:0),m=1;m<s;m++)f[m-1]=arguments[m];h("warn",n,f)}}function a(n){{for(var s=arguments.length,f=new Array(s>1?s-1:0),m=1;m<s;m++)f[m-1]=arguments[m];h("error",n,f)}}function h(n,s,f){{var m=r.ReactDebugCurrentFrame,k=m.getStackAddendum();k!==""&&(s+="%s",f=f.concat([k]));var I=f.map(function(F){return String(F)});I.unshift("Warning: "+s),Function.prototype.apply.call(console[n],console,I)}}function p(n){n()}function S(n){}function v(n,s){b(n,s)}function b(n,s){return n.push(s)}function P(n){}function w(n){n.push(null)}function D(n){return n}function _(n){return n}function H(n,s){n.destroy(s)}function Y(n){{var s=typeof Symbol=="function"&&Symbol.toStringTag,f=s&&n[Symbol.toStringTag]||n.constructor.name||"Object";return f}}function j(n){try{return O(n),!1}catch{return!0}}function O(n){return""+n}function X(n,s){if(j(n))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",s,Y(n)),O(n)}function $(n,s){if(j(n))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",s,Y(n)),O(n)}function J(n){if(j(n))return a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Y(n)),O(n)}var q=Object.prototype.hasOwnProperty,K=0,te=1,ie=2,se=3,Pe=4,De=5,ye=6,Oe=":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",Ce=Oe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",et=new RegExp("^["+Oe+"]["+Ce+"]*$"),Fe={},tt={};function Ee(n){return q.call(tt,n)?!0:q.call(Fe,n)?!1:et.test(n)?(tt[n]=!0,!0):(Fe[n]=!0,a("Invalid attribute name: `%s`",n),!1)}function je(n,s,f,m){if(f!==null&&f.type===K)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":{if(m)return!1;if(f!==null)return!f.acceptsBooleans;var k=n.toLowerCase().slice(0,5);return k!=="data-"&&k!=="aria-"}default:return!1}}function dt(n){return ke.hasOwnProperty(n)?ke[n]:null}function he(n,s,f,m,k,I,F){this.acceptsBooleans=s===ie||s===se||s===Pe,this.attributeName=m,this.attributeNamespace=k,this.mustUseProperty=f,this.propertyName=n,this.type=s,this.sanitizeURL=I,this.removeEmptyString=F}var ke={},ht=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ht.forEach(function(n){ke[n]=new he(n,K,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var s=n[0],f=n[1];ke[s]=new he(s,te,!1,f,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){ke[n]=new he(n,ie,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){ke[n]=new he(n,ie,!1,n,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"].forEach(function(n){ke[n]=new he(n,se,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){ke[n]=new he(n,se,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){ke[n]=new he(n,Pe,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){ke[n]=new he(n,ye,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){ke[n]=new he(n,De,!1,n.toLowerCase(),null,!1,!1)});var yt=/[\-\:]([a-z])/g,Re=function(n){return n[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"].forEach(function(n){var s=n.replace(yt,Re);ke[s]=new he(s,te,!1,n,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(n){var s=n.replace(yt,Re);ke[s]=new he(s,te,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var s=n.replace(yt,Re);ke[s]=new he(s,te,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){ke[n]=new he(n,te,!1,n.toLowerCase(),null,!1,!1)});var Se="xlinkHref";ke[Se]=new he("xlinkHref",te,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){ke[n]=new he(n,te,!1,n.toLowerCase(),null,!0,!0)});var lt={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};function ut(n,s){return n+s.charAt(0).toUpperCase()+s.substring(1)}var Xe=["Webkit","ms","Moz","O"];Object.keys(lt).forEach(function(n){Xe.forEach(function(s){lt[ut(s,n)]=lt[n]})});var Ke={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ae(n,s){Ke[s.type]||s.onChange||s.onInput||s.readOnly||s.disabled||s.value==null||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),s.onChange||s.readOnly||s.disabled||s.checked==null||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Yt(n,s){if(n.indexOf("-")===-1)return typeof s.is=="string";switch(n){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 Be={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},He={},nn=new RegExp("^(aria)-["+Ce+"]*$"),Dt=new RegExp("^(aria)[A-Z]["+Ce+"]*$");function Dr(n,s){{if(q.call(He,s)&&He[s])return!0;if(Dt.test(s)){var f="aria-"+s.slice(4).toLowerCase(),m=Be.hasOwnProperty(f)?f:null;if(m==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",s),He[s]=!0,!0;if(s!==m)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",s,m),He[s]=!0,!0}if(nn.test(s)){var k=s.toLowerCase(),I=Be.hasOwnProperty(k)?k:null;if(I==null)return He[s]=!0,!1;if(s!==I)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",s,I),He[s]=!0,!0}}return!0}function St(n,s){{var f=[];for(var m in s){var k=Dr(n,m);k||f.push(m)}var I=f.map(function(F){return"`"+F+"`"}).join(", ");f.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",I,n):f.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",I,n)}}function Sn(n,s){Yt(n,s)||St(n,s)}var wn=!1;function Or(n,s){{if(n!=="input"&&n!=="textarea"&&n!=="select")return;s!=null&&s.value===null&&!wn&&(wn=!0,n==="select"&&s.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",n):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",n))}}var wt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},nt=function(){};{var Ze={},Kn=/^on./,qn=/^on[^A-Z]/,er=new RegExp("^(aria)-["+Ce+"]*$"),Ge=new RegExp("^(aria)[A-Z]["+Ce+"]*$");nt=function(n,s,f,m){if(q.call(Ze,s)&&Ze[s])return!0;var k=s.toLowerCase();if(k==="onfocusin"||k==="onfocusout")return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ze[s]=!0,!0;if(m!=null){var I=m.registrationNameDependencies,F=m.possibleRegistrationNames;if(I.hasOwnProperty(s))return!0;var U=F.hasOwnProperty(k)?F[k]:null;if(U!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",s,U),Ze[s]=!0,!0;if(Kn.test(s))return a("Unknown event handler property `%s`. It will be ignored.",s),Ze[s]=!0,!0}else if(Kn.test(s))return qn.test(s)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",s),Ze[s]=!0,!0;if(er.test(s)||Ge.test(s))return!0;if(k==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ze[s]=!0,!0;if(k==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ze[s]=!0,!0;if(k==="is"&&f!==null&&f!==void 0&&typeof f!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof f),Ze[s]=!0,!0;if(typeof f=="number"&&isNaN(f))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",s),Ze[s]=!0,!0;var Q=dt(s),ae=Q!==null&&Q.type===K;if(wt.hasOwnProperty(k)){var ue=wt[k];if(ue!==s)return a("Invalid DOM property `%s`. Did you mean `%s`?",s,ue),Ze[s]=!0,!0}else if(!ae&&s!==k)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",s,k),Ze[s]=!0,!0;return typeof f=="boolean"&&je(s,f,Q,!1)?(f?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',f,s,s,f,s):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',f,s,s,f,s,s,s),Ze[s]=!0,!0):ae?!0:je(s,f,Q,!1)?(Ze[s]=!0,!1):((f==="false"||f==="true")&&Q!==null&&Q.type===se&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",f,s,f==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',s,f),Ze[s]=!0),!0)}}var tr=function(n,s,f){{var m=[];for(var k in s){var I=nt(n,k,s[k],f);I||m.push(k)}var F=m.map(function(U){return"`"+U+"`"}).join(", ");m.length===1?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",F,n):m.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",F,n)}};function Fr(n,s,f){Yt(n,s)||tr(n,s,f)}var Lr=function(){};{var nr=/^(?:webkit|moz|o)[A-Z]/,Fn=/^-ms-/,vo=/-(.)/g,rr=/;\s*$/,rn={},or={},_r=!1,ct=!1,Ot=function(n){return n.replace(vo,function(s,f){return f.toUpperCase()})},on=function(n){rn.hasOwnProperty(n)&&rn[n]||(rn[n]=!0,a("Unsupported style property %s. Did you mean %s?",n,Ot(n.replace(Fn,"ms-"))))},Te=function(n){rn.hasOwnProperty(n)&&rn[n]||(rn[n]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",n,n.charAt(0).toUpperCase()+n.slice(1)))},an=function(n,s){or.hasOwnProperty(s)&&or[s]||(or[s]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,n,s.replace(rr,"")))},Ln=function(n,s){_r||(_r=!0,a("`NaN` is an invalid value for the `%s` css style property.",n))},kn=function(n,s){ct||(ct=!0,a("`Infinity` is an invalid value for the `%s` css style property.",n))};Lr=function(n,s){n.indexOf("-")>-1?on(n):nr.test(n)?Te(n):rr.test(s)&&an(n,s),typeof s=="number"&&(isNaN(s)?Ln(n,s):isFinite(s)||kn(n,s))}}var Ft=Lr,_n=/["'&<>]/;function Xt(n){J(n);var s=""+n,f=_n.exec(s);if(!f)return s;var m,k="",I,F=0;for(I=f.index;I<s.length;I++){switch(s.charCodeAt(I)){case 34:m="&quot;";break;case 38:m="&amp;";break;case 39:m="&#x27;";break;case 60:m="&lt;";break;case 62:m="&gt;";break;default:continue}F!==I&&(k+=s.substring(F,I)),F=I+1,k+=m}return F!==I?k+s.substring(F,I):k}function We(n){return typeof n=="boolean"||typeof n=="number"?""+n:Xt(n)}var ir=/([A-Z])/g,ar=/^ms-/;function jr(n){return n.replace(ir,"-$1").toLowerCase().replace(ar,"-ms-")}var $e=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,sr=!1;function go(n){!sr&&$e.test(n)&&(sr=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(n)))}var yo=Array.isArray;function Lt(n){return yo(n)}var lr="<script>",jn="<\/script>",ur='<script src="',Tn='<script type="module" src="',sn='" async=""><\/script>';function bo(n){return J(n),(""+n).replace(cr,Bn)}var cr=/(<\/|<)(s)(cript)/gi,Bn=function(n,s,f,m){return""+s+(f==="s"?"\\u0073":"\\u0053")+m};function ln(n,s,f,m,k){var I=n===void 0?"":n,F=s===void 0?lr:'<script nonce="'+We(s)+'">',U=[];if(f!==void 0&&U.push(F,bo(f),jn),m!==void 0)for(var Q=0;Q<m.length;Q++)U.push(ur,We(m[Q]),sn);if(k!==void 0)for(var ae=0;ae<k.length;ae++)U.push(Tn,We(k[ae]),sn);return{bootstrapChunks:U,startInlineScript:F,placeholderPrefix:I+"P:",segmentPrefix:I+"S:",boundaryPrefix:I+"B:",idPrefix:I,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Zt=0,_t=1,Cn=2,En=3,bt=4,Ve=5,jt=6,kt=7;function qe(n,s){return{insertionMode:n,selectedValue:s}}function Vn(n,s,f){switch(s){case"select":return qe(_t,f.value!=null?f.value:f.defaultValue);case"svg":return qe(Cn,null);case"math":return qe(En,null);case"foreignObject":return qe(_t,null);case"table":return qe(bt,null);case"thead":case"tbody":case"tfoot":return qe(Ve,null);case"colgroup":return qe(kt,null);case"tr":return qe(jt,null)}return n.insertionMode>=bt||n.insertionMode===Zt?qe(_t,null):n}var Bt=null;function Vt(n){var s=n.nextSuspenseID++;return n.boundaryPrefix+s.toString(16)}function ft(n,s,f){var m=n.idPrefix,k=":"+m+"R"+s;return f>0&&(k+="H"+f.toString(32)),k+":"}function Qt(n){return We(n)}var un="<!-- -->";function fr(n,s,f,m){return s===""?m:(m&&n.push(un),n.push(Qt(s)),!0)}function dr(n,s,f,m){f&&m&&n.push(un)}var zn=new Map;function cn(n){var s=zn.get(n);if(s!==void 0)return s;var f=We(jr(n));return zn.set(n,f),f}var hr=' style="',Wn=":",Un=";";function u(n,s,f){if(typeof f!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var m=!0;for(var k in f)if(q.call(f,k)){var I=f[k];if(!(I==null||typeof I=="boolean"||I==="")){var F=void 0,U=void 0,Q=k.indexOf("--")===0;Q?(F=We(k),$(I,k),U=We((""+I).trim())):(Ft(k,I),F=cn(k),typeof I=="number"?I!==0&&!q.call(lt,k)?U=I+"px":U=""+I:($(I,k),U=We((""+I).trim()))),m?(m=!1,n.push(hr,F,Wn,U)):n.push(Un,F,Wn,U)}}m||n.push(R)}var g=" ",C='="',R='"',z='=""';function B(n,s,f,m){switch(f){case"style":{u(n,s,m);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(f.length>2&&(f[0]==="o"||f[0]==="O")&&(f[1]==="n"||f[1]==="N"))){var k=dt(f);if(k!==null){switch(typeof m){case"function":case"symbol":return;case"boolean":if(!k.acceptsBooleans)return}var I=k.attributeName,F=I;switch(k.type){case se:m&&n.push(g,F,z);return;case Pe:m===!0?n.push(g,F,z):m===!1||n.push(g,F,C,We(m),R);return;case De:isNaN(m)||n.push(g,F,C,We(m),R);break;case ye:!isNaN(m)&&m>=1&&n.push(g,F,C,We(m),R);break;default:k.sanitizeURL&&(X(m,I),m=""+m,go(m)),n.push(g,F,C,We(m),R)}}else if(Ee(f)){switch(typeof m){case"function":case"symbol":return;case"boolean":{var U=f.toLowerCase().slice(0,5);if(U!=="data-"&&U!=="aria-")return}}n.push(g,f,C,We(m),R)}}}var G=">",ee="/>";function le(n,s,f){if(s!=null){if(f!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof s!="object"||!("__html"in s))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var m=s.__html;m!=null&&(J(m),n.push(""+m))}}var fe=!1,ce=!1,be=!1,pt=!1,ot=!1,it=!1,Jt=!1;function Tt(n,s){{var f=n[s];if(f!=null){var m=Lt(f);n.multiple&&!m?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",s):!n.multiple&&m&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",s)}}}function Nn(n,s,f){Ae("select",s),Tt(s,"value"),Tt(s,"defaultValue"),s.value!==void 0&&s.defaultValue!==void 0&&!be&&(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),be=!0),n.push(mt("select"));var m=null,k=null;for(var I in s)if(q.call(s,I)){var F=s[I];if(F==null)continue;switch(I){case"children":m=F;break;case"dangerouslySetInnerHTML":k=F;break;case"defaultValue":case"value":break;default:B(n,f,I,F);break}}return n.push(G),le(n,k,m),m}function fn(n){var s="";return t.Children.forEach(n,function(f){f!=null&&(s+=f,!ot&&typeof f!="string"&&typeof f!="number"&&(ot=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),s}var Rn=' selected=""';function Kt(n,s,f,m){var k=m.selectedValue;n.push(mt("option"));var I=null,F=null,U=null,Q=null;for(var ae in s)if(q.call(s,ae)){var ue=s[ae];if(ue==null)continue;switch(ae){case"children":I=ue;break;case"selected":U=ue,Jt||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Jt=!0);break;case"dangerouslySetInnerHTML":Q=ue;break;case"value":F=ue;default:B(n,f,ae,ue);break}}if(k!=null){var me;if(F!==null?(X(F,"value"),me=""+F):(Q!==null&&(it||(it=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),me=fn(I)),Lt(k))for(var _e=0;_e<k.length;_e++){X(k[_e],"value");var st=""+k[_e];if(st===me){n.push(Rn);break}}else X(k,"select.value"),""+k===me&&n.push(Rn)}else U&&n.push(Rn);return n.push(G),le(n,Q,I),I}function pr(n,s,f){Ae("input",s),s.checked!==void 0&&s.defaultChecked!==void 0&&!ce&&(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",s.type),ce=!0),s.value!==void 0&&s.defaultValue!==void 0&&!fe&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",s.type),fe=!0),n.push(mt("input"));var m=null,k=null,I=null,F=null;for(var U in s)if(q.call(s,U)){var Q=s[U];if(Q==null)continue;switch(U){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":F=Q;break;case"defaultValue":k=Q;break;case"checked":I=Q;break;case"value":m=Q;break;default:B(n,f,U,Q);break}}return I!==null?B(n,f,"checked",I):F!==null&&B(n,f,"checked",F),m!==null?B(n,f,"value",m):k!==null&&B(n,f,"value",k),n.push(ee),null}function ma(n,s,f){Ae("textarea",s),s.value!==void 0&&s.defaultValue!==void 0&&!pt&&(a("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),pt=!0),n.push(mt("textarea"));var m=null,k=null,I=null;for(var F in s)if(q.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":I=U;break;case"value":m=U;break;case"defaultValue":k=U;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:B(n,f,F,U);break}}if(m===null&&k!==null&&(m=k),n.push(G),I!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),m!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Lt(I)){if(I.length>1)throw new Error("<textarea> can only have at most one child.");J(I[0]),m=""+I[0]}J(I),m=""+I}return typeof m=="string"&&m[0]===`
36
+ `&&n.push(mr),m!==null&&(X(m,"value"),n.push(Qt(""+m))),null}function va(n,s,f,m){n.push(mt(f));for(var k in s)if(q.call(s,k)){var I=s[k];if(I==null)continue;switch(k){case"children":case"dangerouslySetInnerHTML":throw new Error(f+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:B(n,m,k,I);break}}return n.push(ee),null}function xo(n,s,f){n.push(mt("menuitem"));for(var m in s)if(q.call(s,m)){var k=s[m];if(k==null)continue;switch(m){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:B(n,f,m,k);break}}return n.push(G),null}function ga(n,s,f){n.push(mt("title"));var m=null;for(var k in s)if(q.call(s,k)){var I=s[k];if(I==null)continue;switch(k){case"children":m=I;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:B(n,f,k,I);break}}n.push(G);{var F=Array.isArray(m)&&m.length<2?m[0]||null:m;Array.isArray(m)&&m.length>1?a("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):F!=null&&F.$$typeof!=null?a("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):F!=null&&typeof F!="string"&&typeof F!="number"&&a("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return m}function So(n,s,f,m){n.push(mt(f));var k=null,I=null;for(var F in s)if(q.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":k=U;break;case"dangerouslySetInnerHTML":I=U;break;default:B(n,m,F,U);break}}return n.push(G),le(n,I,k),typeof k=="string"?(n.push(Qt(k)),null):k}function qt(n,s,f,m){n.push(mt(f));var k=null,I=null;for(var F in s)if(q.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":k=U;break;case"dangerouslySetInnerHTML":I=U;break;case"style":u(n,m,U);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Ee(F)&&typeof U!="function"&&typeof U!="symbol"&&n.push(g,F,C,We(U),R);break}}return n.push(G),le(n,I,k),k}var mr=`
37
+ `;function Br(n,s,f,m){n.push(mt(f));var k=null,I=null;for(var F in s)if(q.call(s,F)){var U=s[F];if(U==null)continue;switch(F){case"children":k=U;break;case"dangerouslySetInnerHTML":I=U;break;default:B(n,m,F,U);break}}if(n.push(G),I!=null){if(k!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof I!="object"||!("__html"in I))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var Q=I.__html;Q!=null&&(typeof Q=="string"&&Q.length>0&&Q[0]===`
38
+ `?n.push(mr,Q):(J(Q),n.push(""+Q)))}return typeof k=="string"&&k[0]===`
39
+ `&&n.push(mr),k}var Me=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,dn=new Map;function mt(n){var s=dn.get(n);if(s===void 0){if(!Me.test(n))throw new Error("Invalid tag: "+n);s="<"+n,dn.set(n,s)}return s}var Pn="<!DOCTYPE html>";function hn(n,s,f,m,k){switch(Sn(s,f),Or(s,f),Fr(s,f,null),!f.suppressContentEditableWarning&&f.contentEditable&&f.children!=null&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),k.insertionMode!==Cn&&k.insertionMode!==En&&s.indexOf("-")===-1&&typeof f.is!="string"&&s.toLowerCase()!==s&&a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),s){case"select":return Nn(n,f,m);case"option":return Kt(n,f,m,k);case"textarea":return ma(n,f,m);case"input":return pr(n,f,m);case"menuitem":return xo(n,f,m);case"title":return ga(n,f,m);case"listing":case"pre":return Br(n,f,s,m);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return va(n,f,s,m);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 So(n,f,s,m);case"html":return k.insertionMode===Zt&&n.push(Pn),So(n,f,s,m);default:return s.indexOf("-")===-1&&typeof f.is!="string"?So(n,f,s,m):qt(n,f,s,m)}}var Vr="</",pn=">";function Ct(n,s,f){switch(s){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:n.push(Vr,s,pn)}}function wo(n,s){for(var f=s.bootstrapChunks,m=0;m<f.length-1;m++)v(n,f[m]);return m<f.length?b(n,f[m]):!0}var ko='<template id="',ui='"></template>';function ci(n,s,f){v(n,ko),v(n,s.placeholderPrefix);var m=f.toString(16);return v(n,m),b(n,ui)}var fi="<!--$-->",ya='<!--$?--><template id="',ba='"></template>',zr="<!--$!-->",Wr="<!--/$-->",Ur="<template",vr='"',xa=' data-dgst="',gr=' data-msg="',To=' data-stck="',Co="></template>";function Hn(n,s){return b(n,fi)}function Gn(n,s,f){if(v(n,ya),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return v(n,f),b(n,ba)}function Nr(n,s,f,m,k){var I;return I=b(n,zr),v(n,Ur),f&&(v(n,xa),v(n,We(f)),v(n,vr)),m&&(v(n,gr),v(n,We(m)),v(n,vr)),k&&(v(n,To),v(n,We(k)),v(n,vr)),I=b(n,Co),I}function di(n,s){return b(n,Wr)}function Eo(n,s){return b(n,Wr)}function hi(n,s){return b(n,Wr)}var Hr='<div hidden id="',vt='">',pi="</div>",Gr='<svg aria-hidden="true" style="display:none" id="',Sa='">',mi="</svg>",$r='<math aria-hidden="true" style="display:none" id="',vi='">',gi="</math>",Yr='<table hidden id="',Xr='">',yi="</table>",bi='<table hidden><tbody id="',xi='">',Ro="</tbody></table>",Si='<table hidden><tr id="',c='">',y="</tr></table>",T='<table hidden><colgroup id="',A='">',W="</colgroup></table>";function V(n,s,f,m){switch(f.insertionMode){case Zt:case _t:return v(n,Hr),v(n,s.segmentPrefix),v(n,m.toString(16)),b(n,vt);case Cn:return v(n,Gr),v(n,s.segmentPrefix),v(n,m.toString(16)),b(n,Sa);case En:return v(n,$r),v(n,s.segmentPrefix),v(n,m.toString(16)),b(n,vi);case bt:return v(n,Yr),v(n,s.segmentPrefix),v(n,m.toString(16)),b(n,Xr);case Ve:return v(n,bi),v(n,s.segmentPrefix),v(n,m.toString(16)),b(n,xi);case jt:return v(n,Si),v(n,s.segmentPrefix),v(n,m.toString(16)),b(n,c);case kt:return v(n,T),v(n,s.segmentPrefix),v(n,m.toString(16)),b(n,A);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Z(n,s){switch(s.insertionMode){case Zt:case _t:return b(n,pi);case Cn:return b(n,mi);case En:return b(n,gi);case bt:return b(n,yi);case Ve:return b(n,Ro);case jt:return b(n,y);case kt:return b(n,W);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var ne="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",de='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',ge='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',ve=ne+';$RS("',Le='$RS("',gt='","',Et='")<\/script>';function Rt(n,s,f){v(n,s.startInlineScript),s.sentCompleteSegmentFunction?v(n,Le):(s.sentCompleteSegmentFunction=!0,v(n,ve)),v(n,s.segmentPrefix);var m=f.toString(16);return v(n,m),v(n,gt),v(n,s.placeholderPrefix),v(n,m),b(n,Et)}var Zr=de+';$RC("',wi='$RC("',Po='","',Gl='")<\/script>';function $l(n,s,f,m){if(v(n,s.startInlineScript),s.sentCompleteBoundaryFunction?v(n,wi):(s.sentCompleteBoundaryFunction=!0,v(n,Zr)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var k=m.toString(16);return v(n,f),v(n,Po),v(n,s.segmentPrefix),v(n,k),b(n,Gl)}var Yl=ge+';$RX("',Xl='$RX("',Zl='"',Ql=")<\/script>",wa=",";function Jl(n,s,f,m,k,I){if(v(n,s.startInlineScript),s.sentClientRenderFunction?v(n,Xl):(s.sentClientRenderFunction=!0,v(n,Yl)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return v(n,f),v(n,Zl),(m||k||I)&&(v(n,wa),v(n,ka(m||""))),(k||I)&&(v(n,wa),v(n,ka(k||""))),I&&(v(n,wa),v(n,ka(I))),b(n,Ql)}var Kl=/[<\u2028\u2029]/g;function ka(n){var s=JSON.stringify(n);return s.replace(Kl,function(f){switch(f){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ql(n,s){var f=ln(s,void 0);return{bootstrapChunks:f.bootstrapChunks,startInlineScript:f.startInlineScript,placeholderPrefix:f.placeholderPrefix,segmentPrefix:f.segmentPrefix,boundaryPrefix:f.boundaryPrefix,idPrefix:f.idPrefix,nextSuspenseID:f.nextSuspenseID,sentCompleteSegmentFunction:f.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:f.sentCompleteBoundaryFunction,sentClientRenderFunction:f.sentClientRenderFunction,generateStaticMarkup:n}}function Ta(){return{insertionMode:_t,selectedValue:null}}function Ps(n,s,f,m){return f.generateStaticMarkup?(n.push(We(s)),!1):fr(n,s,f,m)}function As(n,s,f,m){if(!s.generateStaticMarkup)return dr(n,s,f,m)}function Ca(n,s){return s.generateStaticMarkup?!0:Hn(n)}function zt(n,s,f,m,k){return s.generateStaticMarkup?!0:Nr(n,s,f,m,k)}function eu(n,s){return s.generateStaticMarkup?!0:di(n)}function Is(n,s){return s.generateStaticMarkup?!0:hi(n)}var Pt=Object.assign,Ms=Symbol.for("react.element"),Ea=Symbol.for("react.portal"),ki=Symbol.for("react.fragment"),Ti=Symbol.for("react.strict_mode"),Ci=Symbol.for("react.profiler"),Ao=Symbol.for("react.provider"),Io=Symbol.for("react.context"),Mo=Symbol.for("react.forward_ref"),Qr=Symbol.for("react.suspense"),Ra=Symbol.for("react.suspense_list"),Pa=Symbol.for("react.memo"),Ei=Symbol.for("react.lazy"),tu=Symbol.for("react.scope"),Ds=Symbol.for("react.debug_trace_mode"),nu=Symbol.for("react.legacy_hidden"),ru=Symbol.for("react.default_value"),Os=Symbol.iterator,Fs="@@iterator";function Ue(n){if(n===null||typeof n!="object")return null;var s=Os&&n[Os]||n[Fs];return typeof s=="function"?s:null}function Do(n,s,f){var m=n.displayName;if(m)return m;var k=s.displayName||s.name||"";return k!==""?f+"("+k+")":f}function Aa(n){return n.displayName||"Context"}function ze(n){if(n==null)return null;if(typeof n.tag=="number"&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case ki:return"Fragment";case Ea:return"Portal";case Ci:return"Profiler";case Ti:return"StrictMode";case Qr:return"Suspense";case Ra:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Io:var s=n;return Aa(s)+".Consumer";case Ao:var f=n;return Aa(f._context)+".Provider";case Mo:return Do(n,n.render,"ForwardRef");case Pa:var m=n.displayName||null;return m!==null?m:ze(n.type)||"Memo";case Ei:{var k=n,I=k._payload,F=k._init;try{return ze(F(I))}catch{return null}}}return null}var Jr=0,Ia,Ma,Da,Oa,Fa,Ls,_s;function Ri(){}Ri.__reactDisabledLog=!0;function La(){{if(Jr===0){Ia=console.log,Ma=console.info,Da=console.warn,Oa=console.error,Fa=console.group,Ls=console.groupCollapsed,_s=console.groupEnd;var n={configurable:!0,enumerable:!0,value:Ri,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}Jr++}}function Oo(){{if(Jr--,Jr===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Pt({},n,{value:Ia}),info:Pt({},n,{value:Ma}),warn:Pt({},n,{value:Da}),error:Pt({},n,{value:Oa}),group:Pt({},n,{value:Fa}),groupCollapsed:Pt({},n,{value:Ls}),groupEnd:Pt({},n,{value:_s})})}Jr<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Fo=r.ReactCurrentDispatcher,Kr;function Lo(n,s,f){{if(Kr===void 0)try{throw Error()}catch(k){var m=k.stack.trim().match(/\n( *(at )?)/);Kr=m&&m[1]||""}return`
40
+ `+Kr+n}}var _o=!1,Pi;{var js=typeof WeakMap=="function"?WeakMap:Map;Pi=new js}function _a(n,s){if(!n||_o)return"";{var f=Pi.get(n);if(f!==void 0)return f}var m;_o=!0;var k=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var I;I=Fo.current,Fo.current=null,La();try{if(s){var F=function(){throw Error()};if(Object.defineProperty(F.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(F,[])}catch(Ht){m=Ht}Reflect.construct(n,[],F)}else{try{F.call()}catch(Ht){m=Ht}n.call(F.prototype)}}else{try{throw Error()}catch(Ht){m=Ht}n()}}catch(Ht){if(Ht&&m&&typeof Ht.stack=="string"){for(var U=Ht.stack.split(`
41
+ `),Q=m.stack.split(`
42
+ `),ae=U.length-1,ue=Q.length-1;ae>=1&&ue>=0&&U[ae]!==Q[ue];)ue--;for(;ae>=1&&ue>=0;ae--,ue--)if(U[ae]!==Q[ue]){if(ae!==1||ue!==1)do if(ae--,ue--,ue<0||U[ae]!==Q[ue]){var me=`
43
+ `+U[ae].replace(" at new "," at ");return n.displayName&&me.includes("<anonymous>")&&(me=me.replace("<anonymous>",n.displayName)),typeof n=="function"&&Pi.set(n,me),me}while(ae>=1&&ue>=0);break}}}finally{_o=!1,Fo.current=I,Oo(),Error.prepareStackTrace=k}var _e=n?n.displayName||n.name:"",st=_e?Lo(_e):"";return typeof n=="function"&&Pi.set(n,st),st}function ja(n,s,f){return _a(n,!0)}function Ba(n,s,f){return _a(n,!1)}function Bs(n){var s=n.prototype;return!!(s&&s.isReactComponent)}function qr(n,s,f){if(n==null)return"";if(typeof n=="function")return _a(n,Bs(n));if(typeof n=="string")return Lo(n);switch(n){case Qr:return Lo("Suspense");case Ra:return Lo("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case Mo:return Ba(n.render);case Pa:return qr(n.type,s,f);case Ei:{var m=n,k=m._payload,I=m._init;try{return qr(I(k),s,f)}catch{}}}return""}var Va={},Ai=r.ReactDebugCurrentFrame;function yr(n){if(n){var s=n._owner,f=qr(n.type,n._source,s?s.type:null);Ai.setExtraStackFrame(f)}else Ai.setExtraStackFrame(null)}function za(n,s,f,m,k){{var I=Function.call.bind(q);for(var F in n)if(I(n,F)){var U=void 0;try{if(typeof n[F]!="function"){var Q=Error((m||"React class")+": "+f+" type `"+F+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[F]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Q.name="Invariant Violation",Q}U=n[F](s,F,m,f,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ae){U=ae}U&&!(U instanceof Error)&&(yr(k),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",m||"React class",f,F,typeof U),yr(null)),U instanceof Error&&!(U.message in Va)&&(Va[U.message]=!0,yr(k),a("Failed %s type: %s",f,U.message),yr(null))}}}var Wa;Wa={};var $n={};Object.freeze($n);function Vs(n,s){{var f=n.contextTypes;if(!f)return $n;var m={};for(var k in f)m[k]=s[k];{var I=ze(n)||"Unknown";za(f,m,"context",I)}return m}}function br(n,s,f,m){{if(typeof n.getChildContext!="function"){{var k=ze(s)||"Unknown";Wa[k]||(Wa[k]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",k,k))}return f}var I=n.getChildContext();for(var F in I)if(!(F in m))throw new Error((ze(s)||"Unknown")+'.getChildContext(): key "'+F+'" is not defined in childContextTypes.');{var U=ze(s)||"Unknown";za(m,I,"child context",U)}return Pt({},f,I)}}var xr;xr={};var Ua=null,mn=null;function Ii(n){n.context._currentValue2=n.parentValue}function Mi(n){n.context._currentValue2=n.value}function jo(n,s){if(n!==s){Ii(n);var f=n.parent,m=s.parent;if(f===null){if(m!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(m===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");jo(f,m)}Mi(s)}}function Na(n){Ii(n);var s=n.parent;s!==null&&Na(s)}function Bo(n){var s=n.parent;s!==null&&Bo(s),Mi(n)}function zs(n,s){Ii(n);var f=n.parent;if(f===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");f.depth===s.depth?jo(f,s):zs(f,s)}function Ws(n,s){var f=s.parent;if(f===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");n.depth===f.depth?jo(n,f):Ws(n,f),Mi(s)}function Di(n){var s=mn,f=n;s!==f&&(s===null?Bo(f):f===null?Na(s):s.depth===f.depth?jo(s,f):s.depth>f.depth?zs(s,f):Ws(s,f),mn=f)}function Vo(n,s){var f;f=n._currentValue2,n._currentValue2=s,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==xr&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=xr;var m=mn,k={parent:m,depth:m===null?0:m.depth+1,context:n,parentValue:f,value:s};return mn=k,k}function Ha(n){var s=mn;if(s===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");s.context!==n&&a("The parent context is not the expected context. This is probably a bug in React.");{var f=s.parentValue;f===ru?s.context._currentValue2=s.context._defaultValue:s.context._currentValue2=f,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==xr&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=xr}return mn=s.parent}function ou(){return mn}function eo(n){var s=n._currentValue2;return s}function Oi(n){return n._reactInternals}function Ga(n,s){n._reactInternals=s}var Fi={},Li={},zo,_i,to,Wo,ji,no,Bi,Vi,zi;{zo=new Set,_i=new Set,to=new Set,Bi=new Set,Wo=new Set,Vi=new Set,zi=new Set;var Us=new Set;no=function(n,s){if(!(n===null||typeof n=="function")){var f=s+"_"+n;Us.has(f)||(Us.add(f),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",s,n))}},ji=function(n,s){if(s===void 0){var f=ze(n)||"Component";Wo.has(f)||(Wo.add(f),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",f))}}}function Ns(n,s){{var f=n.constructor,m=f&&ze(f)||"ReactClass",k=m+"."+s;if(Fi[k])return;a(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
44
44
 
45
- Please check the code for the %s component.`,a,a,h),Di[w]=!0}}var Ws={isMounted:function(n){return!1},enqueueSetState:function(n,a,f){var h=Mi(n);h.queue===null?zs(n,"setState"):(h.queue.push(a),f!=null&&to(f,"setState"))},enqueueReplaceState:function(n,a,f){var h=Mi(n);h.replace=!0,h.queue=[a],f!=null&&to(f,"setState")},enqueueForceUpdate:function(n,a){var f=Mi(n);f.queue===null?zs(n,"forceUpdate"):a!=null&&to(a,"setState")}};function tu(n,a,f,h,w){var I=f(w,h);Li(a,I);var O=I==null?h:kt({},h,I);return O}function nu(n,a,f){var h=Yn,w=n.contextType;if("contextType"in n){var I=w===null||w!==void 0&&w.$$typeof===Po&&w._context===void 0;if(!I&&!Bi.has(n)){Bi.add(n);var O="";w===void 0?O=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof w!="object"?O=" However, it is set to a "+typeof w+".":w.$$typeof===Ro?O=" Did you accidentally pass the Context.Provider instead?":w._context!==void 0?O=" Did you accidentally pass the Context.Consumer instead?":O=" However, it is set to an object with keys {"+Object.keys(w).join(", ")+"}.",s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Oe(n)||"Component",O)}}typeof w=="object"&&w!==null?h=qr(w):h=f;var U=new n(a,h);{if(typeof n.getDerivedStateFromProps=="function"&&(U.state===null||U.state===void 0)){var J=Oe(n)||"Component";Bo.has(J)||(Bo.add(J),s("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",J,U.state===null?"null":"undefined",J))}if(typeof n.getDerivedStateFromProps=="function"||typeof U.getSnapshotBeforeUpdate=="function"){var ie=null,se=null,me=null;if(typeof U.componentWillMount=="function"&&U.componentWillMount.__suppressDeprecationWarning!==!0?ie="componentWillMount":typeof U.UNSAFE_componentWillMount=="function"&&(ie="UNSAFE_componentWillMount"),typeof U.componentWillReceiveProps=="function"&&U.componentWillReceiveProps.__suppressDeprecationWarning!==!0?se="componentWillReceiveProps":typeof U.UNSAFE_componentWillReceiveProps=="function"&&(se="UNSAFE_componentWillReceiveProps"),typeof U.componentWillUpdate=="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0?me="componentWillUpdate":typeof U.UNSAFE_componentWillUpdate=="function"&&(me="UNSAFE_componentWillUpdate"),ie!==null||se!==null||me!==null){var Me=Oe(n)||"Component",rt=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";eo.has(Me)||(eo.add(Me),s(`Unsafe legacy lifecycles will not be called for components using new component APIs.
45
+ Please check the code for the %s component.`,s,s,m),Fi[k]=!0}}var Hs={isMounted:function(n){return!1},enqueueSetState:function(n,s,f){var m=Oi(n);m.queue===null?Ns(n,"setState"):(m.queue.push(s),f!=null&&no(f,"setState"))},enqueueReplaceState:function(n,s,f){var m=Oi(n);m.replace=!0,m.queue=[s],f!=null&&no(f,"setState")},enqueueForceUpdate:function(n,s){var f=Oi(n);f.queue===null?Ns(n,"forceUpdate"):s!=null&&no(s,"setState")}};function iu(n,s,f,m,k){var I=f(k,m);ji(s,I);var F=I==null?m:Pt({},m,I);return F}function au(n,s,f){var m=$n,k=n.contextType;if("contextType"in n){var I=k===null||k!==void 0&&k.$$typeof===Io&&k._context===void 0;if(!I&&!zi.has(n)){zi.add(n);var F="";k===void 0?F=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof k!="object"?F=" However, it is set to a "+typeof k+".":k.$$typeof===Ao?F=" Did you accidentally pass the Context.Provider instead?":k._context!==void 0?F=" Did you accidentally pass the Context.Consumer instead?":F=" However, it is set to an object with keys {"+Object.keys(k).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ze(n)||"Component",F)}}typeof k=="object"&&k!==null?m=eo(k):m=f;var U=new n(s,m);{if(typeof n.getDerivedStateFromProps=="function"&&(U.state===null||U.state===void 0)){var Q=ze(n)||"Component";zo.has(Q)||(zo.add(Q),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",Q,U.state===null?"null":"undefined",Q))}if(typeof n.getDerivedStateFromProps=="function"||typeof U.getSnapshotBeforeUpdate=="function"){var ae=null,ue=null,me=null;if(typeof U.componentWillMount=="function"&&U.componentWillMount.__suppressDeprecationWarning!==!0?ae="componentWillMount":typeof U.UNSAFE_componentWillMount=="function"&&(ae="UNSAFE_componentWillMount"),typeof U.componentWillReceiveProps=="function"&&U.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ue="componentWillReceiveProps":typeof U.UNSAFE_componentWillReceiveProps=="function"&&(ue="UNSAFE_componentWillReceiveProps"),typeof U.componentWillUpdate=="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0?me="componentWillUpdate":typeof U.UNSAFE_componentWillUpdate=="function"&&(me="UNSAFE_componentWillUpdate"),ae!==null||ue!==null||me!==null){var _e=ze(n)||"Component",st=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";to.has(_e)||(to.add(_e),a(`Unsafe legacy lifecycles will not be called for components using new component APIs.
46
46
 
47
47
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
48
48
 
49
49
  The above lifecycles should be removed. Learn more about this warning here:
50
- https://reactjs.org/link/unsafe-component-lifecycles`,Me,rt,ie!==null?`
51
- `+ie:"",se!==null?`
52
- `+se:"",me!==null?`
53
- `+me:""))}}}return U}function Us(n,a,f){{var h=Oe(a)||"Component",w=n.render;w||(a.prototype&&typeof a.prototype.render=="function"?s("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",h):s("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",h)),n.getInitialState&&!n.getInitialState.isReactClassApproved&&!n.state&&s("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",h),n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&s("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",h),n.propTypes&&s("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",h),n.contextType&&s("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),n.contextTypes&&s("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",h),a.contextType&&a.contextTypes&&!ji.has(a)&&(ji.add(a),s("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",h)),typeof n.componentShouldUpdate=="function"&&s("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",h),a.prototype&&a.prototype.isPureReactComponent&&typeof n.shouldComponentUpdate<"u"&&s("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Oe(a)||"A pure component"),typeof n.componentDidUnmount=="function"&&s("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",h),typeof n.componentDidReceiveProps=="function"&&s("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",h),typeof n.componentWillRecieveProps=="function"&&s("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",h),typeof n.UNSAFE_componentWillRecieveProps=="function"&&s("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",h);var I=n.props!==f;n.props!==void 0&&I&&s("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",h,h),n.defaultProps&&s("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",h,h),typeof n.getSnapshotBeforeUpdate=="function"&&typeof n.componentDidUpdate!="function"&&!Fi.has(a)&&(Fi.add(a),s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Oe(a))),typeof n.getDerivedStateFromProps=="function"&&s("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof n.getDerivedStateFromError=="function"&&s("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof a.getSnapshotBeforeUpdate=="function"&&s("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",h);var O=n.state;O&&(typeof O!="object"||It(O))&&s("%s.state: must be set to an object or null",h),typeof n.getChildContext=="function"&&typeof a.childContextTypes!="object"&&s("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",h)}}function ru(n,a){var f=a.state;if(typeof a.componentWillMount=="function"){if(a.componentWillMount.__suppressDeprecationWarning!==!0){var h=Oe(n)||"Unknown";Oi[h]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
50
+ https://reactjs.org/link/unsafe-component-lifecycles`,_e,st,ae!==null?`
51
+ `+ae:"",ue!==null?`
52
+ `+ue:"",me!==null?`
53
+ `+me:""))}}}return U}function Gs(n,s,f){{var m=ze(s)||"Component",k=n.render;k||(s.prototype&&typeof s.prototype.render=="function"?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",m):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",m)),n.getInitialState&&!n.getInitialState.isReactClassApproved&&!n.state&&a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",m),n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",m),n.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",m),n.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",m),n.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",m),s.contextType&&s.contextTypes&&!Vi.has(s)&&(Vi.add(s),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",m)),typeof n.componentShouldUpdate=="function"&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",m),s.prototype&&s.prototype.isPureReactComponent&&typeof n.shouldComponentUpdate<"u"&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ze(s)||"A pure component"),typeof n.componentDidUnmount=="function"&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",m),typeof n.componentDidReceiveProps=="function"&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",m),typeof n.componentWillRecieveProps=="function"&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",m),typeof n.UNSAFE_componentWillRecieveProps=="function"&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",m);var I=n.props!==f;n.props!==void 0&&I&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",m,m),n.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",m,m),typeof n.getSnapshotBeforeUpdate=="function"&&typeof n.componentDidUpdate!="function"&&!_i.has(s)&&(_i.add(s),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ze(s))),typeof n.getDerivedStateFromProps=="function"&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof n.getDerivedStateFromError=="function"&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof s.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",m);var F=n.state;F&&(typeof F!="object"||Lt(F))&&a("%s.state: must be set to an object or null",m),typeof n.getChildContext=="function"&&typeof s.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",m)}}function su(n,s){var f=s.state;if(typeof s.componentWillMount=="function"){if(s.componentWillMount.__suppressDeprecationWarning!==!0){var m=ze(n)||"Unknown";Li[m]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
54
54
 
55
55
  * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
56
56
 
57
- Please update the following components: %s`,h),Oi[h]=!0)}a.componentWillMount()}typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),f!==a.state&&(s("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Oe(n)||"Component"),Ws.enqueueReplaceState(a,a.state,null))}function ou(n,a,f,h){if(n.queue!==null&&n.queue.length>0){var w=n.queue,I=n.replace;if(n.queue=null,n.replace=!1,I&&w.length===1)a.state=w[0];else{for(var O=I?w[0]:a.state,U=!0,J=I?1:0;J<w.length;J++){var ie=w[J],se=typeof ie=="function"?ie.call(a,O,f,h):ie;se!=null&&(U?(U=!1,O=kt({},O,se)):kt(O,se))}a.state=O}}else n.queue=null}function Vi(n,a,f,h){Us(n,a,f);var w=n.state!==void 0?n.state:null;n.updater=Ws,n.props=f,n.state=w;var I={queue:[],replace:!1};Ua(n,I);var O=a.contextType;if(typeof O=="object"&&O!==null?n.context=qr(O):n.context=h,n.state===f){var U=Oe(a)||"Component";_i.has(U)||(_i.add(U),s("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",U))}var J=a.getDerivedStateFromProps;typeof J=="function"&&(n.state=tu(n,a,J,w,f)),typeof a.getDerivedStateFromProps!="function"&&typeof n.getSnapshotBeforeUpdate!="function"&&(typeof n.UNSAFE_componentWillMount=="function"||typeof n.componentWillMount=="function")&&(ru(a,n),ou(I,n,f,h))}var zi={id:1,overflow:""};function iu(n){var a=n.overflow,f=n.id,h=f&~au(f);return h.toString(32)+a}function Na(n,a,f){var h=n.id,w=n.overflow,I=Wi(h)-1,O=h&~(1<<I),U=f+1,J=Wi(a)+I;if(J>30){var ie=I-I%5,se=(1<<ie)-1,me=(O&se).toString(32),Me=O>>ie,rt=I-ie,Vt=Wi(a)+rt,cl=U<<rt,fl=cl|Me,dl=me+w;return{id:1<<Vt|fl,overflow:dl}}else{var ra=U<<I,_h=ra|O,jh=w;return{id:1<<J|_h,overflow:jh}}}function Wi(n){return 32-su(n)}function au(n){return 1<<Wi(n)-1}var su=Math.clz32?Math.clz32:Pn,lu=Math.log,uu=Math.LN2;function Pn(n){var a=n>>>0;return a===0?32:31-(lu(a)/uu|0)|0}function Ha(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var Ui=typeof Object.is=="function"?Object.is:Ha,be=null,xr=null,Sr=null,Te=null,_t=!1,wr=!1,Ni=0,nt=null,An=0,kr=25,dn=!1,Tr;function In(){if(be===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
57
+ Please update the following components: %s`,m),Li[m]=!0)}s.componentWillMount()}typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),f!==s.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ze(n)||"Component"),Hs.enqueueReplaceState(s,s.state,null))}function lu(n,s,f,m){if(n.queue!==null&&n.queue.length>0){var k=n.queue,I=n.replace;if(n.queue=null,n.replace=!1,I&&k.length===1)s.state=k[0];else{for(var F=I?k[0]:s.state,U=!0,Q=I?1:0;Q<k.length;Q++){var ae=k[Q],ue=typeof ae=="function"?ae.call(s,F,f,m):ae;ue!=null&&(U?(U=!1,F=Pt({},F,ue)):Pt(F,ue))}s.state=F}}else n.queue=null}function Wi(n,s,f,m){Gs(n,s,f);var k=n.state!==void 0?n.state:null;n.updater=Hs,n.props=f,n.state=k;var I={queue:[],replace:!1};Ga(n,I);var F=s.contextType;if(typeof F=="object"&&F!==null?n.context=eo(F):n.context=m,n.state===f){var U=ze(s)||"Component";Bi.has(U)||(Bi.add(U),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",U))}var Q=s.getDerivedStateFromProps;typeof Q=="function"&&(n.state=iu(n,s,Q,k,f)),typeof s.getDerivedStateFromProps!="function"&&typeof n.getSnapshotBeforeUpdate!="function"&&(typeof n.UNSAFE_componentWillMount=="function"||typeof n.componentWillMount=="function")&&(su(s,n),lu(I,n,f,m))}var Ui={id:1,overflow:""};function uu(n){var s=n.overflow,f=n.id,m=f&~cu(f);return m.toString(32)+s}function $a(n,s,f){var m=n.id,k=n.overflow,I=Ni(m)-1,F=m&~(1<<I),U=f+1,Q=Ni(s)+I;if(Q>30){var ae=I-I%5,ue=(1<<ae)-1,me=(F&ue).toString(32),_e=F>>ae,st=I-ae,Ht=Ni(s)+st,hl=U<<st,pl=hl|_e,ml=me+k;return{id:1<<Ht|pl,overflow:ml}}else{var ia=U<<I,Kh=ia|F,qh=k;return{id:1<<Q|Kh,overflow:qh}}}function Ni(n){return 32-fu(n)}function cu(n){return 1<<Ni(n)-1}var fu=Math.clz32?Math.clz32:An,du=Math.log,hu=Math.LN2;function An(n){var s=n>>>0;return s===0?32:31-(du(s)/hu|0)|0}function Ya(n,s){return n===s&&(n!==0||1/n===1/s)||n!==n&&s!==s}var Hi=typeof Object.is=="function"?Object.is:Ya,xe=null,Sr=null,wr=null,Ie=null,Wt=!1,kr=!1,Gi=0,at=null,In=0,Tr=25,vn=!1,Cr;function Mn(){if(xe===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
58
58
  1. You might have mismatching versions of React and the renderer (such as React DOM)
59
59
  2. You might be breaking the Rules of Hooks
60
60
  3. You might have more than one copy of React in the same app
61
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return dn&&s("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),be}function cu(n,a){if(a===null)return s("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Tr),!1;n.length!==a.length&&s(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
61
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return vn&&a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),xe}function pu(n,s){if(s===null)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Cr),!1;n.length!==s.length&&a(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
62
62
 
63
63
  Previous: %s
64
- Incoming: %s`,Tr,"["+n.join(", ")+"]","["+a.join(", ")+"]");for(var f=0;f<a.length&&f<n.length;f++)if(!Ui(n[f],a[f]))return!1;return!0}function Ns(){if(An>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Hi(){return Te===null?Sr===null?(_t=!1,Sr=Te=Ns()):(_t=!0,Te=Sr):Te.next===null?(_t=!1,Te=Te.next=Ns()):(_t=!0,Te=Te.next),Te}function $a(n,a){be=a,xr=n,dn=!1,Ni=0}function fu(n,a,f,h){for(;wr;)wr=!1,Ni=0,An+=1,Te=null,f=n(a,h);return zo(),f}function Hs(){var n=Ni!==0;return n}function zo(){dn=!1,be=null,xr=null,wr=!1,Sr=null,An=0,nt=null,Te=null}function du(n){return dn&&s("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),qr(n)}function $s(n){return Tr="useContext",In(),qr(n)}function $i(n,a){return typeof a=="function"?a(n):a}function hu(n){return Tr="useState",Ys($i,n)}function Ys(n,a,f){if(n!==$i&&(Tr="useReducer"),be=In(),Te=Hi(),_t){var h=Te.queue,w=h.dispatch;if(nt!==null){var I=nt.get(h);if(I!==void 0){nt.delete(h);var O=Te.memoizedState,U=I;do{var J=U.action;dn=!0,O=n(O,J),dn=!1,U=U.next}while(U!==null);return Te.memoizedState=O,[O,w]}}return[Te.memoizedState,w]}else{dn=!0;var ie;n===$i?ie=typeof a=="function"?a():a:ie=f!==void 0?f(a):a,dn=!1,Te.memoizedState=ie;var se=Te.queue={last:null,dispatch:null},me=se.dispatch=gu.bind(null,be,se);return[Te.memoizedState,me]}}function Gs(n,a){be=In(),Te=Hi();var f=a===void 0?null:a;if(Te!==null){var h=Te.memoizedState;if(h!==null&&f!==null){var w=h[1];if(cu(f,w))return h[0]}}dn=!0;var I=n();return dn=!1,Te.memoizedState=[I,f],I}function pu(n){be=In(),Te=Hi();var a=Te.memoizedState;if(a===null){var f={current:n};return Object.seal(f),Te.memoizedState=f,f}else return a}function mu(n,a){Tr="useLayoutEffect",s("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function gu(n,a,f){if(An>=kr)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(n===be){wr=!0;var h={action:f,next:null};nt===null&&(nt=new Map);var w=nt.get(a);if(w===void 0)nt.set(a,h);else{for(var I=w;I.next!==null;)I=I.next;I.next=h}}}function vu(n,a){return Gs(function(){return n},a)}function yu(n,a,f){return In(),a(n._source)}function bu(n,a,f){if(f===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return f()}function xu(n){return In(),n}function Yi(){throw new Error("startTransition cannot be called during server rendering.")}function Xs(){return In(),[!1,Yi]}function Ya(){var n=xr,a=iu(n.treeContext),f=Uo;if(f===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var h=Ni++;return st(f,a,h)}function Wo(){}var Zs={readContext:du,useContext:$s,useMemo:Gs,useReducer:Ys,useRef:pu,useState:hu,useInsertionEffect:Wo,useLayoutEffect:mu,useCallback:vu,useImperativeHandle:Wo,useEffect:Wo,useDebugValue:Wo,useDeferredValue:xu,useTransition:Xs,useId:Ya,useMutableSource:yu,useSyncExternalStore:bu},Uo=null;function Gi(n){Uo=n}function Ga(n){try{var a="",f=n;do{switch(f.tag){case 0:a+=Oo(f.type,null,null);break;case 1:a+=La(f.type,null,null);break;case 2:a+=Fa(f.type,null,null);break}f=f.parent}while(f);return a}catch(h){return`
65
- Error generating stack: `+h.message+`
66
- `+h.stack}}var Gn=r.ReactCurrentDispatcher,Xi=r.ReactDebugCurrentFrame,Zi=0,Cr=1,Js=2,Xa=3,Er=4,Su=0,Qs=1,hn=2,wu=12800;function ku(n){return console.error(n),null}function No(){}function Za(n,a,f,h,w,I,O,U,J){var ie=[],se=new Set,me={destination:null,responseState:a,progressiveChunkSize:h===void 0?wu:h,status:Su,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:se,pingedTasks:ie,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:w===void 0?ku:w,onAllReady:I===void 0?No:I,onShellReady:O===void 0?No:O,onShellError:U===void 0?No:U,onFatalError:J===void 0?No:J},Me=Xn(me,0,null,f,!1,!1);Me.parentFlushed=!0;var rt=Ho(me,n,null,Me,se,Yn,Va,zi);return ie.push(rt),me}function Ji(n,a){var f=n.pingedTasks;f.push(a),f.length===1&&y(function(){return ll(n)})}function Mn(n,a){return{id:Ot,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:a,errorDigest:null}}function Ho(n,a,f,h,w,I,O,U){n.allPendingTasks++,f===null?n.pendingRootTasks++:f.pendingTasks++;var J={node:a,ping:function(){return Ji(n,J)},blockedBoundary:f,blockedSegment:h,abortSet:w,legacyContext:I,context:O,treeContext:U};return J.componentStack=null,w.add(J),J}function Xn(n,a,f,h,w,I){return{status:Zi,id:-1,index:a,parentFlushed:!1,chunks:[],children:[],formatContext:h,boundary:f,lastPushedText:w,textEmbedded:I}}var pn=null;function Ja(){return pn===null||pn.componentStack===null?"":Ga(pn.componentStack)}function jt(n,a){n.componentStack={tag:0,parent:n.componentStack,type:a}}function no(n,a){n.componentStack={tag:1,parent:n.componentStack,type:a}}function Qa(n,a){n.componentStack={tag:2,parent:n.componentStack,type:a}}function Bt(n){n.componentStack===null?s("Unexpectedly popped too many stack frames. This is a bug in React."):n.componentStack=n.componentStack.parent}var Zn=null;function Ka(n,a){{var f;typeof a=="string"?f=a:a&&typeof a.message=="string"?f=a.message:f=String(a);var h=Zn||Ja();Zn=null,n.errorMessage=f,n.errorComponentStack=h}}function $o(n,a){var f=n.onError(a);if(f!=null&&typeof f!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function Qi(n,a){var f=n.onShellError;f(a);var h=n.onFatalError;h(a),n.destination!==null?(n.status=hn,$(n.destination,a)):(n.status=Qs,n.fatalError=a)}function Ks(n,a,f){jt(a,"Suspense");var h=a.blockedBoundary,w=a.blockedSegment,I=f.fallback,O=f.children,U=new Set,J=Mn(n,U),ie=w.chunks.length,se=Xn(n,ie,J,w.formatContext,!1,!1);w.children.push(se),w.lastPushedText=!1;var me=Xn(n,0,null,w.formatContext,!1,!1);me.parentFlushed=!0,a.blockedBoundary=J,a.blockedSegment=me;try{if(Ki(n,a,O),Es(me.chunks,n.responseState,me.lastPushedText,me.textEmbedded),me.status=Cr,Xo(J,me),J.pendingTasks===0){Bt(a);return}}catch(rt){me.status=Er,J.forceClientRender=!0,J.errorDigest=$o(n,rt),Ka(J,rt)}finally{a.blockedBoundary=h,a.blockedSegment=w}var Me=Ho(n,I,h,se,U,a.legacyContext,a.context,a.treeContext);Me.componentStack=a.componentStack,n.pingedTasks.push(Me),Bt(a)}function qs(n,a,f,h){jt(a,f);var w=a.blockedSegment,I=un(w.chunks,f,h,n.responseState,w.formatContext);w.lastPushedText=!1;var O=w.formatContext;w.formatContext=Vn(O,f,h),Ki(n,a,I),w.formatContext=O,xt(w.chunks,f),w.lastPushedText=!1,Bt(a)}function Tu(n){return n.prototype&&n.prototype.isReactComponent}function qa(n,a,f,h,w){var I={};$a(a,I);var O=f(h,w);return fu(f,h,O,w)}function Yo(n,a,f,h,w){var I=f.render();f.props!==w&&(rs||s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Oe(h)||"a component"),rs=!0);{var O=h.childContextTypes;if(O!=null){var U=a.legacyContext,J=yr(f,h,U,O);a.legacyContext=J,Ct(n,a,I),a.legacyContext=U;return}}Ct(n,a,I)}function el(n,a,f,h){Qa(a,f);var w=_s(f,a.legacyContext),I=nu(f,h,w);Vi(I,f,h,w),Yo(n,a,I,f,h),Bt(a)}var es={},Go={},ts={},ns={},rs=!1,tl=!1,nl=!1,os=!1;function Cu(n,a,f,h){var w;if(w=_s(f,a.legacyContext),no(a,f),f.prototype&&typeof f.prototype.render=="function"){var I=Oe(f)||"Unknown";es[I]||(s("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",I,I),es[I]=!0)}var O=qa(n,a,f,h,w),U=Hs();if(typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){var J=Oe(f)||"Unknown";Go[J]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",J,J,J),Go[J]=!0)}if(typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){{var ie=Oe(f)||"Unknown";Go[ie]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",ie,ie,ie),Go[ie]=!0)}Vi(O,f,h,w),Yo(n,a,O,f,h)}else if(Eu(f),U){var se=a.treeContext,me=1,Me=0;a.treeContext=Na(se,me,Me);try{Ct(n,a,O)}finally{a.treeContext=se}}else Ct(n,a,O);Bt(a)}function Eu(n){{if(n&&n.childContextTypes&&s("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),typeof n.getDerivedStateFromProps=="function"){var a=Oe(n)||"Unknown";ns[a]||(s("%s: Function components do not support getDerivedStateFromProps.",a),ns[a]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var f=Oe(n)||"Unknown";ts[f]||(s("%s: Function components do not support contextType.",f),ts[f]=!0)}}}function rl(n,a){if(n&&n.defaultProps){var f=kt({},a),h=n.defaultProps;for(var w in h)f[w]===void 0&&(f[w]=h[w]);return f}return a}function Ru(n,a,f,h,w){no(a,f.render);var I=qa(n,a,f.render,h,w),O=Hs();if(O){var U=a.treeContext,J=1,ie=0;a.treeContext=Na(U,J,ie);try{Ct(n,a,I)}finally{a.treeContext=U}}else Ct(n,a,I);Bt(a)}function Pu(n,a,f,h,w){var I=f.type,O=rl(I,h);as(n,a,I,O,w)}function is(n,a,f,h){f._context===void 0?f!==f.Consumer&&(os||(os=!0,s("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):f=f._context;var w=h.children;typeof w!="function"&&s("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var I=qr(f),O=w(I);Ct(n,a,O)}function Au(n,a,f,h){var w=f._context,I=h.value,O=h.children,U;U=a.context,a.context=jo(w,I),Ct(n,a,O),a.context=Wa(w),U!==a.context&&s("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Tt(n,a,f,h,w){jt(a,"Lazy");var I=f._payload,O=f._init,U=O(I),J=rl(U,h);as(n,a,U,J,w),Bt(a)}function as(n,a,f,h,w){if(typeof f=="function")if(Tu(f)){el(n,a,f,h);return}else{Cu(n,a,f,h);return}if(typeof f=="string"){qs(n,a,f,h);return}switch(f){case Kl:case As:case wi:case ki:case Si:{Ct(n,a,h.children);return}case Ta:{jt(a,"SuspenseList"),Ct(n,a,h.children),Bt(a);return}case Ql:throw new Error("ReactDOMServer does not yet support scope components.");case Zr:{Ks(n,a,h);return}}if(typeof f=="object"&&f!==null)switch(f.$$typeof){case Ao:{Ru(n,a,f,h,w);return}case Ca:{Pu(n,a,f,h,w);return}case Ro:{Au(n,a,f,h);return}case Po:{is(n,a,f,h);return}case Ti:{Tt(n,a,f,h);return}}var I="";throw(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(I+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(f==null?f:typeof f)+"."+I))}function ol(n,a){typeof Symbol=="function"&&n[Symbol.toStringTag]==="Generator"&&(tl||s("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),tl=!0),n.entries===a&&(nl||s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),nl=!0)}function Ct(n,a,f){try{return ss(n,a,f)}catch(h){throw typeof h=="object"&&h!==null&&typeof h.then=="function"||(Zn=Zn!==null?Zn:Ja()),h}}function ss(n,a,f){if(a.node=f,typeof f=="object"&&f!==null){switch(f.$$typeof){case Ps:{var h=f,w=h.type,I=h.props,O=h.ref;as(n,a,w,I,O);return}case ka:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Ti:{var U=f,J=U._payload,ie=U._init,se;try{se=ie(J)}catch(ra){throw typeof ra=="object"&&ra!==null&&typeof ra.then=="function"&&jt(a,"Lazy"),ra}Ct(n,a,se);return}}if(It(f)){il(n,a,f);return}var me=Le(f);if(me){ol(f,me);var Me=me.call(f);if(Me){var rt=Me.next();if(!rt.done){var Vt=[];do Vt.push(rt.value),rt=Me.next();while(!rt.done);il(n,a,Vt);return}return}}var cl=Object.prototype.toString.call(f);throw new Error("Objects are not valid as a React child (found: "+(cl==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":cl)+"). If you meant to render a collection of children, use an array instead.")}if(typeof f=="string"){var fl=a.blockedSegment;fl.lastPushedText=Cs(a.blockedSegment.chunks,f,n.responseState,fl.lastPushedText);return}if(typeof f=="number"){var dl=a.blockedSegment;dl.lastPushedText=Cs(a.blockedSegment.chunks,""+f,n.responseState,dl.lastPushedText);return}typeof f=="function"&&s("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function il(n,a,f){for(var h=f.length,w=0;w<h;w++){var I=a.treeContext;a.treeContext=Na(I,h,w);try{Ki(n,a,f[w])}finally{a.treeContext=I}}}function Iu(n,a,f){var h=a.blockedSegment,w=h.chunks.length,I=Xn(n,w,null,h.formatContext,h.lastPushedText,!0);h.children.push(I),h.lastPushedText=!1;var O=Ho(n,a.node,a.blockedBoundary,I,a.abortSet,a.legacyContext,a.context,a.treeContext);a.componentStack!==null&&(O.componentStack=a.componentStack.parent);var U=O.ping;f.then(U,U)}function Ki(n,a,f){var h=a.blockedSegment.formatContext,w=a.legacyContext,I=a.context,O=null;O=a.componentStack;try{return Ct(n,a,f)}catch(U){if(zo(),typeof U=="object"&&U!==null&&typeof U.then=="function"){Iu(n,a,U),a.blockedSegment.formatContext=h,a.legacyContext=w,a.context=I,Ii(I),a.componentStack=O;return}else throw a.blockedSegment.formatContext=h,a.legacyContext=w,a.context=I,Ii(I),a.componentStack=O,U}}function qi(n,a,f,h){var w=$o(n,h);if(a===null?Qi(n,h):(a.pendingTasks--,a.forceClientRender||(a.forceClientRender=!0,a.errorDigest=w,Ka(a,h),a.parentFlushed&&n.clientRenderedBoundaries.push(a))),n.allPendingTasks--,n.allPendingTasks===0){var I=n.onAllReady;I()}}function al(n){var a=this,f=n.blockedBoundary,h=n.blockedSegment;h.status=Xa,Zo(a,f,h)}function sl(n,a,f){var h=n.blockedBoundary,w=n.blockedSegment;if(w.status=Xa,h===null)a.allPendingTasks--,a.status!==hn&&(a.status=hn,a.destination!==null&&T(a.destination));else{if(h.pendingTasks--,!h.forceClientRender){h.forceClientRender=!0;var I=f===void 0?new Error("The render was aborted by the server without a reason."):f;h.errorDigest=a.onError(I);{var O="The server did not finish this Suspense boundary: ";I&&typeof I.message=="string"?I=O+I.message:I=O+String(I);var U=pn;pn=n;try{Ka(h,I)}finally{pn=U}}h.parentFlushed&&a.clientRenderedBoundaries.push(h)}if(h.fallbackAbortableTasks.forEach(function(ie){return sl(ie,a,f)}),h.fallbackAbortableTasks.clear(),a.allPendingTasks--,a.allPendingTasks===0){var J=a.onAllReady;J()}}}function Xo(n,a){if(a.chunks.length===0&&a.children.length===1&&a.children[0].boundary===null){var f=a.children[0];f.id=a.id,f.parentFlushed=!0,f.status===Cr&&Xo(n,f)}else{var h=n.completedSegments;h.push(a)}}function Zo(n,a,f){if(a===null){if(f.parentFlushed){if(n.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");n.completedRootSegment=f}if(n.pendingRootTasks--,n.pendingRootTasks===0){n.onShellError=No;var h=n.onShellReady;h()}}else if(a.pendingTasks--,!a.forceClientRender){if(a.pendingTasks===0)f.parentFlushed&&f.status===Cr&&Xo(a,f),a.parentFlushed&&n.completedBoundaries.push(a),a.fallbackAbortableTasks.forEach(al,n),a.fallbackAbortableTasks.clear();else if(f.parentFlushed&&f.status===Cr){Xo(a,f);var w=a.completedSegments;w.length===1&&a.parentFlushed&&n.partialBoundaries.push(a)}}if(n.allPendingTasks--,n.allPendingTasks===0){var I=n.onAllReady;I()}}function ea(n,a){var f=a.blockedSegment;if(f.status===Zi){Ii(a.context);var h=null;h=pn,pn=a;try{Ct(n,a,a.node),Es(f.chunks,n.responseState,f.lastPushedText,f.textEmbedded),a.abortSet.delete(a),f.status=Cr,Zo(n,a.blockedBoundary,f)}catch(I){if(zo(),typeof I=="object"&&I!==null&&typeof I.then=="function"){var w=a.ping;I.then(w,w)}else a.abortSet.delete(a),f.status=Er,qi(n,a.blockedBoundary,f,I)}finally{pn=h}}}function ll(n){if(n.status!==hn){var a=eu(),f=Gn.current;Gn.current=Zs;var h;h=Xi.getCurrentStack,Xi.getCurrentStack=Ja;var w=Uo;Gi(n.responseState);try{var I=n.pingedTasks,O;for(O=0;O<I.length;O++){var U=I[O];ea(n,U)}I.splice(0,O),n.destination!==null&&na(n,n.destination)}catch(J){$o(n,J),Qi(n,J)}finally{Gi(w),Gn.current=f,Xi.getCurrentStack=h,f===Zs&&Ii(a)}}}function Jo(n,a,f){switch(f.parentFlushed=!0,f.status){case Zi:{var h=f.id=n.nextSegmentId++;return f.lastPushedText=!1,f.textEmbedded=!1,li(a,n.responseState,h)}case Cr:{f.status=Js;for(var w=!0,I=f.chunks,O=0,U=f.children,J=0;J<U.length;J++){for(var ie=U[J];O<ie.index;O++)p(a,I[O]);w=Qo(n,a,ie)}for(;O<I.length-1;O++)p(a,I[O]);return O<I.length&&(w=x(a,I[O])),w}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Qo(n,a,f){var h=f.boundary;if(h===null)return Jo(n,a,f);if(h.parentFlushed=!0,h.forceClientRender)return Lt(a,n.responseState,h.errorDigest,h.errorMessage,h.errorComponentStack),Jo(n,a,f),Rs(a,n.responseState);if(h.pendingTasks>0){h.rootSegmentID=n.nextSegmentId++,h.completedSegments.length>0&&n.partialBoundaries.push(h);var w=h.id=Ft(n.responseState);return $n(a,n.responseState,w),Jo(n,a,f),To(a,n.responseState)}else{if(h.byteSize>n.progressiveChunkSize)return h.rootSegmentID=n.nextSegmentId++,n.completedBoundaries.push(h),$n(a,n.responseState,h.id),Jo(n,a,f),To(a,n.responseState);wa(a,n.responseState);var I=h.completedSegments;if(I.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var O=I[0];return Qo(n,a,O),Jl(a,n.responseState)}}function Mu(n,a,f){return Gl(a,n.responseState,f.id,f.errorDigest,f.errorMessage,f.errorComponentStack)}function ls(n,a,f){return V(a,n.responseState,f.formatContext,f.id),Qo(n,a,f),Y(a,f.formatContext)}function ta(n,a,f){for(var h=f.completedSegments,w=0;w<h.length;w++){var I=h[w];ul(n,a,f,I)}return h.length=0,Ul(a,n.responseState,f.id,f.rootSegmentID)}function Du(n,a,f){for(var h=f.completedSegments,w=0;w<h.length;w++){var I=h[w];if(!ul(n,a,f,I))return w++,h.splice(0,w),!1}return h.splice(0,w),!0}function ul(n,a,f,h){if(h.status===Js)return!0;var w=h.id;if(w===-1){var I=h.id=f.rootSegmentID;if(I===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return ls(n,a,h)}else return ls(n,a,h),wt(a,n.responseState,w)}function na(n,a){try{var f=n.completedRootSegment;f!==null&&n.pendingRootTasks===0&&(Qo(n,a,f),n.completedRootSegment=null,xo(a,n.responseState));var h=n.clientRenderedBoundaries,w;for(w=0;w<h.length;w++){var I=h[w];if(!Mu(n,a,I)){n.destination=null,w++,h.splice(0,w);return}}h.splice(0,w);var O=n.completedBoundaries;for(w=0;w<O.length;w++){var U=O[w];if(!ta(n,a,U)){n.destination=null,w++,O.splice(0,w);return}}O.splice(0,w);var J=n.partialBoundaries;for(w=0;w<J.length;w++){var ie=J[w];if(!Du(n,a,ie)){n.destination=null,w++,J.splice(0,w);return}}J.splice(0,w);var se=n.completedBoundaries;for(w=0;w<se.length;w++){var me=se[w];if(!ta(n,a,me)){n.destination=null,w++,se.splice(0,w);return}}se.splice(0,w)}finally{n.allPendingTasks===0&&n.pingedTasks.length===0&&n.clientRenderedBoundaries.length===0&&n.completedBoundaries.length===0&&(n.abortableTasks.size!==0&&s("There was still abortable task at the root when we closed. This is a bug in React."),T(a))}}function Ou(n){y(function(){return ll(n)})}function o(n,a){if(n.status===Qs){n.status=hn,$(a,n.fatalError);return}if(n.status!==hn&&n.destination===null){n.destination=a;try{na(n,a)}catch(f){$o(n,f),Qi(n,f)}}}function l(n,a){try{var f=n.abortableTasks;f.forEach(function(h){return sl(h,n,a)}),f.clear(),n.destination!==null&&na(n,n.destination)}catch(h){$o(n,h),Qi(n,h)}}function d(){}function b(n,a,f,h){var w=!1,I=null,O="",U={push:function(me){return me!==null&&(O+=me),!0},destroy:function(me){w=!0,I=me}},J=!1;function ie(){J=!0}var se=Za(n,Zl(f,a?a.identifierPrefix:void 0),Sa(),1/0,d,void 0,ie,void 0,void 0);if(Ou(se),l(se,h),o(se,U),w)throw I;if(!J)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return O}function E(n,a){return b(n,a,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function M(n,a){return b(n,a,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function L(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function N(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}qo.renderToNodeStream=L,qo.renderToStaticMarkup=M,qo.renderToStaticNodeStream=N,qo.renderToString=E,qo.version=t}()),qo}var pl={};/**
64
+ Incoming: %s`,Cr,"["+n.join(", ")+"]","["+s.join(", ")+"]");for(var f=0;f<s.length&&f<n.length;f++)if(!Hi(n[f],s[f]))return!1;return!0}function $s(){if(In>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function $i(){return Ie===null?wr===null?(Wt=!1,wr=Ie=$s()):(Wt=!0,Ie=wr):Ie.next===null?(Wt=!1,Ie=Ie.next=$s()):(Wt=!0,Ie=Ie.next),Ie}function Xa(n,s){xe=s,Sr=n,vn=!1,Gi=0}function mu(n,s,f,m){for(;kr;)kr=!1,Gi=0,In+=1,Ie=null,f=n(s,m);return Uo(),f}function Ys(){var n=Gi!==0;return n}function Uo(){vn=!1,xe=null,Sr=null,kr=!1,wr=null,In=0,at=null,Ie=null}function vu(n){return vn&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),eo(n)}function Xs(n){return Cr="useContext",Mn(),eo(n)}function Yi(n,s){return typeof s=="function"?s(n):s}function gu(n){return Cr="useState",Zs(Yi,n)}function Zs(n,s,f){if(n!==Yi&&(Cr="useReducer"),xe=Mn(),Ie=$i(),Wt){var m=Ie.queue,k=m.dispatch;if(at!==null){var I=at.get(m);if(I!==void 0){at.delete(m);var F=Ie.memoizedState,U=I;do{var Q=U.action;vn=!0,F=n(F,Q),vn=!1,U=U.next}while(U!==null);return Ie.memoizedState=F,[F,k]}}return[Ie.memoizedState,k]}else{vn=!0;var ae;n===Yi?ae=typeof s=="function"?s():s:ae=f!==void 0?f(s):s,vn=!1,Ie.memoizedState=ae;var ue=Ie.queue={last:null,dispatch:null},me=ue.dispatch=xu.bind(null,xe,ue);return[Ie.memoizedState,me]}}function Qs(n,s){xe=Mn(),Ie=$i();var f=s===void 0?null:s;if(Ie!==null){var m=Ie.memoizedState;if(m!==null&&f!==null){var k=m[1];if(pu(f,k))return m[0]}}vn=!0;var I=n();return vn=!1,Ie.memoizedState=[I,f],I}function yu(n){xe=Mn(),Ie=$i();var s=Ie.memoizedState;if(s===null){var f={current:n};return Object.seal(f),Ie.memoizedState=f,f}else return s}function bu(n,s){Cr="useLayoutEffect",a("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function xu(n,s,f){if(In>=Tr)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(n===xe){kr=!0;var m={action:f,next:null};at===null&&(at=new Map);var k=at.get(s);if(k===void 0)at.set(s,m);else{for(var I=k;I.next!==null;)I=I.next;I.next=m}}}function Su(n,s){return Qs(function(){return n},s)}function wu(n,s,f){return Mn(),s(n._source)}function ku(n,s,f){if(f===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return f()}function Tu(n){return Mn(),n}function Xi(){throw new Error("startTransition cannot be called during server rendering.")}function Js(){return Mn(),[!1,Xi]}function Za(){var n=Sr,s=uu(n.treeContext),f=Ho;if(f===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var m=Gi++;return ft(f,s,m)}function No(){}var Ks={readContext:vu,useContext:Xs,useMemo:Qs,useReducer:Zs,useRef:yu,useState:gu,useInsertionEffect:No,useLayoutEffect:bu,useCallback:Su,useImperativeHandle:No,useEffect:No,useDebugValue:No,useDeferredValue:Tu,useTransition:Js,useId:Za,useMutableSource:wu,useSyncExternalStore:ku},Ho=null;function Zi(n){Ho=n}function Qa(n){try{var s="",f=n;do{switch(f.tag){case 0:s+=Lo(f.type,null,null);break;case 1:s+=Ba(f.type,null,null);break;case 2:s+=ja(f.type,null,null);break}f=f.parent}while(f);return s}catch(m){return`
65
+ Error generating stack: `+m.message+`
66
+ `+m.stack}}var Yn=r.ReactCurrentDispatcher,Qi=r.ReactDebugCurrentFrame,Ji=0,Er=1,qs=2,Ja=3,Rr=4,Cu=0,el=1,gn=2,Eu=12800;function Ru(n){return console.error(n),null}function Go(){}function Ka(n,s,f,m,k,I,F,U,Q){var ae=[],ue=new Set,me={destination:null,responseState:s,progressiveChunkSize:m===void 0?Eu:m,status:Cu,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ue,pingedTasks:ae,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:k===void 0?Ru:k,onAllReady:I===void 0?Go:I,onShellReady:F===void 0?Go:F,onShellError:U===void 0?Go:U,onFatalError:Q===void 0?Go:Q},_e=Xn(me,0,null,f,!1,!1);_e.parentFlushed=!0;var st=$o(me,n,null,_e,ue,$n,Ua,Ui);return ae.push(st),me}function Ki(n,s){var f=n.pingedTasks;f.push(s),f.length===1&&p(function(){return fl(n)})}function Dn(n,s){return{id:Bt,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null}}function $o(n,s,f,m,k,I,F,U){n.allPendingTasks++,f===null?n.pendingRootTasks++:f.pendingTasks++;var Q={node:s,ping:function(){return Ki(n,Q)},blockedBoundary:f,blockedSegment:m,abortSet:k,legacyContext:I,context:F,treeContext:U};return Q.componentStack=null,k.add(Q),Q}function Xn(n,s,f,m,k,I){return{status:Ji,id:-1,index:s,parentFlushed:!1,chunks:[],children:[],formatContext:m,boundary:f,lastPushedText:k,textEmbedded:I}}var yn=null;function qa(){return yn===null||yn.componentStack===null?"":Qa(yn.componentStack)}function Ut(n,s){n.componentStack={tag:0,parent:n.componentStack,type:s}}function ro(n,s){n.componentStack={tag:1,parent:n.componentStack,type:s}}function es(n,s){n.componentStack={tag:2,parent:n.componentStack,type:s}}function Nt(n){n.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):n.componentStack=n.componentStack.parent}var Zn=null;function ts(n,s){{var f;typeof s=="string"?f=s:s&&typeof s.message=="string"?f=s.message:f=String(s);var m=Zn||qa();Zn=null,n.errorMessage=f,n.errorComponentStack=m}}function Yo(n,s){var f=n.onError(s);if(f!=null&&typeof f!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function qi(n,s){var f=n.onShellError;f(s);var m=n.onFatalError;m(s),n.destination!==null?(n.status=gn,H(n.destination,s)):(n.status=el,n.fatalError=s)}function tl(n,s,f){Ut(s,"Suspense");var m=s.blockedBoundary,k=s.blockedSegment,I=f.fallback,F=f.children,U=new Set,Q=Dn(n,U),ae=k.chunks.length,ue=Xn(n,ae,Q,k.formatContext,!1,!1);k.children.push(ue),k.lastPushedText=!1;var me=Xn(n,0,null,k.formatContext,!1,!1);me.parentFlushed=!0,s.blockedBoundary=Q,s.blockedSegment=me;try{if(ea(n,s,F),As(me.chunks,n.responseState,me.lastPushedText,me.textEmbedded),me.status=Er,Qo(Q,me),Q.pendingTasks===0){Nt(s);return}}catch(st){me.status=Rr,Q.forceClientRender=!0,Q.errorDigest=Yo(n,st),ts(Q,st)}finally{s.blockedBoundary=m,s.blockedSegment=k}var _e=$o(n,I,m,ue,U,s.legacyContext,s.context,s.treeContext);_e.componentStack=s.componentStack,n.pingedTasks.push(_e),Nt(s)}function nl(n,s,f,m){Ut(s,f);var k=s.blockedSegment,I=hn(k.chunks,f,m,n.responseState,k.formatContext);k.lastPushedText=!1;var F=k.formatContext;k.formatContext=Vn(F,f,m),ea(n,s,I),k.formatContext=F,Ct(k.chunks,f),k.lastPushedText=!1,Nt(s)}function Pu(n){return n.prototype&&n.prototype.isReactComponent}function ns(n,s,f,m,k){var I={};Xa(s,I);var F=f(m,k);return mu(f,m,F,k)}function Xo(n,s,f,m,k){var I=f.render();f.props!==k&&(as||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ze(m)||"a component"),as=!0);{var F=m.childContextTypes;if(F!=null){var U=s.legacyContext,Q=br(f,m,U,F);s.legacyContext=Q,It(n,s,I),s.legacyContext=U;return}}It(n,s,I)}function rl(n,s,f,m){es(s,f);var k=Vs(f,s.legacyContext),I=au(f,m,k);Wi(I,f,m,k),Xo(n,s,I,f,m),Nt(s)}var rs={},Zo={},os={},is={},as=!1,ol=!1,il=!1,ss=!1;function Au(n,s,f,m){var k;if(k=Vs(f,s.legacyContext),ro(s,f),f.prototype&&typeof f.prototype.render=="function"){var I=ze(f)||"Unknown";rs[I]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",I,I),rs[I]=!0)}var F=ns(n,s,f,m,k),U=Ys();if(typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0){var Q=ze(f)||"Unknown";Zo[Q]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Q,Q,Q),Zo[Q]=!0)}if(typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0){{var ae=ze(f)||"Unknown";Zo[ae]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",ae,ae,ae),Zo[ae]=!0)}Wi(F,f,m,k),Xo(n,s,F,f,m)}else if(Iu(f),U){var ue=s.treeContext,me=1,_e=0;s.treeContext=$a(ue,me,_e);try{It(n,s,F)}finally{s.treeContext=ue}}else It(n,s,F);Nt(s)}function Iu(n){{if(n&&n.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),typeof n.getDerivedStateFromProps=="function"){var s=ze(n)||"Unknown";is[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),is[s]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var f=ze(n)||"Unknown";os[f]||(a("%s: Function components do not support contextType.",f),os[f]=!0)}}}function al(n,s){if(n&&n.defaultProps){var f=Pt({},s),m=n.defaultProps;for(var k in m)f[k]===void 0&&(f[k]=m[k]);return f}return s}function Mu(n,s,f,m,k){ro(s,f.render);var I=ns(n,s,f.render,m,k),F=Ys();if(F){var U=s.treeContext,Q=1,ae=0;s.treeContext=$a(U,Q,ae);try{It(n,s,I)}finally{s.treeContext=U}}else It(n,s,I);Nt(s)}function Du(n,s,f,m,k){var I=f.type,F=al(I,m);us(n,s,I,F,k)}function ls(n,s,f,m){f._context===void 0?f!==f.Consumer&&(ss||(ss=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):f=f._context;var k=m.children;typeof k!="function"&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var I=eo(f),F=k(I);It(n,s,F)}function Ou(n,s,f,m){var k=f._context,I=m.value,F=m.children,U;U=s.context,s.context=Vo(k,I),It(n,s,F),s.context=Ha(k),U!==s.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function At(n,s,f,m,k){Ut(s,"Lazy");var I=f._payload,F=f._init,U=F(I),Q=al(U,m);us(n,s,U,Q,k),Nt(s)}function us(n,s,f,m,k){if(typeof f=="function")if(Pu(f)){rl(n,s,f,m);return}else{Au(n,s,f,m);return}if(typeof f=="string"){nl(n,s,f,m);return}switch(f){case nu:case Ds:case Ti:case Ci:case ki:{It(n,s,m.children);return}case Ra:{Ut(s,"SuspenseList"),It(n,s,m.children),Nt(s);return}case tu:throw new Error("ReactDOMServer does not yet support scope components.");case Qr:{tl(n,s,m);return}}if(typeof f=="object"&&f!==null)switch(f.$$typeof){case Mo:{Mu(n,s,f,m,k);return}case Pa:{Du(n,s,f,m,k);return}case Ao:{Ou(n,s,f,m);return}case Io:{ls(n,s,f,m);return}case Ei:{At(n,s,f,m);return}}var I="";throw(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(I+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(f==null?f:typeof f)+"."+I))}function sl(n,s){typeof Symbol=="function"&&n[Symbol.toStringTag]==="Generator"&&(ol||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),ol=!0),n.entries===s&&(il||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),il=!0)}function It(n,s,f){try{return cs(n,s,f)}catch(m){throw typeof m=="object"&&m!==null&&typeof m.then=="function"||(Zn=Zn!==null?Zn:qa()),m}}function cs(n,s,f){if(s.node=f,typeof f=="object"&&f!==null){switch(f.$$typeof){case Ms:{var m=f,k=m.type,I=m.props,F=m.ref;us(n,s,k,I,F);return}case Ea:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Ei:{var U=f,Q=U._payload,ae=U._init,ue;try{ue=ae(Q)}catch(ia){throw typeof ia=="object"&&ia!==null&&typeof ia.then=="function"&&Ut(s,"Lazy"),ia}It(n,s,ue);return}}if(Lt(f)){ll(n,s,f);return}var me=Ue(f);if(me){sl(f,me);var _e=me.call(f);if(_e){var st=_e.next();if(!st.done){var Ht=[];do Ht.push(st.value),st=_e.next();while(!st.done);ll(n,s,Ht);return}return}}var hl=Object.prototype.toString.call(f);throw new Error("Objects are not valid as a React child (found: "+(hl==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":hl)+"). If you meant to render a collection of children, use an array instead.")}if(typeof f=="string"){var pl=s.blockedSegment;pl.lastPushedText=Ps(s.blockedSegment.chunks,f,n.responseState,pl.lastPushedText);return}if(typeof f=="number"){var ml=s.blockedSegment;ml.lastPushedText=Ps(s.blockedSegment.chunks,""+f,n.responseState,ml.lastPushedText);return}typeof f=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function ll(n,s,f){for(var m=f.length,k=0;k<m;k++){var I=s.treeContext;s.treeContext=$a(I,m,k);try{ea(n,s,f[k])}finally{s.treeContext=I}}}function Fu(n,s,f){var m=s.blockedSegment,k=m.chunks.length,I=Xn(n,k,null,m.formatContext,m.lastPushedText,!0);m.children.push(I),m.lastPushedText=!1;var F=$o(n,s.node,s.blockedBoundary,I,s.abortSet,s.legacyContext,s.context,s.treeContext);s.componentStack!==null&&(F.componentStack=s.componentStack.parent);var U=F.ping;f.then(U,U)}function ea(n,s,f){var m=s.blockedSegment.formatContext,k=s.legacyContext,I=s.context,F=null;F=s.componentStack;try{return It(n,s,f)}catch(U){if(Uo(),typeof U=="object"&&U!==null&&typeof U.then=="function"){Fu(n,s,U),s.blockedSegment.formatContext=m,s.legacyContext=k,s.context=I,Di(I),s.componentStack=F;return}else throw s.blockedSegment.formatContext=m,s.legacyContext=k,s.context=I,Di(I),s.componentStack=F,U}}function ta(n,s,f,m){var k=Yo(n,m);if(s===null?qi(n,m):(s.pendingTasks--,s.forceClientRender||(s.forceClientRender=!0,s.errorDigest=k,ts(s,m),s.parentFlushed&&n.clientRenderedBoundaries.push(s))),n.allPendingTasks--,n.allPendingTasks===0){var I=n.onAllReady;I()}}function ul(n){var s=this,f=n.blockedBoundary,m=n.blockedSegment;m.status=Ja,Jo(s,f,m)}function cl(n,s,f){var m=n.blockedBoundary,k=n.blockedSegment;if(k.status=Ja,m===null)s.allPendingTasks--,s.status!==gn&&(s.status=gn,s.destination!==null&&w(s.destination));else{if(m.pendingTasks--,!m.forceClientRender){m.forceClientRender=!0;var I=f===void 0?new Error("The render was aborted by the server without a reason."):f;m.errorDigest=s.onError(I);{var F="The server did not finish this Suspense boundary: ";I&&typeof I.message=="string"?I=F+I.message:I=F+String(I);var U=yn;yn=n;try{ts(m,I)}finally{yn=U}}m.parentFlushed&&s.clientRenderedBoundaries.push(m)}if(m.fallbackAbortableTasks.forEach(function(ae){return cl(ae,s,f)}),m.fallbackAbortableTasks.clear(),s.allPendingTasks--,s.allPendingTasks===0){var Q=s.onAllReady;Q()}}}function Qo(n,s){if(s.chunks.length===0&&s.children.length===1&&s.children[0].boundary===null){var f=s.children[0];f.id=s.id,f.parentFlushed=!0,f.status===Er&&Qo(n,f)}else{var m=n.completedSegments;m.push(s)}}function Jo(n,s,f){if(s===null){if(f.parentFlushed){if(n.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");n.completedRootSegment=f}if(n.pendingRootTasks--,n.pendingRootTasks===0){n.onShellError=Go;var m=n.onShellReady;m()}}else if(s.pendingTasks--,!s.forceClientRender){if(s.pendingTasks===0)f.parentFlushed&&f.status===Er&&Qo(s,f),s.parentFlushed&&n.completedBoundaries.push(s),s.fallbackAbortableTasks.forEach(ul,n),s.fallbackAbortableTasks.clear();else if(f.parentFlushed&&f.status===Er){Qo(s,f);var k=s.completedSegments;k.length===1&&s.parentFlushed&&n.partialBoundaries.push(s)}}if(n.allPendingTasks--,n.allPendingTasks===0){var I=n.onAllReady;I()}}function na(n,s){var f=s.blockedSegment;if(f.status===Ji){Di(s.context);var m=null;m=yn,yn=s;try{It(n,s,s.node),As(f.chunks,n.responseState,f.lastPushedText,f.textEmbedded),s.abortSet.delete(s),f.status=Er,Jo(n,s.blockedBoundary,f)}catch(I){if(Uo(),typeof I=="object"&&I!==null&&typeof I.then=="function"){var k=s.ping;I.then(k,k)}else s.abortSet.delete(s),f.status=Rr,ta(n,s.blockedBoundary,f,I)}finally{yn=m}}}function fl(n){if(n.status!==gn){var s=ou(),f=Yn.current;Yn.current=Ks;var m;m=Qi.getCurrentStack,Qi.getCurrentStack=qa;var k=Ho;Zi(n.responseState);try{var I=n.pingedTasks,F;for(F=0;F<I.length;F++){var U=I[F];na(n,U)}I.splice(0,F),n.destination!==null&&oa(n,n.destination)}catch(Q){Yo(n,Q),qi(n,Q)}finally{Zi(k),Yn.current=f,Qi.getCurrentStack=m,f===Ks&&Di(s)}}}function Ko(n,s,f){switch(f.parentFlushed=!0,f.status){case Ji:{var m=f.id=n.nextSegmentId++;return f.lastPushedText=!1,f.textEmbedded=!1,ci(s,n.responseState,m)}case Er:{f.status=qs;for(var k=!0,I=f.chunks,F=0,U=f.children,Q=0;Q<U.length;Q++){for(var ae=U[Q];F<ae.index;F++)v(s,I[F]);k=qo(n,s,ae)}for(;F<I.length-1;F++)v(s,I[F]);return F<I.length&&(k=b(s,I[F])),k}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function qo(n,s,f){var m=f.boundary;if(m===null)return Ko(n,s,f);if(m.parentFlushed=!0,m.forceClientRender)return zt(s,n.responseState,m.errorDigest,m.errorMessage,m.errorComponentStack),Ko(n,s,f),Is(s,n.responseState);if(m.pendingTasks>0){m.rootSegmentID=n.nextSegmentId++,m.completedSegments.length>0&&n.partialBoundaries.push(m);var k=m.id=Vt(n.responseState);return Gn(s,n.responseState,k),Ko(n,s,f),Eo(s,n.responseState)}else{if(m.byteSize>n.progressiveChunkSize)return m.rootSegmentID=n.nextSegmentId++,n.completedBoundaries.push(m),Gn(s,n.responseState,m.id),Ko(n,s,f),Eo(s,n.responseState);Ca(s,n.responseState);var I=m.completedSegments;if(I.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var F=I[0];return qo(n,s,F),eu(s,n.responseState)}}function Lu(n,s,f){return Jl(s,n.responseState,f.id,f.errorDigest,f.errorMessage,f.errorComponentStack)}function fs(n,s,f){return V(s,n.responseState,f.formatContext,f.id),qo(n,s,f),Z(s,f.formatContext)}function ra(n,s,f){for(var m=f.completedSegments,k=0;k<m.length;k++){var I=m[k];dl(n,s,f,I)}return m.length=0,$l(s,n.responseState,f.id,f.rootSegmentID)}function _u(n,s,f){for(var m=f.completedSegments,k=0;k<m.length;k++){var I=m[k];if(!dl(n,s,f,I))return k++,m.splice(0,k),!1}return m.splice(0,k),!0}function dl(n,s,f,m){if(m.status===qs)return!0;var k=m.id;if(k===-1){var I=m.id=f.rootSegmentID;if(I===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return fs(n,s,m)}else return fs(n,s,m),Rt(s,n.responseState,k)}function oa(n,s){try{var f=n.completedRootSegment;f!==null&&n.pendingRootTasks===0&&(qo(n,s,f),n.completedRootSegment=null,wo(s,n.responseState));var m=n.clientRenderedBoundaries,k;for(k=0;k<m.length;k++){var I=m[k];if(!Lu(n,s,I)){n.destination=null,k++,m.splice(0,k);return}}m.splice(0,k);var F=n.completedBoundaries;for(k=0;k<F.length;k++){var U=F[k];if(!ra(n,s,U)){n.destination=null,k++,F.splice(0,k);return}}F.splice(0,k);var Q=n.partialBoundaries;for(k=0;k<Q.length;k++){var ae=Q[k];if(!_u(n,s,ae)){n.destination=null,k++,Q.splice(0,k);return}}Q.splice(0,k);var ue=n.completedBoundaries;for(k=0;k<ue.length;k++){var me=ue[k];if(!ra(n,s,me)){n.destination=null,k++,ue.splice(0,k);return}}ue.splice(0,k)}finally{n.allPendingTasks===0&&n.pingedTasks.length===0&&n.clientRenderedBoundaries.length===0&&n.completedBoundaries.length===0&&(n.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),w(s))}}function ju(n){p(function(){return fl(n)})}function o(n,s){if(n.status===el){n.status=gn,H(s,n.fatalError);return}if(n.status!==gn&&n.destination===null){n.destination=s;try{oa(n,s)}catch(f){Yo(n,f),qi(n,f)}}}function l(n,s){try{var f=n.abortableTasks;f.forEach(function(m){return cl(m,n,s)}),f.clear(),n.destination!==null&&oa(n,n.destination)}catch(m){Yo(n,m),qi(n,m)}}function d(){}function x(n,s,f,m){var k=!1,I=null,F="",U={push:function(me){return me!==null&&(F+=me),!0},destroy:function(me){k=!0,I=me}},Q=!1;function ae(){Q=!0}var ue=Ka(n,ql(f,s?s.identifierPrefix:void 0),Ta(),1/0,d,void 0,ae,void 0,void 0);if(ju(ue),l(ue,m),o(ue,U),k)throw I;if(!Q)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return F}function E(n,s){return x(n,s,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function M(n,s){return x(n,s,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function L(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function N(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}ti.renderToNodeStream=L,ti.renderToStaticMarkup=M,ti.renderToStaticNodeStream=N,ti.renderToString=E,ti.version=e}()),ti}var gl={};/**
67
67
  * @license React
68
68
  * react-dom-server.browser.development.js
69
69
  *
@@ -71,41 +71,45 @@ Error generating stack: `+h.message+`
71
71
  *
72
72
  * This source code is licensed under the MIT license found in the
73
73
  * LICENSE file in the root directory of this source tree.
74
- */var _c;function Nh(){return _c||(_c=1,process.env.NODE_ENV!=="production"&&function(){var e=oe,t="18.2.0",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(o){{for(var l=arguments.length,d=new Array(l>1?l-1:0),b=1;b<l;b++)d[b-1]=arguments[b];m("warn",o,d)}}function s(o){{for(var l=arguments.length,d=new Array(l>1?l-1:0),b=1;b<l;b++)d[b-1]=arguments[b];m("error",o,d)}}function m(o,l,d){{var b=r.ReactDebugCurrentFrame,E=b.getStackAddendum();E!==""&&(l+="%s",d=d.concat([E]));var M=d.map(function(L){return String(L)});M.unshift("Warning: "+l),Function.prototype.apply.call(console[o],console,M)}}function y(o){o()}var S=512,p=null,x=0;function A(o){p=new Uint8Array(S),x=0}function T(o,l){if(l.length!==0){if(l.length>S){x>0&&(o.enqueue(new Uint8Array(p.buffer,0,x)),p=new Uint8Array(S),x=0),o.enqueue(l);return}var d=l,b=p.length-x;b<d.length&&(b===0?o.enqueue(p):(p.set(d.subarray(0,b),x),o.enqueue(p),d=d.subarray(b)),p=new Uint8Array(S),x=0),p.set(d,x),x+=d.length}}function D(o,l){return T(o,l),!0}function _(o){p&&x>0&&(o.enqueue(new Uint8Array(p.buffer,0,x)),p=null,x=0)}function $(o){o.close()}var G=new TextEncoder;function B(o){return G.encode(o)}function F(o){return G.encode(o)}function Z(o,l){typeof o.error=="function"?o.error(l):o.close()}function X(o){{var l=typeof Symbol=="function"&&Symbol.toStringTag,d=l&&o[Symbol.toStringTag]||o.constructor.name||"Object";return d}}function q(o){try{return te(o),!1}catch{return!0}}function te(o){return""+o}function ee(o,l){if(q(o))return s("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",l,X(o)),te(o)}function re(o,l){if(q(o))return s("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",l,X(o)),te(o)}function le(o){if(q(o))return s("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",X(o)),te(o)}var ce=Object.prototype.hasOwnProperty,ze=0,Ne=1,we=2,He=3,Ce=4,dt=5,Pe=6,ot=":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",Ze=ot+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",je=new RegExp("^["+ot+"]["+Ze+"]*$"),Ut={},he={};function Se(o){return ce.call(he,o)?!0:ce.call(Ut,o)?!1:je.test(o)?(he[o]=!0,!0):(Ut[o]=!0,s("Invalid attribute name: `%s`",o),!1)}function Nt(o,l,d,b){if(d!==null&&d.type===ze)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":{if(b)return!1;if(d!==null)return!d.acceptsBooleans;var E=o.toLowerCase().slice(0,5);return E!=="data-"&&E!=="aria-"}default:return!1}}function mt(o){return ke.hasOwnProperty(o)?ke[o]:null}function Ae(o,l,d,b,E,M,L){this.acceptsBooleans=l===we||l===He||l===Ce,this.attributeName=b,this.attributeNamespace=E,this.mustUseProperty=d,this.propertyName=o,this.type=l,this.sanitizeURL=M,this.removeEmptyString=L}var ke={},Rt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Rt.forEach(function(o){ke[o]=new Ae(o,ze,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var l=o[0],d=o[1];ke[l]=new Ae(l,Ne,!1,d,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){ke[o]=new Ae(o,we,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){ke[o]=new Ae(o,we,!1,o,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"].forEach(function(o){ke[o]=new Ae(o,He,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){ke[o]=new Ae(o,He,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){ke[o]=new Ae(o,Ce,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){ke[o]=new Ae(o,Pe,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){ke[o]=new Ae(o,dt,!1,o.toLowerCase(),null,!1,!1)});var Ht=/[\-\:]([a-z])/g,Ge=function(o){return o[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"].forEach(function(o){var l=o.replace(Ht,Ge);ke[l]=new Ae(l,Ne,!1,o,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(o){var l=o.replace(Ht,Ge);ke[l]=new Ae(l,Ne,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var l=o.replace(Ht,Ge);ke[l]=new Ae(l,Ne,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){ke[o]=new Ae(o,Ne,!1,o.toLowerCase(),null,!1,!1)});var it="xlinkHref";ke[it]=new Ae("xlinkHref",Ne,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){ke[o]=new Ae(o,Ne,!1,o.toLowerCase(),null,!0,!0)});var Ie={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};function yn(o,l){return o+l.charAt(0).toUpperCase()+l.substring(1)}var $e=["Webkit","ms","Moz","O"];Object.keys(Ie).forEach(function(o){$e.forEach(function(l){Ie[yn(l,o)]=Ie[o]})});var qe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function On(o,l){qe[l.type]||l.onChange||l.onInput||l.readOnly||l.disabled||l.value==null||s("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),l.onChange||l.readOnly||l.disabled||l.checked==null||s("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function bn(o,l){if(o.indexOf("-")===-1)return typeof l.is=="string";switch(o){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 Mr={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},gt={},xn=new RegExp("^(aria)-["+Ze+"]*$"),Sn=new RegExp("^(aria)[A-Z]["+Ze+"]*$");function Dr(o,l){{if(ce.call(gt,l)&&gt[l])return!0;if(Sn.test(l)){var d="aria-"+l.slice(4).toLowerCase(),b=Mr.hasOwnProperty(d)?d:null;if(b==null)return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",l),gt[l]=!0,!0;if(l!==b)return s("Invalid ARIA attribute `%s`. Did you mean `%s`?",l,b),gt[l]=!0,!0}if(xn.test(l)){var E=l.toLowerCase(),M=Mr.hasOwnProperty(E)?E:null;if(M==null)return gt[l]=!0,!1;if(l!==M)return s("Unknown ARIA attribute `%s`. Did you mean `%s`?",l,M),gt[l]=!0,!0}}return!0}function vt(o,l){{var d=[];for(var b in l){var E=Dr(o,b);E||d.push(b)}var M=d.map(function(L){return"`"+L+"`"}).join(", ");d.length===1?s("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",M,o):d.length>1&&s("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",M,o)}}function Je(o,l){bn(o,l)||vt(o,l)}var We=!1;function Qn(o,l){{if(o!=="input"&&o!=="textarea"&&o!=="select")return;l!=null&&l.value===null&&!We&&(We=!0,o==="select"&&l.multiple?s("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",o):s("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",o))}}var Kn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},qn=function(){};{var Be={},er=/^on./,Or=/^on[^A-Z]/,Fr=new RegExp("^(aria)-["+Ze+"]*$"),tr=new RegExp("^(aria)[A-Z]["+Ze+"]*$");qn=function(o,l,d,b){if(ce.call(Be,l)&&Be[l])return!0;var E=l.toLowerCase();if(E==="onfocusin"||E==="onfocusout")return s("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Be[l]=!0,!0;if(b!=null){var M=b.registrationNameDependencies,L=b.possibleRegistrationNames;if(M.hasOwnProperty(l))return!0;var N=L.hasOwnProperty(E)?L[E]:null;if(N!=null)return s("Invalid event handler property `%s`. Did you mean `%s`?",l,N),Be[l]=!0,!0;if(er.test(l))return s("Unknown event handler property `%s`. It will be ignored.",l),Be[l]=!0,!0}else if(er.test(l))return Or.test(l)&&s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",l),Be[l]=!0,!0;if(Fr.test(l)||tr.test(l))return!0;if(E==="innerhtml")return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Be[l]=!0,!0;if(E==="aria")return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Be[l]=!0,!0;if(E==="is"&&d!==null&&d!==void 0&&typeof d!="string")return s("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof d),Be[l]=!0,!0;if(typeof d=="number"&&isNaN(d))return s("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",l),Be[l]=!0,!0;var n=mt(l),a=n!==null&&n.type===ze;if(Kn.hasOwnProperty(E)){var f=Kn[E];if(f!==l)return s("Invalid DOM property `%s`. Did you mean `%s`?",l,f),Be[l]=!0,!0}else if(!a&&l!==E)return s("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",l,E),Be[l]=!0,!0;return typeof d=="boolean"&&Nt(l,d,n,!1)?(d?s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',d,l,l,d,l):s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',d,l,l,d,l,l,l),Be[l]=!0,!0):a?!0:Nt(l,d,n,!1)?(Be[l]=!0,!1):((d==="false"||d==="true")&&n!==null&&n.type===He&&(s("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",d,l,d==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',l,d),Be[l]=!0),!0)}}var Fn=function(o,l,d){{var b=[];for(var E in l){var M=qn(o,E,l[E],d);M||b.push(E)}var L=b.map(function(N){return"`"+N+"`"}).join(", ");b.length===1?s("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",L,o):b.length>1&&s("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",L,o)}};function po(o,l,d){bn(o,l)||Fn(o,l,d)}var nr=function(){};{var qt=/^(?:webkit|moz|o)[A-Z]/,rr=/^-ms-/,Lr=/-(.)/g,at=/;\s*$/,Pt={},en={},xe=!1,tn=!1,Ln=function(o){return o.replace(Lr,function(l,d){return d.toUpperCase()})},wn=function(o){Pt.hasOwnProperty(o)&&Pt[o]||(Pt[o]=!0,s("Unsupported style property %s. Did you mean %s?",o,Ln(o.replace(rr,"ms-"))))},At=function(o){Pt.hasOwnProperty(o)&&Pt[o]||(Pt[o]=!0,s("Unsupported vendor-prefixed style property %s. Did you mean %s?",o,o.charAt(0).toUpperCase()+o.slice(1)))},_n=function(o,l){en.hasOwnProperty(l)&&en[l]||(en[l]=!0,s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,o,l.replace(at,"")))},$t=function(o,l){xe||(xe=!0,s("`NaN` is an invalid value for the `%s` css style property.",o))},Fe=function(o,l){tn||(tn=!0,s("`Infinity` is an invalid value for the `%s` css style property.",o))};nr=function(o,l){o.indexOf("-")>-1?wn(o):qt.test(o)?At(o):at.test(l)&&_n(o,l),typeof l=="number"&&(isNaN(l)?$t(o,l):isFinite(l)||Fe(o,l))}}var or=nr,ir=/["'&<>]/;function _r(o){le(o);var l=""+o,d=ir.exec(l);if(!d)return l;var b,E="",M,L=0;for(M=d.index;M<l.length;M++){switch(l.charCodeAt(M)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}L!==M&&(E+=l.substring(L,M)),L=M+1,E+=b}return L!==M?E+l.substring(L,M):E}function Ve(o){return typeof o=="boolean"||typeof o=="number"?""+o:_r(o)}var ar=/([A-Z])/g,mo=/^ms-/;function go(o){return o.replace(ar,"-$1").toLowerCase().replace(mo,"-ms-")}var It=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,sr=!1;function jn(o){!sr&&It.test(o)&&(sr=!0,s("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(o)))}var lr=Array.isArray;function kn(o){return lr(o)}var nn=F("<script>"),vo=F("<\/script>"),ur=F('<script src="'),Bn=F('<script type="module" src="'),rn=F('" async=""><\/script>');function Yt(o){return le(o),(""+o).replace(Mt,Tn)}var Mt=/(<\/|<)(s)(cript)/gi,Tn=function(o,l,d,b){return""+l+(d==="s"?"\\u0073":"\\u0053")+b};function Cn(o,l,d,b,E){var M=o===void 0?"":o,L=l===void 0?nn:F('<script nonce="'+Ve(l)+'">'),N=[];if(d!==void 0&&N.push(L,B(Yt(d)),vo),b!==void 0)for(var n=0;n<b.length;n++)N.push(ur,B(Ve(b[n])),rn);if(E!==void 0)for(var a=0;a<E.length;a++)N.push(Bn,B(Ve(E[a])),rn);return{bootstrapChunks:N,startInlineScript:L,placeholderPrefix:F(M+"P:"),segmentPrefix:F(M+"S:"),boundaryPrefix:M+"B:",idPrefix:M,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var ht=0,De=1,Dt=2,yt=3,Xe=4,Vn=5,Ot=6,Ft=7;function st(o,l){return{insertionMode:o,selectedValue:l}}function Gt(o){var l=o==="http://www.w3.org/2000/svg"?Dt:o==="http://www.w3.org/1998/Math/MathML"?yt:ht;return st(l,null)}function on(o,l,d){switch(l){case"select":return st(De,d.value!=null?d.value:d.defaultValue);case"svg":return st(Dt,null);case"math":return st(yt,null);case"foreignObject":return st(De,null);case"table":return st(Xe,null);case"thead":case"tbody":case"tfoot":return st(Vn,null);case"colgroup":return st(Ft,null);case"tr":return st(Ot,null)}return o.insertionMode>=Xe||o.insertionMode===ht?st(De,null):o}var cr=null;function fr(o){var l=o.nextSuspenseID++;return F(o.boundaryPrefix+l.toString(16))}function zn(o,l,d){var b=o.idPrefix,E=":"+b+"R"+l;return d>0&&(E+="H"+d.toString(32)),E+":"}function an(o){return Ve(o)}var dr=F("<!-- -->");function Wn(o,l,d,b){return l===""?b:(b&&o.push(dr),o.push(B(an(l))),!0)}function Un(o,l,d,b){d&&b&&o.push(dr)}var u=new Map;function g(o){var l=u.get(o);if(l!==void 0)return l;var d=F(Ve(go(o)));return u.set(o,d),d}var C=F(' style="'),R=F(":"),z=F(";");function j(o,l,d){if(typeof d!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var b=!0;for(var E in d)if(ce.call(d,E)){var M=d[E];if(!(M==null||typeof M=="boolean"||M==="")){var L=void 0,N=void 0,n=E.indexOf("--")===0;n?(L=B(Ve(E)),re(M,E),N=B(Ve((""+M).trim()))):(or(E,M),L=g(E),typeof M=="number"?M!==0&&!ce.call(Ie,E)?N=B(M+"px"):N=B(""+M):(re(M,E),N=B(Ve((""+M).trim())))),b?(b=!1,o.push(C,L,R,N)):o.push(z,L,R,N)}}b||o.push(ae)}var H=F(" "),Q=F('="'),ae=F('"'),fe=F('=""');function ue(o,l,d,b){switch(d){case"style":{j(o,l,b);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(d.length>2&&(d[0]==="o"||d[0]==="O")&&(d[1]==="n"||d[1]==="N"))){var E=mt(d);if(E!==null){switch(typeof b){case"function":case"symbol":return;case"boolean":if(!E.acceptsBooleans)return}var M=E.attributeName,L=B(M);switch(E.type){case He:b&&o.push(H,L,fe);return;case Ce:b===!0?o.push(H,L,fe):b===!1||o.push(H,L,Q,B(Ve(b)),ae);return;case dt:isNaN(b)||o.push(H,L,Q,B(Ve(b)),ae);break;case Pe:!isNaN(b)&&b>=1&&o.push(H,L,Q,B(Ve(b)),ae);break;default:E.sanitizeURL&&(ee(b,M),b=""+b,jn(b)),o.push(H,L,Q,B(Ve(b)),ae)}}else if(Se(d)){switch(typeof b){case"function":case"symbol":return;case"boolean":{var N=d.toLowerCase().slice(0,5);if(N!=="data-"&&N!=="aria-")return}}o.push(H,B(d),Q,B(Ve(b)),ae)}}}var ye=F(">"),lt=F("/>");function et(o,l,d){if(l!=null){if(d!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof l!="object"||!("__html"in l))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var b=l.__html;b!=null&&(le(b),o.push(B(""+b)))}}var tt=!1,Xt=!1,bt=!1,Nn=!1,sn=!1,En=!1,Zt=!1;function hr(o,l){{var d=o[l];if(d!=null){var b=kn(d);o.multiple&&!b?s("The `%s` prop supplied to <select> must be an array if `multiple` is true.",l):!o.multiple&&b&&s("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",l)}}}function da(o,l,d){On("select",l),hr(l,"value"),hr(l,"defaultValue"),l.value!==void 0&&l.defaultValue!==void 0&&!bt&&(s("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),bt=!0),o.push(xt("select"));var b=null,E=null;for(var M in l)if(ce.call(l,M)){var L=l[M];if(L==null)continue;switch(M){case"children":b=L;break;case"dangerouslySetInnerHTML":E=L;break;case"defaultValue":case"value":break;default:ue(o,d,M,L);break}}return o.push(ye),et(o,E,b),b}function ha(o){var l="";return e.Children.forEach(o,function(d){d!=null&&(l+=d,!sn&&typeof d!="string"&&typeof d!="number"&&(sn=!0,s("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),l}var yo=F(' selected=""');function pa(o,l,d,b){var E=b.selectedValue;o.push(xt("option"));var M=null,L=null,N=null,n=null;for(var a in l)if(ce.call(l,a)){var f=l[a];if(f==null)continue;switch(a){case"children":M=f;break;case"selected":N=f,Zt||(s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Zt=!0);break;case"dangerouslySetInnerHTML":n=f;break;case"value":L=f;default:ue(o,d,a,f);break}}if(E!=null){var h;if(L!==null?(ee(L,"value"),h=""+L):(n!==null&&(En||(En=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),h=ha(M)),kn(E))for(var w=0;w<E.length;w++){ee(E[w],"value");var I=""+E[w];if(I===h){o.push(yo);break}}else ee(E,"select.value"),""+E===h&&o.push(yo)}else N&&o.push(yo);return o.push(ye),et(o,n,M),M}function bo(o,l,d){On("input",l),l.checked!==void 0&&l.defaultChecked!==void 0&&!Xt&&(s("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),Xt=!0),l.value!==void 0&&l.defaultValue!==void 0&&!tt&&(s("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),tt=!0),o.push(xt("input"));var b=null,E=null,M=null,L=null;for(var N in l)if(ce.call(l,N)){var n=l[N];if(n==null)continue;switch(N){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":L=n;break;case"defaultValue":E=n;break;case"checked":M=n;break;case"value":b=n;break;default:ue(o,d,N,n);break}}return M!==null?ue(o,d,"checked",M):L!==null&&ue(o,d,"checked",L),b!==null?ue(o,d,"value",b):E!==null&&ue(o,d,"value",E),o.push(lt),null}function Jt(o,l,d){On("textarea",l),l.value!==void 0&&l.defaultValue!==void 0&&!Nn&&(s("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Nn=!0),o.push(xt("textarea"));var b=null,E=null,M=null;for(var L in l)if(ce.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":M=N;break;case"value":b=N;break;case"defaultValue":E=N;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:ue(o,d,L,N);break}}if(b===null&&E!==null&&(b=E),o.push(ye),M!=null){if(s("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),b!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(kn(M)){if(M.length>1)throw new Error("<textarea> can only have at most one child.");le(M[0]),b=""+M[0]}le(M),b=""+M}return typeof b=="string"&&b[0]===`
75
- `&&o.push(Rn),b!==null&&(ee(b,"value"),o.push(B(an(""+b)))),null}function pr(o,l,d,b){o.push(xt(d));for(var E in l)if(ce.call(l,E)){var M=l[E];if(M==null)continue;switch(E){case"children":case"dangerouslySetInnerHTML":throw new Error(d+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ue(o,b,E,M);break}}return o.push(lt),null}function jr(o,l,d){o.push(xt("menuitem"));for(var b in l)if(ce.call(l,b)){var E=l[b];if(E==null)continue;switch(b){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:ue(o,d,b,E);break}}return o.push(ye),null}function Ee(o,l,d){o.push(xt("title"));var b=null;for(var E in l)if(ce.call(l,E)){var M=l[E];if(M==null)continue;switch(E){case"children":b=M;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:ue(o,d,E,M);break}}o.push(ye);{var L=Array.isArray(b)&&b.length<2?b[0]||null:b;Array.isArray(b)&&b.length>1?s("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):L!=null&&L.$$typeof!=null?s("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):L!=null&&typeof L!="string"&&typeof L!="number"&&s("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return b}function ln(o,l,d,b){o.push(xt(d));var E=null,M=null;for(var L in l)if(ce.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;default:ue(o,b,L,N);break}}return o.push(ye),et(o,M,E),typeof E=="string"?(o.push(B(an(E))),null):E}function ut(o,l,d,b){o.push(xt(d));var E=null,M=null;for(var L in l)if(ce.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;case"style":j(o,b,N);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Se(L)&&typeof N!="function"&&typeof N!="symbol"&&o.push(H,B(L),Q,B(Ve(N)),ae);break}}return o.push(ye),et(o,M,E),E}var Rn=F(`
76
- `);function un(o,l,d,b){o.push(xt(d));var E=null,M=null;for(var L in l)if(ce.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;default:ue(o,b,L,N);break}}if(o.push(ye),M!=null){if(E!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof M!="object"||!("__html"in M))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var n=M.__html;n!=null&&(typeof n=="string"&&n.length>0&&n[0]===`
77
- `?o.push(Rn,B(n)):(le(n),o.push(B(""+n))))}return typeof E=="string"&&E[0]===`
78
- `&&o.push(Rn),E}var Br=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,cn=new Map;function xt(o){var l=cn.get(o);if(l===void 0){if(!Br.test(o))throw new Error("Invalid tag: "+o);l=F("<"+o),cn.set(o,l)}return l}var xo=F("<!DOCTYPE html>");function So(o,l,d,b,E){switch(Je(l,d),Qn(l,d),po(l,d,null),!d.suppressContentEditableWarning&&d.contentEditable&&d.children!=null&&s("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),E.insertionMode!==Dt&&E.insertionMode!==yt&&l.indexOf("-")===-1&&typeof d.is!="string"&&l.toLowerCase()!==l&&s("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),l){case"select":return da(o,d,b);case"option":return pa(o,d,b,E);case"textarea":return Jt(o,d,b);case"input":return bo(o,d,b);case"menuitem":return jr(o,d,b);case"title":return Ee(o,d,b);case"listing":case"pre":return un(o,d,l,b);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return pr(o,d,l,b);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 ln(o,d,l,b);case"html":return E.insertionMode===ht&&o.push(xo),ln(o,d,l,b);default:return l.indexOf("-")===-1&&typeof d.is!="string"?ln(o,d,l,b):ut(o,d,l,b)}}var si=F("</"),li=F(">");function ui(o,l,d){switch(l){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.push(si,B(l),li)}}function ma(o,l){for(var d=l.bootstrapChunks,b=0;b<d.length-1;b++)T(o,d[b]);return b<d.length?D(o,d[b]):!0}var ga=F('<template id="'),Vr=F('"></template>');function zr(o,l,d){T(o,ga),T(o,l.placeholderPrefix);var b=B(d.toString(16));return T(o,b),D(o,Vr)}var Wr=F("<!--$-->"),mr=F('<!--$?--><template id="'),va=F('"></template>'),gr=F("<!--$!-->"),wo=F("<!--/$-->"),ko=F("<template"),Hn=F('"'),$n=F(' data-dgst="'),Ur=F(' data-msg="'),ci=F(' data-stck="'),To=F("></template>");function fi(o,l){return D(o,Wr)}function Nr(o,l,d){if(T(o,mr),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return T(o,d),D(o,va)}function ct(o,l,d,b,E){var M;return M=D(o,gr),T(o,ko),d&&(T(o,$n),T(o,B(Ve(d))),T(o,Hn)),b&&(T(o,Ur),T(o,B(Ve(b))),T(o,Hn)),E&&(T(o,ci),T(o,B(Ve(E))),T(o,Hn)),M=D(o,To),M}function di(o,l){return D(o,wo)}function Hr(o,l){return D(o,wo)}function ya(o,l){return D(o,wo)}var hi=F('<div hidden id="'),$r=F('">'),pi=F("</div>"),mi=F('<svg aria-hidden="true" style="display:none" id="'),Yr=F('">'),Gr=F("</svg>"),gi=F('<math aria-hidden="true" style="display:none" id="'),vi=F('">'),yi=F("</math>"),Co=F('<table hidden id="'),bi=F('">'),c=F("</table>"),v=F('<table hidden><tbody id="'),k=F('">'),P=F("</tbody></table>"),W=F('<table hidden><tr id="'),V=F('">'),Y=F("</tr></table>"),K=F('<table hidden><colgroup id="'),de=F('">'),ve=F("</colgroup></table>");function ge(o,l,d,b){switch(d.insertionMode){case ht:case De:return T(o,hi),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,$r);case Dt:return T(o,mi),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,Yr);case yt:return T(o,gi),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,vi);case Xe:return T(o,Co),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,bi);case Vn:return T(o,v),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,k);case Ot:return T(o,W),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,V);case Ft:return T(o,K),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,de);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Re(o,l){switch(l.insertionMode){case ht:case De:return D(o,pi);case Dt:return D(o,Gr);case yt:return D(o,yi);case Xe:return D(o,c);case Vn:return D(o,P);case Ot:return D(o,Y);case Ft:return D(o,ve);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var ft="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",St='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',wt='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Xr=F(ft+';$RS("'),xi=F('$RS("'),Eo=F('","'),Wl=F('")<\/script>');function Ul(o,l,d){T(o,l.startInlineScript),l.sentCompleteSegmentFunction?T(o,xi):(l.sentCompleteSegmentFunction=!0,T(o,Xr)),T(o,l.segmentPrefix);var b=B(d.toString(16));return T(o,b),T(o,Eo),T(o,l.placeholderPrefix),T(o,b),D(o,Wl)}var Nl=F(St+';$RC("'),Hl=F('$RC("'),$l=F('","'),Yl=F('")<\/script>');function ba(o,l,d,b){if(T(o,l.startInlineScript),l.sentCompleteBoundaryFunction?T(o,Hl):(l.sentCompleteBoundaryFunction=!0,T(o,Nl)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var E=B(b.toString(16));return T(o,d),T(o,$l),T(o,l.segmentPrefix),T(o,E),D(o,Yl)}var Gl=F(wt+';$RX("'),Xl=F('$RX("'),xa=F('"'),Zl=F(")<\/script>"),Sa=F(",");function Cs(o,l,d,b,E,M){if(T(o,l.startInlineScript),l.sentClientRenderFunction?T(o,Xl):(l.sentClientRenderFunction=!0,T(o,Gl)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return T(o,d),T(o,xa),(b||E||M)&&(T(o,Sa),T(o,B(wa(b||"")))),(E||M)&&(T(o,Sa),T(o,B(wa(E||"")))),M&&(T(o,Sa),T(o,B(wa(M)))),D(o,Zl)}var Es=/[<\u2028\u2029]/g;function wa(o){var l=JSON.stringify(o);return l.replace(Es,function(d){switch(d){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Lt=Object.assign,Jl=Symbol.for("react.element"),Rs=Symbol.for("react.portal"),kt=Symbol.for("react.fragment"),Ps=Symbol.for("react.strict_mode"),ka=Symbol.for("react.profiler"),Si=Symbol.for("react.provider"),wi=Symbol.for("react.context"),ki=Symbol.for("react.forward_ref"),Ro=Symbol.for("react.suspense"),Po=Symbol.for("react.suspense_list"),Ao=Symbol.for("react.memo"),Zr=Symbol.for("react.lazy"),Ta=Symbol.for("react.scope"),Ca=Symbol.for("react.debug_trace_mode"),Ti=Symbol.for("react.legacy_hidden"),Ql=Symbol.for("react.default_value"),As=Symbol.iterator,Kl="@@iterator";function ql(o){if(o===null||typeof o!="object")return null;var l=As&&o[As]||o[Kl];return typeof l=="function"?l:null}function Is(o,l,d){var b=o.displayName;if(b)return b;var E=l.displayName||l.name||"";return E!==""?d+"("+E+")":d}function Ms(o){return o.displayName||"Context"}function Le(o){if(o==null)return null;if(typeof o.tag=="number"&&s("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case kt:return"Fragment";case Rs:return"Portal";case ka:return"Profiler";case Ps:return"StrictMode";case Ro:return"Suspense";case Po:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case wi:var l=o;return Ms(l)+".Consumer";case Si:var d=o;return Ms(d._context)+".Provider";case ki:return Is(o,o.render,"ForwardRef");case Ao:var b=o.displayName||null;return b!==null?b:Le(o.type)||"Memo";case Zr:{var E=o,M=E._payload,L=E._init;try{return Le(L(M))}catch{return null}}}return null}var Io=0,Ea,Oe,Jr,Ra,Pa,Aa,Ia;function Ma(){}Ma.__reactDisabledLog=!0;function Ds(){{if(Io===0){Ea=console.log,Oe=console.info,Jr=console.warn,Ra=console.error,Pa=console.group,Aa=console.groupCollapsed,Ia=console.groupEnd;var o={configurable:!0,enumerable:!0,value:Ma,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}Io++}}function Os(){{if(Io--,Io===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},o,{value:Ea}),info:Lt({},o,{value:Oe}),warn:Lt({},o,{value:Jr}),error:Lt({},o,{value:Ra}),group:Lt({},o,{value:Pa}),groupCollapsed:Lt({},o,{value:Aa}),groupEnd:Lt({},o,{value:Ia})})}Io<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ci=r.ReactCurrentDispatcher,Da;function Mo(o,l,d){{if(Da===void 0)try{throw Error()}catch(E){var b=E.stack.trim().match(/\n( *(at )?)/);Da=b&&b[1]||""}return`
79
- `+Da+o}}var Do=!1,Qr;{var Oo=typeof WeakMap=="function"?WeakMap:Map;Qr=new Oo}function Fo(o,l){if(!o||Do)return"";{var d=Qr.get(o);if(d!==void 0)return d}var b;Do=!0;var E=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var M;M=Ci.current,Ci.current=null,Ds();try{if(l){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(O){b=O}Reflect.construct(o,[],L)}else{try{L.call()}catch(O){b=O}o.call(L.prototype)}}else{try{throw Error()}catch(O){b=O}o()}}catch(O){if(O&&b&&typeof O.stack=="string"){for(var N=O.stack.split(`
80
- `),n=b.stack.split(`
81
- `),a=N.length-1,f=n.length-1;a>=1&&f>=0&&N[a]!==n[f];)f--;for(;a>=1&&f>=0;a--,f--)if(N[a]!==n[f]){if(a!==1||f!==1)do if(a--,f--,f<0||N[a]!==n[f]){var h=`
82
- `+N[a].replace(" at new "," at ");return o.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",o.displayName)),typeof o=="function"&&Qr.set(o,h),h}while(a>=1&&f>=0);break}}}finally{Do=!1,Ci.current=M,Os(),Error.prepareStackTrace=E}var w=o?o.displayName||o.name:"",I=w?Mo(w):"";return typeof o=="function"&&Qr.set(o,I),I}function Ei(o,l,d){return Fo(o,!0)}function Fs(o,l,d){return Fo(o,!1)}function Oa(o){var l=o.prototype;return!!(l&&l.isReactComponent)}function Fa(o,l,d){if(o==null)return"";if(typeof o=="function")return Fo(o,Oa(o));if(typeof o=="string")return Mo(o);switch(o){case Ro:return Mo("Suspense");case Po:return Mo("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case ki:return Fs(o.render);case Ao:return Fa(o.type,l,d);case Zr:{var b=o,E=b._payload,M=b._init;try{return Fa(M(E),l,d)}catch{}}}return""}var La={},Ls=r.ReactDebugCurrentFrame;function Kr(o){if(o){var l=o._owner,d=Fa(o.type,o._source,l?l.type:null);Ls.setExtraStackFrame(d)}else Ls.setExtraStackFrame(null)}function _a(o,l,d,b,E){{var M=Function.call.bind(ce);for(var L in o)if(M(o,L)){var N=void 0;try{if(typeof o[L]!="function"){var n=Error((b||"React class")+": "+d+" type `"+L+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[L]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw n.name="Invariant Violation",n}N=o[L](l,L,b,d,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(a){N=a}N&&!(N instanceof Error)&&(Kr(E),s("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",b||"React class",d,L,typeof N),Kr(null)),N instanceof Error&&!(N.message in La)&&(La[N.message]=!0,Kr(E),s("Failed %s type: %s",d,N.message),Kr(null))}}}var Ri;Ri={};var vr={};Object.freeze(vr);function ja(o,l){{var d=o.contextTypes;if(!d)return vr;var b={};for(var E in d)b[E]=l[E];{var M=Le(o)||"Unknown";_a(d,b,"context",M)}return b}}function Ba(o,l,d,b){{if(typeof o.getChildContext!="function"){{var E=Le(l)||"Unknown";Ri[E]||(Ri[E]=!0,s("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",E,E))}return d}var M=o.getChildContext();for(var L in M)if(!(L in b))throw new Error((Le(l)||"Unknown")+'.getChildContext(): key "'+L+'" is not defined in childContextTypes.');{var N=Le(l)||"Unknown";_a(b,M,"child context",N)}return Lt({},d,M)}}var Yn;Yn={};var _s=null,yr=null;function br(o){o.context._currentValue=o.parentValue}function Va(o){o.context._currentValue=o.value}function fn(o,l){if(o!==l){br(o);var d=o.parent,b=l.parent;if(d===null){if(b!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(b===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");fn(d,b)}Va(l)}}function Pi(o){br(o);var l=o.parent;l!==null&&Pi(l)}function Ai(o){var l=o.parent;l!==null&&Ai(l),Va(o)}function Lo(o,l){br(o);var d=o.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");d.depth===l.depth?fn(d,l):Lo(d,l)}function za(o,l){var d=l.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");o.depth===d.depth?fn(o,d):za(o,d),Va(l)}function _o(o){var l=yr,d=o;l!==d&&(l===null?Ai(d):d===null?Pi(l):l.depth===d.depth?fn(l,d):l.depth>d.depth?Lo(l,d):za(l,d),yr=d)}function js(o,l){var d;d=o._currentValue,o._currentValue=l,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==Yn&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=Yn;var b=yr,E={parent:b,depth:b===null?0:b.depth+1,context:o,parentValue:d,value:l};return yr=E,E}function Bs(o){var l=yr;if(l===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");l.context!==o&&s("The parent context is not the expected context. This is probably a bug in React.");{var d=l.parentValue;d===Ql?l.context._currentValue=l.context._defaultValue:l.context._currentValue=d,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==Yn&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=Yn}return yr=l.parent}function Ii(){return yr}function jo(o){var l=o._currentValue;return l}function Wa(o){return o._reactInternals}function eu(o,l){o._reactInternals=l}var qr={},Mi={},Ua,Di,Oi,Bo,Fi,eo,Vo,Li,to;{Ua=new Set,Di=new Set,Oi=new Set,Vo=new Set,Bo=new Set,Li=new Set,to=new Set;var _i=new Set;eo=function(o,l){if(!(o===null||typeof o=="function")){var d=l+"_"+o;_i.has(d)||(_i.add(d),s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",l,o))}},Fi=function(o,l){if(l===void 0){var d=Le(o)||"Component";Bo.has(d)||(Bo.add(d),s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",d))}}}function ji(o,l){{var d=o.constructor,b=d&&Le(d)||"ReactClass",E=b+"."+l;if(qr[E])return;s(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
74
+ */var Hc;function ip(){return Hc||(Hc=1,process.env.NODE_ENV!=="production"&&function(){var t=oe,e="18.2.0",r=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(o){{for(var l=arguments.length,d=new Array(l>1?l-1:0),x=1;x<l;x++)d[x-1]=arguments[x];h("warn",o,d)}}function a(o){{for(var l=arguments.length,d=new Array(l>1?l-1:0),x=1;x<l;x++)d[x-1]=arguments[x];h("error",o,d)}}function h(o,l,d){{var x=r.ReactDebugCurrentFrame,E=x.getStackAddendum();E!==""&&(l+="%s",d=d.concat([E]));var M=d.map(function(L){return String(L)});M.unshift("Warning: "+l),Function.prototype.apply.call(console[o],console,M)}}function p(o){o()}var S=512,v=null,b=0;function P(o){v=new Uint8Array(S),b=0}function w(o,l){if(l.length!==0){if(l.length>S){b>0&&(o.enqueue(new Uint8Array(v.buffer,0,b)),v=new Uint8Array(S),b=0),o.enqueue(l);return}var d=l,x=v.length-b;x<d.length&&(x===0?o.enqueue(v):(v.set(d.subarray(0,x),b),o.enqueue(v),d=d.subarray(x)),v=new Uint8Array(S),b=0),v.set(d,b),b+=d.length}}function D(o,l){return w(o,l),!0}function _(o){v&&b>0&&(o.enqueue(new Uint8Array(v.buffer,0,b)),v=null,b=0)}function H(o){o.close()}var Y=new TextEncoder;function j(o){return Y.encode(o)}function O(o){return Y.encode(o)}function X(o,l){typeof o.error=="function"?o.error(l):o.close()}function $(o){{var l=typeof Symbol=="function"&&Symbol.toStringTag,d=l&&o[Symbol.toStringTag]||o.constructor.name||"Object";return d}}function J(o){try{return q(o),!1}catch{return!0}}function q(o){return""+o}function K(o,l){if(J(o))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",l,$(o)),q(o)}function te(o,l){if(J(o))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",l,$(o)),q(o)}function ie(o){if(J(o))return a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",$(o)),q(o)}var se=Object.prototype.hasOwnProperty,Pe=0,De=1,ye=2,Oe=3,Ce=4,et=5,Fe=6,tt=":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",Ee=tt+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",je=new RegExp("^["+tt+"]["+Ee+"]*$"),dt={},he={};function ke(o){return se.call(he,o)?!0:se.call(dt,o)?!1:je.test(o)?(he[o]=!0,!0):(dt[o]=!0,a("Invalid attribute name: `%s`",o),!1)}function ht(o,l,d,x){if(d!==null&&d.type===Pe)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":{if(x)return!1;if(d!==null)return!d.acceptsBooleans;var E=o.toLowerCase().slice(0,5);return E!=="data-"&&E!=="aria-"}default:return!1}}function yt(o){return Se.hasOwnProperty(o)?Se[o]:null}function Re(o,l,d,x,E,M,L){this.acceptsBooleans=l===ye||l===Oe||l===Ce,this.attributeName=x,this.attributeNamespace=E,this.mustUseProperty=d,this.propertyName=o,this.type=l,this.sanitizeURL=M,this.removeEmptyString=L}var Se={},lt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];lt.forEach(function(o){Se[o]=new Re(o,Pe,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var l=o[0],d=o[1];Se[l]=new Re(l,De,!1,d,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){Se[o]=new Re(o,ye,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){Se[o]=new Re(o,ye,!1,o,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"].forEach(function(o){Se[o]=new Re(o,Oe,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){Se[o]=new Re(o,Oe,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){Se[o]=new Re(o,Ce,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){Se[o]=new Re(o,Fe,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){Se[o]=new Re(o,et,!1,o.toLowerCase(),null,!1,!1)});var ut=/[\-\:]([a-z])/g,Xe=function(o){return o[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"].forEach(function(o){var l=o.replace(ut,Xe);Se[l]=new Re(l,De,!1,o,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(o){var l=o.replace(ut,Xe);Se[l]=new Re(l,De,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var l=o.replace(ut,Xe);Se[l]=new Re(l,De,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){Se[o]=new Re(o,De,!1,o.toLowerCase(),null,!1,!1)});var Ke="xlinkHref";Se[Ke]=new Re("xlinkHref",De,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){Se[o]=new Re(o,De,!1,o.toLowerCase(),null,!0,!0)});var Ae={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};function Yt(o,l){return o+l.charAt(0).toUpperCase()+l.substring(1)}var Be=["Webkit","ms","Moz","O"];Object.keys(Ae).forEach(function(o){Be.forEach(function(l){Ae[Yt(l,o)]=Ae[o]})});var He={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function nn(o,l){He[l.type]||l.onChange||l.onInput||l.readOnly||l.disabled||l.value==null||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),l.onChange||l.readOnly||l.disabled||l.checked==null||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Dt(o,l){if(o.indexOf("-")===-1)return typeof l.is=="string";switch(o){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 Dr={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},St={},Sn=new RegExp("^(aria)-["+Ee+"]*$"),wn=new RegExp("^(aria)[A-Z]["+Ee+"]*$");function Or(o,l){{if(se.call(St,l)&&St[l])return!0;if(wn.test(l)){var d="aria-"+l.slice(4).toLowerCase(),x=Dr.hasOwnProperty(d)?d:null;if(x==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",l),St[l]=!0,!0;if(l!==x)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",l,x),St[l]=!0,!0}if(Sn.test(l)){var E=l.toLowerCase(),M=Dr.hasOwnProperty(E)?E:null;if(M==null)return St[l]=!0,!1;if(l!==M)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",l,M),St[l]=!0,!0}}return!0}function wt(o,l){{var d=[];for(var x in l){var E=Or(o,x);E||d.push(x)}var M=d.map(function(L){return"`"+L+"`"}).join(", ");d.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",M,o):d.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",M,o)}}function nt(o,l){Dt(o,l)||wt(o,l)}var Ze=!1;function Kn(o,l){{if(o!=="input"&&o!=="textarea"&&o!=="select")return;l!=null&&l.value===null&&!Ze&&(Ze=!0,o==="select"&&l.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",o):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",o))}}var qn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},er=function(){};{var Ge={},tr=/^on./,Fr=/^on[^A-Z]/,Lr=new RegExp("^(aria)-["+Ee+"]*$"),nr=new RegExp("^(aria)[A-Z]["+Ee+"]*$");er=function(o,l,d,x){if(se.call(Ge,l)&&Ge[l])return!0;var E=l.toLowerCase();if(E==="onfocusin"||E==="onfocusout")return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ge[l]=!0,!0;if(x!=null){var M=x.registrationNameDependencies,L=x.possibleRegistrationNames;if(M.hasOwnProperty(l))return!0;var N=L.hasOwnProperty(E)?L[E]:null;if(N!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",l,N),Ge[l]=!0,!0;if(tr.test(l))return a("Unknown event handler property `%s`. It will be ignored.",l),Ge[l]=!0,!0}else if(tr.test(l))return Fr.test(l)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",l),Ge[l]=!0,!0;if(Lr.test(l)||nr.test(l))return!0;if(E==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ge[l]=!0,!0;if(E==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ge[l]=!0,!0;if(E==="is"&&d!==null&&d!==void 0&&typeof d!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof d),Ge[l]=!0,!0;if(typeof d=="number"&&isNaN(d))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",l),Ge[l]=!0,!0;var n=yt(l),s=n!==null&&n.type===Pe;if(qn.hasOwnProperty(E)){var f=qn[E];if(f!==l)return a("Invalid DOM property `%s`. Did you mean `%s`?",l,f),Ge[l]=!0,!0}else if(!s&&l!==E)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",l,E),Ge[l]=!0,!0;return typeof d=="boolean"&&ht(l,d,n,!1)?(d?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',d,l,l,d,l):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',d,l,l,d,l,l,l),Ge[l]=!0,!0):s?!0:ht(l,d,n,!1)?(Ge[l]=!0,!1):((d==="false"||d==="true")&&n!==null&&n.type===Oe&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",d,l,d==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',l,d),Ge[l]=!0),!0)}}var Fn=function(o,l,d){{var x=[];for(var E in l){var M=er(o,E,l[E],d);M||x.push(E)}var L=x.map(function(N){return"`"+N+"`"}).join(", ");x.length===1?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",L,o):x.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",L,o)}};function vo(o,l,d){Dt(o,l)||Fn(o,l,d)}var rr=function(){};{var rn=/^(?:webkit|moz|o)[A-Z]/,or=/^-ms-/,_r=/-(.)/g,ct=/;\s*$/,Ot={},on={},Te=!1,an=!1,Ln=function(o){return o.replace(_r,function(l,d){return d.toUpperCase()})},kn=function(o){Ot.hasOwnProperty(o)&&Ot[o]||(Ot[o]=!0,a("Unsupported style property %s. Did you mean %s?",o,Ln(o.replace(or,"ms-"))))},Ft=function(o){Ot.hasOwnProperty(o)&&Ot[o]||(Ot[o]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",o,o.charAt(0).toUpperCase()+o.slice(1)))},_n=function(o,l){on.hasOwnProperty(l)&&on[l]||(on[l]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,o,l.replace(ct,"")))},Xt=function(o,l){Te||(Te=!0,a("`NaN` is an invalid value for the `%s` css style property.",o))},We=function(o,l){an||(an=!0,a("`Infinity` is an invalid value for the `%s` css style property.",o))};rr=function(o,l){o.indexOf("-")>-1?kn(o):rn.test(o)?Ft(o):ct.test(l)&&_n(o,l),typeof l=="number"&&(isNaN(l)?Xt(o,l):isFinite(l)||We(o,l))}}var ir=rr,ar=/["'&<>]/;function jr(o){ie(o);var l=""+o,d=ar.exec(l);if(!d)return l;var x,E="",M,L=0;for(M=d.index;M<l.length;M++){switch(l.charCodeAt(M)){case 34:x="&quot;";break;case 38:x="&amp;";break;case 39:x="&#x27;";break;case 60:x="&lt;";break;case 62:x="&gt;";break;default:continue}L!==M&&(E+=l.substring(L,M)),L=M+1,E+=x}return L!==M?E+l.substring(L,M):E}function $e(o){return typeof o=="boolean"||typeof o=="number"?""+o:jr(o)}var sr=/([A-Z])/g,go=/^ms-/;function yo(o){return o.replace(sr,"-$1").toLowerCase().replace(go,"-ms-")}var Lt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,lr=!1;function jn(o){!lr&&Lt.test(o)&&(lr=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(o)))}var ur=Array.isArray;function Tn(o){return ur(o)}var sn=O("<script>"),bo=O("<\/script>"),cr=O('<script src="'),Bn=O('<script type="module" src="'),ln=O('" async=""><\/script>');function Zt(o){return ie(o),(""+o).replace(_t,Cn)}var _t=/(<\/|<)(s)(cript)/gi,Cn=function(o,l,d,x){return""+l+(d==="s"?"\\u0073":"\\u0053")+x};function En(o,l,d,x,E){var M=o===void 0?"":o,L=l===void 0?sn:O('<script nonce="'+$e(l)+'">'),N=[];if(d!==void 0&&N.push(L,j(Zt(d)),bo),x!==void 0)for(var n=0;n<x.length;n++)N.push(cr,j($e(x[n])),ln);if(E!==void 0)for(var s=0;s<E.length;s++)N.push(Bn,j($e(E[s])),ln);return{bootstrapChunks:N,startInlineScript:L,placeholderPrefix:O(M+"P:"),segmentPrefix:O(M+"S:"),boundaryPrefix:M+"B:",idPrefix:M,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var bt=0,Ve=1,jt=2,kt=3,qe=4,Vn=5,Bt=6,Vt=7;function ft(o,l){return{insertionMode:o,selectedValue:l}}function Qt(o){var l=o==="http://www.w3.org/2000/svg"?jt:o==="http://www.w3.org/1998/Math/MathML"?kt:bt;return ft(l,null)}function un(o,l,d){switch(l){case"select":return ft(Ve,d.value!=null?d.value:d.defaultValue);case"svg":return ft(jt,null);case"math":return ft(kt,null);case"foreignObject":return ft(Ve,null);case"table":return ft(qe,null);case"thead":case"tbody":case"tfoot":return ft(Vn,null);case"colgroup":return ft(Vt,null);case"tr":return ft(Bt,null)}return o.insertionMode>=qe||o.insertionMode===bt?ft(Ve,null):o}var fr=null;function dr(o){var l=o.nextSuspenseID++;return O(o.boundaryPrefix+l.toString(16))}function zn(o,l,d){var x=o.idPrefix,E=":"+x+"R"+l;return d>0&&(E+="H"+d.toString(32)),E+":"}function cn(o){return $e(o)}var hr=O("<!-- -->");function Wn(o,l,d,x){return l===""?x:(x&&o.push(hr),o.push(j(cn(l))),!0)}function Un(o,l,d,x){d&&x&&o.push(hr)}var u=new Map;function g(o){var l=u.get(o);if(l!==void 0)return l;var d=O($e(yo(o)));return u.set(o,d),d}var C=O(' style="'),R=O(":"),z=O(";");function B(o,l,d){if(typeof d!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var x=!0;for(var E in d)if(se.call(d,E)){var M=d[E];if(!(M==null||typeof M=="boolean"||M==="")){var L=void 0,N=void 0,n=E.indexOf("--")===0;n?(L=j($e(E)),te(M,E),N=j($e((""+M).trim()))):(ir(E,M),L=g(E),typeof M=="number"?M!==0&&!se.call(Ae,E)?N=j(M+"px"):N=j(""+M):(te(M,E),N=j($e((""+M).trim())))),x?(x=!1,o.push(C,L,R,N)):o.push(z,L,R,N)}}x||o.push(le)}var G=O(" "),ee=O('="'),le=O('"'),fe=O('=""');function ce(o,l,d,x){switch(d){case"style":{B(o,l,x);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(d.length>2&&(d[0]==="o"||d[0]==="O")&&(d[1]==="n"||d[1]==="N"))){var E=yt(d);if(E!==null){switch(typeof x){case"function":case"symbol":return;case"boolean":if(!E.acceptsBooleans)return}var M=E.attributeName,L=j(M);switch(E.type){case Oe:x&&o.push(G,L,fe);return;case Ce:x===!0?o.push(G,L,fe):x===!1||o.push(G,L,ee,j($e(x)),le);return;case et:isNaN(x)||o.push(G,L,ee,j($e(x)),le);break;case Fe:!isNaN(x)&&x>=1&&o.push(G,L,ee,j($e(x)),le);break;default:E.sanitizeURL&&(K(x,M),x=""+x,jn(x)),o.push(G,L,ee,j($e(x)),le)}}else if(ke(d)){switch(typeof x){case"function":case"symbol":return;case"boolean":{var N=d.toLowerCase().slice(0,5);if(N!=="data-"&&N!=="aria-")return}}o.push(G,j(d),ee,j($e(x)),le)}}}var be=O(">"),pt=O("/>");function ot(o,l,d){if(l!=null){if(d!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof l!="object"||!("__html"in l))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var x=l.__html;x!=null&&(ie(x),o.push(j(""+x)))}}var it=!1,Jt=!1,Tt=!1,Nn=!1,fn=!1,Rn=!1,Kt=!1;function pr(o,l){{var d=o[l];if(d!=null){var x=Tn(d);o.multiple&&!x?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",l):!o.multiple&&x&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",l)}}}function ma(o,l,d){nn("select",l),pr(l,"value"),pr(l,"defaultValue"),l.value!==void 0&&l.defaultValue!==void 0&&!Tt&&(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Tt=!0),o.push(Ct("select"));var x=null,E=null;for(var M in l)if(se.call(l,M)){var L=l[M];if(L==null)continue;switch(M){case"children":x=L;break;case"dangerouslySetInnerHTML":E=L;break;case"defaultValue":case"value":break;default:ce(o,d,M,L);break}}return o.push(be),ot(o,E,x),x}function va(o){var l="";return t.Children.forEach(o,function(d){d!=null&&(l+=d,!fn&&typeof d!="string"&&typeof d!="number"&&(fn=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),l}var xo=O(' selected=""');function ga(o,l,d,x){var E=x.selectedValue;o.push(Ct("option"));var M=null,L=null,N=null,n=null;for(var s in l)if(se.call(l,s)){var f=l[s];if(f==null)continue;switch(s){case"children":M=f;break;case"selected":N=f,Kt||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Kt=!0);break;case"dangerouslySetInnerHTML":n=f;break;case"value":L=f;default:ce(o,d,s,f);break}}if(E!=null){var m;if(L!==null?(K(L,"value"),m=""+L):(n!==null&&(Rn||(Rn=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),m=va(M)),Tn(E))for(var k=0;k<E.length;k++){K(E[k],"value");var I=""+E[k];if(I===m){o.push(xo);break}}else K(E,"select.value"),""+E===m&&o.push(xo)}else N&&o.push(xo);return o.push(be),ot(o,n,M),M}function So(o,l,d){nn("input",l),l.checked!==void 0&&l.defaultChecked!==void 0&&!Jt&&(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),Jt=!0),l.value!==void 0&&l.defaultValue!==void 0&&!it&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),it=!0),o.push(Ct("input"));var x=null,E=null,M=null,L=null;for(var N in l)if(se.call(l,N)){var n=l[N];if(n==null)continue;switch(N){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":L=n;break;case"defaultValue":E=n;break;case"checked":M=n;break;case"value":x=n;break;default:ce(o,d,N,n);break}}return M!==null?ce(o,d,"checked",M):L!==null&&ce(o,d,"checked",L),x!==null?ce(o,d,"value",x):E!==null&&ce(o,d,"value",E),o.push(pt),null}function qt(o,l,d){nn("textarea",l),l.value!==void 0&&l.defaultValue!==void 0&&!Nn&&(a("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Nn=!0),o.push(Ct("textarea"));var x=null,E=null,M=null;for(var L in l)if(se.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":M=N;break;case"value":x=N;break;case"defaultValue":E=N;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:ce(o,d,L,N);break}}if(x===null&&E!==null&&(x=E),o.push(be),M!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),x!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Tn(M)){if(M.length>1)throw new Error("<textarea> can only have at most one child.");ie(M[0]),x=""+M[0]}ie(M),x=""+M}return typeof x=="string"&&x[0]===`
75
+ `&&o.push(Pn),x!==null&&(K(x,"value"),o.push(j(cn(""+x)))),null}function mr(o,l,d,x){o.push(Ct(d));for(var E in l)if(se.call(l,E)){var M=l[E];if(M==null)continue;switch(E){case"children":case"dangerouslySetInnerHTML":throw new Error(d+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ce(o,x,E,M);break}}return o.push(pt),null}function Br(o,l,d){o.push(Ct("menuitem"));for(var x in l)if(se.call(l,x)){var E=l[x];if(E==null)continue;switch(x){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:ce(o,d,x,E);break}}return o.push(be),null}function Me(o,l,d){o.push(Ct("title"));var x=null;for(var E in l)if(se.call(l,E)){var M=l[E];if(M==null)continue;switch(E){case"children":x=M;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:ce(o,d,E,M);break}}o.push(be);{var L=Array.isArray(x)&&x.length<2?x[0]||null:x;Array.isArray(x)&&x.length>1?a("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):L!=null&&L.$$typeof!=null?a("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):L!=null&&typeof L!="string"&&typeof L!="number"&&a("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return x}function dn(o,l,d,x){o.push(Ct(d));var E=null,M=null;for(var L in l)if(se.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;default:ce(o,x,L,N);break}}return o.push(be),ot(o,M,E),typeof E=="string"?(o.push(j(cn(E))),null):E}function mt(o,l,d,x){o.push(Ct(d));var E=null,M=null;for(var L in l)if(se.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;case"style":B(o,x,N);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ke(L)&&typeof N!="function"&&typeof N!="symbol"&&o.push(G,j(L),ee,j($e(N)),le);break}}return o.push(be),ot(o,M,E),E}var Pn=O(`
76
+ `);function hn(o,l,d,x){o.push(Ct(d));var E=null,M=null;for(var L in l)if(se.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;default:ce(o,x,L,N);break}}if(o.push(be),M!=null){if(E!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof M!="object"||!("__html"in M))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var n=M.__html;n!=null&&(typeof n=="string"&&n.length>0&&n[0]===`
77
+ `?o.push(Pn,j(n)):(ie(n),o.push(j(""+n))))}return typeof E=="string"&&E[0]===`
78
+ `&&o.push(Pn),E}var Vr=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,pn=new Map;function Ct(o){var l=pn.get(o);if(l===void 0){if(!Vr.test(o))throw new Error("Invalid tag: "+o);l=O("<"+o),pn.set(o,l)}return l}var wo=O("<!DOCTYPE html>");function ko(o,l,d,x,E){switch(nt(l,d),Kn(l,d),vo(l,d,null),!d.suppressContentEditableWarning&&d.contentEditable&&d.children!=null&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),E.insertionMode!==jt&&E.insertionMode!==kt&&l.indexOf("-")===-1&&typeof d.is!="string"&&l.toLowerCase()!==l&&a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),l){case"select":return ma(o,d,x);case"option":return ga(o,d,x,E);case"textarea":return qt(o,d,x);case"input":return So(o,d,x);case"menuitem":return Br(o,d,x);case"title":return Me(o,d,x);case"listing":case"pre":return hn(o,d,l,x);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return mr(o,d,l,x);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 dn(o,d,l,x);case"html":return E.insertionMode===bt&&o.push(wo),dn(o,d,l,x);default:return l.indexOf("-")===-1&&typeof d.is!="string"?dn(o,d,l,x):mt(o,d,l,x)}}var ui=O("</"),ci=O(">");function fi(o,l,d){switch(l){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.push(ui,j(l),ci)}}function ya(o,l){for(var d=l.bootstrapChunks,x=0;x<d.length-1;x++)w(o,d[x]);return x<d.length?D(o,d[x]):!0}var ba=O('<template id="'),zr=O('"></template>');function Wr(o,l,d){w(o,ba),w(o,l.placeholderPrefix);var x=j(d.toString(16));return w(o,x),D(o,zr)}var Ur=O("<!--$-->"),vr=O('<!--$?--><template id="'),xa=O('"></template>'),gr=O("<!--$!-->"),To=O("<!--/$-->"),Co=O("<template"),Hn=O('"'),Gn=O(' data-dgst="'),Nr=O(' data-msg="'),di=O(' data-stck="'),Eo=O("></template>");function hi(o,l){return D(o,Ur)}function Hr(o,l,d){if(w(o,vr),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(o,d),D(o,xa)}function vt(o,l,d,x,E){var M;return M=D(o,gr),w(o,Co),d&&(w(o,Gn),w(o,j($e(d))),w(o,Hn)),x&&(w(o,Nr),w(o,j($e(x))),w(o,Hn)),E&&(w(o,di),w(o,j($e(E))),w(o,Hn)),M=D(o,Eo),M}function pi(o,l){return D(o,To)}function Gr(o,l){return D(o,To)}function Sa(o,l){return D(o,To)}var mi=O('<div hidden id="'),$r=O('">'),vi=O("</div>"),gi=O('<svg aria-hidden="true" style="display:none" id="'),Yr=O('">'),Xr=O("</svg>"),yi=O('<math aria-hidden="true" style="display:none" id="'),bi=O('">'),xi=O("</math>"),Ro=O('<table hidden id="'),Si=O('">'),c=O("</table>"),y=O('<table hidden><tbody id="'),T=O('">'),A=O("</tbody></table>"),W=O('<table hidden><tr id="'),V=O('">'),Z=O("</tr></table>"),ne=O('<table hidden><colgroup id="'),de=O('">'),ge=O("</colgroup></table>");function ve(o,l,d,x){switch(d.insertionMode){case bt:case Ve:return w(o,mi),w(o,l.segmentPrefix),w(o,j(x.toString(16))),D(o,$r);case jt:return w(o,gi),w(o,l.segmentPrefix),w(o,j(x.toString(16))),D(o,Yr);case kt:return w(o,yi),w(o,l.segmentPrefix),w(o,j(x.toString(16))),D(o,bi);case qe:return w(o,Ro),w(o,l.segmentPrefix),w(o,j(x.toString(16))),D(o,Si);case Vn:return w(o,y),w(o,l.segmentPrefix),w(o,j(x.toString(16))),D(o,T);case Bt:return w(o,W),w(o,l.segmentPrefix),w(o,j(x.toString(16))),D(o,V);case Vt:return w(o,ne),w(o,l.segmentPrefix),w(o,j(x.toString(16))),D(o,de);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Le(o,l){switch(l.insertionMode){case bt:case Ve:return D(o,vi);case jt:return D(o,Xr);case kt:return D(o,xi);case qe:return D(o,c);case Vn:return D(o,A);case Bt:return D(o,Z);case Vt:return D(o,ge);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var gt="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",Et='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Rt='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Zr=O(gt+';$RS("'),wi=O('$RS("'),Po=O('","'),Gl=O('")<\/script>');function $l(o,l,d){w(o,l.startInlineScript),l.sentCompleteSegmentFunction?w(o,wi):(l.sentCompleteSegmentFunction=!0,w(o,Zr)),w(o,l.segmentPrefix);var x=j(d.toString(16));return w(o,x),w(o,Po),w(o,l.placeholderPrefix),w(o,x),D(o,Gl)}var Yl=O(Et+';$RC("'),Xl=O('$RC("'),Zl=O('","'),Ql=O('")<\/script>');function wa(o,l,d,x){if(w(o,l.startInlineScript),l.sentCompleteBoundaryFunction?w(o,Xl):(l.sentCompleteBoundaryFunction=!0,w(o,Yl)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var E=j(x.toString(16));return w(o,d),w(o,Zl),w(o,l.segmentPrefix),w(o,E),D(o,Ql)}var Jl=O(Rt+';$RX("'),Kl=O('$RX("'),ka=O('"'),ql=O(")<\/script>"),Ta=O(",");function Ps(o,l,d,x,E,M){if(w(o,l.startInlineScript),l.sentClientRenderFunction?w(o,Kl):(l.sentClientRenderFunction=!0,w(o,Jl)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(o,d),w(o,ka),(x||E||M)&&(w(o,Ta),w(o,j(Ca(x||"")))),(E||M)&&(w(o,Ta),w(o,j(Ca(E||"")))),M&&(w(o,Ta),w(o,j(Ca(M)))),D(o,ql)}var As=/[<\u2028\u2029]/g;function Ca(o){var l=JSON.stringify(o);return l.replace(As,function(d){switch(d){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var zt=Object.assign,eu=Symbol.for("react.element"),Is=Symbol.for("react.portal"),Pt=Symbol.for("react.fragment"),Ms=Symbol.for("react.strict_mode"),Ea=Symbol.for("react.profiler"),ki=Symbol.for("react.provider"),Ti=Symbol.for("react.context"),Ci=Symbol.for("react.forward_ref"),Ao=Symbol.for("react.suspense"),Io=Symbol.for("react.suspense_list"),Mo=Symbol.for("react.memo"),Qr=Symbol.for("react.lazy"),Ra=Symbol.for("react.scope"),Pa=Symbol.for("react.debug_trace_mode"),Ei=Symbol.for("react.legacy_hidden"),tu=Symbol.for("react.default_value"),Ds=Symbol.iterator,nu="@@iterator";function ru(o){if(o===null||typeof o!="object")return null;var l=Ds&&o[Ds]||o[nu];return typeof l=="function"?l:null}function Os(o,l,d){var x=o.displayName;if(x)return x;var E=l.displayName||l.name||"";return E!==""?d+"("+E+")":d}function Fs(o){return o.displayName||"Context"}function Ue(o){if(o==null)return null;if(typeof o.tag=="number"&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case Pt:return"Fragment";case Is:return"Portal";case Ea:return"Profiler";case Ms:return"StrictMode";case Ao:return"Suspense";case Io:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case Ti:var l=o;return Fs(l)+".Consumer";case ki:var d=o;return Fs(d._context)+".Provider";case Ci:return Os(o,o.render,"ForwardRef");case Mo:var x=o.displayName||null;return x!==null?x:Ue(o.type)||"Memo";case Qr:{var E=o,M=E._payload,L=E._init;try{return Ue(L(M))}catch{return null}}}return null}var Do=0,Aa,ze,Jr,Ia,Ma,Da,Oa;function Fa(){}Fa.__reactDisabledLog=!0;function Ls(){{if(Do===0){Aa=console.log,ze=console.info,Jr=console.warn,Ia=console.error,Ma=console.group,Da=console.groupCollapsed,Oa=console.groupEnd;var o={configurable:!0,enumerable:!0,value:Fa,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}Do++}}function _s(){{if(Do--,Do===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:zt({},o,{value:Aa}),info:zt({},o,{value:ze}),warn:zt({},o,{value:Jr}),error:zt({},o,{value:Ia}),group:zt({},o,{value:Ma}),groupCollapsed:zt({},o,{value:Da}),groupEnd:zt({},o,{value:Oa})})}Do<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ri=r.ReactCurrentDispatcher,La;function Oo(o,l,d){{if(La===void 0)try{throw Error()}catch(E){var x=E.stack.trim().match(/\n( *(at )?)/);La=x&&x[1]||""}return`
79
+ `+La+o}}var Fo=!1,Kr;{var Lo=typeof WeakMap=="function"?WeakMap:Map;Kr=new Lo}function _o(o,l){if(!o||Fo)return"";{var d=Kr.get(o);if(d!==void 0)return d}var x;Fo=!0;var E=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var M;M=Ri.current,Ri.current=null,Ls();try{if(l){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(F){x=F}Reflect.construct(o,[],L)}else{try{L.call()}catch(F){x=F}o.call(L.prototype)}}else{try{throw Error()}catch(F){x=F}o()}}catch(F){if(F&&x&&typeof F.stack=="string"){for(var N=F.stack.split(`
80
+ `),n=x.stack.split(`
81
+ `),s=N.length-1,f=n.length-1;s>=1&&f>=0&&N[s]!==n[f];)f--;for(;s>=1&&f>=0;s--,f--)if(N[s]!==n[f]){if(s!==1||f!==1)do if(s--,f--,f<0||N[s]!==n[f]){var m=`
82
+ `+N[s].replace(" at new "," at ");return o.displayName&&m.includes("<anonymous>")&&(m=m.replace("<anonymous>",o.displayName)),typeof o=="function"&&Kr.set(o,m),m}while(s>=1&&f>=0);break}}}finally{Fo=!1,Ri.current=M,_s(),Error.prepareStackTrace=E}var k=o?o.displayName||o.name:"",I=k?Oo(k):"";return typeof o=="function"&&Kr.set(o,I),I}function Pi(o,l,d){return _o(o,!0)}function js(o,l,d){return _o(o,!1)}function _a(o){var l=o.prototype;return!!(l&&l.isReactComponent)}function ja(o,l,d){if(o==null)return"";if(typeof o=="function")return _o(o,_a(o));if(typeof o=="string")return Oo(o);switch(o){case Ao:return Oo("Suspense");case Io:return Oo("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case Ci:return js(o.render);case Mo:return ja(o.type,l,d);case Qr:{var x=o,E=x._payload,M=x._init;try{return ja(M(E),l,d)}catch{}}}return""}var Ba={},Bs=r.ReactDebugCurrentFrame;function qr(o){if(o){var l=o._owner,d=ja(o.type,o._source,l?l.type:null);Bs.setExtraStackFrame(d)}else Bs.setExtraStackFrame(null)}function Va(o,l,d,x,E){{var M=Function.call.bind(se);for(var L in o)if(M(o,L)){var N=void 0;try{if(typeof o[L]!="function"){var n=Error((x||"React class")+": "+d+" type `"+L+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[L]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw n.name="Invariant Violation",n}N=o[L](l,L,x,d,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){N=s}N&&!(N instanceof Error)&&(qr(E),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",x||"React class",d,L,typeof N),qr(null)),N instanceof Error&&!(N.message in Ba)&&(Ba[N.message]=!0,qr(E),a("Failed %s type: %s",d,N.message),qr(null))}}}var Ai;Ai={};var yr={};Object.freeze(yr);function za(o,l){{var d=o.contextTypes;if(!d)return yr;var x={};for(var E in d)x[E]=l[E];{var M=Ue(o)||"Unknown";Va(d,x,"context",M)}return x}}function Wa(o,l,d,x){{if(typeof o.getChildContext!="function"){{var E=Ue(l)||"Unknown";Ai[E]||(Ai[E]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",E,E))}return d}var M=o.getChildContext();for(var L in M)if(!(L in x))throw new Error((Ue(l)||"Unknown")+'.getChildContext(): key "'+L+'" is not defined in childContextTypes.');{var N=Ue(l)||"Unknown";Va(x,M,"child context",N)}return zt({},d,M)}}var $n;$n={};var Vs=null,br=null;function xr(o){o.context._currentValue=o.parentValue}function Ua(o){o.context._currentValue=o.value}function mn(o,l){if(o!==l){xr(o);var d=o.parent,x=l.parent;if(d===null){if(x!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(x===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");mn(d,x)}Ua(l)}}function Ii(o){xr(o);var l=o.parent;l!==null&&Ii(l)}function Mi(o){var l=o.parent;l!==null&&Mi(l),Ua(o)}function jo(o,l){xr(o);var d=o.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");d.depth===l.depth?mn(d,l):jo(d,l)}function Na(o,l){var d=l.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");o.depth===d.depth?mn(o,d):Na(o,d),Ua(l)}function Bo(o){var l=br,d=o;l!==d&&(l===null?Mi(d):d===null?Ii(l):l.depth===d.depth?mn(l,d):l.depth>d.depth?jo(l,d):Na(l,d),br=d)}function zs(o,l){var d;d=o._currentValue,o._currentValue=l,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==$n&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=$n;var x=br,E={parent:x,depth:x===null?0:x.depth+1,context:o,parentValue:d,value:l};return br=E,E}function Ws(o){var l=br;if(l===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");l.context!==o&&a("The parent context is not the expected context. This is probably a bug in React.");{var d=l.parentValue;d===tu?l.context._currentValue=l.context._defaultValue:l.context._currentValue=d,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==$n&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=$n}return br=l.parent}function Di(){return br}function Vo(o){var l=o._currentValue;return l}function Ha(o){return o._reactInternals}function ou(o,l){o._reactInternals=l}var eo={},Oi={},Ga,Fi,Li,zo,_i,to,Wo,ji,no;{Ga=new Set,Fi=new Set,Li=new Set,Wo=new Set,zo=new Set,ji=new Set,no=new Set;var Bi=new Set;to=function(o,l){if(!(o===null||typeof o=="function")){var d=l+"_"+o;Bi.has(d)||(Bi.add(d),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",l,o))}},_i=function(o,l){if(l===void 0){var d=Ue(o)||"Component";zo.has(d)||(zo.add(d),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",d))}}}function Vi(o,l){{var d=o.constructor,x=d&&Ue(d)||"ReactClass",E=x+"."+l;if(eo[E])return;a(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
83
83
 
84
- Please check the code for the %s component.`,l,l,b),qr[E]=!0}}var Bi={isMounted:function(o){return!1},enqueueSetState:function(o,l,d){var b=Wa(o);b.queue===null?ji(o,"setState"):(b.queue.push(l),d!=null&&eo(d,"setState"))},enqueueReplaceState:function(o,l,d){var b=Wa(o);b.replace=!0,b.queue=[l],d!=null&&eo(d,"setState")},enqueueForceUpdate:function(o,l){var d=Wa(o);d.queue===null?ji(o,"forceUpdate"):l!=null&&eo(l,"setState")}};function Vs(o,l,d,b,E){var M=d(E,b);Fi(l,M);var L=M==null?b:Lt({},b,M);return L}function zs(o,l,d){var b=vr,E=o.contextType;if("contextType"in o){var M=E===null||E!==void 0&&E.$$typeof===wi&&E._context===void 0;if(!M&&!to.has(o)){to.add(o);var L="";E===void 0?L=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof E!="object"?L=" However, it is set to a "+typeof E+".":E.$$typeof===Si?L=" Did you accidentally pass the Context.Provider instead?":E._context!==void 0?L=" Did you accidentally pass the Context.Consumer instead?":L=" However, it is set to an object with keys {"+Object.keys(E).join(", ")+"}.",s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Le(o)||"Component",L)}}typeof E=="object"&&E!==null?b=jo(E):b=d;var N=new o(l,b);{if(typeof o.getDerivedStateFromProps=="function"&&(N.state===null||N.state===void 0)){var n=Le(o)||"Component";Ua.has(n)||(Ua.add(n),s("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",n,N.state===null?"null":"undefined",n))}if(typeof o.getDerivedStateFromProps=="function"||typeof N.getSnapshotBeforeUpdate=="function"){var a=null,f=null,h=null;if(typeof N.componentWillMount=="function"&&N.componentWillMount.__suppressDeprecationWarning!==!0?a="componentWillMount":typeof N.UNSAFE_componentWillMount=="function"&&(a="UNSAFE_componentWillMount"),typeof N.componentWillReceiveProps=="function"&&N.componentWillReceiveProps.__suppressDeprecationWarning!==!0?f="componentWillReceiveProps":typeof N.UNSAFE_componentWillReceiveProps=="function"&&(f="UNSAFE_componentWillReceiveProps"),typeof N.componentWillUpdate=="function"&&N.componentWillUpdate.__suppressDeprecationWarning!==!0?h="componentWillUpdate":typeof N.UNSAFE_componentWillUpdate=="function"&&(h="UNSAFE_componentWillUpdate"),a!==null||f!==null||h!==null){var w=Le(o)||"Component",I=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Oi.has(w)||(Oi.add(w),s(`Unsafe legacy lifecycles will not be called for components using new component APIs.
84
+ Please check the code for the %s component.`,l,l,x),eo[E]=!0}}var zi={isMounted:function(o){return!1},enqueueSetState:function(o,l,d){var x=Ha(o);x.queue===null?Vi(o,"setState"):(x.queue.push(l),d!=null&&to(d,"setState"))},enqueueReplaceState:function(o,l,d){var x=Ha(o);x.replace=!0,x.queue=[l],d!=null&&to(d,"setState")},enqueueForceUpdate:function(o,l){var d=Ha(o);d.queue===null?Vi(o,"forceUpdate"):l!=null&&to(l,"setState")}};function Us(o,l,d,x,E){var M=d(E,x);_i(l,M);var L=M==null?x:zt({},x,M);return L}function Ns(o,l,d){var x=yr,E=o.contextType;if("contextType"in o){var M=E===null||E!==void 0&&E.$$typeof===Ti&&E._context===void 0;if(!M&&!no.has(o)){no.add(o);var L="";E===void 0?L=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof E!="object"?L=" However, it is set to a "+typeof E+".":E.$$typeof===ki?L=" Did you accidentally pass the Context.Provider instead?":E._context!==void 0?L=" Did you accidentally pass the Context.Consumer instead?":L=" However, it is set to an object with keys {"+Object.keys(E).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Ue(o)||"Component",L)}}typeof E=="object"&&E!==null?x=Vo(E):x=d;var N=new o(l,x);{if(typeof o.getDerivedStateFromProps=="function"&&(N.state===null||N.state===void 0)){var n=Ue(o)||"Component";Ga.has(n)||(Ga.add(n),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",n,N.state===null?"null":"undefined",n))}if(typeof o.getDerivedStateFromProps=="function"||typeof N.getSnapshotBeforeUpdate=="function"){var s=null,f=null,m=null;if(typeof N.componentWillMount=="function"&&N.componentWillMount.__suppressDeprecationWarning!==!0?s="componentWillMount":typeof N.UNSAFE_componentWillMount=="function"&&(s="UNSAFE_componentWillMount"),typeof N.componentWillReceiveProps=="function"&&N.componentWillReceiveProps.__suppressDeprecationWarning!==!0?f="componentWillReceiveProps":typeof N.UNSAFE_componentWillReceiveProps=="function"&&(f="UNSAFE_componentWillReceiveProps"),typeof N.componentWillUpdate=="function"&&N.componentWillUpdate.__suppressDeprecationWarning!==!0?m="componentWillUpdate":typeof N.UNSAFE_componentWillUpdate=="function"&&(m="UNSAFE_componentWillUpdate"),s!==null||f!==null||m!==null){var k=Ue(o)||"Component",I=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Li.has(k)||(Li.add(k),a(`Unsafe legacy lifecycles will not be called for components using new component APIs.
85
85
 
86
86
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
87
87
 
88
88
  The above lifecycles should be removed. Learn more about this warning here:
89
- https://reactjs.org/link/unsafe-component-lifecycles`,w,I,a!==null?`
90
- `+a:"",f!==null?`
91
- `+f:"",h!==null?`
92
- `+h:""))}}}return N}function Ws(o,l,d){{var b=Le(l)||"Component",E=o.render;E||(l.prototype&&typeof l.prototype.render=="function"?s("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",b):s("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",b)),o.getInitialState&&!o.getInitialState.isReactClassApproved&&!o.state&&s("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",b),o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&s("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",b),o.propTypes&&s("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",b),o.contextType&&s("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",b),o.contextTypes&&s("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",b),l.contextType&&l.contextTypes&&!Li.has(l)&&(Li.add(l),s("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",b)),typeof o.componentShouldUpdate=="function"&&s("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",b),l.prototype&&l.prototype.isPureReactComponent&&typeof o.shouldComponentUpdate<"u"&&s("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Le(l)||"A pure component"),typeof o.componentDidUnmount=="function"&&s("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",b),typeof o.componentDidReceiveProps=="function"&&s("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",b),typeof o.componentWillRecieveProps=="function"&&s("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",b),typeof o.UNSAFE_componentWillRecieveProps=="function"&&s("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",b);var M=o.props!==d;o.props!==void 0&&M&&s("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",b,b),o.defaultProps&&s("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",b,b),typeof o.getSnapshotBeforeUpdate=="function"&&typeof o.componentDidUpdate!="function"&&!Di.has(l)&&(Di.add(l),s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Le(l))),typeof o.getDerivedStateFromProps=="function"&&s("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",b),typeof o.getDerivedStateFromError=="function"&&s("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",b),typeof l.getSnapshotBeforeUpdate=="function"&&s("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",b);var L=o.state;L&&(typeof L!="object"||kn(L))&&s("%s.state: must be set to an object or null",b),typeof o.getChildContext=="function"&&typeof l.childContextTypes!="object"&&s("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",b)}}function tu(o,l){var d=l.state;if(typeof l.componentWillMount=="function"){if(l.componentWillMount.__suppressDeprecationWarning!==!0){var b=Le(o)||"Unknown";Mi[b]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
89
+ https://reactjs.org/link/unsafe-component-lifecycles`,k,I,s!==null?`
90
+ `+s:"",f!==null?`
91
+ `+f:"",m!==null?`
92
+ `+m:""))}}}return N}function Hs(o,l,d){{var x=Ue(l)||"Component",E=o.render;E||(l.prototype&&typeof l.prototype.render=="function"?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",x):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",x)),o.getInitialState&&!o.getInitialState.isReactClassApproved&&!o.state&&a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",x),o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",x),o.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",x),o.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",x),o.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",x),l.contextType&&l.contextTypes&&!ji.has(l)&&(ji.add(l),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",x)),typeof o.componentShouldUpdate=="function"&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",x),l.prototype&&l.prototype.isPureReactComponent&&typeof o.shouldComponentUpdate<"u"&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Ue(l)||"A pure component"),typeof o.componentDidUnmount=="function"&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",x),typeof o.componentDidReceiveProps=="function"&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",x),typeof o.componentWillRecieveProps=="function"&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",x),typeof o.UNSAFE_componentWillRecieveProps=="function"&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",x);var M=o.props!==d;o.props!==void 0&&M&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",x,x),o.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",x,x),typeof o.getSnapshotBeforeUpdate=="function"&&typeof o.componentDidUpdate!="function"&&!Fi.has(l)&&(Fi.add(l),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ue(l))),typeof o.getDerivedStateFromProps=="function"&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",x),typeof o.getDerivedStateFromError=="function"&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",x),typeof l.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",x);var L=o.state;L&&(typeof L!="object"||Tn(L))&&a("%s.state: must be set to an object or null",x),typeof o.getChildContext=="function"&&typeof l.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",x)}}function iu(o,l){var d=l.state;if(typeof l.componentWillMount=="function"){if(l.componentWillMount.__suppressDeprecationWarning!==!0){var x=Ue(o)||"Unknown";Oi[x]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
93
93
 
94
94
  * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
95
95
 
96
- Please update the following components: %s`,b),Mi[b]=!0)}l.componentWillMount()}typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),d!==l.state&&(s("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Le(o)||"Component"),Bi.enqueueReplaceState(l,l.state,null))}function nu(o,l,d,b){if(o.queue!==null&&o.queue.length>0){var E=o.queue,M=o.replace;if(o.queue=null,o.replace=!1,M&&E.length===1)l.state=E[0];else{for(var L=M?E[0]:l.state,N=!0,n=M?1:0;n<E.length;n++){var a=E[n],f=typeof a=="function"?a.call(l,L,d,b):a;f!=null&&(N?(N=!1,L=Lt({},L,f)):Lt(L,f))}l.state=L}}else o.queue=null}function Us(o,l,d,b){Ws(o,l,d);var E=o.state!==void 0?o.state:null;o.updater=Bi,o.props=d,o.state=E;var M={queue:[],replace:!1};eu(o,M);var L=l.contextType;if(typeof L=="object"&&L!==null?o.context=jo(L):o.context=b,o.state===d){var N=Le(l)||"Component";Vo.has(N)||(Vo.add(N),s("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",N))}var n=l.getDerivedStateFromProps;typeof n=="function"&&(o.state=Vs(o,l,n,E,d)),typeof l.getDerivedStateFromProps!="function"&&typeof o.getSnapshotBeforeUpdate!="function"&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(tu(l,o),nu(M,o,d,b))}var ru={id:1,overflow:""};function ou(o){var l=o.overflow,d=o.id,b=d&~iu(d);return b.toString(32)+l}function Vi(o,l,d){var b=o.id,E=o.overflow,M=zi(b)-1,L=b&~(1<<M),N=d+1,n=zi(l)+M;if(n>30){var a=M-M%5,f=(1<<a)-1,h=(L&f).toString(32),w=L>>a,I=M-a,O=zi(l)+I,U=N<<I,J=U|w,ie=h+E;return{id:1<<O|J,overflow:ie}}else{var se=N<<M,me=se|L,Me=E;return{id:1<<n|me,overflow:Me}}}function zi(o){return 32-Na(o)}function iu(o){return 1<<zi(o)-1}var Na=Math.clz32?Math.clz32:su,Wi=Math.log,au=Math.LN2;function su(o){var l=o>>>0;return l===0?32:31-(Wi(l)/au|0)|0}function lu(o,l){return o===l&&(o!==0||1/o===1/l)||o!==o&&l!==l}var uu=typeof Object.is=="function"?Object.is:lu,Pn=null,Ha=null,Ui=null,be=null,xr=!1,Sr=!1,Te=0,_t=null,wr=0,Ni=25,nt=!1,An;function kr(){if(Pn===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
96
+ Please update the following components: %s`,x),Oi[x]=!0)}l.componentWillMount()}typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),d!==l.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ue(o)||"Component"),zi.enqueueReplaceState(l,l.state,null))}function au(o,l,d,x){if(o.queue!==null&&o.queue.length>0){var E=o.queue,M=o.replace;if(o.queue=null,o.replace=!1,M&&E.length===1)l.state=E[0];else{for(var L=M?E[0]:l.state,N=!0,n=M?1:0;n<E.length;n++){var s=E[n],f=typeof s=="function"?s.call(l,L,d,x):s;f!=null&&(N?(N=!1,L=zt({},L,f)):zt(L,f))}l.state=L}}else o.queue=null}function Gs(o,l,d,x){Hs(o,l,d);var E=o.state!==void 0?o.state:null;o.updater=zi,o.props=d,o.state=E;var M={queue:[],replace:!1};ou(o,M);var L=l.contextType;if(typeof L=="object"&&L!==null?o.context=Vo(L):o.context=x,o.state===d){var N=Ue(l)||"Component";Wo.has(N)||(Wo.add(N),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",N))}var n=l.getDerivedStateFromProps;typeof n=="function"&&(o.state=Us(o,l,n,E,d)),typeof l.getDerivedStateFromProps!="function"&&typeof o.getSnapshotBeforeUpdate!="function"&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(iu(l,o),au(M,o,d,x))}var su={id:1,overflow:""};function lu(o){var l=o.overflow,d=o.id,x=d&~uu(d);return x.toString(32)+l}function Wi(o,l,d){var x=o.id,E=o.overflow,M=Ui(x)-1,L=x&~(1<<M),N=d+1,n=Ui(l)+M;if(n>30){var s=M-M%5,f=(1<<s)-1,m=(L&f).toString(32),k=L>>s,I=M-s,F=Ui(l)+I,U=N<<I,Q=U|k,ae=m+E;return{id:1<<F|Q,overflow:ae}}else{var ue=N<<M,me=ue|L,_e=E;return{id:1<<n|me,overflow:_e}}}function Ui(o){return 32-$a(o)}function uu(o){return 1<<Ui(o)-1}var $a=Math.clz32?Math.clz32:fu,Ni=Math.log,cu=Math.LN2;function fu(o){var l=o>>>0;return l===0?32:31-(Ni(l)/cu|0)|0}function du(o,l){return o===l&&(o!==0||1/o===1/l)||o!==o&&l!==l}var hu=typeof Object.is=="function"?Object.is:du,An=null,Ya=null,Hi=null,xe=null,Sr=!1,wr=!1,Ie=0,Wt=null,kr=0,Gi=25,at=!1,In;function Tr(){if(An===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
97
97
  1. You might have mismatching versions of React and the renderer (such as React DOM)
98
98
  2. You might be breaking the Rules of Hooks
99
99
  3. You might have more than one copy of React in the same app
100
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return nt&&s("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Pn}function dn(o,l){if(l===null)return s("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",An),!1;o.length!==l.length&&s(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
100
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return at&&a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),An}function vn(o,l){if(l===null)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",In),!1;o.length!==l.length&&a(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
101
101
 
102
102
  Previous: %s
103
- Incoming: %s`,An,"["+o.join(", ")+"]","["+l.join(", ")+"]");for(var d=0;d<l.length&&d<o.length;d++)if(!uu(o[d],l[d]))return!1;return!0}function Tr(){if(wr>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function In(){return be===null?Ui===null?(xr=!1,Ui=be=Tr()):(xr=!0,be=Ui):be.next===null?(xr=!1,be=be.next=Tr()):(xr=!0,be=be.next),be}function cu(o,l){Pn=l,Ha=o,nt=!1,Te=0}function Ns(o,l,d,b){for(;Sr;)Sr=!1,Te=0,wr+=1,be=null,d=o(l,b);return $a(),d}function Hi(){var o=Te!==0;return o}function $a(){nt=!1,Pn=null,Ha=null,Sr=!1,Ui=null,wr=0,_t=null,be=null}function fu(o){return nt&&s("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),jo(o)}function Hs(o){return An="useContext",kr(),jo(o)}function zo(o,l){return typeof l=="function"?l(o):l}function du(o){return An="useState",$s(zo,o)}function $s(o,l,d){if(o!==zo&&(An="useReducer"),Pn=kr(),be=In(),xr){var b=be.queue,E=b.dispatch;if(_t!==null){var M=_t.get(b);if(M!==void 0){_t.delete(b);var L=be.memoizedState,N=M;do{var n=N.action;nt=!0,L=o(L,n),nt=!1,N=N.next}while(N!==null);return be.memoizedState=L,[L,E]}}return[be.memoizedState,E]}else{nt=!0;var a;o===zo?a=typeof l=="function"?l():l:a=d!==void 0?d(l):l,nt=!1,be.memoizedState=a;var f=be.queue={last:null,dispatch:null},h=f.dispatch=Gs.bind(null,Pn,f);return[be.memoizedState,h]}}function $i(o,l){Pn=kr(),be=In();var d=l===void 0?null:l;if(be!==null){var b=be.memoizedState;if(b!==null&&d!==null){var E=b[1];if(dn(d,E))return b[0]}}nt=!0;var M=o();return nt=!1,be.memoizedState=[M,d],M}function hu(o){Pn=kr(),be=In();var l=be.memoizedState;if(l===null){var d={current:o};return Object.seal(d),be.memoizedState=d,d}else return l}function Ys(o,l){An="useLayoutEffect",s("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Gs(o,l,d){if(wr>=Ni)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o===Pn){Sr=!0;var b={action:d,next:null};_t===null&&(_t=new Map);var E=_t.get(l);if(E===void 0)_t.set(l,b);else{for(var M=E;M.next!==null;)M=M.next;M.next=b}}}function pu(o,l){return $i(function(){return o},l)}function mu(o,l,d){return kr(),l(o._source)}function gu(o,l,d){if(d===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return d()}function vu(o){return kr(),o}function yu(){throw new Error("startTransition cannot be called during server rendering.")}function bu(){return kr(),[!1,yu]}function xu(){var o=Ha,l=ou(o.treeContext),d=Ya;if(d===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var b=Te++;return zn(d,l,b)}function Yi(){}var Xs={readContext:fu,useContext:Hs,useMemo:$i,useReducer:$s,useRef:hu,useState:du,useInsertionEffect:Yi,useLayoutEffect:Ys,useCallback:pu,useImperativeHandle:Yi,useEffect:Yi,useDebugValue:Yi,useDeferredValue:vu,useTransition:bu,useId:xu,useMutableSource:mu,useSyncExternalStore:gu},Ya=null;function Wo(o){Ya=o}function Zs(o){try{var l="",d=o;do{switch(d.tag){case 0:l+=Mo(d.type,null,null);break;case 1:l+=Fs(d.type,null,null);break;case 2:l+=Ei(d.type,null,null);break}d=d.parent}while(d);return l}catch(b){return`
104
- Error generating stack: `+b.message+`
105
- `+b.stack}}var Uo=r.ReactCurrentDispatcher,Gi=r.ReactDebugCurrentFrame,Ga=0,Gn=1,Xi=2,Zi=3,Cr=4,Js=0,Xa=1,Er=2,Su=12800;function Qs(o){return console.error(o),null}function hn(){}function wu(o,l,d,b,E,M,L,N,n){var a=[],f=new Set,h={destination:null,responseState:l,progressiveChunkSize:b===void 0?Su:b,status:Js,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:f,pingedTasks:a,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:E===void 0?Qs:E,onAllReady:M===void 0?hn:M,onShellReady:L===void 0?hn:L,onShellError:N===void 0?hn:N,onFatalError:n===void 0?hn:n},w=Ji(h,0,null,d,!1,!1);w.parentFlushed=!0;var I=Za(h,o,null,w,f,vr,_s,ru);return a.push(I),h}function ku(o,l){var d=o.pingedTasks;d.push(l),d.length===1&&y(function(){return Xo(o)})}function No(o,l){return{id:cr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l,errorDigest:null}}function Za(o,l,d,b,E,M,L,N){o.allPendingTasks++,d===null?o.pendingRootTasks++:d.pendingTasks++;var n={node:l,ping:function(){return ku(o,n)},blockedBoundary:d,blockedSegment:b,abortSet:E,legacyContext:M,context:L,treeContext:N};return n.componentStack=null,E.add(n),n}function Ji(o,l,d,b,E,M){return{status:Ga,id:-1,index:l,parentFlushed:!1,chunks:[],children:[],formatContext:b,boundary:d,lastPushedText:E,textEmbedded:M}}var Mn=null;function Ho(){return Mn===null||Mn.componentStack===null?"":Zs(Mn.componentStack)}function Xn(o,l){o.componentStack={tag:0,parent:o.componentStack,type:l}}function pn(o,l){o.componentStack={tag:1,parent:o.componentStack,type:l}}function Ja(o,l){o.componentStack={tag:2,parent:o.componentStack,type:l}}function jt(o){o.componentStack===null?s("Unexpectedly popped too many stack frames. This is a bug in React."):o.componentStack=o.componentStack.parent}var no=null;function Qa(o,l){{var d;typeof l=="string"?d=l:l&&typeof l.message=="string"?d=l.message:d=String(l);var b=no||Ho();no=null,o.errorMessage=d,o.errorComponentStack=b}}function Bt(o,l){var d=o.onError(l);if(d!=null&&typeof d!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function Zn(o,l){var d=o.onShellError;d(l);var b=o.onFatalError;b(l),o.destination!==null?(o.status=Er,Z(o.destination,l)):(o.status=Xa,o.fatalError=l)}function Ka(o,l,d){Xn(l,"Suspense");var b=l.blockedBoundary,E=l.blockedSegment,M=d.fallback,L=d.children,N=new Set,n=No(o,N),a=E.chunks.length,f=Ji(o,a,n,E.formatContext,!1,!1);E.children.push(f),E.lastPushedText=!1;var h=Ji(o,0,null,E.formatContext,!1,!1);h.parentFlushed=!0,l.blockedBoundary=n,l.blockedSegment=h;try{if(ss(o,l,L),Un(h.chunks,o.responseState,h.lastPushedText,h.textEmbedded),h.status=Gn,qi(n,h),n.pendingTasks===0){jt(l);return}}catch(I){h.status=Cr,n.forceClientRender=!0,n.errorDigest=Bt(o,I),Qa(n,I)}finally{l.blockedBoundary=b,l.blockedSegment=E}var w=Za(o,M,b,f,N,l.legacyContext,l.context,l.treeContext);w.componentStack=l.componentStack,o.pingedTasks.push(w),jt(l)}function $o(o,l,d,b){Xn(l,d);var E=l.blockedSegment,M=So(E.chunks,d,b,o.responseState,E.formatContext);E.lastPushedText=!1;var L=E.formatContext;E.formatContext=on(L,d,b),ss(o,l,M),E.formatContext=L,ui(E.chunks,d),E.lastPushedText=!1,jt(l)}function Qi(o){return o.prototype&&o.prototype.isReactComponent}function Ks(o,l,d,b,E){var M={};cu(l,M);var L=d(b,E);return Ns(d,b,L,E)}function qs(o,l,d,b,E){var M=d.render();d.props!==E&&(Go||s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Le(b)||"a component"),Go=!0);{var L=b.childContextTypes;if(L!=null){var N=l.legacyContext,n=Ba(d,b,N,L);l.legacyContext=n,Tt(o,l,M),l.legacyContext=N;return}}Tt(o,l,M)}function Tu(o,l,d,b){Ja(l,d);var E=ja(d,l.legacyContext),M=zs(d,b,E);Us(M,d,b,E),qs(o,l,M,d,b),jt(l)}var qa={},Yo={},el={},es={},Go=!1,ts=!1,ns=!1,rs=!1;function tl(o,l,d,b){var E;if(E=ja(d,l.legacyContext),pn(l,d),d.prototype&&typeof d.prototype.render=="function"){var M=Le(d)||"Unknown";qa[M]||(s("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",M,M),qa[M]=!0)}var L=Ks(o,l,d,b,E),N=Hi();if(typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0){var n=Le(d)||"Unknown";Yo[n]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",n,n,n),Yo[n]=!0)}if(typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0){{var a=Le(d)||"Unknown";Yo[a]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",a,a,a),Yo[a]=!0)}Us(L,d,b,E),qs(o,l,L,d,b)}else if(nl(d),N){var f=l.treeContext,h=1,w=0;l.treeContext=Vi(f,h,w);try{Tt(o,l,L)}finally{l.treeContext=f}}else Tt(o,l,L);jt(l)}function nl(o){{if(o&&o.childContextTypes&&s("%s(...): childContextTypes cannot be defined on a function component.",o.displayName||o.name||"Component"),typeof o.getDerivedStateFromProps=="function"){var l=Le(o)||"Unknown";es[l]||(s("%s: Function components do not support getDerivedStateFromProps.",l),es[l]=!0)}if(typeof o.contextType=="object"&&o.contextType!==null){var d=Le(o)||"Unknown";el[d]||(s("%s: Function components do not support contextType.",d),el[d]=!0)}}}function os(o,l){if(o&&o.defaultProps){var d=Lt({},l),b=o.defaultProps;for(var E in b)d[E]===void 0&&(d[E]=b[E]);return d}return l}function Cu(o,l,d,b,E){pn(l,d.render);var M=Ks(o,l,d.render,b,E),L=Hi();if(L){var N=l.treeContext,n=1,a=0;l.treeContext=Vi(N,n,a);try{Tt(o,l,M)}finally{l.treeContext=N}}else Tt(o,l,M);jt(l)}function Eu(o,l,d,b,E){var M=d.type,L=os(M,b);is(o,l,M,L,E)}function rl(o,l,d,b){d._context===void 0?d!==d.Consumer&&(rs||(rs=!0,s("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):d=d._context;var E=b.children;typeof E!="function"&&s("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var M=jo(d),L=E(M);Tt(o,l,L)}function Ru(o,l,d,b){var E=d._context,M=b.value,L=b.children,N;N=l.context,l.context=js(E,M),Tt(o,l,L),l.context=Bs(E),N!==l.context&&s("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Pu(o,l,d,b,E){Xn(l,"Lazy");var M=d._payload,L=d._init,N=L(M),n=os(N,b);is(o,l,N,n,E),jt(l)}function is(o,l,d,b,E){if(typeof d=="function")if(Qi(d)){Tu(o,l,d,b);return}else{tl(o,l,d,b);return}if(typeof d=="string"){$o(o,l,d,b);return}switch(d){case Ti:case Ca:case Ps:case ka:case kt:{Tt(o,l,b.children);return}case Po:{Xn(l,"SuspenseList"),Tt(o,l,b.children),jt(l);return}case Ta:throw new Error("ReactDOMServer does not yet support scope components.");case Ro:{Ka(o,l,b);return}}if(typeof d=="object"&&d!==null)switch(d.$$typeof){case ki:{Cu(o,l,d,b,E);return}case Ao:{Eu(o,l,d,b,E);return}case Si:{Ru(o,l,d,b);return}case wi:{rl(o,l,d,b);return}case Zr:{Pu(o,l,d,b);return}}var M="";throw(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(M+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(d==null?d:typeof d)+"."+M))}function Au(o,l){typeof Symbol=="function"&&o[Symbol.toStringTag]==="Generator"&&(ts||s("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),ts=!0),o.entries===l&&(ns||s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ns=!0)}function Tt(o,l,d){try{return as(o,l,d)}catch(b){throw typeof b=="object"&&b!==null&&typeof b.then=="function"||(no=no!==null?no:Ho()),b}}function as(o,l,d){if(l.node=d,typeof d=="object"&&d!==null){switch(d.$$typeof){case Jl:{var b=d,E=b.type,M=b.props,L=b.ref;is(o,l,E,M,L);return}case Rs:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Zr:{var N=d,n=N._payload,a=N._init,f;try{f=a(n)}catch(se){throw typeof se=="object"&&se!==null&&typeof se.then=="function"&&Xn(l,"Lazy"),se}Tt(o,l,f);return}}if(kn(d)){ol(o,l,d);return}var h=ql(d);if(h){Au(d,h);var w=h.call(d);if(w){var I=w.next();if(!I.done){var O=[];do O.push(I.value),I=w.next();while(!I.done);ol(o,l,O);return}return}}var U=Object.prototype.toString.call(d);throw new Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}if(typeof d=="string"){var J=l.blockedSegment;J.lastPushedText=Wn(l.blockedSegment.chunks,d,o.responseState,J.lastPushedText);return}if(typeof d=="number"){var ie=l.blockedSegment;ie.lastPushedText=Wn(l.blockedSegment.chunks,""+d,o.responseState,ie.lastPushedText);return}typeof d=="function"&&s("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function ol(o,l,d){for(var b=d.length,E=0;E<b;E++){var M=l.treeContext;l.treeContext=Vi(M,b,E);try{ss(o,l,d[E])}finally{l.treeContext=M}}}function Ct(o,l,d){var b=l.blockedSegment,E=b.chunks.length,M=Ji(o,E,null,b.formatContext,b.lastPushedText,!0);b.children.push(M),b.lastPushedText=!1;var L=Za(o,l.node,l.blockedBoundary,M,l.abortSet,l.legacyContext,l.context,l.treeContext);l.componentStack!==null&&(L.componentStack=l.componentStack.parent);var N=L.ping;d.then(N,N)}function ss(o,l,d){var b=l.blockedSegment.formatContext,E=l.legacyContext,M=l.context,L=null;L=l.componentStack;try{return Tt(o,l,d)}catch(N){if($a(),typeof N=="object"&&N!==null&&typeof N.then=="function"){Ct(o,l,N),l.blockedSegment.formatContext=b,l.legacyContext=E,l.context=M,_o(M),l.componentStack=L;return}else throw l.blockedSegment.formatContext=b,l.legacyContext=E,l.context=M,_o(M),l.componentStack=L,N}}function il(o,l,d,b){var E=Bt(o,b);if(l===null?Zn(o,b):(l.pendingTasks--,l.forceClientRender||(l.forceClientRender=!0,l.errorDigest=E,Qa(l,b),l.parentFlushed&&o.clientRenderedBoundaries.push(l))),o.allPendingTasks--,o.allPendingTasks===0){var M=o.onAllReady;M()}}function Iu(o){var l=this,d=o.blockedBoundary,b=o.blockedSegment;b.status=Zi,al(l,d,b)}function Ki(o,l,d){var b=o.blockedBoundary,E=o.blockedSegment;if(E.status=Zi,b===null)l.allPendingTasks--,l.status!==Er&&(l.status=Er,l.destination!==null&&$(l.destination));else{if(b.pendingTasks--,!b.forceClientRender){b.forceClientRender=!0;var M=d===void 0?new Error("The render was aborted by the server without a reason."):d;b.errorDigest=l.onError(M);{var L="The server did not finish this Suspense boundary: ";M&&typeof M.message=="string"?M=L+M.message:M=L+String(M);var N=Mn;Mn=o;try{Qa(b,M)}finally{Mn=N}}b.parentFlushed&&l.clientRenderedBoundaries.push(b)}if(b.fallbackAbortableTasks.forEach(function(a){return Ki(a,l,d)}),b.fallbackAbortableTasks.clear(),l.allPendingTasks--,l.allPendingTasks===0){var n=l.onAllReady;n()}}}function qi(o,l){if(l.chunks.length===0&&l.children.length===1&&l.children[0].boundary===null){var d=l.children[0];d.id=l.id,d.parentFlushed=!0,d.status===Gn&&qi(o,d)}else{var b=o.completedSegments;b.push(l)}}function al(o,l,d){if(l===null){if(d.parentFlushed){if(o.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");o.completedRootSegment=d}if(o.pendingRootTasks--,o.pendingRootTasks===0){o.onShellError=hn;var b=o.onShellReady;b()}}else if(l.pendingTasks--,!l.forceClientRender){if(l.pendingTasks===0)d.parentFlushed&&d.status===Gn&&qi(l,d),l.parentFlushed&&o.completedBoundaries.push(l),l.fallbackAbortableTasks.forEach(Iu,o),l.fallbackAbortableTasks.clear();else if(d.parentFlushed&&d.status===Gn){qi(l,d);var E=l.completedSegments;E.length===1&&l.parentFlushed&&o.partialBoundaries.push(l)}}if(o.allPendingTasks--,o.allPendingTasks===0){var M=o.onAllReady;M()}}function sl(o,l){var d=l.blockedSegment;if(d.status===Ga){_o(l.context);var b=null;b=Mn,Mn=l;try{Tt(o,l,l.node),Un(d.chunks,o.responseState,d.lastPushedText,d.textEmbedded),l.abortSet.delete(l),d.status=Gn,al(o,l.blockedBoundary,d)}catch(M){if($a(),typeof M=="object"&&M!==null&&typeof M.then=="function"){var E=l.ping;M.then(E,E)}else l.abortSet.delete(l),d.status=Cr,il(o,l.blockedBoundary,d,M)}finally{Mn=b}}}function Xo(o){if(o.status!==Er){var l=Ii(),d=Uo.current;Uo.current=Xs;var b;b=Gi.getCurrentStack,Gi.getCurrentStack=Ho;var E=Ya;Wo(o.responseState);try{var M=o.pingedTasks,L;for(L=0;L<M.length;L++){var N=M[L];sl(o,N)}M.splice(0,L),o.destination!==null&&ta(o,o.destination)}catch(n){Bt(o,n),Zn(o,n)}finally{Wo(E),Uo.current=d,Gi.getCurrentStack=b,d===Xs&&_o(l)}}}function Zo(o,l,d){switch(d.parentFlushed=!0,d.status){case Ga:{var b=d.id=o.nextSegmentId++;return d.lastPushedText=!1,d.textEmbedded=!1,zr(l,o.responseState,b)}case Gn:{d.status=Xi;for(var E=!0,M=d.chunks,L=0,N=d.children,n=0;n<N.length;n++){for(var a=N[n];L<a.index;L++)T(l,M[L]);E=ea(o,l,a)}for(;L<M.length-1;L++)T(l,M[L]);return L<M.length&&(E=D(l,M[L])),E}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ea(o,l,d){var b=d.boundary;if(b===null)return Zo(o,l,d);if(b.parentFlushed=!0,b.forceClientRender)return ct(l,o.responseState,b.errorDigest,b.errorMessage,b.errorComponentStack),Zo(o,l,d),ya(l,o.responseState);if(b.pendingTasks>0){b.rootSegmentID=o.nextSegmentId++,b.completedSegments.length>0&&o.partialBoundaries.push(b);var E=b.id=fr(o.responseState);return Nr(l,o.responseState,E),Zo(o,l,d),Hr(l,o.responseState)}else{if(b.byteSize>o.progressiveChunkSize)return b.rootSegmentID=o.nextSegmentId++,o.completedBoundaries.push(b),Nr(l,o.responseState,b.id),Zo(o,l,d),Hr(l,o.responseState);fi(l,o.responseState);var M=b.completedSegments;if(M.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var L=M[0];return ea(o,l,L),di(l,o.responseState)}}function ll(o,l,d){return Cs(l,o.responseState,d.id,d.errorDigest,d.errorMessage,d.errorComponentStack)}function Jo(o,l,d){return ge(l,o.responseState,d.formatContext,d.id),ea(o,l,d),Re(l,d.formatContext)}function Qo(o,l,d){for(var b=d.completedSegments,E=0;E<b.length;E++){var M=b[E];ls(o,l,d,M)}return b.length=0,ba(l,o.responseState,d.id,d.rootSegmentID)}function Mu(o,l,d){for(var b=d.completedSegments,E=0;E<b.length;E++){var M=b[E];if(!ls(o,l,d,M))return E++,b.splice(0,E),!1}return b.splice(0,E),!0}function ls(o,l,d,b){if(b.status===Xi)return!0;var E=b.id;if(E===-1){var M=b.id=d.rootSegmentID;if(M===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Jo(o,l,b)}else return Jo(o,l,b),Ul(l,o.responseState,E)}function ta(o,l){A();try{var d=o.completedRootSegment;d!==null&&o.pendingRootTasks===0&&(ea(o,l,d),o.completedRootSegment=null,ma(l,o.responseState));var b=o.clientRenderedBoundaries,E;for(E=0;E<b.length;E++){var M=b[E];ll(o,l,M)}b.splice(0,E);var L=o.completedBoundaries;for(E=0;E<L.length;E++){var N=L[E];Qo(o,l,N)}L.splice(0,E),_(l),A(l);var n=o.partialBoundaries;for(E=0;E<n.length;E++){var a=n[E];if(!Mu(o,l,a)){o.destination=null,E++,n.splice(0,E);return}}n.splice(0,E);var f=o.completedBoundaries;for(E=0;E<f.length;E++){var h=f[E];Qo(o,l,h)}f.splice(0,E)}finally{_(l),o.allPendingTasks===0&&o.pingedTasks.length===0&&o.clientRenderedBoundaries.length===0&&o.completedBoundaries.length===0&&(o.abortableTasks.size!==0&&s("There was still abortable task at the root when we closed. This is a bug in React."),$(l))}}function Du(o){y(function(){return Xo(o)})}function ul(o,l){if(o.status===Xa){o.status=Er,Z(l,o.fatalError);return}if(o.status!==Er&&o.destination===null){o.destination=l;try{ta(o,l)}catch(d){Bt(o,d),Zn(o,d)}}}function na(o,l){try{var d=o.abortableTasks;d.forEach(function(b){return Ki(b,o,l)}),d.clear(),o.destination!==null&&ta(o,o.destination)}catch(b){Bt(o,b),Zn(o,b)}}function Ou(o,l){return new Promise(function(d,b){var E,M,L=new Promise(function(w,I){M=w,E=I});function N(){var w=new ReadableStream({type:"bytes",pull:function(I){ul(a,I)},cancel:function(I){na(a)}},{highWaterMark:0});w.allReady=L,d(w)}function n(w){L.catch(function(){}),b(w)}var a=wu(o,Cn(l?l.identifierPrefix:void 0,l?l.nonce:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),Gt(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,M,N,n,E);if(l&&l.signal){var f=l.signal,h=function(){na(a,f.reason),f.removeEventListener("abort",h)};f.addEventListener("abort",h)}Du(a)})}pl.renderToReadableStream=Ou,pl.version=t}()),pl}var oi,Zu;process.env.NODE_ENV==="production"?(oi=zh(),Zu=Wh()):(oi=Uh(),Zu=Nh());oi.version;var Hh=oi.renderToString;oi.renderToStaticMarkup;oi.renderToNodeStream;oi.renderToStaticNodeStream;Zu.renderToReadableStream;var $h=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kf(e,t){return e(t={exports:{}},t.exports),t.exports}var Yh=Kf(function(e){(function(t){var r=function(B,F,Z){if(!p(F)||A(F)||T(F)||D(F)||S(F))return F;var X,q=0,te=0;if(x(F))for(X=[],te=F.length;q<te;q++)X.push(r(B,F[q],Z));else for(var ee in X={},F)Object.prototype.hasOwnProperty.call(F,ee)&&(X[B(ee,Z)]=r(B,F[ee],Z));return X},i=function(B){return _(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(F,Z){return Z?Z.toUpperCase():""})).substr(0,1).toLowerCase()+B.substr(1)},s=function(B){var F=i(B);return F.substr(0,1).toUpperCase()+F.substr(1)},m=function(B,F){return function(Z,X){var q=(X=X||{}).separator||"_",te=X.split||/(?=[A-Z])/;return Z.split(te).join(q)}(B,F).toLowerCase()},y=Object.prototype.toString,S=function(B){return typeof B=="function"},p=function(B){return B===Object(B)},x=function(B){return y.call(B)=="[object Array]"},A=function(B){return y.call(B)=="[object Date]"},T=function(B){return y.call(B)=="[object RegExp]"},D=function(B){return y.call(B)=="[object Boolean]"},_=function(B){return(B-=0)==B},$=function(B,F){var Z=F&&"process"in F?F.process:F;return typeof Z!="function"?B:function(X,q){return Z(X,B,q)}},G={camelize:i,decamelize:m,pascalize:s,depascalize:m,camelizeKeys:function(B,F){return r($(i,F),B)},decamelizeKeys:function(B,F){return r($(m,F),B,F)},pascalizeKeys:function(B,F){return r($(s,F),B)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=G:t.humps=G})($h)}).decamelize,Gh=function(e){if(Array.isArray(e))return e},Xh=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var r=[],i=!0,s=!1,m=void 0;try{for(var y,S=e[Symbol.iterator]();!(i=(y=S.next()).done)&&(r.push(y.value),!t||r.length!==t);i=!0);}catch(p){s=!0,m=p}finally{try{i||S.return==null||S.return()}finally{if(s)throw m}}return r}},jc=function(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i},Zh=function(e,t){if(e){if(typeof e=="string")return jc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jc(e,t):void 0}},Jh=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
106
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Qh=function(e,t){return Gh(e)||Xh(e,t)||Zh(e,t)||Jh()},qf=Kf(function(e){function t(){return e.exports=t=Object.assign||function(r){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var m in s)Object.prototype.hasOwnProperty.call(s,m)&&(r[m]=s[m])}return r},t.apply(this,arguments)}e.exports=t}),Kh=function(e,t){if(e==null)return{};var r,i,s={},m=Object.keys(e);for(i=0;i<m.length;i++)r=m[i],t.indexOf(r)>=0||(s[r]=e[r]);return s},ed=function(e,t){if(e==null)return{};var r,i,s=Kh(e,t);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(e);for(i=0;i<m.length;i++)r=m[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s},qh=oe.createContext(null);function Ju(e){var t=e.children,r=ed(e,["children"]);return typeof t!="string"&&(t=Hh(t)),oe.createElement("template",qf({},r,{dangerouslySetInnerHTML:{__html:t}}))}function Qu(e){var t=e.root,r=e.children;return Jf.createPortal(r,t)}function ep(e){var t=oe.forwardRef(function(r,i){var s,m,y=r.mode,S=r.delegatesFocus,p=r.styleSheets,x=r.ssr,A=r.children,T=ed(r,["mode","delegatesFocus","styleSheets","ssr","children"]),D=(m=oe.useRef((s=i)&&s.current),oe.useEffect(function(){s&&(s.current=m.current)},[s]),m),_=oe.useState(null),$=Qh(_,2),G=$[0],B=$[1],F="node_".concat(y).concat(S);return oe.useLayoutEffect(function(){if(D.current)try{if(typeof i=="function"&&i(D.current),x){var Z=D.current.shadowRoot;return void B(Z)}var X=D.current.attachShadow({mode:y,delegatesFocus:S});p.length>0&&(X.adoptedStyleSheets=p),B(X)}catch(q){(function(te){var ee=te.error,re=te.styleSheets,le=te.root;switch(ee.name){case"NotSupportedError":re.length>0&&(le.adoptedStyleSheets=re);break;default:throw ee}})({error:q,styleSheets:p,root:G})}},[i,D,p]),oe.createElement(oe.Fragment,null,oe.createElement(e.tag,qf({key:F,ref:D},T),(G||x)&&oe.createElement(qh.Provider,{value:G},x?oe.createElement(Ju,{shadowroot:y,shadowrootmode:y},e.render({root:G,ssr:x,children:A})):oe.createElement(Qu,{root:G},e.render({root:G,ssr:x,children:A})))))});return t.propTypes={mode:vn.PropTypes.oneOf(["open","closed"]),delegatesFocus:vn.PropTypes.bool,styleSheets:vn.PropTypes.arrayOf(vn.PropTypes.instanceOf(globalThis.CSSStyleSheet)),ssr:vn.PropTypes.bool,children:vn.PropTypes.node},t.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},t}Ju.propTypes={children:vn.PropTypes.oneOfType([vn.PropTypes.string,vn.PropTypes.node])},Ju.defaultProps={children:""},Qu.propTypes={root:vn.PropTypes.object.isRequired,children:vn.PropTypes.node},Qu.defaultProps={children:null};var Fu=new Map;function tp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(e,{get:function(i,s){var m=Yh(s,{separator:"-"}),y="".concat(t,"-").concat(m);return Fu.has(y)||Fu.set(y,ep({tag:m,render:r})),Fu.get(y)}})}var np=tp();const rp=`@import"https://fonts.cdnfonts.com/css/tt-firs-neue-trl?styles=143111,143113,143105,143108,143110,143101,143099,143103,143097,143115";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:TT Firs Neue Trl,sans-serif;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
107
- `;function fc({children:e,styles:t=[],...r}){return ne.jsxs(np.div,{...r,children:[[rp,...t].map((i,s)=>ne.jsx("style",{type:"text/css",children:i},s)),e]})}const op=`.modal-overlay{z-index:1300;position:fixed;top:0;right:0;bottom:0;left:0;background:hsla(0,0%,0%,.254);--tw-backdrop-blur: blur(4px);justify-content:center;align-items:center;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.modal-title{font-size:1.25rem;line-height:1.75rem;color:#e01b00;font-weight:500}.modal-footer{display:flex;justify-content:space-between;width:80%}.modal-container{background:#ffffff;-webkit-backdrop-filter:blur(4.5px);backdrop-filter:blur(4.5px);display:flex;padding:32px 24px 40px;flex-direction:column;align-items:center;gap:24px;align-self:stretch;width:500px;height:204px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:.5rem}.modal-button{border-radius:3px;border:1px solid #ddd;background:#ddd;padding:8px 32px;font-size:14px}.confirm-btn{background:#e01b00!important}.text-white{color:#fff}.text-sm{font-size:.875rem;line-height:1.25rem}
108
- `;function td({isOpen:e,onClose:t,onConfirm:r}){if(!e)return null;function i(s){var m;((m=s.target)==null?void 0:m.id)==="modal-wrapper"&&t()}return ne.jsx(fc,{styles:[op],children:ne.jsx("div",{onClick:i,className:"modal-overlay",id:"modal-wrapper",children:ne.jsxs("div",{className:"modal-container",children:[ne.jsx("h3",{className:"modal-title",children:"Log out"}),ne.jsx("p",{className:"text-sm",children:"Are you sure want to log out?"}),ne.jsxs("div",{className:"modal-footer",children:[ne.jsx("button",{className:"modal-button",onClick:t,children:"Cancel"}),ne.jsx("button",{onClick:r,className:"text-white confirm-btn modal-button",children:"Confirm"})]})]})})})}function ip(){return ne.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:[ne.jsx("path",{d:"M8.5 19.5H8C4 19.5 2 18.5 2 13.5V8.5C2 4.5 4 2.5 8 2.5H16C20 2.5 22 4.5 22 8.5V13.5C22 17.5 20 19.5 16 19.5H15.5C15.19 19.5 14.89 19.65 14.7 19.9L13.2 21.9C12.54 22.78 11.46 22.78 10.8 21.9L9.3 19.9C9.14 19.68 8.77 19.5 8.5 19.5Z",stroke:"white","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),ne.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),ne.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),ne.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}function ap(){return ne.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ne.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.7968 17.4705C16.5901 17.4705 18.8076 16.8556 19.0218 14.3874C19.0218 11.921 17.4757 12.0796 17.4757 9.05334C17.4757 6.68952 15.2352 4 11.7968 4C8.35833 4 6.1178 6.68952 6.1178 9.05334C6.1178 12.0796 4.57178 11.921 4.57178 14.3874C4.78679 16.8649 7.00428 17.4705 11.7968 17.4705Z",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),ne.jsx("path",{d:"M13.8274 20.0286C12.6679 21.3161 10.8591 21.3313 9.68848 20.0286",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),ne.jsx("circle",{cx:"16.928",cy:"7",r:"2",fill:"#E01B00",stroke:"white"})]})}const sp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAArCAYAAAADgWq5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA3XSURBVHgBtVl7jFxVGf/dO3feMzuzO/tuu92y2xIoCEgCgUQogSIKhBIgaAxpFdREITxMVCrYNqB/+A8QCYQYbIuJUTChGqBQDCkaMUCgW0qtpe12t933drezs/N+XX/fuefOzK6l0KInPb2POfec3/m+3/c6a+ALNNu247xczL6Ofbm+j+suLck+pK972XcYhrEbX6AZOItGoGt4uZ99jQtu+tAnmP7kIPLz8yiwS/NHmxDr6kJTdzfaVq5qnGIb+/azAX9GgDXQTQJUQB3Y+SqOvL1bgXVB6nELv2OvcqllX74Uq2+8SV2buBE40n+QwHfgfwlYq34r+7rU+Bj2vvgH/Ou1VxXIxeAaW7Xht6ph1NGzCfAr7/meC3wb+xYCH8IXBaylurWQnu/d++IfMUCwRS1Nuz7mFN813lfVUrYh3xi1lWXIlXd/F1eww5H2rQQ9gLMFTCAP8PJEamIcO+77AebHx+u/6Y8FrItNJDqVL2Awm8WJQhFejwedfj9WhIJosjz8wKCkUdupu6koOX7n08+60haKPHnGgAlEuLp5bGAPdm78yUKO6tU4cQ3w/uQc3pqYwkypQOAGTNNU3SJoi+N6wmFclWjmBnxqvEja1rMJcF8kghseeRT9V62Rl5s595bPDZggxE29fPD11/DWLx9f/FsNqFwrvP5l6DjenZmBKN40TM5qqrEeAUzJGnz28Rpgv6atFRdGQmrXjjG6QrDV/Q0/+zlWf/1GebWB82//TMAE0svLnpnDh+N/umfDaY1KfnlrdBw7R8ZguyQxPJSsoW493JDHY7JbaiGhSNCycEt3J3oDgZp2qi5HOMgbjuCOp59B+8pV4rsvWWyIpwJ8ND0x0fvKQ/dDPIJh1yWgWVsbW6xU8au9+8jXAqUJWJRo2OdDiGqPBv1ojcUQIRVOptOYnEsjky+iUrXREw3jm91dihQ26VPRs0NvoKmrk6DJ6c6uAQK+pBGftQis8LZ3z/ZtIGjFQRJS78zQ05q1u/0nk5ghWOFoazCAloCFGIF2xKPobmtHW1sCifZWeP1e5DM5jJPjHxwaxsGpJE5WykhYlprZI1IWr0FOGASd4tpv/OIx3PHrZy4mJuHzZhejuYgKDxza9Tqkm4ah5Ck8NUzpjhG5z/L7QQIWsGGfFzGvGJeeUMZY5G0oxGgXRYBSjsSi6GpvwZoL+7GqM4GhbM5hkOEIw6SkDcN5ISIZ2fOh6mz36ziwEDCb7CK+94UXHFAKsHMVQzK1lIWfakq+T4p0+RwhWP5Tm1CcVAbFb7w+xwA9XnVvkS4RbuCS5Z18tvT8LmgO0+s5axrY5Ri8gH3gVICvPvLmG0hPTjjSNVyp6kk5Uhii7Mm01W9i1X6S1yLR7apj78ozKEPjDqoVlIsFLmIjJNKm6wpEI2iOBMhzT10wohmzDtSloGAZ2bNngZRNTYcNwt0ju3Y5vK19jIZJG7ssZiuL93kMTSmC5X3Acnq1lEM2lUQ2OYsTY2PI8BoOeOEXgVfLiPqtmmBqVGt4NrWG3932vCvlNY1GtyYzOYmpfR9pKsgWRa91ryBvXZ8pb1PFspo0YJpqxIlCCf6qiRx3eWwkidBkCj2JGfT3LsU+Gtp83sbyZcsRpTtDbhYtytWJUVfrkwqRbE0rJ4xilBIu0MtQO7fwzQ6XEldPfVQHa7vc1cZlurs26+9eOngIQ/MpeMmVeCiAXNWLXBkEVuDVwniqiH2Tafzz4Cj2T6QwkytifHYOyfQ8ZuYLeHN4FEUKxZWuY6v63k039NqDf/+bPK5TEiYdJOnunT16xLFu6TqKyVURTEvZwwlVBsaFUsqdAZlKBWYuj85QBJmq5A8mYpEw5uYraPUauHBZBxf18LuqChSlSgnnLO1AjnTxaA+huCl5BqUt63q0x6gq92lj+shhnEdaiCezND+QPHrUIbzgMZ3Q61ib7QQPdevwWh6DtPIygXpMD4p0Cx0RA+cnOlUaWShXkZsvYwkN7LLz+5AtVbF0SbcKzyGfhfTMNFYtaVXaMVzfRrCOlzE0TL0Z3owO7HEdw8UCuFfuMlOTNWnWrFWnhY5DdpnsXFfEYxjN5NSGKpw0ncsy8kVRplkcn06izQ+E6IujzQlcviqH9/49zIhmoY9AffQyYZ8fZsmjMghnaqNuIRLWbceQhculTMYFHK8Bzk1POzvUiY3zrVnLqZRJmI6UpfU3t+AfKt00tTHaODw2gQIHlctlTCaLGDqZwfzvX6Ira0IgEMTw1BRGR4awsiOOsBVg2uFXvK2vZzgobVN5oaqjYOXedOuthWZTATJr8V1RQyeCqMm1LvCepihDcRDJYlEBrkqgEP5yBQ8DhD8eRlu8CSuW96ClOYYSc2SDGjs6PonxZAqdTdRWuGlBpm+gIXuzDQfTwvSlIXBo92S7oExDewudLi7yxVEm5ndfcAF5yOSFq3jok6Ufm8sjze+C8WYsWXUuWnpXoBgM4/3jE9gzPO4EFY4zqqiF4gU+uOaLtZfQHsttIuEhuQl3dEB8sZs1aUY4FDCqTvJj63xN5wwtrCSaKc2xXAEpZmIrOoSfQILG1kOpfuXSS9Ddswz+YBA9zIGPkUIf7NuvpNfmDao5lJUYjo93c2xXy66bbersdPEOCWDJO+FjHpo1Jl1y1KkgXkIrwmiwP7Fjr6STlpcuK48CxTybztDQPEimUojxuv+99zB9bNihVjGNALUS9AfgJTWWB6M1Cdq60qsVBg0kWQxYkKiir43qVY5bAxLVeAxolaDm0G19dbO2CsdWCCBPQ5tIZZArVVQSP8nodGB4BIPDx5FlsLDI11lyt1wu4bJ4u/LpCpBZpwOABlpAGZ68be1b6QJOWpLRc1fJ2Ipz4nAduespFrkzxx8bdSMQAyMnyzpnzpdKBJpFdzSIJYkE+np70HtOL6KRIGZnZnF8cgpLQzG0+ILaMzR4h0XN1bNE1kRfn5KuVNSul/jzkssuX/9hLTXXEm2wW1tPXPOZXPBktqAqCFXq2I5WsswpjlWqSsm5cgXTLE5l+OiJWRW66d/wTr6E/oAP7bBrLs02Tln+qLW6LrpInnbLfy7gHd5weH3b6gswvf/jU+7VjXYizP0nTuCVw4MYnJsjjx2LrlYNRQ01iEAHZ1MYTqbhHRxVJdOKzg60NUUUzY4UWH14vehg4r+UX3QxexNe1845XAWyd1x4ESIdisNvNwLeLfw4785vxKc3PaIJUFUewlXcXKmM96nSd1h0jpKfZeYQMkqqZhnnkZhN0JJrlLgrcVs2k41YOICVXe0Is3SS9LNKflveELyMdCelCGDfT6Es529Ly0VE1by6Mudd//XXu3TYVgPMhyRV81Tr6gs2hds7kZUwDcegxjNZvM0INnBihiCrzBuY7DA5N0XkBGXy2SlHbFUuqQcxWOYYzQTbxoJTPLz4a8u0MG34lR8uku9hJvUVApT8Q3zJKLndzA2vLuYQ4PswtdJ/3doaHVx9u01OW5KX/vBexeNksYSXh4bxG6aRH88lafisJKhan1e6l1mZl++YC9CtSTBQZRQX9jMpipGf3bEQ2mlsQapdNpOn1McrTJhsllN8V2IlIqqrUAiSYko499LtZVjMvh+N4XgojC996y7BJW53y38BFinzIlLGSGe3A5RuyCYYARkMhuBjkJCTHK+EXk7u8zIXIPAycwKTwKFDu0+iGe+EGuliFWmTIdwMqdouwM3IKLGFErWTzeeoMQMZFqVObmyq0N659qvou/Y6gfZU49lEo4Shy+mB23+6EfGubiVBOQTxM2cQNYqqg4xuIuEgAYdo8WFGsRC7FQjBE4ygxKQmbfiQZSQrBOPwNLczKMUQZj0X4qYdz2io2k96kXm1SFlaLp9XjqEl0Yqbb7vN5e7mBRixqLknPwcPHIh/f/16ZHOyc+a8THIU6bmJEvnX6KttisuSKpjSKfG8QRLxMMF5+E42E6CGAtyccF/AWtz8PKNhS2sCkzRk0ZyYhJfjm1ta8Ojjj2FpT88pT37MxYD1gAfPPe88/GjjwwRoOZWAlPOUkgD1UbqKEuwRhvQwzx18lg9NLOETTHoSXDTKbC7EMCzGJxV2RdduUl3LfPIs3kjCdSaTJqU8yFPad939HQErQ799qvNiC6do4kJE0jevu3VTUyyOTQ9vRIVG4UpHpCxNXJiU8/KuSj6KNIsMvR66Lj8NVDyBAJPNCUjRiKWlLG7RrRWzrFyWdC/Fgw//GBddrE6mtnzaqbyB0zT3fHhsdBQP3XsfxkZGlBsSFSr1GI6f9pLT8l7O0WQTeXIxSm2UuMkcjSrRkqBXKCkteSW1FP/LoNPBpCZL6XposE8+ywNAZow42/PhBtBSpL7M3rv9+efx2+eeo0S99VTQcNSq/CoBi5pzLJcsbkKkn+W9ABa35UjYUvmBeIeeZT24+rpr8bWbbkIoHB6CQ4Pdp8PzmYA16F44R1nrJ5jT/m7rVvz19TecPJaqFsDlakXxWYCJNCt89mgDbWluVvx0D7mjTU248qqrsO7225BgksS2Q4NNfhaWzwW4AbicDTzB3jtJ4HsHBvDmzp0YPHQYhVKRbi6oKFIgOKGFBAhpQb4Pkt8r+s7B5VdcgWvWrhWJyk+SH2w2zuDPX2cEuAH4Gl42sK933w0ePowZhu9JHpWmyM8y3ZvwOMoz4r7+foLtc4cmNdAnjf/33+lOA14k7/4VdDkW/iV0Dk6RMARH9QOfR/Wf1v4D3Fe7Fu3OpbsAAAAASUVORK5CYII=",lp=`.avatar-dropdown-item{padding:.5rem;font-size:.875rem;line-height:1.25rem;cursor:pointer;border-radius:.25rem}.avatar-dropdown-item:hover{background-color:#009d4f}.avartarDropdownMenu{background-color:#fff;padding:.5rem;width:13rem;position:absolute;left:-10rem;top:3.5rem}.avartarDropdownMenu ul{list-style:none;padding-inline-start:0;margin-block-end:0}.navbar{position:fixed;display:flex;z-index:30;background:black;top:0;width:100%;padding-left:2.5rem;height:64px}.navbar-container{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between}.logo-container{padding:16px 0;height:100%}.navbar-container img{height:100%}.right-side-container{display:flex;flex-direction:row;align-items:center;text-align:center;margin-right:2.5rem;gap:1rem}.userContainer{display:flex;align-items:center;gap:.5rem}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem}.userAvatar{width:2.5rem;height:2.5rem;cursor:pointer;-o-object-fit:cover;object-fit:cover;border-radius:9999px}.relative{position:relative}.cursor-pointer{cursor:pointer}
109
- `;function up({logo:e,user:t,baseUrl:r,style:i,classNames:s=""}){const m=e||"/public/assets/icons/logo-header.png";return ne.jsx(fc,{styles:[lp],style:{zIndex:1200},children:ne.jsx("nav",{className:`navbar ${s}`,style:i,children:ne.jsxs("div",{className:"navbar-container",children:[ne.jsx("div",{className:"logo-container",children:ne.jsx("img",{src:m,alt:"logo-header"})}),ne.jsxs("div",{className:"right-side-container",children:[ne.jsxs("div",{className:"userContainer",children:[ne.jsx("p",{className:"userFullName",children:`${t==null?void 0:t.firstName} ${t==null?void 0:t.lastName}`}),ne.jsx(cp,{baseUrl:r,avatarUrl:t==null?void 0:t.avatarUrl})]}),ne.jsx("span",{className:"cursor-pointer",children:ne.jsx(ap,{})}),ne.jsx("span",{className:"cursor-pointer",children:ne.jsx(ip,{})})]})]})})})}function cp({avatarUrl:e,baseUrl:t}){const[r,i]=oe.useState(!1),[s,m]=oe.useState(!1),y=oe.useRef(null),S=oe.useRef(null),p=()=>{window.location.href=`${t}/authentication/logout?callbackUrl=${window.location.href}`};return oe.useEffect(()=>{function x(A){A.target!==S.current&&A.target!==y.current&&i(!1)}return window.addEventListener("click",x),()=>window.removeEventListener("click",x)},[]),ne.jsxs(ne.Fragment,{children:[ne.jsxs("div",{style:{position:"relative"},children:[ne.jsx("img",{ref:y,onClick:()=>i(x=>!x),alt:"user avatar",className:"userAvatar",src:e||sp}),ne.jsx("div",{style:{display:r?"block":"none"},className:"avartarDropdownMenu",children:ne.jsxs("ul",{children:[ne.jsx("li",{className:"avatar-dropdown-item",children:"Profile"}),ne.jsx("li",{onClick:()=>m(!0),className:"avatar-dropdown-item",children:"Logout"})]})})]}),ne.jsx(td,{isOpen:s,onClose:()=>m(!1),onConfirm:p})]})}var fp=typeof global=="object"&&global&&global.Object===Object&&global;const dp=fp;var hp=typeof self=="object"&&self&&self.Object===Object&&self,pp=dp||hp||Function("return this")();const nd=pp;var mp=nd.Symbol;const Tl=mp;var rd=Object.prototype,gp=rd.hasOwnProperty,vp=rd.toString,us=Tl?Tl.toStringTag:void 0;function yp(e){var t=gp.call(e,us),r=e[us];try{e[us]=void 0;var i=!0}catch{}var s=vp.call(e);return i&&(t?e[us]=r:delete e[us]),s}var bp=Object.prototype,xp=bp.toString;function Sp(e){return xp.call(e)}var wp="[object Null]",kp="[object Undefined]",Bc=Tl?Tl.toStringTag:void 0;function Tp(e){return e==null?e===void 0?kp:wp:Bc&&Bc in Object(e)?yp(e):Sp(e)}function Cp(e){return e!=null&&typeof e=="object"}var Ep="[object Symbol]";function Rp(e){return typeof e=="symbol"||Cp(e)&&Tp(e)==Ep}var Pp=/\s/;function Ap(e){for(var t=e.length;t--&&Pp.test(e.charAt(t)););return t}var Ip=/^\s+/;function Mp(e){return e&&e.slice(0,Ap(e)+1).replace(Ip,"")}function Cl(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Vc=0/0,Dp=/^[-+]0x[0-9a-f]+$/i,Op=/^0b[01]+$/i,Fp=/^0o[0-7]+$/i,Lp=parseInt;function zc(e){if(typeof e=="number")return e;if(Rp(e))return Vc;if(Cl(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Cl(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Mp(e);var r=Op.test(e);return r||Fp.test(e)?Lp(e.slice(2),r?2:8):Dp.test(e)?Vc:+e}var _p=function(){return nd.Date.now()};const Lu=_p;var jp="Expected a function",Bp=Math.max,Vp=Math.min;function Sl(e,t,r){var i,s,m,y,S,p,x=0,A=!1,T=!1,D=!0;if(typeof e!="function")throw new TypeError(jp);t=zc(t)||0,Cl(r)&&(A=!!r.leading,T="maxWait"in r,m=T?Bp(zc(r.maxWait)||0,t):m,D="trailing"in r?!!r.trailing:D);function _(ee){var re=i,le=s;return i=s=void 0,x=ee,y=e.apply(le,re),y}function $(ee){return x=ee,S=setTimeout(F,t),A?_(ee):y}function G(ee){var re=ee-p,le=ee-x,ce=t-re;return T?Vp(ce,m-le):ce}function B(ee){var re=ee-p,le=ee-x;return p===void 0||re>=t||re<0||T&&le>=m}function F(){var ee=Lu();if(B(ee))return Z(ee);S=setTimeout(F,G(ee))}function Z(ee){return S=void 0,D&&i?_(ee):(i=s=void 0,y)}function X(){S!==void 0&&clearTimeout(S),x=0,i=p=s=S=void 0}function q(){return S===void 0?y:Z(Lu())}function te(){var ee=Lu(),re=B(ee);if(i=arguments,s=this,p=ee,re){if(S===void 0)return $(p);if(T)return clearTimeout(S),S=setTimeout(F,t),_(p)}return S===void 0&&(S=setTimeout(F,t)),y}return te.cancel=X,te.flush=q,te}var zp="Expected a function";function Wp(e,t,r){var i=!0,s=!0;if(typeof e!="function")throw new TypeError(zp);return Cl(r)&&(i="leading"in r?!!r.leading:i,s="trailing"in r?!!r.trailing:s),Sl(e,t,{leading:i,maxWait:t,trailing:s})}var Up=!!(typeof window<"u"&&window.document&&window.document.createElement),Np=Up;const od=vn.getDefaultExportFromCjs(Np);var ia=function(){return ia=Object.assign||function(t){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var m in r)Object.prototype.hasOwnProperty.call(r,m)&&(t[m]=r[m])}return t},ia.apply(this,arguments)},oa=null,Wc=null;od&&window.addEventListener("resize",function(){Wc!==window.devicePixelRatio&&(Wc=window.devicePixelRatio,oa=null)});function Uc(){if(oa===null){if(typeof document>"u")return oa=0,oa;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var r=t.getBoundingClientRect().right;e.removeChild(t),oa=r}return oa}function id(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function ad(e){return!e||!e.ownerDocument?document:e.ownerDocument}var sd=function(e){var t={},r=Array.prototype.reduce.call(e,function(i,s){var m=s.name.match(/data-simplebar-(.+)/);if(m){var y=m[1].replace(/\W+(.)/g,function(S,p){return p.toUpperCase()});switch(s.value){case"true":i[y]=!0;break;case"false":i[y]=!1;break;case void 0:i[y]=!0;break;default:i[y]=s.value}}return i},t);return r};function ld(e,t){var r;e&&(r=e.classList).add.apply(r,t.split(" "))}function ud(e,t){e&&t.split(" ").forEach(function(r){e.classList.remove(r)})}function cd(e){return".".concat(e.split(" ").join("."))}var Hp=Object.freeze({__proto__:null,getElementWindow:id,getElementDocument:ad,getOptions:sd,addClasses:ld,removeClasses:ud,classNamesToQuery:cd}),ro=id,_u=ad,$p=sd,oo=ld,io=ud,zt=cd,ml=function(){function e(t,r){r===void 0&&(r={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var s=ro(i.el);i.scrollXTicking||(s.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(s.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,oo(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){io(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(oo(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){io(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(s){i.mouseX=s.clientX,i.mouseY=s.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(s){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var m,y;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(m=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(y=i.isWithinBounds(i.axis.y.track.rect)),(m||y)&&(s.stopPropagation(),s.type==="pointerdown"&&s.pointerType!=="touch"&&(m&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(s,"x"):i.onTrackClick(s,"x")),y&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(s,"y"):i.onTrackClick(s,"y"))))}},this.drag=function(s){var m,y,S,p,x,A,T,D,_,$,G;if(!(!i.draggedAxis||!i.contentWrapperEl)){var B,F=i.axis[i.draggedAxis].track,Z=(y=(m=F.rect)===null||m===void 0?void 0:m[i.axis[i.draggedAxis].sizeAttr])!==null&&y!==void 0?y:0,X=i.axis[i.draggedAxis].scrollbar,q=(p=(S=i.contentWrapperEl)===null||S===void 0?void 0:S[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&p!==void 0?p:0,te=parseInt((A=(x=i.elStyles)===null||x===void 0?void 0:x[i.axis[i.draggedAxis].sizeAttr])!==null&&A!==void 0?A:"0px",10);s.preventDefault(),s.stopPropagation(),i.draggedAxis==="y"?B=s.pageY:B=s.pageX;var ee=B-((D=(T=F.rect)===null||T===void 0?void 0:T[i.axis[i.draggedAxis].offsetAttr])!==null&&D!==void 0?D:0)-i.axis[i.draggedAxis].dragOffset;ee=i.draggedAxis==="x"&&i.isRtl?(($=(_=F.rect)===null||_===void 0?void 0:_[i.axis[i.draggedAxis].sizeAttr])!==null&&$!==void 0?$:0)-X.size-ee:ee;var re=ee/(Z-X.size),le=re*(q-te);i.draggedAxis==="x"&&i.isRtl&&(le=!((G=e.getRtlHelpers())===null||G===void 0)&&G.isScrollingToNegative?-le:le),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=le}},this.onEndDrag=function(s){var m=_u(i.el),y=ro(i.el);s.preventDefault(),s.stopPropagation(),io(i.el,i.classNames.dragging),m.removeEventListener("mousemove",i.drag,!0),m.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=y.setTimeout(function(){m.removeEventListener("click",i.preventClick,!0),m.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(s){s.preventDefault(),s.stopPropagation()},this.el=t,this.options=ia(ia({},e.defaultOptions),r),this.classNames=ia(ia({},e.defaultOptions.classNames),r.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Wp(this._onMouseMove,64),this.onWindowResize=Sl(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Sl(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Sl(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var r=t.firstElementChild,i=r==null?void 0:r.firstElementChild;if(!i)return null;document.body.appendChild(r),r.scrollLeft=0;var s=e.getOffset(r),m=e.getOffset(i);r.scrollLeft=-999;var y=e.getOffset(i);return document.body.removeChild(r),e.rtlHelpers={isScrollOriginAtZero:s.left!==m.left,isScrollingToNegative:m.left!==y.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Uc()}catch{return Uc()}},e.getOffset=function(t){var r=t.getBoundingClientRect(),i=_u(t),s=ro(t);return{top:r.top+(s.pageYOffset||i.documentElement.scrollTop),left:r.left+(s.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){od&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,r;this.wrapperEl=this.el.querySelector(zt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(zt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(zt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(zt(this.classNames.offset)),this.maskEl=this.el.querySelector(zt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,zt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(zt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(zt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(zt(this.classNames.track)).concat(zt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(zt(this.classNames.track)).concat(zt(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(zt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((r=this.axis.y.track.el)===null||r===void 0?void 0:r.querySelector(zt(this.classNames.scrollbar)))||null,this.options.autoHide||(oo(this.axis.x.scrollbar.el,this.classNames.visible),oo(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,r,i=ro(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(r=this.contentWrapperEl)===null||r===void 0||r.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var s=!1,m=i.ResizeObserver||ResizeObserver;this.resizeObserver=new m(function(){s&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){s=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=ro(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var r=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,s=this.heightAutoObserverEl.offsetWidth<=1||r>0,m=this.contentWrapperEl.offsetWidth,y=this.elStyles.overflowX,S=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var p=this.contentEl.scrollHeight,x=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=s?"".concat(r||x,"px"):"auto",this.placeholderEl.style.height="".concat(p,"px");var A=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=r!==0&&x>r,this.axis.y.isOverflowing=p>A,this.axis.x.isOverflowing=y==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=S==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var T=this.axis.x.isOverflowing?this.scrollbarWidth:0,D=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&x>m-D,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&p>A-T,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var r,i;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var s=this.contentEl[this.axis[t].scrollSizeAttr],m=(i=(r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,y=m/s,S;return S=Math.max(~~(y*m),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(S=Math.min(S,this.options.scrollbarMaxSize)),S},e.prototype.positionScrollbar=function(t){var r,i,s;t===void 0&&(t="y");var m=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!m.el||!this.elStyles)){var y=this.contentWrapperEl[this.axis[t].scrollSizeAttr],S=((r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])||0,p=parseInt(this.elStyles[this.axis[t].sizeAttr],10),x=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];x=t==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-x:x,t==="x"&&this.isRtl&&(x=!((s=e.getRtlHelpers())===null||s===void 0)&&s.isScrollingToNegative?x:-x);var A=x/(y-p),T=~~((S-m.size)*A);T=t==="x"&&this.isRtl?-T+(S-m.size):T,m.el.style.transform=t==="x"?"translate3d(".concat(T,"px, 0, 0)"):"translate3d(0, ".concat(T,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var r=this.axis[t].track.el,i=this.axis[t].scrollbar.el;!r||!i||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(r.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(r.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(oo(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(io(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var r=this.axis[t];!r.track.el||!r.scrollbar.el||(r.track.rect=r.track.el.getBoundingClientRect(),r.scrollbar.rect=r.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(r.track.rect)?(this.showScrollbar(t),oo(r.track.el,this.classNames.hover),this.isWithinBounds(r.scrollbar.rect)?oo(r.scrollbar.el,this.classNames.hover):io(r.scrollbar.el,this.classNames.hover)):(io(r.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),io(this.axis[t].track.el,this.classNames.hover),io(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,r){var i;r===void 0&&(r="y");var s=_u(this.el),m=ro(this.el),y=this.axis[r].scrollbar,S=r==="y"?t.pageY:t.pageX;this.axis[r].dragOffset=S-(((i=y.rect)===null||i===void 0?void 0:i[this.axis[r].offsetAttr])||0),this.draggedAxis=r,oo(this.el,this.classNames.dragging),s.addEventListener("mousemove",this.drag,!0),s.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(s.addEventListener("click",this.preventClick,!0),s.addEventListener("dblclick",this.preventClick,!0)):(m.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,r){var i=this,s,m,y,S;r===void 0&&(r="y");var p=this.axis[r];if(!(!this.options.clickOnTrack||!p.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var x=ro(this.el);this.axis[r].scrollbar.rect=p.scrollbar.el.getBoundingClientRect();var A=this.axis[r].scrollbar,T=(m=(s=A.rect)===null||s===void 0?void 0:s[this.axis[r].offsetAttr])!==null&&m!==void 0?m:0,D=parseInt((S=(y=this.elStyles)===null||y===void 0?void 0:y[this.axis[r].sizeAttr])!==null&&S!==void 0?S:"0px",10),_=this.contentWrapperEl[this.axis[r].scrollOffsetAttr],$=r==="y"?this.mouseY-T:this.mouseX-T,G=$<0?-1:1,B=G===-1?_-D:_+D,F=40,Z=function(){i.contentWrapperEl&&(G===-1?_>B&&(_-=F,i.contentWrapperEl[i.axis[r].scrollOffsetAttr]=_,x.requestAnimationFrame(Z)):_<B&&(_+=F,i.contentWrapperEl[i.axis[r].scrollOffsetAttr]=_,x.requestAnimationFrame(Z)))};Z()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=ro(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,r){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(s){return i.call(s,r)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=$p,e.helpers=Hp,e}(),Qt=function(){return Qt=Object.assign||function(t){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var m in r)Object.prototype.hasOwnProperty.call(r,m)&&(t[m]=r[m])}return t},Qt.apply(this,arguments)};function Yp(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)t.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(r[i[s]]=e[i[s]]);return r}var fd=Qe.forwardRef(function(e,t){var r=e.children,i=e.scrollableNodeProps,s=i===void 0?{}:i,m=Yp(e,["children","scrollableNodeProps"]),y=Qe.useRef(),S=Qe.useRef(),p=Qe.useRef(),x={},A={};Object.keys(m).forEach(function(_){Object.prototype.hasOwnProperty.call(ml.defaultOptions,_)?x[_]=m[_]:A[_]=m[_]});var T=Qt(Qt({},ml.defaultOptions.classNames),x.classNames),D=Qt(Qt({},s),{className:"".concat(T.contentWrapper).concat(s.className?" ".concat(s.className):""),tabIndex:0,role:"region","aria-label":x.ariaLabel||ml.defaultOptions.ariaLabel});return Qe.useEffect(function(){var _;return S.current=D.ref?D.ref.current:S.current,y.current&&(_=new ml(y.current,Qt(Qt(Qt({},x),S.current&&{scrollableNode:S.current}),p.current&&{contentNode:p.current})),typeof t=="function"?t(_):t&&(t.current=_)),function(){_==null||_.unMount(),_=null,typeof t=="function"&&t(null)}},[]),Qe.createElement("div",Qt({"data-simplebar":"init",ref:y},A),Qe.createElement("div",{className:T.wrapper},Qe.createElement("div",{className:T.heightAutoObserverWrapperEl},Qe.createElement("div",{className:T.heightAutoObserverEl})),Qe.createElement("div",{className:T.mask},Qe.createElement("div",{className:T.offset},typeof r=="function"?r({scrollableNodeRef:S,scrollableNodeProps:Qt(Qt({},D),{ref:S}),contentNodeRef:p,contentNodeProps:{className:T.contentEl,ref:p}}):Qe.createElement("div",Qt({},D),Qe.createElement("div",{className:T.contentEl},r)))),Qe.createElement("div",{className:T.placeholder})),Qe.createElement("div",{className:"".concat(T.track," simplebar-horizontal")},Qe.createElement("div",{className:T.scrollbar})),Qe.createElement("div",{className:"".concat(T.track," simplebar-vertical")},Qe.createElement("div",{className:T.scrollbar})))});fd.displayName="SimpleBar";const dd=oe.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Fl=oe.createContext({}),dc=oe.createContext(null),Ll=typeof document<"u",Gp=Ll?oe.useLayoutEffect:oe.useEffect,hd=oe.createContext({strict:!1}),hc=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Xp="framerAppearId",pd="data-"+hc(Xp);function Zp(e,t,r,i){const{visualElement:s}=oe.useContext(Fl),m=oe.useContext(hd),y=oe.useContext(dc),S=oe.useContext(dd).reducedMotion,p=oe.useRef();i=i||m.renderer,!p.current&&i&&(p.current=i(e,{visualState:t,parent:s,props:r,presenceContext:y,blockInitialAnimation:y?y.initial===!1:!1,reducedMotionConfig:S}));const x=p.current;oe.useInsertionEffect(()=>{x&&x.update(r,y)});const A=oe.useRef(!!(r[pd]&&!window.HandoffComplete));return Gp(()=>{x&&(x.render(),A.current&&x.animationState&&x.animationState.animateChanges())}),oe.useEffect(()=>{x&&(x.updateFeatures(),!A.current&&x.animationState&&x.animationState.animateChanges(),A.current&&(A.current=!1,window.HandoffComplete=!0))}),x}function aa(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Jp(e,t,r){return oe.useCallback(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),r&&(typeof r=="function"?r(i):aa(r)&&(r.current=i))},[t])}function vs(e){return typeof e=="string"||Array.isArray(e)}function _l(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const pc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],mc=["initial",...pc];function jl(e){return _l(e.animate)||mc.some(t=>vs(e[t]))}function md(e){return!!(jl(e)||e.variants)}function Qp(e,t){if(jl(e)){const{initial:r,animate:i}=e;return{initial:r===!1||vs(r)?r:void 0,animate:vs(i)?i:void 0}}return e.inherit!==!1?t:{}}function Kp(e){const{initial:t,animate:r}=Qp(e,oe.useContext(Fl));return oe.useMemo(()=>({initial:t,animate:r}),[Nc(t),Nc(r)])}function Nc(e){return Array.isArray(e)?e.join(" "):e}const Hc={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ys={};for(const e in Hc)ys[e]={isEnabled:t=>Hc[e].some(r=>!!t[r])};function qp(e){for(const t in e)ys[t]={...ys[t],...e[t]}}const gd=oe.createContext({}),vd=oe.createContext({}),em=Symbol.for("motionComponentSymbol");function tm({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:i,Component:s}){e&&qp(e);function m(S,p){let x;const A={...oe.useContext(dd),...S,layoutId:nm(S)},{isStatic:T}=A,D=Kp(S),_=i(S,T);if(!T&&Ll){D.visualElement=Zp(s,_,A,t);const $=oe.useContext(vd),G=oe.useContext(hd).strict;D.visualElement&&(x=D.visualElement.loadFeatures(A,G,e,$))}return Qe.createElement(Fl.Provider,{value:D},x&&D.visualElement?Qe.createElement(x,{visualElement:D.visualElement,...A}):null,r(s,S,Jp(_,D.visualElement,p),_,T,D.visualElement))}const y=oe.forwardRef(m);return y[em]=s,y}function nm({layoutId:e}){const t=oe.useContext(gd).id;return t&&e!==void 0?t+"-"+e:e}function rm(e){function t(i,s={}){return tm(e(i,s))}if(typeof Proxy>"u")return t;const r=new Map;return new Proxy(t,{get:(i,s)=>(r.has(s)||r.set(s,t(s)),r.get(s))})}const om=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function gc(e){return typeof e!="string"||e.includes("-")?!1:!!(om.indexOf(e)>-1||/[A-Z]/.test(e))}const El={};function im(e){Object.assign(El,e)}const xs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ii=new Set(xs);function yd(e,{layout:t,layoutId:r}){return ii.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!El[e]||e==="opacity")}const Wt=e=>!!(e&&e.getVelocity),am={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},sm=xs.length;function lm(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},i,s){let m="";for(let y=0;y<sm;y++){const S=xs[y];if(e[S]!==void 0){const p=am[S]||S;m+=`${p}(${e[S]}) `}}return t&&!e.z&&(m+="translateZ(0)"),m=m.trim(),s?m=s(e,i?"":m):r&&i&&(m="none"),m}const bd=e=>t=>typeof t=="string"&&t.startsWith(e),xd=bd("--"),Ku=bd("var(--"),um=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,cm=(e,t)=>t&&typeof e=="number"?t.transform(e):e,co=(e,t,r)=>Math.min(Math.max(r,e),t),ai={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},hs={...ai,transform:e=>co(0,1,e)},gl={...ai,default:1},ps=e=>Math.round(e*1e5)/1e5,Bl=/(-)?([\d]*\.?[\d])+/g,Sd=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,fm=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Ss(e){return typeof e=="string"}const ws=e=>({test:t=>Ss(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ao=ws("deg"),Jn=ws("%"),pe=ws("px"),dm=ws("vh"),hm=ws("vw"),$c={...Jn,parse:e=>Jn.parse(e)/100,transform:e=>Jn.transform(e*100)},Yc={...ai,transform:Math.round},wd={borderWidth:pe,borderTopWidth:pe,borderRightWidth:pe,borderBottomWidth:pe,borderLeftWidth:pe,borderRadius:pe,radius:pe,borderTopLeftRadius:pe,borderTopRightRadius:pe,borderBottomRightRadius:pe,borderBottomLeftRadius:pe,width:pe,maxWidth:pe,height:pe,maxHeight:pe,size:pe,top:pe,right:pe,bottom:pe,left:pe,padding:pe,paddingTop:pe,paddingRight:pe,paddingBottom:pe,paddingLeft:pe,margin:pe,marginTop:pe,marginRight:pe,marginBottom:pe,marginLeft:pe,rotate:ao,rotateX:ao,rotateY:ao,rotateZ:ao,scale:gl,scaleX:gl,scaleY:gl,scaleZ:gl,skew:ao,skewX:ao,skewY:ao,distance:pe,translateX:pe,translateY:pe,translateZ:pe,x:pe,y:pe,z:pe,perspective:pe,transformPerspective:pe,opacity:hs,originX:$c,originY:$c,originZ:pe,zIndex:Yc,fillOpacity:hs,strokeOpacity:hs,numOctaves:Yc};function vc(e,t,r,i){const{style:s,vars:m,transform:y,transformOrigin:S}=e;let p=!1,x=!1,A=!0;for(const T in t){const D=t[T];if(xd(T)){m[T]=D;continue}const _=wd[T],$=cm(D,_);if(ii.has(T)){if(p=!0,y[T]=$,!A)continue;D!==(_.default||0)&&(A=!1)}else T.startsWith("origin")?(x=!0,S[T]=$):s[T]=$}if(t.transform||(p||i?s.transform=lm(e.transform,r,A,i):s.transform&&(s.transform="none")),x){const{originX:T="50%",originY:D="50%",originZ:_=0}=S;s.transformOrigin=`${T} ${D} ${_}`}}const yc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function kd(e,t,r){for(const i in t)!Wt(t[i])&&!yd(i,r)&&(e[i]=t[i])}function pm({transformTemplate:e},t,r){return oe.useMemo(()=>{const i=yc();return vc(i,t,{enableHardwareAcceleration:!r},e),Object.assign({},i.vars,i.style)},[t])}function mm(e,t,r){const i=e.style||{},s={};return kd(s,i,e),Object.assign(s,pm(e,t,r)),e.transformValues?e.transformValues(s):s}function gm(e,t,r){const i={},s=mm(e,t,r);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=s,i}const vm=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Rl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||vm.has(e)}let Td=e=>!Rl(e);function ym(e){e&&(Td=t=>t.startsWith("on")?!Rl(t):e(t))}try{ym(require("@emotion/is-prop-valid").default)}catch{}function bm(e,t,r){const i={};for(const s in e)s==="values"&&typeof e.values=="object"||(Td(s)||r===!0&&Rl(s)||!t&&!Rl(s)||e.draggable&&s.startsWith("onDrag"))&&(i[s]=e[s]);return i}function Gc(e,t,r){return typeof e=="string"?e:pe.transform(t+r*e)}function xm(e,t,r){const i=Gc(t,e.x,e.width),s=Gc(r,e.y,e.height);return`${i} ${s}`}const Sm={offset:"stroke-dashoffset",array:"stroke-dasharray"},wm={offset:"strokeDashoffset",array:"strokeDasharray"};function km(e,t,r=1,i=0,s=!0){e.pathLength=1;const m=s?Sm:wm;e[m.offset]=pe.transform(-i);const y=pe.transform(t),S=pe.transform(r);e[m.array]=`${y} ${S}`}function bc(e,{attrX:t,attrY:r,attrScale:i,originX:s,originY:m,pathLength:y,pathSpacing:S=1,pathOffset:p=0,...x},A,T,D){if(vc(e,x,A,D),T){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:_,style:$,dimensions:G}=e;_.transform&&(G&&($.transform=_.transform),delete _.transform),G&&(s!==void 0||m!==void 0||$.transform)&&($.transformOrigin=xm(G,s!==void 0?s:.5,m!==void 0?m:.5)),t!==void 0&&(_.x=t),r!==void 0&&(_.y=r),i!==void 0&&(_.scale=i),y!==void 0&&km(_,y,S,p,!1)}const Cd=()=>({...yc(),attrs:{}}),xc=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Tm(e,t,r,i){const s=oe.useMemo(()=>{const m=Cd();return bc(m,t,{enableHardwareAcceleration:!1},xc(i),e.transformTemplate),{...m.attrs,style:{...m.style}}},[t]);if(e.style){const m={};kd(m,e.style,e),s.style={...m,...s.style}}return s}function Cm(e=!1){return(r,i,s,{latestValues:m},y)=>{const p=(gc(r)?Tm:gm)(i,m,y,r),A={...bm(i,typeof r=="string",e),...p,ref:s},{children:T}=i,D=oe.useMemo(()=>Wt(T)?T.get():T,[T]);return oe.createElement(r,{...A,children:D})}}function Ed(e,{style:t,vars:r},i,s){Object.assign(e.style,t,s&&s.getProjectionStyles(i));for(const m in r)e.style.setProperty(m,r[m])}const Rd=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Pd(e,t,r,i){Ed(e,t,void 0,i);for(const s in t.attrs)e.setAttribute(Rd.has(s)?s:hc(s),t.attrs[s])}function Sc(e,t){const{style:r}=e,i={};for(const s in r)(Wt(r[s])||t.style&&Wt(t.style[s])||yd(s,e))&&(i[s]=r[s]);return i}function Ad(e,t){const r=Sc(e,t);for(const i in e)if(Wt(e[i])||Wt(t[i])){const s=xs.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}function wc(e,t,r,i={},s={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,i,s)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,i,s)),t}function Em(e){const t=oe.useRef(null);return t.current===null&&(t.current=e()),t.current}const Pl=e=>Array.isArray(e),Rm=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Pm=e=>Pl(e)?e[e.length-1]||0:e;function wl(e){const t=Wt(e)?e.get():e;return Rm(t)?t.toValue():t}function Am({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},i,s,m){const y={latestValues:Im(i,s,m,e),renderState:t()};return r&&(y.mount=S=>r(i,S,y)),y}const Id=e=>(t,r)=>{const i=oe.useContext(Fl),s=oe.useContext(dc),m=()=>Am(e,t,i,s);return r?m():Em(m)};function Im(e,t,r,i){const s={},m=i(e,{});for(const D in m)s[D]=wl(m[D]);let{initial:y,animate:S}=e;const p=jl(e),x=md(e);t&&x&&!p&&e.inherit!==!1&&(y===void 0&&(y=t.initial),S===void 0&&(S=t.animate));let A=r?r.initial===!1:!1;A=A||y===!1;const T=A?S:y;return T&&typeof T!="boolean"&&!_l(T)&&(Array.isArray(T)?T:[T]).forEach(_=>{const $=wc(e,_);if(!$)return;const{transitionEnd:G,transition:B,...F}=$;for(const Z in F){let X=F[Z];if(Array.isArray(X)){const q=A?X.length-1:0;X=X[q]}X!==null&&(s[Z]=X)}for(const Z in G)s[Z]=G[Z]}),s}const Ye=e=>e;class Xc{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function Mm(e){let t=new Xc,r=new Xc,i=0,s=!1,m=!1;const y=new WeakSet,S={schedule:(p,x=!1,A=!1)=>{const T=A&&s,D=T?t:r;return x&&y.add(p),D.add(p)&&T&&s&&(i=t.order.length),p},cancel:p=>{r.remove(p),y.delete(p)},process:p=>{if(s){m=!0;return}if(s=!0,[t,r]=[r,t],r.clear(),i=t.order.length,i)for(let x=0;x<i;x++){const A=t.order[x];A(p),y.has(A)&&(S.schedule(A),e())}s=!1,m&&(m=!1,S.process(p))}};return S}const vl=["prepare","read","update","preRender","render","postRender"],Dm=40;function Om(e,t){let r=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},m=vl.reduce((T,D)=>(T[D]=Mm(()=>r=!0),T),{}),y=T=>m[T].process(s),S=()=>{const T=performance.now();r=!1,s.delta=i?1e3/60:Math.max(Math.min(T-s.timestamp,Dm),1),s.timestamp=T,s.isProcessing=!0,vl.forEach(y),s.isProcessing=!1,r&&t&&(i=!1,e(S))},p=()=>{r=!0,i=!0,s.isProcessing||e(S)};return{schedule:vl.reduce((T,D)=>{const _=m[D];return T[D]=($,G=!1,B=!1)=>(r||p(),_.schedule($,G,B)),T},{}),cancel:T=>vl.forEach(D=>m[D].cancel(T)),state:s,steps:m}}const{schedule:_e,cancel:Ir,state:pt,steps:ju}=Om(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ye,!0),Fm={useVisualState:Id({scrapeMotionValuesFromProps:Ad,createRenderState:Cd,onMount:(e,t,{renderState:r,latestValues:i})=>{_e.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),_e.render(()=>{bc(r,i,{enableHardwareAcceleration:!1},xc(t.tagName),e.transformTemplate),Pd(t,r)})}})},Lm={useVisualState:Id({scrapeMotionValuesFromProps:Sc,createRenderState:yc})};function _m(e,{forwardMotionProps:t=!1},r,i){return{...gc(e)?Fm:Lm,preloadedFeatures:r,useRender:Cm(t),createVisualElement:i,Component:e}}function Rr(e,t,r,i={passive:!0}){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r)}const Md=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Vl(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const jm=e=>t=>Md(t)&&e(t,Vl(t));function Pr(e,t,r,i){return Rr(e,t,jm(r),i)}const Bm=(e,t)=>r=>t(e(r)),lo=(...e)=>e.reduce(Bm);function Dd(e){let t=null;return()=>{const r=()=>{t=null};return t===null?(t=e,r):!1}}const Zc=Dd("dragHorizontal"),Jc=Dd("dragVertical");function Od(e){let t=!1;if(e==="y")t=Jc();else if(e==="x")t=Zc();else{const r=Zc(),i=Jc();r&&i?t=()=>{r(),i()}:(r&&r(),i&&i())}return t}function Fd(){const e=Od(!0);return e?(e(),!1):!0}class ho{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Qc(e,t){const r="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End"),s=(m,y)=>{if(m.pointerType==="touch"||Fd())return;const S=e.getProps();e.animationState&&S.whileHover&&e.animationState.setActive("whileHover",t),S[i]&&_e.update(()=>S[i](m,y))};return Pr(e.current,r,s,{passive:!e.getProps()[i]})}class Vm extends ho{mount(){this.unmount=lo(Qc(this.node,!0),Qc(this.node,!1))}unmount(){}}class zm extends ho{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=lo(Rr(this.node.current,"focus",()=>this.onFocus()),Rr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Ld=(e,t)=>t?e===t?!0:Ld(e,t.parentElement):!1;function Bu(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,Vl(r))}class Wm extends ho{constructor(){super(...arguments),this.removeStartListeners=Ye,this.removeEndListeners=Ye,this.removeAccessibleListeners=Ye,this.startPointerPress=(t,r)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),m=Pr(window,"pointerup",(S,p)=>{if(!this.checkPressEnd())return;const{onTap:x,onTapCancel:A,globalTapTarget:T}=this.node.getProps();_e.update(()=>{!T&&!Ld(this.node.current,S.target)?A&&A(S,p):x&&x(S,p)})},{passive:!(i.onTap||i.onPointerUp)}),y=Pr(window,"pointercancel",(S,p)=>this.cancelPress(S,p),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=lo(m,y),this.startPress(t,r)},this.startAccessiblePress=()=>{const t=m=>{if(m.key!=="Enter"||this.isPressing)return;const y=S=>{S.key!=="Enter"||!this.checkPressEnd()||Bu("up",(p,x)=>{const{onTap:A}=this.node.getProps();A&&_e.update(()=>A(p,x))})};this.removeEndListeners(),this.removeEndListeners=Rr(this.node.current,"keyup",y),Bu("down",(S,p)=>{this.startPress(S,p)})},r=Rr(this.node.current,"keydown",t),i=()=>{this.isPressing&&Bu("cancel",(m,y)=>this.cancelPress(m,y))},s=Rr(this.node.current,"blur",i);this.removeAccessibleListeners=lo(r,s)}}startPress(t,r){this.isPressing=!0;const{onTapStart:i,whileTap:s}=this.node.getProps();s&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&_e.update(()=>i(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Fd()}cancelPress(t,r){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&_e.update(()=>i(t,r))}mount(){const t=this.node.getProps(),r=Pr(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=Rr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=lo(r,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const qu=new WeakMap,Vu=new WeakMap,Um=e=>{const t=qu.get(e.target);t&&t(e)},Nm=e=>{e.forEach(Um)};function Hm({root:e,...t}){const r=e||document;Vu.has(r)||Vu.set(r,{});const i=Vu.get(r),s=JSON.stringify(t);return i[s]||(i[s]=new IntersectionObserver(Nm,{root:e,...t})),i[s]}function $m(e,t,r){const i=Hm(t);return qu.set(e,r),i.observe(e),()=>{qu.delete(e),i.unobserve(e)}}const Ym={some:0,all:1};class Gm extends ho{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:i,amount:s="some",once:m}=t,y={root:r?r.current:void 0,rootMargin:i,threshold:typeof s=="number"?s:Ym[s]},S=p=>{const{isIntersecting:x}=p;if(this.isInView===x||(this.isInView=x,m&&!x&&this.hasEnteredView))return;x&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",x);const{onViewportEnter:A,onViewportLeave:T}=this.node.getProps(),D=x?A:T;D&&D(p)};return $m(this.node.current,y,S)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(Xm(t,r))&&this.startObserver()}unmount(){}}function Xm({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const Zm={inView:{Feature:Gm},tap:{Feature:Wm},focus:{Feature:zm},hover:{Feature:Vm}};function _d(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}function Jm(e){const t={};return e.values.forEach((r,i)=>t[i]=r.get()),t}function Qm(e){const t={};return e.values.forEach((r,i)=>t[i]=r.getVelocity()),t}function zl(e,t,r){const i=e.getProps();return wc(i,t,r!==void 0?r:i.custom,Jm(e),Qm(e))}let ks=Ye,Dn=Ye;process.env.NODE_ENV!=="production"&&(ks=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Dn=(e,t)=>{if(!e)throw new Error(t)});const uo=e=>e*1e3,Ar=e=>e/1e3,Km={current:!1},jd=e=>Array.isArray(e)&&typeof e[0]=="number";function Bd(e){return!!(!e||typeof e=="string"&&Vd[e]||jd(e)||Array.isArray(e)&&e.every(Bd))}const ds=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,Vd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ds([0,.65,.55,1]),circOut:ds([.55,0,1,.45]),backIn:ds([.31,.01,.66,-.59]),backOut:ds([.33,1.53,.69,.99])};function zd(e){if(e)return jd(e)?ds(e):Array.isArray(e)?e.map(zd):Vd[e]}function qm(e,t,r,{delay:i=0,duration:s,repeat:m=0,repeatType:y="loop",ease:S,times:p}={}){const x={[t]:r};p&&(x.offset=p);const A=zd(S);return Array.isArray(A)&&(x.easing=A),e.animate(x,{delay:i,duration:s,easing:Array.isArray(A)?"linear":A,fill:"both",iterations:m+1,direction:y==="reverse"?"alternate":"normal"})}function eg(e,{repeat:t,repeatType:r="loop"}){const i=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[i]}const Wd=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,tg=1e-7,ng=12;function rg(e,t,r,i,s){let m,y,S=0;do y=t+(r-t)/2,m=Wd(y,i,s)-e,m>0?r=y:t=y;while(Math.abs(m)>tg&&++S<ng);return y}function Ts(e,t,r,i){if(e===t&&r===i)return Ye;const s=m=>rg(m,0,1,e,r);return m=>m===0||m===1?m:Wd(s(m),t,i)}const og=Ts(.42,0,1,1),ig=Ts(0,0,.58,1),Ud=Ts(.42,0,.58,1),ag=e=>Array.isArray(e)&&typeof e[0]!="number",Nd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Hd=e=>t=>1-e(1-t),kc=e=>1-Math.sin(Math.acos(e)),$d=Hd(kc),sg=Nd(kc),Yd=Ts(.33,1.53,.69,.99),Tc=Hd(Yd),lg=Nd(Tc),ug=e=>(e*=2)<1?.5*Tc(e):.5*(2-Math.pow(2,-10*(e-1))),Kc={linear:Ye,easeIn:og,easeInOut:Ud,easeOut:ig,circIn:kc,circInOut:sg,circOut:$d,backIn:Tc,backInOut:lg,backOut:Yd,anticipate:ug},qc=e=>{if(Array.isArray(e)){Dn(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,r,i,s]=e;return Ts(t,r,i,s)}else if(typeof e=="string")return Dn(Kc[e]!==void 0,`Invalid easing type '${e}'`),Kc[e];return e},Cc=(e,t)=>r=>!!(Ss(r)&&fm.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Gd=(e,t,r)=>i=>{if(!Ss(i))return i;const[s,m,y,S]=i.match(Bl);return{[e]:parseFloat(s),[t]:parseFloat(m),[r]:parseFloat(y),alpha:S!==void 0?parseFloat(S):1}},cg=e=>co(0,255,e),zu={...ai,transform:e=>Math.round(cg(e))},ri={test:Cc("rgb","red"),parse:Gd("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+zu.transform(e)+", "+zu.transform(t)+", "+zu.transform(r)+", "+ps(hs.transform(i))+")"};function fg(e){let t="",r="",i="",s="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),s=e.substring(4,5),t+=t,r+=r,i+=i,s+=s),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}}const ec={test:Cc("#"),parse:fg,transform:ri.transform},sa={test:Cc("hsl","hue"),parse:Gd("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:i=1})=>"hsla("+Math.round(e)+", "+Jn.transform(ps(t))+", "+Jn.transform(ps(r))+", "+ps(hs.transform(i))+")"},Et={test:e=>ri.test(e)||ec.test(e)||sa.test(e),parse:e=>ri.test(e)?ri.parse(e):sa.test(e)?sa.parse(e):ec.parse(e),transform:e=>Ss(e)?e:e.hasOwnProperty("red")?ri.transform(e):sa.transform(e)},Ue=(e,t,r)=>-r*e+r*t+e;function Wu(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function dg({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,t/=100,r/=100;let s=0,m=0,y=0;if(!t)s=m=y=r;else{const S=r<.5?r*(1+t):r+t-r*t,p=2*r-S;s=Wu(p,S,e+1/3),m=Wu(p,S,e),y=Wu(p,S,e-1/3)}return{red:Math.round(s*255),green:Math.round(m*255),blue:Math.round(y*255),alpha:i}}const Uu=(e,t,r)=>{const i=e*e;return Math.sqrt(Math.max(0,r*(t*t-i)+i))},hg=[ec,ri,sa],pg=e=>hg.find(t=>t.test(e));function ef(e){const t=pg(e);Dn(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===sa&&(r=dg(r)),r}const Xd=(e,t)=>{const r=ef(e),i=ef(t),s={...r};return m=>(s.red=Uu(r.red,i.red,m),s.green=Uu(r.green,i.green,m),s.blue=Uu(r.blue,i.blue,m),s.alpha=Ue(r.alpha,i.alpha,m),ri.transform(s))};function mg(e){var t,r;return isNaN(e)&&Ss(e)&&(((t=e.match(Bl))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(Sd))===null||r===void 0?void 0:r.length)||0)>0}const Zd={regex:um,countKey:"Vars",token:"${v}",parse:Ye},Jd={regex:Sd,countKey:"Colors",token:"${c}",parse:Et.parse},Qd={regex:Bl,countKey:"Numbers",token:"${n}",parse:ai.parse};function Nu(e,{regex:t,countKey:r,token:i,parse:s}){const m=e.tokenised.match(t);m&&(e["num"+r]=m.length,e.tokenised=e.tokenised.replace(t,i),e.values.push(...m.map(s)))}function Al(e){const t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Nu(r,Zd),Nu(r,Jd),Nu(r,Qd),r}function Kd(e){return Al(e).values}function qd(e){const{values:t,numColors:r,numVars:i,tokenised:s}=Al(e),m=t.length;return y=>{let S=s;for(let p=0;p<m;p++)p<i?S=S.replace(Zd.token,y[p]):p<i+r?S=S.replace(Jd.token,Et.transform(y[p])):S=S.replace(Qd.token,ps(y[p]));return S}}const gg=e=>typeof e=="number"?0:e;function vg(e){const t=Kd(e);return qd(e)(t.map(gg))}const fo={test:mg,parse:Kd,createTransformer:qd,getAnimatableNone:vg},eh=(e,t)=>r=>`${r>0?t:e}`;function th(e,t){return typeof e=="number"?r=>Ue(e,t,r):Et.test(e)?Xd(e,t):e.startsWith("var(")?eh(e,t):rh(e,t)}const nh=(e,t)=>{const r=[...e],i=r.length,s=e.map((m,y)=>th(m,t[y]));return m=>{for(let y=0;y<i;y++)r[y]=s[y](m);return r}},yg=(e,t)=>{const r={...e,...t},i={};for(const s in r)e[s]!==void 0&&t[s]!==void 0&&(i[s]=th(e[s],t[s]));return s=>{for(const m in i)r[m]=i[m](s);return r}},rh=(e,t)=>{const r=fo.createTransformer(t),i=Al(e),s=Al(t);return i.numVars===s.numVars&&i.numColors===s.numColors&&i.numNumbers>=s.numNumbers?lo(nh(i.values,s.values),r):(ks(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),eh(e,t))},bs=(e,t,r)=>{const i=t-e;return i===0?1:(r-e)/i},tf=(e,t)=>r=>Ue(e,t,r);function bg(e){return typeof e=="number"?tf:typeof e=="string"?Et.test(e)?Xd:rh:Array.isArray(e)?nh:typeof e=="object"?yg:tf}function xg(e,t,r){const i=[],s=r||bg(e[0]),m=e.length-1;for(let y=0;y<m;y++){let S=s(e[y],e[y+1]);if(t){const p=Array.isArray(t)?t[y]||Ye:t;S=lo(p,S)}i.push(S)}return i}function oh(e,t,{clamp:r=!0,ease:i,mixer:s}={}){const m=e.length;if(Dn(m===t.length,"Both input and output ranges must be the same length"),m===1)return()=>t[0];e[0]>e[m-1]&&(e=[...e].reverse(),t=[...t].reverse());const y=xg(t,i,s),S=y.length,p=x=>{let A=0;if(S>1)for(;A<e.length-2&&!(x<e[A+1]);A++);const T=bs(e[A],e[A+1],x);return y[A](T)};return r?x=>p(co(e[0],e[m-1],x)):p}function Sg(e,t){const r=e[e.length-1];for(let i=1;i<=t;i++){const s=bs(0,t,i);e.push(Ue(r,1,s))}}function wg(e){const t=[0];return Sg(t,e.length-1),t}function kg(e,t){return e.map(r=>r*t)}function Tg(e,t){return e.map(()=>t||Ud).splice(0,e.length-1)}function Il({duration:e=300,keyframes:t,times:r,ease:i="easeInOut"}){const s=ag(i)?i.map(qc):qc(i),m={done:!1,value:t[0]},y=kg(r&&r.length===t.length?r:wg(t),e),S=oh(y,t,{ease:Array.isArray(s)?s:Tg(t,s)});return{calculatedDuration:e,next:p=>(m.value=S(p),m.done=p>=e,m)}}function ih(e,t){return t?e*(1e3/t):0}const Cg=5;function ah(e,t,r){const i=Math.max(t-Cg,0);return ih(r-e(i),t-i)}const Hu=.001,Eg=.01,nf=10,Rg=.05,Pg=1;function Ag({duration:e=800,bounce:t=.25,velocity:r=0,mass:i=1}){let s,m;ks(e<=uo(nf),"Spring duration must be 10 seconds or less");let y=1-t;y=co(Rg,Pg,y),e=co(Eg,nf,Ar(e)),y<1?(s=x=>{const A=x*y,T=A*e,D=A-r,_=tc(x,y),$=Math.exp(-T);return Hu-D/_*$},m=x=>{const T=x*y*e,D=T*r+r,_=Math.pow(y,2)*Math.pow(x,2)*e,$=Math.exp(-T),G=tc(Math.pow(x,2),y);return(-s(x)+Hu>0?-1:1)*((D-_)*$)/G}):(s=x=>{const A=Math.exp(-x*e),T=(x-r)*e+1;return-Hu+A*T},m=x=>{const A=Math.exp(-x*e),T=(r-x)*(e*e);return A*T});const S=5/e,p=Mg(s,m,S);if(e=uo(e),isNaN(p))return{stiffness:100,damping:10,duration:e};{const x=Math.pow(p,2)*i;return{stiffness:x,damping:y*2*Math.sqrt(i*x),duration:e}}}const Ig=12;function Mg(e,t,r){let i=r;for(let s=1;s<Ig;s++)i=i-e(i)/t(i);return i}function tc(e,t){return e*Math.sqrt(1-t*t)}const Dg=["duration","bounce"],Og=["stiffness","damping","mass"];function rf(e,t){return t.some(r=>e[r]!==void 0)}function Fg(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!rf(e,Og)&&rf(e,Dg)){const r=Ag(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}function sh({keyframes:e,restDelta:t,restSpeed:r,...i}){const s=e[0],m=e[e.length-1],y={done:!1,value:s},{stiffness:S,damping:p,mass:x,duration:A,velocity:T,isResolvedFromDuration:D}=Fg({...i,velocity:-Ar(i.velocity||0)}),_=T||0,$=p/(2*Math.sqrt(S*x)),G=m-s,B=Ar(Math.sqrt(S/x)),F=Math.abs(G)<5;r||(r=F?.01:2),t||(t=F?.005:.5);let Z;if($<1){const X=tc(B,$);Z=q=>{const te=Math.exp(-$*B*q);return m-te*((_+$*B*G)/X*Math.sin(X*q)+G*Math.cos(X*q))}}else if($===1)Z=X=>m-Math.exp(-B*X)*(G+(_+B*G)*X);else{const X=B*Math.sqrt($*$-1);Z=q=>{const te=Math.exp(-$*B*q),ee=Math.min(X*q,300);return m-te*((_+$*B*G)*Math.sinh(ee)+X*G*Math.cosh(ee))/X}}return{calculatedDuration:D&&A||null,next:X=>{const q=Z(X);if(D)y.done=X>=A;else{let te=_;X!==0&&($<1?te=ah(Z,X,q):te=0);const ee=Math.abs(te)<=r,re=Math.abs(m-q)<=t;y.done=ee&&re}return y.value=y.done?m:q,y}}}function of({keyframes:e,velocity:t=0,power:r=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:m=500,modifyTarget:y,min:S,max:p,restDelta:x=.5,restSpeed:A}){const T=e[0],D={done:!1,value:T},_=le=>S!==void 0&&le<S||p!==void 0&&le>p,$=le=>S===void 0?p:p===void 0||Math.abs(S-le)<Math.abs(p-le)?S:p;let G=r*t;const B=T+G,F=y===void 0?B:y(B);F!==B&&(G=F-T);const Z=le=>-G*Math.exp(-le/i),X=le=>F+Z(le),q=le=>{const ce=Z(le),ze=X(le);D.done=Math.abs(ce)<=x,D.value=D.done?F:ze};let te,ee;const re=le=>{_(D.value)&&(te=le,ee=sh({keyframes:[D.value,$(D.value)],velocity:ah(X,le,D.value),damping:s,stiffness:m,restDelta:x,restSpeed:A}))};return re(0),{calculatedDuration:null,next:le=>{let ce=!1;return!ee&&te===void 0&&(ce=!0,q(le),re(le)),te!==void 0&&le>te?ee.next(le-te):(!ce&&q(le),D)}}}const Lg=e=>{const t=({timestamp:r})=>e(r);return{start:()=>_e.update(t,!0),stop:()=>Ir(t),now:()=>pt.isProcessing?pt.timestamp:performance.now()}},af=2e4;function sf(e){let t=0;const r=50;let i=e.next(t);for(;!i.done&&t<af;)t+=r,i=e.next(t);return t>=af?1/0:t}const _g={decay:of,inertia:of,tween:Il,keyframes:Il,spring:sh};function Ml({autoplay:e=!0,delay:t=0,driver:r=Lg,keyframes:i,type:s="keyframes",repeat:m=0,repeatDelay:y=0,repeatType:S="loop",onPlay:p,onStop:x,onComplete:A,onUpdate:T,...D}){let _=1,$=!1,G,B;const F=()=>{B=new Promise(he=>{G=he})};F();let Z;const X=_g[s]||Il;let q;X!==Il&&typeof i[0]!="number"&&(process.env.NODE_ENV!=="production"&&Dn(i.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${i}`),q=oh([0,100],i,{clamp:!1}),i=[0,100]);const te=X({...D,keyframes:i});let ee;S==="mirror"&&(ee=X({...D,keyframes:[...i].reverse(),velocity:-(D.velocity||0)}));let re="idle",le=null,ce=null,ze=null;te.calculatedDuration===null&&m&&(te.calculatedDuration=sf(te));const{calculatedDuration:Ne}=te;let we=1/0,He=1/0;Ne!==null&&(we=Ne+y,He=we*(m+1)-y);let Ce=0;const dt=he=>{if(ce===null)return;_>0&&(ce=Math.min(ce,he)),_<0&&(ce=Math.min(he-He/_,ce)),le!==null?Ce=le:Ce=Math.round(he-ce)*_;const Se=Ce-t*(_>=0?1:-1),Nt=_>=0?Se<0:Se>He;Ce=Math.max(Se,0),re==="finished"&&le===null&&(Ce=He);let mt=Ce,Ae=te;if(m){const Ge=Math.min(Ce,He)/we;let it=Math.floor(Ge),Ie=Ge%1;!Ie&&Ge>=1&&(Ie=1),Ie===1&&it--,it=Math.min(it,m+1),!!(it%2)&&(S==="reverse"?(Ie=1-Ie,y&&(Ie-=y/we)):S==="mirror"&&(Ae=ee)),mt=co(0,1,Ie)*we}const ke=Nt?{done:!1,value:i[0]}:Ae.next(mt);q&&(ke.value=q(ke.value));let{done:Rt}=ke;!Nt&&Ne!==null&&(Rt=_>=0?Ce>=He:Ce<=0);const Ht=le===null&&(re==="finished"||re==="running"&&Rt);return T&&T(ke.value),Ht&&Ze(),ke},Pe=()=>{Z&&Z.stop(),Z=void 0},ot=()=>{re="idle",Pe(),G(),F(),ce=ze=null},Ze=()=>{re="finished",A&&A(),Pe(),G()},je=()=>{if($)return;Z||(Z=r(dt));const he=Z.now();p&&p(),le!==null?ce=he-le:(!ce||re==="finished")&&(ce=he),re==="finished"&&F(),ze=ce,le=null,re="running",Z.start()};e&&je();const Ut={then(he,Se){return B.then(he,Se)},get time(){return Ar(Ce)},set time(he){he=uo(he),Ce=he,le!==null||!Z||_===0?le=he:ce=Z.now()-he/_},get duration(){const he=te.calculatedDuration===null?sf(te):te.calculatedDuration;return Ar(he)},get speed(){return _},set speed(he){he===_||!Z||(_=he,Ut.time=Ar(Ce))},get state(){return re},play:je,pause:()=>{re="paused",le=Ce},stop:()=>{$=!0,re!=="idle"&&(re="idle",x&&x(),ot())},cancel:()=>{ze!==null&&dt(ze),ot()},complete:()=>{re="finished"},sample:he=>(ce=0,dt(he))};return Ut}function jg(e){let t;return()=>(t===void 0&&(t=e()),t)}const Bg=jg(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Vg=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),yl=10,zg=2e4,Wg=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Bd(t.ease);function Ug(e,t,{onUpdate:r,onComplete:i,...s}){if(!(Bg()&&Vg.has(t)&&!s.repeatDelay&&s.repeatType!=="mirror"&&s.damping!==0&&s.type!=="inertia"))return!1;let y=!1,S,p,x=!1;const A=()=>{p=new Promise(X=>{S=X})};A();let{keyframes:T,duration:D=300,ease:_,times:$}=s;if(Wg(t,s)){const X=Ml({...s,repeat:0,delay:0});let q={done:!1,value:T[0]};const te=[];let ee=0;for(;!q.done&&ee<zg;)q=X.sample(ee),te.push(q.value),ee+=yl;$=void 0,T=te,D=ee-yl,_="linear"}const G=qm(e.owner.current,t,T,{...s,duration:D,ease:_,times:$}),B=()=>{x=!1,G.cancel()},F=()=>{x=!0,_e.update(B),S(),A()};return G.onfinish=()=>{x||(e.set(eg(T,s)),i&&i(),F())},{then(X,q){return p.then(X,q)},attachTimeline(X){return G.timeline=X,G.onfinish=null,Ye},get time(){return Ar(G.currentTime||0)},set time(X){G.currentTime=uo(X)},get speed(){return G.playbackRate},set speed(X){G.playbackRate=X},get duration(){return Ar(D)},play:()=>{y||(G.play(),Ir(B))},pause:()=>G.pause(),stop:()=>{if(y=!0,G.playState==="idle")return;const{currentTime:X}=G;if(X){const q=Ml({...s,autoplay:!1});e.setWithVelocity(q.sample(X-yl).value,q.sample(X).value,yl)}F()},complete:()=>{x||G.finish()},cancel:F}}function Ng({keyframes:e,delay:t,onUpdate:r,onComplete:i}){const s=()=>(r&&r(e[e.length-1]),i&&i(),{time:0,speed:1,duration:0,play:Ye,pause:Ye,stop:Ye,then:m=>(m(),Promise.resolve()),cancel:Ye,complete:Ye});return t?Ml({keyframes:[0,1],duration:0,delay:t,onComplete:s}):s()}const Hg={type:"spring",stiffness:500,damping:25,restSpeed:10},$g=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Yg={type:"keyframes",duration:.8},Gg={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Xg=(e,{keyframes:t})=>t.length>2?Yg:ii.has(e)?e.startsWith("scale")?$g(t[1]):Hg:Gg,nc=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(fo.test(t)||t==="0")&&!t.startsWith("url(")),Zg=new Set(["brightness","contrast","saturate","opacity"]);function Jg(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=r.match(Bl)||[];if(!i)return e;const s=r.replace(i,"");let m=Zg.has(t)?1:0;return i!==r&&(m*=100),t+"("+m+s+")"}const Qg=/([a-z-]*)\(.*?\)/g,rc={...fo,getAnimatableNone:e=>{const t=e.match(Qg);return t?t.map(Jg).join(" "):e}},Kg={...wd,color:Et,backgroundColor:Et,outlineColor:Et,fill:Et,stroke:Et,borderColor:Et,borderTopColor:Et,borderRightColor:Et,borderBottomColor:Et,borderLeftColor:Et,filter:rc,WebkitFilter:rc},Ec=e=>Kg[e];function lh(e,t){let r=Ec(e);return r!==rc&&(r=fo),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const uh=e=>/^0[^.\s]+$/.test(e);function qg(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||uh(e)}function ev(e,t,r,i){const s=nc(t,r);let m;Array.isArray(r)?m=[...r]:m=[null,r];const y=i.from!==void 0?i.from:e.get();let S;const p=[];for(let x=0;x<m.length;x++)m[x]===null&&(m[x]=x===0?y:m[x-1]),qg(m[x])&&p.push(x),typeof m[x]=="string"&&m[x]!=="none"&&m[x]!=="0"&&(S=m[x]);if(s&&p.length&&S)for(let x=0;x<p.length;x++){const A=p[x];m[A]=lh(t,S)}return m}function tv({when:e,delay:t,delayChildren:r,staggerChildren:i,staggerDirection:s,repeat:m,repeatType:y,repeatDelay:S,from:p,elapsed:x,...A}){return!!Object.keys(A).length}function Rc(e,t){return e[t]||e.default||e}const nv={skipAnimations:!1},Pc=(e,t,r,i={})=>s=>{const m=Rc(i,e)||{},y=m.delay||i.delay||0;let{elapsed:S=0}=i;S=S-uo(y);const p=ev(t,e,r,m),x=p[0],A=p[p.length-1],T=nc(e,x),D=nc(e,A);ks(T===D,`You are trying to animate ${e} from "${x}" to "${A}". ${x} is not an animatable value - to enable this animation set ${x} to a value animatable to ${A} via the \`style\` property.`);let _={keyframes:p,velocity:t.getVelocity(),ease:"easeOut",...m,delay:-S,onUpdate:$=>{t.set($),m.onUpdate&&m.onUpdate($)},onComplete:()=>{s(),m.onComplete&&m.onComplete()}};if(tv(m)||(_={..._,...Xg(e,_)}),_.duration&&(_.duration=uo(_.duration)),_.repeatDelay&&(_.repeatDelay=uo(_.repeatDelay)),!T||!D||Km.current||m.type===!1||nv.skipAnimations)return Ng(_);if(!i.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const $=Ug(t,e,_);if($)return $}return Ml(_)};function Dl(e){return!!(Wt(e)&&e.add)}const ch=e=>/^\-?\d*\.?\d+$/.test(e);function Ac(e,t){e.indexOf(t)===-1&&e.push(t)}function Ic(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Mc{constructor(){this.subscriptions=[]}add(t){return Ac(this.subscriptions,t),()=>Ic(this.subscriptions,t)}notify(t,r,i){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,r,i);else for(let m=0;m<s;m++){const y=this.subscriptions[m];y&&y(t,r,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const lf=new Set;function Dc(e,t,r){e||lf.has(t)||(console.warn(t),r&&console.warn(r),lf.add(t))}const rv=e=>!isNaN(parseFloat(e));class ov{constructor(t,r={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(i,s=!0)=>{this.prev=this.current,this.current=i;const{delta:m,timestamp:y}=pt;this.lastUpdated!==y&&(this.timeDelta=m,this.lastUpdated=y,_e.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),s&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>_e.postRender(this.velocityCheck),this.velocityCheck=({timestamp:i})=>{i!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=rv(this.current),this.owner=r.owner}onChange(t){return process.env.NODE_ENV!=="production"&&Dc(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Mc);const i=this.events[t].add(r);return t==="change"?()=>{i(),_e.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,i){this.set(r),this.prev=t,this.timeDelta=i}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?ih(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ca(e,t){return new ov(e,t)}const fh=e=>t=>t.test(e),iv={test:e=>e==="auto",parse:e=>e},dh=[ai,pe,Jn,ao,hm,dm,iv],cs=e=>dh.find(fh(e)),av=[...dh,Et,fo],sv=e=>av.find(fh(e));function lv(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ca(r))}function uv(e,t){const r=zl(e,t);let{transitionEnd:i={},transition:s={},...m}=r?e.makeTargetAnimatable(r,!1):{};m={...m,...i};for(const y in m){const S=Pm(m[y]);lv(e,y,S)}}function cv(e,t,r){var i,s;const m=Object.keys(t).filter(S=>!e.hasValue(S)),y=m.length;if(y)for(let S=0;S<y;S++){const p=m[S],x=t[p];let A=null;Array.isArray(x)&&(A=x[0]),A===null&&(A=(s=(i=r[p])!==null&&i!==void 0?i:e.readValue(p))!==null&&s!==void 0?s:t[p]),A!=null&&(typeof A=="string"&&(ch(A)||uh(A))?A=parseFloat(A):!sv(A)&&fo.test(x)&&(A=lh(p,x)),e.addValue(p,ca(A,{owner:e})),r[p]===void 0&&(r[p]=A),A!==null&&e.setBaseTarget(p,A))}}function fv(e,t){return t?(t[e]||t.default||t).from:void 0}function dv(e,t,r){const i={};for(const s in e){const m=fv(s,t);if(m!==void 0)i[s]=m;else{const y=r.getValue(s);y&&(i[s]=y.get())}}return i}function hv({protectedKeys:e,needsAnimating:t},r){const i=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,i}function pv(e,t){const r=e.get();if(Array.isArray(t)){for(let i=0;i<t.length;i++)if(t[i]!==r)return!0}else return r!==t}function hh(e,t,{delay:r=0,transitionOverride:i,type:s}={}){let{transition:m=e.getDefaultTransition(),transitionEnd:y,...S}=e.makeTargetAnimatable(t);const p=e.getValue("willChange");i&&(m=i);const x=[],A=s&&e.animationState&&e.animationState.getState()[s];for(const T in S){const D=e.getValue(T),_=S[T];if(!D||_===void 0||A&&hv(A,T))continue;const $={delay:r,elapsed:0,...Rc(m||{},T)};if(window.HandoffAppearAnimations){const F=e.getProps()[pd];if(F){const Z=window.HandoffAppearAnimations(F,T,D,_e);Z!==null&&($.elapsed=Z,$.isHandoff=!0)}}let G=!$.isHandoff&&!pv(D,_);if($.type==="spring"&&(D.getVelocity()||$.velocity)&&(G=!1),D.animation&&(G=!1),G)continue;D.start(Pc(T,D,_,e.shouldReduceMotion&&ii.has(T)?{type:!1}:$));const B=D.animation;Dl(p)&&(p.add(T),B.then(()=>p.remove(T))),x.push(B)}return y&&Promise.all(x).then(()=>{y&&uv(e,y)}),x}function oc(e,t,r={}){const i=zl(e,t,r.custom);let{transition:s=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(s=r.transitionOverride);const m=i?()=>Promise.all(hh(e,i,r)):()=>Promise.resolve(),y=e.variantChildren&&e.variantChildren.size?(p=0)=>{const{delayChildren:x=0,staggerChildren:A,staggerDirection:T}=s;return mv(e,t,x+p,A,T,r)}:()=>Promise.resolve(),{when:S}=s;if(S){const[p,x]=S==="beforeChildren"?[m,y]:[y,m];return p().then(()=>x())}else return Promise.all([m(),y(r.delay)])}function mv(e,t,r=0,i=0,s=1,m){const y=[],S=(e.variantChildren.size-1)*i,p=s===1?(x=0)=>x*i:(x=0)=>S-x*i;return Array.from(e.variantChildren).sort(gv).forEach((x,A)=>{x.notify("AnimationStart",t),y.push(oc(x,t,{...m,delay:r+p(A)}).then(()=>x.notify("AnimationComplete",t)))}),Promise.all(y)}function gv(e,t){return e.sortNodePosition(t)}function vv(e,t,r={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const s=t.map(m=>oc(e,m,r));i=Promise.all(s)}else if(typeof t=="string")i=oc(e,t,r);else{const s=typeof t=="function"?zl(e,t,r.custom):t;i=Promise.all(hh(e,s,r))}return i.then(()=>e.notify("AnimationComplete",t))}const yv=[...pc].reverse(),bv=pc.length;function xv(e){return t=>Promise.all(t.map(({animation:r,options:i})=>vv(e,r,i)))}function Sv(e){let t=xv(e);const r=kv();let i=!0;const s=(p,x)=>{const A=zl(e,x);if(A){const{transition:T,transitionEnd:D,..._}=A;p={...p,..._,...D}}return p};function m(p){t=p(e)}function y(p,x){const A=e.getProps(),T=e.getVariantContext(!0)||{},D=[],_=new Set;let $={},G=1/0;for(let F=0;F<bv;F++){const Z=yv[F],X=r[Z],q=A[Z]!==void 0?A[Z]:T[Z],te=vs(q),ee=Z===x?X.isActive:null;ee===!1&&(G=F);let re=q===T[Z]&&q!==A[Z]&&te;if(re&&i&&e.manuallyAnimateOnMount&&(re=!1),X.protectedKeys={...$},!X.isActive&&ee===null||!q&&!X.prevProp||_l(q)||typeof q=="boolean")continue;let ce=wv(X.prevProp,q)||Z===x&&X.isActive&&!re&&te||F>G&&te,ze=!1;const Ne=Array.isArray(q)?q:[q];let we=Ne.reduce(s,{});ee===!1&&(we={});const{prevResolvedValues:He={}}=X,Ce={...He,...we},dt=Pe=>{ce=!0,_.has(Pe)&&(ze=!0,_.delete(Pe)),X.needsAnimating[Pe]=!0};for(const Pe in Ce){const ot=we[Pe],Ze=He[Pe];if($.hasOwnProperty(Pe))continue;let je=!1;Pl(ot)&&Pl(Ze)?je=!_d(ot,Ze):je=ot!==Ze,je?ot!==void 0?dt(Pe):_.add(Pe):ot!==void 0&&_.has(Pe)?dt(Pe):X.protectedKeys[Pe]=!0}X.prevProp=q,X.prevResolvedValues=we,X.isActive&&($={...$,...we}),i&&e.blockInitialAnimation&&(ce=!1),ce&&(!re||ze)&&D.push(...Ne.map(Pe=>({animation:Pe,options:{type:Z,...p}})))}if(_.size){const F={};_.forEach(Z=>{const X=e.getBaseTarget(Z);X!==void 0&&(F[Z]=X)}),D.push({animation:F})}let B=!!D.length;return i&&(A.initial===!1||A.initial===A.animate)&&!e.manuallyAnimateOnMount&&(B=!1),i=!1,B?t(D):Promise.resolve()}function S(p,x,A){var T;if(r[p].isActive===x)return Promise.resolve();(T=e.variantChildren)===null||T===void 0||T.forEach(_=>{var $;return($=_.animationState)===null||$===void 0?void 0:$.setActive(p,x)}),r[p].isActive=x;const D=y(A,p);for(const _ in r)r[_].protectedKeys={};return D}return{animateChanges:y,setActive:S,setAnimateFunction:m,getState:()=>r}}function wv(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!_d(t,e):!1}function ei(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function kv(){return{animate:ei(!0),whileInView:ei(),whileHover:ei(),whileTap:ei(),whileDrag:ei(),whileFocus:ei(),exit:ei()}}class Tv extends ho{constructor(t){super(t),t.animationState||(t.animationState=Sv(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),_l(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}}let Cv=0;class Ev extends ho{constructor(){super(...arguments),this.id=Cv++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r,custom:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;const m=this.node.animationState.setActive("exit",!t,{custom:i??this.node.getProps().custom});r&&!t&&m.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const Rv={animation:{Feature:Tv},exit:{Feature:Ev}},uf=(e,t)=>Math.abs(e-t);function Pv(e,t){const r=uf(e.x,t.x),i=uf(e.y,t.y);return Math.sqrt(r**2+i**2)}class ph{constructor(t,r,{transformPagePoint:i,contextWindow:s,dragSnapToOrigin:m=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const T=Yu(this.lastMoveEventInfo,this.history),D=this.startEvent!==null,_=Pv(T.offset,{x:0,y:0})>=3;if(!D&&!_)return;const{point:$}=T,{timestamp:G}=pt;this.history.push({...$,timestamp:G});const{onStart:B,onMove:F}=this.handlers;D||(B&&B(this.lastMoveEvent,T),this.startEvent=this.lastMoveEvent),F&&F(this.lastMoveEvent,T)},this.handlePointerMove=(T,D)=>{this.lastMoveEvent=T,this.lastMoveEventInfo=$u(D,this.transformPagePoint),_e.update(this.updatePoint,!0)},this.handlePointerUp=(T,D)=>{this.end();const{onEnd:_,onSessionEnd:$,resumeAnimation:G}=this.handlers;if(this.dragSnapToOrigin&&G&&G(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const B=Yu(T.type==="pointercancel"?this.lastMoveEventInfo:$u(D,this.transformPagePoint),this.history);this.startEvent&&_&&_(T,B),$&&$(T,B)},!Md(t))return;this.dragSnapToOrigin=m,this.handlers=r,this.transformPagePoint=i,this.contextWindow=s||window;const y=Vl(t),S=$u(y,this.transformPagePoint),{point:p}=S,{timestamp:x}=pt;this.history=[{...p,timestamp:x}];const{onSessionStart:A}=r;A&&A(t,Yu(S,this.history)),this.removeListeners=lo(Pr(this.contextWindow,"pointermove",this.handlePointerMove),Pr(this.contextWindow,"pointerup",this.handlePointerUp),Pr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ir(this.updatePoint)}}function $u(e,t){return t?{point:t(e.point)}:e}function cf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Yu({point:e},t){return{point:e,delta:cf(e,mh(t)),offset:cf(e,Av(t)),velocity:Iv(t,.1)}}function Av(e){return e[0]}function mh(e){return e[e.length-1]}function Iv(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,i=null;const s=mh(e);for(;r>=0&&(i=e[r],!(s.timestamp-i.timestamp>uo(t)));)r--;if(!i)return{x:0,y:0};const m=Ar(s.timestamp-i.timestamp);if(m===0)return{x:0,y:0};const y={x:(s.x-i.x)/m,y:(s.y-i.y)/m};return y.x===1/0&&(y.x=0),y.y===1/0&&(y.y=0),y}function Kt(e){return e.max-e.min}function ic(e,t=0,r=.01){return Math.abs(e-t)<=r}function ff(e,t,r,i=.5){e.origin=i,e.originPoint=Ue(t.min,t.max,e.origin),e.scale=Kt(r)/Kt(t),(ic(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ue(r.min,r.max,e.origin)-e.originPoint,(ic(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ms(e,t,r,i){ff(e.x,t.x,r.x,i?i.originX:void 0),ff(e.y,t.y,r.y,i?i.originY:void 0)}function df(e,t,r){e.min=r.min+t.min,e.max=e.min+Kt(t)}function Mv(e,t,r){df(e.x,t.x,r.x),df(e.y,t.y,r.y)}function hf(e,t,r){e.min=t.min-r.min,e.max=e.min+Kt(t)}function gs(e,t,r){hf(e.x,t.x,r.x),hf(e.y,t.y,r.y)}function Dv(e,{min:t,max:r},i){return t!==void 0&&e<t?e=i?Ue(t,e,i.min):Math.max(e,t):r!==void 0&&e>r&&(e=i?Ue(r,e,i.max):Math.min(e,r)),e}function pf(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function Ov(e,{top:t,left:r,bottom:i,right:s}){return{x:pf(e.x,r,s),y:pf(e.y,t,i)}}function mf(e,t){let r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,i]=[i,r]),{min:r,max:i}}function Fv(e,t){return{x:mf(e.x,t.x),y:mf(e.y,t.y)}}function Lv(e,t){let r=.5;const i=Kt(e),s=Kt(t);return s>i?r=bs(t.min,t.max-i,e.min):i>s&&(r=bs(e.min,e.max-s,t.min)),co(0,1,r)}function _v(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const ac=.35;function jv(e=ac){return e===!1?e=0:e===!0&&(e=ac),{x:gf(e,"left","right"),y:gf(e,"top","bottom")}}function gf(e,t,r){return{min:vf(e,t),max:vf(e,r)}}function vf(e,t){return typeof e=="number"?e:e[t]||0}const yf=()=>({translate:0,scale:1,origin:0,originPoint:0}),la=()=>({x:yf(),y:yf()}),bf=()=>({min:0,max:0}),Ke=()=>({x:bf(),y:bf()});function gn(e){return[e("x"),e("y")]}function gh({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function Bv({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Vv(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}function Gu(e){return e===void 0||e===1}function sc({scale:e,scaleX:t,scaleY:r}){return!Gu(e)||!Gu(t)||!Gu(r)}function ti(e){return sc(e)||vh(e)||e.z||e.rotate||e.rotateX||e.rotateY}function vh(e){return xf(e.x)||xf(e.y)}function xf(e){return e&&e!=="0%"}function Ol(e,t,r){const i=e-r,s=t*i;return r+s}function Sf(e,t,r,i,s){return s!==void 0&&(e=Ol(e,s,i)),Ol(e,r,i)+t}function lc(e,t=0,r=1,i,s){e.min=Sf(e.min,t,r,i,s),e.max=Sf(e.max,t,r,i,s)}function yh(e,{x:t,y:r}){lc(e.x,t.translate,t.scale,t.originPoint),lc(e.y,r.translate,r.scale,r.originPoint)}function zv(e,t,r,i=!1){const s=r.length;if(!s)return;t.x=t.y=1;let m,y;for(let S=0;S<s;S++){m=r[S],y=m.projectionDelta;const p=m.instance;p&&p.style&&p.style.display==="contents"||(i&&m.options.layoutScroll&&m.scroll&&m!==m.root&&ua(e,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),y&&(t.x*=y.x.scale,t.y*=y.y.scale,yh(e,y)),i&&ti(m.latestValues)&&ua(e,m.latestValues))}t.x=wf(t.x),t.y=wf(t.y)}function wf(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function so(e,t){e.min=e.min+t,e.max=e.max+t}function kf(e,t,[r,i,s]){const m=t[s]!==void 0?t[s]:.5,y=Ue(e.min,e.max,m);lc(e,t[r],t[i],y,t.scale)}const Wv=["x","scaleX","originX"],Uv=["y","scaleY","originY"];function ua(e,t){kf(e.x,t,Wv),kf(e.y,t,Uv)}function bh(e,t){return gh(Vv(e.getBoundingClientRect(),t))}function Nv(e,t,r){const i=bh(e,r),{scroll:s}=t;return s&&(so(i.x,s.offset.x),so(i.y,s.offset.y)),i}const xh=({current:e})=>e?e.ownerDocument.defaultView:null,Hv=new WeakMap;class $v{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ke(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=A=>{const{dragSnapToOrigin:T}=this.getProps();T?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(Vl(A,"page").point)},m=(A,T)=>{const{drag:D,dragPropagation:_,onDragStart:$}=this.getProps();if(D&&!_&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Od(D),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),gn(B=>{let F=this.getAxisMotionValue(B).get()||0;if(Jn.test(F)){const{projection:Z}=this.visualElement;if(Z&&Z.layout){const X=Z.layout.layoutBox[B];X&&(F=Kt(X)*(parseFloat(F)/100))}}this.originPoint[B]=F}),$&&_e.update(()=>$(A,T),!1,!0);const{animationState:G}=this.visualElement;G&&G.setActive("whileDrag",!0)},y=(A,T)=>{const{dragPropagation:D,dragDirectionLock:_,onDirectionLock:$,onDrag:G}=this.getProps();if(!D&&!this.openGlobalLock)return;const{offset:B}=T;if(_&&this.currentDirection===null){this.currentDirection=Yv(B),this.currentDirection!==null&&$&&$(this.currentDirection);return}this.updateAxis("x",T.point,B),this.updateAxis("y",T.point,B),this.visualElement.render(),G&&G(A,T)},S=(A,T)=>this.stop(A,T),p=()=>gn(A=>{var T;return this.getAnimationState(A)==="paused"&&((T=this.getAxisMotionValue(A).animation)===null||T===void 0?void 0:T.play())}),{dragSnapToOrigin:x}=this.getProps();this.panSession=new ph(t,{onSessionStart:s,onStart:m,onMove:y,onSessionEnd:S,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:x,contextWindow:xh(this.visualElement)})}stop(t,r){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:s}=r;this.startAnimation(s);const{onDragEnd:m}=this.getProps();m&&_e.update(()=>m(t,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,i){const{drag:s}=this.getProps();if(!i||!bl(t,s,this.currentDirection))return;const m=this.getAxisMotionValue(t);let y=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(y=Dv(y,this.constraints[t],this.elastic[t])),m.set(y)}resolveConstraints(){var t;const{dragConstraints:r,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,m=this.constraints;r&&aa(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&s?this.constraints=Ov(s.layoutBox,r):this.constraints=!1,this.elastic=jv(i),m!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&gn(y=>{this.getAxisMotionValue(y)&&(this.constraints[y]=_v(s.layoutBox[y],this.constraints[y]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!aa(t))return!1;const i=t.current;Dn(i!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const m=Nv(i,s.root,this.visualElement.getTransformPagePoint());let y=Fv(s.layout.layoutBox,m);if(r){const S=r(Bv(y));this.hasMutatedConstraints=!!S,S&&(y=gh(S))}return y}startAnimation(t){const{drag:r,dragMomentum:i,dragElastic:s,dragTransition:m,dragSnapToOrigin:y,onDragTransitionEnd:S}=this.getProps(),p=this.constraints||{},x=gn(A=>{if(!bl(A,r,this.currentDirection))return;let T=p&&p[A]||{};y&&(T={min:0,max:0});const D=s?200:1e6,_=s?40:1e7,$={type:"inertia",velocity:i?t[A]:0,bounceStiffness:D,bounceDamping:_,timeConstant:750,restDelta:1,restSpeed:10,...m,...T};return this.startAxisValueAnimation(A,$)});return Promise.all(x).then(S)}startAxisValueAnimation(t,r){const i=this.getAxisMotionValue(t);return i.start(Pc(t,i,0,r))}stopAnimation(){gn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){gn(t=>{var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(t){const r="_drag"+t.toUpperCase(),i=this.visualElement.getProps(),s=i[r];return s||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){gn(r=>{const{drag:i}=this.getProps();if(!bl(r,i,this.currentDirection))return;const{projection:s}=this.visualElement,m=this.getAxisMotionValue(r);if(s&&s.layout){const{min:y,max:S}=s.layout.layoutBox[r];m.set(t[r]-Ue(y,S,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!aa(r)||!i||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};gn(y=>{const S=this.getAxisMotionValue(y);if(S){const p=S.get();s[y]=Lv({min:p,max:p},this.constraints[y])}});const{transformTemplate:m}=this.visualElement.getProps();this.visualElement.current.style.transform=m?m({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),gn(y=>{if(!bl(y,t,null))return;const S=this.getAxisMotionValue(y),{min:p,max:x}=this.constraints[y];S.set(Ue(p,x,s[y]))})}addListeners(){if(!this.visualElement.current)return;Hv.set(this.visualElement,this);const t=this.visualElement.current,r=Pr(t,"pointerdown",p=>{const{drag:x,dragListener:A=!0}=this.getProps();x&&A&&this.start(p)}),i=()=>{const{dragConstraints:p}=this.getProps();aa(p)&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,m=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),i();const y=Rr(window,"resize",()=>this.scalePositionWithinConstraints()),S=s.addEventListener("didUpdate",({delta:p,hasLayoutChanged:x})=>{this.isDragging&&x&&(gn(A=>{const T=this.getAxisMotionValue(A);T&&(this.originPoint[A]+=p[A].translate,T.set(T.get()+p[A].translate))}),this.visualElement.render())});return()=>{y(),r(),m(),S&&S()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:m=!1,dragElastic:y=ac,dragMomentum:S=!0}=t;return{...t,drag:r,dragDirectionLock:i,dragPropagation:s,dragConstraints:m,dragElastic:y,dragMomentum:S}}}function bl(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function Yv(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class Gv extends ho{constructor(t){super(t),this.removeGroupControls=Ye,this.removeListeners=Ye,this.controls=new $v(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ye}unmount(){this.removeGroupControls(),this.removeListeners()}}const Tf=e=>(t,r)=>{e&&_e.update(()=>e(t,r))};class Xv extends ho{constructor(){super(...arguments),this.removePointerDownListener=Ye}onPointerDown(t){this.session=new ph(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:xh(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:Tf(t),onStart:Tf(r),onMove:i,onEnd:(m,y)=>{delete this.session,s&&_e.update(()=>s(m,y))}}}mount(){this.removePointerDownListener=Pr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function Zv(){const e=oe.useContext(dc);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:i}=e,s=oe.useId();return oe.useEffect(()=>i(s),[]),!t&&r?[!1,()=>r&&r(s)]:[!0]}const kl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Cf(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fs={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(pe.test(e))e=parseFloat(e);else return e;const r=Cf(e,t.target.x),i=Cf(e,t.target.y);return`${r}% ${i}%`}},Jv={correct:(e,{treeScale:t,projectionDelta:r})=>{const i=e,s=fo.parse(e);if(s.length>5)return i;const m=fo.createTransformer(e),y=typeof s[0]!="number"?1:0,S=r.x.scale*t.x,p=r.y.scale*t.y;s[0+y]/=S,s[1+y]/=p;const x=Ue(S,p,.5);return typeof s[2+y]=="number"&&(s[2+y]/=x),typeof s[3+y]=="number"&&(s[3+y]/=x),m(s)}};class Qv extends oe.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:i,layoutId:s}=this.props,{projection:m}=t;im(Kv),m&&(r.group&&r.group.add(m),i&&i.register&&s&&i.register(m),m.root.didUpdate(),m.addEventListener("animationComplete",()=>{this.safeToRemove()}),m.setOptions({...m.options,onExitComplete:()=>this.safeToRemove()})),kl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:i,drag:s,isPresent:m}=this.props,y=i.projection;return y&&(y.isPresent=m,s||t.layoutDependency!==r||r===void 0?y.willUpdate():this.safeToRemove(),t.isPresent!==m&&(m?y.promote():y.relegate()||_e.postRender(()=>{const S=y.getStack();(!S||!S.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:i}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Sh(e){const[t,r]=Zv(),i=oe.useContext(gd);return oe.createElement(Qv,{...e,layoutGroup:i,switchLayoutGroup:oe.useContext(vd),isPresent:t,safeToRemove:r})}const Kv={borderRadius:{...fs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fs,borderTopRightRadius:fs,borderBottomLeftRadius:fs,borderBottomRightRadius:fs,boxShadow:Jv},wh=["TopLeft","TopRight","BottomLeft","BottomRight"],qv=wh.length,Ef=e=>typeof e=="string"?parseFloat(e):e,Rf=e=>typeof e=="number"||pe.test(e);function ey(e,t,r,i,s,m){s?(e.opacity=Ue(0,r.opacity!==void 0?r.opacity:1,ty(i)),e.opacityExit=Ue(t.opacity!==void 0?t.opacity:1,0,ny(i))):m&&(e.opacity=Ue(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,i));for(let y=0;y<qv;y++){const S=`border${wh[y]}Radius`;let p=Pf(t,S),x=Pf(r,S);if(p===void 0&&x===void 0)continue;p||(p=0),x||(x=0),p===0||x===0||Rf(p)===Rf(x)?(e[S]=Math.max(Ue(Ef(p),Ef(x),i),0),(Jn.test(x)||Jn.test(p))&&(e[S]+="%")):e[S]=x}(t.rotate||r.rotate)&&(e.rotate=Ue(t.rotate||0,r.rotate||0,i))}function Pf(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const ty=kh(0,.5,$d),ny=kh(.5,.95,Ye);function kh(e,t,r){return i=>i<e?0:i>t?1:r(bs(e,t,i))}function Af(e,t){e.min=t.min,e.max=t.max}function mn(e,t){Af(e.x,t.x),Af(e.y,t.y)}function If(e,t,r,i,s){return e-=t,e=Ol(e,1/r,i),s!==void 0&&(e=Ol(e,1/s,i)),e}function ry(e,t=0,r=1,i=.5,s,m=e,y=e){if(Jn.test(t)&&(t=parseFloat(t),t=Ue(y.min,y.max,t/100)-y.min),typeof t!="number")return;let S=Ue(m.min,m.max,i);e===m&&(S-=t),e.min=If(e.min,t,r,S,s),e.max=If(e.max,t,r,S,s)}function Mf(e,t,[r,i,s],m,y){ry(e,t[r],t[i],t[s],t.scale,m,y)}const oy=["x","scaleX","originX"],iy=["y","scaleY","originY"];function Df(e,t,r,i){Mf(e.x,t,oy,r?r.x:void 0,i?i.x:void 0),Mf(e.y,t,iy,r?r.y:void 0,i?i.y:void 0)}function Of(e){return e.translate===0&&e.scale===1}function Th(e){return Of(e.x)&&Of(e.y)}function ay(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Ch(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Ff(e){return Kt(e.x)/Kt(e.y)}class sy{constructor(){this.members=[]}add(t){Ac(this.members,t),t.scheduleRender()}remove(t){if(Ic(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(s=>t===s);if(r===0)return!1;let i;for(let s=r;s>=0;s--){const m=this.members[s];if(m.isPresent!==!1){i=m;break}}return i?(this.promote(i),!0):!1}promote(t,r){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,r&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:s}=t.options;s===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:i}=t;r.onExitComplete&&r.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Lf(e,t,r){let i="";const s=e.x.translate/t.x,m=e.y.translate/t.y;if((s||m)&&(i=`translate3d(${s}px, ${m}px, 0) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:p,rotateX:x,rotateY:A}=r;p&&(i+=`rotate(${p}deg) `),x&&(i+=`rotateX(${x}deg) `),A&&(i+=`rotateY(${A}deg) `)}const y=e.x.scale*t.x,S=e.y.scale*t.y;return(y!==1||S!==1)&&(i+=`scale(${y}, ${S})`),i||"none"}const ly=(e,t)=>e.depth-t.depth;class uy{constructor(){this.children=[],this.isDirty=!1}add(t){Ac(this.children,t),this.isDirty=!0}remove(t){Ic(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ly),this.isDirty=!1,this.children.forEach(t)}}function cy(e,t){const r=performance.now(),i=({timestamp:s})=>{const m=s-r;m>=t&&(Ir(i),e(m-t))};return _e.read(i,!0),()=>Ir(i)}function fy(e){window.MotionDebug&&window.MotionDebug.record(e)}function dy(e){return e instanceof SVGElement&&e.tagName!=="svg"}function hy(e,t,r){const i=Wt(e)?e:ca(e);return i.start(Pc("",i,t,r)),i.animation}const _f=["","X","Y","Z"],py={visibility:"hidden"},jf=1e3;let my=0;const ni={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Eh({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(y={},S=t==null?void 0:t()){this.id=my++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ni.totalNodes=ni.resolvedTargetDeltas=ni.recalculatedProjection=0,this.nodes.forEach(yy),this.nodes.forEach(ky),this.nodes.forEach(Ty),this.nodes.forEach(by),fy(ni)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=y,this.root=S?S.root||S:this,this.path=S?[...S.path,S]:[],this.parent=S,this.depth=S?S.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new uy)}addEventListener(y,S){return this.eventHandlers.has(y)||this.eventHandlers.set(y,new Mc),this.eventHandlers.get(y).add(S)}notifyListeners(y,...S){const p=this.eventHandlers.get(y);p&&p.notify(...S)}hasListeners(y){return this.eventHandlers.has(y)}mount(y,S=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=dy(y),this.instance=y;const{layoutId:p,layout:x,visualElement:A}=this.options;if(A&&!A.current&&A.mount(y),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),S&&(x||p)&&(this.isLayoutDirty=!0),e){let T;const D=()=>this.root.updateBlockedByResize=!1;e(y,()=>{this.root.updateBlockedByResize=!0,T&&T(),T=cy(D,250),kl.hasAnimatedSinceResize&&(kl.hasAnimatedSinceResize=!1,this.nodes.forEach(Vf))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&A&&(p||x)&&this.addEventListener("didUpdate",({delta:T,hasLayoutChanged:D,hasRelativeTargetChanged:_,layout:$})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const G=this.options.transition||A.getDefaultTransition()||Ay,{onLayoutAnimationStart:B,onLayoutAnimationComplete:F}=A.getProps(),Z=!this.targetLayout||!Ch(this.targetLayout,$)||_,X=!D&&_;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||X||D&&(Z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(T,X);const q={...Rc(G,"layout"),onPlay:B,onComplete:F};(A.shouldReduceMotion||this.options.layoutRoot)&&(q.delay=0,q.type=!1),this.startAnimation(q)}else D||Vf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=$})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const y=this.getStack();y&&y.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ir(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Cy),this.animationId++)}getTransformTemplate(){const{visualElement:y}=this.options;return y&&y.getProps().transformTemplate}willUpdate(y=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let A=0;A<this.path.length;A++){const T=this.path[A];T.shouldResetTransform=!0,T.updateScroll("snapshot"),T.options.layoutRoot&&T.willUpdate(!1)}const{layoutId:S,layout:p}=this.options;if(S===void 0&&!p)return;const x=this.getTransformTemplate();this.prevTransformTemplateValue=x?x(this.latestValues,""):void 0,this.updateSnapshot(),y&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Bf);return}this.isUpdating||this.nodes.forEach(Sy),this.isUpdating=!1,this.nodes.forEach(wy),this.nodes.forEach(gy),this.nodes.forEach(vy),this.clearAllSnapshots();const S=performance.now();pt.delta=co(0,1e3/60,S-pt.timestamp),pt.timestamp=S,pt.isProcessing=!0,ju.update.process(pt),ju.preRender.process(pt),ju.render.process(pt),pt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(xy),this.sharedNodes.forEach(Ey)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,_e.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){_e.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const y=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ke(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:S}=this.options;S&&S.notify("LayoutMeasure",this.layout.layoutBox,y?y.layoutBox:void 0)}updateScroll(y="measure"){let S=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===y&&(S=!1),S&&(this.scroll={animationId:this.root.animationId,phase:y,isRoot:i(this.instance),offset:r(this.instance)})}resetTransform(){if(!s)return;const y=this.isLayoutDirty||this.shouldResetTransform,S=this.projectionDelta&&!Th(this.projectionDelta),p=this.getTransformTemplate(),x=p?p(this.latestValues,""):void 0,A=x!==this.prevTransformTemplateValue;y&&(S||ti(this.latestValues)||A)&&(s(this.instance,x),this.shouldResetTransform=!1,this.scheduleRender())}measure(y=!0){const S=this.measurePageBox();let p=this.removeElementScroll(S);return y&&(p=this.removeTransform(p)),Iy(p),{animationId:this.root.animationId,measuredBox:S,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:y}=this.options;if(!y)return Ke();const S=y.measureViewportBox(),{scroll:p}=this.root;return p&&(so(S.x,p.offset.x),so(S.y,p.offset.y)),S}removeElementScroll(y){const S=Ke();mn(S,y);for(let p=0;p<this.path.length;p++){const x=this.path[p],{scroll:A,options:T}=x;if(x!==this.root&&A&&T.layoutScroll){if(A.isRoot){mn(S,y);const{scroll:D}=this.root;D&&(so(S.x,-D.offset.x),so(S.y,-D.offset.y))}so(S.x,A.offset.x),so(S.y,A.offset.y)}}return S}applyTransform(y,S=!1){const p=Ke();mn(p,y);for(let x=0;x<this.path.length;x++){const A=this.path[x];!S&&A.options.layoutScroll&&A.scroll&&A!==A.root&&ua(p,{x:-A.scroll.offset.x,y:-A.scroll.offset.y}),ti(A.latestValues)&&ua(p,A.latestValues)}return ti(this.latestValues)&&ua(p,this.latestValues),p}removeTransform(y){const S=Ke();mn(S,y);for(let p=0;p<this.path.length;p++){const x=this.path[p];if(!x.instance||!ti(x.latestValues))continue;sc(x.latestValues)&&x.updateSnapshot();const A=Ke(),T=x.measurePageBox();mn(A,T),Df(S,x.latestValues,x.snapshot?x.snapshot.layoutBox:void 0,A)}return ti(this.latestValues)&&Df(S,this.latestValues),S}setTargetDelta(y){this.targetDelta=y,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(y){this.options={...this.options,...y,crossfade:y.crossfade!==void 0?y.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==pt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(y=!1){var S;const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const x=!!this.resumingFrom||this!==p;if(!(y||x&&this.isSharedProjectionDirty||this.isProjectionDirty||!((S=this.parent)===null||S===void 0)&&S.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:T,layoutId:D}=this.options;if(!(!this.layout||!(T||D))){if(this.resolvedRelativeTargetAt=pt.timestamp,!this.targetDelta&&!this.relativeTarget){const _=this.getClosestProjectingParent();_&&_.layout&&this.animationProgress!==1?(this.relativeParent=_,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ke(),this.relativeTargetOrigin=Ke(),gs(this.relativeTargetOrigin,this.layout.layoutBox,_.layout.layoutBox),mn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ke(),this.targetWithTransforms=Ke()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Mv(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):mn(this.target,this.layout.layoutBox),yh(this.target,this.targetDelta)):mn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const _=this.getClosestProjectingParent();_&&!!_.resumingFrom==!!this.resumingFrom&&!_.options.layoutScroll&&_.target&&this.animationProgress!==1?(this.relativeParent=_,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ke(),this.relativeTargetOrigin=Ke(),gs(this.relativeTargetOrigin,this.target,_.target),mn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ni.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||sc(this.parent.latestValues)||vh(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var y;const S=this.getLead(),p=!!this.resumingFrom||this!==S;let x=!0;if((this.isProjectionDirty||!((y=this.parent)===null||y===void 0)&&y.isProjectionDirty)&&(x=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(x=!1),this.resolvedRelativeTargetAt===pt.timestamp&&(x=!1),x)return;const{layout:A,layoutId:T}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(A||T))return;mn(this.layoutCorrected,this.layout.layoutBox);const D=this.treeScale.x,_=this.treeScale.y;zv(this.layoutCorrected,this.treeScale,this.path,p),S.layout&&!S.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(S.target=S.layout.layoutBox);const{target:$}=S;if(!$){this.projectionTransform&&(this.projectionDelta=la(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=la(),this.projectionDeltaWithTransform=la());const G=this.projectionTransform;ms(this.projectionDelta,this.layoutCorrected,$,this.latestValues),this.projectionTransform=Lf(this.projectionDelta,this.treeScale),(this.projectionTransform!==G||this.treeScale.x!==D||this.treeScale.y!==_)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",$)),ni.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(y=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),y){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(y,S=!1){const p=this.snapshot,x=p?p.latestValues:{},A={...this.latestValues},T=la();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!S;const D=Ke(),_=p?p.source:void 0,$=this.layout?this.layout.source:void 0,G=_!==$,B=this.getStack(),F=!B||B.members.length<=1,Z=!!(G&&!F&&this.options.crossfade===!0&&!this.path.some(Py));this.animationProgress=0;let X;this.mixTargetDelta=q=>{const te=q/1e3;zf(T.x,y.x,te),zf(T.y,y.y,te),this.setTargetDelta(T),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(gs(D,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Ry(this.relativeTarget,this.relativeTargetOrigin,D,te),X&&ay(this.relativeTarget,X)&&(this.isProjectionDirty=!1),X||(X=Ke()),mn(X,this.relativeTarget)),G&&(this.animationValues=A,ey(A,x,this.latestValues,te,Z,F)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=te},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(y){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ir(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=_e.update(()=>{kl.hasAnimatedSinceResize=!0,this.currentAnimation=hy(0,jf,{...y,onUpdate:S=>{this.mixTargetDelta(S),y.onUpdate&&y.onUpdate(S)},onComplete:()=>{y.onComplete&&y.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const y=this.getStack();y&&y.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(jf),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const y=this.getLead();let{targetWithTransforms:S,target:p,layout:x,latestValues:A}=y;if(!(!S||!p||!x)){if(this!==y&&this.layout&&x&&Rh(this.options.animationType,this.layout.layoutBox,x.layoutBox)){p=this.target||Ke();const T=Kt(this.layout.layoutBox.x);p.x.min=y.target.x.min,p.x.max=p.x.min+T;const D=Kt(this.layout.layoutBox.y);p.y.min=y.target.y.min,p.y.max=p.y.min+D}mn(S,p),ua(S,A),ms(this.projectionDeltaWithTransform,this.layoutCorrected,S,A)}}registerSharedNode(y,S){this.sharedNodes.has(y)||this.sharedNodes.set(y,new sy),this.sharedNodes.get(y).add(S);const x=S.options.initialPromotionConfig;S.promote({transition:x?x.transition:void 0,preserveFollowOpacity:x&&x.shouldPreserveFollowOpacity?x.shouldPreserveFollowOpacity(S):void 0})}isLead(){const y=this.getStack();return y?y.lead===this:!0}getLead(){var y;const{layoutId:S}=this.options;return S?((y=this.getStack())===null||y===void 0?void 0:y.lead)||this:this}getPrevLead(){var y;const{layoutId:S}=this.options;return S?(y=this.getStack())===null||y===void 0?void 0:y.prevLead:void 0}getStack(){const{layoutId:y}=this.options;if(y)return this.root.sharedNodes.get(y)}promote({needsReset:y,transition:S,preserveFollowOpacity:p}={}){const x=this.getStack();x&&x.promote(this,p),y&&(this.projectionDelta=void 0,this.needsReset=!0),S&&this.setOptions({transition:S})}relegate(){const y=this.getStack();return y?y.relegate(this):!1}resetRotation(){const{visualElement:y}=this.options;if(!y)return;let S=!1;const{latestValues:p}=y;if((p.rotate||p.rotateX||p.rotateY||p.rotateZ)&&(S=!0),!S)return;const x={};for(let A=0;A<_f.length;A++){const T="rotate"+_f[A];p[T]&&(x[T]=p[T],y.setStaticValue(T,0))}y.render();for(const A in x)y.setStaticValue(A,x[A]);y.scheduleRender()}getProjectionStyles(y){var S,p;if(!this.instance||this.isSVG)return;if(!this.isVisible)return py;const x={visibility:""},A=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,x.opacity="",x.pointerEvents=wl(y==null?void 0:y.pointerEvents)||"",x.transform=A?A(this.latestValues,""):"none",x;const T=this.getLead();if(!this.projectionDelta||!this.layout||!T.target){const G={};return this.options.layoutId&&(G.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,G.pointerEvents=wl(y==null?void 0:y.pointerEvents)||""),this.hasProjected&&!ti(this.latestValues)&&(G.transform=A?A({},""):"none",this.hasProjected=!1),G}const D=T.animationValues||T.latestValues;this.applyTransformsToTarget(),x.transform=Lf(this.projectionDeltaWithTransform,this.treeScale,D),A&&(x.transform=A(D,x.transform));const{x:_,y:$}=this.projectionDelta;x.transformOrigin=`${_.origin*100}% ${$.origin*100}% 0`,T.animationValues?x.opacity=T===this?(p=(S=D.opacity)!==null&&S!==void 0?S:this.latestValues.opacity)!==null&&p!==void 0?p:1:this.preserveOpacity?this.latestValues.opacity:D.opacityExit:x.opacity=T===this?D.opacity!==void 0?D.opacity:"":D.opacityExit!==void 0?D.opacityExit:0;for(const G in El){if(D[G]===void 0)continue;const{correct:B,applyTo:F}=El[G],Z=x.transform==="none"?D[G]:B(D[G],T);if(F){const X=F.length;for(let q=0;q<X;q++)x[F[q]]=Z}else x[G]=Z}return this.options.layoutId&&(x.pointerEvents=T===this?wl(y==null?void 0:y.pointerEvents)||"":"none"),x}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(y=>{var S;return(S=y.currentAnimation)===null||S===void 0?void 0:S.stop()}),this.root.nodes.forEach(Bf),this.root.sharedNodes.clear()}}}function gy(e){e.updateLayout()}function vy(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=e.layout,{animationType:m}=e.options,y=r.source!==e.layout.source;m==="size"?gn(T=>{const D=y?r.measuredBox[T]:r.layoutBox[T],_=Kt(D);D.min=i[T].min,D.max=D.min+_}):Rh(m,r.layoutBox,i)&&gn(T=>{const D=y?r.measuredBox[T]:r.layoutBox[T],_=Kt(i[T]);D.max=D.min+_,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[T].max=e.relativeTarget[T].min+_)});const S=la();ms(S,i,r.layoutBox);const p=la();y?ms(p,e.applyTransform(s,!0),r.measuredBox):ms(p,i,r.layoutBox);const x=!Th(S);let A=!1;if(!e.resumeFrom){const T=e.getClosestProjectingParent();if(T&&!T.resumeFrom){const{snapshot:D,layout:_}=T;if(D&&_){const $=Ke();gs($,r.layoutBox,D.layoutBox);const G=Ke();gs(G,i,_.layoutBox),Ch($,G)||(A=!0),T.options.layoutRoot&&(e.relativeTarget=G,e.relativeTargetOrigin=$,e.relativeParent=T)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:r,delta:p,layoutDelta:S,hasLayoutChanged:x,hasRelativeTargetChanged:A})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function yy(e){ni.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function by(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function xy(e){e.clearSnapshot()}function Bf(e){e.clearMeasurements()}function Sy(e){e.isLayoutDirty=!1}function wy(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Vf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ky(e){e.resolveTargetDelta()}function Ty(e){e.calcProjection()}function Cy(e){e.resetRotation()}function Ey(e){e.removeLeadSnapshot()}function zf(e,t,r){e.translate=Ue(t.translate,0,r),e.scale=Ue(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Wf(e,t,r,i){e.min=Ue(t.min,r.min,i),e.max=Ue(t.max,r.max,i)}function Ry(e,t,r,i){Wf(e.x,t.x,r.x,i),Wf(e.y,t.y,r.y,i)}function Py(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Ay={duration:.45,ease:[.4,0,.1,1]},Uf=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Nf=Uf("applewebkit/")&&!Uf("chrome/")?Math.round:Ye;function Hf(e){e.min=Nf(e.min),e.max=Nf(e.max)}function Iy(e){Hf(e.x),Hf(e.y)}function Rh(e,t,r){return e==="position"||e==="preserve-aspect"&&!ic(Ff(t),Ff(r),.2)}const My=Eh({attachResizeListener:(e,t)=>Rr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Xu={current:void 0},Ph=Eh({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Xu.current){const e=new My({});e.mount(window),e.setOptions({layoutScroll:!0}),Xu.current=e}return Xu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Dy={pan:{Feature:Xv},drag:{Feature:Gv,ProjectionNode:Ph,MeasureLayout:Sh}},Oy=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Fy(e){const t=Oy.exec(e);if(!t)return[,];const[,r,i]=t;return[r,i]}const Ly=4;function uc(e,t,r=1){Dn(r<=Ly,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,s]=Fy(e);if(!i)return;const m=window.getComputedStyle(t).getPropertyValue(i);if(m){const y=m.trim();return ch(y)?parseFloat(y):y}else return Ku(s)?uc(s,t,r+1):s}function _y(e,{...t},r){const i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(s=>{const m=s.get();if(!Ku(m))return;const y=uc(m,i);y&&s.set(y)});for(const s in t){const m=t[s];if(!Ku(m))continue;const y=uc(m,i);y&&(t[s]=y,r||(r={}),r[s]===void 0&&(r[s]=m))}return{target:t,transitionEnd:r}}const jy=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ah=e=>jy.has(e),By=e=>Object.keys(e).some(Ah),xl=e=>e===ai||e===pe,$f=(e,t)=>parseFloat(e.split(", ")[t]),Yf=(e,t)=>(r,{transform:i})=>{if(i==="none"||!i)return 0;const s=i.match(/^matrix3d\((.+)\)$/);if(s)return $f(s[1],t);{const m=i.match(/^matrix\((.+)\)$/);return m?$f(m[1],e):0}},Vy=new Set(["x","y","z"]),zy=xs.filter(e=>!Vy.has(e));function Wy(e){const t=[];return zy.forEach(r=>{const i=e.getValue(r);i!==void 0&&(t.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}const fa={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Yf(4,13),y:Yf(5,14)};fa.translateX=fa.x;fa.translateY=fa.y;const Uy=(e,t,r)=>{const i=t.measureViewportBox(),s=t.current,m=getComputedStyle(s),{display:y}=m,S={};y==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(x=>{S[x]=fa[x](i,m)}),t.render();const p=t.measureViewportBox();return r.forEach(x=>{const A=t.getValue(x);A&&A.jump(S[x]),e[x]=fa[x](p,m)}),e},Ny=(e,t,r={},i={})=>{t={...t},i={...i};const s=Object.keys(t).filter(Ah);let m=[],y=!1;const S=[];if(s.forEach(p=>{const x=e.getValue(p);if(!e.hasValue(p))return;let A=r[p],T=cs(A);const D=t[p];let _;if(Pl(D)){const $=D.length,G=D[0]===null?1:0;A=D[G],T=cs(A);for(let B=G;B<$&&D[B]!==null;B++)_?Dn(cs(D[B])===_,"All keyframes must be of the same type"):(_=cs(D[B]),Dn(_===T||xl(T)&&xl(_),"Keyframes must be of the same dimension as the current value"))}else _=cs(D);if(T!==_)if(xl(T)&&xl(_)){const $=x.get();typeof $=="string"&&x.set(parseFloat($)),typeof D=="string"?t[p]=parseFloat(D):Array.isArray(D)&&_===pe&&(t[p]=D.map(parseFloat))}else T!=null&&T.transform&&(_!=null&&_.transform)&&(A===0||D===0)?A===0?x.set(_.transform(A)):t[p]=T.transform(D):(y||(m=Wy(e),y=!0),S.push(p),i[p]=i[p]!==void 0?i[p]:t[p],x.jump(D))}),S.length){const p=S.indexOf("height")>=0?window.pageYOffset:null,x=Uy(t,e,S);return m.length&&m.forEach(([A,T])=>{e.getValue(A).set(T)}),e.render(),Ll&&p!==null&&window.scrollTo({top:p}),{target:x,transitionEnd:i}}else return{target:t,transitionEnd:i}};function Hy(e,t,r,i){return By(t)?Ny(e,t,r,i):{target:t,transitionEnd:i}}const $y=(e,t,r,i)=>{const s=_y(e,t,i);return t=s.target,i=s.transitionEnd,Hy(e,t,r,i)},cc={current:null},Ih={current:!1};function Yy(){if(Ih.current=!0,!!Ll)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cc.current=e.matches;e.addListener(t),t()}else cc.current=!1}function Gy(e,t,r){const{willChange:i}=t;for(const s in t){const m=t[s],y=r[s];if(Wt(m))e.addValue(s,m),Dl(i)&&i.add(s),process.env.NODE_ENV==="development"&&Dc(m.version==="10.18.0",`Attempting to mix Framer Motion versions ${m.version} with 10.18.0 may not work as expected.`);else if(Wt(y))e.addValue(s,ca(m,{owner:e})),Dl(i)&&i.remove(s);else if(y!==m)if(e.hasValue(s)){const S=e.getValue(s);!S.hasAnimated&&S.set(m)}else{const S=e.getStaticValue(s);e.addValue(s,ca(S!==void 0?S:m,{owner:e}))}}for(const s in r)t[s]===void 0&&e.removeValue(s);return t}const Gf=new WeakMap,Mh=Object.keys(ys),Xy=Mh.length,Xf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Zy=mc.length;class Jy{constructor({parent:t,props:r,presenceContext:i,reducedMotionConfig:s,visualState:m},y={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>_e.render(this.render,!1,!0);const{latestValues:S,renderState:p}=m;this.latestValues=S,this.baseTarget={...S},this.initialValues=r.initial?{...S}:{},this.renderState=p,this.parent=t,this.props=r,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=y,this.isControllingVariants=jl(r),this.isVariantNode=md(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:x,...A}=this.scrapeMotionValuesFromProps(r,{});for(const T in A){const D=A[T];S[T]!==void 0&&Wt(D)&&(D.set(S[T],!1),Dl(x)&&x.add(T))}}scrapeMotionValuesFromProps(t,r){return{}}mount(t){this.current=t,Gf.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),Ih.current||Yy(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:cc.current,process.env.NODE_ENV!=="production"&&Dc(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Gf.delete(this.current),this.projection&&this.projection.unmount(),Ir(this.notifyUpdate),Ir(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,r){const i=ii.has(t),s=r.on("change",y=>{this.latestValues[t]=y,this.props.onUpdate&&_e.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),m=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{s(),m()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},i,s,m){let y,S;if(process.env.NODE_ENV!=="production"&&s&&i){const p="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";r.ignoreStrict?ks(!1,p):Dn(!1,p)}for(let p=0;p<Xy;p++){const x=Mh[p],{isEnabled:A,Feature:T,ProjectionNode:D,MeasureLayout:_}=ys[x];D&&(y=D),A(r)&&(!this.features[x]&&T&&(this.features[x]=new T(this)),_&&(S=_))}if((this.type==="html"||this.type==="svg")&&!this.projection&&y){this.projection=new y(this.latestValues,this.parent&&this.parent.projection);const{layoutId:p,layout:x,drag:A,dragConstraints:T,layoutScroll:D,layoutRoot:_}=r;this.projection.setOptions({layoutId:p,layout:x,alwaysMeasureLayout:!!A||T&&aa(T),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof x=="string"?x:"both",initialPromotionConfig:m,layoutScroll:D,layoutRoot:_})}return S}updateFeatures(){for(const t in this.features){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ke()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let i=0;i<Xf.length;i++){const s=Xf[i];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const m=t["on"+s];m&&(this.propEventSubscriptions[s]=this.on(s,m))}this.prevMotionValues=Gy(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const i=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}const r={};for(let i=0;i<Zy;i++){const s=mc[i],m=this.props[s];(vs(m)||m===!1)&&(r[s]=m)}return r}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get()}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&r!==void 0&&(i=ca(r,{owner:this}),this.addValue(t,i)),i}readValue(t){var r;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;const{initial:i}=this.props,s=typeof i=="string"||typeof i=="object"?(r=wc(this.props,i))===null||r===void 0?void 0:r[t]:void 0;if(i&&s!==void 0)return s;const m=this.getBaseTargetFromProps(this.props,t);return m!==void 0&&!Wt(m)?m:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Mc),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class Dh extends Jy{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:i}){delete r[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:r,...i},{transformValues:s},m){let y=dv(i,t||{},this);if(s&&(r&&(r=s(r)),i&&(i=s(i)),y&&(y=s(y))),m){cv(this,i,y);const S=$y(this,i,y,r);r=S.transitionEnd,i=S.target}return{transition:t,transitionEnd:r,...i}}}function Qy(e){return window.getComputedStyle(e)}class Ky extends Dh{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,r){if(ii.has(r)){const i=Ec(r);return i&&i.default||0}else{const i=Qy(t),s=(xd(r)?i.getPropertyValue(r):i[r])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:r}){return bh(t,r)}build(t,r,i,s){vc(t,r,i,s.transformTemplate)}scrapeMotionValuesFromProps(t,r){return Sc(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Wt(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(t,r,i,s){Ed(t,r,i,s)}}class qy extends Dh{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(ii.has(r)){const i=Ec(r);return i&&i.default||0}return r=Rd.has(r)?r:hc(r),t.getAttribute(r)}measureInstanceViewportBox(){return Ke()}scrapeMotionValuesFromProps(t,r){return Ad(t,r)}build(t,r,i,s){bc(t,r,i,this.isSVGTag,s.transformTemplate)}renderInstance(t,r,i,s){Pd(t,r,i,s)}mount(t){this.isSVGTag=xc(t.tagName),super.mount(t)}}const eb=(e,t)=>gc(e)?new qy(t,{enableHardwareAcceleration:!1}):new Ky(t,{enableHardwareAcceleration:!0}),tb={layout:{ProjectionNode:Ph,MeasureLayout:Sh}},nb={...Rv,...Zm,...Dy,...tb},Oh=rm((e,t)=>_m(e,t,nb,eb));function rb(e){const{children:t,parentRef:r,onlyChild:i}=e,[s,m]=oe.useState({top:0,left:0});return oe.useLayoutEffect(()=>{if(r.current){const y=r.current.getBoundingClientRect();m({top:y.top,left:y.left+y.width})}},[r]),i?t:Jf.createPortal(ne.jsx(Oh.div,{style:{position:"fixed",top:s.top,left:s.left,zIndex:1200},children:t}),r.current)}function ob(e){return ne.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",...e,children:ne.jsx("path",{fill:"currenColor",d:"M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"})})}function Fh({item:e,level:t=0,...r}){var F;const{isActive:i,isCollapsed:s,expanded:m,toggleExpand:y}=r,S=`level-${t}`,p=s?"collapsed":"expanded",x=i(e.id)?"active":"",A=(Z,X=S)=>`${Z} ${X} ${p} ${x}`,T=!!((F=e.children)!=null&&F.length),[D,_]=oe.useState(!1),$=oe.useRef();function G(Z){var ee;const{level:X,hovered:q,parentRef:te}=Z;return!T||s&&X>=2&&!q?null:ne.jsx(rb,{parentRef:te,onlyChild:!s||s&&X<2,children:ne.jsx(Oh.div,{className:A("menu-item__dropdown",`level-${X}`),initial:{height:s?"auto":0},animate:{height:s||m(e.id)?"auto":0},transition:{duration:.2},children:(ee=e.children)==null?void 0:ee.map(re=>oe.createElement(Fh,{...r,key:re.id,item:re,level:X}))},+s)})}const B=T?"div":Qf.Link;return ne.jsxs("div",{ref:$,className:A("menu-item__wrapper"),onMouseEnter:()=>s&&_(!0),onMouseLeave:()=>s&&_(!1),children:[ne.jsxs(B,{to:T?"#":e.path||"#",style:{paddingLeft:`${s?"0.5rem":`${t*1}rem`}`},className:A("menu-item__link"),onClick:Z=>{T&&(Z.preventDefault(),s||y(e.id))},children:[t!==0&&ne.jsx(ib,{cls:A,item:e}),ne.jsx("span",{className:A("menu-item__label"),children:e.name}),T&&ne.jsx("div",{className:A("menu-item__icon-arrow__wrapper"),children:ne.jsx(ob,{className:A(`menu-item__icon-arrow__icon ${m(e.id)?"open":"close"}`)})})]}),G({level:t+1,hovered:D,parentRef:$})]},e.id)}function ib({item:e,cls:t}){var m;const[r,i]=oe.useState(!1),s=()=>{i(!0)};return ne.jsx("div",{className:t("menu-item__icon"),children:r?ne.jsx("div",{style:{width:24,height:24,backgroundColor:"#dadada",borderRadius:"5px",display:"flex",justifyContent:"center",alignItems:"center"},children:(m=e.name.trim().at(0))==null?void 0:m.toUpperCase()}):ne.jsx("img",{src:e.icon||"/",alt:" ",style:{height:24,maxHeight:24},onError:s})})}function Zf(e){for(;e.startsWith("/");)e=e.slice(1);return e}function Lh(e,t,r=[]){for(const i of e){if(console.log(i.path,t,i.path===t),Zf(i.path||"")===Zf(t))return[...r,i];if(i.children){const s=Lh(i.children,t,[...r,i]);if(s)return s}}return null}function ab(e){return ne.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",...e,children:ne.jsx("path",{fill:"#E01B00",fillRule:"evenodd",d:"M.179 2.875A2.375 2.375 0 012.554.5h3.393a1.018 1.018 0 010 2.036H2.554a.34.34 0 00-.34.339v14.25c0 .187.152.34.34.34h3.393a1.018 1.018 0 110 2.035H2.554a2.375 2.375 0 01-2.375-2.375V2.875zm14.167 6.107h-7.72a1.018 1.018 0 000 2.036h7.72l-2.673 2.673a1.018 1.018 0 101.44 1.44l4.41-4.411a1.018 1.018 0 000-1.44l-4.41-4.41a1.018 1.018 0 10-1.44 1.439l2.673 2.673z",clipRule:"evenodd"})})}const sb=`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
110
- `;function lb(){return ne.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:[ne.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M22 8.27V4.23C22 2.64 21.36 2 19.77 2h-4.04c-1.59 0-2.23.64-2.23 2.23v4.04c0 1.59.64 2.23 2.23 2.23h4.04c1.59 0 2.23-.64 2.23-2.23zM10.5 8.52V3.98C10.5 2.57 9.86 2 8.27 2H4.23C2.64 2 2 2.57 2 3.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM10.5 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23H4.23c-1.59 0-2.23.64-2.23 2.23v4.04C2 21.36 2.64 22 4.23 22h4.04c1.59 0 2.23-.64 2.23-2.23z"}),ne.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeWidth:"1.5",d:"M15 15.5h6M15 19.5h6"})]})}function ub(){return ne.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:ne.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M22 8.52V3.98C22 2.57 21.36 2 19.77 2h-4.04c-1.59 0-2.23.57-2.23 1.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM22 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23h-4.04c-1.59 0-2.23.64-2.23 2.23v4.04c0 1.59.64 2.23 2.23 2.23h4.04c1.59 0 2.23-.64 2.23-2.23zM10.5 8.52V3.98C10.5 2.57 9.86 2 8.27 2H4.23C2.64 2 2 2.57 2 3.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM10.5 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23H4.23c-1.59 0-2.23.64-2.23 2.23v4.04C2 21.36 2.64 22 4.23 22h4.04c1.59 0 2.23-.64 2.23-2.23z"})})}const cb=`.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s;padding:0 8px}.side-bar.expanded{width:18rem}.side-bar.collapsed{width:64px;padding-left:4px;padding-right:4px}.side-bar__menu{margin-left:-8px;margin-right:-8px;padding-left:8px;padding-right:8px}.side-bar__menu.collapsed{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px}.side-bar__logout-btn__text.collapsed{display:none}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:0 16px;min-height:48px;border-radius:.375rem}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__logout-btn.collapsed{justify-content:center}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;margin-top:4px}.menu-item__wrapper:first-child,.menu-item__wrapper.collapsed{margin-top:0}.menu-item__wrapper.collapsed.level-1{margin-top:4px}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.active{background-color:#009d4f1a!important;color:#009d4f!important}.menu-item__link.level-0{height:auto}.menu-item__link.menu-item__link.collapsed.level-0{display:none}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0}.menu-item__icon.collapsed.level-1{width:100%}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:.5rem;padding-right:12px;color:#000}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-1{text-align:center;margin-left:0;display:none}.menu-item__label.level-0{color:#85858a}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:-3px}.menu-item__icon-arrow__wrapper.expanded{right:0}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{margin-top:4px;overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}
111
- `;function fb(e){return ne.jsx(fc,{styles:[sb,cb],style:{zIndex:1200},children:ne.jsx(db,{...e})})}function db(e){const{baseUrl:t,menuPath:r,logout:i}=e,s=Qf.useLocation(),[m,y]=oe.useState([]),[S,p]=oe.useState(!1),x=(Lh(m,s.pathname)||[]).filter(Z=>Z.parentKey!==0),[A,T]=oe.useState({}),D=Z=>{T({...A,[Z]:!A[Z]})},_=()=>{p(!S)};oe.useEffect(()=>{(async()=>{const X=t+(r||"/global-menu-config/api/v1/menu-items/user"),q=await Bh.get(X,{withCredentials:!0}).then(ee=>ee.data),te={};q.forEach(ee=>{ee.children&&(te[ee.id]=!0)}),T(te),y(q.map(ee=>({...ee,parentKey:0})))})()},[t,r]);const[$,G]=oe.useState(!1),B=S?"collapsed":"expanded",F=Z=>`${Z} ${B}`;return ne.jsxs("div",{className:F("side-bar"),children:[ne.jsx("div",{className:F("side-bar__wrapper-toggle-btn"),children:ne.jsx("button",{className:"icon-btn side-bar__toggle-btn",onClick:_,children:S?ne.jsx(lb,{}):ne.jsx(ub,{})})}),ne.jsx(fd,{className:F("side-bar__menu"),style:{marginTop:24,flex:1,overflow:"auto",height:"100%",overflowX:"hidden"},children:m.map(Z=>{const X=q=>x.some(te=>te.id===q);return ne.jsx(Fh,{item:Z,isActive:X,isCollapsed:S,expanded:q=>A[q],toggleExpand:D},Z.id)})}),ne.jsxs("div",{className:F("side-bar__wrap-btn-logout"),children:[ne.jsxs("button",{className:F("side-bar__logout-btn"),onClick:()=>G(!0),children:[ne.jsx(ab,{}),ne.jsx("span",{className:F("side-bar__logout-btn__text"),children:"Logout"})]}),ne.jsx(td,{isOpen:$,onClose:()=>G(!1),onConfirm:i})]})]})}exports.GlobalMenu=fb;exports.TopBar=up;
103
+ Incoming: %s`,In,"["+o.join(", ")+"]","["+l.join(", ")+"]");for(var d=0;d<l.length&&d<o.length;d++)if(!hu(o[d],l[d]))return!1;return!0}function Cr(){if(kr>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Mn(){return xe===null?Hi===null?(Sr=!1,Hi=xe=Cr()):(Sr=!0,xe=Hi):xe.next===null?(Sr=!1,xe=xe.next=Cr()):(Sr=!0,xe=xe.next),xe}function pu(o,l){An=l,Ya=o,at=!1,Ie=0}function $s(o,l,d,x){for(;wr;)wr=!1,Ie=0,kr+=1,xe=null,d=o(l,x);return Xa(),d}function $i(){var o=Ie!==0;return o}function Xa(){at=!1,An=null,Ya=null,wr=!1,Hi=null,kr=0,Wt=null,xe=null}function mu(o){return at&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Vo(o)}function Ys(o){return In="useContext",Tr(),Vo(o)}function Uo(o,l){return typeof l=="function"?l(o):l}function vu(o){return In="useState",Xs(Uo,o)}function Xs(o,l,d){if(o!==Uo&&(In="useReducer"),An=Tr(),xe=Mn(),Sr){var x=xe.queue,E=x.dispatch;if(Wt!==null){var M=Wt.get(x);if(M!==void 0){Wt.delete(x);var L=xe.memoizedState,N=M;do{var n=N.action;at=!0,L=o(L,n),at=!1,N=N.next}while(N!==null);return xe.memoizedState=L,[L,E]}}return[xe.memoizedState,E]}else{at=!0;var s;o===Uo?s=typeof l=="function"?l():l:s=d!==void 0?d(l):l,at=!1,xe.memoizedState=s;var f=xe.queue={last:null,dispatch:null},m=f.dispatch=Qs.bind(null,An,f);return[xe.memoizedState,m]}}function Yi(o,l){An=Tr(),xe=Mn();var d=l===void 0?null:l;if(xe!==null){var x=xe.memoizedState;if(x!==null&&d!==null){var E=x[1];if(vn(d,E))return x[0]}}at=!0;var M=o();return at=!1,xe.memoizedState=[M,d],M}function gu(o){An=Tr(),xe=Mn();var l=xe.memoizedState;if(l===null){var d={current:o};return Object.seal(d),xe.memoizedState=d,d}else return l}function Zs(o,l){In="useLayoutEffect",a("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Qs(o,l,d){if(kr>=Gi)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o===An){wr=!0;var x={action:d,next:null};Wt===null&&(Wt=new Map);var E=Wt.get(l);if(E===void 0)Wt.set(l,x);else{for(var M=E;M.next!==null;)M=M.next;M.next=x}}}function yu(o,l){return Yi(function(){return o},l)}function bu(o,l,d){return Tr(),l(o._source)}function xu(o,l,d){if(d===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return d()}function Su(o){return Tr(),o}function wu(){throw new Error("startTransition cannot be called during server rendering.")}function ku(){return Tr(),[!1,wu]}function Tu(){var o=Ya,l=lu(o.treeContext),d=Za;if(d===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var x=Ie++;return zn(d,l,x)}function Xi(){}var Js={readContext:mu,useContext:Ys,useMemo:Yi,useReducer:Xs,useRef:gu,useState:vu,useInsertionEffect:Xi,useLayoutEffect:Zs,useCallback:yu,useImperativeHandle:Xi,useEffect:Xi,useDebugValue:Xi,useDeferredValue:Su,useTransition:ku,useId:Tu,useMutableSource:bu,useSyncExternalStore:xu},Za=null;function No(o){Za=o}function Ks(o){try{var l="",d=o;do{switch(d.tag){case 0:l+=Oo(d.type,null,null);break;case 1:l+=js(d.type,null,null);break;case 2:l+=Pi(d.type,null,null);break}d=d.parent}while(d);return l}catch(x){return`
104
+ Error generating stack: `+x.message+`
105
+ `+x.stack}}var Ho=r.ReactCurrentDispatcher,Zi=r.ReactDebugCurrentFrame,Qa=0,Yn=1,Qi=2,Ji=3,Er=4,qs=0,Ja=1,Rr=2,Cu=12800;function el(o){return console.error(o),null}function gn(){}function Eu(o,l,d,x,E,M,L,N,n){var s=[],f=new Set,m={destination:null,responseState:l,progressiveChunkSize:x===void 0?Cu:x,status:qs,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:f,pingedTasks:s,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:E===void 0?el:E,onAllReady:M===void 0?gn:M,onShellReady:L===void 0?gn:L,onShellError:N===void 0?gn:N,onFatalError:n===void 0?gn:n},k=Ki(m,0,null,d,!1,!1);k.parentFlushed=!0;var I=Ka(m,o,null,k,f,yr,Vs,su);return s.push(I),m}function Ru(o,l){var d=o.pingedTasks;d.push(l),d.length===1&&p(function(){return Qo(o)})}function Go(o,l){return{id:fr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l,errorDigest:null}}function Ka(o,l,d,x,E,M,L,N){o.allPendingTasks++,d===null?o.pendingRootTasks++:d.pendingTasks++;var n={node:l,ping:function(){return Ru(o,n)},blockedBoundary:d,blockedSegment:x,abortSet:E,legacyContext:M,context:L,treeContext:N};return n.componentStack=null,E.add(n),n}function Ki(o,l,d,x,E,M){return{status:Qa,id:-1,index:l,parentFlushed:!1,chunks:[],children:[],formatContext:x,boundary:d,lastPushedText:E,textEmbedded:M}}var Dn=null;function $o(){return Dn===null||Dn.componentStack===null?"":Ks(Dn.componentStack)}function Xn(o,l){o.componentStack={tag:0,parent:o.componentStack,type:l}}function yn(o,l){o.componentStack={tag:1,parent:o.componentStack,type:l}}function qa(o,l){o.componentStack={tag:2,parent:o.componentStack,type:l}}function Ut(o){o.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):o.componentStack=o.componentStack.parent}var ro=null;function es(o,l){{var d;typeof l=="string"?d=l:l&&typeof l.message=="string"?d=l.message:d=String(l);var x=ro||$o();ro=null,o.errorMessage=d,o.errorComponentStack=x}}function Nt(o,l){var d=o.onError(l);if(d!=null&&typeof d!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function Zn(o,l){var d=o.onShellError;d(l);var x=o.onFatalError;x(l),o.destination!==null?(o.status=Rr,X(o.destination,l)):(o.status=Ja,o.fatalError=l)}function ts(o,l,d){Xn(l,"Suspense");var x=l.blockedBoundary,E=l.blockedSegment,M=d.fallback,L=d.children,N=new Set,n=Go(o,N),s=E.chunks.length,f=Ki(o,s,n,E.formatContext,!1,!1);E.children.push(f),E.lastPushedText=!1;var m=Ki(o,0,null,E.formatContext,!1,!1);m.parentFlushed=!0,l.blockedBoundary=n,l.blockedSegment=m;try{if(cs(o,l,L),Un(m.chunks,o.responseState,m.lastPushedText,m.textEmbedded),m.status=Yn,ta(n,m),n.pendingTasks===0){Ut(l);return}}catch(I){m.status=Er,n.forceClientRender=!0,n.errorDigest=Nt(o,I),es(n,I)}finally{l.blockedBoundary=x,l.blockedSegment=E}var k=Ka(o,M,x,f,N,l.legacyContext,l.context,l.treeContext);k.componentStack=l.componentStack,o.pingedTasks.push(k),Ut(l)}function Yo(o,l,d,x){Xn(l,d);var E=l.blockedSegment,M=ko(E.chunks,d,x,o.responseState,E.formatContext);E.lastPushedText=!1;var L=E.formatContext;E.formatContext=un(L,d,x),cs(o,l,M),E.formatContext=L,fi(E.chunks,d),E.lastPushedText=!1,Ut(l)}function qi(o){return o.prototype&&o.prototype.isReactComponent}function tl(o,l,d,x,E){var M={};pu(l,M);var L=d(x,E);return $s(d,x,L,E)}function nl(o,l,d,x,E){var M=d.render();d.props!==E&&(Zo||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Ue(x)||"a component"),Zo=!0);{var L=x.childContextTypes;if(L!=null){var N=l.legacyContext,n=Wa(d,x,N,L);l.legacyContext=n,At(o,l,M),l.legacyContext=N;return}}At(o,l,M)}function Pu(o,l,d,x){qa(l,d);var E=za(d,l.legacyContext),M=Ns(d,x,E);Gs(M,d,x,E),nl(o,l,M,d,x),Ut(l)}var ns={},Xo={},rl={},rs={},Zo=!1,os=!1,is=!1,as=!1;function ol(o,l,d,x){var E;if(E=za(d,l.legacyContext),yn(l,d),d.prototype&&typeof d.prototype.render=="function"){var M=Ue(d)||"Unknown";ns[M]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",M,M),ns[M]=!0)}var L=tl(o,l,d,x,E),N=$i();if(typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0){var n=Ue(d)||"Unknown";Xo[n]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",n,n,n),Xo[n]=!0)}if(typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0){{var s=Ue(d)||"Unknown";Xo[s]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",s,s,s),Xo[s]=!0)}Gs(L,d,x,E),nl(o,l,L,d,x)}else if(il(d),N){var f=l.treeContext,m=1,k=0;l.treeContext=Wi(f,m,k);try{At(o,l,L)}finally{l.treeContext=f}}else At(o,l,L);Ut(l)}function il(o){{if(o&&o.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",o.displayName||o.name||"Component"),typeof o.getDerivedStateFromProps=="function"){var l=Ue(o)||"Unknown";rs[l]||(a("%s: Function components do not support getDerivedStateFromProps.",l),rs[l]=!0)}if(typeof o.contextType=="object"&&o.contextType!==null){var d=Ue(o)||"Unknown";rl[d]||(a("%s: Function components do not support contextType.",d),rl[d]=!0)}}}function ss(o,l){if(o&&o.defaultProps){var d=zt({},l),x=o.defaultProps;for(var E in x)d[E]===void 0&&(d[E]=x[E]);return d}return l}function Au(o,l,d,x,E){yn(l,d.render);var M=tl(o,l,d.render,x,E),L=$i();if(L){var N=l.treeContext,n=1,s=0;l.treeContext=Wi(N,n,s);try{At(o,l,M)}finally{l.treeContext=N}}else At(o,l,M);Ut(l)}function Iu(o,l,d,x,E){var M=d.type,L=ss(M,x);ls(o,l,M,L,E)}function al(o,l,d,x){d._context===void 0?d!==d.Consumer&&(as||(as=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):d=d._context;var E=x.children;typeof E!="function"&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var M=Vo(d),L=E(M);At(o,l,L)}function Mu(o,l,d,x){var E=d._context,M=x.value,L=x.children,N;N=l.context,l.context=zs(E,M),At(o,l,L),l.context=Ws(E),N!==l.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Du(o,l,d,x,E){Xn(l,"Lazy");var M=d._payload,L=d._init,N=L(M),n=ss(N,x);ls(o,l,N,n,E),Ut(l)}function ls(o,l,d,x,E){if(typeof d=="function")if(qi(d)){Pu(o,l,d,x);return}else{ol(o,l,d,x);return}if(typeof d=="string"){Yo(o,l,d,x);return}switch(d){case Ei:case Pa:case Ms:case Ea:case Pt:{At(o,l,x.children);return}case Io:{Xn(l,"SuspenseList"),At(o,l,x.children),Ut(l);return}case Ra:throw new Error("ReactDOMServer does not yet support scope components.");case Ao:{ts(o,l,x);return}}if(typeof d=="object"&&d!==null)switch(d.$$typeof){case Ci:{Au(o,l,d,x,E);return}case Mo:{Iu(o,l,d,x,E);return}case ki:{Mu(o,l,d,x);return}case Ti:{al(o,l,d,x);return}case Qr:{Du(o,l,d,x);return}}var M="";throw(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(M+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(d==null?d:typeof d)+"."+M))}function Ou(o,l){typeof Symbol=="function"&&o[Symbol.toStringTag]==="Generator"&&(os||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),os=!0),o.entries===l&&(is||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),is=!0)}function At(o,l,d){try{return us(o,l,d)}catch(x){throw typeof x=="object"&&x!==null&&typeof x.then=="function"||(ro=ro!==null?ro:$o()),x}}function us(o,l,d){if(l.node=d,typeof d=="object"&&d!==null){switch(d.$$typeof){case eu:{var x=d,E=x.type,M=x.props,L=x.ref;ls(o,l,E,M,L);return}case Is:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Qr:{var N=d,n=N._payload,s=N._init,f;try{f=s(n)}catch(ue){throw typeof ue=="object"&&ue!==null&&typeof ue.then=="function"&&Xn(l,"Lazy"),ue}At(o,l,f);return}}if(Tn(d)){sl(o,l,d);return}var m=ru(d);if(m){Ou(d,m);var k=m.call(d);if(k){var I=k.next();if(!I.done){var F=[];do F.push(I.value),I=k.next();while(!I.done);sl(o,l,F);return}return}}var U=Object.prototype.toString.call(d);throw new Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}if(typeof d=="string"){var Q=l.blockedSegment;Q.lastPushedText=Wn(l.blockedSegment.chunks,d,o.responseState,Q.lastPushedText);return}if(typeof d=="number"){var ae=l.blockedSegment;ae.lastPushedText=Wn(l.blockedSegment.chunks,""+d,o.responseState,ae.lastPushedText);return}typeof d=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function sl(o,l,d){for(var x=d.length,E=0;E<x;E++){var M=l.treeContext;l.treeContext=Wi(M,x,E);try{cs(o,l,d[E])}finally{l.treeContext=M}}}function It(o,l,d){var x=l.blockedSegment,E=x.chunks.length,M=Ki(o,E,null,x.formatContext,x.lastPushedText,!0);x.children.push(M),x.lastPushedText=!1;var L=Ka(o,l.node,l.blockedBoundary,M,l.abortSet,l.legacyContext,l.context,l.treeContext);l.componentStack!==null&&(L.componentStack=l.componentStack.parent);var N=L.ping;d.then(N,N)}function cs(o,l,d){var x=l.blockedSegment.formatContext,E=l.legacyContext,M=l.context,L=null;L=l.componentStack;try{return At(o,l,d)}catch(N){if(Xa(),typeof N=="object"&&N!==null&&typeof N.then=="function"){It(o,l,N),l.blockedSegment.formatContext=x,l.legacyContext=E,l.context=M,Bo(M),l.componentStack=L;return}else throw l.blockedSegment.formatContext=x,l.legacyContext=E,l.context=M,Bo(M),l.componentStack=L,N}}function ll(o,l,d,x){var E=Nt(o,x);if(l===null?Zn(o,x):(l.pendingTasks--,l.forceClientRender||(l.forceClientRender=!0,l.errorDigest=E,es(l,x),l.parentFlushed&&o.clientRenderedBoundaries.push(l))),o.allPendingTasks--,o.allPendingTasks===0){var M=o.onAllReady;M()}}function Fu(o){var l=this,d=o.blockedBoundary,x=o.blockedSegment;x.status=Ji,ul(l,d,x)}function ea(o,l,d){var x=o.blockedBoundary,E=o.blockedSegment;if(E.status=Ji,x===null)l.allPendingTasks--,l.status!==Rr&&(l.status=Rr,l.destination!==null&&H(l.destination));else{if(x.pendingTasks--,!x.forceClientRender){x.forceClientRender=!0;var M=d===void 0?new Error("The render was aborted by the server without a reason."):d;x.errorDigest=l.onError(M);{var L="The server did not finish this Suspense boundary: ";M&&typeof M.message=="string"?M=L+M.message:M=L+String(M);var N=Dn;Dn=o;try{es(x,M)}finally{Dn=N}}x.parentFlushed&&l.clientRenderedBoundaries.push(x)}if(x.fallbackAbortableTasks.forEach(function(s){return ea(s,l,d)}),x.fallbackAbortableTasks.clear(),l.allPendingTasks--,l.allPendingTasks===0){var n=l.onAllReady;n()}}}function ta(o,l){if(l.chunks.length===0&&l.children.length===1&&l.children[0].boundary===null){var d=l.children[0];d.id=l.id,d.parentFlushed=!0,d.status===Yn&&ta(o,d)}else{var x=o.completedSegments;x.push(l)}}function ul(o,l,d){if(l===null){if(d.parentFlushed){if(o.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");o.completedRootSegment=d}if(o.pendingRootTasks--,o.pendingRootTasks===0){o.onShellError=gn;var x=o.onShellReady;x()}}else if(l.pendingTasks--,!l.forceClientRender){if(l.pendingTasks===0)d.parentFlushed&&d.status===Yn&&ta(l,d),l.parentFlushed&&o.completedBoundaries.push(l),l.fallbackAbortableTasks.forEach(Fu,o),l.fallbackAbortableTasks.clear();else if(d.parentFlushed&&d.status===Yn){ta(l,d);var E=l.completedSegments;E.length===1&&l.parentFlushed&&o.partialBoundaries.push(l)}}if(o.allPendingTasks--,o.allPendingTasks===0){var M=o.onAllReady;M()}}function cl(o,l){var d=l.blockedSegment;if(d.status===Qa){Bo(l.context);var x=null;x=Dn,Dn=l;try{At(o,l,l.node),Un(d.chunks,o.responseState,d.lastPushedText,d.textEmbedded),l.abortSet.delete(l),d.status=Yn,ul(o,l.blockedBoundary,d)}catch(M){if(Xa(),typeof M=="object"&&M!==null&&typeof M.then=="function"){var E=l.ping;M.then(E,E)}else l.abortSet.delete(l),d.status=Er,ll(o,l.blockedBoundary,d,M)}finally{Dn=x}}}function Qo(o){if(o.status!==Rr){var l=Di(),d=Ho.current;Ho.current=Js;var x;x=Zi.getCurrentStack,Zi.getCurrentStack=$o;var E=Za;No(o.responseState);try{var M=o.pingedTasks,L;for(L=0;L<M.length;L++){var N=M[L];cl(o,N)}M.splice(0,L),o.destination!==null&&ra(o,o.destination)}catch(n){Nt(o,n),Zn(o,n)}finally{No(E),Ho.current=d,Zi.getCurrentStack=x,d===Js&&Bo(l)}}}function Jo(o,l,d){switch(d.parentFlushed=!0,d.status){case Qa:{var x=d.id=o.nextSegmentId++;return d.lastPushedText=!1,d.textEmbedded=!1,Wr(l,o.responseState,x)}case Yn:{d.status=Qi;for(var E=!0,M=d.chunks,L=0,N=d.children,n=0;n<N.length;n++){for(var s=N[n];L<s.index;L++)w(l,M[L]);E=na(o,l,s)}for(;L<M.length-1;L++)w(l,M[L]);return L<M.length&&(E=D(l,M[L])),E}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function na(o,l,d){var x=d.boundary;if(x===null)return Jo(o,l,d);if(x.parentFlushed=!0,x.forceClientRender)return vt(l,o.responseState,x.errorDigest,x.errorMessage,x.errorComponentStack),Jo(o,l,d),Sa(l,o.responseState);if(x.pendingTasks>0){x.rootSegmentID=o.nextSegmentId++,x.completedSegments.length>0&&o.partialBoundaries.push(x);var E=x.id=dr(o.responseState);return Hr(l,o.responseState,E),Jo(o,l,d),Gr(l,o.responseState)}else{if(x.byteSize>o.progressiveChunkSize)return x.rootSegmentID=o.nextSegmentId++,o.completedBoundaries.push(x),Hr(l,o.responseState,x.id),Jo(o,l,d),Gr(l,o.responseState);hi(l,o.responseState);var M=x.completedSegments;if(M.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var L=M[0];return na(o,l,L),pi(l,o.responseState)}}function fl(o,l,d){return Ps(l,o.responseState,d.id,d.errorDigest,d.errorMessage,d.errorComponentStack)}function Ko(o,l,d){return ve(l,o.responseState,d.formatContext,d.id),na(o,l,d),Le(l,d.formatContext)}function qo(o,l,d){for(var x=d.completedSegments,E=0;E<x.length;E++){var M=x[E];fs(o,l,d,M)}return x.length=0,wa(l,o.responseState,d.id,d.rootSegmentID)}function Lu(o,l,d){for(var x=d.completedSegments,E=0;E<x.length;E++){var M=x[E];if(!fs(o,l,d,M))return E++,x.splice(0,E),!1}return x.splice(0,E),!0}function fs(o,l,d,x){if(x.status===Qi)return!0;var E=x.id;if(E===-1){var M=x.id=d.rootSegmentID;if(M===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ko(o,l,x)}else return Ko(o,l,x),$l(l,o.responseState,E)}function ra(o,l){P();try{var d=o.completedRootSegment;d!==null&&o.pendingRootTasks===0&&(na(o,l,d),o.completedRootSegment=null,ya(l,o.responseState));var x=o.clientRenderedBoundaries,E;for(E=0;E<x.length;E++){var M=x[E];fl(o,l,M)}x.splice(0,E);var L=o.completedBoundaries;for(E=0;E<L.length;E++){var N=L[E];qo(o,l,N)}L.splice(0,E),_(l),P(l);var n=o.partialBoundaries;for(E=0;E<n.length;E++){var s=n[E];if(!Lu(o,l,s)){o.destination=null,E++,n.splice(0,E);return}}n.splice(0,E);var f=o.completedBoundaries;for(E=0;E<f.length;E++){var m=f[E];qo(o,l,m)}f.splice(0,E)}finally{_(l),o.allPendingTasks===0&&o.pingedTasks.length===0&&o.clientRenderedBoundaries.length===0&&o.completedBoundaries.length===0&&(o.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),H(l))}}function _u(o){p(function(){return Qo(o)})}function dl(o,l){if(o.status===Ja){o.status=Rr,X(l,o.fatalError);return}if(o.status!==Rr&&o.destination===null){o.destination=l;try{ra(o,l)}catch(d){Nt(o,d),Zn(o,d)}}}function oa(o,l){try{var d=o.abortableTasks;d.forEach(function(x){return ea(x,o,l)}),d.clear(),o.destination!==null&&ra(o,o.destination)}catch(x){Nt(o,x),Zn(o,x)}}function ju(o,l){return new Promise(function(d,x){var E,M,L=new Promise(function(k,I){M=k,E=I});function N(){var k=new ReadableStream({type:"bytes",pull:function(I){dl(s,I)},cancel:function(I){oa(s)}},{highWaterMark:0});k.allReady=L,d(k)}function n(k){L.catch(function(){}),x(k)}var s=Eu(o,En(l?l.identifierPrefix:void 0,l?l.nonce:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),Qt(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,M,N,n,E);if(l&&l.signal){var f=l.signal,m=function(){oa(s,f.reason),f.removeEventListener("abort",m)};f.addEventListener("abort",m)}_u(s)})}gl.renderToReadableStream=ju,gl.version=e}()),gl}var ai,tc;process.env.NODE_ENV==="production"?(ai=np(),tc=rp()):(ai=op(),tc=ip());ai.version;var ap=ai.renderToString;ai.renderToStaticMarkup;ai.renderToNodeStream;ai.renderToStaticNodeStream;tc.renderToReadableStream;var sp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dd(t,e){return t(e={exports:{}},e.exports),e.exports}var lp=dd(function(t){(function(e){var r=function(j,O,X){if(!v(O)||P(O)||w(O)||D(O)||S(O))return O;var $,J=0,q=0;if(b(O))for($=[],q=O.length;J<q;J++)$.push(r(j,O[J],X));else for(var K in $={},O)Object.prototype.hasOwnProperty.call(O,K)&&($[j(K,X)]=r(j,O[K],X));return $},i=function(j){return _(j)?j:(j=j.replace(/[\-_\s]+(.)?/g,function(O,X){return X?X.toUpperCase():""})).substr(0,1).toLowerCase()+j.substr(1)},a=function(j){var O=i(j);return O.substr(0,1).toUpperCase()+O.substr(1)},h=function(j,O){return function(X,$){var J=($=$||{}).separator||"_",q=$.split||/(?=[A-Z])/;return X.split(q).join(J)}(j,O).toLowerCase()},p=Object.prototype.toString,S=function(j){return typeof j=="function"},v=function(j){return j===Object(j)},b=function(j){return p.call(j)=="[object Array]"},P=function(j){return p.call(j)=="[object Date]"},w=function(j){return p.call(j)=="[object RegExp]"},D=function(j){return p.call(j)=="[object Boolean]"},_=function(j){return(j-=0)==j},H=function(j,O){var X=O&&"process"in O?O.process:O;return typeof X!="function"?j:function($,J){return X($,j,J)}},Y={camelize:i,decamelize:h,pascalize:a,depascalize:h,camelizeKeys:function(j,O){return r(H(i,O),j)},decamelizeKeys:function(j,O){return r(H(h,O),j,O)},pascalizeKeys:function(j,O){return r(H(a,O),j)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=Y:e.humps=Y})(sp)}).decamelize,up=function(t){if(Array.isArray(t))return t},cp=function(t,e){if(typeof Symbol<"u"&&Symbol.iterator in Object(t)){var r=[],i=!0,a=!1,h=void 0;try{for(var p,S=t[Symbol.iterator]();!(i=(p=S.next()).done)&&(r.push(p.value),!e||r.length!==e);i=!0);}catch(v){a=!0,h=v}finally{try{i||S.return==null||S.return()}finally{if(a)throw h}}return r}},Gc=function(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i},fp=function(t,e){if(t){if(typeof t=="string")return Gc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Gc(t,e):void 0}},dp=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
106
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},hp=function(t,e){return up(t)||cp(t,e)||fp(t,e)||dp()},hd=dd(function(t){function e(){return t.exports=e=Object.assign||function(r){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var h in a)Object.prototype.hasOwnProperty.call(a,h)&&(r[h]=a[h])}return r},e.apply(this,arguments)}t.exports=e}),pp=function(t,e){if(t==null)return{};var r,i,a={},h=Object.keys(t);for(i=0;i<h.length;i++)r=h[i],e.indexOf(r)>=0||(a[r]=t[r]);return a},pd=function(t,e){if(t==null)return{};var r,i,a=pp(t,e);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(t);for(i=0;i<h.length;i++)r=h[i],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(a[r]=t[r])}return a},mp=oe.createContext(null);function nc(t){var e=t.children,r=pd(t,["children"]);return typeof e!="string"&&(e=ap(e)),oe.createElement("template",hd({},r,{dangerouslySetInnerHTML:{__html:e}}))}function rc(t){var e=t.root,r=t.children;return cd.createPortal(r,e)}function vp(t){var e=oe.forwardRef(function(r,i){var a,h,p=r.mode,S=r.delegatesFocus,v=r.styleSheets,b=r.ssr,P=r.children,w=pd(r,["mode","delegatesFocus","styleSheets","ssr","children"]),D=(h=oe.useRef((a=i)&&a.current),oe.useEffect(function(){a&&(a.current=h.current)},[a]),h),_=oe.useState(null),H=hp(_,2),Y=H[0],j=H[1],O="node_".concat(p).concat(S);return oe.useLayoutEffect(function(){if(D.current)try{if(typeof i=="function"&&i(D.current),b){var X=D.current.shadowRoot;return void j(X)}var $=D.current.attachShadow({mode:p,delegatesFocus:S});v.length>0&&($.adoptedStyleSheets=v),j($)}catch(J){(function(q){var K=q.error,te=q.styleSheets,ie=q.root;switch(K.name){case"NotSupportedError":te.length>0&&(ie.adoptedStyleSheets=te);break;default:throw K}})({error:J,styleSheets:v,root:Y})}},[i,D,v]),oe.createElement(oe.Fragment,null,oe.createElement(t.tag,hd({key:O,ref:D},w),(Y||b)&&oe.createElement(mp.Provider,{value:Y},b?oe.createElement(nc,{shadowroot:p,shadowrootmode:p},t.render({root:Y,ssr:b,children:P})):oe.createElement(rc,{root:Y},t.render({root:Y,ssr:b,children:P})))))});return e.propTypes={mode:we.PropTypes.oneOf(["open","closed"]),delegatesFocus:we.PropTypes.bool,styleSheets:we.PropTypes.arrayOf(we.PropTypes.instanceOf(globalThis.CSSStyleSheet)),ssr:we.PropTypes.bool,children:we.PropTypes.node},e.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},e}nc.propTypes={children:we.PropTypes.oneOfType([we.PropTypes.string,we.PropTypes.node])},nc.defaultProps={children:""},rc.propTypes={root:we.PropTypes.object.isRequired,children:we.PropTypes.node},rc.defaultProps={children:null};var Bu=new Map;function gp(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(t,{get:function(i,a){var h=lp(a,{separator:"-"}),p="".concat(e,"-").concat(h);return Bu.has(p)||Bu.set(p,vp({tag:h,render:r})),Bu.get(p)}})}var yp=gp();const bp=`@import"https://fonts.cdnfonts.com/css/tt-firs-neue-trl?styles=143111,143113,143105,143108,143110,143101,143099,143103,143097,143115";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:TT Firs Neue Trl,sans-serif;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
107
+ `;function yc({children:t,styles:e=[],...r}){return re.jsxs(yp.div,{...r,children:[[bp,...e].map((i,a)=>re.jsx("style",{type:"text/css",children:i},a)),t]})}const xp=`.modal-overlay{z-index:1300;position:fixed;top:0;right:0;bottom:0;left:0;background:hsla(0,0%,0%,.254);--tw-backdrop-blur: blur(4px);justify-content:center;align-items:center;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.modal-title{font-size:1.25rem;line-height:1.75rem;color:#e01b00;font-weight:500}.modal-footer{display:flex;justify-content:space-between;width:80%}.modal-container{background:#ffffff;-webkit-backdrop-filter:blur(4.5px);backdrop-filter:blur(4.5px);display:flex;padding:32px 24px 40px;flex-direction:column;align-items:center;gap:24px;align-self:stretch;width:500px;height:204px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:.5rem}.modal-button{border-radius:3px;border:1px solid #ddd;background:#ddd;padding:8px 32px;font-size:14px}.confirm-btn{background:#e01b00!important}.text-white{color:#fff}.text-sm{font-size:.875rem;line-height:1.25rem}
108
+ `;function md({isOpen:t,onClose:e,onConfirm:r}){if(!t)return null;function i(a){var h;((h=a.target)==null?void 0:h.id)==="modal-wrapper"&&e()}return re.jsx(yc,{styles:[xp],children:re.jsx("div",{onClick:i,className:"modal-overlay",id:"modal-wrapper",children:re.jsxs("div",{className:"modal-container",children:[re.jsx("h3",{className:"modal-title",children:"Log out"}),re.jsx("p",{className:"text-sm",children:"Are you sure want to log out?"}),re.jsxs("div",{className:"modal-footer",children:[re.jsx("button",{className:"modal-button",onClick:e,children:"Cancel"}),re.jsx("button",{onClick:r,className:"text-white confirm-btn modal-button",children:"Confirm"})]})]})})})}function Sp(){return re.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:[re.jsx("path",{d:"M8.5 19.5H8C4 19.5 2 18.5 2 13.5V8.5C2 4.5 4 2.5 8 2.5H16C20 2.5 22 4.5 22 8.5V13.5C22 17.5 20 19.5 16 19.5H15.5C15.19 19.5 14.89 19.65 14.7 19.9L13.2 21.9C12.54 22.78 11.46 22.78 10.8 21.9L9.3 19.9C9.14 19.68 8.77 19.5 8.5 19.5Z",stroke:"white","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),re.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),re.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),re.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}function wp(){return re.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[re.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.7968 17.4705C16.5901 17.4705 18.8076 16.8556 19.0218 14.3874C19.0218 11.921 17.4757 12.0796 17.4757 9.05334C17.4757 6.68952 15.2352 4 11.7968 4C8.35833 4 6.1178 6.68952 6.1178 9.05334C6.1178 12.0796 4.57178 11.921 4.57178 14.3874C4.78679 16.8649 7.00428 17.4705 11.7968 17.4705Z",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),re.jsx("path",{d:"M13.8274 20.0286C12.6679 21.3161 10.8591 21.3313 9.68848 20.0286",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),re.jsx("circle",{cx:"16.928",cy:"7",r:"2",fill:"#E01B00",stroke:"white"})]})}const kp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAArCAYAAAADgWq5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA3XSURBVHgBtVl7jFxVGf/dO3feMzuzO/tuu92y2xIoCEgCgUQogSIKhBIgaAxpFdREITxMVCrYNqB/+A8QCYQYbIuJUTChGqBQDCkaMUCgW0qtpe12t933drezs/N+XX/fuefOzK6l0KInPb2POfec3/m+3/c6a+ALNNu247xczL6Ofbm+j+suLck+pK972XcYhrEbX6AZOItGoGt4uZ99jQtu+tAnmP7kIPLz8yiwS/NHmxDr6kJTdzfaVq5qnGIb+/azAX9GgDXQTQJUQB3Y+SqOvL1bgXVB6nELv2OvcqllX74Uq2+8SV2buBE40n+QwHfgfwlYq34r+7rU+Bj2vvgH/Ou1VxXIxeAaW7Xht6ph1NGzCfAr7/meC3wb+xYCH8IXBaylurWQnu/d++IfMUCwRS1Nuz7mFN813lfVUrYh3xi1lWXIlXd/F1eww5H2rQQ9gLMFTCAP8PJEamIcO+77AebHx+u/6Y8FrItNJDqVL2Awm8WJQhFejwedfj9WhIJosjz8wKCkUdupu6koOX7n08+60haKPHnGgAlEuLp5bGAPdm78yUKO6tU4cQ3w/uQc3pqYwkypQOAGTNNU3SJoi+N6wmFclWjmBnxqvEja1rMJcF8kghseeRT9V62Rl5s595bPDZggxE29fPD11/DWLx9f/FsNqFwrvP5l6DjenZmBKN40TM5qqrEeAUzJGnz28Rpgv6atFRdGQmrXjjG6QrDV/Q0/+zlWf/1GebWB82//TMAE0svLnpnDh+N/umfDaY1KfnlrdBw7R8ZguyQxPJSsoW493JDHY7JbaiGhSNCycEt3J3oDgZp2qi5HOMgbjuCOp59B+8pV4rsvWWyIpwJ8ND0x0fvKQ/dDPIJh1yWgWVsbW6xU8au9+8jXAqUJWJRo2OdDiGqPBv1ojcUQIRVOptOYnEsjky+iUrXREw3jm91dihQ26VPRs0NvoKmrk6DJ6c6uAQK+pBGftQis8LZ3z/ZtIGjFQRJS78zQ05q1u/0nk5ghWOFoazCAloCFGIF2xKPobmtHW1sCifZWeP1e5DM5jJPjHxwaxsGpJE5WykhYlprZI1IWr0FOGASd4tpv/OIx3PHrZy4mJuHzZhejuYgKDxza9Tqkm4ah5Ck8NUzpjhG5z/L7QQIWsGGfFzGvGJeeUMZY5G0oxGgXRYBSjsSi6GpvwZoL+7GqM4GhbM5hkOEIw6SkDcN5ISIZ2fOh6mz36ziwEDCb7CK+94UXHFAKsHMVQzK1lIWfakq+T4p0+RwhWP5Tm1CcVAbFb7w+xwA9XnVvkS4RbuCS5Z18tvT8LmgO0+s5axrY5Ri8gH3gVICvPvLmG0hPTjjSNVyp6kk5Uhii7Mm01W9i1X6S1yLR7apj78ozKEPjDqoVlIsFLmIjJNKm6wpEI2iOBMhzT10wohmzDtSloGAZ2bNngZRNTYcNwt0ju3Y5vK19jIZJG7ssZiuL93kMTSmC5X3Acnq1lEM2lUQ2OYsTY2PI8BoOeOEXgVfLiPqtmmBqVGt4NrWG3932vCvlNY1GtyYzOYmpfR9pKsgWRa91ryBvXZ8pb1PFspo0YJpqxIlCCf6qiRx3eWwkidBkCj2JGfT3LsU+Gtp83sbyZcsRpTtDbhYtytWJUVfrkwqRbE0rJ4xilBIu0MtQO7fwzQ6XEldPfVQHa7vc1cZlurs26+9eOngIQ/MpeMmVeCiAXNWLXBkEVuDVwniqiH2Tafzz4Cj2T6QwkytifHYOyfQ8ZuYLeHN4FEUKxZWuY6v63k039NqDf/+bPK5TEiYdJOnunT16xLFu6TqKyVURTEvZwwlVBsaFUsqdAZlKBWYuj85QBJmq5A8mYpEw5uYraPUauHBZBxf18LuqChSlSgnnLO1AjnTxaA+huCl5BqUt63q0x6gq92lj+shhnEdaiCezND+QPHrUIbzgMZ3Q61ib7QQPdevwWh6DtPIygXpMD4p0Cx0RA+cnOlUaWShXkZsvYwkN7LLz+5AtVbF0SbcKzyGfhfTMNFYtaVXaMVzfRrCOlzE0TL0Z3owO7HEdw8UCuFfuMlOTNWnWrFWnhY5DdpnsXFfEYxjN5NSGKpw0ncsy8kVRplkcn06izQ+E6IujzQlcviqH9/49zIhmoY9AffQyYZ8fZsmjMghnaqNuIRLWbceQhculTMYFHK8Bzk1POzvUiY3zrVnLqZRJmI6UpfU3t+AfKt00tTHaODw2gQIHlctlTCaLGDqZwfzvX6Ira0IgEMTw1BRGR4awsiOOsBVg2uFXvK2vZzgobVN5oaqjYOXedOuthWZTATJr8V1RQyeCqMm1LvCepihDcRDJYlEBrkqgEP5yBQ8DhD8eRlu8CSuW96ClOYYSc2SDGjs6PonxZAqdTdRWuGlBpm+gIXuzDQfTwvSlIXBo92S7oExDewudLi7yxVEm5ndfcAF5yOSFq3jok6Ufm8sjze+C8WYsWXUuWnpXoBgM4/3jE9gzPO4EFY4zqqiF4gU+uOaLtZfQHsttIuEhuQl3dEB8sZs1aUY4FDCqTvJj63xN5wwtrCSaKc2xXAEpZmIrOoSfQILG1kOpfuXSS9Ddswz+YBA9zIGPkUIf7NuvpNfmDao5lJUYjo93c2xXy66bbersdPEOCWDJO+FjHpo1Jl1y1KkgXkIrwmiwP7Fjr6STlpcuK48CxTybztDQPEimUojxuv+99zB9bNihVjGNALUS9AfgJTWWB6M1Cdq60qsVBg0kWQxYkKiir43qVY5bAxLVeAxolaDm0G19dbO2CsdWCCBPQ5tIZZArVVQSP8nodGB4BIPDx5FlsLDI11lyt1wu4bJ4u/LpCpBZpwOABlpAGZ68be1b6QJOWpLRc1fJ2Ipz4nAduespFrkzxx8bdSMQAyMnyzpnzpdKBJpFdzSIJYkE+np70HtOL6KRIGZnZnF8cgpLQzG0+ILaMzR4h0XN1bNE1kRfn5KuVNSul/jzkssuX/9hLTXXEm2wW1tPXPOZXPBktqAqCFXq2I5WsswpjlWqSsm5cgXTLE5l+OiJWRW66d/wTr6E/oAP7bBrLs02Tln+qLW6LrpInnbLfy7gHd5weH3b6gswvf/jU+7VjXYizP0nTuCVw4MYnJsjjx2LrlYNRQ01iEAHZ1MYTqbhHRxVJdOKzg60NUUUzY4UWH14vehg4r+UX3QxexNe1845XAWyd1x4ESIdisNvNwLeLfw4785vxKc3PaIJUFUewlXcXKmM96nSd1h0jpKfZeYQMkqqZhnnkZhN0JJrlLgrcVs2k41YOICVXe0Is3SS9LNKflveELyMdCelCGDfT6Es529Ly0VE1by6Mudd//XXu3TYVgPMhyRV81Tr6gs2hds7kZUwDcegxjNZvM0INnBihiCrzBuY7DA5N0XkBGXy2SlHbFUuqQcxWOYYzQTbxoJTPLz4a8u0MG34lR8uku9hJvUVApT8Q3zJKLndzA2vLuYQ4PswtdJ/3doaHVx9u01OW5KX/vBexeNksYSXh4bxG6aRH88lafisJKhan1e6l1mZl++YC9CtSTBQZRQX9jMpipGf3bEQ2mlsQapdNpOn1McrTJhsllN8V2IlIqqrUAiSYko499LtZVjMvh+N4XgojC996y7BJW53y38BFinzIlLGSGe3A5RuyCYYARkMhuBjkJCTHK+EXk7u8zIXIPAycwKTwKFDu0+iGe+EGuliFWmTIdwMqdouwM3IKLGFErWTzeeoMQMZFqVObmyq0N659qvou/Y6gfZU49lEo4Shy+mB23+6EfGubiVBOQTxM2cQNYqqg4xuIuEgAYdo8WFGsRC7FQjBE4ygxKQmbfiQZSQrBOPwNLczKMUQZj0X4qYdz2io2k96kXm1SFlaLp9XjqEl0Yqbb7vN5e7mBRixqLknPwcPHIh/f/16ZHOyc+a8THIU6bmJEvnX6KttisuSKpjSKfG8QRLxMMF5+E42E6CGAtyccF/AWtz8PKNhS2sCkzRk0ZyYhJfjm1ta8Ojjj2FpT88pT37MxYD1gAfPPe88/GjjwwRoOZWAlPOUkgD1UbqKEuwRhvQwzx18lg9NLOETTHoSXDTKbC7EMCzGJxV2RdduUl3LfPIs3kjCdSaTJqU8yFPad939HQErQ799qvNiC6do4kJE0jevu3VTUyyOTQ9vRIVG4UpHpCxNXJiU8/KuSj6KNIsMvR66Lj8NVDyBAJPNCUjRiKWlLG7RrRWzrFyWdC/Fgw//GBddrE6mtnzaqbyB0zT3fHhsdBQP3XsfxkZGlBsSFSr1GI6f9pLT8l7O0WQTeXIxSm2UuMkcjSrRkqBXKCkteSW1FP/LoNPBpCZL6XposE8+ywNAZow42/PhBtBSpL7M3rv9+efx2+eeo0S99VTQcNSq/CoBi5pzLJcsbkKkn+W9ABa35UjYUvmBeIeeZT24+rpr8bWbbkIoHB6CQ4Pdp8PzmYA16F44R1nrJ5jT/m7rVvz19TecPJaqFsDlakXxWYCJNCt89mgDbWluVvx0D7mjTU248qqrsO7225BgksS2Q4NNfhaWzwW4AbicDTzB3jtJ4HsHBvDmzp0YPHQYhVKRbi6oKFIgOKGFBAhpQb4Pkt8r+s7B5VdcgWvWrhWJyk+SH2w2zuDPX2cEuAH4Gl42sK933w0ePowZhu9JHpWmyM8y3ZvwOMoz4r7+foLtc4cmNdAnjf/33+lOA14k7/4VdDkW/iV0Dk6RMARH9QOfR/Wf1v4D3Fe7Fu3OpbsAAAAASUVORK5CYII=",Tp=`.avatar-dropdown-item{padding:.5rem;font-size:.875rem;line-height:1.25rem;cursor:pointer;border-radius:.25rem}.avatar-dropdown-item:hover{background-color:#009d4f}.avartarDropdownMenu{background-color:#fff;padding:.5rem;width:13rem;position:absolute;left:-10rem;top:3.5rem}.avartarDropdownMenu ul{list-style:none;padding-inline-start:0;margin-block-end:0}.navbar{position:fixed;display:flex;z-index:30;background:black;top:0;width:100%;padding-left:2.5rem;height:64px}.navbar-container{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between}.logo-container{padding:16px 0;height:100%}.navbar-container img{height:100%}.right-side-container{display:flex;flex-direction:row;align-items:center;text-align:center;margin-right:2.5rem;gap:1rem}.userContainer{display:flex;align-items:center;gap:.5rem}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem}.userAvatar{width:2.5rem;height:2.5rem;cursor:pointer;-o-object-fit:cover;object-fit:cover;border-radius:9999px}.relative{position:relative}.cursor-pointer{cursor:pointer}
109
+ `;function Cp({logo:t,user:e,baseUrl:r,style:i,classNames:a=""}){const h=t||"/public/assets/icons/logo-header.png";return re.jsx(yc,{styles:[Tp],style:{zIndex:1200},children:re.jsx("nav",{className:`navbar ${a}`,style:i,children:re.jsxs("div",{className:"navbar-container",children:[re.jsx("div",{className:"logo-container",children:re.jsx("img",{src:h,alt:"logo-header"})}),re.jsxs("div",{className:"right-side-container",children:[re.jsxs("div",{className:"userContainer",children:[re.jsx("p",{className:"userFullName",children:`${e==null?void 0:e.firstName} ${e==null?void 0:e.lastName}`}),re.jsx(Ep,{baseUrl:r,avatarUrl:e==null?void 0:e.avatarUrl})]}),re.jsx("span",{className:"cursor-pointer",children:re.jsx(wp,{})}),re.jsx("span",{className:"cursor-pointer",children:re.jsx(Sp,{})})]})]})})})}function Ep({avatarUrl:t,baseUrl:e}){const[r,i]=oe.useState(!1),[a,h]=oe.useState(!1),p=oe.useRef(null),S=oe.useRef(null),v=()=>{window.location.href=`${e}/authentication/logout?callbackUrl=${window.location.href}`};return oe.useEffect(()=>{function b(P){P.target!==S.current&&P.target!==p.current&&i(!1)}return window.addEventListener("click",b),()=>window.removeEventListener("click",b)},[]),re.jsxs(re.Fragment,{children:[re.jsxs("div",{style:{position:"relative"},children:[re.jsx("img",{ref:p,onClick:()=>i(b=>!b),alt:"user avatar",className:"userAvatar",src:t||kp}),re.jsx("div",{style:{display:r?"block":"none"},className:"avartarDropdownMenu",children:re.jsxs("ul",{children:[re.jsx("li",{className:"avatar-dropdown-item",children:"Profile"}),re.jsx("li",{onClick:()=>h(!0),className:"avatar-dropdown-item",children:"Logout"})]})})]}),re.jsx(md,{isOpen:a,onClose:()=>h(!1),onConfirm:v})]})}var Rp=typeof global=="object"&&global&&global.Object===Object&&global;const Pp=Rp;var Ap=typeof self=="object"&&self&&self.Object===Object&&self,Ip=Pp||Ap||Function("return this")();const vd=Ip;var Mp=vd.Symbol;const Pl=Mp;var gd=Object.prototype,Dp=gd.hasOwnProperty,Op=gd.toString,ds=Pl?Pl.toStringTag:void 0;function Fp(t){var e=Dp.call(t,ds),r=t[ds];try{t[ds]=void 0;var i=!0}catch{}var a=Op.call(t);return i&&(e?t[ds]=r:delete t[ds]),a}var Lp=Object.prototype,_p=Lp.toString;function jp(t){return _p.call(t)}var Bp="[object Null]",Vp="[object Undefined]",$c=Pl?Pl.toStringTag:void 0;function zp(t){return t==null?t===void 0?Vp:Bp:$c&&$c in Object(t)?Fp(t):jp(t)}function Wp(t){return t!=null&&typeof t=="object"}var Up="[object Symbol]";function Np(t){return typeof t=="symbol"||Wp(t)&&zp(t)==Up}var Hp=/\s/;function Gp(t){for(var e=t.length;e--&&Hp.test(t.charAt(e)););return e}var $p=/^\s+/;function Yp(t){return t&&t.slice(0,Gp(t)+1).replace($p,"")}function Al(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Yc=0/0,Xp=/^[-+]0x[0-9a-f]+$/i,Zp=/^0b[01]+$/i,Qp=/^0o[0-7]+$/i,Jp=parseInt;function Xc(t){if(typeof t=="number")return t;if(Np(t))return Yc;if(Al(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Al(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=Yp(t);var r=Zp.test(t);return r||Qp.test(t)?Jp(t.slice(2),r?2:8):Xp.test(t)?Yc:+t}var Kp=function(){return vd.Date.now()};const Vu=Kp;var qp="Expected a function",em=Math.max,tm=Math.min;function Cl(t,e,r){var i,a,h,p,S,v,b=0,P=!1,w=!1,D=!0;if(typeof t!="function")throw new TypeError(qp);e=Xc(e)||0,Al(r)&&(P=!!r.leading,w="maxWait"in r,h=w?em(Xc(r.maxWait)||0,e):h,D="trailing"in r?!!r.trailing:D);function _(K){var te=i,ie=a;return i=a=void 0,b=K,p=t.apply(ie,te),p}function H(K){return b=K,S=setTimeout(O,e),P?_(K):p}function Y(K){var te=K-v,ie=K-b,se=e-te;return w?tm(se,h-ie):se}function j(K){var te=K-v,ie=K-b;return v===void 0||te>=e||te<0||w&&ie>=h}function O(){var K=Vu();if(j(K))return X(K);S=setTimeout(O,Y(K))}function X(K){return S=void 0,D&&i?_(K):(i=a=void 0,p)}function $(){S!==void 0&&clearTimeout(S),b=0,i=v=a=S=void 0}function J(){return S===void 0?p:X(Vu())}function q(){var K=Vu(),te=j(K);if(i=arguments,a=this,v=K,te){if(S===void 0)return H(v);if(w)return clearTimeout(S),S=setTimeout(O,e),_(v)}return S===void 0&&(S=setTimeout(O,e)),p}return q.cancel=$,q.flush=J,q}var nm="Expected a function";function rm(t,e,r){var i=!0,a=!0;if(typeof t!="function")throw new TypeError(nm);return Al(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),Cl(t,e,{leading:i,maxWait:e,trailing:a})}var om=!!(typeof window<"u"&&window.document&&window.document.createElement),im=om;const yd=we.getDefaultExportFromCjs(im);var la=function(){return la=Object.assign||function(e){for(var r,i=1,a=arguments.length;i<a;i++){r=arguments[i];for(var h in r)Object.prototype.hasOwnProperty.call(r,h)&&(e[h]=r[h])}return e},la.apply(this,arguments)},aa=null,Zc=null;yd&&window.addEventListener("resize",function(){Zc!==window.devicePixelRatio&&(Zc=window.devicePixelRatio,aa=null)});function Qc(){if(aa===null){if(typeof document>"u")return aa=0,aa;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var r=e.getBoundingClientRect().right;t.removeChild(e),aa=r}return aa}function bd(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function xd(t){return!t||!t.ownerDocument?document:t.ownerDocument}var Sd=function(t){var e={},r=Array.prototype.reduce.call(t,function(i,a){var h=a.name.match(/data-simplebar-(.+)/);if(h){var p=h[1].replace(/\W+(.)/g,function(S,v){return v.toUpperCase()});switch(a.value){case"true":i[p]=!0;break;case"false":i[p]=!1;break;case void 0:i[p]=!0;break;default:i[p]=a.value}}return i},e);return r};function wd(t,e){var r;t&&(r=t.classList).add.apply(r,e.split(" "))}function kd(t,e){t&&e.split(" ").forEach(function(r){t.classList.remove(r)})}function Td(t){return".".concat(t.split(" ").join("."))}var am=Object.freeze({__proto__:null,getElementWindow:bd,getElementDocument:xd,getOptions:Sd,addClasses:wd,removeClasses:kd,classNamesToQuery:Td}),oo=bd,zu=xd,sm=Sd,io=wd,ao=kd,Gt=Td,yl=function(){function t(e,r){r===void 0&&(r={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var a=oo(i.el);i.scrollXTicking||(a.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(a.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,io(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){ao(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(io(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){ao(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(a){i.mouseX=a.clientX,i.mouseY=a.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(a){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var h,p;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(h=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(p=i.isWithinBounds(i.axis.y.track.rect)),(h||p)&&(a.stopPropagation(),a.type==="pointerdown"&&a.pointerType!=="touch"&&(h&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(a,"x"):i.onTrackClick(a,"x")),p&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(a,"y"):i.onTrackClick(a,"y"))))}},this.drag=function(a){var h,p,S,v,b,P,w,D,_,H,Y;if(!(!i.draggedAxis||!i.contentWrapperEl)){var j,O=i.axis[i.draggedAxis].track,X=(p=(h=O.rect)===null||h===void 0?void 0:h[i.axis[i.draggedAxis].sizeAttr])!==null&&p!==void 0?p:0,$=i.axis[i.draggedAxis].scrollbar,J=(v=(S=i.contentWrapperEl)===null||S===void 0?void 0:S[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&v!==void 0?v:0,q=parseInt((P=(b=i.elStyles)===null||b===void 0?void 0:b[i.axis[i.draggedAxis].sizeAttr])!==null&&P!==void 0?P:"0px",10);a.preventDefault(),a.stopPropagation(),i.draggedAxis==="y"?j=a.pageY:j=a.pageX;var K=j-((D=(w=O.rect)===null||w===void 0?void 0:w[i.axis[i.draggedAxis].offsetAttr])!==null&&D!==void 0?D:0)-i.axis[i.draggedAxis].dragOffset;K=i.draggedAxis==="x"&&i.isRtl?((H=(_=O.rect)===null||_===void 0?void 0:_[i.axis[i.draggedAxis].sizeAttr])!==null&&H!==void 0?H:0)-$.size-K:K;var te=K/(X-$.size),ie=te*(J-q);i.draggedAxis==="x"&&i.isRtl&&(ie=!((Y=t.getRtlHelpers())===null||Y===void 0)&&Y.isScrollingToNegative?-ie:ie),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=ie}},this.onEndDrag=function(a){var h=zu(i.el),p=oo(i.el);a.preventDefault(),a.stopPropagation(),ao(i.el,i.classNames.dragging),h.removeEventListener("mousemove",i.drag,!0),h.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=p.setTimeout(function(){h.removeEventListener("click",i.preventClick,!0),h.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(a){a.preventDefault(),a.stopPropagation()},this.el=e,this.options=la(la({},t.defaultOptions),r),this.classNames=la(la({},t.defaultOptions.classNames),r.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=rm(this._onMouseMove,64),this.onWindowResize=Cl(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Cl(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Cl(this._onMouseEntered,this.stopScrollDelay),this.init()}return t.getRtlHelpers=function(){if(t.rtlHelpers)return t.rtlHelpers;var e=document.createElement("div");e.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var r=e.firstElementChild,i=r==null?void 0:r.firstElementChild;if(!i)return null;document.body.appendChild(r),r.scrollLeft=0;var a=t.getOffset(r),h=t.getOffset(i);r.scrollLeft=-999;var p=t.getOffset(i);return document.body.removeChild(r),t.rtlHelpers={isScrollOriginAtZero:a.left!==h.left,isScrollingToNegative:h.left!==p.left},t.rtlHelpers},t.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Qc()}catch{return Qc()}},t.getOffset=function(e){var r=e.getBoundingClientRect(),i=zu(e),a=oo(e);return{top:r.top+(a.pageYOffset||i.documentElement.scrollTop),left:r.left+(a.pageXOffset||i.documentElement.scrollLeft)}},t.prototype.init=function(){yd&&(this.initDOM(),this.rtlHelpers=t.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.prototype.initDOM=function(){var e,r;this.wrapperEl=this.el.querySelector(Gt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Gt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Gt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Gt(this.classNames.offset)),this.maskEl=this.el.querySelector(Gt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Gt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Gt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Gt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Gt(this.classNames.track)).concat(Gt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Gt(this.classNames.track)).concat(Gt(this.classNames.vertical))),this.axis.x.scrollbar.el=((e=this.axis.x.track.el)===null||e===void 0?void 0:e.querySelector(Gt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((r=this.axis.y.track.el)===null||r===void 0?void 0:r.querySelector(Gt(this.classNames.scrollbar)))||null,this.options.autoHide||(io(this.axis.x.scrollbar.el,this.classNames.visible),io(this.axis.y.scrollbar.el,this.classNames.visible))},t.prototype.initListeners=function(){var e=this,r,i=oo(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(r=this.contentWrapperEl)===null||r===void 0||r.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var a=!1,h=i.ResizeObserver||ResizeObserver;this.resizeObserver=new h(function(){a&&i.requestAnimationFrame(function(){e.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){a=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){e.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},t.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var e=oo(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var r=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,a=this.heightAutoObserverEl.offsetWidth<=1||r>0,h=this.contentWrapperEl.offsetWidth,p=this.elStyles.overflowX,S=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var v=this.contentEl.scrollHeight,b=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=a?"".concat(r||b,"px"):"auto",this.placeholderEl.style.height="".concat(v,"px");var P=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=r!==0&&b>r,this.axis.y.isOverflowing=v>P,this.axis.x.isOverflowing=p==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=S==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var w=this.axis.x.isOverflowing?this.scrollbarWidth:0,D=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&b>h-D,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&v>P-w,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},t.prototype.getScrollbarSize=function(e){var r,i;if(e===void 0&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var a=this.contentEl[this.axis[e].scrollSizeAttr],h=(i=(r=this.axis[e].track.el)===null||r===void 0?void 0:r[this.axis[e].offsetSizeAttr])!==null&&i!==void 0?i:0,p=h/a,S;return S=Math.max(~~(p*h),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(S=Math.min(S,this.options.scrollbarMaxSize)),S},t.prototype.positionScrollbar=function(e){var r,i,a;e===void 0&&(e="y");var h=this.axis[e].scrollbar;if(!(!this.axis[e].isOverflowing||!this.contentWrapperEl||!h.el||!this.elStyles)){var p=this.contentWrapperEl[this.axis[e].scrollSizeAttr],S=((r=this.axis[e].track.el)===null||r===void 0?void 0:r[this.axis[e].offsetSizeAttr])||0,v=parseInt(this.elStyles[this.axis[e].sizeAttr],10),b=this.contentWrapperEl[this.axis[e].scrollOffsetAttr];b=e==="x"&&this.isRtl&&(!((i=t.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-b:b,e==="x"&&this.isRtl&&(b=!((a=t.getRtlHelpers())===null||a===void 0)&&a.isScrollingToNegative?b:-b);var P=b/(p-v),w=~~((S-h.size)*P);w=e==="x"&&this.isRtl?-w+(S-h.size):w,h.el.style.transform=e==="x"?"translate3d(".concat(w,"px, 0, 0)"):"translate3d(0, ".concat(w,"px, 0)")}},t.prototype.toggleTrackVisibility=function(e){e===void 0&&(e="y");var r=this.axis[e].track.el,i=this.axis[e].scrollbar.el;!r||!i||!this.contentWrapperEl||(this.axis[e].isOverflowing||this.axis[e].forceVisible?(r.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(r.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?i.style.display="block":i.style.display="none")},t.prototype.showScrollbar=function(e){e===void 0&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(io(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},t.prototype.hideScrollbar=function(e){e===void 0&&(e="y"),this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(ao(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},t.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},t.prototype.onMouseMoveForAxis=function(e){e===void 0&&(e="y");var r=this.axis[e];!r.track.el||!r.scrollbar.el||(r.track.rect=r.track.el.getBoundingClientRect(),r.scrollbar.rect=r.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(r.track.rect)?(this.showScrollbar(e),io(r.track.el,this.classNames.hover),this.isWithinBounds(r.scrollbar.rect)?io(r.scrollbar.el,this.classNames.hover):ao(r.scrollbar.el,this.classNames.hover)):(ao(r.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},t.prototype.onMouseLeaveForAxis=function(e){e===void 0&&(e="y"),ao(this.axis[e].track.el,this.classNames.hover),ao(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},t.prototype.onDragStart=function(e,r){var i;r===void 0&&(r="y");var a=zu(this.el),h=oo(this.el),p=this.axis[r].scrollbar,S=r==="y"?e.pageY:e.pageX;this.axis[r].dragOffset=S-(((i=p.rect)===null||i===void 0?void 0:i[this.axis[r].offsetAttr])||0),this.draggedAxis=r,io(this.el,this.classNames.dragging),a.addEventListener("mousemove",this.drag,!0),a.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(a.addEventListener("click",this.preventClick,!0),a.addEventListener("dblclick",this.preventClick,!0)):(h.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.prototype.onTrackClick=function(e,r){var i=this,a,h,p,S;r===void 0&&(r="y");var v=this.axis[r];if(!(!this.options.clickOnTrack||!v.scrollbar.el||!this.contentWrapperEl)){e.preventDefault();var b=oo(this.el);this.axis[r].scrollbar.rect=v.scrollbar.el.getBoundingClientRect();var P=this.axis[r].scrollbar,w=(h=(a=P.rect)===null||a===void 0?void 0:a[this.axis[r].offsetAttr])!==null&&h!==void 0?h:0,D=parseInt((S=(p=this.elStyles)===null||p===void 0?void 0:p[this.axis[r].sizeAttr])!==null&&S!==void 0?S:"0px",10),_=this.contentWrapperEl[this.axis[r].scrollOffsetAttr],H=r==="y"?this.mouseY-w:this.mouseX-w,Y=H<0?-1:1,j=Y===-1?_-D:_+D,O=40,X=function(){i.contentWrapperEl&&(Y===-1?_>j&&(_-=O,i.contentWrapperEl[i.axis[r].scrollOffsetAttr]=_,b.requestAnimationFrame(X)):_<j&&(_+=O,i.contentWrapperEl[i.axis[r].scrollOffsetAttr]=_,b.requestAnimationFrame(X)))};X()}},t.prototype.getContentElement=function(){return this.contentEl},t.prototype.getScrollElement=function(){return this.contentWrapperEl},t.prototype.removeListeners=function(){var e=oo(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},t.prototype.unMount=function(){this.removeListeners()},t.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.prototype.findChild=function(e,r){var i=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(a){return i.call(a,r)})[0]},t.rtlHelpers=null,t.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},t.getOptions=sm,t.helpers=am,t}(),en=function(){return en=Object.assign||function(e){for(var r,i=1,a=arguments.length;i<a;i++){r=arguments[i];for(var h in r)Object.prototype.hasOwnProperty.call(r,h)&&(e[h]=r[h])}return e},en.apply(this,arguments)};function lm(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,i=Object.getOwnPropertySymbols(t);a<i.length;a++)e.indexOf(i[a])<0&&Object.prototype.propertyIsEnumerable.call(t,i[a])&&(r[i[a]]=t[i[a]]);return r}var Cd=Ye.forwardRef(function(t,e){var r=t.children,i=t.scrollableNodeProps,a=i===void 0?{}:i,h=lm(t,["children","scrollableNodeProps"]),p=Ye.useRef(),S=Ye.useRef(),v=Ye.useRef(),b={},P={};Object.keys(h).forEach(function(_){Object.prototype.hasOwnProperty.call(yl.defaultOptions,_)?b[_]=h[_]:P[_]=h[_]});var w=en(en({},yl.defaultOptions.classNames),b.classNames),D=en(en({},a),{className:"".concat(w.contentWrapper).concat(a.className?" ".concat(a.className):""),tabIndex:0,role:"region","aria-label":b.ariaLabel||yl.defaultOptions.ariaLabel});return Ye.useEffect(function(){var _;return S.current=D.ref?D.ref.current:S.current,p.current&&(_=new yl(p.current,en(en(en({},b),S.current&&{scrollableNode:S.current}),v.current&&{contentNode:v.current})),typeof e=="function"?e(_):e&&(e.current=_)),function(){_==null||_.unMount(),_=null,typeof e=="function"&&e(null)}},[]),Ye.createElement("div",en({"data-simplebar":"init",ref:p},P),Ye.createElement("div",{className:w.wrapper},Ye.createElement("div",{className:w.heightAutoObserverWrapperEl},Ye.createElement("div",{className:w.heightAutoObserverEl})),Ye.createElement("div",{className:w.mask},Ye.createElement("div",{className:w.offset},typeof r=="function"?r({scrollableNodeRef:S,scrollableNodeProps:en(en({},D),{ref:S}),contentNodeRef:v,contentNodeProps:{className:w.contentEl,ref:v}}):Ye.createElement("div",en({},D),Ye.createElement("div",{className:w.contentEl},r)))),Ye.createElement("div",{className:w.placeholder})),Ye.createElement("div",{className:"".concat(w.track," simplebar-horizontal")},Ye.createElement("div",{className:w.scrollbar})),Ye.createElement("div",{className:"".concat(w.track," simplebar-vertical")},Ye.createElement("div",{className:w.scrollbar})))});Cd.displayName="SimpleBar";const Ed=oe.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),Bl=oe.createContext({}),bc=oe.createContext(null),Vl=typeof document<"u",um=Vl?oe.useLayoutEffect:oe.useEffect,Rd=oe.createContext({strict:!1}),xc=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),cm="framerAppearId",Pd="data-"+xc(cm);function fm(t,e,r,i){const{visualElement:a}=oe.useContext(Bl),h=oe.useContext(Rd),p=oe.useContext(bc),S=oe.useContext(Ed).reducedMotion,v=oe.useRef();i=i||h.renderer,!v.current&&i&&(v.current=i(t,{visualState:e,parent:a,props:r,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:S}));const b=v.current;oe.useInsertionEffect(()=>{b&&b.update(r,p)});const P=oe.useRef(!!(r[Pd]&&!window.HandoffComplete));return um(()=>{b&&(b.render(),P.current&&b.animationState&&b.animationState.animateChanges())}),oe.useEffect(()=>{b&&(b.updateFeatures(),!P.current&&b.animationState&&b.animationState.animateChanges(),P.current&&(P.current=!1,window.HandoffComplete=!0))}),b}function ua(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function dm(t,e,r){return oe.useCallback(i=>{i&&t.mount&&t.mount(i),e&&(i?e.mount(i):e.unmount()),r&&(typeof r=="function"?r(i):ua(r)&&(r.current=i))},[e])}function xs(t){return typeof t=="string"||Array.isArray(t)}function zl(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Sc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],wc=["initial",...Sc];function Wl(t){return zl(t.animate)||wc.some(e=>xs(t[e]))}function Ad(t){return!!(Wl(t)||t.variants)}function hm(t,e){if(Wl(t)){const{initial:r,animate:i}=t;return{initial:r===!1||xs(r)?r:void 0,animate:xs(i)?i:void 0}}return t.inherit!==!1?e:{}}function pm(t){const{initial:e,animate:r}=hm(t,oe.useContext(Bl));return oe.useMemo(()=>({initial:e,animate:r}),[Jc(e),Jc(r)])}function Jc(t){return Array.isArray(t)?t.join(" "):t}const Kc={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ss={};for(const t in Kc)Ss[t]={isEnabled:e=>Kc[t].some(r=>!!e[r])};function mm(t){for(const e in t)Ss[e]={...Ss[e],...t[e]}}const Id=oe.createContext({}),Md=oe.createContext({}),vm=Symbol.for("motionComponentSymbol");function gm({preloadedFeatures:t,createVisualElement:e,useRender:r,useVisualState:i,Component:a}){t&&mm(t);function h(S,v){let b;const P={...oe.useContext(Ed),...S,layoutId:ym(S)},{isStatic:w}=P,D=pm(S),_=i(S,w);if(!w&&Vl){D.visualElement=fm(a,_,P,e);const H=oe.useContext(Md),Y=oe.useContext(Rd).strict;D.visualElement&&(b=D.visualElement.loadFeatures(P,Y,t,H))}return Ye.createElement(Bl.Provider,{value:D},b&&D.visualElement?Ye.createElement(b,{visualElement:D.visualElement,...P}):null,r(a,S,dm(_,D.visualElement,v),_,w,D.visualElement))}const p=oe.forwardRef(h);return p[vm]=a,p}function ym({layoutId:t}){const e=oe.useContext(Id).id;return e&&t!==void 0?e+"-"+t:t}function bm(t){function e(i,a={}){return gm(t(i,a))}if(typeof Proxy>"u")return e;const r=new Map;return new Proxy(e,{get:(i,a)=>(r.has(a)||r.set(a,e(a)),r.get(a))})}const xm=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function kc(t){return typeof t!="string"||t.includes("-")?!1:!!(xm.indexOf(t)>-1||/[A-Z]/.test(t))}const Il={};function Sm(t){Object.assign(Il,t)}const ks=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],si=new Set(ks);function Dd(t,{layout:e,layoutId:r}){return si.has(t)||t.startsWith("origin")||(e||r!==void 0)&&(!!Il[t]||t==="opacity")}const $t=t=>!!(t&&t.getVelocity),wm={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},km=ks.length;function Tm(t,{enableHardwareAcceleration:e=!0,allowTransformNone:r=!0},i,a){let h="";for(let p=0;p<km;p++){const S=ks[p];if(t[S]!==void 0){const v=wm[S]||S;h+=`${v}(${t[S]}) `}}return e&&!t.z&&(h+="translateZ(0)"),h=h.trim(),a?h=a(t,i?"":h):r&&i&&(h="none"),h}const Od=t=>e=>typeof e=="string"&&e.startsWith(t),Fd=Od("--"),oc=Od("var(--"),Cm=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Em=(t,e)=>e&&typeof t=="number"?e.transform(t):t,ho=(t,e,r)=>Math.min(Math.max(r,t),e),li={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},vs={...li,transform:t=>ho(0,1,t)},bl={...li,default:1},gs=t=>Math.round(t*1e5)/1e5,Ul=/(-)?([\d]*\.?[\d])+/g,Ld=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Rm=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Ts(t){return typeof t=="string"}const Cs=t=>({test:e=>Ts(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),so=Cs("deg"),Jn=Cs("%"),pe=Cs("px"),Pm=Cs("vh"),Am=Cs("vw"),qc={...Jn,parse:t=>Jn.parse(t)/100,transform:t=>Jn.transform(t*100)},ef={...li,transform:Math.round},_d={borderWidth:pe,borderTopWidth:pe,borderRightWidth:pe,borderBottomWidth:pe,borderLeftWidth:pe,borderRadius:pe,radius:pe,borderTopLeftRadius:pe,borderTopRightRadius:pe,borderBottomRightRadius:pe,borderBottomLeftRadius:pe,width:pe,maxWidth:pe,height:pe,maxHeight:pe,size:pe,top:pe,right:pe,bottom:pe,left:pe,padding:pe,paddingTop:pe,paddingRight:pe,paddingBottom:pe,paddingLeft:pe,margin:pe,marginTop:pe,marginRight:pe,marginBottom:pe,marginLeft:pe,rotate:so,rotateX:so,rotateY:so,rotateZ:so,scale:bl,scaleX:bl,scaleY:bl,scaleZ:bl,skew:so,skewX:so,skewY:so,distance:pe,translateX:pe,translateY:pe,translateZ:pe,x:pe,y:pe,z:pe,perspective:pe,transformPerspective:pe,opacity:vs,originX:qc,originY:qc,originZ:pe,zIndex:ef,fillOpacity:vs,strokeOpacity:vs,numOctaves:ef};function Tc(t,e,r,i){const{style:a,vars:h,transform:p,transformOrigin:S}=t;let v=!1,b=!1,P=!0;for(const w in e){const D=e[w];if(Fd(w)){h[w]=D;continue}const _=_d[w],H=Em(D,_);if(si.has(w)){if(v=!0,p[w]=H,!P)continue;D!==(_.default||0)&&(P=!1)}else w.startsWith("origin")?(b=!0,S[w]=H):a[w]=H}if(e.transform||(v||i?a.transform=Tm(t.transform,r,P,i):a.transform&&(a.transform="none")),b){const{originX:w="50%",originY:D="50%",originZ:_=0}=S;a.transformOrigin=`${w} ${D} ${_}`}}const Cc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function jd(t,e,r){for(const i in e)!$t(e[i])&&!Dd(i,r)&&(t[i]=e[i])}function Im({transformTemplate:t},e,r){return oe.useMemo(()=>{const i=Cc();return Tc(i,e,{enableHardwareAcceleration:!r},t),Object.assign({},i.vars,i.style)},[e])}function Mm(t,e,r){const i=t.style||{},a={};return jd(a,i,t),Object.assign(a,Im(t,e,r)),t.transformValues?t.transformValues(a):a}function Dm(t,e,r){const i={},a=Mm(t,e,r);return t.drag&&t.dragListener!==!1&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=a,i}const Om=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Ml(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Om.has(t)}let Bd=t=>!Ml(t);function Fm(t){t&&(Bd=e=>e.startsWith("on")?!Ml(e):t(e))}try{Fm(require("@emotion/is-prop-valid").default)}catch{}function Lm(t,e,r){const i={};for(const a in t)a==="values"&&typeof t.values=="object"||(Bd(a)||r===!0&&Ml(a)||!e&&!Ml(a)||t.draggable&&a.startsWith("onDrag"))&&(i[a]=t[a]);return i}function tf(t,e,r){return typeof t=="string"?t:pe.transform(e+r*t)}function _m(t,e,r){const i=tf(e,t.x,t.width),a=tf(r,t.y,t.height);return`${i} ${a}`}const jm={offset:"stroke-dashoffset",array:"stroke-dasharray"},Bm={offset:"strokeDashoffset",array:"strokeDasharray"};function Vm(t,e,r=1,i=0,a=!0){t.pathLength=1;const h=a?jm:Bm;t[h.offset]=pe.transform(-i);const p=pe.transform(e),S=pe.transform(r);t[h.array]=`${p} ${S}`}function Ec(t,{attrX:e,attrY:r,attrScale:i,originX:a,originY:h,pathLength:p,pathSpacing:S=1,pathOffset:v=0,...b},P,w,D){if(Tc(t,b,P,D),w){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:_,style:H,dimensions:Y}=t;_.transform&&(Y&&(H.transform=_.transform),delete _.transform),Y&&(a!==void 0||h!==void 0||H.transform)&&(H.transformOrigin=_m(Y,a!==void 0?a:.5,h!==void 0?h:.5)),e!==void 0&&(_.x=e),r!==void 0&&(_.y=r),i!==void 0&&(_.scale=i),p!==void 0&&Vm(_,p,S,v,!1)}const Vd=()=>({...Cc(),attrs:{}}),Rc=t=>typeof t=="string"&&t.toLowerCase()==="svg";function zm(t,e,r,i){const a=oe.useMemo(()=>{const h=Vd();return Ec(h,e,{enableHardwareAcceleration:!1},Rc(i),t.transformTemplate),{...h.attrs,style:{...h.style}}},[e]);if(t.style){const h={};jd(h,t.style,t),a.style={...h,...a.style}}return a}function Wm(t=!1){return(r,i,a,{latestValues:h},p)=>{const v=(kc(r)?zm:Dm)(i,h,p,r),P={...Lm(i,typeof r=="string",t),...v,ref:a},{children:w}=i,D=oe.useMemo(()=>$t(w)?w.get():w,[w]);return oe.createElement(r,{...P,children:D})}}function zd(t,{style:e,vars:r},i,a){Object.assign(t.style,e,a&&a.getProjectionStyles(i));for(const h in r)t.style.setProperty(h,r[h])}const Wd=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ud(t,e,r,i){zd(t,e,void 0,i);for(const a in e.attrs)t.setAttribute(Wd.has(a)?a:xc(a),e.attrs[a])}function Pc(t,e){const{style:r}=t,i={};for(const a in r)($t(r[a])||e.style&&$t(e.style[a])||Dd(a,t))&&(i[a]=r[a]);return i}function Nd(t,e){const r=Pc(t,e);for(const i in t)if($t(t[i])||$t(e[i])){const a=ks.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[a]=t[i]}return r}function Ac(t,e,r,i={},a={}){return typeof e=="function"&&(e=e(r!==void 0?r:t.custom,i,a)),typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"&&(e=e(r!==void 0?r:t.custom,i,a)),e}function Um(t){const e=oe.useRef(null);return e.current===null&&(e.current=t()),e.current}const Dl=t=>Array.isArray(t),Nm=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),Hm=t=>Dl(t)?t[t.length-1]||0:t;function El(t){const e=$t(t)?t.get():t;return Nm(e)?e.toValue():e}function Gm({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:r},i,a,h){const p={latestValues:$m(i,a,h,t),renderState:e()};return r&&(p.mount=S=>r(i,S,p)),p}const Hd=t=>(e,r)=>{const i=oe.useContext(Bl),a=oe.useContext(bc),h=()=>Gm(t,e,i,a);return r?h():Um(h)};function $m(t,e,r,i){const a={},h=i(t,{});for(const D in h)a[D]=El(h[D]);let{initial:p,animate:S}=t;const v=Wl(t),b=Ad(t);e&&b&&!v&&t.inherit!==!1&&(p===void 0&&(p=e.initial),S===void 0&&(S=e.animate));let P=r?r.initial===!1:!1;P=P||p===!1;const w=P?S:p;return w&&typeof w!="boolean"&&!zl(w)&&(Array.isArray(w)?w:[w]).forEach(_=>{const H=Ac(t,_);if(!H)return;const{transitionEnd:Y,transition:j,...O}=H;for(const X in O){let $=O[X];if(Array.isArray($)){const J=P?$.length-1:0;$=$[J]}$!==null&&(a[X]=$)}for(const X in Y)a[X]=Y[X]}),a}const Je=t=>t;class nf{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){const r=this.order.indexOf(e);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}function Ym(t){let e=new nf,r=new nf,i=0,a=!1,h=!1;const p=new WeakSet,S={schedule:(v,b=!1,P=!1)=>{const w=P&&a,D=w?e:r;return b&&p.add(v),D.add(v)&&w&&a&&(i=e.order.length),v},cancel:v=>{r.remove(v),p.delete(v)},process:v=>{if(a){h=!0;return}if(a=!0,[e,r]=[r,e],r.clear(),i=e.order.length,i)for(let b=0;b<i;b++){const P=e.order[b];P(v),p.has(P)&&(S.schedule(P),t())}a=!1,h&&(h=!1,S.process(v))}};return S}const xl=["prepare","read","update","preRender","render","postRender"],Xm=40;function Zm(t,e){let r=!1,i=!0;const a={delta:0,timestamp:0,isProcessing:!1},h=xl.reduce((w,D)=>(w[D]=Ym(()=>r=!0),w),{}),p=w=>h[w].process(a),S=()=>{const w=performance.now();r=!1,a.delta=i?1e3/60:Math.max(Math.min(w-a.timestamp,Xm),1),a.timestamp=w,a.isProcessing=!0,xl.forEach(p),a.isProcessing=!1,r&&e&&(i=!1,t(S))},v=()=>{r=!0,i=!0,a.isProcessing||t(S)};return{schedule:xl.reduce((w,D)=>{const _=h[D];return w[D]=(H,Y=!1,j=!1)=>(r||v(),_.schedule(H,Y,j)),w},{}),cancel:w=>xl.forEach(D=>h[D].cancel(w)),state:a,steps:h}}const{schedule:Ne,cancel:Mr,state:xt,steps:Wu}=Zm(typeof requestAnimationFrame<"u"?requestAnimationFrame:Je,!0),Qm={useVisualState:Hd({scrapeMotionValuesFromProps:Nd,createRenderState:Vd,onMount:(t,e,{renderState:r,latestValues:i})=>{Ne.read(()=>{try{r.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),Ne.render(()=>{Ec(r,i,{enableHardwareAcceleration:!1},Rc(e.tagName),t.transformTemplate),Ud(e,r)})}})},Jm={useVisualState:Hd({scrapeMotionValuesFromProps:Pc,createRenderState:Cc})};function Km(t,{forwardMotionProps:e=!1},r,i){return{...kc(t)?Qm:Jm,preloadedFeatures:r,useRender:Wm(e),createVisualElement:i,Component:t}}function Pr(t,e,r,i={passive:!0}){return t.addEventListener(e,r,i),()=>t.removeEventListener(e,r)}const Gd=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function Nl(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}const qm=t=>e=>Gd(e)&&t(e,Nl(e));function Ar(t,e,r,i){return Pr(t,e,qm(r),i)}const ev=(t,e)=>r=>e(t(r)),co=(...t)=>t.reduce(ev);function $d(t){let e=null;return()=>{const r=()=>{e=null};return e===null?(e=t,r):!1}}const rf=$d("dragHorizontal"),of=$d("dragVertical");function Yd(t){let e=!1;if(t==="y")e=of();else if(t==="x")e=rf();else{const r=rf(),i=of();r&&i?e=()=>{r(),i()}:(r&&r(),i&&i())}return e}function Xd(){const t=Yd(!0);return t?(t(),!1):!0}class mo{constructor(e){this.isMounted=!1,this.node=e}update(){}}function af(t,e){const r="pointer"+(e?"enter":"leave"),i="onHover"+(e?"Start":"End"),a=(h,p)=>{if(h.pointerType==="touch"||Xd())return;const S=t.getProps();t.animationState&&S.whileHover&&t.animationState.setActive("whileHover",e),S[i]&&Ne.update(()=>S[i](h,p))};return Ar(t.current,r,a,{passive:!t.getProps()[i]})}class tv extends mo{mount(){this.unmount=co(af(this.node,!0),af(this.node,!1))}unmount(){}}class nv extends mo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=co(Pr(this.node.current,"focus",()=>this.onFocus()),Pr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Zd=(t,e)=>e?t===e?!0:Zd(t,e.parentElement):!1;function Uu(t,e){if(!e)return;const r=new PointerEvent("pointer"+t);e(r,Nl(r))}class rv extends mo{constructor(){super(...arguments),this.removeStartListeners=Je,this.removeEndListeners=Je,this.removeAccessibleListeners=Je,this.startPointerPress=(e,r)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),h=Ar(window,"pointerup",(S,v)=>{if(!this.checkPressEnd())return;const{onTap:b,onTapCancel:P,globalTapTarget:w}=this.node.getProps();Ne.update(()=>{!w&&!Zd(this.node.current,S.target)?P&&P(S,v):b&&b(S,v)})},{passive:!(i.onTap||i.onPointerUp)}),p=Ar(window,"pointercancel",(S,v)=>this.cancelPress(S,v),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=co(h,p),this.startPress(e,r)},this.startAccessiblePress=()=>{const e=h=>{if(h.key!=="Enter"||this.isPressing)return;const p=S=>{S.key!=="Enter"||!this.checkPressEnd()||Uu("up",(v,b)=>{const{onTap:P}=this.node.getProps();P&&Ne.update(()=>P(v,b))})};this.removeEndListeners(),this.removeEndListeners=Pr(this.node.current,"keyup",p),Uu("down",(S,v)=>{this.startPress(S,v)})},r=Pr(this.node.current,"keydown",e),i=()=>{this.isPressing&&Uu("cancel",(h,p)=>this.cancelPress(h,p))},a=Pr(this.node.current,"blur",i);this.removeAccessibleListeners=co(r,a)}}startPress(e,r){this.isPressing=!0;const{onTapStart:i,whileTap:a}=this.node.getProps();a&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&Ne.update(()=>i(e,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Xd()}cancelPress(e,r){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&Ne.update(()=>i(e,r))}mount(){const e=this.node.getProps(),r=Ar(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),i=Pr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=co(r,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const ic=new WeakMap,Nu=new WeakMap,ov=t=>{const e=ic.get(t.target);e&&e(t)},iv=t=>{t.forEach(ov)};function av({root:t,...e}){const r=t||document;Nu.has(r)||Nu.set(r,{});const i=Nu.get(r),a=JSON.stringify(e);return i[a]||(i[a]=new IntersectionObserver(iv,{root:t,...e})),i[a]}function sv(t,e,r){const i=av(e);return ic.set(t,r),i.observe(t),()=>{ic.delete(t),i.unobserve(t)}}const lv={some:0,all:1};class uv extends mo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:r,margin:i,amount:a="some",once:h}=e,p={root:r?r.current:void 0,rootMargin:i,threshold:typeof a=="number"?a:lv[a]},S=v=>{const{isIntersecting:b}=v;if(this.isInView===b||(this.isInView=b,h&&!b&&this.hasEnteredView))return;b&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",b);const{onViewportEnter:P,onViewportLeave:w}=this.node.getProps(),D=b?P:w;D&&D(v)};return sv(this.node.current,p,S)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:r}=this.node;["amount","margin","root"].some(cv(e,r))&&this.startObserver()}unmount(){}}function cv({viewport:t={}},{viewport:e={}}={}){return r=>t[r]!==e[r]}const fv={inView:{Feature:uv},tap:{Feature:rv},focus:{Feature:nv},hover:{Feature:tv}};function Qd(t,e){if(!Array.isArray(e))return!1;const r=e.length;if(r!==t.length)return!1;for(let i=0;i<r;i++)if(e[i]!==t[i])return!1;return!0}function dv(t){const e={};return t.values.forEach((r,i)=>e[i]=r.get()),e}function hv(t){const e={};return t.values.forEach((r,i)=>e[i]=r.getVelocity()),e}function Hl(t,e,r){const i=t.getProps();return Ac(i,e,r!==void 0?r:i.custom,dv(t),hv(t))}let Es=Je,On=Je;process.env.NODE_ENV!=="production"&&(Es=(t,e)=>{!t&&typeof console<"u"&&console.warn(e)},On=(t,e)=>{if(!t)throw new Error(e)});const fo=t=>t*1e3,Ir=t=>t/1e3,pv={current:!1},Jd=t=>Array.isArray(t)&&typeof t[0]=="number";function Kd(t){return!!(!t||typeof t=="string"&&qd[t]||Jd(t)||Array.isArray(t)&&t.every(Kd))}const ms=([t,e,r,i])=>`cubic-bezier(${t}, ${e}, ${r}, ${i})`,qd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ms([0,.65,.55,1]),circOut:ms([.55,0,1,.45]),backIn:ms([.31,.01,.66,-.59]),backOut:ms([.33,1.53,.69,.99])};function eh(t){if(t)return Jd(t)?ms(t):Array.isArray(t)?t.map(eh):qd[t]}function mv(t,e,r,{delay:i=0,duration:a,repeat:h=0,repeatType:p="loop",ease:S,times:v}={}){const b={[e]:r};v&&(b.offset=v);const P=eh(S);return Array.isArray(P)&&(b.easing=P),t.animate(b,{delay:i,duration:a,easing:Array.isArray(P)?"linear":P,fill:"both",iterations:h+1,direction:p==="reverse"?"alternate":"normal"})}function vv(t,{repeat:e,repeatType:r="loop"}){const i=e&&r!=="loop"&&e%2===1?0:t.length-1;return t[i]}const th=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t,gv=1e-7,yv=12;function bv(t,e,r,i,a){let h,p,S=0;do p=e+(r-e)/2,h=th(p,i,a)-t,h>0?r=p:e=p;while(Math.abs(h)>gv&&++S<yv);return p}function Rs(t,e,r,i){if(t===e&&r===i)return Je;const a=h=>bv(h,0,1,t,r);return h=>h===0||h===1?h:th(a(h),e,i)}const xv=Rs(.42,0,1,1),Sv=Rs(0,0,.58,1),nh=Rs(.42,0,.58,1),wv=t=>Array.isArray(t)&&typeof t[0]!="number",rh=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,oh=t=>e=>1-t(1-e),Ic=t=>1-Math.sin(Math.acos(t)),ih=oh(Ic),kv=rh(Ic),ah=Rs(.33,1.53,.69,.99),Mc=oh(ah),Tv=rh(Mc),Cv=t=>(t*=2)<1?.5*Mc(t):.5*(2-Math.pow(2,-10*(t-1))),sf={linear:Je,easeIn:xv,easeInOut:nh,easeOut:Sv,circIn:Ic,circInOut:kv,circOut:ih,backIn:Mc,backInOut:Tv,backOut:ah,anticipate:Cv},lf=t=>{if(Array.isArray(t)){On(t.length===4,"Cubic bezier arrays must contain four numerical values.");const[e,r,i,a]=t;return Rs(e,r,i,a)}else if(typeof t=="string")return On(sf[t]!==void 0,`Invalid easing type '${t}'`),sf[t];return t},Dc=(t,e)=>r=>!!(Ts(r)&&Rm.test(r)&&r.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(r,e)),sh=(t,e,r)=>i=>{if(!Ts(i))return i;const[a,h,p,S]=i.match(Ul);return{[t]:parseFloat(a),[e]:parseFloat(h),[r]:parseFloat(p),alpha:S!==void 0?parseFloat(S):1}},Ev=t=>ho(0,255,t),Hu={...li,transform:t=>Math.round(Ev(t))},ii={test:Dc("rgb","red"),parse:sh("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:i=1})=>"rgba("+Hu.transform(t)+", "+Hu.transform(e)+", "+Hu.transform(r)+", "+gs(vs.transform(i))+")"};function Rv(t){let e="",r="",i="",a="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),i=t.substring(5,7),a=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),i=t.substring(3,4),a=t.substring(4,5),e+=e,r+=r,i+=i,a+=a),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:a?parseInt(a,16)/255:1}}const ac={test:Dc("#"),parse:Rv,transform:ii.transform},ca={test:Dc("hsl","hue"),parse:sh("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:i=1})=>"hsla("+Math.round(t)+", "+Jn.transform(gs(e))+", "+Jn.transform(gs(r))+", "+gs(vs.transform(i))+")"},Mt={test:t=>ii.test(t)||ac.test(t)||ca.test(t),parse:t=>ii.test(t)?ii.parse(t):ca.test(t)?ca.parse(t):ac.parse(t),transform:t=>Ts(t)?t:t.hasOwnProperty("red")?ii.transform(t):ca.transform(t)},Qe=(t,e,r)=>-r*t+r*e+t;function Gu(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function Pv({hue:t,saturation:e,lightness:r,alpha:i}){t/=360,e/=100,r/=100;let a=0,h=0,p=0;if(!e)a=h=p=r;else{const S=r<.5?r*(1+e):r+e-r*e,v=2*r-S;a=Gu(v,S,t+1/3),h=Gu(v,S,t),p=Gu(v,S,t-1/3)}return{red:Math.round(a*255),green:Math.round(h*255),blue:Math.round(p*255),alpha:i}}const $u=(t,e,r)=>{const i=t*t;return Math.sqrt(Math.max(0,r*(e*e-i)+i))},Av=[ac,ii,ca],Iv=t=>Av.find(e=>e.test(t));function uf(t){const e=Iv(t);On(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let r=e.parse(t);return e===ca&&(r=Pv(r)),r}const lh=(t,e)=>{const r=uf(t),i=uf(e),a={...r};return h=>(a.red=$u(r.red,i.red,h),a.green=$u(r.green,i.green,h),a.blue=$u(r.blue,i.blue,h),a.alpha=Qe(r.alpha,i.alpha,h),ii.transform(a))};function Mv(t){var e,r;return isNaN(t)&&Ts(t)&&(((e=t.match(Ul))===null||e===void 0?void 0:e.length)||0)+(((r=t.match(Ld))===null||r===void 0?void 0:r.length)||0)>0}const uh={regex:Cm,countKey:"Vars",token:"${v}",parse:Je},ch={regex:Ld,countKey:"Colors",token:"${c}",parse:Mt.parse},fh={regex:Ul,countKey:"Numbers",token:"${n}",parse:li.parse};function Yu(t,{regex:e,countKey:r,token:i,parse:a}){const h=t.tokenised.match(e);h&&(t["num"+r]=h.length,t.tokenised=t.tokenised.replace(e,i),t.values.push(...h.map(a)))}function Ol(t){const e=t.toString(),r={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Yu(r,uh),Yu(r,ch),Yu(r,fh),r}function dh(t){return Ol(t).values}function hh(t){const{values:e,numColors:r,numVars:i,tokenised:a}=Ol(t),h=e.length;return p=>{let S=a;for(let v=0;v<h;v++)v<i?S=S.replace(uh.token,p[v]):v<i+r?S=S.replace(ch.token,Mt.transform(p[v])):S=S.replace(fh.token,gs(p[v]));return S}}const Dv=t=>typeof t=="number"?0:t;function Ov(t){const e=dh(t);return hh(t)(e.map(Dv))}const po={test:Mv,parse:dh,createTransformer:hh,getAnimatableNone:Ov},ph=(t,e)=>r=>`${r>0?e:t}`;function mh(t,e){return typeof t=="number"?r=>Qe(t,e,r):Mt.test(t)?lh(t,e):t.startsWith("var(")?ph(t,e):gh(t,e)}const vh=(t,e)=>{const r=[...t],i=r.length,a=t.map((h,p)=>mh(h,e[p]));return h=>{for(let p=0;p<i;p++)r[p]=a[p](h);return r}},Fv=(t,e)=>{const r={...t,...e},i={};for(const a in r)t[a]!==void 0&&e[a]!==void 0&&(i[a]=mh(t[a],e[a]));return a=>{for(const h in i)r[h]=i[h](a);return r}},gh=(t,e)=>{const r=po.createTransformer(e),i=Ol(t),a=Ol(e);return i.numVars===a.numVars&&i.numColors===a.numColors&&i.numNumbers>=a.numNumbers?co(vh(i.values,a.values),r):(Es(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),ph(t,e))},ws=(t,e,r)=>{const i=e-t;return i===0?1:(r-t)/i},cf=(t,e)=>r=>Qe(t,e,r);function Lv(t){return typeof t=="number"?cf:typeof t=="string"?Mt.test(t)?lh:gh:Array.isArray(t)?vh:typeof t=="object"?Fv:cf}function _v(t,e,r){const i=[],a=r||Lv(t[0]),h=t.length-1;for(let p=0;p<h;p++){let S=a(t[p],t[p+1]);if(e){const v=Array.isArray(e)?e[p]||Je:e;S=co(v,S)}i.push(S)}return i}function yh(t,e,{clamp:r=!0,ease:i,mixer:a}={}){const h=t.length;if(On(h===e.length,"Both input and output ranges must be the same length"),h===1)return()=>e[0];t[0]>t[h-1]&&(t=[...t].reverse(),e=[...e].reverse());const p=_v(e,i,a),S=p.length,v=b=>{let P=0;if(S>1)for(;P<t.length-2&&!(b<t[P+1]);P++);const w=ws(t[P],t[P+1],b);return p[P](w)};return r?b=>v(ho(t[0],t[h-1],b)):v}function jv(t,e){const r=t[t.length-1];for(let i=1;i<=e;i++){const a=ws(0,e,i);t.push(Qe(r,1,a))}}function Bv(t){const e=[0];return jv(e,t.length-1),e}function Vv(t,e){return t.map(r=>r*e)}function zv(t,e){return t.map(()=>e||nh).splice(0,t.length-1)}function Fl({duration:t=300,keyframes:e,times:r,ease:i="easeInOut"}){const a=wv(i)?i.map(lf):lf(i),h={done:!1,value:e[0]},p=Vv(r&&r.length===e.length?r:Bv(e),t),S=yh(p,e,{ease:Array.isArray(a)?a:zv(e,a)});return{calculatedDuration:t,next:v=>(h.value=S(v),h.done=v>=t,h)}}function bh(t,e){return e?t*(1e3/e):0}const Wv=5;function xh(t,e,r){const i=Math.max(e-Wv,0);return bh(r-t(i),e-i)}const Xu=.001,Uv=.01,ff=10,Nv=.05,Hv=1;function Gv({duration:t=800,bounce:e=.25,velocity:r=0,mass:i=1}){let a,h;Es(t<=fo(ff),"Spring duration must be 10 seconds or less");let p=1-e;p=ho(Nv,Hv,p),t=ho(Uv,ff,Ir(t)),p<1?(a=b=>{const P=b*p,w=P*t,D=P-r,_=sc(b,p),H=Math.exp(-w);return Xu-D/_*H},h=b=>{const w=b*p*t,D=w*r+r,_=Math.pow(p,2)*Math.pow(b,2)*t,H=Math.exp(-w),Y=sc(Math.pow(b,2),p);return(-a(b)+Xu>0?-1:1)*((D-_)*H)/Y}):(a=b=>{const P=Math.exp(-b*t),w=(b-r)*t+1;return-Xu+P*w},h=b=>{const P=Math.exp(-b*t),w=(r-b)*(t*t);return P*w});const S=5/t,v=Yv(a,h,S);if(t=fo(t),isNaN(v))return{stiffness:100,damping:10,duration:t};{const b=Math.pow(v,2)*i;return{stiffness:b,damping:p*2*Math.sqrt(i*b),duration:t}}}const $v=12;function Yv(t,e,r){let i=r;for(let a=1;a<$v;a++)i=i-t(i)/e(i);return i}function sc(t,e){return t*Math.sqrt(1-e*e)}const Xv=["duration","bounce"],Zv=["stiffness","damping","mass"];function df(t,e){return e.some(r=>t[r]!==void 0)}function Qv(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!df(t,Zv)&&df(t,Xv)){const r=Gv(t);e={...e,...r,mass:1},e.isResolvedFromDuration=!0}return e}function Sh({keyframes:t,restDelta:e,restSpeed:r,...i}){const a=t[0],h=t[t.length-1],p={done:!1,value:a},{stiffness:S,damping:v,mass:b,duration:P,velocity:w,isResolvedFromDuration:D}=Qv({...i,velocity:-Ir(i.velocity||0)}),_=w||0,H=v/(2*Math.sqrt(S*b)),Y=h-a,j=Ir(Math.sqrt(S/b)),O=Math.abs(Y)<5;r||(r=O?.01:2),e||(e=O?.005:.5);let X;if(H<1){const $=sc(j,H);X=J=>{const q=Math.exp(-H*j*J);return h-q*((_+H*j*Y)/$*Math.sin($*J)+Y*Math.cos($*J))}}else if(H===1)X=$=>h-Math.exp(-j*$)*(Y+(_+j*Y)*$);else{const $=j*Math.sqrt(H*H-1);X=J=>{const q=Math.exp(-H*j*J),K=Math.min($*J,300);return h-q*((_+H*j*Y)*Math.sinh(K)+$*Y*Math.cosh(K))/$}}return{calculatedDuration:D&&P||null,next:$=>{const J=X($);if(D)p.done=$>=P;else{let q=_;$!==0&&(H<1?q=xh(X,$,J):q=0);const K=Math.abs(q)<=r,te=Math.abs(h-J)<=e;p.done=K&&te}return p.value=p.done?h:J,p}}}function hf({keyframes:t,velocity:e=0,power:r=.8,timeConstant:i=325,bounceDamping:a=10,bounceStiffness:h=500,modifyTarget:p,min:S,max:v,restDelta:b=.5,restSpeed:P}){const w=t[0],D={done:!1,value:w},_=ie=>S!==void 0&&ie<S||v!==void 0&&ie>v,H=ie=>S===void 0?v:v===void 0||Math.abs(S-ie)<Math.abs(v-ie)?S:v;let Y=r*e;const j=w+Y,O=p===void 0?j:p(j);O!==j&&(Y=O-w);const X=ie=>-Y*Math.exp(-ie/i),$=ie=>O+X(ie),J=ie=>{const se=X(ie),Pe=$(ie);D.done=Math.abs(se)<=b,D.value=D.done?O:Pe};let q,K;const te=ie=>{_(D.value)&&(q=ie,K=Sh({keyframes:[D.value,H(D.value)],velocity:xh($,ie,D.value),damping:a,stiffness:h,restDelta:b,restSpeed:P}))};return te(0),{calculatedDuration:null,next:ie=>{let se=!1;return!K&&q===void 0&&(se=!0,J(ie),te(ie)),q!==void 0&&ie>q?K.next(ie-q):(!se&&J(ie),D)}}}const Jv=t=>{const e=({timestamp:r})=>t(r);return{start:()=>Ne.update(e,!0),stop:()=>Mr(e),now:()=>xt.isProcessing?xt.timestamp:performance.now()}},pf=2e4;function mf(t){let e=0;const r=50;let i=t.next(e);for(;!i.done&&e<pf;)e+=r,i=t.next(e);return e>=pf?1/0:e}const Kv={decay:hf,inertia:hf,tween:Fl,keyframes:Fl,spring:Sh};function Ll({autoplay:t=!0,delay:e=0,driver:r=Jv,keyframes:i,type:a="keyframes",repeat:h=0,repeatDelay:p=0,repeatType:S="loop",onPlay:v,onStop:b,onComplete:P,onUpdate:w,...D}){let _=1,H=!1,Y,j;const O=()=>{j=new Promise(he=>{Y=he})};O();let X;const $=Kv[a]||Fl;let J;$!==Fl&&typeof i[0]!="number"&&(process.env.NODE_ENV!=="production"&&On(i.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${i}`),J=yh([0,100],i,{clamp:!1}),i=[0,100]);const q=$({...D,keyframes:i});let K;S==="mirror"&&(K=$({...D,keyframes:[...i].reverse(),velocity:-(D.velocity||0)}));let te="idle",ie=null,se=null,Pe=null;q.calculatedDuration===null&&h&&(q.calculatedDuration=mf(q));const{calculatedDuration:De}=q;let ye=1/0,Oe=1/0;De!==null&&(ye=De+p,Oe=ye*(h+1)-p);let Ce=0;const et=he=>{if(se===null)return;_>0&&(se=Math.min(se,he)),_<0&&(se=Math.min(he-Oe/_,se)),ie!==null?Ce=ie:Ce=Math.round(he-se)*_;const ke=Ce-e*(_>=0?1:-1),ht=_>=0?ke<0:ke>Oe;Ce=Math.max(ke,0),te==="finished"&&ie===null&&(Ce=Oe);let yt=Ce,Re=q;if(h){const Xe=Math.min(Ce,Oe)/ye;let Ke=Math.floor(Xe),Ae=Xe%1;!Ae&&Xe>=1&&(Ae=1),Ae===1&&Ke--,Ke=Math.min(Ke,h+1),!!(Ke%2)&&(S==="reverse"?(Ae=1-Ae,p&&(Ae-=p/ye)):S==="mirror"&&(Re=K)),yt=ho(0,1,Ae)*ye}const Se=ht?{done:!1,value:i[0]}:Re.next(yt);J&&(Se.value=J(Se.value));let{done:lt}=Se;!ht&&De!==null&&(lt=_>=0?Ce>=Oe:Ce<=0);const ut=ie===null&&(te==="finished"||te==="running"&&lt);return w&&w(Se.value),ut&&Ee(),Se},Fe=()=>{X&&X.stop(),X=void 0},tt=()=>{te="idle",Fe(),Y(),O(),se=Pe=null},Ee=()=>{te="finished",P&&P(),Fe(),Y()},je=()=>{if(H)return;X||(X=r(et));const he=X.now();v&&v(),ie!==null?se=he-ie:(!se||te==="finished")&&(se=he),te==="finished"&&O(),Pe=se,ie=null,te="running",X.start()};t&&je();const dt={then(he,ke){return j.then(he,ke)},get time(){return Ir(Ce)},set time(he){he=fo(he),Ce=he,ie!==null||!X||_===0?ie=he:se=X.now()-he/_},get duration(){const he=q.calculatedDuration===null?mf(q):q.calculatedDuration;return Ir(he)},get speed(){return _},set speed(he){he===_||!X||(_=he,dt.time=Ir(Ce))},get state(){return te},play:je,pause:()=>{te="paused",ie=Ce},stop:()=>{H=!0,te!=="idle"&&(te="idle",b&&b(),tt())},cancel:()=>{Pe!==null&&et(Pe),tt()},complete:()=>{te="finished"},sample:he=>(se=0,et(he))};return dt}function qv(t){let e;return()=>(e===void 0&&(e=t()),e)}const eg=qv(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tg=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Sl=10,ng=2e4,rg=(t,e)=>e.type==="spring"||t==="backgroundColor"||!Kd(e.ease);function og(t,e,{onUpdate:r,onComplete:i,...a}){if(!(eg()&&tg.has(e)&&!a.repeatDelay&&a.repeatType!=="mirror"&&a.damping!==0&&a.type!=="inertia"))return!1;let p=!1,S,v,b=!1;const P=()=>{v=new Promise($=>{S=$})};P();let{keyframes:w,duration:D=300,ease:_,times:H}=a;if(rg(e,a)){const $=Ll({...a,repeat:0,delay:0});let J={done:!1,value:w[0]};const q=[];let K=0;for(;!J.done&&K<ng;)J=$.sample(K),q.push(J.value),K+=Sl;H=void 0,w=q,D=K-Sl,_="linear"}const Y=mv(t.owner.current,e,w,{...a,duration:D,ease:_,times:H}),j=()=>{b=!1,Y.cancel()},O=()=>{b=!0,Ne.update(j),S(),P()};return Y.onfinish=()=>{b||(t.set(vv(w,a)),i&&i(),O())},{then($,J){return v.then($,J)},attachTimeline($){return Y.timeline=$,Y.onfinish=null,Je},get time(){return Ir(Y.currentTime||0)},set time($){Y.currentTime=fo($)},get speed(){return Y.playbackRate},set speed($){Y.playbackRate=$},get duration(){return Ir(D)},play:()=>{p||(Y.play(),Mr(j))},pause:()=>Y.pause(),stop:()=>{if(p=!0,Y.playState==="idle")return;const{currentTime:$}=Y;if($){const J=Ll({...a,autoplay:!1});t.setWithVelocity(J.sample($-Sl).value,J.sample($).value,Sl)}O()},complete:()=>{b||Y.finish()},cancel:O}}function ig({keyframes:t,delay:e,onUpdate:r,onComplete:i}){const a=()=>(r&&r(t[t.length-1]),i&&i(),{time:0,speed:1,duration:0,play:Je,pause:Je,stop:Je,then:h=>(h(),Promise.resolve()),cancel:Je,complete:Je});return e?Ll({keyframes:[0,1],duration:0,delay:e,onComplete:a}):a()}const ag={type:"spring",stiffness:500,damping:25,restSpeed:10},sg=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),lg={type:"keyframes",duration:.8},ug={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},cg=(t,{keyframes:e})=>e.length>2?lg:si.has(t)?t.startsWith("scale")?sg(e[1]):ag:ug,lc=(t,e)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(po.test(e)||e==="0")&&!e.startsWith("url(")),fg=new Set(["brightness","contrast","saturate","opacity"]);function dg(t){const[e,r]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[i]=r.match(Ul)||[];if(!i)return t;const a=r.replace(i,"");let h=fg.has(e)?1:0;return i!==r&&(h*=100),e+"("+h+a+")"}const hg=/([a-z-]*)\(.*?\)/g,uc={...po,getAnimatableNone:t=>{const e=t.match(hg);return e?e.map(dg).join(" "):t}},pg={..._d,color:Mt,backgroundColor:Mt,outlineColor:Mt,fill:Mt,stroke:Mt,borderColor:Mt,borderTopColor:Mt,borderRightColor:Mt,borderBottomColor:Mt,borderLeftColor:Mt,filter:uc,WebkitFilter:uc},Oc=t=>pg[t];function wh(t,e){let r=Oc(t);return r!==uc&&(r=po),r.getAnimatableNone?r.getAnimatableNone(e):void 0}const kh=t=>/^0[^.\s]+$/.test(t);function mg(t){if(typeof t=="number")return t===0;if(t!==null)return t==="none"||t==="0"||kh(t)}function vg(t,e,r,i){const a=lc(e,r);let h;Array.isArray(r)?h=[...r]:h=[null,r];const p=i.from!==void 0?i.from:t.get();let S;const v=[];for(let b=0;b<h.length;b++)h[b]===null&&(h[b]=b===0?p:h[b-1]),mg(h[b])&&v.push(b),typeof h[b]=="string"&&h[b]!=="none"&&h[b]!=="0"&&(S=h[b]);if(a&&v.length&&S)for(let b=0;b<v.length;b++){const P=v[b];h[P]=wh(e,S)}return h}function gg({when:t,delay:e,delayChildren:r,staggerChildren:i,staggerDirection:a,repeat:h,repeatType:p,repeatDelay:S,from:v,elapsed:b,...P}){return!!Object.keys(P).length}function Fc(t,e){return t[e]||t.default||t}const yg={skipAnimations:!1},Lc=(t,e,r,i={})=>a=>{const h=Fc(i,t)||{},p=h.delay||i.delay||0;let{elapsed:S=0}=i;S=S-fo(p);const v=vg(e,t,r,h),b=v[0],P=v[v.length-1],w=lc(t,b),D=lc(t,P);Es(w===D,`You are trying to animate ${t} from "${b}" to "${P}". ${b} is not an animatable value - to enable this animation set ${b} to a value animatable to ${P} via the \`style\` property.`);let _={keyframes:v,velocity:e.getVelocity(),ease:"easeOut",...h,delay:-S,onUpdate:H=>{e.set(H),h.onUpdate&&h.onUpdate(H)},onComplete:()=>{a(),h.onComplete&&h.onComplete()}};if(gg(h)||(_={..._,...cg(t,_)}),_.duration&&(_.duration=fo(_.duration)),_.repeatDelay&&(_.repeatDelay=fo(_.repeatDelay)),!w||!D||pv.current||h.type===!1||yg.skipAnimations)return ig(_);if(!i.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){const H=og(e,t,_);if(H)return H}return Ll(_)};function _l(t){return!!($t(t)&&t.add)}const Th=t=>/^\-?\d*\.?\d+$/.test(t);function _c(t,e){t.indexOf(e)===-1&&t.push(e)}function jc(t,e){const r=t.indexOf(e);r>-1&&t.splice(r,1)}class Bc{constructor(){this.subscriptions=[]}add(e){return _c(this.subscriptions,e),()=>jc(this.subscriptions,e)}notify(e,r,i){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](e,r,i);else for(let h=0;h<a;h++){const p=this.subscriptions[h];p&&p(e,r,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const vf=new Set;function Vc(t,e,r){t||vf.has(e)||(console.warn(e),r&&console.warn(r),vf.add(e))}const bg=t=>!isNaN(parseFloat(t));class xg{constructor(e,r={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(i,a=!0)=>{this.prev=this.current,this.current=i;const{delta:h,timestamp:p}=xt;this.lastUpdated!==p&&(this.timeDelta=h,this.lastUpdated=p,Ne.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),a&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Ne.postRender(this.velocityCheck),this.velocityCheck=({timestamp:i})=>{i!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=bg(this.current),this.owner=r.owner}onChange(e){return process.env.NODE_ENV!=="production"&&Vc(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,r){this.events[e]||(this.events[e]=new Bc);const i=this.events[e].add(r);return e==="change"?()=>{i(),Ne.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,r){this.passiveEffect=e,this.stopPassiveEffect=r}set(e,r=!0){!r||!this.passiveEffect?this.updateAndNotify(e,r):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,r,i){this.set(r),this.prev=e,this.timeDelta=i}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?bh(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=e(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ha(t,e){return new xg(t,e)}const Ch=t=>e=>e.test(t),Sg={test:t=>t==="auto",parse:t=>t},Eh=[li,pe,Jn,so,Am,Pm,Sg],hs=t=>Eh.find(Ch(t)),wg=[...Eh,Mt,po],kg=t=>wg.find(Ch(t));function Tg(t,e,r){t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,ha(r))}function Cg(t,e){const r=Hl(t,e);let{transitionEnd:i={},transition:a={},...h}=r?t.makeTargetAnimatable(r,!1):{};h={...h,...i};for(const p in h){const S=Hm(h[p]);Tg(t,p,S)}}function Eg(t,e,r){var i,a;const h=Object.keys(e).filter(S=>!t.hasValue(S)),p=h.length;if(p)for(let S=0;S<p;S++){const v=h[S],b=e[v];let P=null;Array.isArray(b)&&(P=b[0]),P===null&&(P=(a=(i=r[v])!==null&&i!==void 0?i:t.readValue(v))!==null&&a!==void 0?a:e[v]),P!=null&&(typeof P=="string"&&(Th(P)||kh(P))?P=parseFloat(P):!kg(P)&&po.test(b)&&(P=wh(v,b)),t.addValue(v,ha(P,{owner:t})),r[v]===void 0&&(r[v]=P),P!==null&&t.setBaseTarget(v,P))}}function Rg(t,e){return e?(e[t]||e.default||e).from:void 0}function Pg(t,e,r){const i={};for(const a in t){const h=Rg(a,e);if(h!==void 0)i[a]=h;else{const p=r.getValue(a);p&&(i[a]=p.get())}}return i}function Ag({protectedKeys:t,needsAnimating:e},r){const i=t.hasOwnProperty(r)&&e[r]!==!0;return e[r]=!1,i}function Ig(t,e){const r=t.get();if(Array.isArray(e)){for(let i=0;i<e.length;i++)if(e[i]!==r)return!0}else return r!==e}function Rh(t,e,{delay:r=0,transitionOverride:i,type:a}={}){let{transition:h=t.getDefaultTransition(),transitionEnd:p,...S}=t.makeTargetAnimatable(e);const v=t.getValue("willChange");i&&(h=i);const b=[],P=a&&t.animationState&&t.animationState.getState()[a];for(const w in S){const D=t.getValue(w),_=S[w];if(!D||_===void 0||P&&Ag(P,w))continue;const H={delay:r,elapsed:0,...Fc(h||{},w)};if(window.HandoffAppearAnimations){const O=t.getProps()[Pd];if(O){const X=window.HandoffAppearAnimations(O,w,D,Ne);X!==null&&(H.elapsed=X,H.isHandoff=!0)}}let Y=!H.isHandoff&&!Ig(D,_);if(H.type==="spring"&&(D.getVelocity()||H.velocity)&&(Y=!1),D.animation&&(Y=!1),Y)continue;D.start(Lc(w,D,_,t.shouldReduceMotion&&si.has(w)?{type:!1}:H));const j=D.animation;_l(v)&&(v.add(w),j.then(()=>v.remove(w))),b.push(j)}return p&&Promise.all(b).then(()=>{p&&Cg(t,p)}),b}function cc(t,e,r={}){const i=Hl(t,e,r.custom);let{transition:a=t.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(a=r.transitionOverride);const h=i?()=>Promise.all(Rh(t,i,r)):()=>Promise.resolve(),p=t.variantChildren&&t.variantChildren.size?(v=0)=>{const{delayChildren:b=0,staggerChildren:P,staggerDirection:w}=a;return Mg(t,e,b+v,P,w,r)}:()=>Promise.resolve(),{when:S}=a;if(S){const[v,b]=S==="beforeChildren"?[h,p]:[p,h];return v().then(()=>b())}else return Promise.all([h(),p(r.delay)])}function Mg(t,e,r=0,i=0,a=1,h){const p=[],S=(t.variantChildren.size-1)*i,v=a===1?(b=0)=>b*i:(b=0)=>S-b*i;return Array.from(t.variantChildren).sort(Dg).forEach((b,P)=>{b.notify("AnimationStart",e),p.push(cc(b,e,{...h,delay:r+v(P)}).then(()=>b.notify("AnimationComplete",e)))}),Promise.all(p)}function Dg(t,e){return t.sortNodePosition(e)}function Og(t,e,r={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){const a=e.map(h=>cc(t,h,r));i=Promise.all(a)}else if(typeof e=="string")i=cc(t,e,r);else{const a=typeof e=="function"?Hl(t,e,r.custom):e;i=Promise.all(Rh(t,a,r))}return i.then(()=>t.notify("AnimationComplete",e))}const Fg=[...Sc].reverse(),Lg=Sc.length;function _g(t){return e=>Promise.all(e.map(({animation:r,options:i})=>Og(t,r,i)))}function jg(t){let e=_g(t);const r=Vg();let i=!0;const a=(v,b)=>{const P=Hl(t,b);if(P){const{transition:w,transitionEnd:D,..._}=P;v={...v,..._,...D}}return v};function h(v){e=v(t)}function p(v,b){const P=t.getProps(),w=t.getVariantContext(!0)||{},D=[],_=new Set;let H={},Y=1/0;for(let O=0;O<Lg;O++){const X=Fg[O],$=r[X],J=P[X]!==void 0?P[X]:w[X],q=xs(J),K=X===b?$.isActive:null;K===!1&&(Y=O);let te=J===w[X]&&J!==P[X]&&q;if(te&&i&&t.manuallyAnimateOnMount&&(te=!1),$.protectedKeys={...H},!$.isActive&&K===null||!J&&!$.prevProp||zl(J)||typeof J=="boolean")continue;let se=Bg($.prevProp,J)||X===b&&$.isActive&&!te&&q||O>Y&&q,Pe=!1;const De=Array.isArray(J)?J:[J];let ye=De.reduce(a,{});K===!1&&(ye={});const{prevResolvedValues:Oe={}}=$,Ce={...Oe,...ye},et=Fe=>{se=!0,_.has(Fe)&&(Pe=!0,_.delete(Fe)),$.needsAnimating[Fe]=!0};for(const Fe in Ce){const tt=ye[Fe],Ee=Oe[Fe];if(H.hasOwnProperty(Fe))continue;let je=!1;Dl(tt)&&Dl(Ee)?je=!Qd(tt,Ee):je=tt!==Ee,je?tt!==void 0?et(Fe):_.add(Fe):tt!==void 0&&_.has(Fe)?et(Fe):$.protectedKeys[Fe]=!0}$.prevProp=J,$.prevResolvedValues=ye,$.isActive&&(H={...H,...ye}),i&&t.blockInitialAnimation&&(se=!1),se&&(!te||Pe)&&D.push(...De.map(Fe=>({animation:Fe,options:{type:X,...v}})))}if(_.size){const O={};_.forEach(X=>{const $=t.getBaseTarget(X);$!==void 0&&(O[X]=$)}),D.push({animation:O})}let j=!!D.length;return i&&(P.initial===!1||P.initial===P.animate)&&!t.manuallyAnimateOnMount&&(j=!1),i=!1,j?e(D):Promise.resolve()}function S(v,b,P){var w;if(r[v].isActive===b)return Promise.resolve();(w=t.variantChildren)===null||w===void 0||w.forEach(_=>{var H;return(H=_.animationState)===null||H===void 0?void 0:H.setActive(v,b)}),r[v].isActive=b;const D=p(P,v);for(const _ in r)r[_].protectedKeys={};return D}return{animateChanges:p,setActive:S,setAnimateFunction:h,getState:()=>r}}function Bg(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Qd(e,t):!1}function ni(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Vg(){return{animate:ni(!0),whileInView:ni(),whileHover:ni(),whileTap:ni(),whileDrag:ni(),whileFocus:ni(),exit:ni()}}class zg extends mo{constructor(e){super(e),e.animationState||(e.animationState=jg(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),zl(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:r}=this.node.prevProps||{};e!==r&&this.updateAnimationControlsSubscription()}unmount(){}}let Wg=0;class Ug extends mo{constructor(){super(...arguments),this.id=Wg++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:r,custom:i}=this.node.presenceContext,{isPresent:a}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===a)return;const h=this.node.animationState.setActive("exit",!e,{custom:i??this.node.getProps().custom});r&&!e&&h.then(()=>r(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const Ng={animation:{Feature:zg},exit:{Feature:Ug}},gf=(t,e)=>Math.abs(t-e);function Hg(t,e){const r=gf(t.x,e.x),i=gf(t.y,e.y);return Math.sqrt(r**2+i**2)}class Ph{constructor(e,r,{transformPagePoint:i,contextWindow:a,dragSnapToOrigin:h=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=Qu(this.lastMoveEventInfo,this.history),D=this.startEvent!==null,_=Hg(w.offset,{x:0,y:0})>=3;if(!D&&!_)return;const{point:H}=w,{timestamp:Y}=xt;this.history.push({...H,timestamp:Y});const{onStart:j,onMove:O}=this.handlers;D||(j&&j(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),O&&O(this.lastMoveEvent,w)},this.handlePointerMove=(w,D)=>{this.lastMoveEvent=w,this.lastMoveEventInfo=Zu(D,this.transformPagePoint),Ne.update(this.updatePoint,!0)},this.handlePointerUp=(w,D)=>{this.end();const{onEnd:_,onSessionEnd:H,resumeAnimation:Y}=this.handlers;if(this.dragSnapToOrigin&&Y&&Y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=Qu(w.type==="pointercancel"?this.lastMoveEventInfo:Zu(D,this.transformPagePoint),this.history);this.startEvent&&_&&_(w,j),H&&H(w,j)},!Gd(e))return;this.dragSnapToOrigin=h,this.handlers=r,this.transformPagePoint=i,this.contextWindow=a||window;const p=Nl(e),S=Zu(p,this.transformPagePoint),{point:v}=S,{timestamp:b}=xt;this.history=[{...v,timestamp:b}];const{onSessionStart:P}=r;P&&P(e,Qu(S,this.history)),this.removeListeners=co(Ar(this.contextWindow,"pointermove",this.handlePointerMove),Ar(this.contextWindow,"pointerup",this.handlePointerUp),Ar(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Mr(this.updatePoint)}}function Zu(t,e){return e?{point:e(t.point)}:t}function yf(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Qu({point:t},e){return{point:t,delta:yf(t,Ah(e)),offset:yf(t,Gg(e)),velocity:$g(e,.1)}}function Gg(t){return t[0]}function Ah(t){return t[t.length-1]}function $g(t,e){if(t.length<2)return{x:0,y:0};let r=t.length-1,i=null;const a=Ah(t);for(;r>=0&&(i=t[r],!(a.timestamp-i.timestamp>fo(e)));)r--;if(!i)return{x:0,y:0};const h=Ir(a.timestamp-i.timestamp);if(h===0)return{x:0,y:0};const p={x:(a.x-i.x)/h,y:(a.y-i.y)/h};return p.x===1/0&&(p.x=0),p.y===1/0&&(p.y=0),p}function tn(t){return t.max-t.min}function fc(t,e=0,r=.01){return Math.abs(t-e)<=r}function bf(t,e,r,i=.5){t.origin=i,t.originPoint=Qe(e.min,e.max,t.origin),t.scale=tn(r)/tn(e),(fc(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=Qe(r.min,r.max,t.origin)-t.originPoint,(fc(t.translate)||isNaN(t.translate))&&(t.translate=0)}function ys(t,e,r,i){bf(t.x,e.x,r.x,i?i.originX:void 0),bf(t.y,e.y,r.y,i?i.originY:void 0)}function xf(t,e,r){t.min=r.min+e.min,t.max=t.min+tn(e)}function Yg(t,e,r){xf(t.x,e.x,r.x),xf(t.y,e.y,r.y)}function Sf(t,e,r){t.min=e.min-r.min,t.max=t.min+tn(e)}function bs(t,e,r){Sf(t.x,e.x,r.x),Sf(t.y,e.y,r.y)}function Xg(t,{min:e,max:r},i){return e!==void 0&&t<e?t=i?Qe(e,t,i.min):Math.max(t,e):r!==void 0&&t>r&&(t=i?Qe(r,t,i.max):Math.min(t,r)),t}function wf(t,e,r){return{min:e!==void 0?t.min+e:void 0,max:r!==void 0?t.max+r-(t.max-t.min):void 0}}function Zg(t,{top:e,left:r,bottom:i,right:a}){return{x:wf(t.x,r,a),y:wf(t.y,e,i)}}function kf(t,e){let r=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([r,i]=[i,r]),{min:r,max:i}}function Qg(t,e){return{x:kf(t.x,e.x),y:kf(t.y,e.y)}}function Jg(t,e){let r=.5;const i=tn(t),a=tn(e);return a>i?r=ws(e.min,e.max-i,t.min):i>a&&(r=ws(t.min,t.max-a,e.min)),ho(0,1,r)}function Kg(t,e){const r={};return e.min!==void 0&&(r.min=e.min-t.min),e.max!==void 0&&(r.max=e.max-t.min),r}const dc=.35;function qg(t=dc){return t===!1?t=0:t===!0&&(t=dc),{x:Tf(t,"left","right"),y:Tf(t,"top","bottom")}}function Tf(t,e,r){return{min:Cf(t,e),max:Cf(t,r)}}function Cf(t,e){return typeof t=="number"?t:t[e]||0}const Ef=()=>({translate:0,scale:1,origin:0,originPoint:0}),fa=()=>({x:Ef(),y:Ef()}),Rf=()=>({min:0,max:0}),rt=()=>({x:Rf(),y:Rf()});function xn(t){return[t("x"),t("y")]}function Ih({top:t,left:e,right:r,bottom:i}){return{x:{min:e,max:r},y:{min:t,max:i}}}function ey({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function ty(t,e){if(!e)return t;const r=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}function Ju(t){return t===void 0||t===1}function hc({scale:t,scaleX:e,scaleY:r}){return!Ju(t)||!Ju(e)||!Ju(r)}function ri(t){return hc(t)||Mh(t)||t.z||t.rotate||t.rotateX||t.rotateY}function Mh(t){return Pf(t.x)||Pf(t.y)}function Pf(t){return t&&t!=="0%"}function jl(t,e,r){const i=t-r,a=e*i;return r+a}function Af(t,e,r,i,a){return a!==void 0&&(t=jl(t,a,i)),jl(t,r,i)+e}function pc(t,e=0,r=1,i,a){t.min=Af(t.min,e,r,i,a),t.max=Af(t.max,e,r,i,a)}function Dh(t,{x:e,y:r}){pc(t.x,e.translate,e.scale,e.originPoint),pc(t.y,r.translate,r.scale,r.originPoint)}function ny(t,e,r,i=!1){const a=r.length;if(!a)return;e.x=e.y=1;let h,p;for(let S=0;S<a;S++){h=r[S],p=h.projectionDelta;const v=h.instance;v&&v.style&&v.style.display==="contents"||(i&&h.options.layoutScroll&&h.scroll&&h!==h.root&&da(t,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),p&&(e.x*=p.x.scale,e.y*=p.y.scale,Dh(t,p)),i&&ri(h.latestValues)&&da(t,h.latestValues))}e.x=If(e.x),e.y=If(e.y)}function If(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function lo(t,e){t.min=t.min+e,t.max=t.max+e}function Mf(t,e,[r,i,a]){const h=e[a]!==void 0?e[a]:.5,p=Qe(t.min,t.max,h);pc(t,e[r],e[i],p,e.scale)}const ry=["x","scaleX","originX"],oy=["y","scaleY","originY"];function da(t,e){Mf(t.x,e,ry),Mf(t.y,e,oy)}function Oh(t,e){return Ih(ty(t.getBoundingClientRect(),e))}function iy(t,e,r){const i=Oh(t,r),{scroll:a}=e;return a&&(lo(i.x,a.offset.x),lo(i.y,a.offset.y)),i}const Fh=({current:t})=>t?t.ownerDocument.defaultView:null,ay=new WeakMap;class sy{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rt(),this.visualElement=e}start(e,{snapToCursor:r=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const a=P=>{const{dragSnapToOrigin:w}=this.getProps();w?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(Nl(P,"page").point)},h=(P,w)=>{const{drag:D,dragPropagation:_,onDragStart:H}=this.getProps();if(D&&!_&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Yd(D),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),xn(j=>{let O=this.getAxisMotionValue(j).get()||0;if(Jn.test(O)){const{projection:X}=this.visualElement;if(X&&X.layout){const $=X.layout.layoutBox[j];$&&(O=tn($)*(parseFloat(O)/100))}}this.originPoint[j]=O}),H&&Ne.update(()=>H(P,w),!1,!0);const{animationState:Y}=this.visualElement;Y&&Y.setActive("whileDrag",!0)},p=(P,w)=>{const{dragPropagation:D,dragDirectionLock:_,onDirectionLock:H,onDrag:Y}=this.getProps();if(!D&&!this.openGlobalLock)return;const{offset:j}=w;if(_&&this.currentDirection===null){this.currentDirection=ly(j),this.currentDirection!==null&&H&&H(this.currentDirection);return}this.updateAxis("x",w.point,j),this.updateAxis("y",w.point,j),this.visualElement.render(),Y&&Y(P,w)},S=(P,w)=>this.stop(P,w),v=()=>xn(P=>{var w;return this.getAnimationState(P)==="paused"&&((w=this.getAxisMotionValue(P).animation)===null||w===void 0?void 0:w.play())}),{dragSnapToOrigin:b}=this.getProps();this.panSession=new Ph(e,{onSessionStart:a,onStart:h,onMove:p,onSessionEnd:S,resumeAnimation:v},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:b,contextWindow:Fh(this.visualElement)})}stop(e,r){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:a}=r;this.startAnimation(a);const{onDragEnd:h}=this.getProps();h&&Ne.update(()=>h(e,r))}cancel(){this.isDragging=!1;const{projection:e,animationState:r}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(e,r,i){const{drag:a}=this.getProps();if(!i||!wl(e,a,this.currentDirection))return;const h=this.getAxisMotionValue(e);let p=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(p=Xg(p,this.constraints[e],this.elastic[e])),h.set(p)}resolveConstraints(){var e;const{dragConstraints:r,dragElastic:i}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,h=this.constraints;r&&ua(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&a?this.constraints=Zg(a.layoutBox,r):this.constraints=!1,this.elastic=qg(i),h!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&xn(p=>{this.getAxisMotionValue(p)&&(this.constraints[p]=Kg(a.layoutBox[p],this.constraints[p]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:r}=this.getProps();if(!e||!ua(e))return!1;const i=e.current;On(i!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const h=iy(i,a.root,this.visualElement.getTransformPagePoint());let p=Qg(a.layout.layoutBox,h);if(r){const S=r(ey(p));this.hasMutatedConstraints=!!S,S&&(p=Ih(S))}return p}startAnimation(e){const{drag:r,dragMomentum:i,dragElastic:a,dragTransition:h,dragSnapToOrigin:p,onDragTransitionEnd:S}=this.getProps(),v=this.constraints||{},b=xn(P=>{if(!wl(P,r,this.currentDirection))return;let w=v&&v[P]||{};p&&(w={min:0,max:0});const D=a?200:1e6,_=a?40:1e7,H={type:"inertia",velocity:i?e[P]:0,bounceStiffness:D,bounceDamping:_,timeConstant:750,restDelta:1,restSpeed:10,...h,...w};return this.startAxisValueAnimation(P,H)});return Promise.all(b).then(S)}startAxisValueAnimation(e,r){const i=this.getAxisMotionValue(e);return i.start(Lc(e,i,0,r))}stopAnimation(){xn(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){xn(e=>{var r;return(r=this.getAxisMotionValue(e).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(e){var r;return(r=this.getAxisMotionValue(e).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(e){const r="_drag"+e.toUpperCase(),i=this.visualElement.getProps(),a=i[r];return a||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){xn(r=>{const{drag:i}=this.getProps();if(!wl(r,i,this.currentDirection))return;const{projection:a}=this.visualElement,h=this.getAxisMotionValue(r);if(a&&a.layout){const{min:p,max:S}=a.layout.layoutBox[r];h.set(e[r]-Qe(p,S,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!ua(r)||!i||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};xn(p=>{const S=this.getAxisMotionValue(p);if(S){const v=S.get();a[p]=Jg({min:v,max:v},this.constraints[p])}});const{transformTemplate:h}=this.visualElement.getProps();this.visualElement.current.style.transform=h?h({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),xn(p=>{if(!wl(p,e,null))return;const S=this.getAxisMotionValue(p),{min:v,max:b}=this.constraints[p];S.set(Qe(v,b,a[p]))})}addListeners(){if(!this.visualElement.current)return;ay.set(this.visualElement,this);const e=this.visualElement.current,r=Ar(e,"pointerdown",v=>{const{drag:b,dragListener:P=!0}=this.getProps();b&&P&&this.start(v)}),i=()=>{const{dragConstraints:v}=this.getProps();ua(v)&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,h=a.addEventListener("measure",i);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),i();const p=Pr(window,"resize",()=>this.scalePositionWithinConstraints()),S=a.addEventListener("didUpdate",({delta:v,hasLayoutChanged:b})=>{this.isDragging&&b&&(xn(P=>{const w=this.getAxisMotionValue(P);w&&(this.originPoint[P]+=v[P].translate,w.set(w.get()+v[P].translate))}),this.visualElement.render())});return()=>{p(),r(),h(),S&&S()}}getProps(){const e=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:i=!1,dragPropagation:a=!1,dragConstraints:h=!1,dragElastic:p=dc,dragMomentum:S=!0}=e;return{...e,drag:r,dragDirectionLock:i,dragPropagation:a,dragConstraints:h,dragElastic:p,dragMomentum:S}}}function wl(t,e,r){return(e===!0||e===t)&&(r===null||r===t)}function ly(t,e=10){let r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}class uy extends mo{constructor(e){super(e),this.removeGroupControls=Je,this.removeListeners=Je,this.controls=new sy(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Je}unmount(){this.removeGroupControls(),this.removeListeners()}}const Df=t=>(e,r)=>{t&&Ne.update(()=>t(e,r))};class cy extends mo{constructor(){super(...arguments),this.removePointerDownListener=Je}onPointerDown(e){this.session=new Ph(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Fh(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:r,onPan:i,onPanEnd:a}=this.node.getProps();return{onSessionStart:Df(e),onStart:Df(r),onMove:i,onEnd:(h,p)=>{delete this.session,a&&Ne.update(()=>a(h,p))}}}mount(){this.removePointerDownListener=Ar(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function fy(){const t=oe.useContext(bc);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:r,register:i}=t,a=oe.useId();return oe.useEffect(()=>i(a),[]),!e&&r?[!1,()=>r&&r(a)]:[!0]}const Rl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Of(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const ps={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(pe.test(t))t=parseFloat(t);else return t;const r=Of(t,e.target.x),i=Of(t,e.target.y);return`${r}% ${i}%`}},dy={correct:(t,{treeScale:e,projectionDelta:r})=>{const i=t,a=po.parse(t);if(a.length>5)return i;const h=po.createTransformer(t),p=typeof a[0]!="number"?1:0,S=r.x.scale*e.x,v=r.y.scale*e.y;a[0+p]/=S,a[1+p]/=v;const b=Qe(S,v,.5);return typeof a[2+p]=="number"&&(a[2+p]/=b),typeof a[3+p]=="number"&&(a[3+p]/=b),h(a)}};class hy extends oe.Component{componentDidMount(){const{visualElement:e,layoutGroup:r,switchLayoutGroup:i,layoutId:a}=this.props,{projection:h}=e;Sm(py),h&&(r.group&&r.group.add(h),i&&i.register&&a&&i.register(h),h.root.didUpdate(),h.addEventListener("animationComplete",()=>{this.safeToRemove()}),h.setOptions({...h.options,onExitComplete:()=>this.safeToRemove()})),Rl.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:r,visualElement:i,drag:a,isPresent:h}=this.props,p=i.projection;return p&&(p.isPresent=h,a||e.layoutDependency!==r||r===void 0?p.willUpdate():this.safeToRemove(),e.isPresent!==h&&(h?p.promote():p.relegate()||Ne.postRender(()=>{const S=p.getStack();(!S||!S.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:r,switchLayoutGroup:i}=this.props,{projection:a}=e;a&&(a.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(a),i&&i.deregister&&i.deregister(a))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Lh(t){const[e,r]=fy(),i=oe.useContext(Id);return oe.createElement(hy,{...t,layoutGroup:i,switchLayoutGroup:oe.useContext(Md),isPresent:e,safeToRemove:r})}const py={borderRadius:{...ps,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ps,borderTopRightRadius:ps,borderBottomLeftRadius:ps,borderBottomRightRadius:ps,boxShadow:dy},_h=["TopLeft","TopRight","BottomLeft","BottomRight"],my=_h.length,Ff=t=>typeof t=="string"?parseFloat(t):t,Lf=t=>typeof t=="number"||pe.test(t);function vy(t,e,r,i,a,h){a?(t.opacity=Qe(0,r.opacity!==void 0?r.opacity:1,gy(i)),t.opacityExit=Qe(e.opacity!==void 0?e.opacity:1,0,yy(i))):h&&(t.opacity=Qe(e.opacity!==void 0?e.opacity:1,r.opacity!==void 0?r.opacity:1,i));for(let p=0;p<my;p++){const S=`border${_h[p]}Radius`;let v=_f(e,S),b=_f(r,S);if(v===void 0&&b===void 0)continue;v||(v=0),b||(b=0),v===0||b===0||Lf(v)===Lf(b)?(t[S]=Math.max(Qe(Ff(v),Ff(b),i),0),(Jn.test(b)||Jn.test(v))&&(t[S]+="%")):t[S]=b}(e.rotate||r.rotate)&&(t.rotate=Qe(e.rotate||0,r.rotate||0,i))}function _f(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const gy=jh(0,.5,ih),yy=jh(.5,.95,Je);function jh(t,e,r){return i=>i<t?0:i>e?1:r(ws(t,e,i))}function jf(t,e){t.min=e.min,t.max=e.max}function bn(t,e){jf(t.x,e.x),jf(t.y,e.y)}function Bf(t,e,r,i,a){return t-=e,t=jl(t,1/r,i),a!==void 0&&(t=jl(t,1/a,i)),t}function by(t,e=0,r=1,i=.5,a,h=t,p=t){if(Jn.test(e)&&(e=parseFloat(e),e=Qe(p.min,p.max,e/100)-p.min),typeof e!="number")return;let S=Qe(h.min,h.max,i);t===h&&(S-=e),t.min=Bf(t.min,e,r,S,a),t.max=Bf(t.max,e,r,S,a)}function Vf(t,e,[r,i,a],h,p){by(t,e[r],e[i],e[a],e.scale,h,p)}const xy=["x","scaleX","originX"],Sy=["y","scaleY","originY"];function zf(t,e,r,i){Vf(t.x,e,xy,r?r.x:void 0,i?i.x:void 0),Vf(t.y,e,Sy,r?r.y:void 0,i?i.y:void 0)}function Wf(t){return t.translate===0&&t.scale===1}function Bh(t){return Wf(t.x)&&Wf(t.y)}function wy(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function Vh(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function Uf(t){return tn(t.x)/tn(t.y)}class ky{constructor(){this.members=[]}add(e){_c(this.members,e),e.scheduleRender()}remove(e){if(jc(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(e){const r=this.members.findIndex(a=>e===a);if(r===0)return!1;let i;for(let a=r;a>=0;a--){const h=this.members[a];if(h.isPresent!==!1){i=h;break}}return i?(this.promote(i),!0):!1}promote(e,r){const i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,r&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:a}=e.options;a===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:r,resumingFrom:i}=e;r.onExitComplete&&r.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Nf(t,e,r){let i="";const a=t.x.translate/e.x,h=t.y.translate/e.y;if((a||h)&&(i=`translate3d(${a}px, ${h}px, 0) `),(e.x!==1||e.y!==1)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),r){const{rotate:v,rotateX:b,rotateY:P}=r;v&&(i+=`rotate(${v}deg) `),b&&(i+=`rotateX(${b}deg) `),P&&(i+=`rotateY(${P}deg) `)}const p=t.x.scale*e.x,S=t.y.scale*e.y;return(p!==1||S!==1)&&(i+=`scale(${p}, ${S})`),i||"none"}const Ty=(t,e)=>t.depth-e.depth;class Cy{constructor(){this.children=[],this.isDirty=!1}add(e){_c(this.children,e),this.isDirty=!0}remove(e){jc(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ty),this.isDirty=!1,this.children.forEach(e)}}function Ey(t,e){const r=performance.now(),i=({timestamp:a})=>{const h=a-r;h>=e&&(Mr(i),t(h-e))};return Ne.read(i,!0),()=>Mr(i)}function Ry(t){window.MotionDebug&&window.MotionDebug.record(t)}function Py(t){return t instanceof SVGElement&&t.tagName!=="svg"}function Ay(t,e,r){const i=$t(t)?t:ha(t);return i.start(Lc("",i,e,r)),i.animation}const Hf=["","X","Y","Z"],Iy={visibility:"hidden"},Gf=1e3;let My=0;const oi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function zh({attachResizeListener:t,defaultParent:e,measureScroll:r,checkIsScrollRoot:i,resetTransform:a}){return class{constructor(p={},S=e==null?void 0:e()){this.id=My++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,oi.totalNodes=oi.resolvedTargetDeltas=oi.recalculatedProjection=0,this.nodes.forEach(Fy),this.nodes.forEach(Vy),this.nodes.forEach(zy),this.nodes.forEach(Ly),Ry(oi)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=p,this.root=S?S.root||S:this,this.path=S?[...S.path,S]:[],this.parent=S,this.depth=S?S.depth+1:0;for(let v=0;v<this.path.length;v++)this.path[v].shouldResetTransform=!0;this.root===this&&(this.nodes=new Cy)}addEventListener(p,S){return this.eventHandlers.has(p)||this.eventHandlers.set(p,new Bc),this.eventHandlers.get(p).add(S)}notifyListeners(p,...S){const v=this.eventHandlers.get(p);v&&v.notify(...S)}hasListeners(p){return this.eventHandlers.has(p)}mount(p,S=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Py(p),this.instance=p;const{layoutId:v,layout:b,visualElement:P}=this.options;if(P&&!P.current&&P.mount(p),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),S&&(b||v)&&(this.isLayoutDirty=!0),t){let w;const D=()=>this.root.updateBlockedByResize=!1;t(p,()=>{this.root.updateBlockedByResize=!0,w&&w(),w=Ey(D,250),Rl.hasAnimatedSinceResize&&(Rl.hasAnimatedSinceResize=!1,this.nodes.forEach(Yf))})}v&&this.root.registerSharedNode(v,this),this.options.animate!==!1&&P&&(v||b)&&this.addEventListener("didUpdate",({delta:w,hasLayoutChanged:D,hasRelativeTargetChanged:_,layout:H})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const Y=this.options.transition||P.getDefaultTransition()||Gy,{onLayoutAnimationStart:j,onLayoutAnimationComplete:O}=P.getProps(),X=!this.targetLayout||!Vh(this.targetLayout,H)||_,$=!D&&_;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||$||D&&(X||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(w,$);const J={...Fc(Y,"layout"),onPlay:j,onComplete:O};(P.shouldReduceMotion||this.options.layoutRoot)&&(J.delay=0,J.type=!1),this.startAnimation(J)}else D||Yf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=H})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const p=this.getStack();p&&p.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Mr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Wy),this.animationId++)}getTransformTemplate(){const{visualElement:p}=this.options;return p&&p.getProps().transformTemplate}willUpdate(p=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let P=0;P<this.path.length;P++){const w=this.path[P];w.shouldResetTransform=!0,w.updateScroll("snapshot"),w.options.layoutRoot&&w.willUpdate(!1)}const{layoutId:S,layout:v}=this.options;if(S===void 0&&!v)return;const b=this.getTransformTemplate();this.prevTransformTemplateValue=b?b(this.latestValues,""):void 0,this.updateSnapshot(),p&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach($f);return}this.isUpdating||this.nodes.forEach(jy),this.isUpdating=!1,this.nodes.forEach(By),this.nodes.forEach(Dy),this.nodes.forEach(Oy),this.clearAllSnapshots();const S=performance.now();xt.delta=ho(0,1e3/60,S-xt.timestamp),xt.timestamp=S,xt.isProcessing=!0,Wu.update.process(xt),Wu.preRender.process(xt),Wu.render.process(xt),xt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(_y),this.sharedNodes.forEach(Uy)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ne.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ne.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let v=0;v<this.path.length;v++)this.path[v].updateScroll();const p=this.layout;this.layout=this.measure(!1),this.layoutCorrected=rt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:S}=this.options;S&&S.notify("LayoutMeasure",this.layout.layoutBox,p?p.layoutBox:void 0)}updateScroll(p="measure"){let S=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===p&&(S=!1),S&&(this.scroll={animationId:this.root.animationId,phase:p,isRoot:i(this.instance),offset:r(this.instance)})}resetTransform(){if(!a)return;const p=this.isLayoutDirty||this.shouldResetTransform,S=this.projectionDelta&&!Bh(this.projectionDelta),v=this.getTransformTemplate(),b=v?v(this.latestValues,""):void 0,P=b!==this.prevTransformTemplateValue;p&&(S||ri(this.latestValues)||P)&&(a(this.instance,b),this.shouldResetTransform=!1,this.scheduleRender())}measure(p=!0){const S=this.measurePageBox();let v=this.removeElementScroll(S);return p&&(v=this.removeTransform(v)),$y(v),{animationId:this.root.animationId,measuredBox:S,layoutBox:v,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:p}=this.options;if(!p)return rt();const S=p.measureViewportBox(),{scroll:v}=this.root;return v&&(lo(S.x,v.offset.x),lo(S.y,v.offset.y)),S}removeElementScroll(p){const S=rt();bn(S,p);for(let v=0;v<this.path.length;v++){const b=this.path[v],{scroll:P,options:w}=b;if(b!==this.root&&P&&w.layoutScroll){if(P.isRoot){bn(S,p);const{scroll:D}=this.root;D&&(lo(S.x,-D.offset.x),lo(S.y,-D.offset.y))}lo(S.x,P.offset.x),lo(S.y,P.offset.y)}}return S}applyTransform(p,S=!1){const v=rt();bn(v,p);for(let b=0;b<this.path.length;b++){const P=this.path[b];!S&&P.options.layoutScroll&&P.scroll&&P!==P.root&&da(v,{x:-P.scroll.offset.x,y:-P.scroll.offset.y}),ri(P.latestValues)&&da(v,P.latestValues)}return ri(this.latestValues)&&da(v,this.latestValues),v}removeTransform(p){const S=rt();bn(S,p);for(let v=0;v<this.path.length;v++){const b=this.path[v];if(!b.instance||!ri(b.latestValues))continue;hc(b.latestValues)&&b.updateSnapshot();const P=rt(),w=b.measurePageBox();bn(P,w),zf(S,b.latestValues,b.snapshot?b.snapshot.layoutBox:void 0,P)}return ri(this.latestValues)&&zf(S,this.latestValues),S}setTargetDelta(p){this.targetDelta=p,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(p){this.options={...this.options,...p,crossfade:p.crossfade!==void 0?p.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==xt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(p=!1){var S;const v=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=v.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=v.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=v.isSharedProjectionDirty);const b=!!this.resumingFrom||this!==v;if(!(p||b&&this.isSharedProjectionDirty||this.isProjectionDirty||!((S=this.parent)===null||S===void 0)&&S.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:w,layoutId:D}=this.options;if(!(!this.layout||!(w||D))){if(this.resolvedRelativeTargetAt=xt.timestamp,!this.targetDelta&&!this.relativeTarget){const _=this.getClosestProjectingParent();_&&_.layout&&this.animationProgress!==1?(this.relativeParent=_,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rt(),this.relativeTargetOrigin=rt(),bs(this.relativeTargetOrigin,this.layout.layoutBox,_.layout.layoutBox),bn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=rt(),this.targetWithTransforms=rt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Yg(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):bn(this.target,this.layout.layoutBox),Dh(this.target,this.targetDelta)):bn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const _=this.getClosestProjectingParent();_&&!!_.resumingFrom==!!this.resumingFrom&&!_.options.layoutScroll&&_.target&&this.animationProgress!==1?(this.relativeParent=_,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rt(),this.relativeTargetOrigin=rt(),bs(this.relativeTargetOrigin,this.target,_.target),bn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}oi.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||hc(this.parent.latestValues)||Mh(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var p;const S=this.getLead(),v=!!this.resumingFrom||this!==S;let b=!0;if((this.isProjectionDirty||!((p=this.parent)===null||p===void 0)&&p.isProjectionDirty)&&(b=!1),v&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(b=!1),this.resolvedRelativeTargetAt===xt.timestamp&&(b=!1),b)return;const{layout:P,layoutId:w}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(P||w))return;bn(this.layoutCorrected,this.layout.layoutBox);const D=this.treeScale.x,_=this.treeScale.y;ny(this.layoutCorrected,this.treeScale,this.path,v),S.layout&&!S.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(S.target=S.layout.layoutBox);const{target:H}=S;if(!H){this.projectionTransform&&(this.projectionDelta=fa(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=fa(),this.projectionDeltaWithTransform=fa());const Y=this.projectionTransform;ys(this.projectionDelta,this.layoutCorrected,H,this.latestValues),this.projectionTransform=Nf(this.projectionDelta,this.treeScale),(this.projectionTransform!==Y||this.treeScale.x!==D||this.treeScale.y!==_)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",H)),oi.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(p=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),p){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(p,S=!1){const v=this.snapshot,b=v?v.latestValues:{},P={...this.latestValues},w=fa();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!S;const D=rt(),_=v?v.source:void 0,H=this.layout?this.layout.source:void 0,Y=_!==H,j=this.getStack(),O=!j||j.members.length<=1,X=!!(Y&&!O&&this.options.crossfade===!0&&!this.path.some(Hy));this.animationProgress=0;let $;this.mixTargetDelta=J=>{const q=J/1e3;Xf(w.x,p.x,q),Xf(w.y,p.y,q),this.setTargetDelta(w),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(bs(D,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Ny(this.relativeTarget,this.relativeTargetOrigin,D,q),$&&wy(this.relativeTarget,$)&&(this.isProjectionDirty=!1),$||($=rt()),bn($,this.relativeTarget)),Y&&(this.animationValues=P,vy(P,b,this.latestValues,q,X,O)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=q},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(p){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Mr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ne.update(()=>{Rl.hasAnimatedSinceResize=!0,this.currentAnimation=Ay(0,Gf,{...p,onUpdate:S=>{this.mixTargetDelta(S),p.onUpdate&&p.onUpdate(S)},onComplete:()=>{p.onComplete&&p.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const p=this.getStack();p&&p.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Gf),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const p=this.getLead();let{targetWithTransforms:S,target:v,layout:b,latestValues:P}=p;if(!(!S||!v||!b)){if(this!==p&&this.layout&&b&&Wh(this.options.animationType,this.layout.layoutBox,b.layoutBox)){v=this.target||rt();const w=tn(this.layout.layoutBox.x);v.x.min=p.target.x.min,v.x.max=v.x.min+w;const D=tn(this.layout.layoutBox.y);v.y.min=p.target.y.min,v.y.max=v.y.min+D}bn(S,v),da(S,P),ys(this.projectionDeltaWithTransform,this.layoutCorrected,S,P)}}registerSharedNode(p,S){this.sharedNodes.has(p)||this.sharedNodes.set(p,new ky),this.sharedNodes.get(p).add(S);const b=S.options.initialPromotionConfig;S.promote({transition:b?b.transition:void 0,preserveFollowOpacity:b&&b.shouldPreserveFollowOpacity?b.shouldPreserveFollowOpacity(S):void 0})}isLead(){const p=this.getStack();return p?p.lead===this:!0}getLead(){var p;const{layoutId:S}=this.options;return S?((p=this.getStack())===null||p===void 0?void 0:p.lead)||this:this}getPrevLead(){var p;const{layoutId:S}=this.options;return S?(p=this.getStack())===null||p===void 0?void 0:p.prevLead:void 0}getStack(){const{layoutId:p}=this.options;if(p)return this.root.sharedNodes.get(p)}promote({needsReset:p,transition:S,preserveFollowOpacity:v}={}){const b=this.getStack();b&&b.promote(this,v),p&&(this.projectionDelta=void 0,this.needsReset=!0),S&&this.setOptions({transition:S})}relegate(){const p=this.getStack();return p?p.relegate(this):!1}resetRotation(){const{visualElement:p}=this.options;if(!p)return;let S=!1;const{latestValues:v}=p;if((v.rotate||v.rotateX||v.rotateY||v.rotateZ)&&(S=!0),!S)return;const b={};for(let P=0;P<Hf.length;P++){const w="rotate"+Hf[P];v[w]&&(b[w]=v[w],p.setStaticValue(w,0))}p.render();for(const P in b)p.setStaticValue(P,b[P]);p.scheduleRender()}getProjectionStyles(p){var S,v;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Iy;const b={visibility:""},P=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,b.opacity="",b.pointerEvents=El(p==null?void 0:p.pointerEvents)||"",b.transform=P?P(this.latestValues,""):"none",b;const w=this.getLead();if(!this.projectionDelta||!this.layout||!w.target){const Y={};return this.options.layoutId&&(Y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,Y.pointerEvents=El(p==null?void 0:p.pointerEvents)||""),this.hasProjected&&!ri(this.latestValues)&&(Y.transform=P?P({},""):"none",this.hasProjected=!1),Y}const D=w.animationValues||w.latestValues;this.applyTransformsToTarget(),b.transform=Nf(this.projectionDeltaWithTransform,this.treeScale,D),P&&(b.transform=P(D,b.transform));const{x:_,y:H}=this.projectionDelta;b.transformOrigin=`${_.origin*100}% ${H.origin*100}% 0`,w.animationValues?b.opacity=w===this?(v=(S=D.opacity)!==null&&S!==void 0?S:this.latestValues.opacity)!==null&&v!==void 0?v:1:this.preserveOpacity?this.latestValues.opacity:D.opacityExit:b.opacity=w===this?D.opacity!==void 0?D.opacity:"":D.opacityExit!==void 0?D.opacityExit:0;for(const Y in Il){if(D[Y]===void 0)continue;const{correct:j,applyTo:O}=Il[Y],X=b.transform==="none"?D[Y]:j(D[Y],w);if(O){const $=O.length;for(let J=0;J<$;J++)b[O[J]]=X}else b[Y]=X}return this.options.layoutId&&(b.pointerEvents=w===this?El(p==null?void 0:p.pointerEvents)||"":"none"),b}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(p=>{var S;return(S=p.currentAnimation)===null||S===void 0?void 0:S.stop()}),this.root.nodes.forEach($f),this.root.sharedNodes.clear()}}}function Dy(t){t.updateLayout()}function Oy(t){var e;const r=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:a}=t.layout,{animationType:h}=t.options,p=r.source!==t.layout.source;h==="size"?xn(w=>{const D=p?r.measuredBox[w]:r.layoutBox[w],_=tn(D);D.min=i[w].min,D.max=D.min+_}):Wh(h,r.layoutBox,i)&&xn(w=>{const D=p?r.measuredBox[w]:r.layoutBox[w],_=tn(i[w]);D.max=D.min+_,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[w].max=t.relativeTarget[w].min+_)});const S=fa();ys(S,i,r.layoutBox);const v=fa();p?ys(v,t.applyTransform(a,!0),r.measuredBox):ys(v,i,r.layoutBox);const b=!Bh(S);let P=!1;if(!t.resumeFrom){const w=t.getClosestProjectingParent();if(w&&!w.resumeFrom){const{snapshot:D,layout:_}=w;if(D&&_){const H=rt();bs(H,r.layoutBox,D.layoutBox);const Y=rt();bs(Y,i,_.layoutBox),Vh(H,Y)||(P=!0),w.options.layoutRoot&&(t.relativeTarget=Y,t.relativeTargetOrigin=H,t.relativeParent=w)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:r,delta:v,layoutDelta:S,hasLayoutChanged:b,hasRelativeTargetChanged:P})}else if(t.isLead()){const{onExitComplete:i}=t.options;i&&i()}t.options.transition=void 0}function Fy(t){oi.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Ly(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function _y(t){t.clearSnapshot()}function $f(t){t.clearMeasurements()}function jy(t){t.isLayoutDirty=!1}function By(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Yf(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Vy(t){t.resolveTargetDelta()}function zy(t){t.calcProjection()}function Wy(t){t.resetRotation()}function Uy(t){t.removeLeadSnapshot()}function Xf(t,e,r){t.translate=Qe(e.translate,0,r),t.scale=Qe(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function Zf(t,e,r,i){t.min=Qe(e.min,r.min,i),t.max=Qe(e.max,r.max,i)}function Ny(t,e,r,i){Zf(t.x,e.x,r.x,i),Zf(t.y,e.y,r.y,i)}function Hy(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Gy={duration:.45,ease:[.4,0,.1,1]},Qf=t=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(t),Jf=Qf("applewebkit/")&&!Qf("chrome/")?Math.round:Je;function Kf(t){t.min=Jf(t.min),t.max=Jf(t.max)}function $y(t){Kf(t.x),Kf(t.y)}function Wh(t,e,r){return t==="position"||t==="preserve-aspect"&&!fc(Uf(e),Uf(r),.2)}const Yy=zh({attachResizeListener:(t,e)=>Pr(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ku={current:void 0},Uh=zh({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Ku.current){const t=new Yy({});t.mount(window),t.setOptions({layoutScroll:!0}),Ku.current=t}return Ku.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Xy={pan:{Feature:cy},drag:{Feature:uy,ProjectionNode:Uh,MeasureLayout:Lh}},Zy=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Qy(t){const e=Zy.exec(t);if(!e)return[,];const[,r,i]=e;return[r,i]}const Jy=4;function mc(t,e,r=1){On(r<=Jy,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[i,a]=Qy(t);if(!i)return;const h=window.getComputedStyle(e).getPropertyValue(i);if(h){const p=h.trim();return Th(p)?parseFloat(p):p}else return oc(a)?mc(a,e,r+1):a}function Ky(t,{...e},r){const i=t.current;if(!(i instanceof Element))return{target:e,transitionEnd:r};r&&(r={...r}),t.values.forEach(a=>{const h=a.get();if(!oc(h))return;const p=mc(h,i);p&&a.set(p)});for(const a in e){const h=e[a];if(!oc(h))continue;const p=mc(h,i);p&&(e[a]=p,r||(r={}),r[a]===void 0&&(r[a]=h))}return{target:e,transitionEnd:r}}const qy=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Nh=t=>qy.has(t),eb=t=>Object.keys(t).some(Nh),kl=t=>t===li||t===pe,qf=(t,e)=>parseFloat(t.split(", ")[e]),ed=(t,e)=>(r,{transform:i})=>{if(i==="none"||!i)return 0;const a=i.match(/^matrix3d\((.+)\)$/);if(a)return qf(a[1],e);{const h=i.match(/^matrix\((.+)\)$/);return h?qf(h[1],t):0}},tb=new Set(["x","y","z"]),nb=ks.filter(t=>!tb.has(t));function rb(t){const e=[];return nb.forEach(r=>{const i=t.getValue(r);i!==void 0&&(e.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),e.length&&t.render(),e}const pa={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:ed(4,13),y:ed(5,14)};pa.translateX=pa.x;pa.translateY=pa.y;const ob=(t,e,r)=>{const i=e.measureViewportBox(),a=e.current,h=getComputedStyle(a),{display:p}=h,S={};p==="none"&&e.setStaticValue("display",t.display||"block"),r.forEach(b=>{S[b]=pa[b](i,h)}),e.render();const v=e.measureViewportBox();return r.forEach(b=>{const P=e.getValue(b);P&&P.jump(S[b]),t[b]=pa[b](v,h)}),t},ib=(t,e,r={},i={})=>{e={...e},i={...i};const a=Object.keys(e).filter(Nh);let h=[],p=!1;const S=[];if(a.forEach(v=>{const b=t.getValue(v);if(!t.hasValue(v))return;let P=r[v],w=hs(P);const D=e[v];let _;if(Dl(D)){const H=D.length,Y=D[0]===null?1:0;P=D[Y],w=hs(P);for(let j=Y;j<H&&D[j]!==null;j++)_?On(hs(D[j])===_,"All keyframes must be of the same type"):(_=hs(D[j]),On(_===w||kl(w)&&kl(_),"Keyframes must be of the same dimension as the current value"))}else _=hs(D);if(w!==_)if(kl(w)&&kl(_)){const H=b.get();typeof H=="string"&&b.set(parseFloat(H)),typeof D=="string"?e[v]=parseFloat(D):Array.isArray(D)&&_===pe&&(e[v]=D.map(parseFloat))}else w!=null&&w.transform&&(_!=null&&_.transform)&&(P===0||D===0)?P===0?b.set(_.transform(P)):e[v]=w.transform(D):(p||(h=rb(t),p=!0),S.push(v),i[v]=i[v]!==void 0?i[v]:e[v],b.jump(D))}),S.length){const v=S.indexOf("height")>=0?window.pageYOffset:null,b=ob(e,t,S);return h.length&&h.forEach(([P,w])=>{t.getValue(P).set(w)}),t.render(),Vl&&v!==null&&window.scrollTo({top:v}),{target:b,transitionEnd:i}}else return{target:e,transitionEnd:i}};function ab(t,e,r,i){return eb(e)?ib(t,e,r,i):{target:e,transitionEnd:i}}const sb=(t,e,r,i)=>{const a=Ky(t,e,i);return e=a.target,i=a.transitionEnd,ab(t,e,r,i)},vc={current:null},Hh={current:!1};function lb(){if(Hh.current=!0,!!Vl)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>vc.current=t.matches;t.addListener(e),e()}else vc.current=!1}function ub(t,e,r){const{willChange:i}=e;for(const a in e){const h=e[a],p=r[a];if($t(h))t.addValue(a,h),_l(i)&&i.add(a),process.env.NODE_ENV==="development"&&Vc(h.version==="10.18.0",`Attempting to mix Framer Motion versions ${h.version} with 10.18.0 may not work as expected.`);else if($t(p))t.addValue(a,ha(h,{owner:t})),_l(i)&&i.remove(a);else if(p!==h)if(t.hasValue(a)){const S=t.getValue(a);!S.hasAnimated&&S.set(h)}else{const S=t.getStaticValue(a);t.addValue(a,ha(S!==void 0?S:h,{owner:t}))}}for(const a in r)e[a]===void 0&&t.removeValue(a);return e}const td=new WeakMap,Gh=Object.keys(Ss),cb=Gh.length,nd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],fb=wc.length;class db{constructor({parent:e,props:r,presenceContext:i,reducedMotionConfig:a,visualState:h},p={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Ne.render(this.render,!1,!0);const{latestValues:S,renderState:v}=h;this.latestValues=S,this.baseTarget={...S},this.initialValues=r.initial?{...S}:{},this.renderState=v,this.parent=e,this.props=r,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=a,this.options=p,this.isControllingVariants=Wl(r),this.isVariantNode=Ad(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:b,...P}=this.scrapeMotionValuesFromProps(r,{});for(const w in P){const D=P[w];S[w]!==void 0&&$t(D)&&(D.set(S[w],!1),_l(b)&&b.add(w))}}scrapeMotionValuesFromProps(e,r){return{}}mount(e){this.current=e,td.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),Hh.current||lb(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:vc.current,process.env.NODE_ENV!=="production"&&Vc(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){td.delete(this.current),this.projection&&this.projection.unmount(),Mr(this.notifyUpdate),Mr(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,r){const i=si.has(e),a=r.on("change",p=>{this.latestValues[e]=p,this.props.onUpdate&&Ne.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),h=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{a(),h()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}loadFeatures({children:e,...r},i,a,h){let p,S;if(process.env.NODE_ENV!=="production"&&a&&i){const v="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";r.ignoreStrict?Es(!1,v):On(!1,v)}for(let v=0;v<cb;v++){const b=Gh[v],{isEnabled:P,Feature:w,ProjectionNode:D,MeasureLayout:_}=Ss[b];D&&(p=D),P(r)&&(!this.features[b]&&w&&(this.features[b]=new w(this)),_&&(S=_))}if((this.type==="html"||this.type==="svg")&&!this.projection&&p){this.projection=new p(this.latestValues,this.parent&&this.parent.projection);const{layoutId:v,layout:b,drag:P,dragConstraints:w,layoutScroll:D,layoutRoot:_}=r;this.projection.setOptions({layoutId:v,layout:b,alwaysMeasureLayout:!!P||w&&ua(w),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof b=="string"?b:"both",initialPromotionConfig:h,layoutScroll:D,layoutRoot:_})}return S}updateFeatures(){for(const e in this.features){const r=this.features[e];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rt()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,r){this.latestValues[e]=r}makeTargetAnimatable(e,r=!0){return this.makeTargetAnimatableFromInstance(e,this.props,r)}update(e,r){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let i=0;i<nd.length;i++){const a=nd[i];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const h=e["on"+a];h&&(this.propEventSubscriptions[a]=this.on(a,h))}this.prevMotionValues=ub(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const i=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}const r={};for(let i=0;i<fb;i++){const a=wc[i],h=this.props[a];(xs(h)||h===!1)&&(r[a]=h)}return r}addVariantChild(e){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(e),()=>r.variantChildren.delete(e)}addValue(e,r){r!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,r)),this.values.set(e,r),this.latestValues[e]=r.get()}removeValue(e){this.values.delete(e);const r=this.valueSubscriptions.get(e);r&&(r(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,r){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return i===void 0&&r!==void 0&&(i=ha(r,{owner:this}),this.addValue(e,i)),i}readValue(e){var r;return this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(r=this.getBaseTargetFromProps(this.props,e))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,e,this.options)}setBaseTarget(e,r){this.baseTarget[e]=r}getBaseTarget(e){var r;const{initial:i}=this.props,a=typeof i=="string"||typeof i=="object"?(r=Ac(this.props,i))===null||r===void 0?void 0:r[e]:void 0;if(i&&a!==void 0)return a;const h=this.getBaseTargetFromProps(this.props,e);return h!==void 0&&!$t(h)?h:this.initialValues[e]!==void 0&&a===void 0?void 0:this.baseTarget[e]}on(e,r){return this.events[e]||(this.events[e]=new Bc),this.events[e].add(r)}notify(e,...r){this.events[e]&&this.events[e].notify(...r)}}class $h extends db{sortInstanceNodePosition(e,r){return e.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(e,r){return e.style?e.style[r]:void 0}removeValueFromRenderState(e,{vars:r,style:i}){delete r[e],delete i[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:r,...i},{transformValues:a},h){let p=Pg(i,e||{},this);if(a&&(r&&(r=a(r)),i&&(i=a(i)),p&&(p=a(p))),h){Eg(this,i,p);const S=sb(this,i,p,r);r=S.transitionEnd,i=S.target}return{transition:e,transitionEnd:r,...i}}}function hb(t){return window.getComputedStyle(t)}class pb extends $h{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,r){if(si.has(r)){const i=Oc(r);return i&&i.default||0}else{const i=hb(e),a=(Fd(r)?i.getPropertyValue(r):i[r])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(e,{transformPagePoint:r}){return Oh(e,r)}build(e,r,i,a){Tc(e,r,i,a.transformTemplate)}scrapeMotionValuesFromProps(e,r){return Pc(e,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;$t(e)&&(this.childSubscription=e.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(e,r,i,a){zd(e,r,i,a)}}class mb extends $h{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,r){return e[r]}readValueFromInstance(e,r){if(si.has(r)){const i=Oc(r);return i&&i.default||0}return r=Wd.has(r)?r:xc(r),e.getAttribute(r)}measureInstanceViewportBox(){return rt()}scrapeMotionValuesFromProps(e,r){return Nd(e,r)}build(e,r,i,a){Ec(e,r,i,this.isSVGTag,a.transformTemplate)}renderInstance(e,r,i,a){Ud(e,r,i,a)}mount(e){this.isSVGTag=Rc(e.tagName),super.mount(e)}}const vb=(t,e)=>kc(t)?new mb(e,{enableHardwareAcceleration:!1}):new pb(e,{enableHardwareAcceleration:!0}),gb={layout:{ProjectionNode:Uh,MeasureLayout:Lh}},yb={...Ng,...fv,...Xy,...gb},Yh=bm((t,e)=>Km(t,e,yb,vb));function bb(t){const{children:e,parentRef:r,onlyChild:i}=t,[a,h]=oe.useState({top:0,left:0});return oe.useLayoutEffect(()=>{if(r.current){const p=r.current.getBoundingClientRect();h({top:p.top,left:p.left+p.width})}},[r]),i?e:cd.createPortal(re.jsx(Yh.div,{style:{position:"fixed",top:a.top,left:a.left,zIndex:1200},children:e}),r.current)}function xb(t){return re.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",...t,children:re.jsx("path",{fill:"currenColor",d:"M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"})})}function gc(t,e){return gc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,a){return i.__proto__=a,i},gc(t,e)}function Sb(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,gc(t,e)}function qu(t,e,r){if(r||arguments.length===2)for(var i=0,a=e.length,h;i<a;i++)(h||!(i in e))&&(h||(h=Array.prototype.slice.call(e,0,i)),h[i]=e[i]);return t.concat(h||Array.prototype.slice.call(e))}/*!
110
+ * content-type
111
+ * Copyright(c) 2015 Douglas Christopher Wilson
112
+ * MIT Licensed
113
+ */var rd=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,wb=/\\([\u000b\u0020-\u00ff])/g,kb=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,Tb=Cb;function Cb(t){if(!t)throw new TypeError("argument string is required");var e=typeof t=="object"?Eb(t):t;if(typeof e!="string")throw new TypeError("argument string is required to be a string");var r=e.indexOf(";"),i=r!==-1?e.slice(0,r).trim():e.trim();if(!kb.test(i))throw new TypeError("invalid media type");var a=new Rb(i.toLowerCase());if(r!==-1){var h,p,S;for(rd.lastIndex=r;p=rd.exec(e);){if(p.index!==r)throw new TypeError("invalid parameter format");r+=p[0].length,h=p[1].toLowerCase(),S=p[2],S.charCodeAt(0)===34&&(S=S.slice(1,-1),S.indexOf("\\")!==-1&&(S=S.replace(wb,"$1"))),a.parameters[h]=S}if(r!==e.length)throw new TypeError("invalid parameter format")}return a}function Eb(t){var e;if(typeof t.getHeader=="function"?e=t.getHeader("content-type"):typeof t.headers=="object"&&(e=t.headers&&t.headers["content-type"]),typeof e!="string")throw new TypeError("content-type header is missing from object");return e}function Rb(t){this.parameters=Object.create(null),this.type=t}var sa=new Map,Xh=function(e){return e.cloneNode(!0)},od=function(){return window.location.protocol==="file:"},Zh=function(e,r,i){var a=new XMLHttpRequest;a.onreadystatechange=function(){try{if(!/\.svg/i.test(e)&&a.readyState===2){var h=a.getResponseHeader("Content-Type");if(!h)throw new Error("Content type not found");var p=Tb(h).type;if(!(p==="image/svg+xml"||p==="text/plain"))throw new Error("Invalid content type: ".concat(p))}if(a.readyState===4){if(a.status===404||a.responseXML===null)throw new Error(od()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+e);if(a.status===200||od()&&a.status===0)i(null,a);else throw new Error("There was a problem injecting the SVG: "+a.status+" "+a.statusText)}}catch(S){if(a.abort(),S instanceof Error)i(S,a);else throw S}},a.open("GET",e),a.withCredentials=r,a.overrideMimeType&&a.overrideMimeType("text/xml"),a.send()},uo={},id=function(e,r){uo[e]=uo[e]||[],uo[e].push(r)},Pb=function(e){for(var r=function(p,S){setTimeout(function(){if(Array.isArray(uo[e])){var v=sa.get(e),b=uo[e][p];v instanceof SVGSVGElement&&b(null,Xh(v)),v instanceof Error&&b(v),p===uo[e].length-1&&delete uo[e]}},0)},i=0,a=uo[e].length;i<a;i++)r(i)},Ab=function(e,r,i){if(sa.has(e)){var a=sa.get(e);if(a===void 0){id(e,i);return}if(a instanceof SVGSVGElement){i(null,Xh(a));return}}sa.set(e,void 0),id(e,i),Zh(e,r,function(h,p){var S;h?sa.set(e,h):((S=p.responseXML)===null||S===void 0?void 0:S.documentElement)instanceof SVGSVGElement&&sa.set(e,p.responseXML.documentElement),Pb(e)})},Ib=function(e,r,i){Zh(e,r,function(a,h){var p;a?i(a):((p=h.responseXML)===null||p===void 0?void 0:p.documentElement)instanceof SVGSVGElement&&i(null,h.responseXML.documentElement)})},Mb=0,Db=function(){return++Mb},Qn=[],ad={},Ob="http://www.w3.org/2000/svg",ec="http://www.w3.org/1999/xlink",sd=function(e,r,i,a,h,p,S){var v=e.getAttribute("data-src")||e.getAttribute("src");if(!v){S(new Error("Invalid data-src or src attribute"));return}if(Qn.indexOf(e)!==-1){Qn.splice(Qn.indexOf(e),1),e=null;return}Qn.push(e),e.setAttribute("src","");var b=a?Ab:Ib;b(v,h,function(P,w){if(!w){Qn.splice(Qn.indexOf(e),1),e=null,S(P);return}var D=e.getAttribute("id");D&&w.setAttribute("id",D);var _=e.getAttribute("title");_&&w.setAttribute("title",_);var H=e.getAttribute("width");H&&w.setAttribute("width",H);var Y=e.getAttribute("height");Y&&w.setAttribute("height",Y);var j=Array.from(new Set(qu(qu(qu([],(w.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(e.getAttribute("class")||"").split(" "),!0))).join(" ").trim();w.setAttribute("class",j);var O=e.getAttribute("style");O&&w.setAttribute("style",O),w.setAttribute("data-src",v);var X=[].filter.call(e.attributes,function(Ee){return/^data-\w[\w-]*$/.test(Ee.name)});if(Array.prototype.forEach.call(X,function(Ee){Ee.name&&Ee.value&&w.setAttribute(Ee.name,Ee.value)}),i){var $={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]},J,q,K,te,ie;Object.keys($).forEach(function(Ee){J=Ee,K=$[Ee],q=w.querySelectorAll(J+"[id]");for(var je=function(ht,yt){te=q[ht].id,ie=te+"-"+Db();var Re;Array.prototype.forEach.call(K,function(Be){Re=w.querySelectorAll("["+Be+'*="'+te+'"]');for(var He=0,nn=Re.length;He<nn;He++){var Dt=Re[He].getAttribute(Be);Dt&&!Dt.match(new RegExp('url\\("?#'+te+'"?\\)'))||Re[He].setAttribute(Be,"url(#"+ie+")")}});for(var Se=w.querySelectorAll("[*|href]"),lt=[],ut=0,Xe=Se.length;ut<Xe;ut++){var Ke=Se[ut].getAttributeNS(ec,"href");Ke&&Ke.toString()==="#"+q[ht].id&&lt.push(Se[ut])}for(var Ae=0,Yt=lt.length;Ae<Yt;Ae++)lt[Ae].setAttributeNS(ec,"href","#"+ie);q[ht].id=ie},dt=0,he=q.length;dt<he;dt++)je(dt)})}w.removeAttribute("xmlns:a");for(var se=w.querySelectorAll("script"),Pe=[],De,ye,Oe=0,Ce=se.length;Oe<Ce;Oe++)ye=se[Oe].getAttribute("type"),(!ye||ye==="application/ecmascript"||ye==="application/javascript"||ye==="text/javascript")&&(De=se[Oe].innerText||se[Oe].textContent,De&&Pe.push(De),w.removeChild(se[Oe]));if(Pe.length>0&&(r==="always"||r==="once"&&!ad[v])){for(var et=0,Fe=Pe.length;et<Fe;et++)new Function(Pe[et])(window);ad[v]=!0}var tt=w.querySelectorAll("style");if(Array.prototype.forEach.call(tt,function(Ee){Ee.textContent+=""}),w.setAttribute("xmlns",Ob),w.setAttribute("xmlns:xlink",ec),p(w),!e.parentNode){Qn.splice(Qn.indexOf(e),1),e=null,S(new Error("Parent node is null"));return}e.parentNode.replaceChild(w,e),Qn.splice(Qn.indexOf(e),1),e=null,S(null,w)})},Fb=function(e,r){var i=r===void 0?{}:r,a=i.afterAll,h=a===void 0?function(){}:a,p=i.afterEach,S=p===void 0?function(){}:p,v=i.beforeEach,b=v===void 0?function(){}:v,P=i.cacheRequests,w=P===void 0?!0:P,D=i.evalScripts,_=D===void 0?"never":D,H=i.httpRequestWithCredentials,Y=H===void 0?!1:H,j=i.renumerateIRIElements,O=j===void 0?!0:j;if(e&&"length"in e)for(var X=0,$=0,J=e.length;$<J;$++)sd(e[$],_,O,w,Y,b,function(q,K){S(q,K),e&&"length"in e&&e.length===++X&&h(X)});else e?sd(e,_,O,w,Y,b,function(q,K){S(q,K),h(1),e=null}):h(0)},Lb=function(e){var r=(e==null?void 0:e.ownerDocument)||document;return r.defaultView||window},_b=function(e,r){for(var i in e)if(!(i in r))return!0;for(var a in r)if(e[a]!==r[a])return!0;return!1},jb=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],Tl="http://www.w3.org/2000/svg",ld="http://www.w3.org/1999/xlink",zc=function(t){Sb(e,t);function e(){for(var i,a=arguments.length,h=new Array(a),p=0;p<a;p++)h[p]=arguments[p];return i=t.call.apply(t,[this].concat(h))||this,i.initialState={hasError:!1,isLoading:!0},i.state=i.initialState,i._isMounted=!1,i.reactWrapper=void 0,i.nonReactWrapper=void 0,i.refCallback=function(S){i.reactWrapper=S},i}var r=e.prototype;return r.renderSVG=function(){var a=this;if(this.reactWrapper instanceof Lb(this.reactWrapper).Node){var h=this.props,p=h.desc,S=h.evalScripts,v=h.httpRequestWithCredentials,b=h.renumerateIRIElements,P=h.src,w=h.title,D=h.useRequestCache,_=this.props.onError,H=this.props.beforeInjection,Y=this.props.afterInjection,j=this.props.wrapper,O,X;j==="svg"?(O=document.createElementNS(Tl,j),O.setAttribute("xmlns",Tl),O.setAttribute("xmlns:xlink",ld),X=document.createElementNS(Tl,j)):(O=document.createElement(j),X=document.createElement(j)),O.appendChild(X),X.dataset.src=P,this.nonReactWrapper=this.reactWrapper.appendChild(O);var $=function(te){if(a.removeSVG(),!a._isMounted){_(te);return}a.setState(function(){return{hasError:!0,isLoading:!1}},function(){_(te)})},J=function(te,ie){if(te){$(te);return}a._isMounted&&a.setState(function(){return{isLoading:!1}},function(){try{Y(ie)}catch(se){$(se)}})},q=function(te){if(te.setAttribute("role","img"),p){var ie=te.querySelector(":scope > desc");ie&&te.removeChild(ie);var se=document.createElement("desc");se.innerHTML=p,te.prepend(se)}if(w){var Pe=te.querySelector(":scope > title");Pe&&te.removeChild(Pe);var De=document.createElement("title");De.innerHTML=w,te.prepend(De)}try{H(te)}catch(ye){$(ye)}};Fb(X,{afterEach:J,beforeEach:q,cacheRequests:D,evalScripts:S,httpRequestWithCredentials:v,renumerateIRIElements:b})}},r.removeSVG=function(){var a;(a=this.nonReactWrapper)!=null&&a.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},r.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},r.componentDidUpdate=function(a){var h=this;_b(we._extends({},a),this.props)&&this.setState(function(){return h.initialState},function(){h.removeSVG(),h.renderSVG()})},r.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},r.render=function(){var a=this.props;a.afterInjection,a.beforeInjection,a.desc,a.evalScripts;var h=a.fallback;a.httpRequestWithCredentials;var p=a.loading;a.renumerateIRIElements,a.src,a.title,a.useRequestCache;var S=a.wrapper,v=we._objectWithoutPropertiesLoose(a,jb),b=S;return Ye.createElement(b,we._extends({},v,{ref:this.refCallback},S==="svg"?{xmlns:Tl,xmlnsXlink:ld}:{}),this.state.isLoading&&p&&Ye.createElement(p,null),this.state.hasError&&h&&Ye.createElement(h,null))},e}(Ye.Component);zc.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};zc.propTypes={afterInjection:we.propTypesExports.func,beforeInjection:we.propTypesExports.func,desc:we.propTypesExports.string,evalScripts:we.propTypesExports.oneOf(["always","once","never"]),fallback:we.propTypesExports.oneOfType([we.propTypesExports.func,we.propTypesExports.object,we.propTypesExports.string]),httpRequestWithCredentials:we.propTypesExports.bool,loading:we.propTypesExports.oneOfType([we.propTypesExports.func,we.propTypesExports.object,we.propTypesExports.string]),onError:we.propTypesExports.func,renumerateIRIElements:we.propTypesExports.bool,src:we.propTypesExports.string.isRequired,title:we.propTypesExports.string,useRequestCache:we.propTypesExports.bool,wrapper:we.propTypesExports.oneOf(["div","span","svg"])};function Qh({item:t,level:e=0,...r}){var O;const{isActive:i,isCollapsed:a,expanded:h,toggleExpand:p}=r,S=`level-${e}`,v=a?"collapsed":"expanded",b=i(t.id)?"active":"",P=(X,$=S)=>`${X} ${$} ${v} ${b}`,w=!!((O=t.children)!=null&&O.length),[D,_]=oe.useState(!1),H=oe.useRef();function Y(X){var K;const{level:$,hovered:J,parentRef:q}=X;return!w||a&&$>=2&&!J?null:re.jsx(bb,{parentRef:q,onlyChild:!a||a&&$<2,children:re.jsx(Yh.div,{className:P("menu-item__dropdown",`level-${$}`),initial:{height:a?"auto":0},animate:{height:a||h(t.id)?"auto":0},transition:{duration:.2},children:(K=t.children)==null?void 0:K.map(te=>oe.createElement(Qh,{...r,key:te.id,item:te,level:$}))},+a)})}const j=w?"div":fd.Link;return re.jsxs("div",{ref:H,className:P("menu-item__wrapper"),onMouseEnter:()=>a&&_(!0),onMouseLeave:()=>a&&_(!1),children:[re.jsxs(j,{to:w?"#":t.path||"#",style:{paddingLeft:`${a?"0.5rem":`${e*1}rem`}`},className:P("menu-item__link"),onClick:X=>{w&&(X.preventDefault(),a||p(t.id))},children:[e!==0&&re.jsx(Bb,{cls:P,item:t}),re.jsx("span",{className:P("menu-item__label"),children:t.name}),w&&re.jsx("div",{className:P("menu-item__icon-arrow__wrapper"),children:re.jsx(xb,{className:P(`menu-item__icon-arrow__icon ${h(t.id)?"open":"close"}`)})})]}),Y({level:e+1,hovered:D,parentRef:H})]},t.id)}function Bb({item:t,cls:e}){var p,S;const[r,i]=oe.useState(!1),a=()=>{i(!0)},h=(p=t.icon)==null?void 0:p.endsWith(".svg");return re.jsx("div",{className:e("menu-item__icon"),children:r?re.jsx("div",{style:{width:24,height:24,backgroundColor:"#dadada",borderRadius:"5px",display:"flex",justifyContent:"center",alignItems:"center"},children:(S=t.name.trim().at(0))==null?void 0:S.toUpperCase()}):h?re.jsx(zc,{src:t.icon,beforeInjection:v=>{v.setAttribute("style","margin: 0 auto;"),v.querySelectorAll("path").forEach(P=>{P.setAttribute("stroke","currentColor")})}}):re.jsx("img",{src:t.icon||"/",alt:" ",style:{height:24,maxHeight:24},onError:a})})}function ud(t){for(;t.startsWith("/");)t=t.slice(1);return t}function Jh(t,e,r=[]){for(const i of t){if(console.log(i.path,e,i.path===e),ud(i.path||"")===ud(e))return[...r,i];if(i.children){const a=Jh(i.children,e,[...r,i]);if(a)return a}}return null}function Vb(t){return re.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",...t,children:re.jsx("path",{fill:"#E01B00",fillRule:"evenodd",d:"M.179 2.875A2.375 2.375 0 012.554.5h3.393a1.018 1.018 0 010 2.036H2.554a.34.34 0 00-.34.339v14.25c0 .187.152.34.34.34h3.393a1.018 1.018 0 110 2.035H2.554a2.375 2.375 0 01-2.375-2.375V2.875zm14.167 6.107h-7.72a1.018 1.018 0 000 2.036h7.72l-2.673 2.673a1.018 1.018 0 101.44 1.44l4.41-4.411a1.018 1.018 0 000-1.44l-4.41-4.41a1.018 1.018 0 10-1.44 1.439l2.673 2.673z",clipRule:"evenodd"})})}const zb=`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
114
+ `;function Wb(){return re.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:[re.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M22 8.27V4.23C22 2.64 21.36 2 19.77 2h-4.04c-1.59 0-2.23.64-2.23 2.23v4.04c0 1.59.64 2.23 2.23 2.23h4.04c1.59 0 2.23-.64 2.23-2.23zM10.5 8.52V3.98C10.5 2.57 9.86 2 8.27 2H4.23C2.64 2 2 2.57 2 3.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM10.5 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23H4.23c-1.59 0-2.23.64-2.23 2.23v4.04C2 21.36 2.64 22 4.23 22h4.04c1.59 0 2.23-.64 2.23-2.23z"}),re.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeWidth:"1.5",d:"M15 15.5h6M15 19.5h6"})]})}function Ub(){return re.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:re.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M22 8.52V3.98C22 2.57 21.36 2 19.77 2h-4.04c-1.59 0-2.23.57-2.23 1.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM22 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23h-4.04c-1.59 0-2.23.64-2.23 2.23v4.04c0 1.59.64 2.23 2.23 2.23h4.04c1.59 0 2.23-.64 2.23-2.23zM10.5 8.52V3.98C10.5 2.57 9.86 2 8.27 2H4.23C2.64 2 2 2.57 2 3.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM10.5 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23H4.23c-1.59 0-2.23.64-2.23 2.23v4.04C2 21.36 2.64 22 4.23 22h4.04c1.59 0 2.23-.64 2.23-2.23z"})})}const Nb=`.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s;padding:0 8px}.side-bar.expanded{width:18rem}.side-bar.collapsed{width:64px;padding-left:4px;padding-right:4px}.side-bar__menu{margin-left:-8px;margin-right:-8px;padding-left:8px;padding-right:8px}.side-bar__menu.collapsed{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px}.side-bar__logout-btn__text.collapsed{display:none}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:0 16px;min-height:48px;border-radius:.375rem}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__logout-btn.collapsed{justify-content:center}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;margin-top:4px}.menu-item__wrapper:first-child,.menu-item__wrapper.collapsed{margin-top:0}.menu-item__wrapper.collapsed.level-1{margin-top:4px}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.active{background-color:#009d4f1a!important;color:#009d4f!important}.menu-item__link.level-0{height:auto}.menu-item__link.menu-item__link.collapsed.level-0{display:none}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0}.menu-item__icon.collapsed.level-1{width:100%}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;color:#292929}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-1{text-align:center;margin-left:0;display:none}.menu-item__label.level-0{color:#85858a}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:-3px}.menu-item__icon-arrow__wrapper.expanded{right:0}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{margin-top:4px;overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}
115
+ `;function Hb(t){return re.jsx(yc,{styles:[zb,Nb],style:{zIndex:1200},children:re.jsx(Gb,{...t})})}function Gb(t){const{baseUrl:e,menuPath:r,logout:i}=t,a=fd.useLocation(),[h,p]=oe.useState([]),[S,v]=oe.useState(!1),b=(Jh(h,a.pathname)||[]).filter(X=>X.parentKey!==0),[P,w]=oe.useState({}),D=X=>{w({...P,[X]:!P[X]})},_=()=>{v(!S)};oe.useEffect(()=>{(async()=>{const $=e+(r||"/global-menu-config/api/v1/menu-items/user"),J=await ep.get($,{withCredentials:!0}).then(K=>K.data),q={};J.forEach(K=>{K.children&&(q[K.id]=!0)}),w(q),p(J.map(K=>({...K,parentKey:0})))})()},[e,r]);const[H,Y]=oe.useState(!1),j=S?"collapsed":"expanded",O=X=>`${X} ${j}`;return re.jsxs("div",{className:O("side-bar"),children:[re.jsx("div",{className:O("side-bar__wrapper-toggle-btn"),children:re.jsx("button",{className:"icon-btn side-bar__toggle-btn",onClick:_,children:S?re.jsx(Wb,{}):re.jsx(Ub,{})})}),re.jsx(Cd,{className:O("side-bar__menu"),style:{marginTop:24,flex:1,overflow:"auto",height:"100%",overflowX:"hidden"},children:h.map(X=>{const $=J=>b.some(q=>q.id===J);return re.jsx(Qh,{item:X,isActive:$,isCollapsed:S,expanded:J=>P[J],toggleExpand:D},X.id)})}),re.jsxs("div",{className:O("side-bar__wrap-btn-logout"),children:[re.jsxs("button",{className:O("side-bar__logout-btn"),onClick:()=>Y(!0),children:[re.jsx(Vb,{}),re.jsx("span",{className:O("side-bar__logout-btn__text"),children:"Logout"})]}),re.jsx(md,{isOpen:H,onClose:()=>Y(!1),onConfirm:i})]})]})}exports.GlobalMenu=Hb;exports.TopBar=Cp;