diff --git a/assets/01-default-CnPHREWu.jpg b/assets/01-default-CnPHREWu.jpg new file mode 100644 index 0000000..37f14f2 Binary files /dev/null and b/assets/01-default-CnPHREWu.jpg differ diff --git a/assets/01-gameplay-hUuQjKgr.jpg b/assets/01-gameplay-hUuQjKgr.jpg new file mode 100644 index 0000000..cfccd10 Binary files /dev/null and b/assets/01-gameplay-hUuQjKgr.jpg differ diff --git a/assets/01-landing-page-Dm4FRq0K.jpg b/assets/01-landing-page-Dm4FRq0K.jpg new file mode 100644 index 0000000..6105a4e Binary files /dev/null and b/assets/01-landing-page-Dm4FRq0K.jpg differ diff --git a/assets/01-landingpage-P-3oYeuj.jpg b/assets/01-landingpage-P-3oYeuj.jpg new file mode 100644 index 0000000..7cc49fd Binary files /dev/null and b/assets/01-landingpage-P-3oYeuj.jpg differ diff --git a/assets/01-slide1-vo4JUGX8.jpg b/assets/01-slide1-vo4JUGX8.jpg new file mode 100644 index 0000000..a6f0804 Binary files /dev/null and b/assets/01-slide1-vo4JUGX8.jpg differ diff --git a/assets/02-balance-IImDDrYR.jpg b/assets/02-balance-IImDDrYR.jpg new file mode 100644 index 0000000..194d242 Binary files /dev/null and b/assets/02-balance-IImDDrYR.jpg differ diff --git a/assets/02-chat-D2WJgBJx.jpg b/assets/02-chat-D2WJgBJx.jpg new file mode 100644 index 0000000..fed1784 Binary files /dev/null and b/assets/02-chat-D2WJgBJx.jpg differ diff --git a/assets/02-new-game-CY2W4U-r.jpg b/assets/02-new-game-CY2W4U-r.jpg new file mode 100644 index 0000000..c6ddf19 Binary files /dev/null and b/assets/02-new-game-CY2W4U-r.jpg differ diff --git a/assets/02-orderbook-DQv5YuWQ.jpg b/assets/02-orderbook-DQv5YuWQ.jpg new file mode 100644 index 0000000..3c2e094 Binary files /dev/null and b/assets/02-orderbook-DQv5YuWQ.jpg differ diff --git a/assets/02-slide2-BQZc-qJA.jpg b/assets/02-slide2-BQZc-qJA.jpg new file mode 100644 index 0000000..ac24017 Binary files /dev/null and b/assets/02-slide2-BQZc-qJA.jpg differ diff --git a/assets/03-chat2-DhmTehTl.jpg b/assets/03-chat2-DhmTehTl.jpg new file mode 100644 index 0000000..f799276 Binary files /dev/null and b/assets/03-chat2-DhmTehTl.jpg differ diff --git a/assets/03-loan-D1jvZvP7.jpg b/assets/03-loan-D1jvZvP7.jpg new file mode 100644 index 0000000..0f06d2e Binary files /dev/null and b/assets/03-loan-D1jvZvP7.jpg differ diff --git a/assets/03-slide3-D83n4spK.jpg b/assets/03-slide3-D83n4spK.jpg new file mode 100644 index 0000000..e518566 Binary files /dev/null and b/assets/03-slide3-D83n4spK.jpg differ diff --git a/assets/03-transactions-Bm6GniOZ.jpg b/assets/03-transactions-Bm6GniOZ.jpg new file mode 100644 index 0000000..70803fd Binary files /dev/null and b/assets/03-transactions-Bm6GniOZ.jpg differ diff --git a/assets/04-howitworks-C1_DRryS.jpg b/assets/04-howitworks-C1_DRryS.jpg new file mode 100644 index 0000000..25b0af0 Binary files /dev/null and b/assets/04-howitworks-C1_DRryS.jpg differ diff --git a/assets/04-lend-Bm9wHWgZ.jpg b/assets/04-lend-Bm9wHWgZ.jpg new file mode 100644 index 0000000..086213c Binary files /dev/null and b/assets/04-lend-Bm9wHWgZ.jpg differ diff --git a/assets/04-send-CdEZ9veL.jpg b/assets/04-send-CdEZ9veL.jpg new file mode 100644 index 0000000..d689fe5 Binary files /dev/null and b/assets/04-send-CdEZ9veL.jpg differ diff --git a/assets/04-slide4-CP4Z3Y9G.jpg b/assets/04-slide4-CP4Z3Y9G.jpg new file mode 100644 index 0000000..9f769d7 Binary files /dev/null and b/assets/04-slide4-CP4Z3Y9G.jpg differ diff --git a/assets/05-slide5-BM0HfDsj.jpg b/assets/05-slide5-BM0HfDsj.jpg new file mode 100644 index 0000000..37ed437 Binary files /dev/null and b/assets/05-slide5-BM0HfDsj.jpg differ diff --git a/assets/06-slide6-F2U5QvrH.jpg b/assets/06-slide6-F2U5QvrH.jpg new file mode 100644 index 0000000..433495d Binary files /dev/null and b/assets/06-slide6-F2U5QvrH.jpg differ diff --git a/assets/index-xdsTV700.js b/assets/index-CnQfIFkj.js similarity index 57% rename from assets/index-xdsTV700.js rename to assets/index-CnQfIFkj.js index 698246d..b9bf9d2 100644 --- a/assets/index-xdsTV700.js +++ b/assets/index-CnQfIFkj.js @@ -1,4 +1,4 @@ -function Mk(e,n){for(var t=0;tr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function t(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=t(i);fetch(i.href,o)}})();var Em=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ss(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Nk(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var t=function r(){return this instanceof r?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),t}var mv={exports:{}},vu={},gv={exports:{}},ke={};/** +function jk(e,n){for(var t=0;tr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function t(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=t(i);fetch(i.href,o)}})();var _m=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ss(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Mk(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var t=function r(){return this instanceof r?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),t}var mv={exports:{}},vu={},gv={exports:{}},ke={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function Mk(e,n){for(var t=0;t>>1,ue=A[ce];if(0>>1;cei(ge,S))qi(Re,ge)?(A[ce]=Re,A[q]=S,ce=q):(A[ce]=ge,A[Z]=S,ce=Z);else if(qi(Re,S))A[ce]=Re,A[q]=S,ce=q;else break e}}return N}function i(A,N){var S=A.sortIndex-N.sortIndex;return S!==0?S:A.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,d=null,f=3,p=!1,g=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(A){for(var N=t(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=A)r(u),N.sortIndex=N.expirationTime,n(l,N);else break;N=t(u)}}function b(A){if(y=!1,v(A),!g)if(t(l)!==null)g=!0,U(E);else{var N=t(u);N!==null&&B(b,N.startTime-A)}}function E(A,N){g=!1,y&&(y=!1,h(R),R=-1),p=!0;var S=f;try{for(v(N),d=t(l);d!==null&&(!(d.expirationTime>N)||A&&!L());){var ce=d.callback;if(typeof ce=="function"){d.callback=null,f=d.priorityLevel;var ue=ce(d.expirationTime<=N);N=e.unstable_now(),typeof ue=="function"?d.callback=ue:d===t(l)&&r(l),v(N)}else r(l);d=t(l)}if(d!==null)var T=!0;else{var Z=t(u);Z!==null&&B(b,Z.startTime-N),T=!1}return T}finally{d=null,f=S,p=!1}}var C=!1,_=null,R=-1,I=5,O=-1;function L(){return!(e.unstable_now()-OA||125ce?(A.sortIndex=S,n(u,A),t(l)===null&&A===t(u)&&(y?(h(R),R=-1):y=!0,B(b,S-ce))):(A.sortIndex=ue,n(l,A),g||p||(g=!0,U(E))),A},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(A){var N=f;return function(){var S=f;f=N;try{return A.apply(this,arguments)}finally{f=S}}}})(Pv);_v.exports=Pv;var rw=_v.exports;/** + */(function(e){function n(A,M){var C=A.length;A.push(M);e:for(;0>>1,ue=A[ce];if(0>>1;cei(ge,C))Yi(Re,ge)?(A[ce]=Re,A[Y]=C,ce=Y):(A[ce]=ge,A[Z]=C,ce=Z);else if(Yi(Re,C))A[ce]=Re,A[Y]=C,ce=Y;else break e}}return M}function i(A,M){var C=A.sortIndex-M.sortIndex;return C!==0?C:A.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,d=null,f=3,p=!1,g=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(A){for(var M=t(u);M!==null;){if(M.callback===null)r(u);else if(M.startTime<=A)r(u),M.sortIndex=M.expirationTime,n(l,M);else break;M=t(u)}}function b(A){if(y=!1,v(A),!g)if(t(l)!==null)g=!0,U(_);else{var M=t(u);M!==null&&B(b,M.startTime-A)}}function _(A,M){g=!1,y&&(y=!1,h(R),R=-1),p=!0;var C=f;try{for(v(M),d=t(l);d!==null&&(!(d.expirationTime>M)||A&&!L());){var ce=d.callback;if(typeof ce=="function"){d.callback=null,f=d.priorityLevel;var ue=ce(d.expirationTime<=M);M=e.unstable_now(),typeof ue=="function"?d.callback=ue:d===t(l)&&r(l),v(M)}else r(l);d=t(l)}if(d!==null)var T=!0;else{var Z=t(u);Z!==null&&B(b,Z.startTime-M),T=!1}return T}finally{d=null,f=C,p=!1}}var S=!1,E=null,R=-1,I=5,O=-1;function L(){return!(e.unstable_now()-OA||125ce?(A.sortIndex=C,n(u,A),t(l)===null&&A===t(u)&&(y?(h(R),R=-1):y=!0,B(b,C-ce))):(A.sortIndex=ue,n(l,A),g||p||(g=!0,U(_))),A},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(A){var M=f;return function(){var C=f;f=M;try{return A.apply(this,arguments)}finally{f=C}}}})(Pv);Ev.exports=Pv;var rw=Ev.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function Mk(e,n){for(var t=0;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zd=Object.prototype.hasOwnProperty,iw=/^[: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]*$/,Om={},Im={};function ow(e){return zd.call(Im,e)?!0:zd.call(Om,e)?!1:iw.test(e)?Im[e]=!0:(Om[e]=!0,!1)}function aw(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function sw(e,n,t,r){if(n===null||typeof n>"u"||aw(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function Vn(e,n,t,r,i,o,a){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=a}var Tn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Tn[e]=new Vn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];Tn[n]=new Vn(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Tn[e]=new Vn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Tn[e]=new Vn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Tn[e]=new Vn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Tn[e]=new Vn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Tn[e]=new Vn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Tn[e]=new Vn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Tn[e]=new Vn(e,5,!1,e.toLowerCase(),null,!1,!1)});var Sp=/[\-:]([a-z])/g;function Ep(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Sp,Ep);Tn[n]=new Vn(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Sp,Ep);Tn[n]=new Vn(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Sp,Ep);Tn[n]=new Vn(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Tn[e]=new Vn(e,1,!1,e.toLowerCase(),null,!1,!1)});Tn.xlinkHref=new Vn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Tn[e]=new Vn(e,1,!1,e.toLowerCase(),null,!0,!0)});function _p(e,n,t,r){var i=Tn.hasOwnProperty(n)?Tn[n]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fd=Object.prototype.hasOwnProperty,iw=/^[: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]*$/,Om={},Im={};function ow(e){return Fd.call(Im,e)?!0:Fd.call(Om,e)?!1:iw.test(e)?Im[e]=!0:(Om[e]=!0,!1)}function aw(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function sw(e,n,t,r){if(n===null||typeof n>"u"||aw(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function Vn(e,n,t,r,i,o,a){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=a}var Tn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Tn[e]=new Vn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];Tn[n]=new Vn(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Tn[e]=new Vn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Tn[e]=new Vn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Tn[e]=new Vn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Tn[e]=new Vn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Tn[e]=new Vn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Tn[e]=new Vn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Tn[e]=new Vn(e,5,!1,e.toLowerCase(),null,!1,!1)});var Cf=/[\-:]([a-z])/g;function _f(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Cf,_f);Tn[n]=new Vn(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Cf,_f);Tn[n]=new Vn(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Cf,_f);Tn[n]=new Vn(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Tn[e]=new Vn(e,1,!1,e.toLowerCase(),null,!1,!1)});Tn.xlinkHref=new Vn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Tn[e]=new Vn(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ef(e,n,t,r){var i=Tn.hasOwnProperty(n)?Tn[n]:null;(i!==null?i.type!==0:r||!(2s||i[a]!==o[s]){var l=` -`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{jc=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?ia(e):""}function lw(e){switch(e.tag){case 5:return ia(e.type);case 16:return ia("Lazy");case 13:return ia("Suspense");case 19:return ia("SuspenseList");case 0:case 2:case 15:return e=zc(e.type,!1),e;case 11:return e=zc(e.type.render,!1),e;case 1:return e=zc(e.type,!0),e;default:return""}}function Ud(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ui:return"Fragment";case Bi:return"Portal";case Fd:return"Profiler";case Pp:return"StrictMode";case Dd:return"Suspense";case Bd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Rv:return(e.displayName||"Context")+".Consumer";case Iv:return(e._context.displayName||"Context")+".Provider";case Tp:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Op:return n=e.displayName||null,n!==null?n:Ud(e.type)||"Memo";case br:n=e._payload,e=e._init;try{return Ud(e(n))}catch{}}return null}function uw(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ud(n);case 8:return n===Pp?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function $r(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Lv(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function cw(e){var n=Lv(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var i=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Es(e){e._valueTracker||(e._valueTracker=cw(e))}function Mv(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Lv(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Sl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Wd(e,n){var t=n.checked;return nn({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Am(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=$r(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Nv(e,n){n=n.checked,n!=null&&_p(e,"checked",n,!1)}function Hd(e,n){Nv(e,n);var t=$r(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Vd(e,n.type,t):n.hasOwnProperty("defaultValue")&&Vd(e,n.type,$r(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Lm(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Vd(e,n,t){(n!=="number"||Sl(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var oa=Array.isArray;function oo(e,n,t,r){if(e=e.options,n){n={};for(var i=0;i"+n.valueOf().toString()+"",n=_s.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Ra(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var fa={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},dw=["Webkit","ms","Moz","O"];Object.keys(fa).forEach(function(e){dw.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),fa[n]=fa[e]})});function Fv(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||fa.hasOwnProperty(e)&&fa[e]?(""+n).trim():n+"px"}function Dv(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,i=Fv(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,i):e[t]=i}}var fw=nn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Yd(e,n){if(n){if(fw[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(W(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(W(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(W(61))}if(n.style!=null&&typeof n.style!="object")throw Error(W(62))}}function qd(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xd=null;function Ip(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Qd=null,ao=null,so=null;function $m(e){if(e=ds(e)){if(typeof Qd!="function")throw Error(W(280));var n=e.stateNode;n&&(n=Cu(n),Qd(e.stateNode,e.type,n))}}function Bv(e){ao?so?so.push(e):so=[e]:ao=e}function Uv(){if(ao){var e=ao,n=so;if(so=ao=null,$m(e),n)for(e=0;e>>=0,e===0?32:31-(Cw(e)/Sw|0)|0}var Ps=64,Ts=4194304;function aa(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Tl(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=t&268435455;if(a!==0){var s=a&~i;s!==0?r=aa(s):(o&=a,o!==0&&(r=aa(o)))}else a=t&~i,a!==0?r=aa(a):o!==0&&(r=aa(o));if(r===0)return 0;if(n!==0&&n!==r&&!(n&i)&&(i=r&-r,o=n&-n,i>=o||i===16&&(o&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function us(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Lt(n),e[n]=t}function Tw(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=ha),Vm=" ",Km=!1;function l1(e,n){switch(e){case"keyup":return tC.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function u1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wi=!1;function iC(e,n){switch(e){case"compositionend":return u1(n);case"keypress":return n.which!==32?null:(Km=!0,Vm);case"textInput":return e=n.data,e===Vm&&Km?null:e;default:return null}}function oC(e,n){if(Wi)return e==="compositionend"||!zp&&l1(e,n)?(e=a1(),ol=Np=Sr=null,Wi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Xm(t)}}function p1(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?p1(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function h1(){for(var e=window,n=Sl();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Sl(e.document)}return n}function Fp(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function hC(e){var n=h1(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&p1(t.ownerDocument.documentElement,t)){if(r!==null&&Fp(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var i=t.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Qm(t,o);var a=Qm(t,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(n=n.createRange(),n.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(n),e.extend(a.node,a.offset)):(n.setEnd(a.node,a.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Hi=null,rf=null,ga=null,of=!1;function Jm(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;of||Hi==null||Hi!==Sl(r)||(r=Hi,"selectionStart"in r&&Fp(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ga&&ja(ga,r)||(ga=r,r=Rl(rf,"onSelect"),0Gi||(e.current=df[Gi],df[Gi]=null,Gi--)}function We(e,n){Gi++,df[Gi]=e.current,e.current=n}var jr={},jn=Vr(jr),Xn=Vr(!1),hi=jr;function xo(e,n){var t=e.type.contextTypes;if(!t)return jr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in t)i[o]=n[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=i),i}function Qn(e){return e=e.childContextTypes,e!=null}function Ll(){Ye(Xn),Ye(jn)}function og(e,n,t){if(jn.current!==jr)throw Error(W(168));We(jn,n),We(Xn,t)}function C1(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var i in r)if(!(i in n))throw Error(W(108,uw(e)||"Unknown",i));return nn({},t,r)}function Ml(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jr,hi=jn.current,We(jn,e),We(Xn,Xn.current),!0}function ag(e,n,t){var r=e.stateNode;if(!r)throw Error(W(169));t?(e=C1(e,n,hi),r.__reactInternalMemoizedMergedChildContext=e,Ye(Xn),Ye(jn),We(jn,e)):Ye(Xn),We(Xn,t)}var Zt=null,Su=!1,Jc=!1;function S1(e){Zt===null?Zt=[e]:Zt.push(e)}function _C(e){Su=!0,S1(e)}function Kr(){if(!Jc&&Zt!==null){Jc=!0;var e=0,n=ze;try{var t=Zt;for(ze=1;e>=a,i-=a,tr=1<<32-Lt(n)+i|t<R?(I=_,_=null):I=_.sibling;var O=f(h,_,v[R],b);if(O===null){_===null&&(_=I);break}e&&_&&O.alternate===null&&n(h,_),m=o(O,m,R),C===null?E=O:C.sibling=O,C=O,_=I}if(R===v.length)return t(h,_),Je&&Qr(h,R),E;if(_===null){for(;RR?(I=_,_=null):I=_.sibling;var L=f(h,_,O.value,b);if(L===null){_===null&&(_=I);break}e&&_&&L.alternate===null&&n(h,_),m=o(L,m,R),C===null?E=L:C.sibling=L,C=L,_=I}if(O.done)return t(h,_),Je&&Qr(h,R),E;if(_===null){for(;!O.done;R++,O=v.next())O=d(h,O.value,b),O!==null&&(m=o(O,m,R),C===null?E=O:C.sibling=O,C=O);return Je&&Qr(h,R),E}for(_=r(h,_);!O.done;R++,O=v.next())O=p(_,h,R,O.value,b),O!==null&&(e&&O.alternate!==null&&_.delete(O.key===null?R:O.key),m=o(O,m,R),C===null?E=O:C.sibling=O,C=O);return e&&_.forEach(function(M){return n(h,M)}),Je&&Qr(h,R),E}function w(h,m,v,b){if(typeof v=="object"&&v!==null&&v.type===Ui&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Ss:e:{for(var E=v.key,C=m;C!==null;){if(C.key===E){if(E=v.type,E===Ui){if(C.tag===7){t(h,C.sibling),m=i(C,v.props.children),m.return=h,h=m;break e}}else if(C.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===br&&pg(E)===C.type){t(h,C.sibling),m=i(C,v.props),m.ref=Vo(h,C,v),m.return=h,h=m;break e}t(h,C);break}else n(h,C);C=C.sibling}v.type===Ui?(m=di(v.props.children,h.mode,b,v.key),m.return=h,h=m):(b=pl(v.type,v.key,v.props,null,h.mode,b),b.ref=Vo(h,m,v),b.return=h,h=b)}return a(h);case Bi:e:{for(C=v.key;m!==null;){if(m.key===C)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){t(h,m.sibling),m=i(m,v.children||[]),m.return=h,h=m;break e}else{t(h,m);break}else n(h,m);m=m.sibling}m=ad(v,h.mode,b),m.return=h,h=m}return a(h);case br:return C=v._init,w(h,m,C(v._payload),b)}if(oa(v))return g(h,m,v,b);if(Do(v))return y(h,m,v,b);Ns(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(t(h,m.sibling),m=i(m,v),m.return=h,h=m):(t(h,m),m=od(v,h.mode,b),m.return=h,h=m),a(h)):t(h,m)}return w}var ko=A1(!0),L1=A1(!1),fs={},Gt=Vr(fs),Ba=Vr(fs),Ua=Vr(fs);function ii(e){if(e===fs)throw Error(W(174));return e}function Yp(e,n){switch(We(Ua,n),We(Ba,e),We(Gt,fs),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Gd(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Gd(n,e)}Ye(Gt),We(Gt,n)}function wo(){Ye(Gt),Ye(Ba),Ye(Ua)}function M1(e){ii(Ua.current);var n=ii(Gt.current),t=Gd(n,e.type);n!==t&&(We(Ba,e),We(Gt,t))}function qp(e){Ba.current===e&&(Ye(Gt),Ye(Ba))}var Ze=Vr(0);function Dl(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Zc=[];function Xp(){for(var e=0;et?t:4,e(!0);var r=ed.transition;ed.transition={};try{e(!1),n()}finally{ze=t,ed.transition=r}}function X1(){return St().memoizedState}function IC(e,n,t){var r=Lr(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Q1(e))J1(n,t);else if(t=T1(e,n,t,r),t!==null){var i=Wn();Mt(t,e,r,i),Z1(t,n,r)}}function RC(e,n,t){var r=Lr(e),i={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Q1(e))J1(n,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=n.lastRenderedReducer,o!==null))try{var a=n.lastRenderedState,s=o(a,t);if(i.hasEagerState=!0,i.eagerState=s,$t(s,a)){var l=n.interleaved;l===null?(i.next=i,Kp(n)):(i.next=l.next,l.next=i),n.interleaved=i;return}}catch{}finally{}t=T1(e,n,i,r),t!==null&&(i=Wn(),Mt(t,e,r,i),Z1(t,n,r))}}function Q1(e){var n=e.alternate;return e===en||n!==null&&n===en}function J1(e,n){ya=Bl=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Z1(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Ap(e,t)}}var Ul={readContext:Ct,useCallback:Rn,useContext:Rn,useEffect:Rn,useImperativeHandle:Rn,useInsertionEffect:Rn,useLayoutEffect:Rn,useMemo:Rn,useReducer:Rn,useRef:Rn,useState:Rn,useDebugValue:Rn,useDeferredValue:Rn,useTransition:Rn,useMutableSource:Rn,useSyncExternalStore:Rn,useId:Rn,unstable_isNewReconciler:!1},AC={readContext:Ct,useCallback:function(e,n){return zt().memoizedState=[e,n===void 0?null:n],e},useContext:Ct,useEffect:mg,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,ul(4194308,4,V1.bind(null,n,e),t)},useLayoutEffect:function(e,n){return ul(4194308,4,e,n)},useInsertionEffect:function(e,n){return ul(4,2,e,n)},useMemo:function(e,n){var t=zt();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=zt();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=IC.bind(null,en,e),[r.memoizedState,e]},useRef:function(e){var n=zt();return e={current:e},n.memoizedState=e},useState:hg,useDebugValue:nh,useDeferredValue:function(e){return zt().memoizedState=e},useTransition:function(){var e=hg(!1),n=e[0];return e=OC.bind(null,e[1]),zt().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=en,i=zt();if(Je){if(t===void 0)throw Error(W(407));t=t()}else{if(t=n(),wn===null)throw Error(W(349));gi&30||j1(r,n,t)}i.memoizedState=t;var o={value:t,getSnapshot:n};return i.queue=o,mg(F1.bind(null,r,o,e),[e]),r.flags|=2048,Va(9,z1.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=zt(),n=wn.identifierPrefix;if(Je){var t=rr,r=tr;t=(r&~(1<<32-Lt(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Wa++,0")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{$c=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?ia(e):""}function lw(e){switch(e.tag){case 5:return ia(e.type);case 16:return ia("Lazy");case 13:return ia("Suspense");case 19:return ia("SuspenseList");case 0:case 2:case 15:return e=zc(e.type,!1),e;case 11:return e=zc(e.type.render,!1),e;case 1:return e=zc(e.type,!0),e;default:return""}}function Wd(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Wi:return"Fragment";case Ui:return"Portal";case Dd:return"Profiler";case Pf:return"StrictMode";case Bd:return"Suspense";case Ud:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Rv:return(e.displayName||"Context")+".Consumer";case Iv:return(e._context.displayName||"Context")+".Provider";case Tf:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Of:return n=e.displayName||null,n!==null?n:Wd(e.type)||"Memo";case br:n=e._payload,e=e._init;try{return Wd(e(n))}catch{}}return null}function uw(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Wd(n);case 8:return n===Pf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function Nr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Lv(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function cw(e){var n=Lv(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var i=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function _s(e){e._valueTracker||(e._valueTracker=cw(e))}function jv(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Lv(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Cl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Hd(e,n){var t=n.checked;return nn({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Am(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=Nr(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Mv(e,n){n=n.checked,n!=null&&Ef(e,"checked",n,!1)}function Vd(e,n){Mv(e,n);var t=Nr(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Kd(e,n.type,t):n.hasOwnProperty("defaultValue")&&Kd(e,n.type,Nr(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Lm(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Kd(e,n,t){(n!=="number"||Cl(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var oa=Array.isArray;function oo(e,n,t,r){if(e=e.options,n){n={};for(var i=0;i"+n.valueOf().toString()+"",n=Es.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Ra(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var pa={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},dw=["Webkit","ms","Moz","O"];Object.keys(pa).forEach(function(e){dw.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),pa[n]=pa[e]})});function Fv(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||pa.hasOwnProperty(e)&&pa[e]?(""+n).trim():n+"px"}function Dv(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,i=Fv(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,i):e[t]=i}}var pw=nn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Yd(e,n){if(n){if(pw[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(W(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(W(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(W(61))}if(n.style!=null&&typeof n.style!="object")throw Error(W(62))}}function Xd(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Qd=null;function If(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Jd=null,ao=null,so=null;function Nm(e){if(e=ds(e)){if(typeof Jd!="function")throw Error(W(280));var n=e.stateNode;n&&(n=Su(n),Jd(e.stateNode,e.type,n))}}function Bv(e){ao?so?so.push(e):so=[e]:ao=e}function Uv(){if(ao){var e=ao,n=so;if(so=ao=null,Nm(e),n)for(e=0;e>>=0,e===0?32:31-(Sw(e)/Cw|0)|0}var Ps=64,Ts=4194304;function aa(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Tl(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=t&268435455;if(a!==0){var s=a&~i;s!==0?r=aa(s):(o&=a,o!==0&&(r=aa(o)))}else a=t&~i,a!==0?r=aa(a):o!==0&&(r=aa(o));if(r===0)return 0;if(n!==0&&n!==r&&!(n&i)&&(i=r&-r,o=n&-n,i>=o||i===16&&(o&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function us(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Lt(n),e[n]=t}function Tw(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=ha),Vm=" ",Km=!1;function l1(e,n){switch(e){case"keyup":return tS.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function u1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Hi=!1;function iS(e,n){switch(e){case"compositionend":return u1(n);case"keypress":return n.which!==32?null:(Km=!0,Vm);case"textInput":return e=n.data,e===Vm&&Km?null:e;default:return null}}function oS(e,n){if(Hi)return e==="compositionend"||!zf&&l1(e,n)?(e=a1(),ol=Mf=Cr=null,Hi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Xm(t)}}function f1(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?f1(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function h1(){for(var e=window,n=Cl();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Cl(e.document)}return n}function Ff(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function hS(e){var n=h1(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&f1(t.ownerDocument.documentElement,t)){if(r!==null&&Ff(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var i=t.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Qm(t,o);var a=Qm(t,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(n=n.createRange(),n.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(n),e.extend(a.node,a.offset)):(n.setEnd(a.node,a.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Vi=null,ip=null,ga=null,op=!1;function Jm(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;op||Vi==null||Vi!==Cl(r)||(r=Vi,"selectionStart"in r&&Ff(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ga&&$a(ga,r)||(ga=r,r=Rl(ip,"onSelect"),0qi||(e.current=dp[qi],dp[qi]=null,qi--)}function We(e,n){qi++,dp[qi]=e.current,e.current=n}var $r={},$n=Vr($r),Xn=Vr(!1),mi=$r;function xo(e,n){var t=e.type.contextTypes;if(!t)return $r;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in t)i[o]=n[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=i),i}function Qn(e){return e=e.childContextTypes,e!=null}function Ll(){qe(Xn),qe($n)}function og(e,n,t){if($n.current!==$r)throw Error(W(168));We($n,n),We(Xn,t)}function S1(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var i in r)if(!(i in n))throw Error(W(108,uw(e)||"Unknown",i));return nn({},t,r)}function jl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||$r,mi=$n.current,We($n,e),We(Xn,Xn.current),!0}function ag(e,n,t){var r=e.stateNode;if(!r)throw Error(W(169));t?(e=S1(e,n,mi),r.__reactInternalMemoizedMergedChildContext=e,qe(Xn),qe($n),We($n,e)):qe(Xn),We(Xn,t)}var Zt=null,Cu=!1,Jc=!1;function C1(e){Zt===null?Zt=[e]:Zt.push(e)}function ES(e){Cu=!0,C1(e)}function Kr(){if(!Jc&&Zt!==null){Jc=!0;var e=0,n=ze;try{var t=Zt;for(ze=1;e>=a,i-=a,tr=1<<32-Lt(n)+i|t<R?(I=E,E=null):I=E.sibling;var O=f(h,E,v[R],b);if(O===null){E===null&&(E=I);break}e&&E&&O.alternate===null&&n(h,E),m=o(O,m,R),S===null?_=O:S.sibling=O,S=O,E=I}if(R===v.length)return t(h,E),Je&&Qr(h,R),_;if(E===null){for(;RR?(I=E,E=null):I=E.sibling;var L=f(h,E,O.value,b);if(L===null){E===null&&(E=I);break}e&&E&&L.alternate===null&&n(h,E),m=o(L,m,R),S===null?_=L:S.sibling=L,S=L,E=I}if(O.done)return t(h,E),Je&&Qr(h,R),_;if(E===null){for(;!O.done;R++,O=v.next())O=d(h,O.value,b),O!==null&&(m=o(O,m,R),S===null?_=O:S.sibling=O,S=O);return Je&&Qr(h,R),_}for(E=r(h,E);!O.done;R++,O=v.next())O=p(E,h,R,O.value,b),O!==null&&(e&&O.alternate!==null&&E.delete(O.key===null?R:O.key),m=o(O,m,R),S===null?_=O:S.sibling=O,S=O);return e&&E.forEach(function(j){return n(h,j)}),Je&&Qr(h,R),_}function w(h,m,v,b){if(typeof v=="object"&&v!==null&&v.type===Wi&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Cs:e:{for(var _=v.key,S=m;S!==null;){if(S.key===_){if(_=v.type,_===Wi){if(S.tag===7){t(h,S.sibling),m=i(S,v.props.children),m.return=h,h=m;break e}}else if(S.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===br&&fg(_)===S.type){t(h,S.sibling),m=i(S,v.props),m.ref=Vo(h,S,v),m.return=h,h=m;break e}t(h,S);break}else n(h,S);S=S.sibling}v.type===Wi?(m=pi(v.props.children,h.mode,b,v.key),m.return=h,h=m):(b=fl(v.type,v.key,v.props,null,h.mode,b),b.ref=Vo(h,m,v),b.return=h,h=b)}return a(h);case Ui:e:{for(S=v.key;m!==null;){if(m.key===S)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){t(h,m.sibling),m=i(m,v.children||[]),m.return=h,h=m;break e}else{t(h,m);break}else n(h,m);m=m.sibling}m=ad(v,h.mode,b),m.return=h,h=m}return a(h);case br:return S=v._init,w(h,m,S(v._payload),b)}if(oa(v))return g(h,m,v,b);if(Do(v))return y(h,m,v,b);Ms(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(t(h,m.sibling),m=i(m,v),m.return=h,h=m):(t(h,m),m=od(v,h.mode,b),m.return=h,h=m),a(h)):t(h,m)}return w}var ko=A1(!0),L1=A1(!1),ps={},Gt=Vr(ps),Ba=Vr(ps),Ua=Vr(ps);function oi(e){if(e===ps)throw Error(W(174));return e}function qf(e,n){switch(We(Ua,n),We(Ba,e),We(Gt,ps),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:qd(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=qd(n,e)}qe(Gt),We(Gt,n)}function wo(){qe(Gt),qe(Ba),qe(Ua)}function j1(e){oi(Ua.current);var n=oi(Gt.current),t=qd(n,e.type);n!==t&&(We(Ba,e),We(Gt,t))}function Yf(e){Ba.current===e&&(qe(Gt),qe(Ba))}var Ze=Vr(0);function Dl(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Zc=[];function Xf(){for(var e=0;et?t:4,e(!0);var r=ed.transition;ed.transition={};try{e(!1),n()}finally{ze=t,ed.transition=r}}function X1(){return Ct().memoizedState}function IS(e,n,t){var r=Lr(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Q1(e))J1(n,t);else if(t=T1(e,n,t,r),t!==null){var i=Wn();jt(t,e,r,i),Z1(t,n,r)}}function RS(e,n,t){var r=Lr(e),i={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Q1(e))J1(n,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=n.lastRenderedReducer,o!==null))try{var a=n.lastRenderedState,s=o(a,t);if(i.hasEagerState=!0,i.eagerState=s,Nt(s,a)){var l=n.interleaved;l===null?(i.next=i,Kf(n)):(i.next=l.next,l.next=i),n.interleaved=i;return}}catch{}finally{}t=T1(e,n,i,r),t!==null&&(i=Wn(),jt(t,e,r,i),Z1(t,n,r))}}function Q1(e){var n=e.alternate;return e===en||n!==null&&n===en}function J1(e,n){ya=Bl=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Z1(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Af(e,t)}}var Ul={readContext:St,useCallback:Rn,useContext:Rn,useEffect:Rn,useImperativeHandle:Rn,useInsertionEffect:Rn,useLayoutEffect:Rn,useMemo:Rn,useReducer:Rn,useRef:Rn,useState:Rn,useDebugValue:Rn,useDeferredValue:Rn,useTransition:Rn,useMutableSource:Rn,useSyncExternalStore:Rn,useId:Rn,unstable_isNewReconciler:!1},AS={readContext:St,useCallback:function(e,n){return zt().memoizedState=[e,n===void 0?null:n],e},useContext:St,useEffect:mg,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,ul(4194308,4,V1.bind(null,n,e),t)},useLayoutEffect:function(e,n){return ul(4194308,4,e,n)},useInsertionEffect:function(e,n){return ul(4,2,e,n)},useMemo:function(e,n){var t=zt();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=zt();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=IS.bind(null,en,e),[r.memoizedState,e]},useRef:function(e){var n=zt();return e={current:e},n.memoizedState=e},useState:hg,useDebugValue:nh,useDeferredValue:function(e){return zt().memoizedState=e},useTransition:function(){var e=hg(!1),n=e[0];return e=OS.bind(null,e[1]),zt().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=en,i=zt();if(Je){if(t===void 0)throw Error(W(407));t=t()}else{if(t=n(),wn===null)throw Error(W(349));yi&30||$1(r,n,t)}i.memoizedState=t;var o={value:t,getSnapshot:n};return i.queue=o,mg(F1.bind(null,r,o,e),[e]),r.flags|=2048,Va(9,z1.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=zt(),n=wn.identifierPrefix;if(Je){var t=rr,r=tr;t=(r&~(1<<32-Lt(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Wa++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(t,{is:r.is}):(e=a.createElement(t),t==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,t),e[Ut]=n,e[Da]=r,lx(e,n,!1,!1),n.stateNode=e;e:{switch(a=qd(t,r),t){case"dialog":Ke("cancel",e),Ke("close",e),i=r;break;case"iframe":case"object":case"embed":Ke("load",e),i=r;break;case"video":case"audio":for(i=0;iSo&&(n.flags|=128,r=!0,Ko(o,!1),n.lanes=4194304)}else{if(!r)if(e=Dl(a),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),Ko(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Je)return An(n),null}else 2*sn()-o.renderingStartTime>So&&t!==1073741824&&(n.flags|=128,r=!0,Ko(o,!1),n.lanes=4194304);o.isBackwards?(a.sibling=n.child,n.child=a):(t=o.last,t!==null?t.sibling=a:n.child=a,o.last=a)}return o.tail!==null?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=sn(),n.sibling=null,t=Ze.current,We(Ze,r?t&1|2:t&1),n):(An(n),null);case 22:case 23:return sh(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?ot&1073741824&&(An(n),n.subtreeFlags&6&&(n.flags|=8192)):An(n),null;case 24:return null;case 25:return null}throw Error(W(156,n.tag))}function DC(e,n){switch(Bp(n),n.tag){case 1:return Qn(n.type)&&Ll(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return wo(),Ye(Xn),Ye(jn),Xp(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return qp(n),null;case 13:if(Ye(Ze),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(W(340));bo()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Ye(Ze),null;case 4:return wo(),null;case 10:return Vp(n.type._context),null;case 22:case 23:return sh(),null;case 24:return null;default:return null}}var js=!1,Mn=!1,BC=typeof WeakSet=="function"?WeakSet:Set,J=null;function Qi(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){on(e,n,r)}else t.current=null}function Cf(e,n,t){try{t()}catch(r){on(e,n,r)}}var Sg=!1;function UC(e,n){if(af=Ol,e=h1(),Fp(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var a=0,s=-1,l=-1,u=0,c=0,d=e,f=null;n:for(;;){for(var p;d!==t||i!==0&&d.nodeType!==3||(s=a+i),d!==o||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break n;if(f===t&&++u===i&&(s=a),f===o&&++c===r&&(l=a),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}t=s===-1||l===-1?null:{start:s,end:l}}else t=null}t=t||{start:0,end:0}}else t=null;for(sf={focusedElem:e,selectionRange:t},Ol=!1,J=n;J!==null;)if(n=J,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,J=e;else for(;J!==null;){n=J;try{var g=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,w=g.memoizedState,h=n.stateNode,m=h.getSnapshotBeforeUpdate(n.elementType===n.type?y:Ot(n.type,y),w);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=n.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(W(163))}}catch(b){on(n,n.return,b)}if(e=n.sibling,e!==null){e.return=n.return,J=e;break}J=n.return}return g=Sg,Sg=!1,g}function va(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Cf(n,t,o)}i=i.next}while(i!==r)}}function Pu(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Sf(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function dx(e){var n=e.alternate;n!==null&&(e.alternate=null,dx(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ut],delete n[Da],delete n[cf],delete n[SC],delete n[EC])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function fx(e){return e.tag===5||e.tag===3||e.tag===4}function Eg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fx(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ef(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Al));else if(r!==4&&(e=e.child,e!==null))for(Ef(e,n,t),e=e.sibling;e!==null;)Ef(e,n,t),e=e.sibling}function _f(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(_f(e,n,t),e=e.sibling;e!==null;)_f(e,n,t),e=e.sibling}var En=null,It=!1;function gr(e,n,t){for(t=t.child;t!==null;)px(e,n,t),t=t.sibling}function px(e,n,t){if(Kt&&typeof Kt.onCommitFiberUnmount=="function")try{Kt.onCommitFiberUnmount(xu,t)}catch{}switch(t.tag){case 5:Mn||Qi(t,n);case 6:var r=En,i=It;En=null,gr(e,n,t),En=r,It=i,En!==null&&(It?(e=En,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):En.removeChild(t.stateNode));break;case 18:En!==null&&(It?(e=En,t=t.stateNode,e.nodeType===8?Qc(e.parentNode,t):e.nodeType===1&&Qc(e,t),Na(e)):Qc(En,t.stateNode));break;case 4:r=En,i=It,En=t.stateNode.containerInfo,It=!0,gr(e,n,t),En=r,It=i;break;case 0:case 11:case 14:case 15:if(!Mn&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&Cf(t,n,a),i=i.next}while(i!==r)}gr(e,n,t);break;case 1:if(!Mn&&(Qi(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(s){on(t,n,s)}gr(e,n,t);break;case 21:gr(e,n,t);break;case 22:t.mode&1?(Mn=(r=Mn)||t.memoizedState!==null,gr(e,n,t),Mn=r):gr(e,n,t);break;default:gr(e,n,t)}}function _g(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new BC),n.forEach(function(r){var i=QC.bind(null,e,r);t.has(r)||(t.add(r),r.then(i,i))})}}function Tt(e,n){var t=n.deletions;if(t!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=sn()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*HC(r/1960))-r,10e?16:e,Er===null)var r=!1;else{if(e=Er,Er=null,Vl=0,Pe&6)throw Error(W(331));var i=Pe;for(Pe|=4,J=e.current;J!==null;){var o=J,a=o.child;if(J.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lsn()-oh?ci(e,0):ih|=t),Jn(e,n)}function kx(e,n){n===0&&(e.mode&1?(n=Ts,Ts<<=1,!(Ts&130023424)&&(Ts=4194304)):n=1);var t=Wn();e=sr(e,n),e!==null&&(us(e,n,t),Jn(e,t))}function XC(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),kx(e,t)}function QC(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(t=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(W(314))}r!==null&&r.delete(n),kx(e,t)}var wx;wx=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||Xn.current)Yn=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return Yn=!1,zC(e,n,t);Yn=!!(e.flags&131072)}else Yn=!1,Je&&n.flags&1048576&&E1(n,$l,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;cl(e,n),e=n.pendingProps;var i=xo(n,jn.current);uo(n,t),i=Jp(null,n,r,e,i,t);var o=Zp();return n.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Qn(r)?(o=!0,Ml(n)):o=!1,n.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Gp(n),i.updater=Eu,n.stateNode=i,i._reactInternals=n,gf(n,r,e,t),n=xf(null,n,r,!0,o,t)):(n.tag=0,Je&&o&&Dp(n),Dn(null,n,i,t),n=n.child),n;case 16:r=n.elementType;e:{switch(cl(e,n),e=n.pendingProps,i=r._init,r=i(r._payload),n.type=r,i=n.tag=ZC(r),e=Ot(r,e),i){case 0:n=vf(null,n,r,e,t);break e;case 1:n=kg(null,n,r,e,t);break e;case 11:n=xg(null,n,r,e,t);break e;case 14:n=bg(null,n,r,Ot(r.type,e),t);break e}throw Error(W(306,r,""))}return n;case 0:return r=n.type,i=n.pendingProps,i=n.elementType===r?i:Ot(r,i),vf(e,n,r,i,t);case 1:return r=n.type,i=n.pendingProps,i=n.elementType===r?i:Ot(r,i),kg(e,n,r,i,t);case 3:e:{if(ox(n),e===null)throw Error(W(387));r=n.pendingProps,o=n.memoizedState,i=o.element,O1(e,n),Fl(n,r,null,t);var a=n.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},n.updateQueue.baseState=o,n.memoizedState=o,n.flags&256){i=Co(Error(W(423)),n),n=wg(e,n,r,t,i);break e}else if(r!==i){i=Co(Error(W(424)),n),n=wg(e,n,r,t,i);break e}else for(st=Ir(n.stateNode.containerInfo.firstChild),ut=n,Je=!0,Rt=null,t=L1(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(bo(),r===i){n=lr(e,n,t);break e}Dn(e,n,r,t)}n=n.child}return n;case 5:return M1(n),e===null&&pf(n),r=n.type,i=n.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,lf(r,i)?a=null:o!==null&&lf(r,o)&&(n.flags|=32),ix(e,n),Dn(e,n,a,t),n.child;case 6:return e===null&&pf(n),null;case 13:return ax(e,n,t);case 4:return Yp(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=ko(n,null,r,t):Dn(e,n,r,t),n.child;case 11:return r=n.type,i=n.pendingProps,i=n.elementType===r?i:Ot(r,i),xg(e,n,r,i,t);case 7:return Dn(e,n,n.pendingProps,t),n.child;case 8:return Dn(e,n,n.pendingProps.children,t),n.child;case 12:return Dn(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,i=n.pendingProps,o=n.memoizedProps,a=i.value,We(jl,r._currentValue),r._currentValue=a,o!==null)if($t(o.value,a)){if(o.children===i.children&&!Xn.current){n=lr(e,n,t);break e}}else for(o=n.child,o!==null&&(o.return=n);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=ir(-1,t&-t),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=t,l=o.alternate,l!==null&&(l.lanes|=t),hf(o.return,t,n),s.lanes|=t;break}l=l.next}}else if(o.tag===10)a=o.type===n.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(W(341));a.lanes|=t,s=a.alternate,s!==null&&(s.lanes|=t),hf(a,t,n),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===n){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Dn(e,n,i.children,t),n=n.child}return n;case 9:return i=n.type,r=n.pendingProps.children,uo(n,t),i=Ct(i),r=r(i),n.flags|=1,Dn(e,n,r,t),n.child;case 14:return r=n.type,i=Ot(r,n.pendingProps),i=Ot(r.type,i),bg(e,n,r,i,t);case 15:return tx(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,i=n.pendingProps,i=n.elementType===r?i:Ot(r,i),cl(e,n),n.tag=1,Qn(r)?(e=!0,Ml(n)):e=!1,uo(n,t),R1(n,r,i),gf(n,r,i,t),xf(null,n,r,!0,e,t);case 19:return sx(e,n,t);case 22:return rx(e,n,t)}throw Error(W(156,n.tag))};function Cx(e,n){return qv(e,n)}function JC(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kt(e,n,t,r){return new JC(e,n,t,r)}function uh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ZC(e){if(typeof e=="function")return uh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Tp)return 11;if(e===Op)return 14}return 2}function Mr(e,n){var t=e.alternate;return t===null?(t=kt(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function pl(e,n,t,r,i,o){var a=2;if(r=e,typeof e=="function")uh(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Ui:return di(t.children,i,o,n);case Pp:a=8,i|=8;break;case Fd:return e=kt(12,t,n,i|2),e.elementType=Fd,e.lanes=o,e;case Dd:return e=kt(13,t,n,i),e.elementType=Dd,e.lanes=o,e;case Bd:return e=kt(19,t,n,i),e.elementType=Bd,e.lanes=o,e;case Av:return Ou(t,i,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Iv:a=10;break e;case Rv:a=9;break e;case Tp:a=11;break e;case Op:a=14;break e;case br:a=16,r=null;break e}throw Error(W(130,e==null?e:typeof e,""))}return n=kt(a,t,n,i),n.elementType=e,n.type=r,n.lanes=o,n}function di(e,n,t,r){return e=kt(7,e,r,n),e.lanes=t,e}function Ou(e,n,t,r){return e=kt(22,e,r,n),e.elementType=Av,e.lanes=t,e.stateNode={isHidden:!1},e}function od(e,n,t){return e=kt(6,e,null,n),e.lanes=t,e}function ad(e,n,t){return n=kt(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function eS(e,n,t,r,i){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Dc(0),this.expirationTimes=Dc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dc(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ch(e,n,t,r,i,o,a,s,l){return e=new eS(e,n,t,s,l),n===1?(n=1,o===!0&&(n|=8)):n=0,o=kt(3,null,null,n),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gp(o),e}function nS(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Px)}catch(e){console.error(e)}}Px(),Ev.exports=ft;var Mu=Ev.exports;const la=ss(Mu);/** +`+o.stack}return{value:e,source:n,stack:i,digest:null}}function rd(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function yp(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var MS=typeof WeakMap=="function"?WeakMap:Map;function ex(e,n,t){t=ir(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Hl||(Hl=!0,Pp=r),yp(e,n)},t}function nx(e,n,t){t=ir(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=n.value;t.payload=function(){return r(i)},t.callback=function(){yp(e,n)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){yp(e,n),typeof r!="function"&&(Ar===null?Ar=new Set([this]):Ar.add(this));var a=n.stack;this.componentDidCatch(n.value,{componentStack:a!==null?a:""})}),t}function gg(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new MS;var i=new Set;r.set(n,i)}else i=r.get(n),i===void 0&&(i=new Set,r.set(n,i));i.has(t)||(i.add(t),e=YS.bind(null,e,n,t),n.then(e,e))}function yg(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function vg(e,n,t,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=ir(-1,1),n.tag=2,Rr(t,n,1))),t.lanes|=1),e)}var NS=pr.ReactCurrentOwner,qn=!1;function Dn(e,n,t,r){n.child=e===null?L1(n,null,t,r):ko(n,e.child,t,r)}function xg(e,n,t,r,i){t=t.render;var o=n.ref;return uo(n,i),r=Jf(e,n,t,r,o,i),t=Zf(),e!==null&&!qn?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~i,lr(e,n,i)):(Je&&t&&Df(n),n.flags|=1,Dn(e,n,r,i),n.child)}function bg(e,n,t,r,i){if(e===null){var o=t.type;return typeof o=="function"&&!uh(o)&&o.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=o,tx(e,n,o,r,i)):(e=fl(t.type,null,r,n,n.mode,i),e.ref=n.ref,e.return=n,n.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(t=t.compare,t=t!==null?t:$a,t(a,r)&&e.ref===n.ref)return lr(e,n,i)}return n.flags|=1,e=jr(o,r),e.ref=n.ref,e.return=n,n.child=e}function tx(e,n,t,r,i){if(e!==null){var o=e.memoizedProps;if($a(o,r)&&e.ref===n.ref)if(qn=!1,n.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(qn=!0);else return n.lanes=e.lanes,lr(e,n,i)}return vp(e,n,t,r,i)}function rx(e,n,t){var r=n.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},We(Zi,ot),ot|=t;else{if(!(t&1073741824))return e=o!==null?o.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,We(Zi,ot),ot|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:t,We(Zi,ot),ot|=r}else o!==null?(r=o.baseLanes|t,n.memoizedState=null):r=t,We(Zi,ot),ot|=r;return Dn(e,n,i,t),n.child}function ix(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function vp(e,n,t,r,i){var o=Qn(t)?mi:$n.current;return o=xo(n,o),uo(n,i),t=Jf(e,n,t,r,o,i),r=Zf(),e!==null&&!qn?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~i,lr(e,n,i)):(Je&&r&&Df(n),n.flags|=1,Dn(e,n,t,i),n.child)}function kg(e,n,t,r,i){if(Qn(t)){var o=!0;jl(n)}else o=!1;if(uo(n,i),n.stateNode===null)cl(e,n),R1(n,t,r),gp(n,t,r,i),r=!0;else if(e===null){var a=n.stateNode,s=n.memoizedProps;a.props=s;var l=a.context,u=t.contextType;typeof u=="object"&&u!==null?u=St(u):(u=Qn(t)?mi:$n.current,u=xo(n,u));var c=t.getDerivedStateFromProps,d=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&pg(n,a,r,u),kr=!1;var f=n.memoizedState;a.state=f,Fl(n,r,a,i),l=n.memoizedState,s!==r||f!==l||Xn.current||kr?(typeof c=="function"&&(mp(n,t,c,r),l=n.memoizedState),(s=kr||dg(n,t,s,r,f,l,u))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(n.flags|=4194308)):(typeof a.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):(typeof a.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{a=n.stateNode,O1(e,n),s=n.memoizedProps,u=n.type===n.elementType?s:Ot(n.type,s),a.props=u,d=n.pendingProps,f=a.context,l=t.contextType,typeof l=="object"&&l!==null?l=St(l):(l=Qn(t)?mi:$n.current,l=xo(n,l));var p=t.getDerivedStateFromProps;(c=typeof p=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||f!==l)&&pg(n,a,r,l),kr=!1,f=n.memoizedState,a.state=f,Fl(n,r,a,i);var g=n.memoizedState;s!==d||f!==g||Xn.current||kr?(typeof p=="function"&&(mp(n,t,p,r),g=n.memoizedState),(u=kr||dg(n,t,u,r,f,g,l)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,g,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,g,l)),typeof a.componentDidUpdate=="function"&&(n.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(n.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=g),a.props=r,a.state=g,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(n.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(n.flags|=1024),r=!1)}return xp(e,n,t,r,o,i)}function xp(e,n,t,r,i,o){ix(e,n);var a=(n.flags&128)!==0;if(!r&&!a)return i&&ag(n,t,!1),lr(e,n,o);r=n.stateNode,NS.current=n;var s=a&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&a?(n.child=ko(n,e.child,null,o),n.child=ko(n,null,s,o)):Dn(e,n,s,o),n.memoizedState=r.state,i&&ag(n,t,!0),n.child}function ox(e){var n=e.stateNode;n.pendingContext?og(e,n.pendingContext,n.pendingContext!==n.context):n.context&&og(e,n.context,!1),qf(e,n.containerInfo)}function wg(e,n,t,r,i){return bo(),Uf(i),n.flags|=256,Dn(e,n,t,r),n.child}var bp={dehydrated:null,treeContext:null,retryLane:0};function kp(e){return{baseLanes:e,cachePool:null,transitions:null}}function ax(e,n,t){var r=n.pendingProps,i=Ze.current,o=!1,a=(n.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),We(Ze,i&1),e===null)return fp(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(a=r.children,e=r.fallback,o?(r=n.mode,o=n.child,a={mode:"hidden",children:a},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=Ou(a,r,0,null),e=pi(e,r,t,null),o.return=n,e.return=n,o.sibling=e,n.child=o,n.child.memoizedState=kp(t),n.memoizedState=bp,e):th(n,a));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return $S(e,n,a,r,s,i,t);if(o){o=r.fallback,a=n.mode,i=e.child,s=i.sibling;var l={mode:"hidden",children:r.children};return!(a&1)&&n.child!==i?(r=n.child,r.childLanes=0,r.pendingProps=l,n.deletions=null):(r=jr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=jr(s,o):(o=pi(o,a,t,null),o.flags|=2),o.return=n,r.return=n,r.sibling=o,n.child=r,r=o,o=n.child,a=e.child.memoizedState,a=a===null?kp(t):{baseLanes:a.baseLanes|t,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~t,n.memoizedState=bp,r}return o=e.child,e=o.sibling,r=jr(o,{mode:"visible",children:r.children}),!(n.mode&1)&&(r.lanes=t),r.return=n,r.sibling=null,e!==null&&(t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=r,n.memoizedState=null,r}function th(e,n){return n=Ou({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function Ns(e,n,t,r){return r!==null&&Uf(r),ko(n,e.child,null,t),e=th(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function $S(e,n,t,r,i,o,a){if(t)return n.flags&256?(n.flags&=-257,r=rd(Error(W(422))),Ns(e,n,a,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(o=r.fallback,i=n.mode,r=Ou({mode:"visible",children:r.children},i,0,null),o=pi(o,i,a,null),o.flags|=2,r.return=n,o.return=n,r.sibling=o,n.child=r,n.mode&1&&ko(n,e.child,null,a),n.child.memoizedState=kp(a),n.memoizedState=bp,o);if(!(n.mode&1))return Ns(e,n,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(W(419)),r=rd(o,r,void 0),Ns(e,n,a,r)}if(s=(a&e.childLanes)!==0,qn||s){if(r=wn,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|a)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,sr(e,i),jt(r,e,i,-1))}return lh(),r=rd(Error(W(421))),Ns(e,n,a,r)}return i.data==="$?"?(n.flags|=128,n.child=e.child,n=XS.bind(null,e),i._reactRetry=n,null):(e=o.treeContext,st=Ir(i.nextSibling),ut=n,Je=!0,Rt=null,e!==null&&(vt[xt++]=tr,vt[xt++]=rr,vt[xt++]=gi,tr=e.id,rr=e.overflow,gi=n),n=th(n,r.children),n.flags|=4096,n)}function Sg(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),hp(e.return,n,t)}function id(e,n,t,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:i}:(o.isBackwards=n,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=t,o.tailMode=i)}function sx(e,n,t){var r=n.pendingProps,i=r.revealOrder,o=r.tail;if(Dn(e,n,r.children,t),r=Ze.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Sg(e,t,n);else if(e.tag===19)Sg(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(We(Ze,r),!(n.mode&1))n.memoizedState=null;else switch(i){case"forwards":for(t=n.child,i=null;t!==null;)e=t.alternate,e!==null&&Dl(e)===null&&(i=t),t=t.sibling;t=i,t===null?(i=n.child,n.child=null):(i=t.sibling,t.sibling=null),id(n,!1,i,t,o);break;case"backwards":for(t=null,i=n.child,n.child=null;i!==null;){if(e=i.alternate,e!==null&&Dl(e)===null){n.child=i;break}e=i.sibling,i.sibling=t,t=i,i=e}id(n,!0,t,null,o);break;case"together":id(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function cl(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function lr(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),vi|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(W(153));if(n.child!==null){for(e=n.child,t=jr(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=jr(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function zS(e,n,t){switch(n.tag){case 3:ox(n),bo();break;case 5:j1(n);break;case 1:Qn(n.type)&&jl(n);break;case 4:qf(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,i=n.memoizedProps.value;We($l,r._currentValue),r._currentValue=i;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(We(Ze,Ze.current&1),n.flags|=128,null):t&n.child.childLanes?ax(e,n,t):(We(Ze,Ze.current&1),e=lr(e,n,t),e!==null?e.sibling:null);We(Ze,Ze.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return sx(e,n,t);n.flags|=128}if(i=n.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),We(Ze,Ze.current),r)break;return null;case 22:case 23:return n.lanes=0,rx(e,n,t)}return lr(e,n,t)}var lx,wp,ux,cx;lx=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};wp=function(){};ux=function(e,n,t,r){var i=e.memoizedProps;if(i!==r){e=n.stateNode,oi(Gt.current);var o=null;switch(t){case"input":i=Hd(e,i),r=Hd(e,r),o=[];break;case"select":i=nn({},i,{value:void 0}),r=nn({},r,{value:void 0}),o=[];break;case"textarea":i=Gd(e,i),r=Gd(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Al)}Yd(t,r);var a;t=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(a in s)s.hasOwnProperty(a)&&(t||(t={}),t[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ia.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(s=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(t||(t={}),t[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(t||(t={}),t[a]=l[a])}else t||(o||(o=[]),o.push(u,t)),t=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ia.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Ke("scroll",e),o||s===l||(o=[])):(o=o||[]).push(u,l))}t&&(o=o||[]).push("style",t);var u=o;(n.updateQueue=u)&&(n.flags|=4)}};cx=function(e,n,t,r){t!==r&&(n.flags|=4)};function Ko(e,n){if(!Je)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function An(e){var n=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(n)for(var i=e.child;i!==null;)t|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)t|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function FS(e,n,t){var r=n.pendingProps;switch(Bf(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return An(n),null;case 1:return Qn(n.type)&&Ll(),An(n),null;case 3:return r=n.stateNode,wo(),qe(Xn),qe($n),Xf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(js(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,Rt!==null&&(Ip(Rt),Rt=null))),wp(e,n),An(n),null;case 5:Yf(n);var i=oi(Ua.current);if(t=n.type,e!==null&&n.stateNode!=null)ux(e,n,t,r,i),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(n.stateNode===null)throw Error(W(166));return An(n),null}if(e=oi(Gt.current),js(n)){r=n.stateNode,t=n.type;var o=n.memoizedProps;switch(r[Ut]=n,r[Da]=o,e=(n.mode&1)!==0,t){case"dialog":Ke("cancel",r),Ke("close",r);break;case"iframe":case"object":case"embed":Ke("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(t,{is:r.is}):(e=a.createElement(t),t==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,t),e[Ut]=n,e[Da]=r,lx(e,n,!1,!1),n.stateNode=e;e:{switch(a=Xd(t,r),t){case"dialog":Ke("cancel",e),Ke("close",e),i=r;break;case"iframe":case"object":case"embed":Ke("load",e),i=r;break;case"video":case"audio":for(i=0;iCo&&(n.flags|=128,r=!0,Ko(o,!1),n.lanes=4194304)}else{if(!r)if(e=Dl(a),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),Ko(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Je)return An(n),null}else 2*sn()-o.renderingStartTime>Co&&t!==1073741824&&(n.flags|=128,r=!0,Ko(o,!1),n.lanes=4194304);o.isBackwards?(a.sibling=n.child,n.child=a):(t=o.last,t!==null?t.sibling=a:n.child=a,o.last=a)}return o.tail!==null?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=sn(),n.sibling=null,t=Ze.current,We(Ze,r?t&1|2:t&1),n):(An(n),null);case 22:case 23:return sh(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?ot&1073741824&&(An(n),n.subtreeFlags&6&&(n.flags|=8192)):An(n),null;case 24:return null;case 25:return null}throw Error(W(156,n.tag))}function DS(e,n){switch(Bf(n),n.tag){case 1:return Qn(n.type)&&Ll(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return wo(),qe(Xn),qe($n),Xf(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return Yf(n),null;case 13:if(qe(Ze),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(W(340));bo()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return qe(Ze),null;case 4:return wo(),null;case 10:return Vf(n.type._context),null;case 22:case 23:return sh(),null;case 24:return null;default:return null}}var $s=!1,jn=!1,BS=typeof WeakSet=="function"?WeakSet:Set,J=null;function Ji(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){on(e,n,r)}else t.current=null}function Sp(e,n,t){try{t()}catch(r){on(e,n,r)}}var Cg=!1;function US(e,n){if(ap=Ol,e=h1(),Ff(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var a=0,s=-1,l=-1,u=0,c=0,d=e,f=null;n:for(;;){for(var p;d!==t||i!==0&&d.nodeType!==3||(s=a+i),d!==o||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break n;if(f===t&&++u===i&&(s=a),f===o&&++c===r&&(l=a),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}t=s===-1||l===-1?null:{start:s,end:l}}else t=null}t=t||{start:0,end:0}}else t=null;for(sp={focusedElem:e,selectionRange:t},Ol=!1,J=n;J!==null;)if(n=J,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,J=e;else for(;J!==null;){n=J;try{var g=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,w=g.memoizedState,h=n.stateNode,m=h.getSnapshotBeforeUpdate(n.elementType===n.type?y:Ot(n.type,y),w);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=n.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(W(163))}}catch(b){on(n,n.return,b)}if(e=n.sibling,e!==null){e.return=n.return,J=e;break}J=n.return}return g=Cg,Cg=!1,g}function va(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Sp(n,t,o)}i=i.next}while(i!==r)}}function Pu(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Cp(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function dx(e){var n=e.alternate;n!==null&&(e.alternate=null,dx(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ut],delete n[Da],delete n[cp],delete n[CS],delete n[_S])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function px(e){return e.tag===5||e.tag===3||e.tag===4}function _g(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||px(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function _p(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Al));else if(r!==4&&(e=e.child,e!==null))for(_p(e,n,t),e=e.sibling;e!==null;)_p(e,n,t),e=e.sibling}function Ep(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ep(e,n,t),e=e.sibling;e!==null;)Ep(e,n,t),e=e.sibling}var _n=null,It=!1;function gr(e,n,t){for(t=t.child;t!==null;)fx(e,n,t),t=t.sibling}function fx(e,n,t){if(Kt&&typeof Kt.onCommitFiberUnmount=="function")try{Kt.onCommitFiberUnmount(xu,t)}catch{}switch(t.tag){case 5:jn||Ji(t,n);case 6:var r=_n,i=It;_n=null,gr(e,n,t),_n=r,It=i,_n!==null&&(It?(e=_n,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):_n.removeChild(t.stateNode));break;case 18:_n!==null&&(It?(e=_n,t=t.stateNode,e.nodeType===8?Qc(e.parentNode,t):e.nodeType===1&&Qc(e,t),Ma(e)):Qc(_n,t.stateNode));break;case 4:r=_n,i=It,_n=t.stateNode.containerInfo,It=!0,gr(e,n,t),_n=r,It=i;break;case 0:case 11:case 14:case 15:if(!jn&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&Sp(t,n,a),i=i.next}while(i!==r)}gr(e,n,t);break;case 1:if(!jn&&(Ji(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(s){on(t,n,s)}gr(e,n,t);break;case 21:gr(e,n,t);break;case 22:t.mode&1?(jn=(r=jn)||t.memoizedState!==null,gr(e,n,t),jn=r):gr(e,n,t);break;default:gr(e,n,t)}}function Eg(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new BS),n.forEach(function(r){var i=QS.bind(null,e,r);t.has(r)||(t.add(r),r.then(i,i))})}}function Tt(e,n){var t=n.deletions;if(t!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=sn()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*HS(r/1960))-r,10e?16:e,_r===null)var r=!1;else{if(e=_r,_r=null,Vl=0,Pe&6)throw Error(W(331));var i=Pe;for(Pe|=4,J=e.current;J!==null;){var o=J,a=o.child;if(J.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lsn()-oh?di(e,0):ih|=t),Jn(e,n)}function kx(e,n){n===0&&(e.mode&1?(n=Ts,Ts<<=1,!(Ts&130023424)&&(Ts=4194304)):n=1);var t=Wn();e=sr(e,n),e!==null&&(us(e,n,t),Jn(e,t))}function XS(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),kx(e,t)}function QS(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(t=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(W(314))}r!==null&&r.delete(n),kx(e,t)}var wx;wx=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||Xn.current)qn=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return qn=!1,zS(e,n,t);qn=!!(e.flags&131072)}else qn=!1,Je&&n.flags&1048576&&_1(n,Nl,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;cl(e,n),e=n.pendingProps;var i=xo(n,$n.current);uo(n,t),i=Jf(null,n,r,e,i,t);var o=Zf();return n.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Qn(r)?(o=!0,jl(n)):o=!1,n.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Gf(n),i.updater=_u,n.stateNode=i,i._reactInternals=n,gp(n,r,e,t),n=xp(null,n,r,!0,o,t)):(n.tag=0,Je&&o&&Df(n),Dn(null,n,i,t),n=n.child),n;case 16:r=n.elementType;e:{switch(cl(e,n),e=n.pendingProps,i=r._init,r=i(r._payload),n.type=r,i=n.tag=ZS(r),e=Ot(r,e),i){case 0:n=vp(null,n,r,e,t);break e;case 1:n=kg(null,n,r,e,t);break e;case 11:n=xg(null,n,r,e,t);break e;case 14:n=bg(null,n,r,Ot(r.type,e),t);break e}throw Error(W(306,r,""))}return n;case 0:return r=n.type,i=n.pendingProps,i=n.elementType===r?i:Ot(r,i),vp(e,n,r,i,t);case 1:return r=n.type,i=n.pendingProps,i=n.elementType===r?i:Ot(r,i),kg(e,n,r,i,t);case 3:e:{if(ox(n),e===null)throw Error(W(387));r=n.pendingProps,o=n.memoizedState,i=o.element,O1(e,n),Fl(n,r,null,t);var a=n.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},n.updateQueue.baseState=o,n.memoizedState=o,n.flags&256){i=So(Error(W(423)),n),n=wg(e,n,r,t,i);break e}else if(r!==i){i=So(Error(W(424)),n),n=wg(e,n,r,t,i);break e}else for(st=Ir(n.stateNode.containerInfo.firstChild),ut=n,Je=!0,Rt=null,t=L1(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(bo(),r===i){n=lr(e,n,t);break e}Dn(e,n,r,t)}n=n.child}return n;case 5:return j1(n),e===null&&fp(n),r=n.type,i=n.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,lp(r,i)?a=null:o!==null&&lp(r,o)&&(n.flags|=32),ix(e,n),Dn(e,n,a,t),n.child;case 6:return e===null&&fp(n),null;case 13:return ax(e,n,t);case 4:return qf(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=ko(n,null,r,t):Dn(e,n,r,t),n.child;case 11:return r=n.type,i=n.pendingProps,i=n.elementType===r?i:Ot(r,i),xg(e,n,r,i,t);case 7:return Dn(e,n,n.pendingProps,t),n.child;case 8:return Dn(e,n,n.pendingProps.children,t),n.child;case 12:return Dn(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,i=n.pendingProps,o=n.memoizedProps,a=i.value,We($l,r._currentValue),r._currentValue=a,o!==null)if(Nt(o.value,a)){if(o.children===i.children&&!Xn.current){n=lr(e,n,t);break e}}else for(o=n.child,o!==null&&(o.return=n);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=ir(-1,t&-t),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=t,l=o.alternate,l!==null&&(l.lanes|=t),hp(o.return,t,n),s.lanes|=t;break}l=l.next}}else if(o.tag===10)a=o.type===n.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(W(341));a.lanes|=t,s=a.alternate,s!==null&&(s.lanes|=t),hp(a,t,n),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===n){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Dn(e,n,i.children,t),n=n.child}return n;case 9:return i=n.type,r=n.pendingProps.children,uo(n,t),i=St(i),r=r(i),n.flags|=1,Dn(e,n,r,t),n.child;case 14:return r=n.type,i=Ot(r,n.pendingProps),i=Ot(r.type,i),bg(e,n,r,i,t);case 15:return tx(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,i=n.pendingProps,i=n.elementType===r?i:Ot(r,i),cl(e,n),n.tag=1,Qn(r)?(e=!0,jl(n)):e=!1,uo(n,t),R1(n,r,i),gp(n,r,i,t),xp(null,n,r,!0,e,t);case 19:return sx(e,n,t);case 22:return rx(e,n,t)}throw Error(W(156,n.tag))};function Sx(e,n){return Yv(e,n)}function JS(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kt(e,n,t,r){return new JS(e,n,t,r)}function uh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ZS(e){if(typeof e=="function")return uh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Tf)return 11;if(e===Of)return 14}return 2}function jr(e,n){var t=e.alternate;return t===null?(t=kt(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function fl(e,n,t,r,i,o){var a=2;if(r=e,typeof e=="function")uh(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Wi:return pi(t.children,i,o,n);case Pf:a=8,i|=8;break;case Dd:return e=kt(12,t,n,i|2),e.elementType=Dd,e.lanes=o,e;case Bd:return e=kt(13,t,n,i),e.elementType=Bd,e.lanes=o,e;case Ud:return e=kt(19,t,n,i),e.elementType=Ud,e.lanes=o,e;case Av:return Ou(t,i,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Iv:a=10;break e;case Rv:a=9;break e;case Tf:a=11;break e;case Of:a=14;break e;case br:a=16,r=null;break e}throw Error(W(130,e==null?e:typeof e,""))}return n=kt(a,t,n,i),n.elementType=e,n.type=r,n.lanes=o,n}function pi(e,n,t,r){return e=kt(7,e,r,n),e.lanes=t,e}function Ou(e,n,t,r){return e=kt(22,e,r,n),e.elementType=Av,e.lanes=t,e.stateNode={isHidden:!1},e}function od(e,n,t){return e=kt(6,e,null,n),e.lanes=t,e}function ad(e,n,t){return n=kt(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function eC(e,n,t,r,i){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Dc(0),this.expirationTimes=Dc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dc(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ch(e,n,t,r,i,o,a,s,l){return e=new eC(e,n,t,s,l),n===1?(n=1,o===!0&&(n|=8)):n=0,o=kt(3,null,null,n),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gf(o),e}function nC(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Px)}catch(e){console.error(e)}}Px(),_v.exports=pt;var ju=_v.exports;const la=ss(ju);var jg=ju;zd.createRoot=jg.createRoot,zd.hydrateRoot=jg.hydrateRoot;/** * @remix-run/router v1.14.2 * * Copyright (c) Remix Software Inc. @@ -46,7 +46,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Ga(){return Ga=Object.assign?Object.assign.bind():function(e){for(var n=1;n"u")throw new Error(n)}function sS(){return Math.random().toString(36).substr(2,8)}function Ng(e,n){return{usr:e.state,key:e.key,idx:n}}function Rf(e,n,t,r){return t===void 0&&(t=null),Ga({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof n=="string"?Nu(n):n,{state:t,key:n&&n.key||r||sS()})}function Yl(e){let{pathname:n="/",search:t="",hash:r=""}=e;return t&&t!=="?"&&(n+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(n+=r.charAt(0)==="#"?r:"#"+r),n}function Nu(e){let n={};if(e){let t=e.indexOf("#");t>=0&&(n.hash=e.substr(t),e=e.substr(0,t));let r=e.indexOf("?");r>=0&&(n.search=e.substr(r),e=e.substr(0,r)),e&&(n.pathname=e)}return n}function lS(e,n,t,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=oi.Pop,l=null,u=c();u==null&&(u=0,a.replaceState(Ga({},a.state,{idx:u}),""));function c(){return(a.state||{idx:null}).idx}function d(){s=oi.Pop;let w=c(),h=w==null?null:w-u;u=w,l&&l({action:s,location:y.location,delta:h})}function f(w,h){s=oi.Push;let m=Rf(y.location,w,h);t&&t(m,w),u=c()+1;let v=Ng(m,u),b=y.createHref(m);try{a.pushState(v,"",b)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;i.location.assign(b)}o&&l&&l({action:s,location:y.location,delta:1})}function p(w,h){s=oi.Replace;let m=Rf(y.location,w,h);t&&t(m,w),u=c();let v=Ng(m,u),b=y.createHref(m);a.replaceState(v,"",b),o&&l&&l({action:s,location:y.location,delta:0})}function g(w){let h=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof w=="string"?w:Yl(w);return Nt(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let y={get action(){return s},get location(){return e(i,a)},listen(w){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Mg,d),l=w,()=>{i.removeEventListener(Mg,d),l=null}},createHref(w){return n(i,w)},createURL:g,encodeLocation(w){let h=g(w);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:f,replace:p,go(w){return a.go(w)}};return y}var $g;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})($g||($g={}));function Tx(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let t=n.endsWith("/")?n.length-1:n.length,r=e.charAt(t);return r&&r!=="/"?null:e.slice(t)||"/"}function uS(e,n){n===void 0&&(n="/");let{pathname:t,search:r="",hash:i=""}=typeof e=="string"?Nu(e):e;return{pathname:t?t.startsWith("/")?t:cS(t,n):n,search:fS(r),hash:pS(i)}}function cS(e,n){let t=n.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?t.length>1&&t.pop():i!=="."&&t.push(i)}),t.length>1?t.join("/"):"/"}function sd(e,n,t,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+n+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+t+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function dS(e){return e.filter((n,t)=>t===0||n.route.path&&n.route.path.length>0)}function Ox(e,n){let t=dS(e);return n?t.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):t.map(r=>r.pathnameBase)}function Ix(e,n,t,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Nu(e):(i=Ga({},e),Nt(!i.pathname||!i.pathname.includes("?"),sd("?","pathname","search",i)),Nt(!i.pathname||!i.pathname.includes("#"),sd("#","pathname","hash",i)),Nt(!i.search||!i.search.includes("#"),sd("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,s;if(a==null)s=t;else{let d=n.length-1;if(!r&&a.startsWith("..")){let f=a.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}s=d>=0?n[d]:"/"}let l=uS(i,s),u=a&&a!=="/"&&a.endsWith("/"),c=(o||a===".")&&t.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Rx=e=>e.join("/").replace(/\/\/+/g,"/"),fS=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,pS=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Ax=["post","put","patch","delete"];new Set(Ax);const hS=["get",...Ax];new Set(hS);/** + */function Ga(){return Ga=Object.assign?Object.assign.bind():function(e){for(var n=1;n"u")throw new Error(n)}function sC(){return Math.random().toString(36).substr(2,8)}function Ng(e,n){return{usr:e.state,key:e.key,idx:n}}function Rp(e,n,t,r){return t===void 0&&(t=null),Ga({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof n=="string"?Mu(n):n,{state:t,key:n&&n.key||r||sC()})}function ql(e){let{pathname:n="/",search:t="",hash:r=""}=e;return t&&t!=="?"&&(n+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(n+=r.charAt(0)==="#"?r:"#"+r),n}function Mu(e){let n={};if(e){let t=e.indexOf("#");t>=0&&(n.hash=e.substr(t),e=e.substr(0,t));let r=e.indexOf("?");r>=0&&(n.search=e.substr(r),e=e.substr(0,r)),e&&(n.pathname=e)}return n}function lC(e,n,t,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=ai.Pop,l=null,u=c();u==null&&(u=0,a.replaceState(Ga({},a.state,{idx:u}),""));function c(){return(a.state||{idx:null}).idx}function d(){s=ai.Pop;let w=c(),h=w==null?null:w-u;u=w,l&&l({action:s,location:y.location,delta:h})}function f(w,h){s=ai.Push;let m=Rp(y.location,w,h);t&&t(m,w),u=c()+1;let v=Ng(m,u),b=y.createHref(m);try{a.pushState(v,"",b)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;i.location.assign(b)}o&&l&&l({action:s,location:y.location,delta:1})}function p(w,h){s=ai.Replace;let m=Rp(y.location,w,h);t&&t(m,w),u=c();let v=Ng(m,u),b=y.createHref(m);a.replaceState(v,"",b),o&&l&&l({action:s,location:y.location,delta:0})}function g(w){let h=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof w=="string"?w:ql(w);return Mt(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let y={get action(){return s},get location(){return e(i,a)},listen(w){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Mg,d),l=w,()=>{i.removeEventListener(Mg,d),l=null}},createHref(w){return n(i,w)},createURL:g,encodeLocation(w){let h=g(w);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:f,replace:p,go(w){return a.go(w)}};return y}var $g;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})($g||($g={}));function Tx(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let t=n.endsWith("/")?n.length-1:n.length,r=e.charAt(t);return r&&r!=="/"?null:e.slice(t)||"/"}function uC(e,n){n===void 0&&(n="/");let{pathname:t,search:r="",hash:i=""}=typeof e=="string"?Mu(e):e;return{pathname:t?t.startsWith("/")?t:cC(t,n):n,search:pC(r),hash:fC(i)}}function cC(e,n){let t=n.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?t.length>1&&t.pop():i!=="."&&t.push(i)}),t.length>1?t.join("/"):"/"}function sd(e,n,t,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+n+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+t+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function dC(e){return e.filter((n,t)=>t===0||n.route.path&&n.route.path.length>0)}function Ox(e,n){let t=dC(e);return n?t.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):t.map(r=>r.pathnameBase)}function Ix(e,n,t,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Mu(e):(i=Ga({},e),Mt(!i.pathname||!i.pathname.includes("?"),sd("?","pathname","search",i)),Mt(!i.pathname||!i.pathname.includes("#"),sd("#","pathname","hash",i)),Mt(!i.search||!i.search.includes("#"),sd("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,s;if(a==null)s=t;else{let d=n.length-1;if(!r&&a.startsWith("..")){let f=a.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}s=d>=0?n[d]:"/"}let l=uC(i,s),u=a&&a!=="/"&&a.endsWith("/"),c=(o||a===".")&&t.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Rx=e=>e.join("/").replace(/\/\/+/g,"/"),pC=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,fC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Ax=["post","put","patch","delete"];new Set(Ax);const hC=["get",...Ax];new Set(hC);/** * React Router v6.21.3 * * Copyright (c) Remix Software Inc. @@ -55,7 +55,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ql(){return ql=Object.assign?Object.assign.bind():function(e){for(var n=1;n{s.current=!0}),x.useCallback(function(u,c){if(c===void 0&&(c={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let d=Ix(u,JSON.parse(a),o,c.relative==="path");e==null&&n!=="/"&&(d.pathname=d.pathname==="/"?n:Rx([n,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[n,r,a,o,e])}function $x(e,n){let{relative:t}=n===void 0?{}:n,{future:r}=x.useContext(No),{matches:i}=x.useContext($u),{pathname:o}=zu(),a=JSON.stringify(Ox(i,r.v7_relativeSplatPath));return x.useMemo(()=>Ix(e,JSON.parse(a),o,t==="path"),[e,a,o,t])}var jx=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(jx||{}),zx=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(zx||{});function yS(e){let n=x.useContext(Lx);return n||Nt(!1),n}function vS(e){let n=x.useContext($u);return n||Nt(!1),n}function xS(e){let n=vS(),t=n.matches[n.matches.length-1];return t.route.id||Nt(!1),t.route.id}function bS(){let{router:e}=yS(jx.UseNavigateStable),n=xS(zx.UseNavigateStable),t=x.useRef(!1);return Mx(()=>{t.current=!0}),x.useCallback(function(i,o){o===void 0&&(o={}),t.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,ql({fromRouteId:n},o)))},[e,n])}function kS(e){let{basename:n="/",children:t=null,location:r,navigationType:i=oi.Pop,navigator:o,static:a=!1,future:s}=e;ju()&&Nt(!1);let l=n.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:l,navigator:o,static:a,future:ql({v7_relativeSplatPath:!1},s)}),[l,s,o,a]);typeof r=="string"&&(r=Nu(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:g="default"}=r,y=x.useMemo(()=>{let w=Tx(c,l);return w==null?null:{location:{pathname:w,search:d,hash:f,state:p,key:g},navigationType:i}},[l,c,d,f,p,g,i]);return y==null?null:x.createElement(No.Provider,{value:u},x.createElement(hh.Provider,{children:t,value:y}))}new Promise(()=>{});/** + */function Yl(){return Yl=Object.assign?Object.assign.bind():function(e){for(var n=1;n{s.current=!0}),x.useCallback(function(u,c){if(c===void 0&&(c={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let d=Ix(u,JSON.parse(a),o,c.relative==="path");e==null&&n!=="/"&&(d.pathname=d.pathname==="/"?n:Rx([n,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[n,r,a,o,e])}function Nx(e,n){let{relative:t}=n===void 0?{}:n,{future:r}=x.useContext(Mo),{matches:i}=x.useContext(Nu),{pathname:o}=zu(),a=JSON.stringify(Ox(i,r.v7_relativeSplatPath));return x.useMemo(()=>Ix(e,JSON.parse(a),o,t==="path"),[e,a,o,t])}var $x=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}($x||{}),zx=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(zx||{});function yC(e){let n=x.useContext(Lx);return n||Mt(!1),n}function vC(e){let n=x.useContext(Nu);return n||Mt(!1),n}function xC(e){let n=vC(),t=n.matches[n.matches.length-1];return t.route.id||Mt(!1),t.route.id}function bC(){let{router:e}=yC($x.UseNavigateStable),n=xC(zx.UseNavigateStable),t=x.useRef(!1);return jx(()=>{t.current=!0}),x.useCallback(function(i,o){o===void 0&&(o={}),t.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Yl({fromRouteId:n},o)))},[e,n])}function kC(e){let{basename:n="/",children:t=null,location:r,navigationType:i=ai.Pop,navigator:o,static:a=!1,future:s}=e;$u()&&Mt(!1);let l=n.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:l,navigator:o,static:a,future:Yl({v7_relativeSplatPath:!1},s)}),[l,s,o,a]);typeof r=="string"&&(r=Mu(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:g="default"}=r,y=x.useMemo(()=>{let w=Tx(c,l);return w==null?null:{location:{pathname:w,search:d,hash:f,state:p,key:g},navigationType:i}},[l,c,d,f,p,g,i]);return y==null?null:x.createElement(Mo.Provider,{value:u},x.createElement(hh.Provider,{children:t,value:y}))}new Promise(()=>{});/** * React Router DOM v6.21.3 * * Copyright (c) Remix Software Inc. @@ -64,14 +64,14 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Af(){return Af=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0)&&(t[i]=e[i]);return t}function CS(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function SS(e,n){return e.button===0&&(!n||n==="_self")&&!CS(e)}const ES=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],_S="startTransition",jg=Cl[_S];function PS(e){let{basename:n,children:t,future:r,window:i}=e,o=x.useRef();o.current==null&&(o.current=aS({window:i,v5Compat:!0}));let a=o.current,[s,l]=x.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},c=x.useCallback(d=>{u&&jg?jg(()=>l(d)):l(d)},[l,u]);return x.useLayoutEffect(()=>a.listen(c),[a,c]),x.createElement(kS,{basename:n,children:t,location:s.location,navigationType:s.action,navigator:a,future:r})}const TS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",OS=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zg=x.forwardRef(function(n,t){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:l,to:u,preventScrollReset:c,unstable_viewTransition:d}=n,f=wS(n,ES),{basename:p}=x.useContext(No),g,y=!1;if(typeof u=="string"&&OS.test(u)&&(g=u,TS))try{let v=new URL(window.location.href),b=u.startsWith("//")?new URL(v.protocol+u):new URL(u),E=Tx(b.pathname,p);b.origin===v.origin&&E!=null?u=E+b.search+b.hash:y=!0}catch{}let w=mS(u,{relative:i}),h=IS(u,{replace:a,state:s,target:l,preventScrollReset:c,relative:i,unstable_viewTransition:d});function m(v){r&&r(v),v.defaultPrevented||h(v)}return x.createElement("a",Af({},f,{href:g||w,onClick:y||o?r:m,ref:t,target:l}))});var Fg;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Fg||(Fg={}));var Dg;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Dg||(Dg={}));function IS(e,n){let{target:t,replace:r,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:s}=n===void 0?{}:n,l=Nx(),u=zu(),c=$x(e,{relative:a});return x.useCallback(d=>{if(SS(d,t)){d.preventDefault();let f=r!==void 0?r:Yl(u)===Yl(c);l(e,{replace:f,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:s})}},[u,l,c,r,i,t,e,o,a,s])}var Lf={},Bg=Mu;Lf.createRoot=Bg.createRoot,Lf.hydrateRoot=Bg.hydrateRoot;const RS={black:"#000",white:"#fff"},Ya=RS,AS={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ii=AS,LS={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ri=LS,MS={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ai=MS,NS={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Li=NS,$S={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Mi=$S,jS={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Yo=jS,zS={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},FS=zS;function P(){return P=Object.assign?Object.assign.bind():function(e){for(var n=1;n{n[t]=Fx(e[t])}),n}function Nn(e,n,t={clone:!0}){const r=t.clone?P({},e):e;return er(e)&&er(n)&&Object.keys(n).forEach(i=>{i!=="__proto__"&&(er(n[i])&&i in e&&er(e[i])?r[i]=Nn(e[i],n[i],t):t.clone?r[i]=er(n[i])?Fx(n[i]):n[i]:r[i]=n[i])}),r}var Dx={exports:{}},DS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",BS=DS,US=BS;function Bx(){}function Ux(){}Ux.resetWarningCache=Bx;var WS=function(){function e(r,i,o,a,s,l){if(l!==US){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function n(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:Ux,resetWarningCache:Bx};return t.PropTypes=t,t};Dx.exports=WS();var HS=Dx.exports;const be=ss(HS);function zr(e){let n="https://mui.com/production-error/?code="+e;for(let t=1;tt==null?n:function(...i){n.apply(this,i),t.apply(this,i)},()=>{})}function mh(e,n=166){let t;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(t),t=setTimeout(o,n)}return r.clear=()=>{clearTimeout(t)},r}function VS(e,n){return()=>null}function hl(e,n){var t,r;return x.isValidElement(e)&&n.indexOf((t=e.type.muiName)!=null?t:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Zn(e){return e&&e.ownerDocument||document}function Fr(e){return Zn(e).defaultView||window}function KS(e,n){return()=>null}function Xl(e,n){typeof e=="function"?e(n):e&&(e.current=n)}const Xt=typeof window<"u"?x.useLayoutEffect:x.useEffect;let Ug=0;function GS(e){const[n,t]=x.useState(e),r=e||n;return x.useEffect(()=>{n==null&&(Ug+=1,t(`mui-${Ug}`))},[n]),r}const Wg=Cl.useId;function Fu(e){if(Wg!==void 0){const n=Wg();return e??n}return GS(e)}function YS(e,n,t,r,i){return null}function Ql({controlled:e,default:n,name:t,state:r="value"}){const{current:i}=x.useRef(e!==void 0),[o,a]=x.useState(n),s=i?e:o,l=x.useCallback(u=>{i||a(u)},[]);return[s,l]}function ai(e){const n=x.useRef(e);return Xt(()=>{n.current=e}),x.useRef((...t)=>(0,n.current)(...t)).current}function Cn(...e){return x.useMemo(()=>e.every(n=>n==null)?null:n=>{e.forEach(t=>{Xl(t,n)})},e)}let Du=!0,Nf=!1,Hg;const qS={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function XS(e){const{type:n,tagName:t}=e;return!!(t==="INPUT"&&qS[n]&&!e.readOnly||t==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function QS(e){e.metaKey||e.altKey||e.ctrlKey||(Du=!0)}function ld(){Du=!1}function JS(){this.visibilityState==="hidden"&&Nf&&(Du=!0)}function ZS(e){e.addEventListener("keydown",QS,!0),e.addEventListener("mousedown",ld,!0),e.addEventListener("pointerdown",ld,!0),e.addEventListener("touchstart",ld,!0),e.addEventListener("visibilitychange",JS,!0)}function eE(e){const{target:n}=e;try{return n.matches(":focus-visible")}catch{}return Du||XS(n)}function gh(){const e=x.useCallback(i=>{i!=null&&ZS(i.ownerDocument)},[]),n=x.useRef(!1);function t(){return n.current?(Nf=!0,window.clearTimeout(Hg),Hg=window.setTimeout(()=>{Nf=!1},100),n.current=!1,!0):!1}function r(i){return eE(i)?(n.current=!0,!0):!1}return{isFocusVisibleRef:n,onFocus:r,onBlur:t,ref:e}}function Wx(e){const n=e.documentElement.clientWidth;return Math.abs(window.innerWidth-n)}function yh(e,n){const t=P({},n);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))t[r]=P({},e[r],t[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=n[r];t[r]={},!o||!Object.keys(o)?t[r]=i:!i||!Object.keys(i)?t[r]=o:(t[r]=P({},o),Object.keys(i).forEach(a=>{t[r][a]=yh(i[a],o[a])}))}else t[r]===void 0&&(t[r]=e[r])}),t}function Te(e,n,t=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,a)=>{if(a){const s=n(a);s!==""&&o.push(s),t&&t[a]&&o.push(t[a])}return o},[]).join(" ")}),r}const Vg=e=>e,nE=()=>{let e=Vg;return{configure(n){e=n},generate(n){return e(n)},reset(){e=Vg}}},tE=nE(),vh=tE,rE={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ce(e,n,t="Mui"){const r=rE[n];return r?`${t}-${r}`:`${vh.generate(e)}-${n}`}function Se(e,n,t="Mui"){const r={};return n.forEach(i=>{r[i]=Ce(e,i,t)}),r}const xi="$$material";function oe(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o=0)&&(t[i]=e[i]);return t}function Hx(e){var n=Object.create(null);return function(t){return n[t]===void 0&&(n[t]=e(t)),n[t]}}var iE=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,oE=Hx(function(e){return iE.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function aE(e){if(e.sheet)return e.sheet;for(var n=0;n0?_n($o,--nt):0,Eo--,un===10&&(Eo=1,Uu--),un}function ct(){return un=nt2||Xa(un)>3?"":" "}function xE(e,n){for(;--n&&ct()&&!(un<48||un>102||un>57&&un<65||un>70&&un<97););return ps(e,ml()+(n<6&&Yt()==32&&ct()==32))}function jf(e){for(;ct();)switch(un){case e:return nt;case 34:case 39:e!==34&&e!==39&&jf(un);break;case 40:e===41&&jf(e);break;case 92:ct();break}return nt}function bE(e,n){for(;ct()&&e+un!==57;)if(e+un===84&&Yt()===47)break;return"/*"+ps(n,nt-1)+"*"+Bu(e===47?e:ct())}function kE(e){for(;!Xa(Yt());)ct();return ps(e,nt)}function wE(e){return Xx(yl("",null,null,null,[""],e=qx(e),0,[0],e))}function yl(e,n,t,r,i,o,a,s,l){for(var u=0,c=0,d=a,f=0,p=0,g=0,y=1,w=1,h=1,m=0,v="",b=i,E=o,C=r,_=v;w;)switch(g=m,m=ct()){case 40:if(g!=108&&_n(_,d-1)==58){$f(_+=Me(gl(m),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:_+=gl(m);break;case 9:case 10:case 13:case 32:_+=vE(g);break;case 92:_+=xE(ml()-1,7);continue;case 47:switch(Yt()){case 42:case 47:Ds(CE(bE(ct(),ml()),n,t),l);break;default:_+="/"}break;case 123*y:s[u++]=Dt(_)*h;case 125*y:case 59:case 0:switch(m){case 0:case 125:w=0;case 59+c:h==-1&&(_=Me(_,/\f/g,"")),p>0&&Dt(_)-d&&Ds(p>32?Gg(_+";",r,t,d-1):Gg(Me(_," ","")+";",r,t,d-2),l);break;case 59:_+=";";default:if(Ds(C=Kg(_,n,t,u,c,i,s,v,b=[],E=[],d),o),m===123)if(c===0)yl(_,n,C,C,b,o,d,s,E);else switch(f===99&&_n(_,3)===110?100:f){case 100:case 108:case 109:case 115:yl(e,C,C,r&&Ds(Kg(e,C,C,0,0,i,s,v,i,b=[],d),E),i,E,d,s,r?b:E);break;default:yl(_,C,C,C,[""],E,0,s,E)}}u=c=p=0,y=h=1,v=_="",d=a;break;case 58:d=1+Dt(_),p=g;default:if(y<1){if(m==123)--y;else if(m==125&&y++==0&&yE()==125)continue}switch(_+=Bu(m),m*y){case 38:h=c>0?1:(_+="\f",-1);break;case 44:s[u++]=(Dt(_)-1)*h,h=1;break;case 64:Yt()===45&&(_+=gl(ct())),f=Yt(),c=d=Dt(v=_+=kE(ml())),m++;break;case 45:g===45&&Dt(_)==2&&(y=0)}}return o}function Kg(e,n,t,r,i,o,a,s,l,u,c){for(var d=i-1,f=i===0?o:[""],p=kh(f),g=0,y=0,w=0;g0?f[h]+" "+m:Me(m,/&\f/g,f[h])))&&(l[w++]=v);return Wu(e,n,t,i===0?xh:s,l,u,c)}function CE(e,n,t){return Wu(e,n,t,Vx,Bu(gE()),qa(e,2,-2),0)}function Gg(e,n,t,r){return Wu(e,n,t,bh,qa(e,0,r),qa(e,r+1,-1),r)}function fo(e,n){for(var t="",r=kh(e),i=0;i6)switch(_n(e,n+1)){case 109:if(_n(e,n+4)!==45)break;case 102:return Me(e,/(.+:)(.+)-([^]+)/,"$1"+Le+"$2-$3$1"+Jl+(_n(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~$f(e,"stretch")?Qx(Me(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(_n(e,n+1)!==115)break;case 6444:switch(_n(e,Dt(e)-3-(~$f(e,"!important")&&10))){case 107:return Me(e,":",":"+Le)+e;case 101:return Me(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Le+(_n(e,14)===45?"inline-":"")+"box$3$1"+Le+"$2$3$1"+Ln+"$2box$3")+e}break;case 5936:switch(_n(e,n+11)){case 114:return Le+e+Ln+Me(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Le+e+Ln+Me(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Le+e+Ln+Me(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Le+e+Ln+e+e}return e}var AE=function(n,t,r,i){if(n.length>-1&&!n.return)switch(n.type){case bh:n.return=Qx(n.value,n.length);break;case Kx:return fo([qo(n,{value:Me(n.value,"@","@"+Le)})],i);case xh:if(n.length)return mE(n.props,function(o){switch(hE(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return fo([qo(n,{props:[Me(o,/:(read-\w+)/,":"+Jl+"$1")]})],i);case"::placeholder":return fo([qo(n,{props:[Me(o,/:(plac\w+)/,":"+Le+"input-$1")]}),qo(n,{props:[Me(o,/:(plac\w+)/,":"+Jl+"$1")]}),qo(n,{props:[Me(o,/:(plac\w+)/,Ln+"input-$1")]})],i)}return""})}},LE=[AE],ME=function(n){var t=n.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var w=y.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=n.stylisPlugins||LE,o={},a,s=[];a=n.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(y){for(var w=y.getAttribute("data-emotion").split(" "),h=1;h=0)&&(t[i]=e[i]);return t}function SC(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function CC(e,n){return e.button===0&&(!n||n==="_self")&&!SC(e)}const _C=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],EC="startTransition",zg=Sl[EC];function PC(e){let{basename:n,children:t,future:r,window:i}=e,o=x.useRef();o.current==null&&(o.current=aC({window:i,v5Compat:!0}));let a=o.current,[s,l]=x.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},c=x.useCallback(d=>{u&&zg?zg(()=>l(d)):l(d)},[l,u]);return x.useLayoutEffect(()=>a.listen(c),[a,c]),x.createElement(kC,{basename:n,children:t,location:s.location,navigationType:s.action,navigator:a,future:r})}const TC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",OC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Fg=x.forwardRef(function(n,t){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:l,to:u,preventScrollReset:c,unstable_viewTransition:d}=n,f=wC(n,_C),{basename:p}=x.useContext(Mo),g,y=!1;if(typeof u=="string"&&OC.test(u)&&(g=u,TC))try{let v=new URL(window.location.href),b=u.startsWith("//")?new URL(v.protocol+u):new URL(u),_=Tx(b.pathname,p);b.origin===v.origin&&_!=null?u=_+b.search+b.hash:y=!0}catch{}let w=mC(u,{relative:i}),h=IC(u,{replace:a,state:s,target:l,preventScrollReset:c,relative:i,unstable_viewTransition:d});function m(v){r&&r(v),v.defaultPrevented||h(v)}return x.createElement("a",Ap({},f,{href:g||w,onClick:y||o?r:m,ref:t,target:l}))});var Dg;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Dg||(Dg={}));var Bg;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Bg||(Bg={}));function IC(e,n){let{target:t,replace:r,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:s}=n===void 0?{}:n,l=Mx(),u=zu(),c=Nx(e,{relative:a});return x.useCallback(d=>{if(CC(d,t)){d.preventDefault();let f=r!==void 0?r:ql(u)===ql(c);l(e,{replace:f,state:i,preventScrollReset:o,relative:a,unstable_viewTransition:s})}},[u,l,c,r,i,t,e,o,a,s])}const RC={black:"#000",white:"#fff"},qa=RC,AC={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ri=AC,LC={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ai=LC,jC={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Li=jC,MC={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},ji=MC,NC={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Mi=NC,$C={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},qo=$C,zC={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},FC=zC;function P(){return P=Object.assign?Object.assign.bind():function(e){for(var n=1;n{n[t]=Fx(e[t])}),n}function Mn(e,n,t={clone:!0}){const r=t.clone?P({},e):e;return er(e)&&er(n)&&Object.keys(n).forEach(i=>{i!=="__proto__"&&(er(n[i])&&i in e&&er(e[i])?r[i]=Mn(e[i],n[i],t):t.clone?r[i]=er(n[i])?Fx(n[i]):n[i]:r[i]=n[i])}),r}var Dx={exports:{}},DC="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",BC=DC,UC=BC;function Bx(){}function Ux(){}Ux.resetWarningCache=Bx;var WC=function(){function e(r,i,o,a,s,l){if(l!==UC){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function n(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:Ux,resetWarningCache:Bx};return t.PropTypes=t,t};Dx.exports=WC();var HC=Dx.exports;const be=ss(HC);function zr(e){let n="https://mui.com/production-error/?code="+e;for(let t=1;tt==null?n:function(...i){n.apply(this,i),t.apply(this,i)},()=>{})}function mh(e,n=166){let t;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(t),t=setTimeout(o,n)}return r.clear=()=>{clearTimeout(t)},r}function VC(e,n){return()=>null}function hl(e,n){var t,r;return x.isValidElement(e)&&n.indexOf((t=e.type.muiName)!=null?t:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Zn(e){return e&&e.ownerDocument||document}function Fr(e){return Zn(e).defaultView||window}function KC(e,n){return()=>null}function Xl(e,n){typeof e=="function"?e(n):e&&(e.current=n)}const Xt=typeof window<"u"?x.useLayoutEffect:x.useEffect;let Ug=0;function GC(e){const[n,t]=x.useState(e),r=e||n;return x.useEffect(()=>{n==null&&(Ug+=1,t(`mui-${Ug}`))},[n]),r}const Wg=Sl.useId;function Fu(e){if(Wg!==void 0){const n=Wg();return e??n}return GC(e)}function qC(e,n,t,r,i){return null}function Ql({controlled:e,default:n,name:t,state:r="value"}){const{current:i}=x.useRef(e!==void 0),[o,a]=x.useState(n),s=i?e:o,l=x.useCallback(u=>{i||a(u)},[]);return[s,l]}function si(e){const n=x.useRef(e);return Xt(()=>{n.current=e}),x.useRef((...t)=>(0,n.current)(...t)).current}function Sn(...e){return x.useMemo(()=>e.every(n=>n==null)?null:n=>{e.forEach(t=>{Xl(t,n)})},e)}let Du=!0,jp=!1,Hg;const YC={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function XC(e){const{type:n,tagName:t}=e;return!!(t==="INPUT"&&YC[n]&&!e.readOnly||t==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function QC(e){e.metaKey||e.altKey||e.ctrlKey||(Du=!0)}function ld(){Du=!1}function JC(){this.visibilityState==="hidden"&&jp&&(Du=!0)}function ZC(e){e.addEventListener("keydown",QC,!0),e.addEventListener("mousedown",ld,!0),e.addEventListener("pointerdown",ld,!0),e.addEventListener("touchstart",ld,!0),e.addEventListener("visibilitychange",JC,!0)}function e_(e){const{target:n}=e;try{return n.matches(":focus-visible")}catch{}return Du||XC(n)}function gh(){const e=x.useCallback(i=>{i!=null&&ZC(i.ownerDocument)},[]),n=x.useRef(!1);function t(){return n.current?(jp=!0,window.clearTimeout(Hg),Hg=window.setTimeout(()=>{jp=!1},100),n.current=!1,!0):!1}function r(i){return e_(i)?(n.current=!0,!0):!1}return{isFocusVisibleRef:n,onFocus:r,onBlur:t,ref:e}}function Wx(e){const n=e.documentElement.clientWidth;return Math.abs(window.innerWidth-n)}function yh(e,n){const t=P({},n);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))t[r]=P({},e[r],t[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=n[r];t[r]={},!o||!Object.keys(o)?t[r]=i:!i||!Object.keys(i)?t[r]=o:(t[r]=P({},o),Object.keys(i).forEach(a=>{t[r][a]=yh(i[a],o[a])}))}else t[r]===void 0&&(t[r]=e[r])}),t}function Te(e,n,t=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,a)=>{if(a){const s=n(a);s!==""&&o.push(s),t&&t[a]&&o.push(t[a])}return o},[]).join(" ")}),r}const Vg=e=>e,n_=()=>{let e=Vg;return{configure(n){e=n},generate(n){return e(n)},reset(){e=Vg}}},t_=n_(),vh=t_,r_={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Se(e,n,t="Mui"){const r=r_[n];return r?`${t}-${r}`:`${vh.generate(e)}-${n}`}function Ce(e,n,t="Mui"){const r={};return n.forEach(i=>{r[i]=Se(e,i,t)}),r}const bi="$$material";function oe(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o=0)&&(t[i]=e[i]);return t}function Hx(e){var n=Object.create(null);return function(t){return n[t]===void 0&&(n[t]=e(t)),n[t]}}var i_=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o_=Hx(function(e){return i_.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function a_(e){if(e.sheet)return e.sheet;for(var n=0;n0?En(No,--nt):0,_o--,un===10&&(_o=1,Uu--),un}function ct(){return un=nt2||Xa(un)>3?"":" "}function x_(e,n){for(;--n&&ct()&&!(un<48||un>102||un>57&&un<65||un>70&&un<97););return fs(e,ml()+(n<6&&qt()==32&&ct()==32))}function Np(e){for(;ct();)switch(un){case e:return nt;case 34:case 39:e!==34&&e!==39&&Np(un);break;case 40:e===41&&Np(e);break;case 92:ct();break}return nt}function b_(e,n){for(;ct()&&e+un!==57;)if(e+un===84&&qt()===47)break;return"/*"+fs(n,nt-1)+"*"+Bu(e===47?e:ct())}function k_(e){for(;!Xa(qt());)ct();return fs(e,nt)}function w_(e){return Xx(yl("",null,null,null,[""],e=Yx(e),0,[0],e))}function yl(e,n,t,r,i,o,a,s,l){for(var u=0,c=0,d=a,f=0,p=0,g=0,y=1,w=1,h=1,m=0,v="",b=i,_=o,S=r,E=v;w;)switch(g=m,m=ct()){case 40:if(g!=108&&En(E,d-1)==58){Mp(E+=je(gl(m),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:E+=gl(m);break;case 9:case 10:case 13:case 32:E+=v_(g);break;case 92:E+=x_(ml()-1,7);continue;case 47:switch(qt()){case 42:case 47:Ds(S_(b_(ct(),ml()),n,t),l);break;default:E+="/"}break;case 123*y:s[u++]=Dt(E)*h;case 125*y:case 59:case 0:switch(m){case 0:case 125:w=0;case 59+c:h==-1&&(E=je(E,/\f/g,"")),p>0&&Dt(E)-d&&Ds(p>32?Gg(E+";",r,t,d-1):Gg(je(E," ","")+";",r,t,d-2),l);break;case 59:E+=";";default:if(Ds(S=Kg(E,n,t,u,c,i,s,v,b=[],_=[],d),o),m===123)if(c===0)yl(E,n,S,S,b,o,d,s,_);else switch(f===99&&En(E,3)===110?100:f){case 100:case 108:case 109:case 115:yl(e,S,S,r&&Ds(Kg(e,S,S,0,0,i,s,v,i,b=[],d),_),i,_,d,s,r?b:_);break;default:yl(E,S,S,S,[""],_,0,s,_)}}u=c=p=0,y=h=1,v=E="",d=a;break;case 58:d=1+Dt(E),p=g;default:if(y<1){if(m==123)--y;else if(m==125&&y++==0&&y_()==125)continue}switch(E+=Bu(m),m*y){case 38:h=c>0?1:(E+="\f",-1);break;case 44:s[u++]=(Dt(E)-1)*h,h=1;break;case 64:qt()===45&&(E+=gl(ct())),f=qt(),c=d=Dt(v=E+=k_(ml())),m++;break;case 45:g===45&&Dt(E)==2&&(y=0)}}return o}function Kg(e,n,t,r,i,o,a,s,l,u,c){for(var d=i-1,f=i===0?o:[""],p=kh(f),g=0,y=0,w=0;g0?f[h]+" "+m:je(m,/&\f/g,f[h])))&&(l[w++]=v);return Wu(e,n,t,i===0?xh:s,l,u,c)}function S_(e,n,t){return Wu(e,n,t,Vx,Bu(g_()),Ya(e,2,-2),0)}function Gg(e,n,t,r){return Wu(e,n,t,bh,Ya(e,0,r),Ya(e,r+1,-1),r)}function po(e,n){for(var t="",r=kh(e),i=0;i6)switch(En(e,n+1)){case 109:if(En(e,n+4)!==45)break;case 102:return je(e,/(.+:)(.+)-([^]+)/,"$1"+Le+"$2-$3$1"+Jl+(En(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~Mp(e,"stretch")?Qx(je(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(En(e,n+1)!==115)break;case 6444:switch(En(e,Dt(e)-3-(~Mp(e,"!important")&&10))){case 107:return je(e,":",":"+Le)+e;case 101:return je(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Le+(En(e,14)===45?"inline-":"")+"box$3$1"+Le+"$2$3$1"+Ln+"$2box$3")+e}break;case 5936:switch(En(e,n+11)){case 114:return Le+e+Ln+je(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Le+e+Ln+je(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Le+e+Ln+je(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Le+e+Ln+e+e}return e}var A_=function(n,t,r,i){if(n.length>-1&&!n.return)switch(n.type){case bh:n.return=Qx(n.value,n.length);break;case Kx:return po([Yo(n,{value:je(n.value,"@","@"+Le)})],i);case xh:if(n.length)return m_(n.props,function(o){switch(h_(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return po([Yo(n,{props:[je(o,/:(read-\w+)/,":"+Jl+"$1")]})],i);case"::placeholder":return po([Yo(n,{props:[je(o,/:(plac\w+)/,":"+Le+"input-$1")]}),Yo(n,{props:[je(o,/:(plac\w+)/,":"+Jl+"$1")]}),Yo(n,{props:[je(o,/:(plac\w+)/,Ln+"input-$1")]})],i)}return""})}},L_=[A_],j_=function(n){var t=n.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var w=y.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=n.stylisPlugins||L_,o={},a,s=[];a=n.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(y){for(var w=y.getAttribute("data-emotion").split(" "),h=1;h=4;++r,i-=4)t=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(t&65535)*1540483477+((t>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(e.charCodeAt(r+2)&255)<<16;case 2:n^=(e.charCodeAt(r+1)&255)<<8;case 1:n^=e.charCodeAt(r)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}var KE={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},GE=/[A-Z]|^ms/g,YE=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ib=function(n){return n.charCodeAt(1)===45},qg=function(n){return n!=null&&typeof n!="boolean"},ud=Hx(function(e){return ib(e)?e:e.replace(GE,"-$&").toLowerCase()}),Xg=function(n,t){switch(n){case"animation":case"animationName":if(typeof t=="string")return t.replace(YE,function(r,i,o){return Bt={name:i,styles:o,next:Bt},i})}return KE[n]!==1&&!ib(n)&&typeof t=="number"&&t!==0?t+"px":t};function Qa(e,n,t){if(t==null)return"";if(t.__emotion_styles!==void 0)return t;switch(typeof t){case"boolean":return"";case"object":{if(t.anim===1)return Bt={name:t.name,styles:t.styles,next:Bt},t.name;if(t.styles!==void 0){var r=t.next;if(r!==void 0)for(;r!==void 0;)Bt={name:r.name,styles:r.styles,next:Bt},r=r.next;var i=t.styles+";";return i}return qE(e,n,t)}case"function":{if(e!==void 0){var o=Bt,a=t(e);return Bt=o,Qa(e,n,a)}break}}if(n==null)return t;var s=n[t];return s!==void 0?s:t}function qE(e,n,t){var r="";if(Array.isArray(t))for(var i=0;i96?e_:n_},e0=function(n,t,r){var i;if(t){var o=t.shouldForwardProp;i=n.__emotion_forwardProp&&o?function(a){return n.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=n.__emotion_forwardProp),i},t_=function(n){var t=n.cache,r=n.serialized,i=n.isStringTag;return tb(t,r,i),QE(function(){return rb(t,r,i)}),null},r_=function e(n,t){var r=n.__emotion_real===n,i=r&&n.__emotion_base||n,o,a;t!==void 0&&(o=t.label,a=t.target);var s=e0(n,t,r),l=s||Zg(i),u=!l("as");return function(){var c=arguments,d=r&&n.__emotion_styles!==void 0?n.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,p=1;pn(o_(i)?t:i):n;return k.jsx(JE,{styles:r})}function lb(e,n){return zf(e,n)}const s_=(e,n)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=n(e.__emotion_styles))},l_=["values","unit","step"],u_=e=>{const n=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return n.sort((t,r)=>t.val-r.val),n.reduce((t,r)=>P({},t,{[r.key]:r.val}),{})};function c_(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:r=5}=e,i=oe(e,l_),o=u_(n),a=Object.keys(o);function s(f){return`@media (min-width:${typeof n[f]=="number"?n[f]:f}${t})`}function l(f){return`@media (max-width:${(typeof n[f]=="number"?n[f]:f)-r/100}${t})`}function u(f,p){const g=a.indexOf(p);return`@media (min-width:${typeof n[f]=="number"?n[f]:f}${t}) and (max-width:${(g!==-1&&typeof n[a[g]]=="number"?n[a[g]]:p)-r/100}${t})`}function c(f){return a.indexOf(f)+1`@media (min-width:${Ph[e]}px)`};function tt(e,n,t){const r=e.theme||{};if(Array.isArray(n)){const o=r.breakpoints||n0;return n.reduce((a,s,l)=>(a[o.up(o.keys[l])]=t(n[l]),a),{})}if(typeof n=="object"){const o=r.breakpoints||n0;return Object.keys(n).reduce((a,s)=>{if(Object.keys(o.values||Ph).indexOf(s)!==-1){const l=o.up(s);a[l]=t(n[s],s)}else{const l=s;a[l]=n[l]}return a},{})}return t(n)}function ub(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function cb(e,n){return e.reduce((t,r)=>{const i=t[r];return(!i||Object.keys(i).length===0)&&delete t[r],t},n)}function p_(e,...n){const t=ub(e),r=[t,...n].reduce((i,o)=>Nn(i,o),{});return cb(Object.keys(t),r)}function h_(e,n){if(typeof e!="object")return{};const t={},r=Object.keys(n);return Array.isArray(e)?r.forEach((i,o)=>{o{e[i]!=null&&(t[i]=!0)}),t}function fi({values:e,breakpoints:n,base:t}){const r=t||h_(e,n),i=Object.keys(r);if(i.length===0)return e;let o;return i.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[o],o=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[o],o=s):a[s]=e,a),{})}function _o(e,n,t=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&t){const r=`vars.${n}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return n.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function Zl(e,n,t,r=t){let i;return typeof e=="function"?i=e(t):Array.isArray(e)?i=e[t]||r:i=_o(e,t)||r,n&&(i=n(i,r,e)),i}function $e(e){const{prop:n,cssProperty:t=e.prop,themeKey:r,transform:i}=e,o=a=>{if(a[n]==null)return null;const s=a[n],l=a.theme,u=_o(l,r)||{};return tt(a,s,d=>{let f=Zl(u,i,d);return d===f&&typeof d=="string"&&(f=Zl(u,i,`${n}${d==="default"?"":K(d)}`,d)),t===!1?f:{[t]:f}})};return o.propTypes={},o.filterProps=[n],o}function m_(e){const n={};return t=>(n[t]===void 0&&(n[t]=e(t)),n[t])}const g_={m:"margin",p:"padding"},y_={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},t0={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},v_=m_(e=>{if(e.length>2)if(t0[e])e=t0[e];else return[e];const[n,t]=e.split(""),r=g_[n],i=y_[t]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),Th=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Oh=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Th,...Oh];function hs(e,n,t,r){var i;const o=(i=_o(e,n,!1))!=null?i:t;return typeof o=="number"?a=>typeof a=="string"?a:o*a:Array.isArray(o)?a=>typeof a=="string"?a:o[a]:typeof o=="function"?o:()=>{}}function Ih(e){return hs(e,"spacing",8)}function bi(e,n){if(typeof n=="string"||n==null)return n;const t=Math.abs(n),r=e(t);return n>=0?r:typeof r=="number"?-r:`-${r}`}function x_(e,n){return t=>e.reduce((r,i)=>(r[i]=bi(n,t),r),{})}function b_(e,n,t,r){if(n.indexOf(t)===-1)return null;const i=v_(t),o=x_(i,r),a=e[t];return tt(e,a,o)}function db(e,n){const t=Ih(e.theme);return Object.keys(e).map(r=>b_(e,n,r,t)).reduce(ka,{})}function tn(e){return db(e,Th)}tn.propTypes={};tn.filterProps=Th;function rn(e){return db(e,Oh)}rn.propTypes={};rn.filterProps=Oh;function k_(e=8){if(e.mui)return e;const n=Ih({spacing:e}),t=(...r)=>(r.length===0?[1]:r).map(o=>{const a=n(o);return typeof a=="number"?`${a}px`:a}).join(" ");return t.mui=!0,t}function nc(...e){const n=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),t=r=>Object.keys(r).reduce((i,o)=>n[o]?ka(i,n[o](r)):i,{});return t.propTypes={},t.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),t}function Wt(e){return typeof e!="number"?e:`${e}px solid`}const w_=$e({prop:"border",themeKey:"borders",transform:Wt}),C_=$e({prop:"borderTop",themeKey:"borders",transform:Wt}),S_=$e({prop:"borderRight",themeKey:"borders",transform:Wt}),E_=$e({prop:"borderBottom",themeKey:"borders",transform:Wt}),__=$e({prop:"borderLeft",themeKey:"borders",transform:Wt}),P_=$e({prop:"borderColor",themeKey:"palette"}),T_=$e({prop:"borderTopColor",themeKey:"palette"}),O_=$e({prop:"borderRightColor",themeKey:"palette"}),I_=$e({prop:"borderBottomColor",themeKey:"palette"}),R_=$e({prop:"borderLeftColor",themeKey:"palette"}),tc=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=hs(e.theme,"shape.borderRadius",4),t=r=>({borderRadius:bi(n,r)});return tt(e,e.borderRadius,t)}return null};tc.propTypes={};tc.filterProps=["borderRadius"];nc(w_,C_,S_,E_,__,P_,T_,O_,I_,R_,tc);const rc=e=>{if(e.gap!==void 0&&e.gap!==null){const n=hs(e.theme,"spacing",8),t=r=>({gap:bi(n,r)});return tt(e,e.gap,t)}return null};rc.propTypes={};rc.filterProps=["gap"];const ic=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=hs(e.theme,"spacing",8),t=r=>({columnGap:bi(n,r)});return tt(e,e.columnGap,t)}return null};ic.propTypes={};ic.filterProps=["columnGap"];const oc=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=hs(e.theme,"spacing",8),t=r=>({rowGap:bi(n,r)});return tt(e,e.rowGap,t)}return null};oc.propTypes={};oc.filterProps=["rowGap"];const A_=$e({prop:"gridColumn"}),L_=$e({prop:"gridRow"}),M_=$e({prop:"gridAutoFlow"}),N_=$e({prop:"gridAutoColumns"}),$_=$e({prop:"gridAutoRows"}),j_=$e({prop:"gridTemplateColumns"}),z_=$e({prop:"gridTemplateRows"}),F_=$e({prop:"gridTemplateAreas"}),D_=$e({prop:"gridArea"});nc(rc,ic,oc,A_,L_,M_,N_,$_,j_,z_,F_,D_);function po(e,n){return n==="grey"?n:e}const B_=$e({prop:"color",themeKey:"palette",transform:po}),U_=$e({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:po}),W_=$e({prop:"backgroundColor",themeKey:"palette",transform:po});nc(B_,U_,W_);function at(e){return e<=1&&e!==0?`${e*100}%`:e}const H_=$e({prop:"width",transform:at}),Rh=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=t=>{var r,i;const o=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[t])||Ph[t];return o?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:at(t)}};return tt(e,e.maxWidth,n)}return null};Rh.filterProps=["maxWidth"];const V_=$e({prop:"minWidth",transform:at}),K_=$e({prop:"height",transform:at}),G_=$e({prop:"maxHeight",transform:at}),Y_=$e({prop:"minHeight",transform:at});$e({prop:"size",cssProperty:"width",transform:at});$e({prop:"size",cssProperty:"height",transform:at});const q_=$e({prop:"boxSizing"});nc(H_,Rh,V_,K_,G_,Y_,q_);const X_={border:{themeKey:"borders",transform:Wt},borderTop:{themeKey:"borders",transform:Wt},borderRight:{themeKey:"borders",transform:Wt},borderBottom:{themeKey:"borders",transform:Wt},borderLeft:{themeKey:"borders",transform:Wt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:tc},color:{themeKey:"palette",transform:po},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:po},backgroundColor:{themeKey:"palette",transform:po},p:{style:rn},pt:{style:rn},pr:{style:rn},pb:{style:rn},pl:{style:rn},px:{style:rn},py:{style:rn},padding:{style:rn},paddingTop:{style:rn},paddingRight:{style:rn},paddingBottom:{style:rn},paddingLeft:{style:rn},paddingX:{style:rn},paddingY:{style:rn},paddingInline:{style:rn},paddingInlineStart:{style:rn},paddingInlineEnd:{style:rn},paddingBlock:{style:rn},paddingBlockStart:{style:rn},paddingBlockEnd:{style:rn},m:{style:tn},mt:{style:tn},mr:{style:tn},mb:{style:tn},ml:{style:tn},mx:{style:tn},my:{style:tn},margin:{style:tn},marginTop:{style:tn},marginRight:{style:tn},marginBottom:{style:tn},marginLeft:{style:tn},marginX:{style:tn},marginY:{style:tn},marginInline:{style:tn},marginInlineStart:{style:tn},marginInlineEnd:{style:tn},marginBlock:{style:tn},marginBlockStart:{style:tn},marginBlockEnd:{style:tn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:rc},rowGap:{style:oc},columnGap:{style:ic},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:at},maxWidth:{style:Rh},minWidth:{transform:at},height:{transform:at},maxHeight:{transform:at},minHeight:{transform:at},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},ac=X_;function Q_(...e){const n=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),t=new Set(n);return e.every(r=>t.size===Object.keys(r).length)}function J_(e,n){return typeof e=="function"?e(n):e}function Z_(){function e(t,r,i,o){const a={[t]:r,theme:i},s=o[t];if(!s)return{[t]:r};const{cssProperty:l=t,themeKey:u,transform:c,style:d}=s;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[t]:r};const f=_o(i,u)||{};return d?d(a):tt(a,r,g=>{let y=Zl(f,c,g);return g===y&&typeof g=="string"&&(y=Zl(f,c,`${t}${g==="default"?"":K(g)}`,g)),l===!1?y:{[l]:y}})}function n(t){var r;const{sx:i,theme:o={}}=t||{};if(!i)return null;const a=(r=o.unstable_sxConfig)!=null?r:ac;function s(l){let u=l;if(typeof l=="function")u=l(o);else if(typeof l!="object")return l;if(!u)return null;const c=ub(o.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(p=>{const g=J_(u[p],o);if(g!=null)if(typeof g=="object")if(a[p])f=ka(f,e(p,g,o,a));else{const y=tt({theme:o},g,w=>({[p]:w}));Q_(y,g)?f[p]=n({sx:g,theme:o}):f=ka(f,y)}else f=ka(f,e(p,g,o,a))}),cb(d,f)}return Array.isArray(i)?i.map(s):s(i)}return n}const ms=Z_();ms.filterProps=["sx"];const eP=["breakpoints","palette","spacing","shape"];function gs(e={},...n){const{breakpoints:t={},palette:r={},spacing:i,shape:o={}}=e,a=oe(e,eP),s=c_(t),l=k_(i);let u=Nn({breakpoints:s,direction:"ltr",components:{},palette:P({mode:"light"},r),spacing:l,shape:P({},f_,o)},a);return u=n.reduce((c,d)=>Nn(c,d),u),u.unstable_sxConfig=P({},ac,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(d){return ms({sx:d,theme:this})},u}function nP(e){return Object.keys(e).length===0}function Ah(e=null){const n=x.useContext(ec);return!n||nP(n)?e:n}const tP=gs();function sc(e=tP){return Ah(e)}function rP({styles:e,themeId:n,defaultTheme:t={}}){const r=sc(t),i=typeof e=="function"?e(n&&r[n]||r):e;return k.jsx(a_,{styles:i})}const iP=["sx"],oP=e=>{var n,t;const r={systemProps:{},otherProps:{}},i=(n=e==null||(t=e.theme)==null?void 0:t.unstable_sxConfig)!=null?n:ac;return Object.keys(e).forEach(o=>{i[o]?r.systemProps[o]=e[o]:r.otherProps[o]=e[o]}),r};function lc(e){const{sx:n}=e,t=oe(e,iP),{systemProps:r,otherProps:i}=oP(t);let o;return Array.isArray(n)?o=[r,...n]:typeof n=="function"?o=(...a)=>{const s=n(...a);return er(s)?P({},r,s):r}:o=P({},r,n),P({},i,{sx:o})}function fb(e){var n,t,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(n=0;ns!=="theme"&&s!=="sx"&&s!=="as"})(ms);return x.forwardRef(function(l,u){const c=sc(t),d=lc(l),{className:f,component:p="div"}=d,g=oe(d,aP);return k.jsx(o,P({as:p,ref:u,className:se(f,i?i(r):r),theme:n&&c[n]||c},g))})}const lP=["variant"];function r0(e){return e.length===0}function pb(e){const{variant:n}=e,t=oe(e,lP);let r=n||"";return Object.keys(t).sort().forEach(i=>{i==="color"?r+=r0(r)?e[i]:K(e[i]):r+=`${r0(r)?i:K(i)}${K(e[i].toString())}`}),r}const uP=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function cP(e){return Object.keys(e).length===0}function dP(e){return typeof e=="string"&&e.charCodeAt(0)>96}const fP=(e,n)=>n.components&&n.components[e]&&n.components[e].styleOverrides?n.components[e].styleOverrides:null,eu=e=>{const n={};return e&&e.forEach(t=>{const r=pb(t.props);n[r]=t.style}),n},pP=(e,n)=>{let t=[];return n&&n.components&&n.components[e]&&n.components[e].variants&&(t=n.components[e].variants),eu(t)},nu=(e,n,t)=>{const{ownerState:r={}}=e,i=[];return t&&t.forEach(o=>{let a=!0;Object.keys(o.props).forEach(s=>{r[s]!==o.props[s]&&e[s]!==o.props[s]&&(a=!1)}),a&&i.push(n[pb(o.props)])}),i},hP=(e,n,t,r)=>{var i;const o=t==null||(i=t.components)==null||(i=i[r])==null?void 0:i.variants;return nu(e,n,o)};function wa(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const mP=gs(),gP=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function vl({defaultTheme:e,theme:n,themeId:t}){return cP(n)?e:n[t]||n}function yP(e){return e?(n,t)=>t[e]:null}const i0=({styledArg:e,props:n,defaultTheme:t,themeId:r})=>{const i=e(P({},n,{theme:vl(P({},n,{defaultTheme:t,themeId:r}))}));let o;if(i&&i.variants&&(o=i.variants,delete i.variants),o){const a=nu(n,eu(o),o);return[i,...a]}return i};function hb(e={}){const{themeId:n,defaultTheme:t=mP,rootShouldForwardProp:r=wa,slotShouldForwardProp:i=wa}=e,o=a=>ms(P({},a,{theme:vl(P({},a,{defaultTheme:t,themeId:n}))}));return o.__mui_systemSx=!0,(a,s={})=>{s_(a,b=>b.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=yP(gP(u))}=s,p=oe(s,uP),g=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,y=d||!1;let w,h=wa;u==="Root"||u==="root"?h=r:u?h=i:dP(a)&&(h=void 0);const m=lb(a,P({shouldForwardProp:h,label:w},p)),v=(b,...E)=>{const C=E?E.map(O=>{if(typeof O=="function"&&O.__emotion_real!==O)return L=>i0({styledArg:O,props:L,defaultTheme:t,themeId:n});if(er(O)){let L=O,M;return O&&O.variants&&(M=O.variants,delete L.variants,L=D=>{let F=O;return nu(D,eu(M),M).forEach(U=>{F=Nn(F,U)}),F}),L}return O}):[];let _=b;if(er(b)){let O;b&&b.variants&&(O=b.variants,delete _.variants,_=L=>{let M=b;return nu(L,eu(O),O).forEach(F=>{M=Nn(M,F)}),M})}else typeof b=="function"&&b.__emotion_real!==b&&(_=O=>i0({styledArg:b,props:O,defaultTheme:t,themeId:n}));l&&f&&C.push(O=>{const L=vl(P({},O,{defaultTheme:t,themeId:n})),M=fP(l,L);if(M){const D={};return Object.entries(M).forEach(([F,j])=>{D[F]=typeof j=="function"?j(P({},O,{theme:L})):j}),f(O,D)}return null}),l&&!g&&C.push(O=>{const L=vl(P({},O,{defaultTheme:t,themeId:n}));return hP(O,pP(l,L),L,l)}),y||C.push(o);const R=C.length-E.length;if(Array.isArray(b)&&R>0){const O=new Array(R).fill("");_=[...b,...O],_.raw=[...b.raw,...O]}const I=m(_,...C);return a.muiName&&(I.muiName=a.muiName),I};return m.withConfig&&(v.withConfig=m.withConfig),v}}const mb=hb();function gb(e){const{theme:n,name:t,props:r}=e;return!n||!n.components||!n.components[t]||!n.components[t].defaultProps?r:yh(n.components[t].defaultProps,r)}function Lh({props:e,name:n,defaultTheme:t,themeId:r}){let i=sc(t);return r&&(i=i[r]||i),gb({theme:i,name:n,props:e})}function Mh(e,n=0,t=1){return Math.min(Math.max(n,e),t)}function vP(e){e=e.slice(1);const n=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(n);return t&&t[0].length===1&&(t=t.map(r=>r+r)),t?`rgb${t.length===4?"a":""}(${t.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function ki(e){if(e.type)return e;if(e.charAt(0)==="#")return ki(vP(e));const n=e.indexOf("("),t=e.substring(0,n);if(["rgb","rgba","hsl","hsla","color"].indexOf(t)===-1)throw new Error(zr(9,e));let r=e.substring(n+1,e.length-1),i;if(t==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(zr(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:t,values:r,colorSpace:i}}function uc(e){const{type:n,colorSpace:t}=e;let{values:r}=e;return n.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):n.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),n.indexOf("color")!==-1?r=`${t} ${r.join(" ")}`:r=`${r.join(", ")}`,`${n}(${r})`}function xP(e){e=ki(e);const{values:n}=e,t=n[0],r=n[1]/100,i=n[2]/100,o=r*Math.min(i,1-i),a=(u,c=(u+t/30)%12)=>i-o*Math.max(Math.min(c-3,9-c,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(n[3])),uc({type:s,values:l})}function o0(e){e=ki(e);let n=e.type==="hsl"||e.type==="hsla"?ki(xP(e)).values:e.values;return n=n.map(t=>(e.type!=="color"&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function bP(e,n){const t=o0(e),r=o0(n);return(Math.max(t,r)+.05)/(Math.min(t,r)+.05)}function Qe(e,n){return e=ki(e),n=Mh(n),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${n}`:e.values[3]=n,uc(e)}function kP(e,n){if(e=ki(e),n=Mh(n),e.type.indexOf("hsl")!==-1)e.values[2]*=1-n;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let t=0;t<3;t+=1)e.values[t]*=1-n;return uc(e)}function wP(e,n){if(e=ki(e),n=Mh(n),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*n;else if(e.type.indexOf("rgb")!==-1)for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*n;else if(e.type.indexOf("color")!==-1)for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*n;return uc(e)}const CP=x.createContext(null),yb=CP;function vb(){return x.useContext(yb)}const SP=typeof Symbol=="function"&&Symbol.for,EP=SP?Symbol.for("mui.nested"):"__THEME_NESTED__";function _P(e,n){return typeof n=="function"?n(e):P({},e,n)}function PP(e){const{children:n,theme:t}=e,r=vb(),i=x.useMemo(()=>{const o=r===null?t:_P(r,t);return o!=null&&(o[EP]=r!==null),o},[t,r]);return k.jsx(yb.Provider,{value:i,children:n})}const a0={};function s0(e,n,t,r=!1){return x.useMemo(()=>{const i=e&&n[e]||n;if(typeof t=="function"){const o=t(i),a=e?P({},n,{[e]:o}):o;return r?()=>a:a}return e?P({},n,{[e]:t}):P({},n,t)},[e,n,t,r])}function TP(e){const{children:n,theme:t,themeId:r}=e,i=Ah(a0),o=vb()||a0,a=s0(r,i,t),s=s0(r,o,t,!0);return k.jsx(PP,{theme:s,children:k.jsx(ec.Provider,{value:a,children:n})})}const OP=["className","component","disableGutters","fixed","maxWidth","classes"],IP=gs(),RP=mb("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n[`maxWidth${K(String(t.maxWidth))}`],t.fixed&&n.fixed,t.disableGutters&&n.disableGutters]}}),AP=e=>Lh({props:e,name:"MuiContainer",defaultTheme:IP}),LP=(e,n)=>{const t=l=>Ce(n,l),{classes:r,fixed:i,disableGutters:o,maxWidth:a}=e,s={root:["root",a&&`maxWidth${K(String(a))}`,i&&"fixed",o&&"disableGutters"]};return Te(s,t,r)};function MP(e={}){const{createStyledComponent:n=RP,useThemeProps:t=AP,componentName:r="MuiContainer"}=e,i=n(({theme:a,ownerState:s})=>P({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!s.disableGutters&&{paddingLeft:a.spacing(2),paddingRight:a.spacing(2),[a.breakpoints.up("sm")]:{paddingLeft:a.spacing(3),paddingRight:a.spacing(3)}}),({theme:a,ownerState:s})=>s.fixed&&Object.keys(a.breakpoints.values).reduce((l,u)=>{const c=u,d=a.breakpoints.values[c];return d!==0&&(l[a.breakpoints.up(c)]={maxWidth:`${d}${a.breakpoints.unit}`}),l},{}),({theme:a,ownerState:s})=>P({},s.maxWidth==="xs"&&{[a.breakpoints.up("xs")]:{maxWidth:Math.max(a.breakpoints.values.xs,444)}},s.maxWidth&&s.maxWidth!=="xs"&&{[a.breakpoints.up(s.maxWidth)]:{maxWidth:`${a.breakpoints.values[s.maxWidth]}${a.breakpoints.unit}`}}));return x.forwardRef(function(s,l){const u=t(s),{className:c,component:d="div",disableGutters:f=!1,fixed:p=!1,maxWidth:g="lg"}=u,y=oe(u,OP),w=P({},u,{component:d,disableGutters:f,fixed:p,maxWidth:g}),h=LP(w,r);return k.jsx(i,P({as:d,ownerState:w,className:se(h.root,c),ref:l},y))})}const NP=["component","direction","spacing","divider","children","className","useFlexGap"],$P=gs(),jP=mb("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,n)=>n.root});function zP(e){return Lh({props:e,name:"MuiStack",defaultTheme:$P})}function FP(e,n){const t=x.Children.toArray(e).filter(Boolean);return t.reduce((r,i,o)=>(r.push(i),o({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],BP=({ownerState:e,theme:n})=>{let t=P({display:"flex",flexDirection:"column"},tt({theme:n},fi({values:e.direction,breakpoints:n.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=Ih(n),i=Object.keys(n.breakpoints.values).reduce((l,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(l[u]=!0),l),{}),o=fi({values:e.direction,base:i}),a=fi({values:e.spacing,base:i});typeof o=="object"&&Object.keys(o).forEach((l,u,c)=>{if(!o[l]){const f=u>0?o[c[u-1]]:"column";o[l]=f}}),t=Nn(t,tt({theme:n},a,(l,u)=>e.useFlexGap?{gap:bi(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${DP(u?o[u]:e.direction)}`]:bi(r,l)}}))}return t=p_(n.breakpoints,t),t};function UP(e={}){const{createStyledComponent:n=jP,useThemeProps:t=zP,componentName:r="MuiStack"}=e,i=()=>Te({root:["root"]},l=>Ce(r,l),{}),o=n(BP);return x.forwardRef(function(l,u){const c=t(l),d=lc(c),{component:f="div",direction:p="column",spacing:g=0,divider:y,children:w,className:h,useFlexGap:m=!1}=d,v=oe(d,NP),b={direction:p,spacing:g,useFlexGap:m},E=i();return k.jsx(o,P({as:f,ownerState:b,ref:u,className:se(E.root,h)},v,{children:y?FP(w,y):w}))})}function WP(e,n){return P({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},n)}const HP=["mode","contrastThreshold","tonalOffset"],l0={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ya.white,default:Ya.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},cd={text:{primary:Ya.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ya.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function u0(e,n,t,r){const i=r.light||r,o=r.dark||r*1.5;e[n]||(e.hasOwnProperty(t)?e[n]=e[t]:n==="light"?e.light=wP(e.main,i):n==="dark"&&(e.dark=kP(e.main,o)))}function VP(e="light"){return e==="dark"?{main:Ai[200],light:Ai[50],dark:Ai[400]}:{main:Ai[700],light:Ai[400],dark:Ai[800]}}function KP(e="light"){return e==="dark"?{main:Ri[200],light:Ri[50],dark:Ri[400]}:{main:Ri[500],light:Ri[300],dark:Ri[700]}}function GP(e="light"){return e==="dark"?{main:Ii[500],light:Ii[300],dark:Ii[700]}:{main:Ii[700],light:Ii[400],dark:Ii[800]}}function YP(e="light"){return e==="dark"?{main:Li[400],light:Li[300],dark:Li[700]}:{main:Li[700],light:Li[500],dark:Li[900]}}function qP(e="light"){return e==="dark"?{main:Mi[400],light:Mi[300],dark:Mi[700]}:{main:Mi[800],light:Mi[500],dark:Mi[900]}}function XP(e="light"){return e==="dark"?{main:Yo[400],light:Yo[300],dark:Yo[700]}:{main:"#ed6c02",light:Yo[500],dark:Yo[900]}}function QP(e){const{mode:n="light",contrastThreshold:t=3,tonalOffset:r=.2}=e,i=oe(e,HP),o=e.primary||VP(n),a=e.secondary||KP(n),s=e.error||GP(n),l=e.info||YP(n),u=e.success||qP(n),c=e.warning||XP(n);function d(y){return bP(y,cd.text.primary)>=t?cd.text.primary:l0.text.primary}const f=({color:y,name:w,mainShade:h=500,lightShade:m=300,darkShade:v=700})=>{if(y=P({},y),!y.main&&y[h]&&(y.main=y[h]),!y.hasOwnProperty("main"))throw new Error(zr(11,w?` (${w})`:"",h));if(typeof y.main!="string")throw new Error(zr(12,w?` (${w})`:"",JSON.stringify(y.main)));return u0(y,"light",m,r),u0(y,"dark",v,r),y.contrastText||(y.contrastText=d(y.main)),y},p={dark:cd,light:l0};return Nn(P({common:P({},Ya),mode:n,primary:f({color:o,name:"primary"}),secondary:f({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:s,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:u,name:"success"}),grey:FS,contrastThreshold:t,getContrastText:d,augmentColor:f,tonalOffset:r},p[n]),i)}const JP=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function ZP(e){return Math.round(e*1e5)/1e5}const c0={textTransform:"uppercase"},d0='"Roboto", "Helvetica", "Arial", sans-serif';function eT(e,n){const t=typeof n=="function"?n(e):n,{fontFamily:r=d0,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=t,f=oe(t,JP),p=i/14,g=d||(h=>`${h/u*p}rem`),y=(h,m,v,b,E)=>P({fontFamily:r,fontWeight:h,fontSize:g(m),lineHeight:v},r===d0?{letterSpacing:`${ZP(b/m)}em`}:{},E,c),w={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(a,48,1.167,0),h4:y(a,34,1.235,.25),h5:y(a,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(a,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(a,16,1.5,.15),body2:y(a,14,1.43,.15),button:y(s,14,1.75,.4,c0),caption:y(a,12,1.66,.4),overline:y(a,12,2.66,1,c0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Nn(P({htmlFontSize:u,pxToRem:g,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},w),f,{clone:!1})}const nT=.2,tT=.14,rT=.12;function Xe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${nT})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${tT})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${rT})`].join(",")}const iT=["none",Xe(0,2,1,-1,0,1,1,0,0,1,3,0),Xe(0,3,1,-2,0,2,2,0,0,1,5,0),Xe(0,3,3,-2,0,3,4,0,0,1,8,0),Xe(0,2,4,-1,0,4,5,0,0,1,10,0),Xe(0,3,5,-1,0,5,8,0,0,1,14,0),Xe(0,3,5,-1,0,6,10,0,0,1,18,0),Xe(0,4,5,-2,0,7,10,1,0,2,16,1),Xe(0,5,5,-3,0,8,10,1,0,3,14,2),Xe(0,5,6,-3,0,9,12,1,0,3,16,2),Xe(0,6,6,-3,0,10,14,1,0,4,18,3),Xe(0,6,7,-4,0,11,15,1,0,4,20,3),Xe(0,7,8,-4,0,12,17,2,0,5,22,4),Xe(0,7,8,-4,0,13,19,2,0,5,24,4),Xe(0,7,9,-4,0,14,21,2,0,5,26,4),Xe(0,8,9,-5,0,15,22,2,0,6,28,5),Xe(0,8,10,-5,0,16,24,2,0,6,30,5),Xe(0,8,11,-5,0,17,26,2,0,6,32,5),Xe(0,9,11,-5,0,18,28,2,0,7,34,6),Xe(0,9,12,-6,0,19,29,2,0,7,36,6),Xe(0,10,13,-6,0,20,31,3,0,8,38,7),Xe(0,10,13,-6,0,21,33,3,0,8,40,7),Xe(0,10,14,-6,0,22,35,3,0,8,42,7),Xe(0,11,14,-7,0,23,36,3,0,9,44,8),Xe(0,11,15,-7,0,24,38,3,0,9,46,8)],oT=["duration","easing","delay"],aT={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},sT={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function f0(e){return`${Math.round(e)}ms`}function lT(e){if(!e)return 0;const n=e/36;return Math.round((4+15*n**.25+n/5)*10)}function uT(e){const n=P({},aT,e.easing),t=P({},sT,e.duration);return P({getAutoHeightDuration:lT,create:(i=["all"],o={})=>{const{duration:a=t.standard,easing:s=n.easeInOut,delay:l=0}=o;return oe(o,oT),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof a=="string"?a:f0(a)} ${s} ${typeof l=="string"?l:f0(l)}`).join(",")}},e,{easing:n,duration:t})}const cT={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},dT=cT,fT=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Nh(e={},...n){const{mixins:t={},palette:r={},transitions:i={},typography:o={}}=e,a=oe(e,fT);if(e.vars)throw new Error(zr(18));const s=QP(r),l=gs(e);let u=Nn(l,{mixins:WP(l.breakpoints,t),palette:s,shadows:iT.slice(),typography:eT(s,o),transitions:uT(i),zIndex:P({},dT)});return u=Nn(u,a),u=n.reduce((c,d)=>Nn(c,d),u),u.unstable_sxConfig=P({},ac,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(d){return ms({sx:d,theme:this})},u}const pT=Nh(),cc=pT;function Et(){const e=sc(cc);return e[xi]||e}function Ie({props:e,name:n}){return Lh({props:e,name:n,defaultTheme:cc,themeId:xi})}const rt=e=>wa(e)&&e!=="classes",hT=wa,te=hb({themeId:xi,defaultTheme:cc,rootShouldForwardProp:rt}),mT=["theme"];function gT(e){let{theme:n}=e,t=oe(e,mT);const r=n[xi];return k.jsx(TP,P({},t,{themeId:r?xi:void 0,theme:r||n}))}const p0=e=>{let n;return e<1?n=5.11916*e**2:n=4.5*Math.log(e+1)+2,(n/100).toFixed(2)};function yT(e){return Ce("MuiSvgIcon",e)}Se("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const vT=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],xT=e=>{const{color:n,fontSize:t,classes:r}=e,i={root:["root",n!=="inherit"&&`color${K(n)}`,`fontSize${K(t)}`]};return Te(i,yT,r)},bT=te("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.color!=="inherit"&&n[`color${K(t.color)}`],n[`fontSize${K(t.fontSize)}`]]}})(({theme:e,ownerState:n})=>{var t,r,i,o,a,s,l,u,c,d,f,p,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:n.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(t=e.transitions)==null||(r=t.create)==null?void 0:r.call(t,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=e.typography)==null||(a=o.pxToRem)==null?void 0:a.call(o,20))||"1.25rem",medium:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem",large:((u=e.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}[n.fontSize],color:(d=(f=(e.vars||e).palette)==null||(f=f[n.color])==null?void 0:f.main)!=null?d:{action:(p=(e.vars||e).palette)==null||(p=p.action)==null?void 0:p.active,disabled:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.disabled,inherit:void 0}[n.color]}}),Ff=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiSvgIcon"}),{children:i,className:o,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,p=oe(r,vT),g=x.isValidElement(i)&&i.type==="svg",y=P({},r,{color:a,component:s,fontSize:l,instanceFontSize:n.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:g}),w={};c||(w.viewBox=f);const h=xT(y);return k.jsxs(bT,P({as:s,className:se(h.root,o),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:t},w,p,g&&i.props,{ownerState:y,children:[g?i.props.children:i,d?k.jsx("title",{children:d}):null]}))});Ff.muiName="SvgIcon";function pr(e,n){function t(r,i){return k.jsx(Ff,P({"data-testid":`${n}Icon`,ref:i},r,{children:e}))}return t.muiName=Ff.muiName,x.memo(x.forwardRef(t))}const kT={configure:e=>{vh.configure(e)}},wT=Object.freeze(Object.defineProperty({__proto__:null,capitalize:K,createChainedFunction:Mf,createSvgIcon:pr,debounce:mh,deprecatedPropType:VS,isMuiElement:hl,ownerDocument:Zn,ownerWindow:Fr,requirePropFactory:KS,setRef:Xl,unstable_ClassNameGenerator:kT,unstable_useEnhancedEffect:Xt,unstable_useId:Fu,unsupportedProp:YS,useControlled:Ql,useEventCallback:ai,useForkRef:Cn,useIsFocusVisible:gh},Symbol.toStringTag,{value:"Module"}));var De={};/** + */var Cn=typeof Symbol=="function"&&Symbol.for,wh=Cn?Symbol.for("react.element"):60103,Sh=Cn?Symbol.for("react.portal"):60106,Hu=Cn?Symbol.for("react.fragment"):60107,Vu=Cn?Symbol.for("react.strict_mode"):60108,Ku=Cn?Symbol.for("react.profiler"):60114,Gu=Cn?Symbol.for("react.provider"):60109,qu=Cn?Symbol.for("react.context"):60110,Ch=Cn?Symbol.for("react.async_mode"):60111,Yu=Cn?Symbol.for("react.concurrent_mode"):60111,Xu=Cn?Symbol.for("react.forward_ref"):60112,Qu=Cn?Symbol.for("react.suspense"):60113,M_=Cn?Symbol.for("react.suspense_list"):60120,Ju=Cn?Symbol.for("react.memo"):60115,Zu=Cn?Symbol.for("react.lazy"):60116,N_=Cn?Symbol.for("react.block"):60121,$_=Cn?Symbol.for("react.fundamental"):60117,z_=Cn?Symbol.for("react.responder"):60118,F_=Cn?Symbol.for("react.scope"):60119;function ht(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case wh:switch(e=e.type,e){case Ch:case Yu:case Hu:case Ku:case Vu:case Qu:return e;default:switch(e=e&&e.$$typeof,e){case qu:case Xu:case Zu:case Ju:case Gu:return e;default:return n}}case Sh:return n}}}function Zx(e){return ht(e)===Yu}Fe.AsyncMode=Ch;Fe.ConcurrentMode=Yu;Fe.ContextConsumer=qu;Fe.ContextProvider=Gu;Fe.Element=wh;Fe.ForwardRef=Xu;Fe.Fragment=Hu;Fe.Lazy=Zu;Fe.Memo=Ju;Fe.Portal=Sh;Fe.Profiler=Ku;Fe.StrictMode=Vu;Fe.Suspense=Qu;Fe.isAsyncMode=function(e){return Zx(e)||ht(e)===Ch};Fe.isConcurrentMode=Zx;Fe.isContextConsumer=function(e){return ht(e)===qu};Fe.isContextProvider=function(e){return ht(e)===Gu};Fe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===wh};Fe.isForwardRef=function(e){return ht(e)===Xu};Fe.isFragment=function(e){return ht(e)===Hu};Fe.isLazy=function(e){return ht(e)===Zu};Fe.isMemo=function(e){return ht(e)===Ju};Fe.isPortal=function(e){return ht(e)===Sh};Fe.isProfiler=function(e){return ht(e)===Ku};Fe.isStrictMode=function(e){return ht(e)===Vu};Fe.isSuspense=function(e){return ht(e)===Qu};Fe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Hu||e===Yu||e===Ku||e===Vu||e===Qu||e===M_||typeof e=="object"&&e!==null&&(e.$$typeof===Zu||e.$$typeof===Ju||e.$$typeof===Gu||e.$$typeof===qu||e.$$typeof===Xu||e.$$typeof===$_||e.$$typeof===z_||e.$$typeof===F_||e.$$typeof===N_)};Fe.typeOf=ht;Jx.exports=Fe;var D_=Jx.exports,eb=D_,B_={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},U_={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},nb={};nb[eb.ForwardRef]=B_;nb[eb.Memo]=U_;var W_=!0;function H_(e,n,t){var r="";return t.split(" ").forEach(function(i){e[i]!==void 0?n.push(e[i]+";"):r+=i+" "}),r}var tb=function(n,t,r){var i=n.key+"-"+t.name;(r===!1||W_===!1)&&n.registered[i]===void 0&&(n.registered[i]=t.styles)},rb=function(n,t,r){tb(n,t,r);var i=n.key+"-"+t.name;if(n.inserted[t.name]===void 0){var o=t;do n.insert(t===o?"."+i:"",o,n.sheet,!0),o=o.next;while(o!==void 0)}};function V_(e){for(var n=0,t,r=0,i=e.length;i>=4;++r,i-=4)t=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(t&65535)*1540483477+((t>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(e.charCodeAt(r+2)&255)<<16;case 2:n^=(e.charCodeAt(r+1)&255)<<8;case 1:n^=e.charCodeAt(r)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}var K_={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},G_=/[A-Z]|^ms/g,q_=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ib=function(n){return n.charCodeAt(1)===45},Yg=function(n){return n!=null&&typeof n!="boolean"},ud=Hx(function(e){return ib(e)?e:e.replace(G_,"-$&").toLowerCase()}),Xg=function(n,t){switch(n){case"animation":case"animationName":if(typeof t=="string")return t.replace(q_,function(r,i,o){return Bt={name:i,styles:o,next:Bt},i})}return K_[n]!==1&&!ib(n)&&typeof t=="number"&&t!==0?t+"px":t};function Qa(e,n,t){if(t==null)return"";if(t.__emotion_styles!==void 0)return t;switch(typeof t){case"boolean":return"";case"object":{if(t.anim===1)return Bt={name:t.name,styles:t.styles,next:Bt},t.name;if(t.styles!==void 0){var r=t.next;if(r!==void 0)for(;r!==void 0;)Bt={name:r.name,styles:r.styles,next:Bt},r=r.next;var i=t.styles+";";return i}return Y_(e,n,t)}case"function":{if(e!==void 0){var o=Bt,a=t(e);return Bt=o,Qa(e,n,a)}break}}if(n==null)return t;var s=n[t];return s!==void 0?s:t}function Y_(e,n,t){var r="";if(Array.isArray(t))for(var i=0;i96?eE:nE},e0=function(n,t,r){var i;if(t){var o=t.shouldForwardProp;i=n.__emotion_forwardProp&&o?function(a){return n.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=n.__emotion_forwardProp),i},tE=function(n){var t=n.cache,r=n.serialized,i=n.isStringTag;return tb(t,r,i),Q_(function(){return rb(t,r,i)}),null},rE=function e(n,t){var r=n.__emotion_real===n,i=r&&n.__emotion_base||n,o,a;t!==void 0&&(o=t.label,a=t.target);var s=e0(n,t,r),l=s||Zg(i),u=!l("as");return function(){var c=arguments,d=r&&n.__emotion_styles!==void 0?n.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,p=1;pn(oE(i)?t:i):n;return k.jsx(J_,{styles:r})}function lb(e,n){return $p(e,n)}const sE=(e,n)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=n(e.__emotion_styles))},lE=["values","unit","step"],uE=e=>{const n=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return n.sort((t,r)=>t.val-r.val),n.reduce((t,r)=>P({},t,{[r.key]:r.val}),{})};function cE(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:r=5}=e,i=oe(e,lE),o=uE(n),a=Object.keys(o);function s(f){return`@media (min-width:${typeof n[f]=="number"?n[f]:f}${t})`}function l(f){return`@media (max-width:${(typeof n[f]=="number"?n[f]:f)-r/100}${t})`}function u(f,p){const g=a.indexOf(p);return`@media (min-width:${typeof n[f]=="number"?n[f]:f}${t}) and (max-width:${(g!==-1&&typeof n[a[g]]=="number"?n[a[g]]:p)-r/100}${t})`}function c(f){return a.indexOf(f)+1`@media (min-width:${Ph[e]}px)`};function tt(e,n,t){const r=e.theme||{};if(Array.isArray(n)){const o=r.breakpoints||n0;return n.reduce((a,s,l)=>(a[o.up(o.keys[l])]=t(n[l]),a),{})}if(typeof n=="object"){const o=r.breakpoints||n0;return Object.keys(n).reduce((a,s)=>{if(Object.keys(o.values||Ph).indexOf(s)!==-1){const l=o.up(s);a[l]=t(n[s],s)}else{const l=s;a[l]=n[l]}return a},{})}return t(n)}function ub(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function cb(e,n){return e.reduce((t,r)=>{const i=t[r];return(!i||Object.keys(i).length===0)&&delete t[r],t},n)}function fE(e,...n){const t=ub(e),r=[t,...n].reduce((i,o)=>Mn(i,o),{});return cb(Object.keys(t),r)}function hE(e,n){if(typeof e!="object")return{};const t={},r=Object.keys(n);return Array.isArray(e)?r.forEach((i,o)=>{o{e[i]!=null&&(t[i]=!0)}),t}function fi({values:e,breakpoints:n,base:t}){const r=t||hE(e,n),i=Object.keys(r);if(i.length===0)return e;let o;return i.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[o],o=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[o],o=s):a[s]=e,a),{})}function Eo(e,n,t=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&t){const r=`vars.${n}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return n.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function Zl(e,n,t,r=t){let i;return typeof e=="function"?i=e(t):Array.isArray(e)?i=e[t]||r:i=Eo(e,t)||r,n&&(i=n(i,r,e)),i}function Ne(e){const{prop:n,cssProperty:t=e.prop,themeKey:r,transform:i}=e,o=a=>{if(a[n]==null)return null;const s=a[n],l=a.theme,u=Eo(l,r)||{};return tt(a,s,d=>{let f=Zl(u,i,d);return d===f&&typeof d=="string"&&(f=Zl(u,i,`${n}${d==="default"?"":K(d)}`,d)),t===!1?f:{[t]:f}})};return o.propTypes={},o.filterProps=[n],o}function mE(e){const n={};return t=>(n[t]===void 0&&(n[t]=e(t)),n[t])}const gE={m:"margin",p:"padding"},yE={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},t0={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},vE=mE(e=>{if(e.length>2)if(t0[e])e=t0[e];else return[e];const[n,t]=e.split(""),r=gE[n],i=yE[t]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),Th=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Oh=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Th,...Oh];function hs(e,n,t,r){var i;const o=(i=Eo(e,n,!1))!=null?i:t;return typeof o=="number"?a=>typeof a=="string"?a:o*a:Array.isArray(o)?a=>typeof a=="string"?a:o[a]:typeof o=="function"?o:()=>{}}function Ih(e){return hs(e,"spacing",8)}function ki(e,n){if(typeof n=="string"||n==null)return n;const t=Math.abs(n),r=e(t);return n>=0?r:typeof r=="number"?-r:`-${r}`}function xE(e,n){return t=>e.reduce((r,i)=>(r[i]=ki(n,t),r),{})}function bE(e,n,t,r){if(n.indexOf(t)===-1)return null;const i=vE(t),o=xE(i,r),a=e[t];return tt(e,a,o)}function db(e,n){const t=Ih(e.theme);return Object.keys(e).map(r=>bE(e,n,r,t)).reduce(ka,{})}function tn(e){return db(e,Th)}tn.propTypes={};tn.filterProps=Th;function rn(e){return db(e,Oh)}rn.propTypes={};rn.filterProps=Oh;function kE(e=8){if(e.mui)return e;const n=Ih({spacing:e}),t=(...r)=>(r.length===0?[1]:r).map(o=>{const a=n(o);return typeof a=="number"?`${a}px`:a}).join(" ");return t.mui=!0,t}function nc(...e){const n=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),t=r=>Object.keys(r).reduce((i,o)=>n[o]?ka(i,n[o](r)):i,{});return t.propTypes={},t.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),t}function Wt(e){return typeof e!="number"?e:`${e}px solid`}const wE=Ne({prop:"border",themeKey:"borders",transform:Wt}),SE=Ne({prop:"borderTop",themeKey:"borders",transform:Wt}),CE=Ne({prop:"borderRight",themeKey:"borders",transform:Wt}),_E=Ne({prop:"borderBottom",themeKey:"borders",transform:Wt}),EE=Ne({prop:"borderLeft",themeKey:"borders",transform:Wt}),PE=Ne({prop:"borderColor",themeKey:"palette"}),TE=Ne({prop:"borderTopColor",themeKey:"palette"}),OE=Ne({prop:"borderRightColor",themeKey:"palette"}),IE=Ne({prop:"borderBottomColor",themeKey:"palette"}),RE=Ne({prop:"borderLeftColor",themeKey:"palette"}),tc=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=hs(e.theme,"shape.borderRadius",4),t=r=>({borderRadius:ki(n,r)});return tt(e,e.borderRadius,t)}return null};tc.propTypes={};tc.filterProps=["borderRadius"];nc(wE,SE,CE,_E,EE,PE,TE,OE,IE,RE,tc);const rc=e=>{if(e.gap!==void 0&&e.gap!==null){const n=hs(e.theme,"spacing",8),t=r=>({gap:ki(n,r)});return tt(e,e.gap,t)}return null};rc.propTypes={};rc.filterProps=["gap"];const ic=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=hs(e.theme,"spacing",8),t=r=>({columnGap:ki(n,r)});return tt(e,e.columnGap,t)}return null};ic.propTypes={};ic.filterProps=["columnGap"];const oc=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=hs(e.theme,"spacing",8),t=r=>({rowGap:ki(n,r)});return tt(e,e.rowGap,t)}return null};oc.propTypes={};oc.filterProps=["rowGap"];const AE=Ne({prop:"gridColumn"}),LE=Ne({prop:"gridRow"}),jE=Ne({prop:"gridAutoFlow"}),ME=Ne({prop:"gridAutoColumns"}),NE=Ne({prop:"gridAutoRows"}),$E=Ne({prop:"gridTemplateColumns"}),zE=Ne({prop:"gridTemplateRows"}),FE=Ne({prop:"gridTemplateAreas"}),DE=Ne({prop:"gridArea"});nc(rc,ic,oc,AE,LE,jE,ME,NE,$E,zE,FE,DE);function fo(e,n){return n==="grey"?n:e}const BE=Ne({prop:"color",themeKey:"palette",transform:fo}),UE=Ne({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:fo}),WE=Ne({prop:"backgroundColor",themeKey:"palette",transform:fo});nc(BE,UE,WE);function at(e){return e<=1&&e!==0?`${e*100}%`:e}const HE=Ne({prop:"width",transform:at}),Rh=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=t=>{var r,i;const o=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[t])||Ph[t];return o?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:at(t)}};return tt(e,e.maxWidth,n)}return null};Rh.filterProps=["maxWidth"];const VE=Ne({prop:"minWidth",transform:at}),KE=Ne({prop:"height",transform:at}),GE=Ne({prop:"maxHeight",transform:at}),qE=Ne({prop:"minHeight",transform:at});Ne({prop:"size",cssProperty:"width",transform:at});Ne({prop:"size",cssProperty:"height",transform:at});const YE=Ne({prop:"boxSizing"});nc(HE,Rh,VE,KE,GE,qE,YE);const XE={border:{themeKey:"borders",transform:Wt},borderTop:{themeKey:"borders",transform:Wt},borderRight:{themeKey:"borders",transform:Wt},borderBottom:{themeKey:"borders",transform:Wt},borderLeft:{themeKey:"borders",transform:Wt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:tc},color:{themeKey:"palette",transform:fo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:fo},backgroundColor:{themeKey:"palette",transform:fo},p:{style:rn},pt:{style:rn},pr:{style:rn},pb:{style:rn},pl:{style:rn},px:{style:rn},py:{style:rn},padding:{style:rn},paddingTop:{style:rn},paddingRight:{style:rn},paddingBottom:{style:rn},paddingLeft:{style:rn},paddingX:{style:rn},paddingY:{style:rn},paddingInline:{style:rn},paddingInlineStart:{style:rn},paddingInlineEnd:{style:rn},paddingBlock:{style:rn},paddingBlockStart:{style:rn},paddingBlockEnd:{style:rn},m:{style:tn},mt:{style:tn},mr:{style:tn},mb:{style:tn},ml:{style:tn},mx:{style:tn},my:{style:tn},margin:{style:tn},marginTop:{style:tn},marginRight:{style:tn},marginBottom:{style:tn},marginLeft:{style:tn},marginX:{style:tn},marginY:{style:tn},marginInline:{style:tn},marginInlineStart:{style:tn},marginInlineEnd:{style:tn},marginBlock:{style:tn},marginBlockStart:{style:tn},marginBlockEnd:{style:tn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:rc},rowGap:{style:oc},columnGap:{style:ic},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:at},maxWidth:{style:Rh},minWidth:{transform:at},height:{transform:at},maxHeight:{transform:at},minHeight:{transform:at},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},ac=XE;function QE(...e){const n=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),t=new Set(n);return e.every(r=>t.size===Object.keys(r).length)}function JE(e,n){return typeof e=="function"?e(n):e}function ZE(){function e(t,r,i,o){const a={[t]:r,theme:i},s=o[t];if(!s)return{[t]:r};const{cssProperty:l=t,themeKey:u,transform:c,style:d}=s;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[t]:r};const f=Eo(i,u)||{};return d?d(a):tt(a,r,g=>{let y=Zl(f,c,g);return g===y&&typeof g=="string"&&(y=Zl(f,c,`${t}${g==="default"?"":K(g)}`,g)),l===!1?y:{[l]:y}})}function n(t){var r;const{sx:i,theme:o={}}=t||{};if(!i)return null;const a=(r=o.unstable_sxConfig)!=null?r:ac;function s(l){let u=l;if(typeof l=="function")u=l(o);else if(typeof l!="object")return l;if(!u)return null;const c=ub(o.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(p=>{const g=JE(u[p],o);if(g!=null)if(typeof g=="object")if(a[p])f=ka(f,e(p,g,o,a));else{const y=tt({theme:o},g,w=>({[p]:w}));QE(y,g)?f[p]=n({sx:g,theme:o}):f=ka(f,y)}else f=ka(f,e(p,g,o,a))}),cb(d,f)}return Array.isArray(i)?i.map(s):s(i)}return n}const ms=ZE();ms.filterProps=["sx"];const eP=["breakpoints","palette","spacing","shape"];function gs(e={},...n){const{breakpoints:t={},palette:r={},spacing:i,shape:o={}}=e,a=oe(e,eP),s=cE(t),l=kE(i);let u=Mn({breakpoints:s,direction:"ltr",components:{},palette:P({mode:"light"},r),spacing:l,shape:P({},pE,o)},a);return u=n.reduce((c,d)=>Mn(c,d),u),u.unstable_sxConfig=P({},ac,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(d){return ms({sx:d,theme:this})},u}function nP(e){return Object.keys(e).length===0}function Ah(e=null){const n=x.useContext(ec);return!n||nP(n)?e:n}const tP=gs();function sc(e=tP){return Ah(e)}function rP({styles:e,themeId:n,defaultTheme:t={}}){const r=sc(t),i=typeof e=="function"?e(n&&r[n]||r):e;return k.jsx(aE,{styles:i})}const iP=["sx"],oP=e=>{var n,t;const r={systemProps:{},otherProps:{}},i=(n=e==null||(t=e.theme)==null?void 0:t.unstable_sxConfig)!=null?n:ac;return Object.keys(e).forEach(o=>{i[o]?r.systemProps[o]=e[o]:r.otherProps[o]=e[o]}),r};function lc(e){const{sx:n}=e,t=oe(e,iP),{systemProps:r,otherProps:i}=oP(t);let o;return Array.isArray(n)?o=[r,...n]:typeof n=="function"?o=(...a)=>{const s=n(...a);return er(s)?P({},r,s):r}:o=P({},r,n),P({},i,{sx:o})}function pb(e){var n,t,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(n=0;ns!=="theme"&&s!=="sx"&&s!=="as"})(ms);return x.forwardRef(function(l,u){const c=sc(t),d=lc(l),{className:f,component:p="div"}=d,g=oe(d,aP);return k.jsx(o,P({as:p,ref:u,className:se(f,i?i(r):r),theme:n&&c[n]||c},g))})}const lP=["variant"];function r0(e){return e.length===0}function fb(e){const{variant:n}=e,t=oe(e,lP);let r=n||"";return Object.keys(t).sort().forEach(i=>{i==="color"?r+=r0(r)?e[i]:K(e[i]):r+=`${r0(r)?i:K(i)}${K(e[i].toString())}`}),r}const uP=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function cP(e){return Object.keys(e).length===0}function dP(e){return typeof e=="string"&&e.charCodeAt(0)>96}const pP=(e,n)=>n.components&&n.components[e]&&n.components[e].styleOverrides?n.components[e].styleOverrides:null,eu=e=>{const n={};return e&&e.forEach(t=>{const r=fb(t.props);n[r]=t.style}),n},fP=(e,n)=>{let t=[];return n&&n.components&&n.components[e]&&n.components[e].variants&&(t=n.components[e].variants),eu(t)},nu=(e,n,t)=>{const{ownerState:r={}}=e,i=[];return t&&t.forEach(o=>{let a=!0;Object.keys(o.props).forEach(s=>{r[s]!==o.props[s]&&e[s]!==o.props[s]&&(a=!1)}),a&&i.push(n[fb(o.props)])}),i},hP=(e,n,t,r)=>{var i;const o=t==null||(i=t.components)==null||(i=i[r])==null?void 0:i.variants;return nu(e,n,o)};function wa(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const mP=gs(),gP=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function vl({defaultTheme:e,theme:n,themeId:t}){return cP(n)?e:n[t]||n}function yP(e){return e?(n,t)=>t[e]:null}const i0=({styledArg:e,props:n,defaultTheme:t,themeId:r})=>{const i=e(P({},n,{theme:vl(P({},n,{defaultTheme:t,themeId:r}))}));let o;if(i&&i.variants&&(o=i.variants,delete i.variants),o){const a=nu(n,eu(o),o);return[i,...a]}return i};function hb(e={}){const{themeId:n,defaultTheme:t=mP,rootShouldForwardProp:r=wa,slotShouldForwardProp:i=wa}=e,o=a=>ms(P({},a,{theme:vl(P({},a,{defaultTheme:t,themeId:n}))}));return o.__mui_systemSx=!0,(a,s={})=>{sE(a,b=>b.filter(_=>!(_!=null&&_.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=yP(gP(u))}=s,p=oe(s,uP),g=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,y=d||!1;let w,h=wa;u==="Root"||u==="root"?h=r:u?h=i:dP(a)&&(h=void 0);const m=lb(a,P({shouldForwardProp:h,label:w},p)),v=(b,..._)=>{const S=_?_.map(O=>{if(typeof O=="function"&&O.__emotion_real!==O)return L=>i0({styledArg:O,props:L,defaultTheme:t,themeId:n});if(er(O)){let L=O,j;return O&&O.variants&&(j=O.variants,delete L.variants,L=D=>{let F=O;return nu(D,eu(j),j).forEach(U=>{F=Mn(F,U)}),F}),L}return O}):[];let E=b;if(er(b)){let O;b&&b.variants&&(O=b.variants,delete E.variants,E=L=>{let j=b;return nu(L,eu(O),O).forEach(F=>{j=Mn(j,F)}),j})}else typeof b=="function"&&b.__emotion_real!==b&&(E=O=>i0({styledArg:b,props:O,defaultTheme:t,themeId:n}));l&&f&&S.push(O=>{const L=vl(P({},O,{defaultTheme:t,themeId:n})),j=pP(l,L);if(j){const D={};return Object.entries(j).forEach(([F,$])=>{D[F]=typeof $=="function"?$(P({},O,{theme:L})):$}),f(O,D)}return null}),l&&!g&&S.push(O=>{const L=vl(P({},O,{defaultTheme:t,themeId:n}));return hP(O,fP(l,L),L,l)}),y||S.push(o);const R=S.length-_.length;if(Array.isArray(b)&&R>0){const O=new Array(R).fill("");E=[...b,...O],E.raw=[...b.raw,...O]}const I=m(E,...S);return a.muiName&&(I.muiName=a.muiName),I};return m.withConfig&&(v.withConfig=m.withConfig),v}}const mb=hb();function gb(e){const{theme:n,name:t,props:r}=e;return!n||!n.components||!n.components[t]||!n.components[t].defaultProps?r:yh(n.components[t].defaultProps,r)}function Lh({props:e,name:n,defaultTheme:t,themeId:r}){let i=sc(t);return r&&(i=i[r]||i),gb({theme:i,name:n,props:e})}function jh(e,n=0,t=1){return Math.min(Math.max(n,e),t)}function vP(e){e=e.slice(1);const n=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(n);return t&&t[0].length===1&&(t=t.map(r=>r+r)),t?`rgb${t.length===4?"a":""}(${t.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function wi(e){if(e.type)return e;if(e.charAt(0)==="#")return wi(vP(e));const n=e.indexOf("("),t=e.substring(0,n);if(["rgb","rgba","hsl","hsla","color"].indexOf(t)===-1)throw new Error(zr(9,e));let r=e.substring(n+1,e.length-1),i;if(t==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(zr(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:t,values:r,colorSpace:i}}function uc(e){const{type:n,colorSpace:t}=e;let{values:r}=e;return n.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):n.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),n.indexOf("color")!==-1?r=`${t} ${r.join(" ")}`:r=`${r.join(", ")}`,`${n}(${r})`}function xP(e){e=wi(e);const{values:n}=e,t=n[0],r=n[1]/100,i=n[2]/100,o=r*Math.min(i,1-i),a=(u,c=(u+t/30)%12)=>i-o*Math.max(Math.min(c-3,9-c,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(n[3])),uc({type:s,values:l})}function o0(e){e=wi(e);let n=e.type==="hsl"||e.type==="hsla"?wi(xP(e)).values:e.values;return n=n.map(t=>(e.type!=="color"&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function bP(e,n){const t=o0(e),r=o0(n);return(Math.max(t,r)+.05)/(Math.min(t,r)+.05)}function Qe(e,n){return e=wi(e),n=jh(n),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${n}`:e.values[3]=n,uc(e)}function kP(e,n){if(e=wi(e),n=jh(n),e.type.indexOf("hsl")!==-1)e.values[2]*=1-n;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let t=0;t<3;t+=1)e.values[t]*=1-n;return uc(e)}function wP(e,n){if(e=wi(e),n=jh(n),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*n;else if(e.type.indexOf("rgb")!==-1)for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*n;else if(e.type.indexOf("color")!==-1)for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*n;return uc(e)}const SP=x.createContext(null),yb=SP;function vb(){return x.useContext(yb)}const CP=typeof Symbol=="function"&&Symbol.for,_P=CP?Symbol.for("mui.nested"):"__THEME_NESTED__";function EP(e,n){return typeof n=="function"?n(e):P({},e,n)}function PP(e){const{children:n,theme:t}=e,r=vb(),i=x.useMemo(()=>{const o=r===null?t:EP(r,t);return o!=null&&(o[_P]=r!==null),o},[t,r]);return k.jsx(yb.Provider,{value:i,children:n})}const a0={};function s0(e,n,t,r=!1){return x.useMemo(()=>{const i=e&&n[e]||n;if(typeof t=="function"){const o=t(i),a=e?P({},n,{[e]:o}):o;return r?()=>a:a}return e?P({},n,{[e]:t}):P({},n,t)},[e,n,t,r])}function TP(e){const{children:n,theme:t,themeId:r}=e,i=Ah(a0),o=vb()||a0,a=s0(r,i,t),s=s0(r,o,t,!0);return k.jsx(PP,{theme:s,children:k.jsx(ec.Provider,{value:a,children:n})})}const OP=["className","component","disableGutters","fixed","maxWidth","classes"],IP=gs(),RP=mb("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n[`maxWidth${K(String(t.maxWidth))}`],t.fixed&&n.fixed,t.disableGutters&&n.disableGutters]}}),AP=e=>Lh({props:e,name:"MuiContainer",defaultTheme:IP}),LP=(e,n)=>{const t=l=>Se(n,l),{classes:r,fixed:i,disableGutters:o,maxWidth:a}=e,s={root:["root",a&&`maxWidth${K(String(a))}`,i&&"fixed",o&&"disableGutters"]};return Te(s,t,r)};function jP(e={}){const{createStyledComponent:n=RP,useThemeProps:t=AP,componentName:r="MuiContainer"}=e,i=n(({theme:a,ownerState:s})=>P({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!s.disableGutters&&{paddingLeft:a.spacing(2),paddingRight:a.spacing(2),[a.breakpoints.up("sm")]:{paddingLeft:a.spacing(3),paddingRight:a.spacing(3)}}),({theme:a,ownerState:s})=>s.fixed&&Object.keys(a.breakpoints.values).reduce((l,u)=>{const c=u,d=a.breakpoints.values[c];return d!==0&&(l[a.breakpoints.up(c)]={maxWidth:`${d}${a.breakpoints.unit}`}),l},{}),({theme:a,ownerState:s})=>P({},s.maxWidth==="xs"&&{[a.breakpoints.up("xs")]:{maxWidth:Math.max(a.breakpoints.values.xs,444)}},s.maxWidth&&s.maxWidth!=="xs"&&{[a.breakpoints.up(s.maxWidth)]:{maxWidth:`${a.breakpoints.values[s.maxWidth]}${a.breakpoints.unit}`}}));return x.forwardRef(function(s,l){const u=t(s),{className:c,component:d="div",disableGutters:f=!1,fixed:p=!1,maxWidth:g="lg"}=u,y=oe(u,OP),w=P({},u,{component:d,disableGutters:f,fixed:p,maxWidth:g}),h=LP(w,r);return k.jsx(i,P({as:d,ownerState:w,className:se(h.root,c),ref:l},y))})}const MP=["component","direction","spacing","divider","children","className","useFlexGap"],NP=gs(),$P=mb("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,n)=>n.root});function zP(e){return Lh({props:e,name:"MuiStack",defaultTheme:NP})}function FP(e,n){const t=x.Children.toArray(e).filter(Boolean);return t.reduce((r,i,o)=>(r.push(i),o({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],BP=({ownerState:e,theme:n})=>{let t=P({display:"flex",flexDirection:"column"},tt({theme:n},fi({values:e.direction,breakpoints:n.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=Ih(n),i=Object.keys(n.breakpoints.values).reduce((l,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(l[u]=!0),l),{}),o=fi({values:e.direction,base:i}),a=fi({values:e.spacing,base:i});typeof o=="object"&&Object.keys(o).forEach((l,u,c)=>{if(!o[l]){const f=u>0?o[c[u-1]]:"column";o[l]=f}}),t=Mn(t,tt({theme:n},a,(l,u)=>e.useFlexGap?{gap:ki(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${DP(u?o[u]:e.direction)}`]:ki(r,l)}}))}return t=fE(n.breakpoints,t),t};function UP(e={}){const{createStyledComponent:n=$P,useThemeProps:t=zP,componentName:r="MuiStack"}=e,i=()=>Te({root:["root"]},l=>Se(r,l),{}),o=n(BP);return x.forwardRef(function(l,u){const c=t(l),d=lc(c),{component:f="div",direction:p="column",spacing:g=0,divider:y,children:w,className:h,useFlexGap:m=!1}=d,v=oe(d,MP),b={direction:p,spacing:g,useFlexGap:m},_=i();return k.jsx(o,P({as:f,ownerState:b,ref:u,className:se(_.root,h)},v,{children:y?FP(w,y):w}))})}function WP(e,n){return P({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},n)}const HP=["mode","contrastThreshold","tonalOffset"],l0={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:qa.white,default:qa.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},cd={text:{primary:qa.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:qa.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function u0(e,n,t,r){const i=r.light||r,o=r.dark||r*1.5;e[n]||(e.hasOwnProperty(t)?e[n]=e[t]:n==="light"?e.light=wP(e.main,i):n==="dark"&&(e.dark=kP(e.main,o)))}function VP(e="light"){return e==="dark"?{main:Li[200],light:Li[50],dark:Li[400]}:{main:Li[700],light:Li[400],dark:Li[800]}}function KP(e="light"){return e==="dark"?{main:Ai[200],light:Ai[50],dark:Ai[400]}:{main:Ai[500],light:Ai[300],dark:Ai[700]}}function GP(e="light"){return e==="dark"?{main:Ri[500],light:Ri[300],dark:Ri[700]}:{main:Ri[700],light:Ri[400],dark:Ri[800]}}function qP(e="light"){return e==="dark"?{main:ji[400],light:ji[300],dark:ji[700]}:{main:ji[700],light:ji[500],dark:ji[900]}}function YP(e="light"){return e==="dark"?{main:Mi[400],light:Mi[300],dark:Mi[700]}:{main:Mi[800],light:Mi[500],dark:Mi[900]}}function XP(e="light"){return e==="dark"?{main:qo[400],light:qo[300],dark:qo[700]}:{main:"#ed6c02",light:qo[500],dark:qo[900]}}function QP(e){const{mode:n="light",contrastThreshold:t=3,tonalOffset:r=.2}=e,i=oe(e,HP),o=e.primary||VP(n),a=e.secondary||KP(n),s=e.error||GP(n),l=e.info||qP(n),u=e.success||YP(n),c=e.warning||XP(n);function d(y){return bP(y,cd.text.primary)>=t?cd.text.primary:l0.text.primary}const f=({color:y,name:w,mainShade:h=500,lightShade:m=300,darkShade:v=700})=>{if(y=P({},y),!y.main&&y[h]&&(y.main=y[h]),!y.hasOwnProperty("main"))throw new Error(zr(11,w?` (${w})`:"",h));if(typeof y.main!="string")throw new Error(zr(12,w?` (${w})`:"",JSON.stringify(y.main)));return u0(y,"light",m,r),u0(y,"dark",v,r),y.contrastText||(y.contrastText=d(y.main)),y},p={dark:cd,light:l0};return Mn(P({common:P({},qa),mode:n,primary:f({color:o,name:"primary"}),secondary:f({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:s,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:u,name:"success"}),grey:FC,contrastThreshold:t,getContrastText:d,augmentColor:f,tonalOffset:r},p[n]),i)}const JP=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function ZP(e){return Math.round(e*1e5)/1e5}const c0={textTransform:"uppercase"},d0='"Roboto", "Helvetica", "Arial", sans-serif';function eT(e,n){const t=typeof n=="function"?n(e):n,{fontFamily:r=d0,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=t,f=oe(t,JP),p=i/14,g=d||(h=>`${h/u*p}rem`),y=(h,m,v,b,_)=>P({fontFamily:r,fontWeight:h,fontSize:g(m),lineHeight:v},r===d0?{letterSpacing:`${ZP(b/m)}em`}:{},_,c),w={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(a,48,1.167,0),h4:y(a,34,1.235,.25),h5:y(a,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(a,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(a,16,1.5,.15),body2:y(a,14,1.43,.15),button:y(s,14,1.75,.4,c0),caption:y(a,12,1.66,.4),overline:y(a,12,2.66,1,c0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Mn(P({htmlFontSize:u,pxToRem:g,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},w),f,{clone:!1})}const nT=.2,tT=.14,rT=.12;function Xe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${nT})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${tT})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${rT})`].join(",")}const iT=["none",Xe(0,2,1,-1,0,1,1,0,0,1,3,0),Xe(0,3,1,-2,0,2,2,0,0,1,5,0),Xe(0,3,3,-2,0,3,4,0,0,1,8,0),Xe(0,2,4,-1,0,4,5,0,0,1,10,0),Xe(0,3,5,-1,0,5,8,0,0,1,14,0),Xe(0,3,5,-1,0,6,10,0,0,1,18,0),Xe(0,4,5,-2,0,7,10,1,0,2,16,1),Xe(0,5,5,-3,0,8,10,1,0,3,14,2),Xe(0,5,6,-3,0,9,12,1,0,3,16,2),Xe(0,6,6,-3,0,10,14,1,0,4,18,3),Xe(0,6,7,-4,0,11,15,1,0,4,20,3),Xe(0,7,8,-4,0,12,17,2,0,5,22,4),Xe(0,7,8,-4,0,13,19,2,0,5,24,4),Xe(0,7,9,-4,0,14,21,2,0,5,26,4),Xe(0,8,9,-5,0,15,22,2,0,6,28,5),Xe(0,8,10,-5,0,16,24,2,0,6,30,5),Xe(0,8,11,-5,0,17,26,2,0,6,32,5),Xe(0,9,11,-5,0,18,28,2,0,7,34,6),Xe(0,9,12,-6,0,19,29,2,0,7,36,6),Xe(0,10,13,-6,0,20,31,3,0,8,38,7),Xe(0,10,13,-6,0,21,33,3,0,8,40,7),Xe(0,10,14,-6,0,22,35,3,0,8,42,7),Xe(0,11,14,-7,0,23,36,3,0,9,44,8),Xe(0,11,15,-7,0,24,38,3,0,9,46,8)],oT=["duration","easing","delay"],aT={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},sT={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function p0(e){return`${Math.round(e)}ms`}function lT(e){if(!e)return 0;const n=e/36;return Math.round((4+15*n**.25+n/5)*10)}function uT(e){const n=P({},aT,e.easing),t=P({},sT,e.duration);return P({getAutoHeightDuration:lT,create:(i=["all"],o={})=>{const{duration:a=t.standard,easing:s=n.easeInOut,delay:l=0}=o;return oe(o,oT),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof a=="string"?a:p0(a)} ${s} ${typeof l=="string"?l:p0(l)}`).join(",")}},e,{easing:n,duration:t})}const cT={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},dT=cT,pT=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Mh(e={},...n){const{mixins:t={},palette:r={},transitions:i={},typography:o={}}=e,a=oe(e,pT);if(e.vars)throw new Error(zr(18));const s=QP(r),l=gs(e);let u=Mn(l,{mixins:WP(l.breakpoints,t),palette:s,shadows:iT.slice(),typography:eT(s,o),transitions:uT(i),zIndex:P({},dT)});return u=Mn(u,a),u=n.reduce((c,d)=>Mn(c,d),u),u.unstable_sxConfig=P({},ac,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(d){return ms({sx:d,theme:this})},u}const fT=Mh(),cc=fT;function _t(){const e=sc(cc);return e[bi]||e}function Ie({props:e,name:n}){return Lh({props:e,name:n,defaultTheme:cc,themeId:bi})}const rt=e=>wa(e)&&e!=="classes",hT=wa,te=hb({themeId:bi,defaultTheme:cc,rootShouldForwardProp:rt}),mT=["theme"];function gT(e){let{theme:n}=e,t=oe(e,mT);const r=n[bi];return k.jsx(TP,P({},t,{themeId:r?bi:void 0,theme:r||n}))}const f0=e=>{let n;return e<1?n=5.11916*e**2:n=4.5*Math.log(e+1)+2,(n/100).toFixed(2)};function yT(e){return Se("MuiSvgIcon",e)}Ce("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const vT=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],xT=e=>{const{color:n,fontSize:t,classes:r}=e,i={root:["root",n!=="inherit"&&`color${K(n)}`,`fontSize${K(t)}`]};return Te(i,yT,r)},bT=te("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.color!=="inherit"&&n[`color${K(t.color)}`],n[`fontSize${K(t.fontSize)}`]]}})(({theme:e,ownerState:n})=>{var t,r,i,o,a,s,l,u,c,d,f,p,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:n.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(t=e.transitions)==null||(r=t.create)==null?void 0:r.call(t,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=e.typography)==null||(a=o.pxToRem)==null?void 0:a.call(o,20))||"1.25rem",medium:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem",large:((u=e.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}[n.fontSize],color:(d=(f=(e.vars||e).palette)==null||(f=f[n.color])==null?void 0:f.main)!=null?d:{action:(p=(e.vars||e).palette)==null||(p=p.action)==null?void 0:p.active,disabled:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.disabled,inherit:void 0}[n.color]}}),zp=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiSvgIcon"}),{children:i,className:o,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,p=oe(r,vT),g=x.isValidElement(i)&&i.type==="svg",y=P({},r,{color:a,component:s,fontSize:l,instanceFontSize:n.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:g}),w={};c||(w.viewBox=f);const h=xT(y);return k.jsxs(bT,P({as:s,className:se(h.root,o),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:t},w,p,g&&i.props,{ownerState:y,children:[g?i.props.children:i,d?k.jsx("title",{children:d}):null]}))});zp.muiName="SvgIcon";function fr(e,n){function t(r,i){return k.jsx(zp,P({"data-testid":`${n}Icon`,ref:i},r,{children:e}))}return t.muiName=zp.muiName,x.memo(x.forwardRef(t))}const kT={configure:e=>{vh.configure(e)}},wT=Object.freeze(Object.defineProperty({__proto__:null,capitalize:K,createChainedFunction:Lp,createSvgIcon:fr,debounce:mh,deprecatedPropType:VC,isMuiElement:hl,ownerDocument:Zn,ownerWindow:Fr,requirePropFactory:KC,setRef:Xl,unstable_ClassNameGenerator:kT,unstable_useEnhancedEffect:Xt,unstable_useId:Fu,unsupportedProp:qC,useControlled:Ql,useEventCallback:si,useForkRef:Sn,useIsFocusVisible:gh},Symbol.toStringTag,{value:"Module"}));var De={};/** * @license React * react-is.production.min.js * @@ -79,7 +79,7 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var $h=Symbol.for("react.element"),jh=Symbol.for("react.portal"),dc=Symbol.for("react.fragment"),fc=Symbol.for("react.strict_mode"),pc=Symbol.for("react.profiler"),hc=Symbol.for("react.provider"),mc=Symbol.for("react.context"),CT=Symbol.for("react.server_context"),gc=Symbol.for("react.forward_ref"),yc=Symbol.for("react.suspense"),vc=Symbol.for("react.suspense_list"),xc=Symbol.for("react.memo"),bc=Symbol.for("react.lazy"),ST=Symbol.for("react.offscreen"),xb;xb=Symbol.for("react.module.reference");function _t(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case $h:switch(e=e.type,e){case dc:case pc:case fc:case yc:case vc:return e;default:switch(e=e&&e.$$typeof,e){case CT:case mc:case gc:case bc:case xc:case hc:return e;default:return n}}case jh:return n}}}De.ContextConsumer=mc;De.ContextProvider=hc;De.Element=$h;De.ForwardRef=gc;De.Fragment=dc;De.Lazy=bc;De.Memo=xc;De.Portal=jh;De.Profiler=pc;De.StrictMode=fc;De.Suspense=yc;De.SuspenseList=vc;De.isAsyncMode=function(){return!1};De.isConcurrentMode=function(){return!1};De.isContextConsumer=function(e){return _t(e)===mc};De.isContextProvider=function(e){return _t(e)===hc};De.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===$h};De.isForwardRef=function(e){return _t(e)===gc};De.isFragment=function(e){return _t(e)===dc};De.isLazy=function(e){return _t(e)===bc};De.isMemo=function(e){return _t(e)===xc};De.isPortal=function(e){return _t(e)===jh};De.isProfiler=function(e){return _t(e)===pc};De.isStrictMode=function(e){return _t(e)===fc};De.isSuspense=function(e){return _t(e)===yc};De.isSuspenseList=function(e){return _t(e)===vc};De.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===dc||e===pc||e===fc||e===yc||e===vc||e===ST||typeof e=="object"&&e!==null&&(e.$$typeof===bc||e.$$typeof===xc||e.$$typeof===hc||e.$$typeof===mc||e.$$typeof===gc||e.$$typeof===xb||e.getModuleId!==void 0)};De.typeOf=_t;function Df(e,n){return Df=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Df(e,n)}function bb(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,Df(e,n)}const h0={disabled:!1},tu=Un.createContext(null);var ET=function(n){return n.scrollTop},ua="unmounted",Zr="exited",ei="entering",Fi="entered",Bf="exiting",hr=function(e){bb(n,e);function n(r,i){var o;o=e.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=Zr,o.appearStatus=ei):l=Fi:r.unmountOnExit||r.mountOnEnter?l=ua:l=Zr,o.state={status:l},o.nextCallback=null,o}n.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===ua?{status:Zr}:null};var t=n.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==ei&&a!==Fi&&(o=ei):(a===ei||a===Fi)&&(o=Bf)}this.updateStatus(!1,o)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},t.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===ei){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:la.findDOMNode(this);a&&ET(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Zr&&this.setState({status:ua})},t.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[la.findDOMNode(this),s],u=l[0],c=l[1],d=this.getTimeouts(),f=s?d.appear:d.enter;if(!i&&!a||h0.disabled){this.safeSetState({status:Fi},function(){o.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:ei},function(){o.props.onEntering(u,c),o.onTransitionEnd(f,function(){o.safeSetState({status:Fi},function(){o.props.onEntered(u,c)})})})},t.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:la.findDOMNode(this);if(!o||h0.disabled){this.safeSetState({status:Zr},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Bf},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Zr},function(){i.props.onExited(s)})})})},t.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},t.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},t.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:la.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},t.render=function(){var i=this.state.status;if(i===ua)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=oe(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Un.createElement(tu.Provider,{value:null},typeof a=="function"?a(i,s):Un.cloneElement(Un.Children.only(a),s))},n}(Un.Component);hr.contextType=tu;hr.propTypes={};function Ni(){}hr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ni,onEntering:Ni,onEntered:Ni,onExit:Ni,onExiting:Ni,onExited:Ni};hr.UNMOUNTED=ua;hr.EXITED=Zr;hr.ENTERING=ei;hr.ENTERED=Fi;hr.EXITING=Bf;const zh=hr;function _T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fh(e,n){var t=function(o){return n&&x.isValidElement(o)?n(o):o},r=Object.create(null);return e&&x.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=t(i)}),r}function PT(e,n){e=e||{},n=n||{};function t(c){return c in n?n[c]:e[c]}var r=Object.create(null),i=[];for(var o in e)o in n?i.length&&(r[o]=i,i=[]):i.push(o);var a,s={};for(var l in n){if(r[l])for(a=0;ae.scrollTop;function ru(e,n){var t,r;const{timeout:i,easing:o,style:a={}}=e;return{duration:(t=a.transitionDuration)!=null?t:typeof i=="number"?i:i[n.mode]||0,easing:(r=a.transitionTimingFunction)!=null?r:typeof o=="object"?o[n.mode]:o,delay:a.transitionDelay}}function LT(e){return Ce("MuiPaper",e)}Se("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const MT=["className","component","elevation","square","variant"],NT=e=>{const{square:n,elevation:t,variant:r,classes:i}=e,o={root:["root",r,!n&&"rounded",r==="elevation"&&`elevation${t}`]};return Te(o,LT,i)},$T=te("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n[t.variant],!t.square&&n.rounded,t.variant==="elevation"&&n[`elevation${t.elevation}`]]}})(({theme:e,ownerState:n})=>{var t;return P({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!n.square&&{borderRadius:e.shape.borderRadius},n.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},n.variant==="elevation"&&P({boxShadow:(e.vars||e).shadows[n.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Qe("#fff",p0(n.elevation))}, ${Qe("#fff",p0(n.elevation))})`},e.vars&&{backgroundImage:(t=e.vars.overlays)==null?void 0:t[n.elevation]}))}),jT=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiPaper"}),{className:i,component:o="div",elevation:a=1,square:s=!1,variant:l="elevation"}=r,u=oe(r,MT),c=P({},r,{component:o,elevation:a,square:s,variant:l}),d=NT(c);return k.jsx($T,P({as:o,ownerState:c,className:se(d.root,i),ref:t},u))}),kc=jT;function zT(e){const{className:n,classes:t,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:a,in:s,onExited:l,timeout:u}=e,[c,d]=x.useState(!1),f=se(n,t.ripple,t.rippleVisible,r&&t.ripplePulsate),p={width:a,height:a,top:-(a/2)+o,left:-(a/2)+i},g=se(t.child,c&&t.childLeaving,r&&t.childPulsate);return!s&&!c&&d(!0),x.useEffect(()=>{if(!s&&l!=null){const y=setTimeout(l,u);return()=>{clearTimeout(y)}}},[l,s,u]),k.jsx("span",{className:f,style:p,children:k.jsx("span",{className:g})})}const yt=Se("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),FT=["center","classes","className"];let wc=e=>e,m0,g0,y0,v0;const Uf=550,DT=80,BT=_h(m0||(m0=wc` + */var Nh=Symbol.for("react.element"),$h=Symbol.for("react.portal"),dc=Symbol.for("react.fragment"),pc=Symbol.for("react.strict_mode"),fc=Symbol.for("react.profiler"),hc=Symbol.for("react.provider"),mc=Symbol.for("react.context"),ST=Symbol.for("react.server_context"),gc=Symbol.for("react.forward_ref"),yc=Symbol.for("react.suspense"),vc=Symbol.for("react.suspense_list"),xc=Symbol.for("react.memo"),bc=Symbol.for("react.lazy"),CT=Symbol.for("react.offscreen"),xb;xb=Symbol.for("react.module.reference");function Et(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case Nh:switch(e=e.type,e){case dc:case fc:case pc:case yc:case vc:return e;default:switch(e=e&&e.$$typeof,e){case ST:case mc:case gc:case bc:case xc:case hc:return e;default:return n}}case $h:return n}}}De.ContextConsumer=mc;De.ContextProvider=hc;De.Element=Nh;De.ForwardRef=gc;De.Fragment=dc;De.Lazy=bc;De.Memo=xc;De.Portal=$h;De.Profiler=fc;De.StrictMode=pc;De.Suspense=yc;De.SuspenseList=vc;De.isAsyncMode=function(){return!1};De.isConcurrentMode=function(){return!1};De.isContextConsumer=function(e){return Et(e)===mc};De.isContextProvider=function(e){return Et(e)===hc};De.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Nh};De.isForwardRef=function(e){return Et(e)===gc};De.isFragment=function(e){return Et(e)===dc};De.isLazy=function(e){return Et(e)===bc};De.isMemo=function(e){return Et(e)===xc};De.isPortal=function(e){return Et(e)===$h};De.isProfiler=function(e){return Et(e)===fc};De.isStrictMode=function(e){return Et(e)===pc};De.isSuspense=function(e){return Et(e)===yc};De.isSuspenseList=function(e){return Et(e)===vc};De.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===dc||e===fc||e===pc||e===yc||e===vc||e===CT||typeof e=="object"&&e!==null&&(e.$$typeof===bc||e.$$typeof===xc||e.$$typeof===hc||e.$$typeof===mc||e.$$typeof===gc||e.$$typeof===xb||e.getModuleId!==void 0)};De.typeOf=Et;function Fp(e,n){return Fp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Fp(e,n)}function bb(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,Fp(e,n)}const h0={disabled:!1},tu=Un.createContext(null);var _T=function(n){return n.scrollTop},ua="unmounted",Zr="exited",ei="entering",Di="entered",Dp="exiting",hr=function(e){bb(n,e);function n(r,i){var o;o=e.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=Zr,o.appearStatus=ei):l=Di:r.unmountOnExit||r.mountOnEnter?l=ua:l=Zr,o.state={status:l},o.nextCallback=null,o}n.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===ua?{status:Zr}:null};var t=n.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==ei&&a!==Di&&(o=ei):(a===ei||a===Di)&&(o=Dp)}this.updateStatus(!1,o)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},t.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===ei){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:la.findDOMNode(this);a&&_T(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Zr&&this.setState({status:ua})},t.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[la.findDOMNode(this),s],u=l[0],c=l[1],d=this.getTimeouts(),f=s?d.appear:d.enter;if(!i&&!a||h0.disabled){this.safeSetState({status:Di},function(){o.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:ei},function(){o.props.onEntering(u,c),o.onTransitionEnd(f,function(){o.safeSetState({status:Di},function(){o.props.onEntered(u,c)})})})},t.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:la.findDOMNode(this);if(!o||h0.disabled){this.safeSetState({status:Zr},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Dp},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Zr},function(){i.props.onExited(s)})})})},t.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},t.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},t.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:la.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},t.render=function(){var i=this.state.status;if(i===ua)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=oe(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Un.createElement(tu.Provider,{value:null},typeof a=="function"?a(i,s):Un.cloneElement(Un.Children.only(a),s))},n}(Un.Component);hr.contextType=tu;hr.propTypes={};function Ni(){}hr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ni,onEntering:Ni,onEntered:Ni,onExit:Ni,onExiting:Ni,onExited:Ni};hr.UNMOUNTED=ua;hr.EXITED=Zr;hr.ENTERING=ei;hr.ENTERED=Di;hr.EXITING=Dp;const zh=hr;function ET(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fh(e,n){var t=function(o){return n&&x.isValidElement(o)?n(o):o},r=Object.create(null);return e&&x.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=t(i)}),r}function PT(e,n){e=e||{},n=n||{};function t(c){return c in n?n[c]:e[c]}var r=Object.create(null),i=[];for(var o in e)o in n?i.length&&(r[o]=i,i=[]):i.push(o);var a,s={};for(var l in n){if(r[l])for(a=0;ae.scrollTop;function ru(e,n){var t,r;const{timeout:i,easing:o,style:a={}}=e;return{duration:(t=a.transitionDuration)!=null?t:typeof i=="number"?i:i[n.mode]||0,easing:(r=a.transitionTimingFunction)!=null?r:typeof o=="object"?o[n.mode]:o,delay:a.transitionDelay}}function LT(e){return Se("MuiPaper",e)}Ce("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const jT=["className","component","elevation","square","variant"],MT=e=>{const{square:n,elevation:t,variant:r,classes:i}=e,o={root:["root",r,!n&&"rounded",r==="elevation"&&`elevation${t}`]};return Te(o,LT,i)},NT=te("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n[t.variant],!t.square&&n.rounded,t.variant==="elevation"&&n[`elevation${t.elevation}`]]}})(({theme:e,ownerState:n})=>{var t;return P({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!n.square&&{borderRadius:e.shape.borderRadius},n.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},n.variant==="elevation"&&P({boxShadow:(e.vars||e).shadows[n.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Qe("#fff",f0(n.elevation))}, ${Qe("#fff",f0(n.elevation))})`},e.vars&&{backgroundImage:(t=e.vars.overlays)==null?void 0:t[n.elevation]}))}),$T=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiPaper"}),{className:i,component:o="div",elevation:a=1,square:s=!1,variant:l="elevation"}=r,u=oe(r,jT),c=P({},r,{component:o,elevation:a,square:s,variant:l}),d=MT(c);return k.jsx(NT,P({as:o,ownerState:c,className:se(d.root,i),ref:t},u))}),kc=$T;function zT(e){const{className:n,classes:t,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:a,in:s,onExited:l,timeout:u}=e,[c,d]=x.useState(!1),f=se(n,t.ripple,t.rippleVisible,r&&t.ripplePulsate),p={width:a,height:a,top:-(a/2)+o,left:-(a/2)+i},g=se(t.child,c&&t.childLeaving,r&&t.childPulsate);return!s&&!c&&d(!0),x.useEffect(()=>{if(!s&&l!=null){const y=setTimeout(l,u);return()=>{clearTimeout(y)}}},[l,s,u]),k.jsx("span",{className:f,style:p,children:k.jsx("span",{className:g})})}const yt=Ce("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),FT=["center","classes","className"];let wc=e=>e,m0,g0,y0,v0;const Bp=550,DT=80,BT=Eh(m0||(m0=wc` 0% { transform: scale(0); opacity: 0.1; @@ -89,7 +89,7 @@ Error generating stack: `+o.message+` transform: scale(1); opacity: 0.3; } -`)),UT=_h(g0||(g0=wc` +`)),UT=Eh(g0||(g0=wc` 0% { opacity: 1; } @@ -97,7 +97,7 @@ Error generating stack: `+o.message+` 100% { opacity: 0; } -`)),WT=_h(y0||(y0=wc` +`)),WT=Eh(y0||(y0=wc` 0% { transform: scale(1); } @@ -152,8 +152,8 @@ Error generating stack: `+o.message+` animation-iteration-count: infinite; animation-delay: 200ms; } -`),yt.rippleVisible,BT,Uf,({theme:e})=>e.transitions.easing.easeInOut,yt.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,yt.child,yt.childLeaving,UT,Uf,({theme:e})=>e.transitions.easing.easeInOut,yt.childPulsate,WT,({theme:e})=>e.transitions.easing.easeInOut),KT=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:a}=r,s=oe(r,FT),[l,u]=x.useState([]),c=x.useRef(0),d=x.useRef(null);x.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=x.useRef(!1),p=x.useRef(0),g=x.useRef(null),y=x.useRef(null);x.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const w=x.useCallback(b=>{const{pulsate:E,rippleX:C,rippleY:_,rippleSize:R,cb:I}=b;u(O=>[...O,k.jsx(VT,{classes:{ripple:se(o.ripple,yt.ripple),rippleVisible:se(o.rippleVisible,yt.rippleVisible),ripplePulsate:se(o.ripplePulsate,yt.ripplePulsate),child:se(o.child,yt.child),childLeaving:se(o.childLeaving,yt.childLeaving),childPulsate:se(o.childPulsate,yt.childPulsate)},timeout:Uf,pulsate:E,rippleX:C,rippleY:_,rippleSize:R},c.current)]),c.current+=1,d.current=I},[o]),h=x.useCallback((b={},E={},C=()=>{})=>{const{pulsate:_=!1,center:R=i||E.pulsate,fakeElement:I=!1}=E;if((b==null?void 0:b.type)==="mousedown"&&f.current){f.current=!1;return}(b==null?void 0:b.type)==="touchstart"&&(f.current=!0);const O=I?null:y.current,L=O?O.getBoundingClientRect():{width:0,height:0,left:0,top:0};let M,D,F;if(R||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)M=Math.round(L.width/2),D=Math.round(L.height/2);else{const{clientX:j,clientY:U}=b.touches&&b.touches.length>0?b.touches[0]:b;M=Math.round(j-L.left),D=Math.round(U-L.top)}if(R)F=Math.sqrt((2*L.width**2+L.height**2)/3),F%2===0&&(F+=1);else{const j=Math.max(Math.abs((O?O.clientWidth:0)-M),M)*2+2,U=Math.max(Math.abs((O?O.clientHeight:0)-D),D)*2+2;F=Math.sqrt(j**2+U**2)}b!=null&&b.touches?g.current===null&&(g.current=()=>{w({pulsate:_,rippleX:M,rippleY:D,rippleSize:F,cb:C})},p.current=setTimeout(()=>{g.current&&(g.current(),g.current=null)},DT)):w({pulsate:_,rippleX:M,rippleY:D,rippleSize:F,cb:C})},[i,w]),m=x.useCallback(()=>{h({},{pulsate:!0})},[h]),v=x.useCallback((b,E)=>{if(clearTimeout(p.current),(b==null?void 0:b.type)==="touchend"&&g.current){g.current(),g.current=null,p.current=setTimeout(()=>{v(b,E)});return}g.current=null,u(C=>C.length>0?C.slice(1):C),d.current=E},[]);return x.useImperativeHandle(t,()=>({pulsate:m,start:h,stop:v}),[m,h,v]),k.jsx(HT,P({className:se(yt.root,o.root,a),ref:y},s,{children:k.jsx(AT,{component:null,exit:!0,children:l})}))}),GT=KT;function YT(e){return Ce("MuiButtonBase",e)}const qT=Se("MuiButtonBase",["root","disabled","focusVisible"]),XT=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],QT=e=>{const{disabled:n,focusVisible:t,focusVisibleClassName:r,classes:i}=e,a=Te({root:["root",n&&"disabled",t&&"focusVisible"]},YT,i);return t&&r&&(a.root+=` ${r}`),a},JT=te("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,n)=>n.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${qT.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ZT=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:a,className:s,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:p="a",onBlur:g,onClick:y,onContextMenu:w,onDragLeave:h,onFocus:m,onFocusVisible:v,onKeyDown:b,onKeyUp:E,onMouseDown:C,onMouseLeave:_,onMouseUp:R,onTouchEnd:I,onTouchMove:O,onTouchStart:L,tabIndex:M=0,TouchRippleProps:D,touchRippleRef:F,type:j}=r,U=oe(r,XT),B=x.useRef(null),A=x.useRef(null),N=Cn(A,F),{isFocusVisibleRef:S,onFocus:ce,onBlur:ue,ref:T}=gh(),[Z,ge]=x.useState(!1);u&&Z&&ge(!1),x.useImperativeHandle(i,()=>({focusVisible:()=>{ge(!0),B.current.focus()}}),[]);const[q,Re]=x.useState(!1);x.useEffect(()=>{Re(!0)},[]);const we=q&&!c&&!u;x.useEffect(()=>{Z&&f&&!c&&q&&A.current.pulsate()},[c,f,Z,q]);function Ee(Y,Ve,In=d){return ai(ie=>(Ve&&Ve(ie),!In&&A.current&&A.current[Y](ie),!0))}const Be=Ee("start",C),de=Ee("stop",w),ve=Ee("stop",h),z=Ee("stop",R),X=Ee("stop",Y=>{Z&&Y.preventDefault(),_&&_(Y)}),ne=Ee("start",L),yn=Ee("stop",I),vn=Ee("stop",O),fn=Ee("stop",Y=>{ue(Y),S.current===!1&&ge(!1),g&&g(Y)},!1),xn=ai(Y=>{B.current||(B.current=Y.currentTarget),ce(Y),S.current===!0&&(ge(!0),v&&v(Y)),m&&m(Y)}),bn=()=>{const Y=B.current;return l&&l!=="button"&&!(Y.tagName==="A"&&Y.href)},he=x.useRef(!1),On=ai(Y=>{f&&!he.current&&Z&&A.current&&Y.key===" "&&(he.current=!0,A.current.stop(Y,()=>{A.current.start(Y)})),Y.target===Y.currentTarget&&bn()&&Y.key===" "&&Y.preventDefault(),b&&b(Y),Y.target===Y.currentTarget&&bn()&&Y.key==="Enter"&&!u&&(Y.preventDefault(),y&&y(Y))}),pn=ai(Y=>{f&&Y.key===" "&&A.current&&Z&&!Y.defaultPrevented&&(he.current=!1,A.current.stop(Y,()=>{A.current.pulsate(Y)})),E&&E(Y),y&&Y.target===Y.currentTarget&&bn()&&Y.key===" "&&!Y.defaultPrevented&&y(Y)});let Ae=l;Ae==="button"&&(U.href||U.to)&&(Ae=p);const $={};Ae==="button"?($.type=j===void 0?"button":j,$.disabled=u):(!U.href&&!U.to&&($.role="button"),u&&($["aria-disabled"]=u));const V=Cn(t,T,B),le=P({},r,{centerRipple:o,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:M,focusVisible:Z}),ee=QT(le);return k.jsxs(JT,P({as:Ae,className:se(ee.root,s),ownerState:le,onBlur:fn,onClick:y,onContextMenu:de,onFocus:xn,onKeyDown:On,onKeyUp:pn,onMouseDown:Be,onMouseLeave:X,onMouseUp:z,onDragLeave:ve,onTouchEnd:yn,onTouchMove:vn,onTouchStart:ne,ref:V,tabIndex:u?-1:M,type:j},$,U,{children:[a,we?k.jsx(GT,P({ref:N,center:o},D)):null]}))}),Po=ZT;function e3(e){return Ce("MuiIconButton",e)}const n3=Se("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),t3=["edge","children","className","color","disabled","disableFocusRipple","size"],r3=e=>{const{classes:n,disabled:t,color:r,edge:i,size:o}=e,a={root:["root",t&&"disabled",r!=="default"&&`color${K(r)}`,i&&`edge${K(i)}`,`size${K(o)}`]};return Te(a,e3,n)},i3=te(Po,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.color!=="default"&&n[`color${K(t.color)}`],t.edge&&n[`edge${K(t.edge)}`],n[`size${K(t.size)}`]]}})(({theme:e,ownerState:n})=>P({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},n.edge==="start"&&{marginLeft:n.size==="small"?-3:-12},n.edge==="end"&&{marginRight:n.size==="small"?-3:-12}),({theme:e,ownerState:n})=>{var t;const r=(t=(e.vars||e).palette)==null?void 0:t[n.color];return P({},n.color==="inherit"&&{color:"inherit"},n.color!=="inherit"&&n.color!=="default"&&P({color:r==null?void 0:r.main},!n.disableRipple&&{"&:hover":P({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),n.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},n.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${n3.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),o3=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiIconButton"}),{edge:i=!1,children:o,className:a,color:s="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=r,d=oe(r,t3),f=P({},r,{edge:i,color:s,disabled:l,disableFocusRipple:u,size:c}),p=r3(f);return k.jsx(i3,P({className:se(p.root,a),centerRipple:!0,focusRipple:!u,disabled:l,ref:t,ownerState:f},d,{children:o}))}),a3=o3;function s3(e){return Ce("MuiTypography",e)}Se("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const l3=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],u3=e=>{const{align:n,gutterBottom:t,noWrap:r,paragraph:i,variant:o,classes:a}=e,s={root:["root",o,e.align!=="inherit"&&`align${K(n)}`,t&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Te(s,s3,a)},c3=te("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.variant&&n[t.variant],t.align!=="inherit"&&n[`align${K(t.align)}`],t.noWrap&&n.noWrap,t.gutterBottom&&n.gutterBottom,t.paragraph&&n.paragraph]}})(({theme:e,ownerState:n})=>P({margin:0},n.variant==="inherit"&&{font:"inherit"},n.variant!=="inherit"&&e.typography[n.variant],n.align!=="inherit"&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})),x0={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},d3={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},f3=e=>d3[e]||e,p3=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiTypography"}),i=f3(r.color),o=lc(P({},r,{color:i})),{align:a="inherit",className:s,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=x0}=o,g=oe(o,l3),y=P({},o,{align:a,color:i,className:s,component:l,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:p}),w=l||(d?"p":p[f]||x0[f])||"span",h=u3(y);return k.jsx(c3,P({as:w,ref:t,ownerState:y,className:se(h.root,s)},g))}),pe=p3;function iu(e){return typeof e=="string"}function h3(e,n,t){return e===void 0||iu(e)?n:P({},n,{ownerState:P({},n.ownerState,t)})}function wb(e,n=[]){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!n.includes(r)).forEach(r=>{t[r]=e[r]}),t}function m3(e,n,t){return typeof e=="function"?e(n,t):e}function b0(e){if(e===void 0)return{};const n={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]=="function")).forEach(t=>{n[t]=e[t]}),n}function g3(e){const{getSlotProps:n,additionalProps:t,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!n){const p=se(t==null?void 0:t.className,o,i==null?void 0:i.className,r==null?void 0:r.className),g=P({},t==null?void 0:t.style,i==null?void 0:i.style,r==null?void 0:r.style),y=P({},t,i,r);return p.length>0&&(y.className=p),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const a=wb(P({},i,r)),s=b0(r),l=b0(i),u=n(a),c=se(u==null?void 0:u.className,t==null?void 0:t.className,o,i==null?void 0:i.className,r==null?void 0:r.className),d=P({},u==null?void 0:u.style,t==null?void 0:t.style,i==null?void 0:i.style,r==null?void 0:r.style),f=P({},u,t,l,s);return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}const y3=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function To(e){var n;const{elementType:t,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,a=oe(e,y3),s=o?{}:m3(r,i),{props:l,internalRef:u}=g3(P({},a,{externalSlotProps:s})),c=Cn(u,s==null?void 0:s.ref,(n=e.additionalProps)==null?void 0:n.ref);return h3(t,P({},l,{ref:c}),i)}const v3=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function x3(e){const n=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(n)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:n}function b3(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const n=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let t=n(`[name="${e.name}"]:checked`);return t||(t=n(`[name="${e.name}"]`)),t!==e}function k3(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||b3(e))}function w3(e){const n=[],t=[];return Array.from(e.querySelectorAll(v3)).forEach((r,i)=>{const o=x3(r);o===-1||!k3(r)||(o===0?n.push(r):t.push({documentOrder:i,tabIndex:o,node:r}))}),t.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(n)}function C3(){return!0}function S3(e){const{children:n,disableAutoFocus:t=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=w3,isEnabled:a=C3,open:s}=e,l=x.useRef(!1),u=x.useRef(null),c=x.useRef(null),d=x.useRef(null),f=x.useRef(null),p=x.useRef(!1),g=x.useRef(null),y=Cn(n.ref,g),w=x.useRef(null);x.useEffect(()=>{!s||!g.current||(p.current=!t)},[t,s]),x.useEffect(()=>{if(!s||!g.current)return;const v=Zn(g.current);return g.current.contains(v.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),p.current&&g.current.focus()),()=>{i||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[s]),x.useEffect(()=>{if(!s||!g.current)return;const v=Zn(g.current),b=_=>{w.current=_,!(r||!a()||_.key!=="Tab")&&v.activeElement===g.current&&_.shiftKey&&(l.current=!0,c.current&&c.current.focus())},E=()=>{const _=g.current;if(_===null)return;if(!v.hasFocus()||!a()||l.current){l.current=!1;return}if(_.contains(v.activeElement)||r&&v.activeElement!==u.current&&v.activeElement!==c.current)return;if(v.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let R=[];if((v.activeElement===u.current||v.activeElement===c.current)&&(R=o(g.current)),R.length>0){var I,O;const L=!!((I=w.current)!=null&&I.shiftKey&&((O=w.current)==null?void 0:O.key)==="Tab"),M=R[0],D=R[R.length-1];typeof M!="string"&&typeof D!="string"&&(L?D.focus():M.focus())}else _.focus()};v.addEventListener("focusin",E),v.addEventListener("keydown",b,!0);const C=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&E()},50);return()=>{clearInterval(C),v.removeEventListener("focusin",E),v.removeEventListener("keydown",b,!0)}},[t,r,i,a,s,o]);const h=v=>{d.current===null&&(d.current=v.relatedTarget),p.current=!0,f.current=v.target;const b=n.props.onFocus;b&&b(v)},m=v=>{d.current===null&&(d.current=v.relatedTarget),p.current=!0};return k.jsxs(x.Fragment,{children:[k.jsx("div",{tabIndex:s?0:-1,onFocus:m,ref:u,"data-testid":"sentinelStart"}),x.cloneElement(n,{ref:y,onFocus:h}),k.jsx("div",{tabIndex:s?0:-1,onFocus:m,ref:c,"data-testid":"sentinelEnd"})]})}function E3(e){return typeof e=="function"?e():e}const _3=x.forwardRef(function(n,t){const{children:r,container:i,disablePortal:o=!1}=n,[a,s]=x.useState(null),l=Cn(x.isValidElement(r)?r.ref:null,t);if(Xt(()=>{o||s(E3(i)||document.body)},[i,o]),Xt(()=>{if(a&&!o)return Xl(t,a),()=>{Xl(t,null)}},[t,a,o]),o){if(x.isValidElement(r)){const u={ref:l};return x.cloneElement(r,u)}return k.jsx(x.Fragment,{children:r})}return k.jsx(x.Fragment,{children:a&&Mu.createPortal(r,a)})});function P3(e){const n=Zn(e);return n.body===e?Fr(e).innerWidth>n.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Ca(e,n){n?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function k0(e){return parseInt(Fr(e).getComputedStyle(e).paddingRight,10)||0}function T3(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return t||r}function w0(e,n,t,r,i){const o=[n,t,...r];[].forEach.call(e.children,a=>{const s=o.indexOf(a)===-1,l=!T3(a);s&&l&&Ca(a,i)})}function dd(e,n){let t=-1;return e.some((r,i)=>n(r)?(t=i,!0):!1),t}function O3(e,n){const t=[],r=e.container;if(!n.disableScrollLock){if(P3(r)){const a=Wx(Zn(r));t.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${k0(r)+a}px`;const s=Zn(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{t.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${k0(l)+a}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=Zn(r).body;else{const a=r.parentElement,s=Fr(r);o=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:r}t.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{t.forEach(({value:o,el:a,property:s})=>{o?a.style.setProperty(s,o):a.style.removeProperty(s)})}}function I3(e){const n=[];return[].forEach.call(e.children,t=>{t.getAttribute("aria-hidden")==="true"&&n.push(t)}),n}class R3{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(n,t){let r=this.modals.indexOf(n);if(r!==-1)return r;r=this.modals.length,this.modals.push(n),n.modalRef&&Ca(n.modalRef,!1);const i=I3(t);w0(t,n.mount,n.modalRef,i,!0);const o=dd(this.containers,a=>a.container===t);return o!==-1?(this.containers[o].modals.push(n),r):(this.containers.push({modals:[n],container:t,restore:null,hiddenSiblings:i}),r)}mount(n,t){const r=dd(this.containers,o=>o.modals.indexOf(n)!==-1),i=this.containers[r];i.restore||(i.restore=O3(i,t))}remove(n,t=!0){const r=this.modals.indexOf(n);if(r===-1)return r;const i=dd(this.containers,a=>a.modals.indexOf(n)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(n),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),n.modalRef&&Ca(n.modalRef,t),w0(o.container,n.mount,n.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const a=o.modals[o.modals.length-1];a.modalRef&&Ca(a.modalRef,!1)}return r}isTopModal(n){return this.modals.length>0&&this.modals[this.modals.length-1]===n}}function A3(e){return typeof e=="function"?e():e}function L3(e){return e?e.props.hasOwnProperty("in"):!1}const M3=new R3;function N3(e){const{container:n,disableEscapeKeyDown:t=!1,disableScrollLock:r=!1,manager:i=M3,closeAfterTransition:o=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:u,open:c,rootRef:d}=e,f=x.useRef({}),p=x.useRef(null),g=x.useRef(null),y=Cn(g,d),[w,h]=x.useState(!c),m=L3(l);let v=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(v=!1);const b=()=>Zn(p.current),E=()=>(f.current.modalRef=g.current,f.current.mount=p.current,f.current),C=()=>{i.mount(E(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},_=ai(()=>{const U=A3(n)||b().body;i.add(E(),U),g.current&&C()}),R=x.useCallback(()=>i.isTopModal(E()),[i]),I=ai(U=>{p.current=U,U&&(c&&R()?C():g.current&&Ca(g.current,v))}),O=x.useCallback(()=>{i.remove(E(),v)},[v,i]);x.useEffect(()=>()=>{O()},[O]),x.useEffect(()=>{c?_():(!m||!o)&&O()},[c,O,m,o,_]);const L=U=>B=>{var A;(A=U.onKeyDown)==null||A.call(U,B),!(B.key!=="Escape"||!R())&&(t||(B.stopPropagation(),u&&u(B,"escapeKeyDown")))},M=U=>B=>{var A;(A=U.onClick)==null||A.call(U,B),B.target===B.currentTarget&&u&&u(B,"backdropClick")};return{getRootProps:(U={})=>{const B=wb(e);delete B.onTransitionEnter,delete B.onTransitionExited;const A=P({},B,U);return P({role:"presentation"},A,{onKeyDown:L(A),ref:y})},getBackdropProps:(U={})=>{const B=U;return P({"aria-hidden":!0},B,{onClick:M(B),open:c})},getTransitionProps:()=>{const U=()=>{h(!1),a&&a()},B=()=>{h(!0),s&&s(),o&&O()};return{onEnter:Mf(U,l==null?void 0:l.props.onEnter),onExited:Mf(B,l==null?void 0:l.props.onExited)}},rootRef:y,portalRef:I,isTopModal:R,exited:w,hasTransition:m}}const $3=["onChange","maxRows","minRows","style","value"];function Bs(e){return parseInt(e,10)||0}const j3={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function C0(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const z3=x.forwardRef(function(n,t){const{onChange:r,maxRows:i,minRows:o=1,style:a,value:s}=n,l=oe(n,$3),{current:u}=x.useRef(s!=null),c=x.useRef(null),d=Cn(t,c),f=x.useRef(null),p=x.useRef(0),[g,y]=x.useState({outerHeightStyle:0}),w=x.useCallback(()=>{const b=c.current,C=Fr(b).getComputedStyle(b);if(C.width==="0px")return{outerHeightStyle:0};const _=f.current;_.style.width=C.width,_.value=b.value||n.placeholder||"x",_.value.slice(-1)===` -`&&(_.value+=" ");const R=C.boxSizing,I=Bs(C.paddingBottom)+Bs(C.paddingTop),O=Bs(C.borderBottomWidth)+Bs(C.borderTopWidth),L=_.scrollHeight;_.value="x";const M=_.scrollHeight;let D=L;o&&(D=Math.max(Number(o)*M,D)),i&&(D=Math.min(Number(i)*M,D)),D=Math.max(D,M);const F=D+(R==="border-box"?I+O:0),j=Math.abs(D-L)<=1;return{outerHeightStyle:F,overflow:j}},[i,o,n.placeholder]),h=(b,E)=>{const{outerHeightStyle:C,overflow:_}=E;return p.current<20&&(C>0&&Math.abs((b.outerHeightStyle||0)-C)>1||b.overflow!==_)?(p.current+=1,{overflow:_,outerHeightStyle:C}):b},m=x.useCallback(()=>{const b=w();C0(b)||y(E=>h(E,b))},[w]);Xt(()=>{const b=()=>{const L=w();C0(L)||Mu.flushSync(()=>{y(M=>h(M,L))})},E=()=>{p.current=0,b()};let C;const _=mh(E),R=c.current,I=Fr(R);I.addEventListener("resize",_);let O;return typeof ResizeObserver<"u"&&(O=new ResizeObserver(E),O.observe(R)),()=>{_.clear(),cancelAnimationFrame(C),I.removeEventListener("resize",_),O&&O.disconnect()}},[w]),Xt(()=>{m()}),x.useEffect(()=>{p.current=0},[s]);const v=b=>{p.current=0,u||m(),r&&r(b)};return k.jsxs(x.Fragment,{children:[k.jsx("textarea",P({value:s,onChange:v,ref:d,rows:o,style:P({height:g.outerHeightStyle,overflow:g.overflow?"hidden":void 0},a)},l)),k.jsx("textarea",{"aria-hidden":!0,className:n.className,readOnly:!0,ref:f,tabIndex:-1,style:P({},j3.shadow,a,{paddingTop:0,paddingBottom:0})})]})}),F3=pr(k.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function D3(e){return Ce("MuiChip",e)}const B3=Se("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),Oe=B3,U3=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],W3=e=>{const{classes:n,disabled:t,size:r,color:i,iconColor:o,onDelete:a,clickable:s,variant:l}=e,u={root:["root",l,t&&"disabled",`size${K(r)}`,`color${K(i)}`,s&&"clickable",s&&`clickableColor${K(i)}`,a&&"deletable",a&&`deletableColor${K(i)}`,`${l}${K(i)}`],label:["label",`label${K(r)}`],avatar:["avatar",`avatar${K(r)}`,`avatarColor${K(i)}`],icon:["icon",`icon${K(r)}`,`iconColor${K(o)}`],deleteIcon:["deleteIcon",`deleteIcon${K(r)}`,`deleteIconColor${K(i)}`,`deleteIcon${K(l)}Color${K(i)}`]};return Te(u,D3,n)},H3=te("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e,{color:r,iconColor:i,clickable:o,onDelete:a,size:s,variant:l}=t;return[{[`& .${Oe.avatar}`]:n.avatar},{[`& .${Oe.avatar}`]:n[`avatar${K(s)}`]},{[`& .${Oe.avatar}`]:n[`avatarColor${K(r)}`]},{[`& .${Oe.icon}`]:n.icon},{[`& .${Oe.icon}`]:n[`icon${K(s)}`]},{[`& .${Oe.icon}`]:n[`iconColor${K(i)}`]},{[`& .${Oe.deleteIcon}`]:n.deleteIcon},{[`& .${Oe.deleteIcon}`]:n[`deleteIcon${K(s)}`]},{[`& .${Oe.deleteIcon}`]:n[`deleteIconColor${K(r)}`]},{[`& .${Oe.deleteIcon}`]:n[`deleteIcon${K(l)}Color${K(r)}`]},n.root,n[`size${K(s)}`],n[`color${K(r)}`],o&&n.clickable,o&&r!=="default"&&n[`clickableColor${K(r)})`],a&&n.deletable,a&&r!=="default"&&n[`deletableColor${K(r)}`],n[l],n[`${l}${K(r)}`]]}})(({theme:e,ownerState:n})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return P({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Oe.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Oe.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Oe.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Oe.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Oe.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Oe.icon}`]:P({marginLeft:5,marginRight:-6},n.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},n.iconColor===n.color&&P({color:e.vars?e.vars.palette.Chip.defaultIconColor:t},n.color!=="default"&&{color:"inherit"})),[`& .${Oe.deleteIcon}`]:P({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Qe(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Qe(e.palette.text.primary,.4)}},n.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},n.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[n.color].contrastTextChannel} / 0.7)`:Qe(e.palette[n.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n.color].contrastText}})},n.size==="small"&&{height:24},n.color!=="default"&&{backgroundColor:(e.vars||e).palette[n.color].main,color:(e.vars||e).palette[n.color].contrastText},n.onDelete&&{[`&.${Oe.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},n.onDelete&&n.color!=="default"&&{[`&.${Oe.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n.color].dark}})},({theme:e,ownerState:n})=>P({},n.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Oe.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},n.clickable&&n.color!=="default"&&{[`&:hover, &.${Oe.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n.color].dark}}),({theme:e,ownerState:n})=>P({},n.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Oe.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Oe.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Oe.avatar}`]:{marginLeft:4},[`& .${Oe.avatarSmall}`]:{marginLeft:2},[`& .${Oe.icon}`]:{marginLeft:4},[`& .${Oe.iconSmall}`]:{marginLeft:2},[`& .${Oe.deleteIcon}`]:{marginRight:5},[`& .${Oe.deleteIconSmall}`]:{marginRight:3}},n.variant==="outlined"&&n.color!=="default"&&{color:(e.vars||e).palette[n.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n.color].mainChannel} / 0.7)`:Qe(e.palette[n.color].main,.7)}`,[`&.${Oe.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette[n.color].main,e.palette.action.hoverOpacity)},[`&.${Oe.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Qe(e.palette[n.color].main,e.palette.action.focusOpacity)},[`& .${Oe.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n.color].mainChannel} / 0.7)`:Qe(e.palette[n.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n.color].main}}})),V3=te("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,n)=>{const{ownerState:t}=e,{size:r}=t;return[n.label,n[`label${K(r)}`]]}})(({ownerState:e})=>P({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function S0(e){return e.key==="Backspace"||e.key==="Delete"}const K3=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiChip"}),{avatar:i,className:o,clickable:a,color:s="default",component:l,deleteIcon:u,disabled:c=!1,icon:d,label:f,onClick:p,onDelete:g,onKeyDown:y,onKeyUp:w,size:h="medium",variant:m="filled",tabIndex:v,skipFocusWhenDisabled:b=!1}=r,E=oe(r,U3),C=x.useRef(null),_=Cn(C,t),R=N=>{N.stopPropagation(),g&&g(N)},I=N=>{N.currentTarget===N.target&&S0(N)&&N.preventDefault(),y&&y(N)},O=N=>{N.currentTarget===N.target&&(g&&S0(N)?g(N):N.key==="Escape"&&C.current&&C.current.blur()),w&&w(N)},L=a!==!1&&p?!0:a,M=L||g?Po:l||"div",D=P({},r,{component:M,disabled:c,size:h,color:s,iconColor:x.isValidElement(d)&&d.props.color||s,onDelete:!!g,clickable:L,variant:m}),F=W3(D),j=M===Po?P({component:l||"div",focusVisibleClassName:F.focusVisible},g&&{disableRipple:!0}):{};let U=null;g&&(U=u&&x.isValidElement(u)?x.cloneElement(u,{className:se(u.props.className,F.deleteIcon),onClick:R}):k.jsx(F3,{className:se(F.deleteIcon),onClick:R}));let B=null;i&&x.isValidElement(i)&&(B=x.cloneElement(i,{className:se(F.avatar,i.props.className)}));let A=null;return d&&x.isValidElement(d)&&(A=x.cloneElement(d,{className:se(F.icon,d.props.className)})),k.jsxs(H3,P({as:M,className:se(F.root,o),disabled:L&&c?!0:void 0,onClick:p,onKeyDown:I,onKeyUp:O,ref:_,tabIndex:b&&c?-1:v,ownerState:D},j,E,{children:[B||A,k.jsx(V3,{className:se(F.label),ownerState:D,children:f}),U]}))}),G3=K3;function _i({props:e,states:n,muiFormControl:t}){return n.reduce((r,i)=>(r[i]=e[i],t&&typeof e[i]>"u"&&(r[i]=t[i]),r),{})}const Y3=x.createContext(void 0),Bh=Y3;function Gr(){return x.useContext(Bh)}function q3(e){return k.jsx(rP,P({},e,{defaultTheme:cc,themeId:xi}))}function E0(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function ou(e,n=!1){return e&&(E0(e.value)&&e.value!==""||n&&E0(e.defaultValue)&&e.defaultValue!=="")}function X3(e){return e.startAdornment}function Q3(e){return Ce("MuiInputBase",e)}const J3=Se("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Oo=J3,Z3=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Cc=(e,n)=>{const{ownerState:t}=e;return[n.root,t.formControl&&n.formControl,t.startAdornment&&n.adornedStart,t.endAdornment&&n.adornedEnd,t.error&&n.error,t.size==="small"&&n.sizeSmall,t.multiline&&n.multiline,t.color&&n[`color${K(t.color)}`],t.fullWidth&&n.fullWidth,t.hiddenLabel&&n.hiddenLabel]},Sc=(e,n)=>{const{ownerState:t}=e;return[n.input,t.size==="small"&&n.inputSizeSmall,t.multiline&&n.inputMultiline,t.type==="search"&&n.inputTypeSearch,t.startAdornment&&n.inputAdornedStart,t.endAdornment&&n.inputAdornedEnd,t.hiddenLabel&&n.inputHiddenLabel]},e4=e=>{const{classes:n,color:t,disabled:r,error:i,endAdornment:o,focused:a,formControl:s,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:p,type:g}=e,y={root:["root",`color${K(t)}`,r&&"disabled",i&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",f&&f!=="medium"&&`size${K(f)}`,c&&"multiline",p&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",g==="search"&&"inputTypeSearch",c&&"inputMultiline",f==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",o&&"inputAdornedEnd",d&&"readOnly"]};return Te(y,Q3,n)},Ec=te("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Cc})(({theme:e,ownerState:n})=>P({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Oo.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},n.multiline&&P({padding:"4px 0 5px"},n.size==="small"&&{paddingTop:1}),n.fullWidth&&{width:"100%"})),_c=te("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Sc})(({theme:e,ownerState:n})=>{const t=e.palette.mode==="light",r=P({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return P({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Oo.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Oo.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},n.size==="small"&&{paddingTop:1},n.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},n.type==="search"&&{MozAppearance:"textfield"})}),n4=k.jsx(q3,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),t4=x.forwardRef(function(n,t){var r;const i=Ie({props:n,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:s,className:l,components:u={},componentsProps:c={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:p,endAdornment:g,fullWidth:y=!1,id:w,inputComponent:h="input",inputProps:m={},inputRef:v,maxRows:b,minRows:E,multiline:C=!1,name:_,onBlur:R,onChange:I,onClick:O,onFocus:L,onKeyDown:M,onKeyUp:D,placeholder:F,readOnly:j,renderSuffix:U,rows:B,slotProps:A={},slots:N={},startAdornment:S,type:ce="text",value:ue}=i,T=oe(i,Z3),Z=m.value!=null?m.value:ue,{current:ge}=x.useRef(Z!=null),q=x.useRef(),Re=x.useCallback(ee=>{},[]),we=Cn(q,v,m.ref,Re),[Ee,Be]=x.useState(!1),de=Gr(),ve=_i({props:i,muiFormControl:de,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ve.focused=de?de.focused:Ee,x.useEffect(()=>{!de&&f&&Ee&&(Be(!1),R&&R())},[de,f,Ee,R]);const z=de&&de.onFilled,X=de&&de.onEmpty,ne=x.useCallback(ee=>{ou(ee)?z&&z():X&&X()},[z,X]);Xt(()=>{ge&&ne({value:Z})},[Z,ne,ge]);const yn=ee=>{if(ve.disabled){ee.stopPropagation();return}L&&L(ee),m.onFocus&&m.onFocus(ee),de&&de.onFocus?de.onFocus(ee):Be(!0)},vn=ee=>{R&&R(ee),m.onBlur&&m.onBlur(ee),de&&de.onBlur?de.onBlur(ee):Be(!1)},fn=(ee,...Y)=>{if(!ge){const Ve=ee.target||q.current;if(Ve==null)throw new Error(zr(1));ne({value:Ve.value})}m.onChange&&m.onChange(ee,...Y),I&&I(ee,...Y)};x.useEffect(()=>{ne(q.current)},[]);const xn=ee=>{q.current&&ee.currentTarget===ee.target&&q.current.focus(),O&&O(ee)};let bn=h,he=m;C&&bn==="input"&&(B?he=P({type:void 0,minRows:B,maxRows:B},he):he=P({type:void 0,maxRows:b,minRows:E},he),bn=z3);const On=ee=>{ne(ee.animationName==="mui-auto-fill-cancel"?q.current:{value:"x"})};x.useEffect(()=>{de&&de.setAdornedStart(!!S)},[de,S]);const pn=P({},i,{color:ve.color||"primary",disabled:ve.disabled,endAdornment:g,error:ve.error,focused:ve.focused,formControl:de,fullWidth:y,hiddenLabel:ve.hiddenLabel,multiline:C,size:ve.size,startAdornment:S,type:ce}),Ae=e4(pn),$=N.root||u.Root||Ec,V=A.root||c.root||{},le=N.input||u.Input||_c;return he=P({},he,(r=A.input)!=null?r:c.input),k.jsxs(x.Fragment,{children:[!p&&n4,k.jsxs($,P({},V,!iu($)&&{ownerState:P({},pn,V.ownerState)},{ref:t,onClick:xn},T,{className:se(Ae.root,V.className,l,j&&"MuiInputBase-readOnly"),children:[S,k.jsx(Bh.Provider,{value:null,children:k.jsx(le,P({ownerState:pn,"aria-invalid":ve.error,"aria-describedby":o,autoComplete:a,autoFocus:s,defaultValue:d,disabled:ve.disabled,id:w,onAnimationStart:On,name:_,placeholder:F,readOnly:j,required:ve.required,rows:B,value:Z,onKeyDown:M,onKeyUp:D,type:ce},he,!iu(le)&&{as:bn,ownerState:P({},pn,he.ownerState)},{ref:we,className:se(Ae.input,he.className,j&&"MuiInputBase-readOnly"),onBlur:vn,onChange:fn,onFocus:yn}))}),g,U?U(P({},ve,{startAdornment:S})):null]}))]})}),Uh=t4;function r4(e){return Ce("MuiInput",e)}const i4=P({},Oo,Se("MuiInput",["root","underline","input"])),Xo=i4;function o4(e){return Ce("MuiOutlinedInput",e)}const a4=P({},Oo,Se("MuiOutlinedInput",["root","notchedOutline","input"])),yr=a4;function s4(e){return Ce("MuiFilledInput",e)}const l4=P({},Oo,Se("MuiFilledInput",["root","underline","input"])),qr=l4,u4=pr(k.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),c4=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],d4={entering:{opacity:1},entered:{opacity:1}},f4=x.forwardRef(function(n,t){const r=Et(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:s,easing:l,in:u,onEnter:c,onEntered:d,onEntering:f,onExit:p,onExited:g,onExiting:y,style:w,timeout:h=i,TransitionComponent:m=zh}=n,v=oe(n,c4),b=x.useRef(null),E=Cn(b,s.ref,t),C=F=>j=>{if(F){const U=b.current;j===void 0?F(U):F(U,j)}},_=C(f),R=C((F,j)=>{kb(F);const U=ru({style:w,timeout:h,easing:l},{mode:"enter"});F.style.webkitTransition=r.transitions.create("opacity",U),F.style.transition=r.transitions.create("opacity",U),c&&c(F,j)}),I=C(d),O=C(y),L=C(F=>{const j=ru({style:w,timeout:h,easing:l},{mode:"exit"});F.style.webkitTransition=r.transitions.create("opacity",j),F.style.transition=r.transitions.create("opacity",j),p&&p(F)}),M=C(g),D=F=>{o&&o(b.current,F)};return k.jsx(m,P({appear:a,in:u,nodeRef:b,onEnter:R,onEntered:I,onEntering:_,onExit:L,onExited:M,onExiting:O,addEndListener:D,timeout:h},v,{children:(F,j)=>x.cloneElement(s,P({style:P({opacity:0,visibility:F==="exited"&&!u?"hidden":void 0},d4[F],w,s.props.style),ref:E},j))}))}),Cb=f4;function p4(e){return Ce("MuiBackdrop",e)}Se("MuiBackdrop",["root","invisible"]);const h4=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],m4=e=>{const{classes:n,invisible:t}=e;return Te({root:["root",t&&"invisible"]},p4,n)},g4=te("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.invisible&&n.invisible]}})(({ownerState:e})=>P({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),y4=x.forwardRef(function(n,t){var r,i,o;const a=Ie({props:n,name:"MuiBackdrop"}),{children:s,className:l,component:u="div",components:c={},componentsProps:d={},invisible:f=!1,open:p,slotProps:g={},slots:y={},TransitionComponent:w=Cb,transitionDuration:h}=a,m=oe(a,h4),v=P({},a,{component:u,invisible:f}),b=m4(v),E=(r=g.root)!=null?r:d.root;return k.jsx(w,P({in:p,timeout:h},m,{children:k.jsx(g4,P({"aria-hidden":!0},E,{as:(i=(o=y.root)!=null?o:c.Root)!=null?i:u,className:se(b.root,l,E==null?void 0:E.className),ownerState:P({},v,E==null?void 0:E.ownerState),classes:b,ref:t,children:s}))}))}),Sb=y4,v4=Nh(),x4=sP({themeId:xi,defaultTheme:v4,defaultClassName:"MuiBox-root",generateClassName:vh.generate}),je=x4;function b4(e){return Ce("MuiButton",e)}const k4=Se("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Us=k4,w4=x.createContext({}),C4=w4,S4=x.createContext(void 0),E4=S4,_4=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],P4=e=>{const{color:n,disableElevation:t,fullWidth:r,size:i,variant:o,classes:a}=e,s={root:["root",o,`${o}${K(n)}`,`size${K(i)}`,`${o}Size${K(i)}`,n==="inherit"&&"colorInherit",t&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${K(i)}`],endIcon:["endIcon",`iconSize${K(i)}`]},l=Te(s,b4,a);return P({},a,l)},Eb=e=>P({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),T4=te(Po,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n[t.variant],n[`${t.variant}${K(t.color)}`],n[`size${K(t.size)}`],n[`${t.variant}Size${K(t.size)}`],t.color==="inherit"&&n.colorInherit,t.disableElevation&&n.disableElevation,t.fullWidth&&n.fullWidth]}})(({theme:e,ownerState:n})=>{var t,r;const i=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return P({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":P({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},n.variant==="text"&&n.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[n.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette[n.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},n.variant==="outlined"&&n.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[n.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[n.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette[n.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},n.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},n.variant==="contained"&&n.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[n.color].main}}),"&:active":P({},n.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Us.focusVisible}`]:P({},n.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Us.disabled}`]:P({color:(e.vars||e).palette.action.disabled},n.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},n.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},n.variant==="text"&&{padding:"6px 8px"},n.variant==="text"&&n.color!=="inherit"&&{color:(e.vars||e).palette[n.color].main},n.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},n.variant==="outlined"&&n.color!=="inherit"&&{color:(e.vars||e).palette[n.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[n.color].mainChannel} / 0.5)`:`1px solid ${Qe(e.palette[n.color].main,.5)}`},n.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(t=(r=e.palette).getContrastText)==null?void 0:t.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},n.variant==="contained"&&n.color!=="inherit"&&{color:(e.vars||e).palette[n.color].contrastText,backgroundColor:(e.vars||e).palette[n.color].main},n.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},n.size==="small"&&n.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},n.size==="large"&&n.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},n.size==="small"&&n.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},n.size==="large"&&n.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},n.size==="small"&&n.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},n.size==="large"&&n.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},n.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Us.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Us.disabled}`]:{boxShadow:"none"}}),O4=te("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.startIcon,n[`iconSize${K(t.size)}`]]}})(({ownerState:e})=>P({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},Eb(e))),I4=te("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.endIcon,n[`iconSize${K(t.size)}`]]}})(({ownerState:e})=>P({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},Eb(e))),R4=x.forwardRef(function(n,t){const r=x.useContext(C4),i=x.useContext(E4),o=yh(r,n),a=Ie({props:o,name:"MuiButton"}),{children:s,color:l="primary",component:u="button",className:c,disabled:d=!1,disableElevation:f=!1,disableFocusRipple:p=!1,endIcon:g,focusVisibleClassName:y,fullWidth:w=!1,size:h="medium",startIcon:m,type:v,variant:b="text"}=a,E=oe(a,_4),C=P({},a,{color:l,component:u,disabled:d,disableElevation:f,disableFocusRipple:p,fullWidth:w,size:h,type:v,variant:b}),_=P4(C),R=m&&k.jsx(O4,{className:_.startIcon,ownerState:C,children:m}),I=g&&k.jsx(I4,{className:_.endIcon,ownerState:C,children:g}),O=i||"";return k.jsxs(T4,P({ownerState:C,className:se(r.className,_.root,c,O),component:u,disabled:d,focusRipple:!p,focusVisibleClassName:se(_.focusVisible,y),ref:t,type:v},E,{classes:_,children:[R,s,I]}))}),Ja=R4;function A4(e){return Ce("PrivateSwitchBase",e)}Se("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const L4=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],M4=e=>{const{classes:n,checked:t,disabled:r,edge:i}=e,o={root:["root",t&&"checked",r&&"disabled",i&&`edge${K(i)}`],input:["input"]};return Te(o,A4,n)},N4=te(Po)(({ownerState:e})=>P({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),$4=te("input",{shouldForwardProp:rt})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),j4=x.forwardRef(function(n,t){const{autoFocus:r,checked:i,checkedIcon:o,className:a,defaultChecked:s,disabled:l,disableFocusRipple:u=!1,edge:c=!1,icon:d,id:f,inputProps:p,inputRef:g,name:y,onBlur:w,onChange:h,onFocus:m,readOnly:v,required:b=!1,tabIndex:E,type:C,value:_}=n,R=oe(n,L4),[I,O]=Ql({controlled:i,default:!!s,name:"SwitchBase",state:"checked"}),L=Gr(),M=N=>{m&&m(N),L&&L.onFocus&&L.onFocus(N)},D=N=>{w&&w(N),L&&L.onBlur&&L.onBlur(N)},F=N=>{if(N.nativeEvent.defaultPrevented)return;const S=N.target.checked;O(S),h&&h(N,S)};let j=l;L&&typeof j>"u"&&(j=L.disabled);const U=C==="checkbox"||C==="radio",B=P({},n,{checked:I,disabled:j,disableFocusRipple:u,edge:c}),A=M4(B);return k.jsxs(N4,P({component:"span",className:se(A.root,a),centerRipple:!0,focusRipple:!u,disabled:j,tabIndex:null,role:void 0,onFocus:M,onBlur:D,ownerState:B,ref:t},R,{children:[k.jsx($4,P({autoFocus:r,checked:i,defaultChecked:s,className:A.input,disabled:j,id:U?f:void 0,name:y,onChange:F,readOnly:v,ref:g,required:b,ownerState:B,tabIndex:E,type:C},C==="checkbox"&&_===void 0?{}:{value:_},p)),I?o:d]}))}),z4=j4,F4=pr(k.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),D4=pr(k.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),B4=pr(k.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function U4(e){return Ce("MuiCheckbox",e)}const W4=Se("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),fd=W4,H4=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],V4=e=>{const{classes:n,indeterminate:t,color:r,size:i}=e,o={root:["root",t&&"indeterminate",`color${K(r)}`,`size${K(i)}`]},a=Te(o,U4,n);return P({},n,a)},K4=te(z4,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.indeterminate&&n.indeterminate,n[`size${K(t.size)}`],t.color!=="default"&&n[`color${K(t.color)}`]]}})(({theme:e,ownerState:n})=>P({color:(e.vars||e).palette.text.secondary},!n.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${n.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette[n.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(n.color==="default"?e.palette.action.active:e.palette[n.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},n.color!=="default"&&{[`&.${fd.checked}, &.${fd.indeterminate}`]:{color:(e.vars||e).palette[n.color].main},[`&.${fd.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),G4=k.jsx(D4,{}),Y4=k.jsx(F4,{}),q4=k.jsx(B4,{}),X4=x.forwardRef(function(n,t){var r,i;const o=Ie({props:n,name:"MuiCheckbox"}),{checkedIcon:a=G4,color:s="primary",icon:l=Y4,indeterminate:u=!1,indeterminateIcon:c=q4,inputProps:d,size:f="medium",className:p}=o,g=oe(o,H4),y=u?c:l,w=u?c:a,h=P({},o,{color:s,indeterminate:u,size:f}),m=V4(h);return k.jsx(K4,P({type:"checkbox",inputProps:P({"data-indeterminate":u},d),icon:x.cloneElement(y,{fontSize:(r=y.props.fontSize)!=null?r:f}),checkedIcon:x.cloneElement(w,{fontSize:(i=w.props.fontSize)!=null?i:f}),ownerState:h,ref:t,className:se(m.root,p)},g,{classes:m}))}),$i=X4,Q4=MP({createStyledComponent:te("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n[`maxWidth${K(String(t.maxWidth))}`],t.fixed&&n.fixed,t.disableGutters&&n.disableGutters]}}),useThemeProps:e=>Ie({props:e,name:"MuiContainer"})}),Wf=Q4;function J4(e){return Ce("MuiModal",e)}Se("MuiModal",["root","hidden","backdrop"]);const Z4=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],e5=e=>{const{open:n,exited:t,classes:r}=e;return Te({root:["root",!n&&t&&"hidden"],backdrop:["backdrop"]},J4,r)},n5=te("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,!t.open&&t.exited&&n.hidden]}})(({theme:e,ownerState:n})=>P({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})),t5=te(Sb,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,n)=>n.backdrop})({zIndex:-1}),r5=x.forwardRef(function(n,t){var r,i,o,a,s,l;const u=Ie({name:"MuiModal",props:n}),{BackdropComponent:c=t5,BackdropProps:d,className:f,closeAfterTransition:p=!1,children:g,container:y,component:w,components:h={},componentsProps:m={},disableAutoFocus:v=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:E=!1,disablePortal:C=!1,disableRestoreFocus:_=!1,disableScrollLock:R=!1,hideBackdrop:I=!1,keepMounted:O=!1,onBackdropClick:L,open:M,slotProps:D,slots:F}=u,j=oe(u,Z4),U=P({},u,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:b,disableEscapeKeyDown:E,disablePortal:C,disableRestoreFocus:_,disableScrollLock:R,hideBackdrop:I,keepMounted:O}),{getRootProps:B,getBackdropProps:A,getTransitionProps:N,portalRef:S,isTopModal:ce,exited:ue,hasTransition:T}=N3(P({},U,{rootRef:t})),Z=P({},U,{exited:ue}),ge=e5(Z),q={};if(g.props.tabIndex===void 0&&(q.tabIndex="-1"),T){const{onEnter:z,onExited:X}=N();q.onEnter=z,q.onExited=X}const Re=(r=(i=F==null?void 0:F.root)!=null?i:h.Root)!=null?r:n5,we=(o=(a=F==null?void 0:F.backdrop)!=null?a:h.Backdrop)!=null?o:c,Ee=(s=D==null?void 0:D.root)!=null?s:m.root,Be=(l=D==null?void 0:D.backdrop)!=null?l:m.backdrop,de=To({elementType:Re,externalSlotProps:Ee,externalForwardedProps:j,getSlotProps:B,additionalProps:{ref:t,as:w},ownerState:Z,className:se(f,Ee==null?void 0:Ee.className,ge==null?void 0:ge.root,!Z.open&&Z.exited&&(ge==null?void 0:ge.hidden))}),ve=To({elementType:we,externalSlotProps:Be,additionalProps:d,getSlotProps:z=>A(P({},z,{onClick:X=>{L&&L(X),z!=null&&z.onClick&&z.onClick(X)}})),className:se(Be==null?void 0:Be.className,d==null?void 0:d.className,ge==null?void 0:ge.backdrop),ownerState:Z});return!O&&!M&&(!T||ue)?null:k.jsx(_3,{ref:S,container:y,disablePortal:C,children:k.jsxs(Re,P({},de,{children:[!I&&c?k.jsx(we,P({},ve)):null,k.jsx(S3,{disableEnforceFocus:b,disableAutoFocus:v,disableRestoreFocus:_,isEnabled:ce,open:M,children:x.cloneElement(g,q)})]}))})}),_b=r5;function i5(e){return Ce("MuiDialog",e)}const o5=Se("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),pd=o5,a5=x.createContext({}),s5=a5,l5=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],u5=te(Sb,{name:"MuiDialog",slot:"Backdrop",overrides:(e,n)=>n.backdrop})({zIndex:-1}),c5=e=>{const{classes:n,scroll:t,maxWidth:r,fullWidth:i,fullScreen:o}=e,a={root:["root"],container:["container",`scroll${K(t)}`],paper:["paper",`paperScroll${K(t)}`,`paperWidth${K(String(r))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return Te(a,i5,n)},d5=te(_b,{name:"MuiDialog",slot:"Root",overridesResolver:(e,n)=>n.root})({"@media print":{position:"absolute !important"}}),f5=te("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.container,n[`scroll${K(t.scroll)}`]]}})(({ownerState:e})=>P({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),p5=te(kc,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.paper,n[`scrollPaper${K(t.scroll)}`],n[`paperWidth${K(String(t.maxWidth))}`],t.fullWidth&&n.paperFullWidth,t.fullScreen&&n.paperFullScreen]}})(({theme:e,ownerState:n})=>P({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},n.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},n.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!n.maxWidth&&{maxWidth:"calc(100% - 64px)"},n.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${pd.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},n.maxWidth&&n.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[n.maxWidth]}${e.breakpoints.unit}`,[`&.${pd.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[n.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},n.fullWidth&&{width:"calc(100% - 64px)"},n.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${pd.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),h5=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiDialog"}),i=Et(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,BackdropComponent:l,BackdropProps:u,children:c,className:d,disableEscapeKeyDown:f=!1,fullScreen:p=!1,fullWidth:g=!1,maxWidth:y="sm",onBackdropClick:w,onClose:h,open:m,PaperComponent:v=kc,PaperProps:b={},scroll:E="paper",TransitionComponent:C=Cb,transitionDuration:_=o,TransitionProps:R}=r,I=oe(r,l5),O=P({},r,{disableEscapeKeyDown:f,fullScreen:p,fullWidth:g,maxWidth:y,scroll:E}),L=c5(O),M=x.useRef(),D=B=>{M.current=B.target===B.currentTarget},F=B=>{M.current&&(M.current=null,w&&w(B),h&&h(B,"backdropClick"))},j=Fu(s),U=x.useMemo(()=>({titleId:j}),[j]);return k.jsx(d5,P({className:se(L.root,d),closeAfterTransition:!0,components:{Backdrop:u5},componentsProps:{backdrop:P({transitionDuration:_,as:l},u)},disableEscapeKeyDown:f,onClose:h,open:m,ref:t,onClick:F,ownerState:O},I,{children:k.jsx(C,P({appear:!0,in:m,timeout:_,role:"presentation"},R,{children:k.jsx(f5,{className:se(L.container),onMouseDown:D,ownerState:O,children:k.jsx(p5,P({as:v,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":j},b,{className:se(L.paper,b.className),ownerState:O,children:k.jsx(s5.Provider,{value:U,children:c})}))})}))}))}),m5=h5,g5=Se("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),_0=g5,y5=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],v5=e=>{const{classes:n,disableUnderline:t}=e,i=Te({root:["root",!t&&"underline"],input:["input"]},s4,n);return P({},n,i)},x5=te(Ec,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[...Cc(e,n),!t.disableUnderline&&n.underline]}})(({theme:e,ownerState:n})=>{var t;const r=e.palette.mode==="light",i=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return P({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o}},[`&.${qr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o},[`&.${qr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!n.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(t=(e.vars||e).palette[n.color||"primary"])==null?void 0:t.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${qr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${qr.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${qr.disabled}, .${qr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${qr.disabled}:before`]:{borderBottomStyle:"dotted"}},n.startAdornment&&{paddingLeft:12},n.endAdornment&&{paddingRight:12},n.multiline&&P({padding:"25px 12px 8px"},n.size==="small"&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),b5=te(_c,{name:"MuiFilledInput",slot:"Input",overridesResolver:Sc})(({theme:e,ownerState:n})=>P({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},n.size==="small"&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0},n.hiddenLabel&&n.size==="small"&&{paddingTop:8,paddingBottom:9})),Pb=x.forwardRef(function(n,t){var r,i,o,a;const s=Ie({props:n,name:"MuiFilledInput"}),{components:l={},componentsProps:u,fullWidth:c=!1,inputComponent:d="input",multiline:f=!1,slotProps:p,slots:g={},type:y="text"}=s,w=oe(s,y5),h=P({},s,{fullWidth:c,inputComponent:d,multiline:f,type:y}),m=v5(s),v={root:{ownerState:h},input:{ownerState:h}},b=p??u?Nn(p??u,v):v,E=(r=(i=g.root)!=null?i:l.Root)!=null?r:x5,C=(o=(a=g.input)!=null?a:l.Input)!=null?o:b5;return k.jsx(Uh,P({slots:{root:E,input:C},componentsProps:b,fullWidth:c,inputComponent:d,multiline:f,ref:t,type:y},w,{classes:m}))});Pb.muiName="Input";const Tb=Pb;function k5(e){return Ce("MuiFormControl",e)}Se("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const w5=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],C5=e=>{const{classes:n,margin:t,fullWidth:r}=e,i={root:["root",t!=="none"&&`margin${K(t)}`,r&&"fullWidth"]};return Te(i,k5,n)},S5=te("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},n)=>P({},n.root,n[`margin${K(e.margin)}`],e.fullWidth&&n.fullWidth)})(({ownerState:e})=>P({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),E5=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiFormControl"}),{children:i,className:o,color:a="primary",component:s="div",disabled:l=!1,error:u=!1,focused:c,fullWidth:d=!1,hiddenLabel:f=!1,margin:p="none",required:g=!1,size:y="medium",variant:w="outlined"}=r,h=oe(r,w5),m=P({},r,{color:a,component:s,disabled:l,error:u,fullWidth:d,hiddenLabel:f,margin:p,required:g,size:y,variant:w}),v=C5(m),[b,E]=x.useState(()=>{let D=!1;return i&&x.Children.forEach(i,F=>{if(!hl(F,["Input","Select"]))return;const j=hl(F,["Select"])?F.props.input:F;j&&X3(j.props)&&(D=!0)}),D}),[C,_]=x.useState(()=>{let D=!1;return i&&x.Children.forEach(i,F=>{hl(F,["Input","Select"])&&(ou(F.props,!0)||ou(F.props.inputProps,!0))&&(D=!0)}),D}),[R,I]=x.useState(!1);l&&R&&I(!1);const O=c!==void 0&&!l?c:R;let L;const M=x.useMemo(()=>({adornedStart:b,setAdornedStart:E,color:a,disabled:l,error:u,filled:C,focused:O,fullWidth:d,hiddenLabel:f,size:y,onBlur:()=>{I(!1)},onEmpty:()=>{_(!1)},onFilled:()=>{_(!0)},onFocus:()=>{I(!0)},registerEffect:L,required:g,variant:w}),[b,a,l,u,C,O,d,f,L,g,y,w]);return k.jsx(Bh.Provider,{value:M,children:k.jsx(S5,P({as:s,ownerState:m,className:se(v.root,o),ref:t},h,{children:i}))})}),Ob=E5,_5=UP({createStyledComponent:te("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,n)=>n.root}),useThemeProps:e=>Ie({props:e,name:"MuiStack"})}),P5=_5;function T5(e){return Ce("MuiFormControlLabel",e)}const O5=Se("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),ca=O5,I5=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],R5=e=>{const{classes:n,disabled:t,labelPlacement:r,error:i,required:o}=e,a={root:["root",t&&"disabled",`labelPlacement${K(r)}`,i&&"error",o&&"required"],label:["label",t&&"disabled"],asterisk:["asterisk",i&&"error"]};return Te(a,T5,n)},A5=te("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[{[`& .${ca.label}`]:n.label},n.root,n[`labelPlacement${K(t.labelPlacement)}`]]}})(({theme:e,ownerState:n})=>P({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${ca.disabled}`]:{cursor:"default"}},n.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},n.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},n.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${ca.label}`]:{[`&.${ca.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),L5=te("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,n)=>n.asterisk})(({theme:e})=>({[`&.${ca.error}`]:{color:(e.vars||e).palette.error.main}})),M5=x.forwardRef(function(n,t){var r,i;const o=Ie({props:n,name:"MuiFormControlLabel"}),{className:a,componentsProps:s={},control:l,disabled:u,disableTypography:c,label:d,labelPlacement:f="end",required:p,slotProps:g={}}=o,y=oe(o,I5),w=Gr(),h=(r=u??l.props.disabled)!=null?r:w==null?void 0:w.disabled,m=p??l.props.required,v={disabled:h,required:m};["checked","name","onChange","value","inputRef"].forEach(I=>{typeof l.props[I]>"u"&&typeof o[I]<"u"&&(v[I]=o[I])});const b=_i({props:o,muiFormControl:w,states:["error"]}),E=P({},o,{disabled:h,labelPlacement:f,required:m,error:b.error}),C=R5(E),_=(i=g.typography)!=null?i:s.typography;let R=d;return R!=null&&R.type!==pe&&!c&&(R=k.jsx(pe,P({component:"span"},_,{className:se(C.label,_==null?void 0:_.className),children:R}))),k.jsxs(A5,P({className:se(C.root,a),ownerState:E,ref:t},y,{children:[x.cloneElement(l,v),m?k.jsxs(P5,{direction:"row",alignItems:"center",children:[R,k.jsxs(L5,{ownerState:E,"aria-hidden":!0,className:C.asterisk,children:[" ","*"]})]}):R]}))}),Qo=M5;function N5(e){return Ce("MuiFormHelperText",e)}const $5=Se("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),P0=$5;var T0;const j5=["children","className","component","disabled","error","filled","focused","margin","required","variant"],z5=e=>{const{classes:n,contained:t,size:r,disabled:i,error:o,filled:a,focused:s,required:l}=e,u={root:["root",i&&"disabled",o&&"error",r&&`size${K(r)}`,t&&"contained",s&&"focused",a&&"filled",l&&"required"]};return Te(u,N5,n)},F5=te("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.size&&n[`size${K(t.size)}`],t.contained&&n.contained,t.filled&&n.filled]}})(({theme:e,ownerState:n})=>P({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${P0.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${P0.error}`]:{color:(e.vars||e).palette.error.main}},n.size==="small"&&{marginTop:4},n.contained&&{marginLeft:14,marginRight:14})),D5=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiFormHelperText"}),{children:i,className:o,component:a="p"}=r,s=oe(r,j5),l=Gr(),u=_i({props:r,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),c=P({},r,{component:a,contained:u.variant==="filled"||u.variant==="outlined",variant:u.variant,size:u.size,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),d=z5(c);return k.jsx(F5,P({as:a,ownerState:c,className:se(d.root,o),ref:t},s,{children:i===" "?T0||(T0=k.jsx("span",{className:"notranslate",children:"​"})):i}))}),B5=D5;function U5(e){return Ce("MuiFormLabel",e)}const W5=Se("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Sa=W5,H5=["children","className","color","component","disabled","error","filled","focused","required"],V5=e=>{const{classes:n,color:t,focused:r,disabled:i,error:o,filled:a,required:s}=e,l={root:["root",`color${K(t)}`,i&&"disabled",o&&"error",a&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",o&&"error"]};return Te(l,U5,n)},K5=te("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},n)=>P({},n.root,e.color==="secondary"&&n.colorSecondary,e.filled&&n.filled)})(({theme:e,ownerState:n})=>P({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Sa.focused}`]:{color:(e.vars||e).palette[n.color].main},[`&.${Sa.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Sa.error}`]:{color:(e.vars||e).palette.error.main}})),G5=te("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,n)=>n.asterisk})(({theme:e})=>({[`&.${Sa.error}`]:{color:(e.vars||e).palette.error.main}})),Y5=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiFormLabel"}),{children:i,className:o,component:a="label"}=r,s=oe(r,H5),l=Gr(),u=_i({props:r,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),c=P({},r,{color:u.color||"primary",component:a,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),d=V5(c);return k.jsxs(K5,P({as:a,ownerState:c,className:se(d.root,o),ref:t},s,{children:[i,u.required&&k.jsxs(G5,{ownerState:c,"aria-hidden":!0,className:d.asterisk,children:[" ","*"]})]}))}),q5=Y5,X5=x.createContext(),O0=X5;function Q5(e){return Ce("MuiGrid",e)}const J5=[0,1,2,3,4,5,6,7,8,9,10],Z5=["column-reverse","column","row-reverse","row"],eO=["nowrap","wrap-reverse","wrap"],Jo=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Za=Se("MuiGrid",["root","container","item","zeroMinWidth",...J5.map(e=>`spacing-xs-${e}`),...Z5.map(e=>`direction-xs-${e}`),...eO.map(e=>`wrap-xs-${e}`),...Jo.map(e=>`grid-xs-${e}`),...Jo.map(e=>`grid-sm-${e}`),...Jo.map(e=>`grid-md-${e}`),...Jo.map(e=>`grid-lg-${e}`),...Jo.map(e=>`grid-xl-${e}`)]),nO=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function ho(e){const n=parseFloat(e);return`${n}${String(e).replace(String(n),"")||"px"}`}function tO({theme:e,ownerState:n}){let t;return e.breakpoints.keys.reduce((r,i)=>{let o={};if(n[i]&&(t=n[i]),!t)return r;if(t===!0)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(t==="auto")o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=fi({values:n.columns,breakpoints:e.breakpoints.values}),s=typeof a=="object"?a[i]:a;if(s==null)return r;const l=`${Math.round(t/s*1e8)/1e6}%`;let u={};if(n.container&&n.item&&n.columnSpacing!==0){const c=e.spacing(n.columnSpacing);if(c!=="0px"){const d=`calc(${l} + ${ho(c)})`;u={flexBasis:d,maxWidth:d}}}o=P({flexBasis:l,flexGrow:0,maxWidth:l},u)}return e.breakpoints.values[i]===0?Object.assign(r,o):r[e.breakpoints.up(i)]=o,r},{})}function rO({theme:e,ownerState:n}){const t=fi({values:n.direction,breakpoints:e.breakpoints.values});return tt({theme:e},t,r=>{const i={flexDirection:r};return r.indexOf("column")===0&&(i[`& > .${Za.item}`]={maxWidth:"none"}),i})}function Ib({breakpoints:e,values:n}){let t="";Object.keys(n).forEach(i=>{t===""&&n[i]!==0&&(t=i)});const r=Object.keys(e).sort((i,o)=>e[i]-e[o]);return r.slice(0,r.indexOf(t))}function iO({theme:e,ownerState:n}){const{container:t,rowSpacing:r}=n;let i={};if(t&&r!==0){const o=fi({values:r,breakpoints:e.breakpoints.values});let a;typeof o=="object"&&(a=Ib({breakpoints:e.breakpoints.values,values:o})),i=tt({theme:e},o,(s,l)=>{var u;const c=e.spacing(s);return c!=="0px"?{marginTop:`-${ho(c)}`,[`& > .${Za.item}`]:{paddingTop:ho(c)}}:(u=a)!=null&&u.includes(l)?{}:{marginTop:0,[`& > .${Za.item}`]:{paddingTop:0}}})}return i}function oO({theme:e,ownerState:n}){const{container:t,columnSpacing:r}=n;let i={};if(t&&r!==0){const o=fi({values:r,breakpoints:e.breakpoints.values});let a;typeof o=="object"&&(a=Ib({breakpoints:e.breakpoints.values,values:o})),i=tt({theme:e},o,(s,l)=>{var u;const c=e.spacing(s);return c!=="0px"?{width:`calc(100% + ${ho(c)})`,marginLeft:`-${ho(c)}`,[`& > .${Za.item}`]:{paddingLeft:ho(c)}}:(u=a)!=null&&u.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${Za.item}`]:{paddingLeft:0}}})}return i}function aO(e,n,t={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[t[`spacing-xs-${String(e)}`]];const r=[];return n.forEach(i=>{const o=e[i];Number(o)>0&&r.push(t[`spacing-${i}-${String(o)}`])}),r}const sO=te("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e,{container:r,direction:i,item:o,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:u}=t;let c=[];r&&(c=aO(a,u,n));const d=[];return u.forEach(f=>{const p=t[f];p&&d.push(n[`grid-${f}-${String(p)}`])}),[n.root,r&&n.container,o&&n.item,l&&n.zeroMinWidth,...c,i!=="row"&&n[`direction-xs-${String(i)}`],s!=="wrap"&&n[`wrap-xs-${String(s)}`],...d]}})(({ownerState:e})=>P({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),rO,iO,oO,tO);function lO(e,n){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const t=[];return n.forEach(r=>{const i=e[r];if(Number(i)>0){const o=`spacing-${r}-${String(i)}`;t.push(o)}}),t}const uO=e=>{const{classes:n,container:t,direction:r,item:i,spacing:o,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let u=[];t&&(u=lO(o,l));const c=[];l.forEach(f=>{const p=e[f];p&&c.push(`grid-${f}-${String(p)}`)});const d={root:["root",t&&"container",i&&"item",s&&"zeroMinWidth",...u,r!=="row"&&`direction-xs-${String(r)}`,a!=="wrap"&&`wrap-xs-${String(a)}`,...c]};return Te(d,Q5,n)},cO=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiGrid"}),{breakpoints:i}=Et(),o=lc(r),{className:a,columns:s,columnSpacing:l,component:u="div",container:c=!1,direction:d="row",item:f=!1,rowSpacing:p,spacing:g=0,wrap:y="wrap",zeroMinWidth:w=!1}=o,h=oe(o,nO),m=p||g,v=l||g,b=x.useContext(O0),E=c?s||12:b,C={},_=P({},h);i.keys.forEach(O=>{h[O]!=null&&(C[O]=h[O],delete _[O])});const R=P({},o,{columns:E,container:c,direction:d,item:f,rowSpacing:m,columnSpacing:v,wrap:y,zeroMinWidth:w,spacing:g},C,{breakpoints:i.keys}),I=uO(R);return k.jsx(O0.Provider,{value:E,children:k.jsx(sO,P({ownerState:R,className:se(I.root,a),as:u,ref:t},_))})}),_e=cO,dO=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Hf(e){return`scale(${e}, ${e**2})`}const fO={entering:{opacity:1,transform:Hf(1)},entered:{opacity:1,transform:"none"}},hd=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Rb=x.forwardRef(function(n,t){const{addEndListener:r,appear:i=!0,children:o,easing:a,in:s,onEnter:l,onEntered:u,onEntering:c,onExit:d,onExited:f,onExiting:p,style:g,timeout:y="auto",TransitionComponent:w=zh}=n,h=oe(n,dO),m=x.useRef(),v=x.useRef(),b=Et(),E=x.useRef(null),C=Cn(E,o.ref,t),_=j=>U=>{if(j){const B=E.current;U===void 0?j(B):j(B,U)}},R=_(c),I=_((j,U)=>{kb(j);const{duration:B,delay:A,easing:N}=ru({style:g,timeout:y,easing:a},{mode:"enter"});let S;y==="auto"?(S=b.transitions.getAutoHeightDuration(j.clientHeight),v.current=S):S=B,j.style.transition=[b.transitions.create("opacity",{duration:S,delay:A}),b.transitions.create("transform",{duration:hd?S:S*.666,delay:A,easing:N})].join(","),l&&l(j,U)}),O=_(u),L=_(p),M=_(j=>{const{duration:U,delay:B,easing:A}=ru({style:g,timeout:y,easing:a},{mode:"exit"});let N;y==="auto"?(N=b.transitions.getAutoHeightDuration(j.clientHeight),v.current=N):N=U,j.style.transition=[b.transitions.create("opacity",{duration:N,delay:B}),b.transitions.create("transform",{duration:hd?N:N*.666,delay:hd?B:B||N*.333,easing:A})].join(","),j.style.opacity=0,j.style.transform=Hf(.75),d&&d(j)}),D=_(f),F=j=>{y==="auto"&&(m.current=setTimeout(j,v.current||0)),r&&r(E.current,j)};return x.useEffect(()=>()=>{clearTimeout(m.current)},[]),k.jsx(w,P({appear:i,in:s,nodeRef:E,onEnter:I,onEntered:O,onEntering:R,onExit:M,onExited:D,onExiting:L,addEndListener:F,timeout:y==="auto"?null:y},h,{children:(j,U)=>x.cloneElement(o,P({style:P({opacity:0,transform:Hf(.75),visibility:j==="exited"&&!s?"hidden":void 0},fO[j],g,o.props.style),ref:C},U))}))});Rb.muiSupportAuto=!0;const pO=Rb;function hO(e,n,t,r,i){const[o,a]=x.useState(()=>i&&t?t(e).matches:r?r(e).matches:n);return Xt(()=>{let s=!0;if(!t)return;const l=t(e),u=()=>{s&&a(l.matches)};return u(),l.addListener(u),()=>{s=!1,l.removeListener(u)}},[e,t]),o}const Ab=x.useSyncExternalStore;function mO(e,n,t,r,i){const o=x.useCallback(()=>n,[n]),a=x.useMemo(()=>{if(i&&t)return()=>t(e).matches;if(r!==null){const{matches:c}=r(e);return()=>c}return o},[o,e,r,i,t]),[s,l]=x.useMemo(()=>{if(t===null)return[o,()=>()=>{}];const c=t(e);return[()=>c.matches,d=>(c.addListener(d),()=>{c.removeListener(d)})]},[o,t,e]);return Ab(l,s,a)}function Pi(e,n={}){const t=Ah(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:o=r?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:s=!1}=gb({name:"MuiUseMediaQuery",props:n,theme:t});let l=typeof e=="function"?e(t):e;return l=l.replace(/^@media( ?)/m,""),(Ab!==void 0?mO:hO)(l,i,o,a,s)}const gO=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],yO=e=>{const{classes:n,disableUnderline:t}=e,i=Te({root:["root",!t&&"underline"],input:["input"]},r4,n);return P({},n,i)},vO=te(Ec,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[...Cc(e,n),!t.disableUnderline&&n.underline]}})(({theme:e,ownerState:n})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),P({position:"relative"},n.formControl&&{"label + &":{marginTop:16}},!n.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[n.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Xo.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Xo.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Xo.disabled}, .${Xo.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Xo.disabled}:before`]:{borderBottomStyle:"dotted"}})}),xO=te(_c,{name:"MuiInput",slot:"Input",overridesResolver:Sc})({}),Lb=x.forwardRef(function(n,t){var r,i,o,a;const s=Ie({props:n,name:"MuiInput"}),{disableUnderline:l,components:u={},componentsProps:c,fullWidth:d=!1,inputComponent:f="input",multiline:p=!1,slotProps:g,slots:y={},type:w="text"}=s,h=oe(s,gO),m=yO(s),b={root:{ownerState:{disableUnderline:l}}},E=g??c?Nn(g??c,b):b,C=(r=(i=y.root)!=null?i:u.Root)!=null?r:vO,_=(o=(a=y.input)!=null?a:u.Input)!=null?o:xO;return k.jsx(Uh,P({slots:{root:C,input:_},slotProps:E,fullWidth:d,inputComponent:f,multiline:p,ref:t,type:w},h,{classes:m}))});Lb.muiName="Input";const Mb=Lb;function bO(e){return Ce("MuiInputLabel",e)}Se("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const kO=["disableAnimation","margin","shrink","variant","className"],wO=e=>{const{classes:n,formControl:t,size:r,shrink:i,disableAnimation:o,variant:a,required:s}=e,l={root:["root",t&&"formControl",!o&&"animated",i&&"shrink",r&&r!=="normal"&&`size${K(r)}`,a],asterisk:[s&&"asterisk"]},u=Te(l,bO,n);return P({},n,u)},CO=te(q5,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[{[`& .${Sa.asterisk}`]:n.asterisk},n.root,t.formControl&&n.formControl,t.size==="small"&&n.sizeSmall,t.shrink&&n.shrink,!t.disableAnimation&&n.animated,t.focused&&n.focused,n[t.variant]]}})(({theme:e,ownerState:n})=>P({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},n.size==="small"&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},n.variant==="filled"&&P({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},n.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&P({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},n.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),n.variant==="outlined"&&P({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},n.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),SO=x.forwardRef(function(n,t){const r=Ie({name:"MuiInputLabel",props:n}),{disableAnimation:i=!1,shrink:o,className:a}=r,s=oe(r,kO),l=Gr();let u=o;typeof u>"u"&&l&&(u=l.filled||l.focused||l.adornedStart);const c=_i({props:r,muiFormControl:l,states:["size","variant","required","focused"]}),d=P({},r,{disableAnimation:i,formControl:l,shrink:u,size:c.size,variant:c.variant,required:c.required,focused:c.focused}),f=wO(d);return k.jsx(CO,P({"data-shrink":u,ownerState:d,ref:t,className:se(f.root,a)},s,{classes:f}))}),Nb=SO;function EO(e){return Ce("MuiLink",e)}const _O=Se("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),PO=_O,$b={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},TO=e=>$b[e]||e,OO=({theme:e,ownerState:n})=>{const t=TO(n.color),r=_o(e,`palette.${t}`,!1)||n.color,i=_o(e,`palette.${t}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:Qe(r,.4)},IO=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],RO=e=>{const{classes:n,component:t,focusVisible:r,underline:i}=e,o={root:["root",`underline${K(i)}`,t==="button"&&"button",r&&"focusVisible"]};return Te(o,EO,n)},AO=te(pe,{name:"MuiLink",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n[`underline${K(t.underline)}`],t.component==="button"&&n.button]}})(({theme:e,ownerState:n})=>P({},n.underline==="none"&&{textDecoration:"none"},n.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},n.underline==="always"&&P({textDecoration:"underline"},n.color!=="inherit"&&{textDecorationColor:OO({theme:e,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),n.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${PO.focusVisible}`]:{outline:"auto"}})),LO=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiLink"}),{className:i,color:o="primary",component:a="a",onBlur:s,onFocus:l,TypographyClasses:u,underline:c="always",variant:d="inherit",sx:f}=r,p=oe(r,IO),{isFocusVisibleRef:g,onBlur:y,onFocus:w,ref:h}=gh(),[m,v]=x.useState(!1),b=Cn(t,h),E=I=>{y(I),g.current===!1&&v(!1),s&&s(I)},C=I=>{w(I),g.current===!0&&v(!0),l&&l(I)},_=P({},r,{color:o,component:a,focusVisible:m,underline:c,variant:d}),R=RO(_);return k.jsx(AO,P({color:o,className:se(R.root,i),classes:u,component:a,onBlur:E,onFocus:C,ref:b,ownerState:_,variant:d,sx:[...Object.keys($b).includes(o)?[]:[{color:o}],...Array.isArray(f)?f:[f]]},p))}),Di=LO,MO=x.createContext({}),au=MO;function NO(e){return Ce("MuiList",e)}Se("MuiList",["root","padding","dense","subheader"]);const $O=["children","className","component","dense","disablePadding","subheader"],jO=e=>{const{classes:n,disablePadding:t,dense:r,subheader:i}=e;return Te({root:["root",!t&&"padding",r&&"dense",i&&"subheader"]},NO,n)},zO=te("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,!t.disablePadding&&n.padding,t.dense&&n.dense,t.subheader&&n.subheader]}})(({ownerState:e})=>P({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),FO=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiList"}),{children:i,className:o,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:u}=r,c=oe(r,$O),d=x.useMemo(()=>({dense:s}),[s]),f=P({},r,{component:a,dense:s,disablePadding:l}),p=jO(f);return k.jsx(au.Provider,{value:d,children:k.jsxs(zO,P({as:a,className:se(p.root,o),ref:t,ownerState:f},c,{children:[u,i]}))})}),DO=FO,BO=Se("MuiListItemIcon",["root","alignItemsFlexStart"]),I0=BO;function UO(e){return Ce("MuiListItemText",e)}const WO=Se("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),su=WO,HO=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],VO=e=>{const{classes:n,inset:t,primary:r,secondary:i,dense:o}=e;return Te({root:["root",t&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},UO,n)},KO=te("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[{[`& .${su.primary}`]:n.primary},{[`& .${su.secondary}`]:n.secondary},n.root,t.inset&&n.inset,t.primary&&t.secondary&&n.multiline,t.dense&&n.dense]}})(({ownerState:e})=>P({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),GO=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiListItemText"}),{children:i,className:o,disableTypography:a=!1,inset:s=!1,primary:l,primaryTypographyProps:u,secondary:c,secondaryTypographyProps:d}=r,f=oe(r,HO),{dense:p}=x.useContext(au);let g=l??i,y=c;const w=P({},r,{disableTypography:a,inset:s,primary:!!g,secondary:!!y,dense:p}),h=VO(w);return g!=null&&g.type!==pe&&!a&&(g=k.jsx(pe,P({variant:p?"body2":"body1",className:h.primary,component:u!=null&&u.variant?void 0:"span",display:"block"},u,{children:g}))),y!=null&&y.type!==pe&&!a&&(y=k.jsx(pe,P({variant:"body2",className:h.secondary,color:"text.secondary",display:"block"},d,{children:y}))),k.jsxs(KO,P({className:se(h.root,o),ownerState:w,ref:t},f,{children:[g,y]}))}),YO=GO,qO=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function md(e,n,t){return e===n?e.firstChild:n&&n.nextElementSibling?n.nextElementSibling:t?null:e.firstChild}function R0(e,n,t){return e===n?t?e.firstChild:e.lastChild:n&&n.previousElementSibling?n.previousElementSibling:t?null:e.lastChild}function jb(e,n){if(n===void 0)return!0;let t=e.innerText;return t===void 0&&(t=e.textContent),t=t.trim().toLowerCase(),t.length===0?!1:n.repeating?t[0]===n.keys[0]:t.indexOf(n.keys.join(""))===0}function Zo(e,n,t,r,i,o){let a=!1,s=i(e,n,n?t:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!jb(s,o)||l)s=i(e,s,t);else return s.focus(),!0}return!1}const XO=x.forwardRef(function(n,t){const{actions:r,autoFocus:i=!1,autoFocusItem:o=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:d="selectedMenu"}=n,f=oe(n,qO),p=x.useRef(null),g=x.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Xt(()=>{i&&p.current.focus()},[i]),x.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(v,b)=>{const E=!p.current.style.width;if(v.clientHeight{const b=p.current,E=v.key,C=Zn(b).activeElement;if(E==="ArrowDown")v.preventDefault(),Zo(b,C,u,l,md);else if(E==="ArrowUp")v.preventDefault(),Zo(b,C,u,l,R0);else if(E==="Home")v.preventDefault(),Zo(b,null,u,l,md);else if(E==="End")v.preventDefault(),Zo(b,null,u,l,R0);else if(E.length===1){const _=g.current,R=E.toLowerCase(),I=performance.now();_.keys.length>0&&(I-_.lastTime>500?(_.keys=[],_.repeating=!0,_.previousKeyMatched=!0):_.repeating&&R!==_.keys[0]&&(_.repeating=!1)),_.lastTime=I,_.keys.push(R);const O=C&&!_.repeating&&jb(C,_);_.previousKeyMatched&&(O||Zo(b,C,!1,l,md,_))?v.preventDefault():_.previousKeyMatched=!1}c&&c(v)},w=Cn(p,t);let h=-1;x.Children.forEach(a,(v,b)=>{if(!x.isValidElement(v)){h===b&&(h+=1,h>=a.length&&(h=-1));return}v.props.disabled||(d==="selectedMenu"&&v.props.selected||h===-1)&&(h=b),h===b&&(v.props.disabled||v.props.muiSkipListHighlight||v.type.muiSkipListHighlight)&&(h+=1,h>=a.length&&(h=-1))});const m=x.Children.map(a,(v,b)=>{if(b===h){const E={};return o&&(E.autoFocus=!0),v.props.tabIndex===void 0&&d==="selectedMenu"&&(E.tabIndex=0),x.cloneElement(v,E)}return v});return k.jsx(DO,P({role:"menu",ref:w,className:s,onKeyDown:y,tabIndex:i?0:-1},f,{children:m}))}),QO=XO;function JO(e){return Ce("MuiPopover",e)}Se("MuiPopover",["root","paper"]);const ZO=["onEntering"],eI=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],nI=["slotProps"];function A0(e,n){let t=0;return typeof n=="number"?t=n:n==="center"?t=e.height/2:n==="bottom"&&(t=e.height),t}function L0(e,n){let t=0;return typeof n=="number"?t=n:n==="center"?t=e.width/2:n==="right"&&(t=e.width),t}function M0(e){return[e.horizontal,e.vertical].map(n=>typeof n=="number"?`${n}px`:n).join(" ")}function gd(e){return typeof e=="function"?e():e}const tI=e=>{const{classes:n}=e;return Te({root:["root"],paper:["paper"]},JO,n)},rI=te(_b,{name:"MuiPopover",slot:"Root",overridesResolver:(e,n)=>n.root})({}),zb=te(kc,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,n)=>n.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),iI=x.forwardRef(function(n,t){var r,i,o;const a=Ie({props:n,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:u={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:d="anchorEl",children:f,className:p,container:g,elevation:y=8,marginThreshold:w=16,open:h,PaperProps:m={},slots:v,slotProps:b,transformOrigin:E={vertical:"top",horizontal:"left"},TransitionComponent:C=pO,transitionDuration:_="auto",TransitionProps:{onEntering:R}={},disableScrollLock:I=!1}=a,O=oe(a.TransitionProps,ZO),L=oe(a,eI),M=(r=b==null?void 0:b.paper)!=null?r:m,D=x.useRef(),F=Cn(D,M.ref),j=P({},a,{anchorOrigin:u,anchorReference:d,elevation:y,marginThreshold:w,externalPaperSlotProps:M,transformOrigin:E,TransitionComponent:C,transitionDuration:_,TransitionProps:O}),U=tI(j),B=x.useCallback(()=>{if(d==="anchorPosition")return c;const z=gd(l),ne=(z&&z.nodeType===1?z:Zn(D.current).body).getBoundingClientRect();return{top:ne.top+A0(ne,u.vertical),left:ne.left+L0(ne,u.horizontal)}},[l,u.horizontal,u.vertical,c,d]),A=x.useCallback(z=>({vertical:A0(z,E.vertical),horizontal:L0(z,E.horizontal)}),[E.horizontal,E.vertical]),N=x.useCallback(z=>{const X={width:z.offsetWidth,height:z.offsetHeight},ne=A(X);if(d==="none")return{top:null,left:null,transformOrigin:M0(ne)};const yn=B();let vn=yn.top-ne.vertical,fn=yn.left-ne.horizontal;const xn=vn+X.height,bn=fn+X.width,he=Fr(gd(l)),On=he.innerHeight-w,pn=he.innerWidth-w;if(w!==null&&vnOn){const Ae=xn-On;vn-=Ae,ne.vertical+=Ae}if(w!==null&&fnpn){const Ae=bn-pn;fn-=Ae,ne.horizontal+=Ae}return{top:`${Math.round(vn)}px`,left:`${Math.round(fn)}px`,transformOrigin:M0(ne)}},[l,d,B,A,w]),[S,ce]=x.useState(h),ue=x.useCallback(()=>{const z=D.current;if(!z)return;const X=N(z);X.top!==null&&(z.style.top=X.top),X.left!==null&&(z.style.left=X.left),z.style.transformOrigin=X.transformOrigin,ce(!0)},[N]);x.useEffect(()=>(I&&window.addEventListener("scroll",ue),()=>window.removeEventListener("scroll",ue)),[l,I,ue]);const T=(z,X)=>{R&&R(z,X),ue()},Z=()=>{ce(!1)};x.useEffect(()=>{h&&ue()}),x.useImperativeHandle(s,()=>h?{updatePosition:()=>{ue()}}:null,[h,ue]),x.useEffect(()=>{if(!h)return;const z=mh(()=>{ue()}),X=Fr(l);return X.addEventListener("resize",z),()=>{z.clear(),X.removeEventListener("resize",z)}},[l,h,ue]);let ge=_;_==="auto"&&!C.muiSupportAuto&&(ge=void 0);const q=g||(l?Zn(gd(l)).body:void 0),Re=(i=v==null?void 0:v.root)!=null?i:rI,we=(o=v==null?void 0:v.paper)!=null?o:zb,Ee=To({elementType:we,externalSlotProps:P({},M,{style:S?M.style:P({},M.style,{opacity:0})}),additionalProps:{elevation:y,ref:F},ownerState:j,className:se(U.paper,M==null?void 0:M.className)}),Be=To({elementType:Re,externalSlotProps:(b==null?void 0:b.root)||{},externalForwardedProps:L,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:q,open:h},ownerState:j,className:se(U.root,p)}),{slotProps:de}=Be,ve=oe(Be,nI);return k.jsx(Re,P({},ve,!iu(Re)&&{slotProps:de,disableScrollLock:I},{children:k.jsx(C,P({appear:!0,in:h,onEntering:T,onExited:Z,timeout:ge},O,{children:k.jsx(we,P({},Ee,{children:f}))}))}))}),oI=iI;function aI(e){return Ce("MuiMenu",e)}Se("MuiMenu",["root","paper","list"]);const sI=["onEntering"],lI=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],uI={vertical:"top",horizontal:"right"},cI={vertical:"top",horizontal:"left"},dI=e=>{const{classes:n}=e;return Te({root:["root"],paper:["paper"],list:["list"]},aI,n)},fI=te(oI,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,n)=>n.root})({}),pI=te(zb,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,n)=>n.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),hI=te(QO,{name:"MuiMenu",slot:"List",overridesResolver:(e,n)=>n.list})({outline:0}),mI=x.forwardRef(function(n,t){var r,i;const o=Ie({props:n,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:l,disableAutoFocusItem:u=!1,MenuListProps:c={},onClose:d,open:f,PaperProps:p={},PopoverClasses:g,transitionDuration:y="auto",TransitionProps:{onEntering:w}={},variant:h="selectedMenu",slots:m={},slotProps:v={}}=o,b=oe(o.TransitionProps,sI),E=oe(o,lI),C=Et(),_=C.direction==="rtl",R=P({},o,{autoFocus:a,disableAutoFocusItem:u,MenuListProps:c,onEntering:w,PaperProps:p,transitionDuration:y,TransitionProps:b,variant:h}),I=dI(R),O=a&&!u&&f,L=x.useRef(null),M=(N,S)=>{L.current&&L.current.adjustStyleForScrollbar(N,C),w&&w(N,S)},D=N=>{N.key==="Tab"&&(N.preventDefault(),d&&d(N,"tabKeyDown"))};let F=-1;x.Children.map(s,(N,S)=>{x.isValidElement(N)&&(N.props.disabled||(h==="selectedMenu"&&N.props.selected||F===-1)&&(F=S))});const j=(r=m.paper)!=null?r:pI,U=(i=v.paper)!=null?i:p,B=To({elementType:m.root,externalSlotProps:v.root,ownerState:R,className:[I.root,l]}),A=To({elementType:j,externalSlotProps:U,ownerState:R,className:I.paper});return k.jsx(fI,P({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:_?"right":"left"},transformOrigin:_?uI:cI,slots:{paper:j,root:m.root},slotProps:{root:B,paper:A},open:f,ref:t,transitionDuration:y,TransitionProps:P({onEntering:M},b),ownerState:R},E,{classes:g,children:k.jsx(hI,P({onKeyDown:D,actions:L,autoFocus:a&&(F===-1||u),autoFocusItem:O,variant:h},c,{className:se(I.list,c.className),children:s}))}))}),gI=mI;function yI(e){return Ce("MuiMenuItem",e)}const vI=Se("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),ea=vI,xI=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],bI=(e,n)=>{const{ownerState:t}=e;return[n.root,t.dense&&n.dense,t.divider&&n.divider,!t.disableGutters&&n.gutters]},kI=e=>{const{disabled:n,dense:t,divider:r,disableGutters:i,selected:o,classes:a}=e,l=Te({root:["root",t&&"dense",n&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},yI,a);return P({},a,l)},wI=te(Po,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:bI})(({theme:e,ownerState:n})=>P({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ea.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ea.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ea.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ea.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ea.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${_0.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${_0.inset}`]:{marginLeft:52},[`& .${su.root}`]:{marginTop:0,marginBottom:0},[`& .${su.inset}`]:{paddingLeft:36},[`& .${I0.root}`]:{minWidth:36}},!n.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},n.dense&&P({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${I0.root} svg`]:{fontSize:"1.25rem"}}))),CI=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:u,role:c="menuitem",tabIndex:d,className:f}=r,p=oe(r,xI),g=x.useContext(au),y=x.useMemo(()=>({dense:a||g.dense||!1,disableGutters:l}),[g.dense,a,l]),w=x.useRef(null);Xt(()=>{i&&w.current&&w.current.focus()},[i]);const h=P({},r,{dense:y.dense,divider:s,disableGutters:l}),m=kI(r),v=Cn(w,t);let b;return r.disabled||(b=d!==void 0?d:-1),k.jsx(au.Provider,{value:y,children:k.jsx(wI,P({ref:v,role:c,tabIndex:b,component:o,focusVisibleClassName:se(m.focusVisible,u),className:se(m.root,f)},p,{ownerState:h,classes:m}))})}),Fb=CI;function SI(e){return Ce("MuiNativeSelect",e)}const EI=Se("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Wh=EI,_I=["className","disabled","error","IconComponent","inputRef","variant"],PI=e=>{const{classes:n,variant:t,disabled:r,multiple:i,open:o,error:a}=e,s={select:["select",t,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${K(t)}`,o&&"iconOpen",r&&"disabled"]};return Te(s,SI,n)},Db=({ownerState:e,theme:n})=>P({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":P({},n.vars?{backgroundColor:`rgba(${n.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:n.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${Wh.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(n.vars||n).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(n.vars||n).shape.borderRadius,"&:focus":{borderRadius:(n.vars||n).shape.borderRadius},"&&&":{paddingRight:32}}),TI=te("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:rt,overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.select,n[t.variant],t.error&&n.error,{[`&.${Wh.multiple}`]:n.multiple}]}})(Db),Bb=({ownerState:e,theme:n})=>P({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(n.vars||n).palette.action.active,[`&.${Wh.disabled}`]:{color:(n.vars||n).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),OI=te("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.icon,t.variant&&n[`icon${K(t.variant)}`],t.open&&n.iconOpen]}})(Bb),II=x.forwardRef(function(n,t){const{className:r,disabled:i,error:o,IconComponent:a,inputRef:s,variant:l="standard"}=n,u=oe(n,_I),c=P({},n,{disabled:i,variant:l,error:o}),d=PI(c);return k.jsxs(x.Fragment,{children:[k.jsx(TI,P({ownerState:c,className:se(d.select,r),disabled:i,ref:s||t},u)),n.multiple?null:k.jsx(OI,{as:a,ownerState:c,className:d.icon})]})}),RI=II;var N0;const AI=["children","classes","className","label","notched"],LI=te("fieldset",{shouldForwardProp:rt})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),MI=te("legend",{shouldForwardProp:rt})(({ownerState:e,theme:n})=>P({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},e.withLabel&&P({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})})));function NI(e){const{className:n,label:t,notched:r}=e,i=oe(e,AI),o=t!=null&&t!=="",a=P({},e,{notched:r,withLabel:o});return k.jsx(LI,P({"aria-hidden":!0,className:n,ownerState:a},i,{children:k.jsx(MI,{ownerState:a,children:o?k.jsx("span",{children:t}):N0||(N0=k.jsx("span",{className:"notranslate",children:"​"}))})}))}const $I=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],jI=e=>{const{classes:n}=e,r=Te({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},o4,n);return P({},n,r)},zI=te(Ec,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Cc})(({theme:e,ownerState:n})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return P({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${yr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${yr.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${yr.focused} .${yr.notchedOutline}`]:{borderColor:(e.vars||e).palette[n.color].main,borderWidth:2},[`&.${yr.error} .${yr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${yr.disabled} .${yr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},n.startAdornment&&{paddingLeft:14},n.endAdornment&&{paddingRight:14},n.multiline&&P({padding:"16.5px 14px"},n.size==="small"&&{padding:"8.5px 14px"}))}),FI=te(NI,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,n)=>n.notchedOutline})(({theme:e})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}}),DI=te(_c,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Sc})(({theme:e,ownerState:n})=>P({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},n.size==="small"&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})),Ub=x.forwardRef(function(n,t){var r,i,o,a,s;const l=Ie({props:n,name:"MuiOutlinedInput"}),{components:u={},fullWidth:c=!1,inputComponent:d="input",label:f,multiline:p=!1,notched:g,slots:y={},type:w="text"}=l,h=oe(l,$I),m=jI(l),v=Gr(),b=_i({props:l,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),E=P({},l,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:v,fullWidth:c,hiddenLabel:b.hiddenLabel,multiline:p,size:b.size,type:w}),C=(r=(i=y.root)!=null?i:u.Root)!=null?r:zI,_=(o=(a=y.input)!=null?a:u.Input)!=null?o:DI;return k.jsx(Uh,P({slots:{root:C,input:_},renderSuffix:R=>k.jsx(FI,{ownerState:E,className:m.notchedOutline,label:f!=null&&f!==""&&b.required?s||(s=k.jsxs(x.Fragment,{children:[f," ","*"]})):f,notched:typeof g<"u"?g:!!(R.startAdornment||R.filled||R.focused)}),fullWidth:c,inputComponent:d,multiline:p,ref:t,type:w},h,{classes:P({},m,{notchedOutline:null})}))});Ub.muiName="Input";const Hh=Ub;function BI(e){return Ce("MuiSelect",e)}const na=Se("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var $0;const UI=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],WI=te("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[{[`&.${na.select}`]:n.select},{[`&.${na.select}`]:n[t.variant]},{[`&.${na.error}`]:n.error},{[`&.${na.multiple}`]:n.multiple}]}})(Db,{[`&.${na.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),HI=te("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.icon,t.variant&&n[`icon${K(t.variant)}`],t.open&&n.iconOpen]}})(Bb),VI=te("input",{shouldForwardProp:e=>hT(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,n)=>n.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function j0(e,n){return typeof n=="object"&&n!==null?e===n:String(e)===String(n)}function KI(e){return e==null||typeof e=="string"&&!e.trim()}const GI=e=>{const{classes:n,variant:t,disabled:r,multiple:i,open:o,error:a}=e,s={select:["select",t,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${K(t)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Te(s,BI,n)},YI=x.forwardRef(function(n,t){var r;const{"aria-describedby":i,"aria-label":o,autoFocus:a,autoWidth:s,children:l,className:u,defaultOpen:c,defaultValue:d,disabled:f,displayEmpty:p,error:g=!1,IconComponent:y,inputRef:w,labelId:h,MenuProps:m={},multiple:v,name:b,onBlur:E,onChange:C,onClose:_,onFocus:R,onOpen:I,open:O,readOnly:L,renderValue:M,SelectDisplayProps:D={},tabIndex:F,value:j,variant:U="standard"}=n,B=oe(n,UI),[A,N]=Ql({controlled:j,default:d,name:"Select"}),[S,ce]=Ql({controlled:O,default:c,name:"Select"}),ue=x.useRef(null),T=x.useRef(null),[Z,ge]=x.useState(null),{current:q}=x.useRef(O!=null),[Re,we]=x.useState(),Ee=Cn(t,w),Be=x.useCallback(G=>{T.current=G,G&&ge(G)},[]),de=Z==null?void 0:Z.parentNode;x.useImperativeHandle(Ee,()=>({focus:()=>{T.current.focus()},node:ue.current,value:A}),[A]),x.useEffect(()=>{c&&S&&Z&&!q&&(we(s?null:de.clientWidth),T.current.focus())},[Z,s]),x.useEffect(()=>{a&&T.current.focus()},[a]),x.useEffect(()=>{if(!h)return;const G=Zn(T.current).getElementById(h);if(G){const ye=()=>{getSelection().isCollapsed&&T.current.focus()};return G.addEventListener("click",ye),()=>{G.removeEventListener("click",ye)}}},[h]);const ve=(G,ye)=>{G?I&&I(ye):_&&_(ye),q||(we(s?null:de.clientWidth),ce(G))},z=G=>{G.button===0&&(G.preventDefault(),T.current.focus(),ve(!0,G))},X=G=>{ve(!1,G)},ne=x.Children.toArray(l),yn=G=>{const ye=ne.find(xe=>xe.props.value===G.target.value);ye!==void 0&&(N(ye.props.value),C&&C(G,ye))},vn=G=>ye=>{let xe;if(ye.currentTarget.hasAttribute("tabindex")){if(v){xe=Array.isArray(A)?A.slice():[];const Fn=A.indexOf(G.props.value);Fn===-1?xe.push(G.props.value):xe.splice(Fn,1)}else xe=G.props.value;if(G.props.onClick&&G.props.onClick(ye),A!==xe&&(N(xe),C)){const Fn=ye.nativeEvent||ye,gt=new Fn.constructor(Fn.type,Fn);Object.defineProperty(gt,"target",{writable:!0,value:{value:xe,name:b}}),C(gt,G)}v||ve(!1,ye)}},fn=G=>{L||[" ","ArrowUp","ArrowDown","Enter"].indexOf(G.key)!==-1&&(G.preventDefault(),ve(!0,G))},xn=Z!==null&&S,bn=G=>{!xn&&E&&(Object.defineProperty(G,"target",{writable:!0,value:{value:A,name:b}}),E(G))};delete B["aria-invalid"];let he,On;const pn=[];let Ae=!1;(ou({value:A})||p)&&(M?he=M(A):Ae=!0);const $=ne.map(G=>{if(!x.isValidElement(G))return null;let ye;if(v){if(!Array.isArray(A))throw new Error(zr(2));ye=A.some(xe=>j0(xe,G.props.value)),ye&&Ae&&pn.push(G.props.children)}else ye=j0(A,G.props.value),ye&&Ae&&(On=G.props.children);return x.cloneElement(G,{"aria-selected":ye?"true":"false",onClick:vn(G),onKeyUp:xe=>{xe.key===" "&&xe.preventDefault(),G.props.onKeyUp&&G.props.onKeyUp(xe)},role:"option",selected:ye,value:void 0,"data-value":G.props.value})});Ae&&(v?pn.length===0?he=null:he=pn.reduce((G,ye,xe)=>(G.push(ye),xe{const{classes:n}=e;return n},Vh={name:"MuiSelect",overridesResolver:(e,n)=>n.root,shouldForwardProp:e=>rt(e)&&e!=="variant",slot:"Root"},ZI=te(Mb,Vh)(""),eR=te(Hh,Vh)(""),nR=te(Tb,Vh)(""),Wb=x.forwardRef(function(n,t){const r=Ie({name:"MuiSelect",props:n}),{autoWidth:i=!1,children:o,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=u4,id:d,input:f,inputProps:p,label:g,labelId:y,MenuProps:w,multiple:h=!1,native:m=!1,onClose:v,onOpen:b,open:E,renderValue:C,SelectDisplayProps:_,variant:R="outlined"}=r,I=oe(r,XI),O=m?RI:qI,L=Gr(),M=_i({props:r,muiFormControl:L,states:["variant","error"]}),D=M.variant||R,F=P({},r,{variant:D,classes:a}),j=JI(F),U=oe(j,QI),B=f||{standard:k.jsx(ZI,{ownerState:F}),outlined:k.jsx(eR,{label:g,ownerState:F}),filled:k.jsx(nR,{ownerState:F})}[D],A=Cn(t,B.ref);return k.jsx(x.Fragment,{children:x.cloneElement(B,P({inputComponent:O,inputProps:P({children:o,error:M.error,IconComponent:c,variant:D,type:void 0,multiple:h},m?{id:d}:{autoWidth:i,defaultOpen:l,displayEmpty:u,labelId:y,MenuProps:w,onClose:v,onOpen:b,open:E,renderValue:C,SelectDisplayProps:P({id:d},_)},p,{classes:p?Nn(U,p.classes):U},f?f.props.inputProps:{})},h&&m&&D==="outlined"?{notched:!0}:{},{ref:A,className:se(B.props.className,s,j.root)},!f&&{variant:D},I))})});Wb.muiName="Select";const Kh=Wb;function tR(e){return Ce("MuiTextField",e)}Se("MuiTextField",["root"]);const rR=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],iR={standard:Mb,filled:Tb,outlined:Hh},oR=e=>{const{classes:n}=e;return Te({root:["root"]},tR,n)},aR=te(Ob,{name:"MuiTextField",slot:"Root",overridesResolver:(e,n)=>n.root})({}),sR=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:a,className:s,color:l="primary",defaultValue:u,disabled:c=!1,error:d=!1,FormHelperTextProps:f,fullWidth:p=!1,helperText:g,id:y,InputLabelProps:w,inputProps:h,InputProps:m,inputRef:v,label:b,maxRows:E,minRows:C,multiline:_=!1,name:R,onBlur:I,onChange:O,onFocus:L,placeholder:M,required:D=!1,rows:F,select:j=!1,SelectProps:U,type:B,value:A,variant:N="outlined"}=r,S=oe(r,rR),ce=P({},r,{autoFocus:o,color:l,disabled:c,error:d,fullWidth:p,multiline:_,required:D,select:j,variant:N}),ue=oR(ce),T={};N==="outlined"&&(w&&typeof w.shrink<"u"&&(T.notched=w.shrink),T.label=b),j&&((!U||!U.native)&&(T.id=void 0),T["aria-describedby"]=void 0);const Z=Fu(y),ge=g&&Z?`${Z}-helper-text`:void 0,q=b&&Z?`${Z}-label`:void 0,Re=iR[N],we=k.jsx(Re,P({"aria-describedby":ge,autoComplete:i,autoFocus:o,defaultValue:u,fullWidth:p,multiline:_,name:R,rows:F,maxRows:E,minRows:C,type:B,value:A,id:Z,inputRef:v,onBlur:I,onChange:O,onFocus:L,placeholder:M,inputProps:h},T,m));return k.jsxs(aR,P({className:se(ue.root,s),disabled:c,error:d,fullWidth:p,ref:t,required:D,color:l,variant:N,ownerState:ce},S,{children:[b!=null&&b!==""&&k.jsx(Nb,P({htmlFor:Z,id:q},w,{children:b})),j?k.jsx(Kh,P({"aria-describedby":ge,id:Z,labelId:q,value:A,input:we},U,{children:a})):we,g&&k.jsx(B5,P({id:ge},f,{children:g}))]}))}),lR=sR,uR=`--- +`),yt.rippleVisible,BT,Bp,({theme:e})=>e.transitions.easing.easeInOut,yt.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,yt.child,yt.childLeaving,UT,Bp,({theme:e})=>e.transitions.easing.easeInOut,yt.childPulsate,WT,({theme:e})=>e.transitions.easing.easeInOut),KT=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:a}=r,s=oe(r,FT),[l,u]=x.useState([]),c=x.useRef(0),d=x.useRef(null);x.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=x.useRef(!1),p=x.useRef(0),g=x.useRef(null),y=x.useRef(null);x.useEffect(()=>()=>{p.current&&clearTimeout(p.current)},[]);const w=x.useCallback(b=>{const{pulsate:_,rippleX:S,rippleY:E,rippleSize:R,cb:I}=b;u(O=>[...O,k.jsx(VT,{classes:{ripple:se(o.ripple,yt.ripple),rippleVisible:se(o.rippleVisible,yt.rippleVisible),ripplePulsate:se(o.ripplePulsate,yt.ripplePulsate),child:se(o.child,yt.child),childLeaving:se(o.childLeaving,yt.childLeaving),childPulsate:se(o.childPulsate,yt.childPulsate)},timeout:Bp,pulsate:_,rippleX:S,rippleY:E,rippleSize:R},c.current)]),c.current+=1,d.current=I},[o]),h=x.useCallback((b={},_={},S=()=>{})=>{const{pulsate:E=!1,center:R=i||_.pulsate,fakeElement:I=!1}=_;if((b==null?void 0:b.type)==="mousedown"&&f.current){f.current=!1;return}(b==null?void 0:b.type)==="touchstart"&&(f.current=!0);const O=I?null:y.current,L=O?O.getBoundingClientRect():{width:0,height:0,left:0,top:0};let j,D,F;if(R||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)j=Math.round(L.width/2),D=Math.round(L.height/2);else{const{clientX:$,clientY:U}=b.touches&&b.touches.length>0?b.touches[0]:b;j=Math.round($-L.left),D=Math.round(U-L.top)}if(R)F=Math.sqrt((2*L.width**2+L.height**2)/3),F%2===0&&(F+=1);else{const $=Math.max(Math.abs((O?O.clientWidth:0)-j),j)*2+2,U=Math.max(Math.abs((O?O.clientHeight:0)-D),D)*2+2;F=Math.sqrt($**2+U**2)}b!=null&&b.touches?g.current===null&&(g.current=()=>{w({pulsate:E,rippleX:j,rippleY:D,rippleSize:F,cb:S})},p.current=setTimeout(()=>{g.current&&(g.current(),g.current=null)},DT)):w({pulsate:E,rippleX:j,rippleY:D,rippleSize:F,cb:S})},[i,w]),m=x.useCallback(()=>{h({},{pulsate:!0})},[h]),v=x.useCallback((b,_)=>{if(clearTimeout(p.current),(b==null?void 0:b.type)==="touchend"&&g.current){g.current(),g.current=null,p.current=setTimeout(()=>{v(b,_)});return}g.current=null,u(S=>S.length>0?S.slice(1):S),d.current=_},[]);return x.useImperativeHandle(t,()=>({pulsate:m,start:h,stop:v}),[m,h,v]),k.jsx(HT,P({className:se(yt.root,o.root,a),ref:y},s,{children:k.jsx(AT,{component:null,exit:!0,children:l})}))}),GT=KT;function qT(e){return Se("MuiButtonBase",e)}const YT=Ce("MuiButtonBase",["root","disabled","focusVisible"]),XT=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],QT=e=>{const{disabled:n,focusVisible:t,focusVisibleClassName:r,classes:i}=e,a=Te({root:["root",n&&"disabled",t&&"focusVisible"]},qT,i);return t&&r&&(a.root+=` ${r}`),a},JT=te("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,n)=>n.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${YT.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ZT=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:a,className:s,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:p="a",onBlur:g,onClick:y,onContextMenu:w,onDragLeave:h,onFocus:m,onFocusVisible:v,onKeyDown:b,onKeyUp:_,onMouseDown:S,onMouseLeave:E,onMouseUp:R,onTouchEnd:I,onTouchMove:O,onTouchStart:L,tabIndex:j=0,TouchRippleProps:D,touchRippleRef:F,type:$}=r,U=oe(r,XT),B=x.useRef(null),A=x.useRef(null),M=Sn(A,F),{isFocusVisibleRef:C,onFocus:ce,onBlur:ue,ref:T}=gh(),[Z,ge]=x.useState(!1);u&&Z&&ge(!1),x.useImperativeHandle(i,()=>({focusVisible:()=>{ge(!0),B.current.focus()}}),[]);const[Y,Re]=x.useState(!1);x.useEffect(()=>{Re(!0)},[]);const we=Y&&!c&&!u;x.useEffect(()=>{Z&&f&&!c&&Y&&A.current.pulsate()},[c,f,Z,Y]);function _e(q,Ve,In=d){return si(ie=>(Ve&&Ve(ie),!In&&A.current&&A.current[q](ie),!0))}const Be=_e("start",S),de=_e("stop",w),ve=_e("stop",h),z=_e("stop",R),X=_e("stop",q=>{Z&&q.preventDefault(),E&&E(q)}),ne=_e("start",L),yn=_e("stop",I),vn=_e("stop",O),pn=_e("stop",q=>{ue(q),C.current===!1&&ge(!1),g&&g(q)},!1),xn=si(q=>{B.current||(B.current=q.currentTarget),ce(q),C.current===!0&&(ge(!0),v&&v(q)),m&&m(q)}),bn=()=>{const q=B.current;return l&&l!=="button"&&!(q.tagName==="A"&&q.href)},he=x.useRef(!1),On=si(q=>{f&&!he.current&&Z&&A.current&&q.key===" "&&(he.current=!0,A.current.stop(q,()=>{A.current.start(q)})),q.target===q.currentTarget&&bn()&&q.key===" "&&q.preventDefault(),b&&b(q),q.target===q.currentTarget&&bn()&&q.key==="Enter"&&!u&&(q.preventDefault(),y&&y(q))}),fn=si(q=>{f&&q.key===" "&&A.current&&Z&&!q.defaultPrevented&&(he.current=!1,A.current.stop(q,()=>{A.current.pulsate(q)})),_&&_(q),y&&q.target===q.currentTarget&&bn()&&q.key===" "&&!q.defaultPrevented&&y(q)});let Ae=l;Ae==="button"&&(U.href||U.to)&&(Ae=p);const N={};Ae==="button"?(N.type=$===void 0?"button":$,N.disabled=u):(!U.href&&!U.to&&(N.role="button"),u&&(N["aria-disabled"]=u));const V=Sn(t,T,B),le=P({},r,{centerRipple:o,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:j,focusVisible:Z}),ee=QT(le);return k.jsxs(JT,P({as:Ae,className:se(ee.root,s),ownerState:le,onBlur:pn,onClick:y,onContextMenu:de,onFocus:xn,onKeyDown:On,onKeyUp:fn,onMouseDown:Be,onMouseLeave:X,onMouseUp:z,onDragLeave:ve,onTouchEnd:yn,onTouchMove:vn,onTouchStart:ne,ref:V,tabIndex:u?-1:j,type:$},N,U,{children:[a,we?k.jsx(GT,P({ref:M,center:o},D)):null]}))}),Po=ZT;function e3(e){return Se("MuiIconButton",e)}const n3=Ce("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),t3=["edge","children","className","color","disabled","disableFocusRipple","size"],r3=e=>{const{classes:n,disabled:t,color:r,edge:i,size:o}=e,a={root:["root",t&&"disabled",r!=="default"&&`color${K(r)}`,i&&`edge${K(i)}`,`size${K(o)}`]};return Te(a,e3,n)},i3=te(Po,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.color!=="default"&&n[`color${K(t.color)}`],t.edge&&n[`edge${K(t.edge)}`],n[`size${K(t.size)}`]]}})(({theme:e,ownerState:n})=>P({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},n.edge==="start"&&{marginLeft:n.size==="small"?-3:-12},n.edge==="end"&&{marginRight:n.size==="small"?-3:-12}),({theme:e,ownerState:n})=>{var t;const r=(t=(e.vars||e).palette)==null?void 0:t[n.color];return P({},n.color==="inherit"&&{color:"inherit"},n.color!=="inherit"&&n.color!=="default"&&P({color:r==null?void 0:r.main},!n.disableRipple&&{"&:hover":P({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),n.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},n.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${n3.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),o3=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiIconButton"}),{edge:i=!1,children:o,className:a,color:s="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=r,d=oe(r,t3),f=P({},r,{edge:i,color:s,disabled:l,disableFocusRipple:u,size:c}),p=r3(f);return k.jsx(i3,P({className:se(p.root,a),centerRipple:!0,focusRipple:!u,disabled:l,ref:t,ownerState:f},d,{children:o}))}),a3=o3;function s3(e){return Se("MuiTypography",e)}Ce("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const l3=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],u3=e=>{const{align:n,gutterBottom:t,noWrap:r,paragraph:i,variant:o,classes:a}=e,s={root:["root",o,e.align!=="inherit"&&`align${K(n)}`,t&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Te(s,s3,a)},c3=te("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.variant&&n[t.variant],t.align!=="inherit"&&n[`align${K(t.align)}`],t.noWrap&&n.noWrap,t.gutterBottom&&n.gutterBottom,t.paragraph&&n.paragraph]}})(({theme:e,ownerState:n})=>P({margin:0},n.variant==="inherit"&&{font:"inherit"},n.variant!=="inherit"&&e.typography[n.variant],n.align!=="inherit"&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})),x0={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},d3={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},p3=e=>d3[e]||e,f3=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiTypography"}),i=p3(r.color),o=lc(P({},r,{color:i})),{align:a="inherit",className:s,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=x0}=o,g=oe(o,l3),y=P({},o,{align:a,color:i,className:s,component:l,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:p}),w=l||(d?"p":p[f]||x0[f])||"span",h=u3(y);return k.jsx(c3,P({as:w,ref:t,ownerState:y,className:se(h.root,s)},g))}),fe=f3;function iu(e){return typeof e=="string"}function h3(e,n,t){return e===void 0||iu(e)?n:P({},n,{ownerState:P({},n.ownerState,t)})}function wb(e,n=[]){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!n.includes(r)).forEach(r=>{t[r]=e[r]}),t}function m3(e,n,t){return typeof e=="function"?e(n,t):e}function b0(e){if(e===void 0)return{};const n={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]=="function")).forEach(t=>{n[t]=e[t]}),n}function g3(e){const{getSlotProps:n,additionalProps:t,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!n){const p=se(t==null?void 0:t.className,o,i==null?void 0:i.className,r==null?void 0:r.className),g=P({},t==null?void 0:t.style,i==null?void 0:i.style,r==null?void 0:r.style),y=P({},t,i,r);return p.length>0&&(y.className=p),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const a=wb(P({},i,r)),s=b0(r),l=b0(i),u=n(a),c=se(u==null?void 0:u.className,t==null?void 0:t.className,o,i==null?void 0:i.className,r==null?void 0:r.className),d=P({},u==null?void 0:u.style,t==null?void 0:t.style,i==null?void 0:i.style,r==null?void 0:r.style),f=P({},u,t,l,s);return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}const y3=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function To(e){var n;const{elementType:t,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,a=oe(e,y3),s=o?{}:m3(r,i),{props:l,internalRef:u}=g3(P({},a,{externalSlotProps:s})),c=Sn(u,s==null?void 0:s.ref,(n=e.additionalProps)==null?void 0:n.ref);return h3(t,P({},l,{ref:c}),i)}const v3=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function x3(e){const n=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(n)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:n}function b3(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const n=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let t=n(`[name="${e.name}"]:checked`);return t||(t=n(`[name="${e.name}"]`)),t!==e}function k3(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||b3(e))}function w3(e){const n=[],t=[];return Array.from(e.querySelectorAll(v3)).forEach((r,i)=>{const o=x3(r);o===-1||!k3(r)||(o===0?n.push(r):t.push({documentOrder:i,tabIndex:o,node:r}))}),t.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(n)}function S3(){return!0}function C3(e){const{children:n,disableAutoFocus:t=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=w3,isEnabled:a=S3,open:s}=e,l=x.useRef(!1),u=x.useRef(null),c=x.useRef(null),d=x.useRef(null),f=x.useRef(null),p=x.useRef(!1),g=x.useRef(null),y=Sn(n.ref,g),w=x.useRef(null);x.useEffect(()=>{!s||!g.current||(p.current=!t)},[t,s]),x.useEffect(()=>{if(!s||!g.current)return;const v=Zn(g.current);return g.current.contains(v.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),p.current&&g.current.focus()),()=>{i||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[s]),x.useEffect(()=>{if(!s||!g.current)return;const v=Zn(g.current),b=E=>{w.current=E,!(r||!a()||E.key!=="Tab")&&v.activeElement===g.current&&E.shiftKey&&(l.current=!0,c.current&&c.current.focus())},_=()=>{const E=g.current;if(E===null)return;if(!v.hasFocus()||!a()||l.current){l.current=!1;return}if(E.contains(v.activeElement)||r&&v.activeElement!==u.current&&v.activeElement!==c.current)return;if(v.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let R=[];if((v.activeElement===u.current||v.activeElement===c.current)&&(R=o(g.current)),R.length>0){var I,O;const L=!!((I=w.current)!=null&&I.shiftKey&&((O=w.current)==null?void 0:O.key)==="Tab"),j=R[0],D=R[R.length-1];typeof j!="string"&&typeof D!="string"&&(L?D.focus():j.focus())}else E.focus()};v.addEventListener("focusin",_),v.addEventListener("keydown",b,!0);const S=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&_()},50);return()=>{clearInterval(S),v.removeEventListener("focusin",_),v.removeEventListener("keydown",b,!0)}},[t,r,i,a,s,o]);const h=v=>{d.current===null&&(d.current=v.relatedTarget),p.current=!0,f.current=v.target;const b=n.props.onFocus;b&&b(v)},m=v=>{d.current===null&&(d.current=v.relatedTarget),p.current=!0};return k.jsxs(x.Fragment,{children:[k.jsx("div",{tabIndex:s?0:-1,onFocus:m,ref:u,"data-testid":"sentinelStart"}),x.cloneElement(n,{ref:y,onFocus:h}),k.jsx("div",{tabIndex:s?0:-1,onFocus:m,ref:c,"data-testid":"sentinelEnd"})]})}function _3(e){return typeof e=="function"?e():e}const E3=x.forwardRef(function(n,t){const{children:r,container:i,disablePortal:o=!1}=n,[a,s]=x.useState(null),l=Sn(x.isValidElement(r)?r.ref:null,t);if(Xt(()=>{o||s(_3(i)||document.body)},[i,o]),Xt(()=>{if(a&&!o)return Xl(t,a),()=>{Xl(t,null)}},[t,a,o]),o){if(x.isValidElement(r)){const u={ref:l};return x.cloneElement(r,u)}return k.jsx(x.Fragment,{children:r})}return k.jsx(x.Fragment,{children:a&&ju.createPortal(r,a)})});function P3(e){const n=Zn(e);return n.body===e?Fr(e).innerWidth>n.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Sa(e,n){n?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function k0(e){return parseInt(Fr(e).getComputedStyle(e).paddingRight,10)||0}function T3(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return t||r}function w0(e,n,t,r,i){const o=[n,t,...r];[].forEach.call(e.children,a=>{const s=o.indexOf(a)===-1,l=!T3(a);s&&l&&Sa(a,i)})}function dd(e,n){let t=-1;return e.some((r,i)=>n(r)?(t=i,!0):!1),t}function O3(e,n){const t=[],r=e.container;if(!n.disableScrollLock){if(P3(r)){const a=Wx(Zn(r));t.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${k0(r)+a}px`;const s=Zn(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{t.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${k0(l)+a}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=Zn(r).body;else{const a=r.parentElement,s=Fr(r);o=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:r}t.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{t.forEach(({value:o,el:a,property:s})=>{o?a.style.setProperty(s,o):a.style.removeProperty(s)})}}function I3(e){const n=[];return[].forEach.call(e.children,t=>{t.getAttribute("aria-hidden")==="true"&&n.push(t)}),n}class R3{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(n,t){let r=this.modals.indexOf(n);if(r!==-1)return r;r=this.modals.length,this.modals.push(n),n.modalRef&&Sa(n.modalRef,!1);const i=I3(t);w0(t,n.mount,n.modalRef,i,!0);const o=dd(this.containers,a=>a.container===t);return o!==-1?(this.containers[o].modals.push(n),r):(this.containers.push({modals:[n],container:t,restore:null,hiddenSiblings:i}),r)}mount(n,t){const r=dd(this.containers,o=>o.modals.indexOf(n)!==-1),i=this.containers[r];i.restore||(i.restore=O3(i,t))}remove(n,t=!0){const r=this.modals.indexOf(n);if(r===-1)return r;const i=dd(this.containers,a=>a.modals.indexOf(n)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(n),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),n.modalRef&&Sa(n.modalRef,t),w0(o.container,n.mount,n.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const a=o.modals[o.modals.length-1];a.modalRef&&Sa(a.modalRef,!1)}return r}isTopModal(n){return this.modals.length>0&&this.modals[this.modals.length-1]===n}}function A3(e){return typeof e=="function"?e():e}function L3(e){return e?e.props.hasOwnProperty("in"):!1}const j3=new R3;function M3(e){const{container:n,disableEscapeKeyDown:t=!1,disableScrollLock:r=!1,manager:i=j3,closeAfterTransition:o=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:u,open:c,rootRef:d}=e,f=x.useRef({}),p=x.useRef(null),g=x.useRef(null),y=Sn(g,d),[w,h]=x.useState(!c),m=L3(l);let v=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(v=!1);const b=()=>Zn(p.current),_=()=>(f.current.modalRef=g.current,f.current.mount=p.current,f.current),S=()=>{i.mount(_(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},E=si(()=>{const U=A3(n)||b().body;i.add(_(),U),g.current&&S()}),R=x.useCallback(()=>i.isTopModal(_()),[i]),I=si(U=>{p.current=U,U&&(c&&R()?S():g.current&&Sa(g.current,v))}),O=x.useCallback(()=>{i.remove(_(),v)},[v,i]);x.useEffect(()=>()=>{O()},[O]),x.useEffect(()=>{c?E():(!m||!o)&&O()},[c,O,m,o,E]);const L=U=>B=>{var A;(A=U.onKeyDown)==null||A.call(U,B),!(B.key!=="Escape"||!R())&&(t||(B.stopPropagation(),u&&u(B,"escapeKeyDown")))},j=U=>B=>{var A;(A=U.onClick)==null||A.call(U,B),B.target===B.currentTarget&&u&&u(B,"backdropClick")};return{getRootProps:(U={})=>{const B=wb(e);delete B.onTransitionEnter,delete B.onTransitionExited;const A=P({},B,U);return P({role:"presentation"},A,{onKeyDown:L(A),ref:y})},getBackdropProps:(U={})=>{const B=U;return P({"aria-hidden":!0},B,{onClick:j(B),open:c})},getTransitionProps:()=>{const U=()=>{h(!1),a&&a()},B=()=>{h(!0),s&&s(),o&&O()};return{onEnter:Lp(U,l==null?void 0:l.props.onEnter),onExited:Lp(B,l==null?void 0:l.props.onExited)}},rootRef:y,portalRef:I,isTopModal:R,exited:w,hasTransition:m}}const N3=["onChange","maxRows","minRows","style","value"];function Bs(e){return parseInt(e,10)||0}const $3={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function S0(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const z3=x.forwardRef(function(n,t){const{onChange:r,maxRows:i,minRows:o=1,style:a,value:s}=n,l=oe(n,N3),{current:u}=x.useRef(s!=null),c=x.useRef(null),d=Sn(t,c),f=x.useRef(null),p=x.useRef(0),[g,y]=x.useState({outerHeightStyle:0}),w=x.useCallback(()=>{const b=c.current,S=Fr(b).getComputedStyle(b);if(S.width==="0px")return{outerHeightStyle:0};const E=f.current;E.style.width=S.width,E.value=b.value||n.placeholder||"x",E.value.slice(-1)===` +`&&(E.value+=" ");const R=S.boxSizing,I=Bs(S.paddingBottom)+Bs(S.paddingTop),O=Bs(S.borderBottomWidth)+Bs(S.borderTopWidth),L=E.scrollHeight;E.value="x";const j=E.scrollHeight;let D=L;o&&(D=Math.max(Number(o)*j,D)),i&&(D=Math.min(Number(i)*j,D)),D=Math.max(D,j);const F=D+(R==="border-box"?I+O:0),$=Math.abs(D-L)<=1;return{outerHeightStyle:F,overflow:$}},[i,o,n.placeholder]),h=(b,_)=>{const{outerHeightStyle:S,overflow:E}=_;return p.current<20&&(S>0&&Math.abs((b.outerHeightStyle||0)-S)>1||b.overflow!==E)?(p.current+=1,{overflow:E,outerHeightStyle:S}):b},m=x.useCallback(()=>{const b=w();S0(b)||y(_=>h(_,b))},[w]);Xt(()=>{const b=()=>{const L=w();S0(L)||ju.flushSync(()=>{y(j=>h(j,L))})},_=()=>{p.current=0,b()};let S;const E=mh(_),R=c.current,I=Fr(R);I.addEventListener("resize",E);let O;return typeof ResizeObserver<"u"&&(O=new ResizeObserver(_),O.observe(R)),()=>{E.clear(),cancelAnimationFrame(S),I.removeEventListener("resize",E),O&&O.disconnect()}},[w]),Xt(()=>{m()}),x.useEffect(()=>{p.current=0},[s]);const v=b=>{p.current=0,u||m(),r&&r(b)};return k.jsxs(x.Fragment,{children:[k.jsx("textarea",P({value:s,onChange:v,ref:d,rows:o,style:P({height:g.outerHeightStyle,overflow:g.overflow?"hidden":void 0},a)},l)),k.jsx("textarea",{"aria-hidden":!0,className:n.className,readOnly:!0,ref:f,tabIndex:-1,style:P({},$3.shadow,a,{paddingTop:0,paddingBottom:0})})]})}),F3=fr(k.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function D3(e){return Se("MuiChip",e)}const B3=Ce("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),Oe=B3,U3=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],W3=e=>{const{classes:n,disabled:t,size:r,color:i,iconColor:o,onDelete:a,clickable:s,variant:l}=e,u={root:["root",l,t&&"disabled",`size${K(r)}`,`color${K(i)}`,s&&"clickable",s&&`clickableColor${K(i)}`,a&&"deletable",a&&`deletableColor${K(i)}`,`${l}${K(i)}`],label:["label",`label${K(r)}`],avatar:["avatar",`avatar${K(r)}`,`avatarColor${K(i)}`],icon:["icon",`icon${K(r)}`,`iconColor${K(o)}`],deleteIcon:["deleteIcon",`deleteIcon${K(r)}`,`deleteIconColor${K(i)}`,`deleteIcon${K(l)}Color${K(i)}`]};return Te(u,D3,n)},H3=te("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e,{color:r,iconColor:i,clickable:o,onDelete:a,size:s,variant:l}=t;return[{[`& .${Oe.avatar}`]:n.avatar},{[`& .${Oe.avatar}`]:n[`avatar${K(s)}`]},{[`& .${Oe.avatar}`]:n[`avatarColor${K(r)}`]},{[`& .${Oe.icon}`]:n.icon},{[`& .${Oe.icon}`]:n[`icon${K(s)}`]},{[`& .${Oe.icon}`]:n[`iconColor${K(i)}`]},{[`& .${Oe.deleteIcon}`]:n.deleteIcon},{[`& .${Oe.deleteIcon}`]:n[`deleteIcon${K(s)}`]},{[`& .${Oe.deleteIcon}`]:n[`deleteIconColor${K(r)}`]},{[`& .${Oe.deleteIcon}`]:n[`deleteIcon${K(l)}Color${K(r)}`]},n.root,n[`size${K(s)}`],n[`color${K(r)}`],o&&n.clickable,o&&r!=="default"&&n[`clickableColor${K(r)})`],a&&n.deletable,a&&r!=="default"&&n[`deletableColor${K(r)}`],n[l],n[`${l}${K(r)}`]]}})(({theme:e,ownerState:n})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return P({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Oe.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Oe.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Oe.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Oe.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Oe.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Oe.icon}`]:P({marginLeft:5,marginRight:-6},n.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},n.iconColor===n.color&&P({color:e.vars?e.vars.palette.Chip.defaultIconColor:t},n.color!=="default"&&{color:"inherit"})),[`& .${Oe.deleteIcon}`]:P({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Qe(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Qe(e.palette.text.primary,.4)}},n.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},n.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[n.color].contrastTextChannel} / 0.7)`:Qe(e.palette[n.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n.color].contrastText}})},n.size==="small"&&{height:24},n.color!=="default"&&{backgroundColor:(e.vars||e).palette[n.color].main,color:(e.vars||e).palette[n.color].contrastText},n.onDelete&&{[`&.${Oe.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},n.onDelete&&n.color!=="default"&&{[`&.${Oe.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n.color].dark}})},({theme:e,ownerState:n})=>P({},n.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Oe.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},n.clickable&&n.color!=="default"&&{[`&:hover, &.${Oe.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n.color].dark}}),({theme:e,ownerState:n})=>P({},n.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Oe.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Oe.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Oe.avatar}`]:{marginLeft:4},[`& .${Oe.avatarSmall}`]:{marginLeft:2},[`& .${Oe.icon}`]:{marginLeft:4},[`& .${Oe.iconSmall}`]:{marginLeft:2},[`& .${Oe.deleteIcon}`]:{marginRight:5},[`& .${Oe.deleteIconSmall}`]:{marginRight:3}},n.variant==="outlined"&&n.color!=="default"&&{color:(e.vars||e).palette[n.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n.color].mainChannel} / 0.7)`:Qe(e.palette[n.color].main,.7)}`,[`&.${Oe.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette[n.color].main,e.palette.action.hoverOpacity)},[`&.${Oe.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Qe(e.palette[n.color].main,e.palette.action.focusOpacity)},[`& .${Oe.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n.color].mainChannel} / 0.7)`:Qe(e.palette[n.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n.color].main}}})),V3=te("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,n)=>{const{ownerState:t}=e,{size:r}=t;return[n.label,n[`label${K(r)}`]]}})(({ownerState:e})=>P({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function C0(e){return e.key==="Backspace"||e.key==="Delete"}const K3=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiChip"}),{avatar:i,className:o,clickable:a,color:s="default",component:l,deleteIcon:u,disabled:c=!1,icon:d,label:f,onClick:p,onDelete:g,onKeyDown:y,onKeyUp:w,size:h="medium",variant:m="filled",tabIndex:v,skipFocusWhenDisabled:b=!1}=r,_=oe(r,U3),S=x.useRef(null),E=Sn(S,t),R=M=>{M.stopPropagation(),g&&g(M)},I=M=>{M.currentTarget===M.target&&C0(M)&&M.preventDefault(),y&&y(M)},O=M=>{M.currentTarget===M.target&&(g&&C0(M)?g(M):M.key==="Escape"&&S.current&&S.current.blur()),w&&w(M)},L=a!==!1&&p?!0:a,j=L||g?Po:l||"div",D=P({},r,{component:j,disabled:c,size:h,color:s,iconColor:x.isValidElement(d)&&d.props.color||s,onDelete:!!g,clickable:L,variant:m}),F=W3(D),$=j===Po?P({component:l||"div",focusVisibleClassName:F.focusVisible},g&&{disableRipple:!0}):{};let U=null;g&&(U=u&&x.isValidElement(u)?x.cloneElement(u,{className:se(u.props.className,F.deleteIcon),onClick:R}):k.jsx(F3,{className:se(F.deleteIcon),onClick:R}));let B=null;i&&x.isValidElement(i)&&(B=x.cloneElement(i,{className:se(F.avatar,i.props.className)}));let A=null;return d&&x.isValidElement(d)&&(A=x.cloneElement(d,{className:se(F.icon,d.props.className)})),k.jsxs(H3,P({as:j,className:se(F.root,o),disabled:L&&c?!0:void 0,onClick:p,onKeyDown:I,onKeyUp:O,ref:E,tabIndex:b&&c?-1:v,ownerState:D},$,_,{children:[B||A,k.jsx(V3,{className:se(F.label),ownerState:D,children:f}),U]}))}),G3=K3;function Pi({props:e,states:n,muiFormControl:t}){return n.reduce((r,i)=>(r[i]=e[i],t&&typeof e[i]>"u"&&(r[i]=t[i]),r),{})}const q3=x.createContext(void 0),Bh=q3;function Gr(){return x.useContext(Bh)}function Y3(e){return k.jsx(rP,P({},e,{defaultTheme:cc,themeId:bi}))}function _0(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function ou(e,n=!1){return e&&(_0(e.value)&&e.value!==""||n&&_0(e.defaultValue)&&e.defaultValue!=="")}function X3(e){return e.startAdornment}function Q3(e){return Se("MuiInputBase",e)}const J3=Ce("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Oo=J3,Z3=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Sc=(e,n)=>{const{ownerState:t}=e;return[n.root,t.formControl&&n.formControl,t.startAdornment&&n.adornedStart,t.endAdornment&&n.adornedEnd,t.error&&n.error,t.size==="small"&&n.sizeSmall,t.multiline&&n.multiline,t.color&&n[`color${K(t.color)}`],t.fullWidth&&n.fullWidth,t.hiddenLabel&&n.hiddenLabel]},Cc=(e,n)=>{const{ownerState:t}=e;return[n.input,t.size==="small"&&n.inputSizeSmall,t.multiline&&n.inputMultiline,t.type==="search"&&n.inputTypeSearch,t.startAdornment&&n.inputAdornedStart,t.endAdornment&&n.inputAdornedEnd,t.hiddenLabel&&n.inputHiddenLabel]},e4=e=>{const{classes:n,color:t,disabled:r,error:i,endAdornment:o,focused:a,formControl:s,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:p,type:g}=e,y={root:["root",`color${K(t)}`,r&&"disabled",i&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",f&&f!=="medium"&&`size${K(f)}`,c&&"multiline",p&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",g==="search"&&"inputTypeSearch",c&&"inputMultiline",f==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",o&&"inputAdornedEnd",d&&"readOnly"]};return Te(y,Q3,n)},_c=te("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Sc})(({theme:e,ownerState:n})=>P({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Oo.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},n.multiline&&P({padding:"4px 0 5px"},n.size==="small"&&{paddingTop:1}),n.fullWidth&&{width:"100%"})),Ec=te("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Cc})(({theme:e,ownerState:n})=>{const t=e.palette.mode==="light",r=P({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return P({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Oo.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Oo.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},n.size==="small"&&{paddingTop:1},n.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},n.type==="search"&&{MozAppearance:"textfield"})}),n4=k.jsx(Y3,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),t4=x.forwardRef(function(n,t){var r;const i=Ie({props:n,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:s,className:l,components:u={},componentsProps:c={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:p,endAdornment:g,fullWidth:y=!1,id:w,inputComponent:h="input",inputProps:m={},inputRef:v,maxRows:b,minRows:_,multiline:S=!1,name:E,onBlur:R,onChange:I,onClick:O,onFocus:L,onKeyDown:j,onKeyUp:D,placeholder:F,readOnly:$,renderSuffix:U,rows:B,slotProps:A={},slots:M={},startAdornment:C,type:ce="text",value:ue}=i,T=oe(i,Z3),Z=m.value!=null?m.value:ue,{current:ge}=x.useRef(Z!=null),Y=x.useRef(),Re=x.useCallback(ee=>{},[]),we=Sn(Y,v,m.ref,Re),[_e,Be]=x.useState(!1),de=Gr(),ve=Pi({props:i,muiFormControl:de,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ve.focused=de?de.focused:_e,x.useEffect(()=>{!de&&f&&_e&&(Be(!1),R&&R())},[de,f,_e,R]);const z=de&&de.onFilled,X=de&&de.onEmpty,ne=x.useCallback(ee=>{ou(ee)?z&&z():X&&X()},[z,X]);Xt(()=>{ge&&ne({value:Z})},[Z,ne,ge]);const yn=ee=>{if(ve.disabled){ee.stopPropagation();return}L&&L(ee),m.onFocus&&m.onFocus(ee),de&&de.onFocus?de.onFocus(ee):Be(!0)},vn=ee=>{R&&R(ee),m.onBlur&&m.onBlur(ee),de&&de.onBlur?de.onBlur(ee):Be(!1)},pn=(ee,...q)=>{if(!ge){const Ve=ee.target||Y.current;if(Ve==null)throw new Error(zr(1));ne({value:Ve.value})}m.onChange&&m.onChange(ee,...q),I&&I(ee,...q)};x.useEffect(()=>{ne(Y.current)},[]);const xn=ee=>{Y.current&&ee.currentTarget===ee.target&&Y.current.focus(),O&&O(ee)};let bn=h,he=m;S&&bn==="input"&&(B?he=P({type:void 0,minRows:B,maxRows:B},he):he=P({type:void 0,maxRows:b,minRows:_},he),bn=z3);const On=ee=>{ne(ee.animationName==="mui-auto-fill-cancel"?Y.current:{value:"x"})};x.useEffect(()=>{de&&de.setAdornedStart(!!C)},[de,C]);const fn=P({},i,{color:ve.color||"primary",disabled:ve.disabled,endAdornment:g,error:ve.error,focused:ve.focused,formControl:de,fullWidth:y,hiddenLabel:ve.hiddenLabel,multiline:S,size:ve.size,startAdornment:C,type:ce}),Ae=e4(fn),N=M.root||u.Root||_c,V=A.root||c.root||{},le=M.input||u.Input||Ec;return he=P({},he,(r=A.input)!=null?r:c.input),k.jsxs(x.Fragment,{children:[!p&&n4,k.jsxs(N,P({},V,!iu(N)&&{ownerState:P({},fn,V.ownerState)},{ref:t,onClick:xn},T,{className:se(Ae.root,V.className,l,$&&"MuiInputBase-readOnly"),children:[C,k.jsx(Bh.Provider,{value:null,children:k.jsx(le,P({ownerState:fn,"aria-invalid":ve.error,"aria-describedby":o,autoComplete:a,autoFocus:s,defaultValue:d,disabled:ve.disabled,id:w,onAnimationStart:On,name:E,placeholder:F,readOnly:$,required:ve.required,rows:B,value:Z,onKeyDown:j,onKeyUp:D,type:ce},he,!iu(le)&&{as:bn,ownerState:P({},fn,he.ownerState)},{ref:we,className:se(Ae.input,he.className,$&&"MuiInputBase-readOnly"),onBlur:vn,onChange:pn,onFocus:yn}))}),g,U?U(P({},ve,{startAdornment:C})):null]}))]})}),Uh=t4;function r4(e){return Se("MuiInput",e)}const i4=P({},Oo,Ce("MuiInput",["root","underline","input"])),Xo=i4;function o4(e){return Se("MuiOutlinedInput",e)}const a4=P({},Oo,Ce("MuiOutlinedInput",["root","notchedOutline","input"])),yr=a4;function s4(e){return Se("MuiFilledInput",e)}const l4=P({},Oo,Ce("MuiFilledInput",["root","underline","input"])),Yr=l4,u4=fr(k.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),c4=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],d4={entering:{opacity:1},entered:{opacity:1}},p4=x.forwardRef(function(n,t){const r=_t(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:s,easing:l,in:u,onEnter:c,onEntered:d,onEntering:f,onExit:p,onExited:g,onExiting:y,style:w,timeout:h=i,TransitionComponent:m=zh}=n,v=oe(n,c4),b=x.useRef(null),_=Sn(b,s.ref,t),S=F=>$=>{if(F){const U=b.current;$===void 0?F(U):F(U,$)}},E=S(f),R=S((F,$)=>{kb(F);const U=ru({style:w,timeout:h,easing:l},{mode:"enter"});F.style.webkitTransition=r.transitions.create("opacity",U),F.style.transition=r.transitions.create("opacity",U),c&&c(F,$)}),I=S(d),O=S(y),L=S(F=>{const $=ru({style:w,timeout:h,easing:l},{mode:"exit"});F.style.webkitTransition=r.transitions.create("opacity",$),F.style.transition=r.transitions.create("opacity",$),p&&p(F)}),j=S(g),D=F=>{o&&o(b.current,F)};return k.jsx(m,P({appear:a,in:u,nodeRef:b,onEnter:R,onEntered:I,onEntering:E,onExit:L,onExited:j,onExiting:O,addEndListener:D,timeout:h},v,{children:(F,$)=>x.cloneElement(s,P({style:P({opacity:0,visibility:F==="exited"&&!u?"hidden":void 0},d4[F],w,s.props.style),ref:_},$))}))}),Sb=p4;function f4(e){return Se("MuiBackdrop",e)}Ce("MuiBackdrop",["root","invisible"]);const h4=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],m4=e=>{const{classes:n,invisible:t}=e;return Te({root:["root",t&&"invisible"]},f4,n)},g4=te("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.invisible&&n.invisible]}})(({ownerState:e})=>P({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),y4=x.forwardRef(function(n,t){var r,i,o;const a=Ie({props:n,name:"MuiBackdrop"}),{children:s,className:l,component:u="div",components:c={},componentsProps:d={},invisible:f=!1,open:p,slotProps:g={},slots:y={},TransitionComponent:w=Sb,transitionDuration:h}=a,m=oe(a,h4),v=P({},a,{component:u,invisible:f}),b=m4(v),_=(r=g.root)!=null?r:d.root;return k.jsx(w,P({in:p,timeout:h},m,{children:k.jsx(g4,P({"aria-hidden":!0},_,{as:(i=(o=y.root)!=null?o:c.Root)!=null?i:u,className:se(b.root,l,_==null?void 0:_.className),ownerState:P({},v,_==null?void 0:_.ownerState),classes:b,ref:t,children:s}))}))}),Cb=y4,v4=Mh(),x4=sP({themeId:bi,defaultTheme:v4,defaultClassName:"MuiBox-root",generateClassName:vh.generate}),$e=x4;function b4(e){return Se("MuiButton",e)}const k4=Ce("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Us=k4,w4=x.createContext({}),S4=w4,C4=x.createContext(void 0),_4=C4,E4=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],P4=e=>{const{color:n,disableElevation:t,fullWidth:r,size:i,variant:o,classes:a}=e,s={root:["root",o,`${o}${K(n)}`,`size${K(i)}`,`${o}Size${K(i)}`,n==="inherit"&&"colorInherit",t&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${K(i)}`],endIcon:["endIcon",`iconSize${K(i)}`]},l=Te(s,b4,a);return P({},a,l)},_b=e=>P({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),T4=te(Po,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n[t.variant],n[`${t.variant}${K(t.color)}`],n[`size${K(t.size)}`],n[`${t.variant}Size${K(t.size)}`],t.color==="inherit"&&n.colorInherit,t.disableElevation&&n.disableElevation,t.fullWidth&&n.fullWidth]}})(({theme:e,ownerState:n})=>{var t,r;const i=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],o=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return P({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":P({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},n.variant==="text"&&n.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[n.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette[n.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},n.variant==="outlined"&&n.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[n.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[n.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(e.palette[n.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},n.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:o,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},n.variant==="contained"&&n.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[n.color].main}}),"&:active":P({},n.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Us.focusVisible}`]:P({},n.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Us.disabled}`]:P({color:(e.vars||e).palette.action.disabled},n.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},n.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},n.variant==="text"&&{padding:"6px 8px"},n.variant==="text"&&n.color!=="inherit"&&{color:(e.vars||e).palette[n.color].main},n.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},n.variant==="outlined"&&n.color!=="inherit"&&{color:(e.vars||e).palette[n.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[n.color].mainChannel} / 0.5)`:`1px solid ${Qe(e.palette[n.color].main,.5)}`},n.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(t=(r=e.palette).getContrastText)==null?void 0:t.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},n.variant==="contained"&&n.color!=="inherit"&&{color:(e.vars||e).palette[n.color].contrastText,backgroundColor:(e.vars||e).palette[n.color].main},n.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},n.size==="small"&&n.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},n.size==="large"&&n.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},n.size==="small"&&n.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},n.size==="large"&&n.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},n.size==="small"&&n.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},n.size==="large"&&n.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},n.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Us.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Us.disabled}`]:{boxShadow:"none"}}),O4=te("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.startIcon,n[`iconSize${K(t.size)}`]]}})(({ownerState:e})=>P({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},_b(e))),I4=te("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.endIcon,n[`iconSize${K(t.size)}`]]}})(({ownerState:e})=>P({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},_b(e))),R4=x.forwardRef(function(n,t){const r=x.useContext(S4),i=x.useContext(_4),o=yh(r,n),a=Ie({props:o,name:"MuiButton"}),{children:s,color:l="primary",component:u="button",className:c,disabled:d=!1,disableElevation:f=!1,disableFocusRipple:p=!1,endIcon:g,focusVisibleClassName:y,fullWidth:w=!1,size:h="medium",startIcon:m,type:v,variant:b="text"}=a,_=oe(a,E4),S=P({},a,{color:l,component:u,disabled:d,disableElevation:f,disableFocusRipple:p,fullWidth:w,size:h,type:v,variant:b}),E=P4(S),R=m&&k.jsx(O4,{className:E.startIcon,ownerState:S,children:m}),I=g&&k.jsx(I4,{className:E.endIcon,ownerState:S,children:g}),O=i||"";return k.jsxs(T4,P({ownerState:S,className:se(r.className,E.root,c,O),component:u,disabled:d,focusRipple:!p,focusVisibleClassName:se(E.focusVisible,y),ref:t,type:v},_,{classes:E,children:[R,s,I]}))}),Ja=R4;function A4(e){return Se("PrivateSwitchBase",e)}Ce("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const L4=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],j4=e=>{const{classes:n,checked:t,disabled:r,edge:i}=e,o={root:["root",t&&"checked",r&&"disabled",i&&`edge${K(i)}`],input:["input"]};return Te(o,A4,n)},M4=te(Po)(({ownerState:e})=>P({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),N4=te("input",{shouldForwardProp:rt})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),$4=x.forwardRef(function(n,t){const{autoFocus:r,checked:i,checkedIcon:o,className:a,defaultChecked:s,disabled:l,disableFocusRipple:u=!1,edge:c=!1,icon:d,id:f,inputProps:p,inputRef:g,name:y,onBlur:w,onChange:h,onFocus:m,readOnly:v,required:b=!1,tabIndex:_,type:S,value:E}=n,R=oe(n,L4),[I,O]=Ql({controlled:i,default:!!s,name:"SwitchBase",state:"checked"}),L=Gr(),j=M=>{m&&m(M),L&&L.onFocus&&L.onFocus(M)},D=M=>{w&&w(M),L&&L.onBlur&&L.onBlur(M)},F=M=>{if(M.nativeEvent.defaultPrevented)return;const C=M.target.checked;O(C),h&&h(M,C)};let $=l;L&&typeof $>"u"&&($=L.disabled);const U=S==="checkbox"||S==="radio",B=P({},n,{checked:I,disabled:$,disableFocusRipple:u,edge:c}),A=j4(B);return k.jsxs(M4,P({component:"span",className:se(A.root,a),centerRipple:!0,focusRipple:!u,disabled:$,tabIndex:null,role:void 0,onFocus:j,onBlur:D,ownerState:B,ref:t},R,{children:[k.jsx(N4,P({autoFocus:r,checked:i,defaultChecked:s,className:A.input,disabled:$,id:U?f:void 0,name:y,onChange:F,readOnly:v,ref:g,required:b,ownerState:B,tabIndex:_,type:S},S==="checkbox"&&E===void 0?{}:{value:E},p)),I?o:d]}))}),z4=$4,F4=fr(k.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),D4=fr(k.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),B4=fr(k.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function U4(e){return Se("MuiCheckbox",e)}const W4=Ce("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),pd=W4,H4=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],V4=e=>{const{classes:n,indeterminate:t,color:r,size:i}=e,o={root:["root",t&&"indeterminate",`color${K(r)}`,`size${K(i)}`]},a=Te(o,U4,n);return P({},n,a)},K4=te(z4,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.indeterminate&&n.indeterminate,n[`size${K(t.size)}`],t.color!=="default"&&n[`color${K(t.color)}`]]}})(({theme:e,ownerState:n})=>P({color:(e.vars||e).palette.text.secondary},!n.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${n.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette[n.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Qe(n.color==="default"?e.palette.action.active:e.palette[n.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},n.color!=="default"&&{[`&.${pd.checked}, &.${pd.indeterminate}`]:{color:(e.vars||e).palette[n.color].main},[`&.${pd.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),G4=k.jsx(D4,{}),q4=k.jsx(F4,{}),Y4=k.jsx(B4,{}),X4=x.forwardRef(function(n,t){var r,i;const o=Ie({props:n,name:"MuiCheckbox"}),{checkedIcon:a=G4,color:s="primary",icon:l=q4,indeterminate:u=!1,indeterminateIcon:c=Y4,inputProps:d,size:f="medium",className:p}=o,g=oe(o,H4),y=u?c:l,w=u?c:a,h=P({},o,{color:s,indeterminate:u,size:f}),m=V4(h);return k.jsx(K4,P({type:"checkbox",inputProps:P({"data-indeterminate":u},d),icon:x.cloneElement(y,{fontSize:(r=y.props.fontSize)!=null?r:f}),checkedIcon:x.cloneElement(w,{fontSize:(i=w.props.fontSize)!=null?i:f}),ownerState:h,ref:t,className:se(m.root,p)},g,{classes:m}))}),$i=X4,Q4=jP({createStyledComponent:te("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n[`maxWidth${K(String(t.maxWidth))}`],t.fixed&&n.fixed,t.disableGutters&&n.disableGutters]}}),useThemeProps:e=>Ie({props:e,name:"MuiContainer"})}),Up=Q4;function J4(e){return Se("MuiModal",e)}Ce("MuiModal",["root","hidden","backdrop"]);const Z4=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],e5=e=>{const{open:n,exited:t,classes:r}=e;return Te({root:["root",!n&&t&&"hidden"],backdrop:["backdrop"]},J4,r)},n5=te("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,!t.open&&t.exited&&n.hidden]}})(({theme:e,ownerState:n})=>P({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})),t5=te(Cb,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,n)=>n.backdrop})({zIndex:-1}),r5=x.forwardRef(function(n,t){var r,i,o,a,s,l;const u=Ie({name:"MuiModal",props:n}),{BackdropComponent:c=t5,BackdropProps:d,className:f,closeAfterTransition:p=!1,children:g,container:y,component:w,components:h={},componentsProps:m={},disableAutoFocus:v=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:_=!1,disablePortal:S=!1,disableRestoreFocus:E=!1,disableScrollLock:R=!1,hideBackdrop:I=!1,keepMounted:O=!1,onBackdropClick:L,open:j,slotProps:D,slots:F}=u,$=oe(u,Z4),U=P({},u,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:b,disableEscapeKeyDown:_,disablePortal:S,disableRestoreFocus:E,disableScrollLock:R,hideBackdrop:I,keepMounted:O}),{getRootProps:B,getBackdropProps:A,getTransitionProps:M,portalRef:C,isTopModal:ce,exited:ue,hasTransition:T}=M3(P({},U,{rootRef:t})),Z=P({},U,{exited:ue}),ge=e5(Z),Y={};if(g.props.tabIndex===void 0&&(Y.tabIndex="-1"),T){const{onEnter:z,onExited:X}=M();Y.onEnter=z,Y.onExited=X}const Re=(r=(i=F==null?void 0:F.root)!=null?i:h.Root)!=null?r:n5,we=(o=(a=F==null?void 0:F.backdrop)!=null?a:h.Backdrop)!=null?o:c,_e=(s=D==null?void 0:D.root)!=null?s:m.root,Be=(l=D==null?void 0:D.backdrop)!=null?l:m.backdrop,de=To({elementType:Re,externalSlotProps:_e,externalForwardedProps:$,getSlotProps:B,additionalProps:{ref:t,as:w},ownerState:Z,className:se(f,_e==null?void 0:_e.className,ge==null?void 0:ge.root,!Z.open&&Z.exited&&(ge==null?void 0:ge.hidden))}),ve=To({elementType:we,externalSlotProps:Be,additionalProps:d,getSlotProps:z=>A(P({},z,{onClick:X=>{L&&L(X),z!=null&&z.onClick&&z.onClick(X)}})),className:se(Be==null?void 0:Be.className,d==null?void 0:d.className,ge==null?void 0:ge.backdrop),ownerState:Z});return!O&&!j&&(!T||ue)?null:k.jsx(E3,{ref:C,container:y,disablePortal:S,children:k.jsxs(Re,P({},de,{children:[!I&&c?k.jsx(we,P({},ve)):null,k.jsx(C3,{disableEnforceFocus:b,disableAutoFocus:v,disableRestoreFocus:E,isEnabled:ce,open:j,children:x.cloneElement(g,Y)})]}))})}),Eb=r5;function i5(e){return Se("MuiDialog",e)}const o5=Ce("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),fd=o5,a5=x.createContext({}),s5=a5,l5=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],u5=te(Cb,{name:"MuiDialog",slot:"Backdrop",overrides:(e,n)=>n.backdrop})({zIndex:-1}),c5=e=>{const{classes:n,scroll:t,maxWidth:r,fullWidth:i,fullScreen:o}=e,a={root:["root"],container:["container",`scroll${K(t)}`],paper:["paper",`paperScroll${K(t)}`,`paperWidth${K(String(r))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return Te(a,i5,n)},d5=te(Eb,{name:"MuiDialog",slot:"Root",overridesResolver:(e,n)=>n.root})({"@media print":{position:"absolute !important"}}),p5=te("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.container,n[`scroll${K(t.scroll)}`]]}})(({ownerState:e})=>P({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),f5=te(kc,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.paper,n[`scrollPaper${K(t.scroll)}`],n[`paperWidth${K(String(t.maxWidth))}`],t.fullWidth&&n.paperFullWidth,t.fullScreen&&n.paperFullScreen]}})(({theme:e,ownerState:n})=>P({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},n.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},n.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!n.maxWidth&&{maxWidth:"calc(100% - 64px)"},n.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${fd.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},n.maxWidth&&n.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[n.maxWidth]}${e.breakpoints.unit}`,[`&.${fd.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[n.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},n.fullWidth&&{width:"calc(100% - 64px)"},n.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${fd.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),h5=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiDialog"}),i=_t(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,BackdropComponent:l,BackdropProps:u,children:c,className:d,disableEscapeKeyDown:f=!1,fullScreen:p=!1,fullWidth:g=!1,maxWidth:y="sm",onBackdropClick:w,onClose:h,open:m,PaperComponent:v=kc,PaperProps:b={},scroll:_="paper",TransitionComponent:S=Sb,transitionDuration:E=o,TransitionProps:R}=r,I=oe(r,l5),O=P({},r,{disableEscapeKeyDown:f,fullScreen:p,fullWidth:g,maxWidth:y,scroll:_}),L=c5(O),j=x.useRef(),D=B=>{j.current=B.target===B.currentTarget},F=B=>{j.current&&(j.current=null,w&&w(B),h&&h(B,"backdropClick"))},$=Fu(s),U=x.useMemo(()=>({titleId:$}),[$]);return k.jsx(d5,P({className:se(L.root,d),closeAfterTransition:!0,components:{Backdrop:u5},componentsProps:{backdrop:P({transitionDuration:E,as:l},u)},disableEscapeKeyDown:f,onClose:h,open:m,ref:t,onClick:F,ownerState:O},I,{children:k.jsx(S,P({appear:!0,in:m,timeout:E,role:"presentation"},R,{children:k.jsx(p5,{className:se(L.container),onMouseDown:D,ownerState:O,children:k.jsx(f5,P({as:v,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":$},b,{className:se(L.paper,b.className),ownerState:O,children:k.jsx(s5.Provider,{value:U,children:c})}))})}))}))}),m5=h5,g5=Ce("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),E0=g5,y5=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],v5=e=>{const{classes:n,disableUnderline:t}=e,i=Te({root:["root",!t&&"underline"],input:["input"]},s4,n);return P({},n,i)},x5=te(_c,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[...Sc(e,n),!t.disableUnderline&&n.underline]}})(({theme:e,ownerState:n})=>{var t;const r=e.palette.mode==="light",i=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return P({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o}},[`&.${Yr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o},[`&.${Yr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!n.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(t=(e.vars||e).palette[n.color||"primary"])==null?void 0:t.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Yr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Yr.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Yr.disabled}, .${Yr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Yr.disabled}:before`]:{borderBottomStyle:"dotted"}},n.startAdornment&&{paddingLeft:12},n.endAdornment&&{paddingRight:12},n.multiline&&P({padding:"25px 12px 8px"},n.size==="small"&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),b5=te(Ec,{name:"MuiFilledInput",slot:"Input",overridesResolver:Cc})(({theme:e,ownerState:n})=>P({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},n.size==="small"&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0},n.hiddenLabel&&n.size==="small"&&{paddingTop:8,paddingBottom:9})),Pb=x.forwardRef(function(n,t){var r,i,o,a;const s=Ie({props:n,name:"MuiFilledInput"}),{components:l={},componentsProps:u,fullWidth:c=!1,inputComponent:d="input",multiline:f=!1,slotProps:p,slots:g={},type:y="text"}=s,w=oe(s,y5),h=P({},s,{fullWidth:c,inputComponent:d,multiline:f,type:y}),m=v5(s),v={root:{ownerState:h},input:{ownerState:h}},b=p??u?Mn(p??u,v):v,_=(r=(i=g.root)!=null?i:l.Root)!=null?r:x5,S=(o=(a=g.input)!=null?a:l.Input)!=null?o:b5;return k.jsx(Uh,P({slots:{root:_,input:S},componentsProps:b,fullWidth:c,inputComponent:d,multiline:f,ref:t,type:y},w,{classes:m}))});Pb.muiName="Input";const Tb=Pb;function k5(e){return Se("MuiFormControl",e)}Ce("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const w5=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],S5=e=>{const{classes:n,margin:t,fullWidth:r}=e,i={root:["root",t!=="none"&&`margin${K(t)}`,r&&"fullWidth"]};return Te(i,k5,n)},C5=te("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},n)=>P({},n.root,n[`margin${K(e.margin)}`],e.fullWidth&&n.fullWidth)})(({ownerState:e})=>P({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),_5=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiFormControl"}),{children:i,className:o,color:a="primary",component:s="div",disabled:l=!1,error:u=!1,focused:c,fullWidth:d=!1,hiddenLabel:f=!1,margin:p="none",required:g=!1,size:y="medium",variant:w="outlined"}=r,h=oe(r,w5),m=P({},r,{color:a,component:s,disabled:l,error:u,fullWidth:d,hiddenLabel:f,margin:p,required:g,size:y,variant:w}),v=S5(m),[b,_]=x.useState(()=>{let D=!1;return i&&x.Children.forEach(i,F=>{if(!hl(F,["Input","Select"]))return;const $=hl(F,["Select"])?F.props.input:F;$&&X3($.props)&&(D=!0)}),D}),[S,E]=x.useState(()=>{let D=!1;return i&&x.Children.forEach(i,F=>{hl(F,["Input","Select"])&&(ou(F.props,!0)||ou(F.props.inputProps,!0))&&(D=!0)}),D}),[R,I]=x.useState(!1);l&&R&&I(!1);const O=c!==void 0&&!l?c:R;let L;const j=x.useMemo(()=>({adornedStart:b,setAdornedStart:_,color:a,disabled:l,error:u,filled:S,focused:O,fullWidth:d,hiddenLabel:f,size:y,onBlur:()=>{I(!1)},onEmpty:()=>{E(!1)},onFilled:()=>{E(!0)},onFocus:()=>{I(!0)},registerEffect:L,required:g,variant:w}),[b,a,l,u,S,O,d,f,L,g,y,w]);return k.jsx(Bh.Provider,{value:j,children:k.jsx(C5,P({as:s,ownerState:m,className:se(v.root,o),ref:t},h,{children:i}))})}),Ob=_5,E5=UP({createStyledComponent:te("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,n)=>n.root}),useThemeProps:e=>Ie({props:e,name:"MuiStack"})}),P5=E5;function T5(e){return Se("MuiFormControlLabel",e)}const O5=Ce("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),ca=O5,I5=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],R5=e=>{const{classes:n,disabled:t,labelPlacement:r,error:i,required:o}=e,a={root:["root",t&&"disabled",`labelPlacement${K(r)}`,i&&"error",o&&"required"],label:["label",t&&"disabled"],asterisk:["asterisk",i&&"error"]};return Te(a,T5,n)},A5=te("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[{[`& .${ca.label}`]:n.label},n.root,n[`labelPlacement${K(t.labelPlacement)}`]]}})(({theme:e,ownerState:n})=>P({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${ca.disabled}`]:{cursor:"default"}},n.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},n.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},n.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${ca.label}`]:{[`&.${ca.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),L5=te("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,n)=>n.asterisk})(({theme:e})=>({[`&.${ca.error}`]:{color:(e.vars||e).palette.error.main}})),j5=x.forwardRef(function(n,t){var r,i;const o=Ie({props:n,name:"MuiFormControlLabel"}),{className:a,componentsProps:s={},control:l,disabled:u,disableTypography:c,label:d,labelPlacement:f="end",required:p,slotProps:g={}}=o,y=oe(o,I5),w=Gr(),h=(r=u??l.props.disabled)!=null?r:w==null?void 0:w.disabled,m=p??l.props.required,v={disabled:h,required:m};["checked","name","onChange","value","inputRef"].forEach(I=>{typeof l.props[I]>"u"&&typeof o[I]<"u"&&(v[I]=o[I])});const b=Pi({props:o,muiFormControl:w,states:["error"]}),_=P({},o,{disabled:h,labelPlacement:f,required:m,error:b.error}),S=R5(_),E=(i=g.typography)!=null?i:s.typography;let R=d;return R!=null&&R.type!==fe&&!c&&(R=k.jsx(fe,P({component:"span"},E,{className:se(S.label,E==null?void 0:E.className),children:R}))),k.jsxs(A5,P({className:se(S.root,a),ownerState:_,ref:t},y,{children:[x.cloneElement(l,v),m?k.jsxs(P5,{direction:"row",alignItems:"center",children:[R,k.jsxs(L5,{ownerState:_,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]}):R]}))}),Qo=j5;function M5(e){return Se("MuiFormHelperText",e)}const N5=Ce("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),P0=N5;var T0;const $5=["children","className","component","disabled","error","filled","focused","margin","required","variant"],z5=e=>{const{classes:n,contained:t,size:r,disabled:i,error:o,filled:a,focused:s,required:l}=e,u={root:["root",i&&"disabled",o&&"error",r&&`size${K(r)}`,t&&"contained",s&&"focused",a&&"filled",l&&"required"]};return Te(u,M5,n)},F5=te("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,t.size&&n[`size${K(t.size)}`],t.contained&&n.contained,t.filled&&n.filled]}})(({theme:e,ownerState:n})=>P({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${P0.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${P0.error}`]:{color:(e.vars||e).palette.error.main}},n.size==="small"&&{marginTop:4},n.contained&&{marginLeft:14,marginRight:14})),D5=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiFormHelperText"}),{children:i,className:o,component:a="p"}=r,s=oe(r,$5),l=Gr(),u=Pi({props:r,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),c=P({},r,{component:a,contained:u.variant==="filled"||u.variant==="outlined",variant:u.variant,size:u.size,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),d=z5(c);return k.jsx(F5,P({as:a,ownerState:c,className:se(d.root,o),ref:t},s,{children:i===" "?T0||(T0=k.jsx("span",{className:"notranslate",children:"​"})):i}))}),B5=D5;function U5(e){return Se("MuiFormLabel",e)}const W5=Ce("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Ca=W5,H5=["children","className","color","component","disabled","error","filled","focused","required"],V5=e=>{const{classes:n,color:t,focused:r,disabled:i,error:o,filled:a,required:s}=e,l={root:["root",`color${K(t)}`,i&&"disabled",o&&"error",a&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",o&&"error"]};return Te(l,U5,n)},K5=te("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},n)=>P({},n.root,e.color==="secondary"&&n.colorSecondary,e.filled&&n.filled)})(({theme:e,ownerState:n})=>P({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Ca.focused}`]:{color:(e.vars||e).palette[n.color].main},[`&.${Ca.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Ca.error}`]:{color:(e.vars||e).palette.error.main}})),G5=te("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,n)=>n.asterisk})(({theme:e})=>({[`&.${Ca.error}`]:{color:(e.vars||e).palette.error.main}})),q5=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiFormLabel"}),{children:i,className:o,component:a="label"}=r,s=oe(r,H5),l=Gr(),u=Pi({props:r,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),c=P({},r,{color:u.color||"primary",component:a,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),d=V5(c);return k.jsxs(K5,P({as:a,ownerState:c,className:se(d.root,o),ref:t},s,{children:[i,u.required&&k.jsxs(G5,{ownerState:c,"aria-hidden":!0,className:d.asterisk,children:[" ","*"]})]}))}),Y5=q5,X5=x.createContext(),O0=X5;function Q5(e){return Se("MuiGrid",e)}const J5=[0,1,2,3,4,5,6,7,8,9,10],Z5=["column-reverse","column","row-reverse","row"],eO=["nowrap","wrap-reverse","wrap"],Jo=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Za=Ce("MuiGrid",["root","container","item","zeroMinWidth",...J5.map(e=>`spacing-xs-${e}`),...Z5.map(e=>`direction-xs-${e}`),...eO.map(e=>`wrap-xs-${e}`),...Jo.map(e=>`grid-xs-${e}`),...Jo.map(e=>`grid-sm-${e}`),...Jo.map(e=>`grid-md-${e}`),...Jo.map(e=>`grid-lg-${e}`),...Jo.map(e=>`grid-xl-${e}`)]),nO=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function ho(e){const n=parseFloat(e);return`${n}${String(e).replace(String(n),"")||"px"}`}function tO({theme:e,ownerState:n}){let t;return e.breakpoints.keys.reduce((r,i)=>{let o={};if(n[i]&&(t=n[i]),!t)return r;if(t===!0)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(t==="auto")o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=fi({values:n.columns,breakpoints:e.breakpoints.values}),s=typeof a=="object"?a[i]:a;if(s==null)return r;const l=`${Math.round(t/s*1e8)/1e6}%`;let u={};if(n.container&&n.item&&n.columnSpacing!==0){const c=e.spacing(n.columnSpacing);if(c!=="0px"){const d=`calc(${l} + ${ho(c)})`;u={flexBasis:d,maxWidth:d}}}o=P({flexBasis:l,flexGrow:0,maxWidth:l},u)}return e.breakpoints.values[i]===0?Object.assign(r,o):r[e.breakpoints.up(i)]=o,r},{})}function rO({theme:e,ownerState:n}){const t=fi({values:n.direction,breakpoints:e.breakpoints.values});return tt({theme:e},t,r=>{const i={flexDirection:r};return r.indexOf("column")===0&&(i[`& > .${Za.item}`]={maxWidth:"none"}),i})}function Ib({breakpoints:e,values:n}){let t="";Object.keys(n).forEach(i=>{t===""&&n[i]!==0&&(t=i)});const r=Object.keys(e).sort((i,o)=>e[i]-e[o]);return r.slice(0,r.indexOf(t))}function iO({theme:e,ownerState:n}){const{container:t,rowSpacing:r}=n;let i={};if(t&&r!==0){const o=fi({values:r,breakpoints:e.breakpoints.values});let a;typeof o=="object"&&(a=Ib({breakpoints:e.breakpoints.values,values:o})),i=tt({theme:e},o,(s,l)=>{var u;const c=e.spacing(s);return c!=="0px"?{marginTop:`-${ho(c)}`,[`& > .${Za.item}`]:{paddingTop:ho(c)}}:(u=a)!=null&&u.includes(l)?{}:{marginTop:0,[`& > .${Za.item}`]:{paddingTop:0}}})}return i}function oO({theme:e,ownerState:n}){const{container:t,columnSpacing:r}=n;let i={};if(t&&r!==0){const o=fi({values:r,breakpoints:e.breakpoints.values});let a;typeof o=="object"&&(a=Ib({breakpoints:e.breakpoints.values,values:o})),i=tt({theme:e},o,(s,l)=>{var u;const c=e.spacing(s);return c!=="0px"?{width:`calc(100% + ${ho(c)})`,marginLeft:`-${ho(c)}`,[`& > .${Za.item}`]:{paddingLeft:ho(c)}}:(u=a)!=null&&u.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${Za.item}`]:{paddingLeft:0}}})}return i}function aO(e,n,t={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[t[`spacing-xs-${String(e)}`]];const r=[];return n.forEach(i=>{const o=e[i];Number(o)>0&&r.push(t[`spacing-${i}-${String(o)}`])}),r}const sO=te("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e,{container:r,direction:i,item:o,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:u}=t;let c=[];r&&(c=aO(a,u,n));const d=[];return u.forEach(f=>{const p=t[f];p&&d.push(n[`grid-${f}-${String(p)}`])}),[n.root,r&&n.container,o&&n.item,l&&n.zeroMinWidth,...c,i!=="row"&&n[`direction-xs-${String(i)}`],s!=="wrap"&&n[`wrap-xs-${String(s)}`],...d]}})(({ownerState:e})=>P({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),rO,iO,oO,tO);function lO(e,n){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const t=[];return n.forEach(r=>{const i=e[r];if(Number(i)>0){const o=`spacing-${r}-${String(i)}`;t.push(o)}}),t}const uO=e=>{const{classes:n,container:t,direction:r,item:i,spacing:o,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let u=[];t&&(u=lO(o,l));const c=[];l.forEach(f=>{const p=e[f];p&&c.push(`grid-${f}-${String(p)}`)});const d={root:["root",t&&"container",i&&"item",s&&"zeroMinWidth",...u,r!=="row"&&`direction-xs-${String(r)}`,a!=="wrap"&&`wrap-xs-${String(a)}`,...c]};return Te(d,Q5,n)},cO=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiGrid"}),{breakpoints:i}=_t(),o=lc(r),{className:a,columns:s,columnSpacing:l,component:u="div",container:c=!1,direction:d="row",item:f=!1,rowSpacing:p,spacing:g=0,wrap:y="wrap",zeroMinWidth:w=!1}=o,h=oe(o,nO),m=p||g,v=l||g,b=x.useContext(O0),_=c?s||12:b,S={},E=P({},h);i.keys.forEach(O=>{h[O]!=null&&(S[O]=h[O],delete E[O])});const R=P({},o,{columns:_,container:c,direction:d,item:f,rowSpacing:m,columnSpacing:v,wrap:y,zeroMinWidth:w,spacing:g},S,{breakpoints:i.keys}),I=uO(R);return k.jsx(O0.Provider,{value:_,children:k.jsx(sO,P({ownerState:R,className:se(I.root,a),as:u,ref:t},E))})}),Ee=cO,dO=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Wp(e){return`scale(${e}, ${e**2})`}const pO={entering:{opacity:1,transform:Wp(1)},entered:{opacity:1,transform:"none"}},hd=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Rb=x.forwardRef(function(n,t){const{addEndListener:r,appear:i=!0,children:o,easing:a,in:s,onEnter:l,onEntered:u,onEntering:c,onExit:d,onExited:f,onExiting:p,style:g,timeout:y="auto",TransitionComponent:w=zh}=n,h=oe(n,dO),m=x.useRef(),v=x.useRef(),b=_t(),_=x.useRef(null),S=Sn(_,o.ref,t),E=$=>U=>{if($){const B=_.current;U===void 0?$(B):$(B,U)}},R=E(c),I=E(($,U)=>{kb($);const{duration:B,delay:A,easing:M}=ru({style:g,timeout:y,easing:a},{mode:"enter"});let C;y==="auto"?(C=b.transitions.getAutoHeightDuration($.clientHeight),v.current=C):C=B,$.style.transition=[b.transitions.create("opacity",{duration:C,delay:A}),b.transitions.create("transform",{duration:hd?C:C*.666,delay:A,easing:M})].join(","),l&&l($,U)}),O=E(u),L=E(p),j=E($=>{const{duration:U,delay:B,easing:A}=ru({style:g,timeout:y,easing:a},{mode:"exit"});let M;y==="auto"?(M=b.transitions.getAutoHeightDuration($.clientHeight),v.current=M):M=U,$.style.transition=[b.transitions.create("opacity",{duration:M,delay:B}),b.transitions.create("transform",{duration:hd?M:M*.666,delay:hd?B:B||M*.333,easing:A})].join(","),$.style.opacity=0,$.style.transform=Wp(.75),d&&d($)}),D=E(f),F=$=>{y==="auto"&&(m.current=setTimeout($,v.current||0)),r&&r(_.current,$)};return x.useEffect(()=>()=>{clearTimeout(m.current)},[]),k.jsx(w,P({appear:i,in:s,nodeRef:_,onEnter:I,onEntered:O,onEntering:R,onExit:j,onExited:D,onExiting:L,addEndListener:F,timeout:y==="auto"?null:y},h,{children:($,U)=>x.cloneElement(o,P({style:P({opacity:0,transform:Wp(.75),visibility:$==="exited"&&!s?"hidden":void 0},pO[$],g,o.props.style),ref:S},U))}))});Rb.muiSupportAuto=!0;const fO=Rb;function hO(e,n,t,r,i){const[o,a]=x.useState(()=>i&&t?t(e).matches:r?r(e).matches:n);return Xt(()=>{let s=!0;if(!t)return;const l=t(e),u=()=>{s&&a(l.matches)};return u(),l.addListener(u),()=>{s=!1,l.removeListener(u)}},[e,t]),o}const Ab=x.useSyncExternalStore;function mO(e,n,t,r,i){const o=x.useCallback(()=>n,[n]),a=x.useMemo(()=>{if(i&&t)return()=>t(e).matches;if(r!==null){const{matches:c}=r(e);return()=>c}return o},[o,e,r,i,t]),[s,l]=x.useMemo(()=>{if(t===null)return[o,()=>()=>{}];const c=t(e);return[()=>c.matches,d=>(c.addListener(d),()=>{c.removeListener(d)})]},[o,t,e]);return Ab(l,s,a)}function Ti(e,n={}){const t=Ah(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:o=r?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:s=!1}=gb({name:"MuiUseMediaQuery",props:n,theme:t});let l=typeof e=="function"?e(t):e;return l=l.replace(/^@media( ?)/m,""),(Ab!==void 0?mO:hO)(l,i,o,a,s)}const gO=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],yO=e=>{const{classes:n,disableUnderline:t}=e,i=Te({root:["root",!t&&"underline"],input:["input"]},r4,n);return P({},n,i)},vO=te(_c,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[...Sc(e,n),!t.disableUnderline&&n.underline]}})(({theme:e,ownerState:n})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),P({position:"relative"},n.formControl&&{"label + &":{marginTop:16}},!n.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[n.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Xo.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Xo.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Xo.disabled}, .${Xo.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Xo.disabled}:before`]:{borderBottomStyle:"dotted"}})}),xO=te(Ec,{name:"MuiInput",slot:"Input",overridesResolver:Cc})({}),Lb=x.forwardRef(function(n,t){var r,i,o,a;const s=Ie({props:n,name:"MuiInput"}),{disableUnderline:l,components:u={},componentsProps:c,fullWidth:d=!1,inputComponent:f="input",multiline:p=!1,slotProps:g,slots:y={},type:w="text"}=s,h=oe(s,gO),m=yO(s),b={root:{ownerState:{disableUnderline:l}}},_=g??c?Mn(g??c,b):b,S=(r=(i=y.root)!=null?i:u.Root)!=null?r:vO,E=(o=(a=y.input)!=null?a:u.Input)!=null?o:xO;return k.jsx(Uh,P({slots:{root:S,input:E},slotProps:_,fullWidth:d,inputComponent:f,multiline:p,ref:t,type:w},h,{classes:m}))});Lb.muiName="Input";const jb=Lb;function bO(e){return Se("MuiInputLabel",e)}Ce("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const kO=["disableAnimation","margin","shrink","variant","className"],wO=e=>{const{classes:n,formControl:t,size:r,shrink:i,disableAnimation:o,variant:a,required:s}=e,l={root:["root",t&&"formControl",!o&&"animated",i&&"shrink",r&&r!=="normal"&&`size${K(r)}`,a],asterisk:[s&&"asterisk"]},u=Te(l,bO,n);return P({},n,u)},SO=te(Y5,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[{[`& .${Ca.asterisk}`]:n.asterisk},n.root,t.formControl&&n.formControl,t.size==="small"&&n.sizeSmall,t.shrink&&n.shrink,!t.disableAnimation&&n.animated,t.focused&&n.focused,n[t.variant]]}})(({theme:e,ownerState:n})=>P({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},n.size==="small"&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},n.variant==="filled"&&P({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},n.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&P({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},n.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),n.variant==="outlined"&&P({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},n.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),CO=x.forwardRef(function(n,t){const r=Ie({name:"MuiInputLabel",props:n}),{disableAnimation:i=!1,shrink:o,className:a}=r,s=oe(r,kO),l=Gr();let u=o;typeof u>"u"&&l&&(u=l.filled||l.focused||l.adornedStart);const c=Pi({props:r,muiFormControl:l,states:["size","variant","required","focused"]}),d=P({},r,{disableAnimation:i,formControl:l,shrink:u,size:c.size,variant:c.variant,required:c.required,focused:c.focused}),f=wO(d);return k.jsx(SO,P({"data-shrink":u,ownerState:d,ref:t,className:se(f.root,a)},s,{classes:f}))}),Mb=CO;function _O(e){return Se("MuiLink",e)}const EO=Ce("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),PO=EO,Nb={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},TO=e=>Nb[e]||e,OO=({theme:e,ownerState:n})=>{const t=TO(n.color),r=Eo(e,`palette.${t}`,!1)||n.color,i=Eo(e,`palette.${t}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:Qe(r,.4)},IO=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],RO=e=>{const{classes:n,component:t,focusVisible:r,underline:i}=e,o={root:["root",`underline${K(i)}`,t==="button"&&"button",r&&"focusVisible"]};return Te(o,_O,n)},AO=te(fe,{name:"MuiLink",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,n[`underline${K(t.underline)}`],t.component==="button"&&n.button]}})(({theme:e,ownerState:n})=>P({},n.underline==="none"&&{textDecoration:"none"},n.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},n.underline==="always"&&P({textDecoration:"underline"},n.color!=="inherit"&&{textDecorationColor:OO({theme:e,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),n.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${PO.focusVisible}`]:{outline:"auto"}})),LO=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiLink"}),{className:i,color:o="primary",component:a="a",onBlur:s,onFocus:l,TypographyClasses:u,underline:c="always",variant:d="inherit",sx:f}=r,p=oe(r,IO),{isFocusVisibleRef:g,onBlur:y,onFocus:w,ref:h}=gh(),[m,v]=x.useState(!1),b=Sn(t,h),_=I=>{y(I),g.current===!1&&v(!1),s&&s(I)},S=I=>{w(I),g.current===!0&&v(!0),l&&l(I)},E=P({},r,{color:o,component:a,focusVisible:m,underline:c,variant:d}),R=RO(E);return k.jsx(AO,P({color:o,className:se(R.root,i),classes:u,component:a,onBlur:_,onFocus:S,ref:b,ownerState:E,variant:d,sx:[...Object.keys(Nb).includes(o)?[]:[{color:o}],...Array.isArray(f)?f:[f]]},p))}),Bi=LO,jO=x.createContext({}),au=jO;function MO(e){return Se("MuiList",e)}Ce("MuiList",["root","padding","dense","subheader"]);const NO=["children","className","component","dense","disablePadding","subheader"],$O=e=>{const{classes:n,disablePadding:t,dense:r,subheader:i}=e;return Te({root:["root",!t&&"padding",r&&"dense",i&&"subheader"]},MO,n)},zO=te("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.root,!t.disablePadding&&n.padding,t.dense&&n.dense,t.subheader&&n.subheader]}})(({ownerState:e})=>P({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),FO=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiList"}),{children:i,className:o,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:u}=r,c=oe(r,NO),d=x.useMemo(()=>({dense:s}),[s]),f=P({},r,{component:a,dense:s,disablePadding:l}),p=$O(f);return k.jsx(au.Provider,{value:d,children:k.jsxs(zO,P({as:a,className:se(p.root,o),ref:t,ownerState:f},c,{children:[u,i]}))})}),DO=FO,BO=Ce("MuiListItemIcon",["root","alignItemsFlexStart"]),I0=BO;function UO(e){return Se("MuiListItemText",e)}const WO=Ce("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),su=WO,HO=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],VO=e=>{const{classes:n,inset:t,primary:r,secondary:i,dense:o}=e;return Te({root:["root",t&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},UO,n)},KO=te("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[{[`& .${su.primary}`]:n.primary},{[`& .${su.secondary}`]:n.secondary},n.root,t.inset&&n.inset,t.primary&&t.secondary&&n.multiline,t.dense&&n.dense]}})(({ownerState:e})=>P({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),GO=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiListItemText"}),{children:i,className:o,disableTypography:a=!1,inset:s=!1,primary:l,primaryTypographyProps:u,secondary:c,secondaryTypographyProps:d}=r,f=oe(r,HO),{dense:p}=x.useContext(au);let g=l??i,y=c;const w=P({},r,{disableTypography:a,inset:s,primary:!!g,secondary:!!y,dense:p}),h=VO(w);return g!=null&&g.type!==fe&&!a&&(g=k.jsx(fe,P({variant:p?"body2":"body1",className:h.primary,component:u!=null&&u.variant?void 0:"span",display:"block"},u,{children:g}))),y!=null&&y.type!==fe&&!a&&(y=k.jsx(fe,P({variant:"body2",className:h.secondary,color:"text.secondary",display:"block"},d,{children:y}))),k.jsxs(KO,P({className:se(h.root,o),ownerState:w,ref:t},f,{children:[g,y]}))}),qO=GO,YO=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function md(e,n,t){return e===n?e.firstChild:n&&n.nextElementSibling?n.nextElementSibling:t?null:e.firstChild}function R0(e,n,t){return e===n?t?e.firstChild:e.lastChild:n&&n.previousElementSibling?n.previousElementSibling:t?null:e.lastChild}function $b(e,n){if(n===void 0)return!0;let t=e.innerText;return t===void 0&&(t=e.textContent),t=t.trim().toLowerCase(),t.length===0?!1:n.repeating?t[0]===n.keys[0]:t.indexOf(n.keys.join(""))===0}function Zo(e,n,t,r,i,o){let a=!1,s=i(e,n,n?t:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!$b(s,o)||l)s=i(e,s,t);else return s.focus(),!0}return!1}const XO=x.forwardRef(function(n,t){const{actions:r,autoFocus:i=!1,autoFocusItem:o=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:d="selectedMenu"}=n,f=oe(n,YO),p=x.useRef(null),g=x.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Xt(()=>{i&&p.current.focus()},[i]),x.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(v,b)=>{const _=!p.current.style.width;if(v.clientHeight{const b=p.current,_=v.key,S=Zn(b).activeElement;if(_==="ArrowDown")v.preventDefault(),Zo(b,S,u,l,md);else if(_==="ArrowUp")v.preventDefault(),Zo(b,S,u,l,R0);else if(_==="Home")v.preventDefault(),Zo(b,null,u,l,md);else if(_==="End")v.preventDefault(),Zo(b,null,u,l,R0);else if(_.length===1){const E=g.current,R=_.toLowerCase(),I=performance.now();E.keys.length>0&&(I-E.lastTime>500?(E.keys=[],E.repeating=!0,E.previousKeyMatched=!0):E.repeating&&R!==E.keys[0]&&(E.repeating=!1)),E.lastTime=I,E.keys.push(R);const O=S&&!E.repeating&&$b(S,E);E.previousKeyMatched&&(O||Zo(b,S,!1,l,md,E))?v.preventDefault():E.previousKeyMatched=!1}c&&c(v)},w=Sn(p,t);let h=-1;x.Children.forEach(a,(v,b)=>{if(!x.isValidElement(v)){h===b&&(h+=1,h>=a.length&&(h=-1));return}v.props.disabled||(d==="selectedMenu"&&v.props.selected||h===-1)&&(h=b),h===b&&(v.props.disabled||v.props.muiSkipListHighlight||v.type.muiSkipListHighlight)&&(h+=1,h>=a.length&&(h=-1))});const m=x.Children.map(a,(v,b)=>{if(b===h){const _={};return o&&(_.autoFocus=!0),v.props.tabIndex===void 0&&d==="selectedMenu"&&(_.tabIndex=0),x.cloneElement(v,_)}return v});return k.jsx(DO,P({role:"menu",ref:w,className:s,onKeyDown:y,tabIndex:i?0:-1},f,{children:m}))}),QO=XO;function JO(e){return Se("MuiPopover",e)}Ce("MuiPopover",["root","paper"]);const ZO=["onEntering"],eI=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],nI=["slotProps"];function A0(e,n){let t=0;return typeof n=="number"?t=n:n==="center"?t=e.height/2:n==="bottom"&&(t=e.height),t}function L0(e,n){let t=0;return typeof n=="number"?t=n:n==="center"?t=e.width/2:n==="right"&&(t=e.width),t}function j0(e){return[e.horizontal,e.vertical].map(n=>typeof n=="number"?`${n}px`:n).join(" ")}function gd(e){return typeof e=="function"?e():e}const tI=e=>{const{classes:n}=e;return Te({root:["root"],paper:["paper"]},JO,n)},rI=te(Eb,{name:"MuiPopover",slot:"Root",overridesResolver:(e,n)=>n.root})({}),zb=te(kc,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,n)=>n.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),iI=x.forwardRef(function(n,t){var r,i,o;const a=Ie({props:n,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:u={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:d="anchorEl",children:f,className:p,container:g,elevation:y=8,marginThreshold:w=16,open:h,PaperProps:m={},slots:v,slotProps:b,transformOrigin:_={vertical:"top",horizontal:"left"},TransitionComponent:S=fO,transitionDuration:E="auto",TransitionProps:{onEntering:R}={},disableScrollLock:I=!1}=a,O=oe(a.TransitionProps,ZO),L=oe(a,eI),j=(r=b==null?void 0:b.paper)!=null?r:m,D=x.useRef(),F=Sn(D,j.ref),$=P({},a,{anchorOrigin:u,anchorReference:d,elevation:y,marginThreshold:w,externalPaperSlotProps:j,transformOrigin:_,TransitionComponent:S,transitionDuration:E,TransitionProps:O}),U=tI($),B=x.useCallback(()=>{if(d==="anchorPosition")return c;const z=gd(l),ne=(z&&z.nodeType===1?z:Zn(D.current).body).getBoundingClientRect();return{top:ne.top+A0(ne,u.vertical),left:ne.left+L0(ne,u.horizontal)}},[l,u.horizontal,u.vertical,c,d]),A=x.useCallback(z=>({vertical:A0(z,_.vertical),horizontal:L0(z,_.horizontal)}),[_.horizontal,_.vertical]),M=x.useCallback(z=>{const X={width:z.offsetWidth,height:z.offsetHeight},ne=A(X);if(d==="none")return{top:null,left:null,transformOrigin:j0(ne)};const yn=B();let vn=yn.top-ne.vertical,pn=yn.left-ne.horizontal;const xn=vn+X.height,bn=pn+X.width,he=Fr(gd(l)),On=he.innerHeight-w,fn=he.innerWidth-w;if(w!==null&&vnOn){const Ae=xn-On;vn-=Ae,ne.vertical+=Ae}if(w!==null&&pnfn){const Ae=bn-fn;pn-=Ae,ne.horizontal+=Ae}return{top:`${Math.round(vn)}px`,left:`${Math.round(pn)}px`,transformOrigin:j0(ne)}},[l,d,B,A,w]),[C,ce]=x.useState(h),ue=x.useCallback(()=>{const z=D.current;if(!z)return;const X=M(z);X.top!==null&&(z.style.top=X.top),X.left!==null&&(z.style.left=X.left),z.style.transformOrigin=X.transformOrigin,ce(!0)},[M]);x.useEffect(()=>(I&&window.addEventListener("scroll",ue),()=>window.removeEventListener("scroll",ue)),[l,I,ue]);const T=(z,X)=>{R&&R(z,X),ue()},Z=()=>{ce(!1)};x.useEffect(()=>{h&&ue()}),x.useImperativeHandle(s,()=>h?{updatePosition:()=>{ue()}}:null,[h,ue]),x.useEffect(()=>{if(!h)return;const z=mh(()=>{ue()}),X=Fr(l);return X.addEventListener("resize",z),()=>{z.clear(),X.removeEventListener("resize",z)}},[l,h,ue]);let ge=E;E==="auto"&&!S.muiSupportAuto&&(ge=void 0);const Y=g||(l?Zn(gd(l)).body:void 0),Re=(i=v==null?void 0:v.root)!=null?i:rI,we=(o=v==null?void 0:v.paper)!=null?o:zb,_e=To({elementType:we,externalSlotProps:P({},j,{style:C?j.style:P({},j.style,{opacity:0})}),additionalProps:{elevation:y,ref:F},ownerState:$,className:se(U.paper,j==null?void 0:j.className)}),Be=To({elementType:Re,externalSlotProps:(b==null?void 0:b.root)||{},externalForwardedProps:L,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:Y,open:h},ownerState:$,className:se(U.root,p)}),{slotProps:de}=Be,ve=oe(Be,nI);return k.jsx(Re,P({},ve,!iu(Re)&&{slotProps:de,disableScrollLock:I},{children:k.jsx(S,P({appear:!0,in:h,onEntering:T,onExited:Z,timeout:ge},O,{children:k.jsx(we,P({},_e,{children:f}))}))}))}),oI=iI;function aI(e){return Se("MuiMenu",e)}Ce("MuiMenu",["root","paper","list"]);const sI=["onEntering"],lI=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],uI={vertical:"top",horizontal:"right"},cI={vertical:"top",horizontal:"left"},dI=e=>{const{classes:n}=e;return Te({root:["root"],paper:["paper"],list:["list"]},aI,n)},pI=te(oI,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,n)=>n.root})({}),fI=te(zb,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,n)=>n.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),hI=te(QO,{name:"MuiMenu",slot:"List",overridesResolver:(e,n)=>n.list})({outline:0}),mI=x.forwardRef(function(n,t){var r,i;const o=Ie({props:n,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:l,disableAutoFocusItem:u=!1,MenuListProps:c={},onClose:d,open:f,PaperProps:p={},PopoverClasses:g,transitionDuration:y="auto",TransitionProps:{onEntering:w}={},variant:h="selectedMenu",slots:m={},slotProps:v={}}=o,b=oe(o.TransitionProps,sI),_=oe(o,lI),S=_t(),E=S.direction==="rtl",R=P({},o,{autoFocus:a,disableAutoFocusItem:u,MenuListProps:c,onEntering:w,PaperProps:p,transitionDuration:y,TransitionProps:b,variant:h}),I=dI(R),O=a&&!u&&f,L=x.useRef(null),j=(M,C)=>{L.current&&L.current.adjustStyleForScrollbar(M,S),w&&w(M,C)},D=M=>{M.key==="Tab"&&(M.preventDefault(),d&&d(M,"tabKeyDown"))};let F=-1;x.Children.map(s,(M,C)=>{x.isValidElement(M)&&(M.props.disabled||(h==="selectedMenu"&&M.props.selected||F===-1)&&(F=C))});const $=(r=m.paper)!=null?r:fI,U=(i=v.paper)!=null?i:p,B=To({elementType:m.root,externalSlotProps:v.root,ownerState:R,className:[I.root,l]}),A=To({elementType:$,externalSlotProps:U,ownerState:R,className:I.paper});return k.jsx(pI,P({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:E?"right":"left"},transformOrigin:E?uI:cI,slots:{paper:$,root:m.root},slotProps:{root:B,paper:A},open:f,ref:t,transitionDuration:y,TransitionProps:P({onEntering:j},b),ownerState:R},_,{classes:g,children:k.jsx(hI,P({onKeyDown:D,actions:L,autoFocus:a&&(F===-1||u),autoFocusItem:O,variant:h},c,{className:se(I.list,c.className),children:s}))}))}),gI=mI;function yI(e){return Se("MuiMenuItem",e)}const vI=Ce("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),ea=vI,xI=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],bI=(e,n)=>{const{ownerState:t}=e;return[n.root,t.dense&&n.dense,t.divider&&n.divider,!t.disableGutters&&n.gutters]},kI=e=>{const{disabled:n,dense:t,divider:r,disableGutters:i,selected:o,classes:a}=e,l=Te({root:["root",t&&"dense",n&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},yI,a);return P({},a,l)},wI=te(Po,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:bI})(({theme:e,ownerState:n})=>P({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ea.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ea.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ea.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ea.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ea.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${E0.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${E0.inset}`]:{marginLeft:52},[`& .${su.root}`]:{marginTop:0,marginBottom:0},[`& .${su.inset}`]:{paddingLeft:36},[`& .${I0.root}`]:{minWidth:36}},!n.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},n.dense&&P({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${I0.root} svg`]:{fontSize:"1.25rem"}}))),SI=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:u,role:c="menuitem",tabIndex:d,className:f}=r,p=oe(r,xI),g=x.useContext(au),y=x.useMemo(()=>({dense:a||g.dense||!1,disableGutters:l}),[g.dense,a,l]),w=x.useRef(null);Xt(()=>{i&&w.current&&w.current.focus()},[i]);const h=P({},r,{dense:y.dense,divider:s,disableGutters:l}),m=kI(r),v=Sn(w,t);let b;return r.disabled||(b=d!==void 0?d:-1),k.jsx(au.Provider,{value:y,children:k.jsx(wI,P({ref:v,role:c,tabIndex:b,component:o,focusVisibleClassName:se(m.focusVisible,u),className:se(m.root,f)},p,{ownerState:h,classes:m}))})}),Fb=SI;function CI(e){return Se("MuiNativeSelect",e)}const _I=Ce("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Wh=_I,EI=["className","disabled","error","IconComponent","inputRef","variant"],PI=e=>{const{classes:n,variant:t,disabled:r,multiple:i,open:o,error:a}=e,s={select:["select",t,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${K(t)}`,o&&"iconOpen",r&&"disabled"]};return Te(s,CI,n)},Db=({ownerState:e,theme:n})=>P({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":P({},n.vars?{backgroundColor:`rgba(${n.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:n.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${Wh.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(n.vars||n).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(n.vars||n).shape.borderRadius,"&:focus":{borderRadius:(n.vars||n).shape.borderRadius},"&&&":{paddingRight:32}}),TI=te("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:rt,overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.select,n[t.variant],t.error&&n.error,{[`&.${Wh.multiple}`]:n.multiple}]}})(Db),Bb=({ownerState:e,theme:n})=>P({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(n.vars||n).palette.action.active,[`&.${Wh.disabled}`]:{color:(n.vars||n).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),OI=te("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.icon,t.variant&&n[`icon${K(t.variant)}`],t.open&&n.iconOpen]}})(Bb),II=x.forwardRef(function(n,t){const{className:r,disabled:i,error:o,IconComponent:a,inputRef:s,variant:l="standard"}=n,u=oe(n,EI),c=P({},n,{disabled:i,variant:l,error:o}),d=PI(c);return k.jsxs(x.Fragment,{children:[k.jsx(TI,P({ownerState:c,className:se(d.select,r),disabled:i,ref:s||t},u)),n.multiple?null:k.jsx(OI,{as:a,ownerState:c,className:d.icon})]})}),RI=II;var M0;const AI=["children","classes","className","label","notched"],LI=te("fieldset",{shouldForwardProp:rt})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),jI=te("legend",{shouldForwardProp:rt})(({ownerState:e,theme:n})=>P({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},e.withLabel&&P({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})})));function MI(e){const{className:n,label:t,notched:r}=e,i=oe(e,AI),o=t!=null&&t!=="",a=P({},e,{notched:r,withLabel:o});return k.jsx(LI,P({"aria-hidden":!0,className:n,ownerState:a},i,{children:k.jsx(jI,{ownerState:a,children:o?k.jsx("span",{children:t}):M0||(M0=k.jsx("span",{className:"notranslate",children:"​"}))})}))}const NI=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],$I=e=>{const{classes:n}=e,r=Te({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},o4,n);return P({},n,r)},zI=te(_c,{shouldForwardProp:e=>rt(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Sc})(({theme:e,ownerState:n})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return P({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${yr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${yr.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${yr.focused} .${yr.notchedOutline}`]:{borderColor:(e.vars||e).palette[n.color].main,borderWidth:2},[`&.${yr.error} .${yr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${yr.disabled} .${yr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},n.startAdornment&&{paddingLeft:14},n.endAdornment&&{paddingRight:14},n.multiline&&P({padding:"16.5px 14px"},n.size==="small"&&{padding:"8.5px 14px"}))}),FI=te(MI,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,n)=>n.notchedOutline})(({theme:e})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}}),DI=te(Ec,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Cc})(({theme:e,ownerState:n})=>P({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},n.size==="small"&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})),Ub=x.forwardRef(function(n,t){var r,i,o,a,s;const l=Ie({props:n,name:"MuiOutlinedInput"}),{components:u={},fullWidth:c=!1,inputComponent:d="input",label:f,multiline:p=!1,notched:g,slots:y={},type:w="text"}=l,h=oe(l,NI),m=$I(l),v=Gr(),b=Pi({props:l,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),_=P({},l,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:v,fullWidth:c,hiddenLabel:b.hiddenLabel,multiline:p,size:b.size,type:w}),S=(r=(i=y.root)!=null?i:u.Root)!=null?r:zI,E=(o=(a=y.input)!=null?a:u.Input)!=null?o:DI;return k.jsx(Uh,P({slots:{root:S,input:E},renderSuffix:R=>k.jsx(FI,{ownerState:_,className:m.notchedOutline,label:f!=null&&f!==""&&b.required?s||(s=k.jsxs(x.Fragment,{children:[f," ","*"]})):f,notched:typeof g<"u"?g:!!(R.startAdornment||R.filled||R.focused)}),fullWidth:c,inputComponent:d,multiline:p,ref:t,type:w},h,{classes:P({},m,{notchedOutline:null})}))});Ub.muiName="Input";const Hh=Ub;function BI(e){return Se("MuiSelect",e)}const na=Ce("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var N0;const UI=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],WI=te("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[{[`&.${na.select}`]:n.select},{[`&.${na.select}`]:n[t.variant]},{[`&.${na.error}`]:n.error},{[`&.${na.multiple}`]:n.multiple}]}})(Db,{[`&.${na.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),HI=te("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[n.icon,t.variant&&n[`icon${K(t.variant)}`],t.open&&n.iconOpen]}})(Bb),VI=te("input",{shouldForwardProp:e=>hT(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,n)=>n.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function $0(e,n){return typeof n=="object"&&n!==null?e===n:String(e)===String(n)}function KI(e){return e==null||typeof e=="string"&&!e.trim()}const GI=e=>{const{classes:n,variant:t,disabled:r,multiple:i,open:o,error:a}=e,s={select:["select",t,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${K(t)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Te(s,BI,n)},qI=x.forwardRef(function(n,t){var r;const{"aria-describedby":i,"aria-label":o,autoFocus:a,autoWidth:s,children:l,className:u,defaultOpen:c,defaultValue:d,disabled:f,displayEmpty:p,error:g=!1,IconComponent:y,inputRef:w,labelId:h,MenuProps:m={},multiple:v,name:b,onBlur:_,onChange:S,onClose:E,onFocus:R,onOpen:I,open:O,readOnly:L,renderValue:j,SelectDisplayProps:D={},tabIndex:F,value:$,variant:U="standard"}=n,B=oe(n,UI),[A,M]=Ql({controlled:$,default:d,name:"Select"}),[C,ce]=Ql({controlled:O,default:c,name:"Select"}),ue=x.useRef(null),T=x.useRef(null),[Z,ge]=x.useState(null),{current:Y}=x.useRef(O!=null),[Re,we]=x.useState(),_e=Sn(t,w),Be=x.useCallback(G=>{T.current=G,G&&ge(G)},[]),de=Z==null?void 0:Z.parentNode;x.useImperativeHandle(_e,()=>({focus:()=>{T.current.focus()},node:ue.current,value:A}),[A]),x.useEffect(()=>{c&&C&&Z&&!Y&&(we(s?null:de.clientWidth),T.current.focus())},[Z,s]),x.useEffect(()=>{a&&T.current.focus()},[a]),x.useEffect(()=>{if(!h)return;const G=Zn(T.current).getElementById(h);if(G){const ye=()=>{getSelection().isCollapsed&&T.current.focus()};return G.addEventListener("click",ye),()=>{G.removeEventListener("click",ye)}}},[h]);const ve=(G,ye)=>{G?I&&I(ye):E&&E(ye),Y||(we(s?null:de.clientWidth),ce(G))},z=G=>{G.button===0&&(G.preventDefault(),T.current.focus(),ve(!0,G))},X=G=>{ve(!1,G)},ne=x.Children.toArray(l),yn=G=>{const ye=ne.find(xe=>xe.props.value===G.target.value);ye!==void 0&&(M(ye.props.value),S&&S(G,ye))},vn=G=>ye=>{let xe;if(ye.currentTarget.hasAttribute("tabindex")){if(v){xe=Array.isArray(A)?A.slice():[];const Fn=A.indexOf(G.props.value);Fn===-1?xe.push(G.props.value):xe.splice(Fn,1)}else xe=G.props.value;if(G.props.onClick&&G.props.onClick(ye),A!==xe&&(M(xe),S)){const Fn=ye.nativeEvent||ye,gt=new Fn.constructor(Fn.type,Fn);Object.defineProperty(gt,"target",{writable:!0,value:{value:xe,name:b}}),S(gt,G)}v||ve(!1,ye)}},pn=G=>{L||[" ","ArrowUp","ArrowDown","Enter"].indexOf(G.key)!==-1&&(G.preventDefault(),ve(!0,G))},xn=Z!==null&&C,bn=G=>{!xn&&_&&(Object.defineProperty(G,"target",{writable:!0,value:{value:A,name:b}}),_(G))};delete B["aria-invalid"];let he,On;const fn=[];let Ae=!1;(ou({value:A})||p)&&(j?he=j(A):Ae=!0);const N=ne.map(G=>{if(!x.isValidElement(G))return null;let ye;if(v){if(!Array.isArray(A))throw new Error(zr(2));ye=A.some(xe=>$0(xe,G.props.value)),ye&&Ae&&fn.push(G.props.children)}else ye=$0(A,G.props.value),ye&&Ae&&(On=G.props.children);return x.cloneElement(G,{"aria-selected":ye?"true":"false",onClick:vn(G),onKeyUp:xe=>{xe.key===" "&&xe.preventDefault(),G.props.onKeyUp&&G.props.onKeyUp(xe)},role:"option",selected:ye,value:void 0,"data-value":G.props.value})});Ae&&(v?fn.length===0?he=null:he=fn.reduce((G,ye,xe)=>(G.push(ye),xe{const{classes:n}=e;return n},Vh={name:"MuiSelect",overridesResolver:(e,n)=>n.root,shouldForwardProp:e=>rt(e)&&e!=="variant",slot:"Root"},ZI=te(jb,Vh)(""),eR=te(Hh,Vh)(""),nR=te(Tb,Vh)(""),Wb=x.forwardRef(function(n,t){const r=Ie({name:"MuiSelect",props:n}),{autoWidth:i=!1,children:o,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=u4,id:d,input:f,inputProps:p,label:g,labelId:y,MenuProps:w,multiple:h=!1,native:m=!1,onClose:v,onOpen:b,open:_,renderValue:S,SelectDisplayProps:E,variant:R="outlined"}=r,I=oe(r,XI),O=m?RI:YI,L=Gr(),j=Pi({props:r,muiFormControl:L,states:["variant","error"]}),D=j.variant||R,F=P({},r,{variant:D,classes:a}),$=JI(F),U=oe($,QI),B=f||{standard:k.jsx(ZI,{ownerState:F}),outlined:k.jsx(eR,{label:g,ownerState:F}),filled:k.jsx(nR,{ownerState:F})}[D],A=Sn(t,B.ref);return k.jsx(x.Fragment,{children:x.cloneElement(B,P({inputComponent:O,inputProps:P({children:o,error:j.error,IconComponent:c,variant:D,type:void 0,multiple:h},m?{id:d}:{autoWidth:i,defaultOpen:l,displayEmpty:u,labelId:y,MenuProps:w,onClose:v,onOpen:b,open:_,renderValue:S,SelectDisplayProps:P({id:d},E)},p,{classes:p?Mn(U,p.classes):U},f?f.props.inputProps:{})},h&&m&&D==="outlined"?{notched:!0}:{},{ref:A,className:se(B.props.className,s,$.root)},!f&&{variant:D},I))})});Wb.muiName="Select";const Kh=Wb;function tR(e){return Se("MuiTextField",e)}Ce("MuiTextField",["root"]);const rR=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],iR={standard:jb,filled:Tb,outlined:Hh},oR=e=>{const{classes:n}=e;return Te({root:["root"]},tR,n)},aR=te(Ob,{name:"MuiTextField",slot:"Root",overridesResolver:(e,n)=>n.root})({}),sR=x.forwardRef(function(n,t){const r=Ie({props:n,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:a,className:s,color:l="primary",defaultValue:u,disabled:c=!1,error:d=!1,FormHelperTextProps:f,fullWidth:p=!1,helperText:g,id:y,InputLabelProps:w,inputProps:h,InputProps:m,inputRef:v,label:b,maxRows:_,minRows:S,multiline:E=!1,name:R,onBlur:I,onChange:O,onFocus:L,placeholder:j,required:D=!1,rows:F,select:$=!1,SelectProps:U,type:B,value:A,variant:M="outlined"}=r,C=oe(r,rR),ce=P({},r,{autoFocus:o,color:l,disabled:c,error:d,fullWidth:p,multiline:E,required:D,select:$,variant:M}),ue=oR(ce),T={};M==="outlined"&&(w&&typeof w.shrink<"u"&&(T.notched=w.shrink),T.label=b),$&&((!U||!U.native)&&(T.id=void 0),T["aria-describedby"]=void 0);const Z=Fu(y),ge=g&&Z?`${Z}-helper-text`:void 0,Y=b&&Z?`${Z}-label`:void 0,Re=iR[M],we=k.jsx(Re,P({"aria-describedby":ge,autoComplete:i,autoFocus:o,defaultValue:u,fullWidth:p,multiline:E,name:R,rows:F,maxRows:_,minRows:S,type:B,value:A,id:Z,inputRef:v,onBlur:I,onChange:O,onFocus:L,placeholder:j,inputProps:h},T,m));return k.jsxs(aR,P({className:se(ue.root,s),disabled:c,error:d,fullWidth:p,ref:t,required:D,color:l,variant:M,ownerState:ce},C,{children:[b!=null&&b!==""&&k.jsx(Mb,P({htmlFor:Z,id:Y},w,{children:b})),$?k.jsx(Kh,P({"aria-describedby":ge,id:Z,labelId:Y,value:A,input:we},U,{children:a})):we,g&&k.jsx(B5,P({id:ge},f,{children:g}))]}))}),lR=sR,uR="/assets/PlaygroundBgGraphic-DT3ON6Jo.webp",cR=`--- name: "0x2FA" authors: - Ahmed Hamed Aly: https://ahmedhamedaly.com @@ -178,7 +178,7 @@ tutorials: created: 2024-04-12 lastUpdated: 2024-04-14 maintainedByOasis: false -`,cR=`--- +`,dR=`--- name: Oasis Authenticator authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -218,7 +218,7 @@ tutorials: created: 2023-06-17 lastUpdated: 2023-08-07 maintainedByOasis: true -`,dR=`--- +`,pR=`--- name: B-Hook authors: - Régis Graptin: https://github.com/RegisGraptin @@ -279,7 +279,7 @@ tutorials: created: 2024-04-14 lastUpdated: 2024-04-14 maintainedByOasis: false -`,pR=`--- +`,hR=`--- name: BoT (Blockchain of Things) authors: - Fedor Panafidin: @@ -329,7 +329,7 @@ tutorials: created: 2024-04-14 lastUpdated: 2024-04-12 maintainedByOasis: false -`,hR=`--- +`,mR=`--- name: Cypher zer0x authors: - Maxime Dienger: https://devpost.com/dienger-maxime @@ -375,7 +375,7 @@ tutorials: created: 2024-02-24 lastUpdated: 2024-03-02 maintainedByOasis: false -`,mR=`--- +`,gR=`--- name: ROSE (un) wrapper authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -396,7 +396,7 @@ demoUrl: https://playground.oasis.io/wrose-authzn/ created: 2023-11-10 lastUpdated: 2024-01-09 maintainedByOasis: true -`,gR=`--- +`,yR=`--- name: Authenticator Demo authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -418,7 +418,7 @@ tutorials: created: 2023-11-02 lastUpdated: 2023-11-02 maintainedByOasis: true -`,yR=`--- +`,vR=`--- name: E2E Proxy authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -446,7 +446,7 @@ tutorials: created: 2023-06-17 lastUpdated: 2023-12-02 maintainedByOasis: true -`,vR=`--- +`,xR=`--- name: Oasis Riddle authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -482,7 +482,7 @@ tutorials: created: 2023-03-25 lastUpdated: 2023-11-20 maintainedByOasis: true -`,xR=`--- +`,bR=`--- name: Oasis Swag authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -513,7 +513,7 @@ demoUrl: https://playground.oasis.io/oasisswag created: 2023-04-18 lastUpdated: 2023-09-13 maintainedByOasis: true -`,bR=`--- +`,kR=`--- name: OPL Secret Ballot authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -536,7 +536,7 @@ tutorials: created: 2023-01-15 lastUpdated: 2023-06-29 maintainedByOasis: true -`,kR=`--- +`,wR=`--- name: Confidential Quiz authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -566,7 +566,7 @@ demoUrl: https://playground.oasis.io/demo-quiz created: 2024-03-19 lastUpdated: 2024-06-04 maintainedByOasis: true -`,wR=`--- +`,SR=`--- name: Starter Project (Go) authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -626,7 +626,7 @@ tutorials: created: 2024-08-01 lastUpdated: 2024-09-09 maintainedByOasis: true -`,SR=`--- +`,_R=`--- name: Starter Project authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -693,7 +693,7 @@ tutorials: created: 2023-08-15 lastUpdated: 2023-09-18 maintainedByOasis: true -`,_R=`--- +`,PR=`--- name: DSearch authors: - Arsalaan Alam: https://www.arsalaan.bio/ @@ -753,7 +753,7 @@ tutorials: created: 2023-09-07 lastUpdated: 2023-10-06 maintainedByOasis: false -`,PR=`--- +`,TR=`--- name: Empyreal Exchange authors: - Unknown: https://github.com/johnny-empyreal @@ -782,7 +782,7 @@ tutorials: created: 2023-10-04 lastUpdated: 2023-10-09 maintainedByOasis: false -`,TR=`--- +`,OR=`--- name: Confidential Hello World on Cipher authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -812,7 +812,7 @@ tutorials: created: 2022-10-03 lastUpdated: 2023-12-21 maintainedByOasis: true -`,OR=`--- +`,IR=`--- name: Hello World on Cipher authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -840,7 +840,7 @@ tutorials: created: 2022-10-03 lastUpdated: 2023-12-21 maintainedByOasis: true -`,IR=`--- +`,RR=`--- name: Hardhat Sapphire Example authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -866,7 +866,7 @@ tutorials: created: 2022-09-07 lastUpdated: 2023-11-21 maintainedByOasis: true -`,RR=`--- +`,AR=`--- name: On-Chain Signer authors: - Oasis Protocol Foundation: https://oasisprotocol.org @@ -897,7 +897,7 @@ tutorials: created: 2023-09-14 lastUpdated: 2023-10-19 maintainedByOasis: true -`,AR=`--- +`,LR=`--- name: Fastlane authors: - Teja Reddy: https://github.com/narasim-teja @@ -943,7 +943,93 @@ tutorials: created: 2024-02-27 lastUpdated: 2024-05-02 maintainedByOasis: false -`,LR=`--- +`,jR=`name: Lending Sapphire +authors: + - Tarun Gupta: https://github.com/Tarun-k-Gupta + - Bhavesh Gupta: https://github.com/barrytra + - Aarav Mehta: https://github.com/aaravm + - Abhinav Agarwalla: https://github.com/lla-dane +description: | + A private, KYC-free lending platform on Oasis Sapphire. Utilizes dual-token + setup, ROFL (TEE) for fetching real time price feeds. Features on-chain and + off-chain confidentiality to ensure secure, private transactions. + + This platform takes full advantage of the Oasis Sapphire blockchain to offer a + secure environment for executing EVM compatible smart contracts with enhanced + on-chain data confidentiality. This feature ensures that sensitive transaction + details such as sender and receiver information are encrypted, allowing users + to engage in lending and borrowing without compromising privacy. This shields + them from common blockchain threats like front-running, where exposed + transaction details could be misused by opportunistic observers. + + Moreover, we integrate off-chain confidentiality using ROFL, which + significantly boosts out platform's integrity and security, when paired with + Trusted Execution Environments (TEEs). This setup not only secures sensitive + operations like real-time pricing feeds but also ensures the accuracy and + integrity of these feeds, crucial for calculating loan values reliably. By + automating financial processes such as loan issuance based on collateral and + auto-liquidation protocols in a secure manner, out platform delivers tailored + and responsive financial services that preserve the inherent privacy first + ideals of blockchain technology. + + Check out more on the [EthGlobal project page](https://ethglobal.com/showcase/lendingsapphire-jrbsc). +paratimes: + - sapphire +languages: + - typescript + - rust + - solidity +tags: + - ROFL + - DeFi + - React + - ETHGlobal Singapore 2024 + - Hackathon +codeUrl: https://github.com/barrytra/Lending-Sapphire +tutorials: + - Video demo: https://www.loom.com/share/70a023c0110b4b1e9383c235023741cd?sid=01d5507f-3a59-4237-bd75-87fe3918cce6 +created: 2024-09-20 +lastUpdated: 2024-09-22 +maintainedByOasis: false +`,MR=`name: Nyx +authors: + - PopTony: https://github.com/PopTony + - knlbb: https://github.com/knlbb +description: | + A therapy AI app, prioritizing user privacy with off-chain chat storage. + Therapists can securely access data on-chain, enhancing trust and transparency, + all powered by ENS for easy identification. + + Introducing a cutting-edge therapy AI app developed using the Oasis Protocol, + Dynamic Labs, and Ethereum Name Service (ENS). This app prioritizes user + privacy by leveraging the confidential AI chat bot running on Oasis ROFL, + ensuring that sensitive information remains secure. Therapists can request + access to this data on-chain, facilitated by a seamless integration with the + Oasis Protocol for enhanced security and scalability. With Dynamic Labs' + innovative features and ENS for easy user identification, this app empowers + both patients and therapists to engage in a trusted, transparent therapeutic + experience. + + Check out more on the [EthGlobal project page](https://ethglobal.com/showcase/nyx-b3j3b). +paratimes: + - sapphire +languages: + - javascript + - rust + - solidity +tags: + - ROFL + - AI + - React + - ETHGlobal Singapore 2024 + - Hackathon +codeUrl: https://github.com/knlbb/therapyonchain +tutorials: + - Video demo: https://www.loom.com/share/d733610af7a54a01a5f7d9ad1b605c1a?sid=ede26738-a492-4ab2-9bdc-51b72c14bc50 +created: 2024-09-06 +lastUpdated: 2024-09-22 +maintainedByOasis: false +`,NR=`--- name: OasisGuard authors: - Utku Ömer Kılıç: https://x.com/utmrklc @@ -1001,7 +1087,7 @@ tutorials: created: 2024-04-12 lastUpdated: 2024-04-14 maintainedByOasis: false -`,MR=`--- +`,$R=`--- name: PrivAds authors: - Pedro Palacios: https://github.com/palmenros @@ -1051,7 +1137,46 @@ tutorials: created: 2024-04-12 lastUpdated: 2024-04-25 maintainedByOasis: false -`,NR=`--- +`,zR=`name: RIP Protocol +authors: + - felyn: https://github.com/felynoir + - JernKunpittaya: https://github.com/JernKunpittaya +description: | + Allows encrypted data to stay private while performing specific tasks on the + blockchain. Although blockchain is public, RIP ensures sensitive information + remains secure, letting users leverage blockchain benefits without revealing + personal data. + + ## Example with DNA + + Imagine you want to leave an inheritance for your children but need a way to + prove their identity. Using RIP Protocol, you can encrypt your DNA data on the + blockchain and set a condition that only someone with a matching DNA can claim + the inheritance. When your children provide their DNA, it is privately matched + with the encrypted data. No one else on the blockchain can access your DNA, + but the protocol verifies the match and automatically releases the assets. + + With RIP Protocol, users can securely manage private data in a decentralized + environment, combining the privacy of encryption with the benefits of + blockchain transparency. + + Check out more on the [EthGlobal project page](https://ethglobal.com/showcase/rip-protocol-jgw26). +paratimes: + - sapphire +languages: + - solidity + - typescript +tags: + - ROFL + - React + - ETHGlobal Singapore 2024 + - Hackathon +codeUrl: https://github.com/felynoir/rip-proc +demoUrl: https://rip-proc.vercel.app/ +created: 2024-09-21 +lastUpdated: 2024-09-25 +maintainedByOasis: false +`,FR=`--- name: Rose Derby authors: - Joe Petrakovich: https://joe.ptrkv.ch/ @@ -1089,7 +1214,7 @@ tutorials: created: 2023-08-16 lastUpdated: 2024-01-03 maintainedByOasis: false -`,$R=`--- +`,DR=`--- name: Sapphire Confidential authors: - Jérome Rastit: https://github.com/jrastit @@ -1125,7 +1250,7 @@ tutorials: created: 2023-09-30 lastUpdated: 2023-10-05 maintainedByOasis: false -`,jR=`--- +`,BR=`--- name: Secret Bids authors: - Tristan Dinh: https://trietdinh.home.blog/ @@ -1159,7 +1284,7 @@ tutorials: created: 2023-09-16 lastUpdated: 2023-10-05 maintainedByOasis: false -`,zR=`--- +`,UR=`--- name: Secret Sponsor authors: - Taiju Sanagi: https://github.com/taijusanagi @@ -1196,7 +1321,7 @@ tutorials: created: 2023-09-04 lastUpdated: 2023-09-06 maintainedByOasis: false -`,FR=`--- +`,WR=`--- name: Spacetar authors: - Donatus Prince: https://github.com/amdonatusprince @@ -1223,7 +1348,54 @@ tutorials: created: 2023-09-29 lastUpdated: 2023-10-06 maintainedByOasis: false -`,DR=`--- +`,HR=`name: SQUIDL +authors: + - Kelvin Adithya: https://github.com/kelvinkn17 + - kebabhan: https://github.com/tfarhan00 + - Buwono: https://github.com/Dicky-27 +description: | + A privacy-focused platform that makes managing payments simple and secure. + With private static payment links that also work as ENS addresses, you can + easily accept crypto or credit card payments while keeping everything + untraceable. + + Squidl.me is a platform designed to give individuals and businesses total + control over their payments and financial transactions. By using stealth + addresses, Squidl ensures that every transaction is private and untraceable. + With custom static payment links that double as ENS addresses, users can + easily receive payments in crypto or fiat without exposing their identities or + financial data. The platform offers seamless integration with various + blockchain networks, including Ethereum, BSC, Morph, Linea, and Flow EVM, + allowing users to accept a wide range of payment options. Additionally, credit + card payments are converted to USDC and bridged to BSC, ensuring both + convenience and privacy. Squidl also features the ability to bridge funds to + the Oasis Sapphire network, where transactions become completely untraceable, + adding an extra layer of security. Squidl’s flexibility extends to asset + transfers as well, supporting the private transfer of NFTs, soulbound tokens, + and liquidity tokens. With its easy-to-use interface, unified dashboard, and + powerful SDK for developers, Squidl is the go-to platform for anyone looking + to manage payments with privacy, flexibility, and control. + + Check out more on the [EthGlobal project page](https://ethglobal.com/showcase/squidl-psquk). +paratimes: + - sapphire +languages: + - solidity + - javascript +tags: + - DeFi + - Gasless + - React + - ETHGlobal Singapore 2024 + - Hackathon +codeUrl: https://github.com/engowl/squidl +demoUrl: https://www.squidl.me/ +tutorials: + - Video demo: https://stream.mux.com/BEUanmt0100GYnMoMMjqItzAfPxhpXFmu02XrUNcXcBZl8/high.mp4 +created: 2024-09-20 +lastUpdated: 2024-10-02 +maintainedByOasis: false +`,VR=`--- name: Texas Hide'em authors: - Greg Johns: https://devfolio.co/@GregJohns @@ -1264,7 +1436,7 @@ demoUrl: https://poker.w3q.w3q-g.w3link.io created: 2024-02-24 lastUpdated: 2024-03-06 maintainedByOasis: false -`,BR=`--- +`,KR=`--- name: Treasure Hunt authors: - Rahul Srivastava: https://rotatingcanvas.com/ @@ -1291,42 +1463,82 @@ tutorials: created: 2023-09-23 lastUpdated: 2023-09-29 maintainedByOasis: false -`,UR="/assets/01-landing-DaPauXGD.jpeg",WR="/assets/02-balance-BjtZ6hxR.jpeg",HR="/assets/03-activate-2fa-DaKW0YBI.jpeg",VR="/assets/04-create-multisig-C4Wio8Jp.jpeg",KR="/assets/04-scan-invite-code-BMn6E7AI.jpeg",GR="/assets/05-banner-C94td9LX.png",YR="/assets/01-register-gLx7hdiw.png",qR="/assets/02-sign-in-1F_iOKqc.png",XR="/assets/01-landing-rrJAodjE.png",QR="/assets/02-newbook-BROOIGBr.png",JR="/assets/03-view-book-BFiRAuwj.png",ZR="/assets/04-create-community-Ci3rb5FR.png",eA="/assets/04-manage-book-BnC_Q1zj.png",nA="/assets/05-overview-book-B9y3H6BL.png",tA="/assets/06-overview-book2-fHUjQ5M4.jpg",rA="/assets/01-architecture-BRyUeQhy.png",iA="/assets/01-architecture-BY4NE6NI.png",oA="/assets/01-landing-9k6BZHEu.jpeg",aA="/assets/02-block-details-BoH5CBA6.jpeg",sA="/assets/03-statistics-BGN4iiRH.jpeg",lA="/assets/04-metamask-snap-CiQ_GLfv.jpeg",uA="/assets/05-kyc-CYIGA0Uu.jpeg",cA="/assets/01-landing-page-BIS25p9H.png",dA="/assets/01-landing-page-CRXHxPWj.png",fA="/assets/01-test-Cunjn3Oj.png",pA="/assets/02-encrypted-proxy-Dc62LpXI.png",hA="/assets/1_query-etoXofAH.png",mA="/assets/01-landing-page-DAzHgdKf.png",gA="/assets/02-spin-wheel-De9i6O7y.png",yA="/assets/03-nft-Cmy50JRQ.png",vA="/assets/1_new_ballot-r0k30Zs2.png",xA="/assets/01-landing-tD11pdOe.png",bA="/assets/02-quiz--DksEyLA.png",kA="/assets/03-payout-B4vS7_Cw.png",wA="/assets/04-claimed-COJabVt3.png",CA="/assets/01-usage-f0_yRzBP.png",SA="/assets/01-usage-DXJPTI0f.png",EA="/assets/01-landing-page-BFSplWDc.png",_A="/assets/02-hello-world-D5ZFiBNr.png",PA="/assets/03-manage-deploy-BuXzbHAq.png",TA="/assets/01-active-polls-jRWp8-Ly.png",OA="/assets/02-vote-Z6Vnu5PN.png",IA="/assets/03-voting-closed-CZ95RSR2.png",RA="/assets/01-landing-62GxNkS2.png",AA="/assets/02-search-metamask-BUXCZjy4.png",LA="/assets/03-search-results-msgkBGsW.png",MA="/assets/04-image-results-C_ctdn8o.png",NA="/assets/05-related-results-B12biISA.png",$A="/assets/01-landing-BusYo-Pf.png",jA="/assets/02-deposit-C8_ChB2h.png",zA="/assets/03-withdraw-DGvuWncz.png",FA="/assets/01-upload1-CsQMzJZB.png",DA="/assets/02-upload2-Ty9gN4_h.png",BA="/assets/03-instantiate-CClLiUOX.png",UA="/assets/04-call-B0QbUtuD.png",WA="/assets/01-upload1-DNX2nGZ0.png",HA="/assets/02-upload2-DhEyEsD4.png",VA="/assets/03-instantiate-BuqaZO1q.png",KA="/assets/04-call-lnK3XVOY.png",GA="/assets/01-run-vigil-CCqDnDKt.png",YA="/assets/01-comment-box-tests-BvE1XR8A.png",qA="/assets/01-landing-BWLjIQnu.png",XA="/assets/02-game-MYkrQ44u.png",QA="/assets/03-obstacle-CvjfkFlj.png",JA="/assets/01-screenshots-__l3pGdp.png",ZA="/assets/02-banner-m-Fg8srM.png",eL="/assets/01-user-BxPxUTqa.png",nL="/assets/02-advertiser-Bv5e6hJK.png",tL="/assets/03-banner-B5POVtpw.png",rL="/assets/01-race-list-BBBtY7VW.png",iL="/assets/02-create-a-race-2Qd1dq92.png",oL="/assets/03-bet-CoRcnMjz.png",aL="/assets/04-results-B20CeBj_.png",sL="/assets/01-transaction-in-progress-BmmD1oP5.png",lL="/assets/01-auctions-BL9klEkV.png",uL="/assets/02-create-auction-COzGgT7C.png",cL="/assets/03-view-auction-B6NsvmLa.png",dL="/assets/04-view-auction2-BQec4aXL.png",fL="/assets/01-home-Jj7_fDs7.png",pL="/assets/02-tx-ZxutsBuA.png",hL="/assets/03-diagram-BkzQ1MBd.png",mL="/assets/04-explorer-B1yk-HU0.png",gL="/assets/05-tx-details-Be3-EJ-h.png",yL="/assets/01-landing-D0VVsYqz.png",vL="/assets/02-home-92ndXIha.png",xL="/assets/03-chat-xgtiJAdT.png",bL="/assets/01-join-game-BXrge-6v.jpeg",kL="/assets/02-join-game2-B5-100lE.jpeg",wL="/assets/03-start-DPoV3sJi.jpeg",CL="/assets/04-gameplay-DhiUihOK.jpeg",SL="/assets/01-game-BQOMKVq0.png",EL={none:"Plain text",plain:"Plain text",plaintext:"Plain text",text:"Plain text",txt:"Plain text",html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",rss:"RSS",css:"CSS",clike:"C-like",js:"JavaScript",javascript:"JavaScript",abap:"ABAP",abnf:"ABNF",al:"AL",antlr4:"ANTLR4",g4:"ANTLR4",apacheconf:"Apache Configuration",apl:"APL",aql:"AQL",ino:"Arduino",arff:"ARFF",armasm:"ARM Assembly","arm-asm":"ARM Assembly",art:"Arturo",asciidoc:"AsciiDoc",adoc:"AsciiDoc",aspnet:"ASP.NET (C#)",asm6502:"6502 Assembly",asmatmel:"Atmel AVR Assembly",autohotkey:"AutoHotkey",autoit:"AutoIt",avisynth:"AviSynth",avs:"AviSynth","avro-idl":"Avro IDL",avdl:"Avro IDL",awk:"AWK",gawk:"GAWK",sh:"Shell",basic:"BASIC",bbcode:"BBcode",bbj:"BBj",bnf:"BNF",rbnf:"RBNF",bqn:"BQN",bsl:"BSL (1C:Enterprise)",oscript:"OneScript",csharp:"C#",cs:"C#",dotnet:"C#",cpp:"C++",cfscript:"CFScript",cfc:"CFScript",cil:"CIL",cilkc:"Cilk/C","cilk-c":"Cilk/C",cilkcpp:"Cilk/C++","cilk-cpp":"Cilk/C++",cilk:"Cilk/C++",cmake:"CMake",cobol:"COBOL",coffee:"CoffeeScript",conc:"Concurnas",csp:"Content-Security-Policy","css-extras":"CSS Extras",csv:"CSV",cue:"CUE",dataweave:"DataWeave",dax:"DAX",django:"Django/Jinja2",jinja2:"Django/Jinja2","dns-zone-file":"DNS zone file","dns-zone":"DNS zone file",dockerfile:"Docker",dot:"DOT (Graphviz)",gv:"DOT (Graphviz)",ebnf:"EBNF",editorconfig:"EditorConfig",ejs:"EJS",etlua:"Embedded Lua templating",erb:"ERB","excel-formula":"Excel Formula",xlsx:"Excel Formula",xls:"Excel Formula",fsharp:"F#","firestore-security-rules":"Firestore security rules",ftl:"FreeMarker Template Language",gml:"GameMaker Language",gamemakerlanguage:"GameMaker Language",gap:"GAP (CAS)",gcode:"G-code",gdscript:"GDScript",gedcom:"GEDCOM",gettext:"gettext",po:"gettext",glsl:"GLSL",gn:"GN",gni:"GN","linker-script":"GNU Linker Script",ld:"GNU Linker Script","go-module":"Go module","go-mod":"Go module",graphql:"GraphQL",hbs:"Handlebars",hs:"Haskell",hcl:"HCL",hlsl:"HLSL",http:"HTTP",hpkp:"HTTP Public-Key-Pins",hsts:"HTTP Strict-Transport-Security",ichigojam:"IchigoJam","icu-message-format":"ICU Message Format",idr:"Idris",ignore:".ignore",gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore",inform7:"Inform 7",javadoc:"JavaDoc",javadoclike:"JavaDoc-like",javastacktrace:"Java stack trace",jq:"JQ",jsdoc:"JSDoc","js-extras":"JS Extras",json:"JSON",webmanifest:"Web App Manifest",json5:"JSON5",jsonp:"JSONP",jsstacktrace:"JS stack trace","js-templates":"JS Templates",keepalived:"Keepalived Configure",kts:"Kotlin Script",kt:"Kotlin",kumir:"KuMir (КуМир)",kum:"KuMir (КуМир)",latex:"LaTeX",tex:"TeX",context:"ConTeXt",lilypond:"LilyPond",ly:"LilyPond",emacs:"Lisp",elisp:"Lisp","emacs-lisp":"Lisp",llvm:"LLVM IR",log:"Log file",lolcode:"LOLCODE",magma:"Magma (CAS)",md:"Markdown","markup-templating":"Markup templating",matlab:"MATLAB",maxscript:"MAXScript",mel:"MEL",metafont:"METAFONT",mongodb:"MongoDB",moon:"MoonScript",n1ql:"N1QL",n4js:"N4JS",n4jsd:"N4JS","nand2tetris-hdl":"Nand To Tetris HDL",naniscript:"Naninovel Script",nani:"Naninovel Script",nasm:"NASM",neon:"NEON",nginx:"nginx",nsis:"NSIS",objectivec:"Objective-C",objc:"Objective-C",ocaml:"OCaml",opencl:"OpenCL",openqasm:"OpenQasm",qasm:"OpenQasm",parigp:"PARI/GP",objectpascal:"Object Pascal",psl:"PATROL Scripting Language",pcaxis:"PC-Axis",px:"PC-Axis",peoplecode:"PeopleCode",pcode:"PeopleCode",php:"PHP",phpdoc:"PHPDoc","php-extras":"PHP Extras","plant-uml":"PlantUML",plantuml:"PlantUML",plsql:"PL/SQL",powerquery:"PowerQuery",pq:"PowerQuery",mscript:"PowerQuery",powershell:"PowerShell",promql:"PromQL",properties:".properties",protobuf:"Protocol Buffers",purebasic:"PureBasic",pbfasm:"PureBasic",purs:"PureScript",py:"Python",qsharp:"Q#",qs:"Q#",q:"Q (kdb+ database)",qml:"QML",rkt:"Racket",cshtml:"Razor C#",razor:"Razor C#",jsx:"React JSX",tsx:"React TSX",renpy:"Ren'py",rpy:"Ren'py",res:"ReScript",rest:"reST (reStructuredText)",robotframework:"Robot Framework",robot:"Robot Framework",rb:"Ruby",sas:"SAS",sass:"Sass (Sass)",scss:"Sass (SCSS)","shell-session":"Shell session","sh-session":"Shell session",shellsession:"Shell session",sml:"SML",smlnj:"SML/NJ",solidity:"Solidity",sol:"Solidity","solution-file":"Solution file",sln:"Solution file",soy:"Soy (Closure Template)",sparql:"SPARQL",rq:"SPARQL","splunk-spl":"Splunk SPL",sqf:"SQF: Status Quo Function (Arma 3)",sql:"SQL",stata:"Stata Ado",iecst:"Structured Text (IEC 61131-3)",supercollider:"SuperCollider",sclang:"SuperCollider",systemd:"Systemd configuration file","t4-templating":"T4 templating","t4-cs":"T4 Text Templates (C#)",t4:"T4 Text Templates (C#)","t4-vb":"T4 Text Templates (VB)",tap:"TAP",tt2:"Template Toolkit 2",toml:"TOML",trickle:"trickle",troy:"troy",trig:"TriG",ts:"TypeScript",typescript:"TypeScript",tsconfig:"TSConfig",uscript:"UnrealScript",uc:"UnrealScript",uorazor:"UO Razor Script",uri:"URI",url:"URL",vbnet:"VB.Net",vhdl:"VHDL",vim:"vim","visual-basic":"Visual Basic",vba:"VBA",vb:"Visual Basic",wasm:"WebAssembly","web-idl":"Web IDL",webidl:"Web IDL",wgsl:"WGSL",wiki:"Wiki markup",wolfram:"Wolfram language",nb:"Mathematica Notebook",wl:"Wolfram language",xeoracube:"XeoraCube","xml-doc":"XML doc (.net)",xojo:"Xojo (REALbasic)",xquery:"XQuery",yaml:"YAML",yml:"YAML",yang:"YANG"},_L=e=>{const n=EL[e.toLowerCase()];return n||e.substring(0,1).toUpperCase()+e.substring(1)};/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function Hb(e){return typeof e>"u"||e===null}function PL(e){return typeof e=="object"&&e!==null}function TL(e){return Array.isArray(e)?e:Hb(e)?[]:[e]}function OL(e,n){var t,r,i,o;if(n)for(o=Object.keys(n),t=0,r=o.length;t"u"||e===null}function QL(e){return typeof e=="object"&&e!==null}function JL(e){return Array.isArray(e)?e:Hb(e)?[]:[e]}function ZL(e,n){var t,r,i,o;if(n)for(o=Object.keys(n),t=0,r=o.length;ts&&(o=" ... ",n=r-s+o.length),t-r>s&&(a=" ...",t=r+s-a.length),{str:o+e.slice(n,t).replace(/\t/g,"→")+a,pos:r-n+o.length}}function vd(e,n){return Bn.repeat(" ",n-e.length)+e}function zL(e,n){if(n=Object.create(n||null),!e.buffer)return null;n.maxLength||(n.maxLength=79),typeof n.indent!="number"&&(n.indent=1),typeof n.linesBefore!="number"&&(n.linesBefore=3),typeof n.linesAfter!="number"&&(n.linesAfter=2);for(var t=/\r?\n|\r|\0/g,r=[0],i=[],o,a=-1;o=t.exec(e.buffer);)i.push(o.index),r.push(o.index+o[0].length),e.position<=o.index&&a<0&&(a=r.length-2);a<0&&(a=r.length-1);var s="",l,u,c=Math.min(e.line+n.linesAfter,i.length).toString().length,d=n.maxLength-(n.indent+c+3);for(l=1;l<=n.linesBefore&&!(a-l<0);l++)u=yd(e.buffer,r[a-l],i[a-l],e.position-(r[a]-r[a-l]),d),s=Bn.repeat(" ",n.indent)+vd((e.line-l+1).toString(),c)+" | "+u.str+` +`+e.mark.snippet),r+" "+t):r}function es(e,n){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=n,this.message=Vb(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}es.prototype=Object.create(Error.prototype);es.prototype.constructor=es;es.prototype.toString=function(n){return this.name+": "+Vb(this,n)};var nr=es;function yd(e,n,t,r,i){var o="",a="",s=Math.floor(i/2)-1;return r-n>s&&(o=" ... ",n=r-s+o.length),t-r>s&&(a=" ...",t=r+s-a.length),{str:o+e.slice(n,t).replace(/\t/g,"→")+a,pos:r-n+o.length}}function vd(e,n){return Bn.repeat(" ",n-e.length)+e}function lj(e,n){if(n=Object.create(n||null),!e.buffer)return null;n.maxLength||(n.maxLength=79),typeof n.indent!="number"&&(n.indent=1),typeof n.linesBefore!="number"&&(n.linesBefore=3),typeof n.linesAfter!="number"&&(n.linesAfter=2);for(var t=/\r?\n|\r|\0/g,r=[0],i=[],o,a=-1;o=t.exec(e.buffer);)i.push(o.index),r.push(o.index+o[0].length),e.position<=o.index&&a<0&&(a=r.length-2);a<0&&(a=r.length-1);var s="",l,u,c=Math.min(e.line+n.linesAfter,i.length).toString().length,d=n.maxLength-(n.indent+c+3);for(l=1;l<=n.linesBefore&&!(a-l<0);l++)u=yd(e.buffer,r[a-l],i[a-l],e.position-(r[a]-r[a-l]),d),s=Bn.repeat(" ",n.indent)+vd((e.line-l+1).toString(),c)+" | "+u.str+` `+s;for(u=yd(e.buffer,r[a],i[a],e.position,d),s+=Bn.repeat(" ",n.indent)+vd((e.line+1).toString(),c)+" | "+u.str+` `,s+=Bn.repeat("-",n.indent+c+3+u.pos)+`^ `,l=1;l<=n.linesAfter&&!(a+l>=i.length);l++)u=yd(e.buffer,r[a+l],i[a+l],e.position-(r[a]-r[a+l]),d),s+=Bn.repeat(" ",n.indent)+vd((e.line+l+1).toString(),c)+" | "+u.str+` -`;return s.replace(/\n$/,"")}var FL=zL,DL=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],BL=["scalar","sequence","mapping"];function UL(e){var n={};return e!==null&&Object.keys(e).forEach(function(t){e[t].forEach(function(r){n[String(r)]=t})}),n}function WL(e,n){if(n=n||{},Object.keys(n).forEach(function(t){if(DL.indexOf(t)===-1)throw new nr('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.options=n,this.tag=e,this.kind=n.kind||null,this.resolve=n.resolve||function(){return!0},this.construct=n.construct||function(t){return t},this.instanceOf=n.instanceOf||null,this.predicate=n.predicate||null,this.represent=n.represent||null,this.representName=n.representName||null,this.defaultStyle=n.defaultStyle||null,this.multi=n.multi||!1,this.styleAliases=UL(n.styleAliases||null),BL.indexOf(this.kind)===-1)throw new nr('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var $n=WL;function z0(e,n){var t=[];return e[n].forEach(function(r){var i=t.length;t.forEach(function(o,a){o.tag===r.tag&&o.kind===r.kind&&o.multi===r.multi&&(i=a)}),t[i]=r}),t}function HL(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},n,t;function r(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(n=0,t=arguments.length;n=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),dM=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function fM(e){return!(e===null||!dM.test(e)||e[e.length-1]==="_")}function pM(e){var n,t;return n=e.replace(/_/g,"").toLowerCase(),t=n[0]==="-"?-1:1,"+-".indexOf(n[0])>=0&&(n=n.slice(1)),n===".inf"?t===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:n===".nan"?NaN:t*parseFloat(n,10)}var hM=/^[-+]?[0-9]+e/;function mM(e,n){var t;if(isNaN(e))switch(n){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(n){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(n){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Bn.isNegativeZero(e))return"-0.0";return t=e.toString(10),hM.test(t)?t.replace("e",".e"):t}function gM(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Bn.isNegativeZero(e))}var yM=new $n("tag:yaml.org,2002:float",{kind:"scalar",resolve:fM,construct:pM,predicate:gM,represent:mM,defaultStyle:"lowercase"}),vM=qL.extend({implicit:[ZL,rM,cM,yM]}),xM=vM,Kb=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Gb=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function bM(e){return e===null?!1:Kb.exec(e)!==null||Gb.exec(e)!==null}function kM(e){var n,t,r,i,o,a,s,l=0,u=null,c,d,f;if(n=Kb.exec(e),n===null&&(n=Gb.exec(e)),n===null)throw new Error("Date resolve error");if(t=+n[1],r=+n[2]-1,i=+n[3],!n[4])return new Date(Date.UTC(t,r,i));if(o=+n[4],a=+n[5],s=+n[6],n[7]){for(l=n[7].slice(0,3);l.length<3;)l+="0";l=+l}return n[9]&&(c=+n[10],d=+(n[11]||0),u=(c*60+d)*6e4,n[9]==="-"&&(u=-u)),f=new Date(Date.UTC(t,r,i,o,a,s,l)),u&&f.setTime(f.getTime()-u),f}function wM(e){return e.toISOString()}var CM=new $n("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:bM,construct:kM,instanceOf:Date,represent:wM});function SM(e){return e==="<<"||e===null}var EM=new $n("tag:yaml.org,2002:merge",{kind:"scalar",resolve:SM}),Gh=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function _M(e){if(e===null)return!1;var n,t,r=0,i=e.length,o=Gh;for(t=0;t64)){if(n<0)return!1;r+=6}return r%8===0}function PM(e){var n,t,r=e.replace(/[\r\n=]/g,""),i=r.length,o=Gh,a=0,s=[];for(n=0;n>16&255),s.push(a>>8&255),s.push(a&255)),a=a<<6|o.indexOf(r.charAt(n));return t=i%4*6,t===0?(s.push(a>>16&255),s.push(a>>8&255),s.push(a&255)):t===18?(s.push(a>>10&255),s.push(a>>2&255)):t===12&&s.push(a>>4&255),new Uint8Array(s)}function TM(e){var n="",t=0,r,i,o=e.length,a=Gh;for(r=0;r>18&63],n+=a[t>>12&63],n+=a[t>>6&63],n+=a[t&63]),t=(t<<8)+e[r];return i=o%3,i===0?(n+=a[t>>18&63],n+=a[t>>12&63],n+=a[t>>6&63],n+=a[t&63]):i===2?(n+=a[t>>10&63],n+=a[t>>4&63],n+=a[t<<2&63],n+=a[64]):i===1&&(n+=a[t>>2&63],n+=a[t<<4&63],n+=a[64],n+=a[64]),n}function OM(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var IM=new $n("tag:yaml.org,2002:binary",{kind:"scalar",resolve:_M,construct:PM,predicate:OM,represent:TM}),RM=Object.prototype.hasOwnProperty,AM=Object.prototype.toString;function LM(e){if(e===null)return!0;var n=[],t,r,i,o,a,s=e;for(t=0,r=s.length;t>10)+55296,(e-65536&1023)+56320)}var Jb=new Array(256),Zb=new Array(256);for(var ji=0;ji<256;ji++)Jb[ji]=B0(ji)?1:0,Zb[ji]=B0(ji);function ZM(e,n){this.input=e,this.filename=n.filename||null,this.schema=n.schema||HM,this.onWarning=n.onWarning||null,this.legacy=n.legacy||!1,this.json=n.json||!1,this.listener=n.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function e2(e,n){var t={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return t.snippet=FL(t),new nr(n,t)}function ae(e,n){throw e2(e,n)}function cu(e,n){e.onWarning&&e.onWarning.call(null,e2(e,n))}var U0={YAML:function(n,t,r){var i,o,a;n.version!==null&&ae(n,"duplication of %YAML directive"),r.length!==1&&ae(n,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),i===null&&ae(n,"ill-formed argument of the YAML directive"),o=parseInt(i[1],10),a=parseInt(i[2],10),o!==1&&ae(n,"unacceptable YAML version of the document"),n.version=r[0],n.checkLineBreaks=a<2,a!==1&&a!==2&&cu(n,"unsupported YAML version of the document")},TAG:function(n,t,r){var i,o;r.length!==2&&ae(n,"TAG directive accepts exactly two arguments"),i=r[0],o=r[1],Xb.test(i)||ae(n,"ill-formed tag handle (first argument) of the TAG directive"),Dr.call(n.tagMap,i)&&ae(n,'there is a previously declared suffix for "'+i+'" tag handle'),Qb.test(o)||ae(n,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch{ae(n,"tag prefix is malformed: "+o)}n.tagMap[i]=o}};function Nr(e,n,t,r){var i,o,a,s;if(n1&&(e.result+=Bn.repeat(` -`,n-1))}function eN(e,n,t){var r,i,o,a,s,l,u,c,d=e.kind,f=e.result,p;if(p=e.input.charCodeAt(e.position),qn(p)||Zi(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(i=e.input.charCodeAt(e.position+1),qn(i)||t&&Zi(i)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,s=!1;p!==0;){if(p===58){if(i=e.input.charCodeAt(e.position+1),qn(i)||t&&Zi(i))break}else if(p===35){if(r=e.input.charCodeAt(e.position-1),qn(r))break}else{if(e.position===e.lineStart&&Pc(e)||t&&Zi(p))break;if(qt(p))if(l=e.line,u=e.lineStart,c=e.lineIndent,dn(e,!1,-1),e.lineIndent>=n){s=!0,p=e.input.charCodeAt(e.position);continue}else{e.position=a,e.line=l,e.lineStart=u,e.lineIndent=c;break}}s&&(Nr(e,o,a,!1),qh(e,e.line-l),o=a=e.position,s=!1),pi(p)||(a=e.position+1),p=e.input.charCodeAt(++e.position)}return Nr(e,o,a,!1),e.result?!0:(e.kind=d,e.result=f,!1)}function nN(e,n){var t,r,i;if(t=e.input.charCodeAt(e.position),t!==39)return!1;for(e.kind="scalar",e.result="",e.position++,r=i=e.position;(t=e.input.charCodeAt(e.position))!==0;)if(t===39)if(Nr(e,r,e.position,!0),t=e.input.charCodeAt(++e.position),t===39)r=e.position,e.position++,i=e.position;else return!0;else qt(t)?(Nr(e,r,i,!0),qh(e,dn(e,!1,n)),r=i=e.position):e.position===e.lineStart&&Pc(e)?ae(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);ae(e,"unexpected end of the stream within a single quoted scalar")}function tN(e,n){var t,r,i,o,a,s;if(s=e.input.charCodeAt(e.position),s!==34)return!1;for(e.kind="scalar",e.result="",e.position++,t=r=e.position;(s=e.input.charCodeAt(e.position))!==0;){if(s===34)return Nr(e,t,e.position,!0),e.position++,!0;if(s===92){if(Nr(e,t,e.position,!0),s=e.input.charCodeAt(++e.position),qt(s))dn(e,!1,n);else if(s<256&&Jb[s])e.result+=Zb[s],e.position++;else if((a=XM(s))>0){for(i=a,o=0;i>0;i--)s=e.input.charCodeAt(++e.position),(a=qM(s))>=0?o=(o<<4)+a:ae(e,"expected hexadecimal character");e.result+=JM(o),e.position++}else ae(e,"unknown escape sequence");t=r=e.position}else qt(s)?(Nr(e,t,r,!0),qh(e,dn(e,!1,n)),t=r=e.position):e.position===e.lineStart&&Pc(e)?ae(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}ae(e,"unexpected end of the stream within a double quoted scalar")}function rN(e,n){var t=!0,r,i,o,a=e.tag,s,l=e.anchor,u,c,d,f,p,g=Object.create(null),y,w,h,m;if(m=e.input.charCodeAt(e.position),m===91)c=93,p=!1,s=[];else if(m===123)c=125,p=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),m=e.input.charCodeAt(++e.position);m!==0;){if(dn(e,!0,n),m=e.input.charCodeAt(e.position),m===c)return e.position++,e.tag=a,e.anchor=l,e.kind=p?"mapping":"sequence",e.result=s,!0;t?m===44&&ae(e,"expected the node content, but found ','"):ae(e,"missed comma between flow collection entries"),w=y=h=null,d=f=!1,m===63&&(u=e.input.charCodeAt(e.position+1),qn(u)&&(d=f=!0,e.position++,dn(e,!0,n))),r=e.line,i=e.lineStart,o=e.position,Io(e,n,lu,!1,!0),w=e.tag,y=e.result,dn(e,!0,n),m=e.input.charCodeAt(e.position),(f||e.line===r)&&m===58&&(d=!0,m=e.input.charCodeAt(++e.position),dn(e,!0,n),Io(e,n,lu,!1,!0),h=e.result),p?eo(e,s,g,w,y,h,r,i,o):d?s.push(eo(e,null,g,w,y,h,r,i,o)):s.push(y),dn(e,!0,n),m=e.input.charCodeAt(e.position),m===44?(t=!0,m=e.input.charCodeAt(++e.position)):t=!1}ae(e,"unexpected end of the stream within a flow collection")}function iN(e,n){var t,r,i=xd,o=!1,a=!1,s=n,l=0,u=!1,c,d;if(d=e.input.charCodeAt(e.position),d===124)r=!1;else if(d===62)r=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)xd===i?i=d===43?F0:VM:ae(e,"repeat of a chomping mode identifier");else if((c=QM(d))>=0)c===0?ae(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?ae(e,"repeat of an indentation width identifier"):(s=n+c-1,a=!0);else break;if(pi(d)){do d=e.input.charCodeAt(++e.position);while(pi(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!qt(d)&&d!==0)}for(;d!==0;){for(Yh(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!a||e.lineIndents&&(s=e.lineIndent),qt(d)){l++;continue}if(e.lineIndent=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Mj=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Nj(e){return!(e===null||!Mj.test(e)||e[e.length-1]==="_")}function $j(e){var n,t;return n=e.replace(/_/g,"").toLowerCase(),t=n[0]==="-"?-1:1,"+-".indexOf(n[0])>=0&&(n=n.slice(1)),n===".inf"?t===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:n===".nan"?NaN:t*parseFloat(n,10)}var zj=/^[-+]?[0-9]+e/;function Fj(e,n){var t;if(isNaN(e))switch(n){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(n){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(n){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Bn.isNegativeZero(e))return"-0.0";return t=e.toString(10),zj.test(t)?t.replace("e",".e"):t}function Dj(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Bn.isNegativeZero(e))}var Bj=new Nn("tag:yaml.org,2002:float",{kind:"scalar",resolve:Nj,construct:$j,predicate:Dj,represent:Fj,defaultStyle:"lowercase"}),Uj=xj.extend({implicit:[Sj,Pj,jj,Bj]}),Wj=Uj,Kb=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Gb=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Hj(e){return e===null?!1:Kb.exec(e)!==null||Gb.exec(e)!==null}function Vj(e){var n,t,r,i,o,a,s,l=0,u=null,c,d,f;if(n=Kb.exec(e),n===null&&(n=Gb.exec(e)),n===null)throw new Error("Date resolve error");if(t=+n[1],r=+n[2]-1,i=+n[3],!n[4])return new Date(Date.UTC(t,r,i));if(o=+n[4],a=+n[5],s=+n[6],n[7]){for(l=n[7].slice(0,3);l.length<3;)l+="0";l=+l}return n[9]&&(c=+n[10],d=+(n[11]||0),u=(c*60+d)*6e4,n[9]==="-"&&(u=-u)),f=new Date(Date.UTC(t,r,i,o,a,s,l)),u&&f.setTime(f.getTime()-u),f}function Kj(e){return e.toISOString()}var Gj=new Nn("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Hj,construct:Vj,instanceOf:Date,represent:Kj});function qj(e){return e==="<<"||e===null}var Yj=new Nn("tag:yaml.org,2002:merge",{kind:"scalar",resolve:qj}),Gh=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;function Xj(e){if(e===null)return!1;var n,t,r=0,i=e.length,o=Gh;for(t=0;t64)){if(n<0)return!1;r+=6}return r%8===0}function Qj(e){var n,t,r=e.replace(/[\r\n=]/g,""),i=r.length,o=Gh,a=0,s=[];for(n=0;n>16&255),s.push(a>>8&255),s.push(a&255)),a=a<<6|o.indexOf(r.charAt(n));return t=i%4*6,t===0?(s.push(a>>16&255),s.push(a>>8&255),s.push(a&255)):t===18?(s.push(a>>10&255),s.push(a>>2&255)):t===12&&s.push(a>>4&255),new Uint8Array(s)}function Jj(e){var n="",t=0,r,i,o=e.length,a=Gh;for(r=0;r>18&63],n+=a[t>>12&63],n+=a[t>>6&63],n+=a[t&63]),t=(t<<8)+e[r];return i=o%3,i===0?(n+=a[t>>18&63],n+=a[t>>12&63],n+=a[t>>6&63],n+=a[t&63]):i===2?(n+=a[t>>10&63],n+=a[t>>4&63],n+=a[t<<2&63],n+=a[64]):i===1&&(n+=a[t>>2&63],n+=a[t<<4&63],n+=a[64],n+=a[64]),n}function Zj(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var eM=new Nn("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Xj,construct:Qj,predicate:Zj,represent:Jj}),nM=Object.prototype.hasOwnProperty,tM=Object.prototype.toString;function rM(e){if(e===null)return!0;var n=[],t,r,i,o,a,s=e;for(t=0,r=s.length;t>10)+55296,(e-65536&1023)+56320)}var Jb=new Array(256),Zb=new Array(256);for(var zi=0;zi<256;zi++)Jb[zi]=B0(zi)?1:0,Zb[zi]=B0(zi);function SM(e,n){this.input=e,this.filename=n.filename||null,this.schema=n.schema||hM,this.onWarning=n.onWarning||null,this.legacy=n.legacy||!1,this.json=n.json||!1,this.listener=n.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function e2(e,n){var t={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return t.snippet=uj(t),new nr(n,t)}function ae(e,n){throw e2(e,n)}function cu(e,n){e.onWarning&&e.onWarning.call(null,e2(e,n))}var U0={YAML:function(n,t,r){var i,o,a;n.version!==null&&ae(n,"duplication of %YAML directive"),r.length!==1&&ae(n,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),i===null&&ae(n,"ill-formed argument of the YAML directive"),o=parseInt(i[1],10),a=parseInt(i[2],10),o!==1&&ae(n,"unacceptable YAML version of the document"),n.version=r[0],n.checkLineBreaks=a<2,a!==1&&a!==2&&cu(n,"unsupported YAML version of the document")},TAG:function(n,t,r){var i,o;r.length!==2&&ae(n,"TAG directive accepts exactly two arguments"),i=r[0],o=r[1],Xb.test(i)||ae(n,"ill-formed tag handle (first argument) of the TAG directive"),Dr.call(n.tagMap,i)&&ae(n,'there is a previously declared suffix for "'+i+'" tag handle'),Qb.test(o)||ae(n,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch{ae(n,"tag prefix is malformed: "+o)}n.tagMap[i]=o}};function Mr(e,n,t,r){var i,o,a,s;if(n1&&(e.result+=Bn.repeat(` +`,n-1))}function CM(e,n,t){var r,i,o,a,s,l,u,c,d=e.kind,f=e.result,p;if(p=e.input.charCodeAt(e.position),Yn(p)||eo(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(i=e.input.charCodeAt(e.position+1),Yn(i)||t&&eo(i)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,s=!1;p!==0;){if(p===58){if(i=e.input.charCodeAt(e.position+1),Yn(i)||t&&eo(i))break}else if(p===35){if(r=e.input.charCodeAt(e.position-1),Yn(r))break}else{if(e.position===e.lineStart&&Pc(e)||t&&eo(p))break;if(Yt(p))if(l=e.line,u=e.lineStart,c=e.lineIndent,dn(e,!1,-1),e.lineIndent>=n){s=!0,p=e.input.charCodeAt(e.position);continue}else{e.position=a,e.line=l,e.lineStart=u,e.lineIndent=c;break}}s&&(Mr(e,o,a,!1),Yh(e,e.line-l),o=a=e.position,s=!1),hi(p)||(a=e.position+1),p=e.input.charCodeAt(++e.position)}return Mr(e,o,a,!1),e.result?!0:(e.kind=d,e.result=f,!1)}function _M(e,n){var t,r,i;if(t=e.input.charCodeAt(e.position),t!==39)return!1;for(e.kind="scalar",e.result="",e.position++,r=i=e.position;(t=e.input.charCodeAt(e.position))!==0;)if(t===39)if(Mr(e,r,e.position,!0),t=e.input.charCodeAt(++e.position),t===39)r=e.position,e.position++,i=e.position;else return!0;else Yt(t)?(Mr(e,r,i,!0),Yh(e,dn(e,!1,n)),r=i=e.position):e.position===e.lineStart&&Pc(e)?ae(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);ae(e,"unexpected end of the stream within a single quoted scalar")}function EM(e,n){var t,r,i,o,a,s;if(s=e.input.charCodeAt(e.position),s!==34)return!1;for(e.kind="scalar",e.result="",e.position++,t=r=e.position;(s=e.input.charCodeAt(e.position))!==0;){if(s===34)return Mr(e,t,e.position,!0),e.position++,!0;if(s===92){if(Mr(e,t,e.position,!0),s=e.input.charCodeAt(++e.position),Yt(s))dn(e,!1,n);else if(s<256&&Jb[s])e.result+=Zb[s],e.position++;else if((a=bM(s))>0){for(i=a,o=0;i>0;i--)s=e.input.charCodeAt(++e.position),(a=xM(s))>=0?o=(o<<4)+a:ae(e,"expected hexadecimal character");e.result+=wM(o),e.position++}else ae(e,"unknown escape sequence");t=r=e.position}else Yt(s)?(Mr(e,t,r,!0),Yh(e,dn(e,!1,n)),t=r=e.position):e.position===e.lineStart&&Pc(e)?ae(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}ae(e,"unexpected end of the stream within a double quoted scalar")}function PM(e,n){var t=!0,r,i,o,a=e.tag,s,l=e.anchor,u,c,d,f,p,g=Object.create(null),y,w,h,m;if(m=e.input.charCodeAt(e.position),m===91)c=93,p=!1,s=[];else if(m===123)c=125,p=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),m=e.input.charCodeAt(++e.position);m!==0;){if(dn(e,!0,n),m=e.input.charCodeAt(e.position),m===c)return e.position++,e.tag=a,e.anchor=l,e.kind=p?"mapping":"sequence",e.result=s,!0;t?m===44&&ae(e,"expected the node content, but found ','"):ae(e,"missed comma between flow collection entries"),w=y=h=null,d=f=!1,m===63&&(u=e.input.charCodeAt(e.position+1),Yn(u)&&(d=f=!0,e.position++,dn(e,!0,n))),r=e.line,i=e.lineStart,o=e.position,Io(e,n,lu,!1,!0),w=e.tag,y=e.result,dn(e,!0,n),m=e.input.charCodeAt(e.position),(f||e.line===r)&&m===58&&(d=!0,m=e.input.charCodeAt(++e.position),dn(e,!0,n),Io(e,n,lu,!1,!0),h=e.result),p?no(e,s,g,w,y,h,r,i,o):d?s.push(no(e,null,g,w,y,h,r,i,o)):s.push(y),dn(e,!0,n),m=e.input.charCodeAt(e.position),m===44?(t=!0,m=e.input.charCodeAt(++e.position)):t=!1}ae(e,"unexpected end of the stream within a flow collection")}function TM(e,n){var t,r,i=xd,o=!1,a=!1,s=n,l=0,u=!1,c,d;if(d=e.input.charCodeAt(e.position),d===124)r=!1;else if(d===62)r=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)xd===i?i=d===43?F0:mM:ae(e,"repeat of a chomping mode identifier");else if((c=kM(d))>=0)c===0?ae(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?ae(e,"repeat of an indentation width identifier"):(s=n+c-1,a=!0);else break;if(hi(d)){do d=e.input.charCodeAt(++e.position);while(hi(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!Yt(d)&&d!==0)}for(;d!==0;){for(qh(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!a||e.lineIndents&&(s=e.lineIndent),Yt(d)){l++;continue}if(e.lineIndentn)&&l!==0)ae(e,"bad indentation of a sequence entry");else if(e.lineIndentn)&&(w&&(a=e.line,s=e.lineStart,l=e.position),Io(e,n,uu,!0,i)&&(w?g=e.result:y=e.result),w||(eo(e,d,f,p,g,y,a,s,l),p=g=y=null),dn(e,!0,-1),m=e.input.charCodeAt(e.position)),(e.line===o||e.lineIndent>n)&&m!==0)ae(e,"bad indentation of a mapping entry");else if(e.lineIndentn?l=1:e.lineIndent===n?l=0:e.lineIndentn?l=1:e.lineIndent===n?l=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),d=0,f=e.implicitTypes.length;d"),e.result!==null&&g.kind!==e.kind&&ae(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+g.kind+'", not "'+e.kind+'"'),g.resolve(e.result,e.tag)?(e.result=g.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):ae(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||c}function uN(e){var n=e.position,t,r,i,o=!1,a;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(a=e.input.charCodeAt(e.position))!==0&&(dn(e,!0,-1),a=e.input.charCodeAt(e.position),!(e.lineIndent>0||a!==37));){for(o=!0,a=e.input.charCodeAt(++e.position),t=e.position;a!==0&&!qn(a);)a=e.input.charCodeAt(++e.position);for(r=e.input.slice(t,e.position),i=[],r.length<1&&ae(e,"directive name must not be less than one character in length");a!==0;){for(;pi(a);)a=e.input.charCodeAt(++e.position);if(a===35){do a=e.input.charCodeAt(++e.position);while(a!==0&&!qt(a));break}if(qt(a))break;for(t=e.position;a!==0&&!qn(a);)a=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}a!==0&&Yh(e),Dr.call(U0,r)?U0[r](e,r,i):cu(e,'unknown document directive "'+r+'"')}if(dn(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,dn(e,!0,-1)):o&&ae(e,"directives end mark is expected"),Io(e,e.lineIndent-1,uu,!1,!0),dn(e,!0,-1),e.checkLineBreaks&&GM.test(e.input.slice(n,e.position))&&cu(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Pc(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,dn(e,!0,-1));return}if(e.position"u"&&(t=n,n=null);var r=n2(e,t);if(typeof n!="function")return r;for(var i=0,o=r.length;i{const t=mN(n),r=e.replace(/\/[^/]*?\.yaml$/,"/screenshots");t.screenshots=Object.entries(yN).filter(([o])=>o.startsWith(r)).map(([o,a])=>a),t.languages=t.languages.map(_L);const i=e.split("/").slice(-2,-1)[0];return t.slug=i,t});function vN(e,n){const t=n||{};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const xN=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,bN=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,kN={};function V0(e,n){return((n||kN).jsx?bN:xN).test(e)}const wN=/[ \t\n\f\r]/g;function CN(e){return typeof e=="object"?e.type==="text"?K0(e.value):!1:K0(e)}function K0(e){return e.replace(wN,"")===""}class ys{constructor(n,t,r){this.property=n,this.normal=t,r&&(this.space=r)}}ys.prototype.property={};ys.prototype.normal={};ys.prototype.space=null;function t2(e,n){const t={},r={};let i=-1;for(;++i4&&t.slice(0,4)==="data"&&TN.test(n)){if(n.charAt(4)==="-"){const o=n.slice(5).replace(Y0,AN);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=n.slice(4);if(!Y0.test(o)){let a=o.replace(ON,RN);a.charAt(0)!=="-"&&(a="-"+a),n="data"+a}}i=Xh}return new i(r,n)}function RN(e){return"-"+e.toLowerCase()}function AN(e){return e.charAt(1).toUpperCase()}const LN={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},MN=t2([o2,i2,l2,u2,_N],"html"),Qh=t2([o2,i2,l2,u2,PN],"svg");function NN(e){return e.join(" ").trim()}var c2={},q0=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,$N=/\n/g,jN=/^\s*/,zN=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,FN=/^:\s*/,DN=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,BN=/^[;\s]*/,UN=/^\s+|\s+$/g,WN=` -`,X0="/",Q0="*",ni="",HN="comment",VN="declaration",KN=function(e,n){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];n=n||{};var t=1,r=1;function i(g){var y=g.match($N);y&&(t+=y.length);var w=g.lastIndexOf(WN);r=~w?g.length-w:r+g.length}function o(){var g={line:t,column:r};return function(y){return y.position=new a(g),u(),y}}function a(g){this.start=g,this.end={line:t,column:r},this.source=n.source}a.prototype.content=e;function s(g){var y=new Error(n.source+":"+t+":"+r+": "+g);if(y.reason=g,y.filename=n.source,y.line=t,y.column=r,y.source=e,!n.silent)throw y}function l(g){var y=g.exec(e);if(y){var w=y[0];return i(w),e=e.slice(w.length),y}}function u(){l(jN)}function c(g){var y;for(g=g||[];y=d();)y!==!1&&g.push(y);return g}function d(){var g=o();if(!(X0!=e.charAt(0)||Q0!=e.charAt(1))){for(var y=2;ni!=e.charAt(y)&&(Q0!=e.charAt(y)||X0!=e.charAt(y+1));)++y;if(y+=2,ni===e.charAt(y-1))return s("End of comment missing");var w=e.slice(2,y-2);return r+=2,i(w),e=e.slice(y),r+=2,g({type:HN,comment:w})}}function f(){var g=o(),y=l(zN);if(y){if(d(),!l(FN))return s("property missing ':'");var w=l(DN),h=g({type:VN,property:J0(y[0].replace(q0,ni)),value:w?J0(w[0].replace(q0,ni)):ni});return l(BN),h}}function p(){var g=[];c(g);for(var y;y=f();)y!==!1&&(g.push(y),c(g));return g}return u(),p()};function J0(e){return e?e.replace(UN,ni):ni}var GN=Em&&Em.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(c2,"__esModule",{value:!0});var YN=GN(KN);function qN(e,n){var t=null;if(!e||typeof e!="string")return t;var r=(0,YN.default)(e),i=typeof n=="function";return r.forEach(function(o){if(o.type==="declaration"){var a=o.property,s=o.value;i?n(a,s,o):s&&(t=t||{},t[a]=s)}}),t}var Z0=c2.default=qN;const XN=Z0.default||Z0,d2=f2("end"),Jh=f2("start");function f2(e){return n;function n(t){const r=t&&t.position&&t.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function QN(e){const n=Jh(e),t=d2(e);if(n&&t)return{start:n,end:t}}function Ea(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ey(e.position):"start"in e||"end"in e?ey(e):"line"in e||"column"in e?Yf(e):""}function Yf(e){return ny(e&&e.line)+":"+ny(e&&e.column)}function ey(e){return Yf(e&&e.start)+"-"+Yf(e&&e.end)}function ny(e){return e&&typeof e=="number"?e:1}class zn extends Error{constructor(n,t,r){super(),typeof t=="string"&&(r=t,t=void 0);let i="",o={},a=!1;if(t&&("line"in t&&"column"in t?o={place:t}:"start"in t&&"end"in t?o={place:t}:"type"in t?o={ancestors:[t],place:t.position}:o={...t}),typeof n=="string"?i=n:!o.cause&&n&&(a=!0,i=n.message,o.cause=n),!o.ruleId&&!o.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?o.ruleId=r:(o.source=r.slice(0,l),o.ruleId=r.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){const l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}const s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=Ea(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}zn.prototype.file="";zn.prototype.name="";zn.prototype.reason="";zn.prototype.message="";zn.prototype.stack="";zn.prototype.column=void 0;zn.prototype.line=void 0;zn.prototype.ancestors=void 0;zn.prototype.cause=void 0;zn.prototype.fatal=void 0;zn.prototype.place=void 0;zn.prototype.ruleId=void 0;zn.prototype.source=void 0;const Zh={}.hasOwnProperty,JN=new Map,ZN=/[A-Z]/g,e$=/-([a-z])/g,n$=new Set(["table","tbody","thead","tfoot","tr"]),t$=new Set(["td","th"]),p2="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function r$(e,n){if(!n||n.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=n.filePath||void 0;let r;if(n.development){if(typeof n.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=d$(t,n.jsxDEV)}else{if(typeof n.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof n.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=c$(t,n.jsx,n.jsxs)}const i={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:r,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:n.passKeys!==!1,passNode:n.passNode||!1,schema:n.space==="svg"?Qh:MN,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},o=h2(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function h2(e,n,t){if(n.type==="element")return i$(e,n,t);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return o$(e,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return s$(e,n,t);if(n.type==="mdxjsEsm")return a$(e,n);if(n.type==="root")return l$(e,n,t);if(n.type==="text")return u$(e,n)}function i$(e,n,t){const r=e.schema;let i=r;n.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Qh,e.schema=i),e.ancestors.push(n);const o=g2(e,n.tagName,!1),a=f$(e,n);let s=nm(e,n);return n$.has(n.tagName)&&(s=s.filter(function(l){return typeof l=="string"?!CN(l):!0})),m2(e,a,o,n),em(a,s),e.ancestors.pop(),e.schema=r,e.create(n,o,a,t)}function o$(e,n){if(n.data&&n.data.estree&&e.evaluater){const r=n.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}ns(e,n.position)}function a$(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);ns(e,n.position)}function s$(e,n,t){const r=e.schema;let i=r;n.name==="svg"&&r.space==="html"&&(i=Qh,e.schema=i),e.ancestors.push(n);const o=n.name===null?e.Fragment:g2(e,n.name,!0),a=p$(e,n),s=nm(e,n);return m2(e,a,o,n),em(a,s),e.ancestors.pop(),e.schema=r,e.create(n,o,a,t)}function l$(e,n,t){const r={};return em(r,nm(e,n)),e.create(n,e.Fragment,r,t)}function u$(e,n){return n.value}function m2(e,n,t,r){typeof t!="string"&&t!==e.Fragment&&e.passNode&&(n.node=r)}function em(e,n){if(n.length>0){const t=n.length>1?n:n[0];t&&(e.children=t)}}function c$(e,n,t){return r;function r(i,o,a,s){const u=Array.isArray(a.children)?t:n;return s?u(o,a,s):u(o,a)}}function d$(e,n){return t;function t(r,i,o,a){const s=Array.isArray(o.children),l=Jh(r);return n(i,o,a,s,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function f$(e,n){const t={};let r,i;for(i in n.properties)if(i!=="children"&&Zh.call(n.properties,i)){const o=h$(e,i,n.properties[i]);if(o){const[a,s]=o;e.tableCellAlignToStyle&&a==="align"&&typeof s=="string"&&t$.has(n.tagName)?r=s:t[a]=s}}if(r){const o=t.style||(t.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return t}function p$(e,n){const t={};for(const r of n.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const a=o.expression;a.type;const s=a.properties[0];s.type,Object.assign(t,e.evaluater.evaluateExpression(s.argument))}else ns(e,n.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,o=e.evaluater.evaluateExpression(s.expression)}else ns(e,n.position);else o=r.value===null?!0:r.value;t[i]=o}return t}function nm(e,n){const t=[];let r=-1;const i=e.passKeys?new Map:JN;for(;++ri?0:i+n:n=n>i?i:n,t=t>0?t:0,r.length<1e4)a=Array.from(r),a.unshift(n,t),e.splice(...a);else for(t&&e.splice(n,t);o0?(Qt(e,e.length,0,n),e):n}const iy={}.hasOwnProperty;function C$(e){const n={};let t=-1;for(;++t13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function go(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const _$=Yr(new RegExp("\\p{P}","u")),Ht=Yr(/[A-Za-z]/),lt=Yr(/[\dA-Za-z]/),P$=Yr(/[#-'*+\--9=?A-Z^-~]/);function qf(e){return e!==null&&(e<32||e===127)}const Xf=Yr(/\d/),T$=Yr(/[\dA-Fa-f]/),x2=Yr(/[!-/:-@[-`{-~]/);function fe(e){return e!==null&&e<-2}function et(e){return e!==null&&(e<0||e===32)}function Ne(e){return e===-2||e===-1||e===32}function O$(e){return x2(e)||_$(e)}const I$=Yr(/\s/);function Yr(e){return n;function n(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function zo(e){const n=[];let t=-1,r=0,i=0;for(;++t55295&&o<57344){const s=e.charCodeAt(t+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),i=1):a="�"}else a=String.fromCharCode(o);a&&(n.push(e.slice(r,t),encodeURIComponent(a)),r=t+i+1,a=""),i&&(t+=i,i=0)}return n.join("")+e.slice(r)}function He(e,n,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return a;function a(l){return Ne(l)?(e.enter(t),s(l)):n(l)}function s(l){return Ne(l)&&o++a))return;const _=n.events.length;let R=_,I,O;for(;R--;)if(n.events[R][0]==="exit"&&n.events[R][1].type==="chunkFlow"){if(I){O=n.events[R][1].end;break}I=!0}for(h(r),C=_;Cv;){const E=t[b];n.containerState=E[1],E[0].exit.call(n,e)}t.length=v}function m(){i.write([null]),o=void 0,i=void 0,n.containerState._closeFlow=void 0}}function N$(e,n,t){return He(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ay(e){if(e===null||et(e)||I$(e))return 1;if(O$(e))return 2}function rm(e,n,t){const r=[];let i=-1;for(;++i1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),f=Object.assign({},e[t][1].start);sy(d,-l),sy(f,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[t][1].start),end:f},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[t][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},a.start),e[t][1].start=Object.assign({},s.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=bt(u,[["enter",e[r][1],n],["exit",e[r][1],n]])),u=bt(u,[["enter",i,n],["enter",a,n],["exit",a,n],["enter",o,n]]),u=bt(u,rm(n.parser.constructs.insideSpan.null,e.slice(r+1,t),n)),u=bt(u,[["exit",o,n],["enter",s,n],["exit",s,n],["exit",i,n]]),e[t][1].end.offset-e[t][1].start.offset?(c=2,u=bt(u,[["enter",e[t][1],n],["exit",e[t][1],n]])):c=0,Qt(e,r-1,t-r+3,u),t=r+u.length-c-2;break}}for(t=-1;++t0&&Ne(C)?He(e,m,"linePrefix",o+1)(C):m(C)}function m(C){return C===null||fe(C)?e.check(ly,y,b)(C):(e.enter("codeFlowValue"),v(C))}function v(C){return C===null||fe(C)?(e.exit("codeFlowValue"),m(C)):(e.consume(C),v)}function b(C){return e.exit("codeFenced"),n(C)}function E(C,_,R){let I=0;return O;function O(j){return C.enter("lineEnding"),C.consume(j),C.exit("lineEnding"),L}function L(j){return C.enter("codeFencedFence"),Ne(j)?He(C,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):M(j)}function M(j){return j===s?(C.enter("codeFencedFenceSequence"),D(j)):R(j)}function D(j){return j===s?(I++,C.consume(j),D):I>=a?(C.exit("codeFencedFenceSequence"),Ne(j)?He(C,F,"whitespace")(j):F(j)):R(j)}function F(j){return j===null||fe(j)?(C.exit("codeFencedFence"),_(j)):R(j)}}}function G$(e,n,t){const r=this;return i;function i(a){return a===null?t(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?t(a):n(a)}}const wd={name:"codeIndented",tokenize:q$},Y$={tokenize:X$,partial:!0};function q$(e,n,t){const r=this;return i;function i(u){return e.enter("codeIndented"),He(e,o,"linePrefix",5)(u)}function o(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?a(u):t(u)}function a(u){return u===null?l(u):fe(u)?e.attempt(Y$,a,l)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||fe(u)?(e.exit("codeFlowValue"),a(u)):(e.consume(u),s)}function l(u){return e.exit("codeIndented"),n(u)}}function X$(e,n,t){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?t(a):fe(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):He(e,o,"linePrefix",5)(a)}function o(a){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?n(a):fe(a)?i(a):t(a)}}const Q$={name:"codeText",tokenize:ej,resolve:J$,previous:Z$};function J$(e){let n=e.length-4,t=3,r,i;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(r=t;++r=4?n(a):e.interrupt(r.parser.constructs.flow,t,n)(a)}}function S2(e,n,t,r,i,o,a,s,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return d;function d(h){return h===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(h),e.exit(o),f):h===null||h===32||h===41||qf(h)?t(h):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),y(h))}function f(h){return h===62?(e.enter(o),e.consume(h),e.exit(o),e.exit(i),e.exit(r),n):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(h))}function p(h){return h===62?(e.exit("chunkString"),e.exit(s),f(h)):h===null||h===60||fe(h)?t(h):(e.consume(h),h===92?g:p)}function g(h){return h===60||h===62||h===92?(e.consume(h),p):p(h)}function y(h){return!c&&(h===null||h===41||et(h))?(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),n(h)):c999||p===null||p===91||p===93&&!l||p===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?t(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),n):fe(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||fe(p)||s++>999?(e.exit("chunkString"),c(p)):(e.consume(p),l||(l=!Ne(p)),p===92?f:d)}function f(p){return p===91||p===92||p===93?(e.consume(p),s++,d):d(p)}}function _2(e,n,t,r,i,o){let a;return s;function s(f){return f===34||f===39||f===40?(e.enter(r),e.enter(i),e.consume(f),e.exit(i),a=f===40?41:f,l):t(f)}function l(f){return f===a?(e.enter(i),e.consume(f),e.exit(i),e.exit(r),n):(e.enter(o),u(f))}function u(f){return f===a?(e.exit(o),l(a)):f===null?t(f):fe(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),He(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===a||f===null||fe(f)?(e.exit("chunkString"),u(f)):(e.consume(f),f===92?d:c)}function d(f){return f===a||f===92?(e.consume(f),c):c(f)}}function _a(e,n){let t;return r;function r(i){return fe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):Ne(i)?He(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}const sj={name:"definition",tokenize:uj},lj={tokenize:cj,partial:!0};function uj(e,n,t){const r=this;let i;return o;function o(p){return e.enter("definition"),a(p)}function a(p){return E2.call(r,e,s,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return i=go(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):t(p)}function l(p){return et(p)?_a(e,u)(p):u(p)}function u(p){return S2(e,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(lj,d,d)(p)}function d(p){return Ne(p)?He(e,f,"whitespace")(p):f(p)}function f(p){return p===null||fe(p)?(e.exit("definition"),r.parser.defined.push(i),n(p)):t(p)}}function cj(e,n,t){return r;function r(s){return et(s)?_a(e,i)(s):t(s)}function i(s){return _2(e,o,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return Ne(s)?He(e,a,"whitespace")(s):a(s)}function a(s){return s===null||fe(s)?n(s):t(s)}}const dj={name:"hardBreakEscape",tokenize:fj};function fj(e,n,t){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return fe(o)?(e.exit("hardBreakEscape"),n(o)):t(o)}}const pj={name:"headingAtx",tokenize:mj,resolve:hj};function hj(e,n){let t=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),t-2>r&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&e[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[t][1].end},o={type:"chunkText",start:e[r][1].start,end:e[t][1].end,contentType:"text"},Qt(e,r,t-r+1,[["enter",i,n],["enter",o,n],["exit",o,n],["exit",i,n]])),e}function mj(e,n,t){let r=0;return i;function i(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),a(c)}function a(c){return c===35&&r++<6?(e.consume(c),a):c===null||et(c)?(e.exit("atxHeadingSequence"),s(c)):t(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),l(c)):c===null||fe(c)?(e.exit("atxHeading"),n(c)):Ne(c)?He(e,s,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function l(c){return c===35?(e.consume(c),l):(e.exit("atxHeadingSequence"),s(c))}function u(c){return c===null||c===35||et(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),u)}}const gj=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],cy=["pre","script","style","textarea"],yj={name:"htmlFlow",tokenize:kj,resolveTo:bj,concrete:!0},vj={tokenize:Cj,partial:!0},xj={tokenize:wj,partial:!0};function bj(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function kj(e,n,t){const r=this;let i,o,a,s,l;return u;function u(T){return c(T)}function c(T){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(T),d}function d(T){return T===33?(e.consume(T),f):T===47?(e.consume(T),o=!0,y):T===63?(e.consume(T),i=3,r.interrupt?n:S):Ht(T)?(e.consume(T),a=String.fromCharCode(T),w):t(T)}function f(T){return T===45?(e.consume(T),i=2,p):T===91?(e.consume(T),i=5,s=0,g):Ht(T)?(e.consume(T),i=4,r.interrupt?n:S):t(T)}function p(T){return T===45?(e.consume(T),r.interrupt?n:S):t(T)}function g(T){const Z="CDATA[";return T===Z.charCodeAt(s++)?(e.consume(T),s===Z.length?r.interrupt?n:M:g):t(T)}function y(T){return Ht(T)?(e.consume(T),a=String.fromCharCode(T),w):t(T)}function w(T){if(T===null||T===47||T===62||et(T)){const Z=T===47,ge=a.toLowerCase();return!Z&&!o&&cy.includes(ge)?(i=1,r.interrupt?n(T):M(T)):gj.includes(a.toLowerCase())?(i=6,Z?(e.consume(T),h):r.interrupt?n(T):M(T)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(T):o?m(T):v(T))}return T===45||lt(T)?(e.consume(T),a+=String.fromCharCode(T),w):t(T)}function h(T){return T===62?(e.consume(T),r.interrupt?n:M):t(T)}function m(T){return Ne(T)?(e.consume(T),m):O(T)}function v(T){return T===47?(e.consume(T),O):T===58||T===95||Ht(T)?(e.consume(T),b):Ne(T)?(e.consume(T),v):O(T)}function b(T){return T===45||T===46||T===58||T===95||lt(T)?(e.consume(T),b):E(T)}function E(T){return T===61?(e.consume(T),C):Ne(T)?(e.consume(T),E):v(T)}function C(T){return T===null||T===60||T===61||T===62||T===96?t(T):T===34||T===39?(e.consume(T),l=T,_):Ne(T)?(e.consume(T),C):R(T)}function _(T){return T===l?(e.consume(T),l=null,I):T===null||fe(T)?t(T):(e.consume(T),_)}function R(T){return T===null||T===34||T===39||T===47||T===60||T===61||T===62||T===96||et(T)?E(T):(e.consume(T),R)}function I(T){return T===47||T===62||Ne(T)?v(T):t(T)}function O(T){return T===62?(e.consume(T),L):t(T)}function L(T){return T===null||fe(T)?M(T):Ne(T)?(e.consume(T),L):t(T)}function M(T){return T===45&&i===2?(e.consume(T),U):T===60&&i===1?(e.consume(T),B):T===62&&i===4?(e.consume(T),ce):T===63&&i===3?(e.consume(T),S):T===93&&i===5?(e.consume(T),N):fe(T)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(vj,ue,D)(T)):T===null||fe(T)?(e.exit("htmlFlowData"),D(T)):(e.consume(T),M)}function D(T){return e.check(xj,F,ue)(T)}function F(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),j}function j(T){return T===null||fe(T)?D(T):(e.enter("htmlFlowData"),M(T))}function U(T){return T===45?(e.consume(T),S):M(T)}function B(T){return T===47?(e.consume(T),a="",A):M(T)}function A(T){if(T===62){const Z=a.toLowerCase();return cy.includes(Z)?(e.consume(T),ce):M(T)}return Ht(T)&&a.length<8?(e.consume(T),a+=String.fromCharCode(T),A):M(T)}function N(T){return T===93?(e.consume(T),S):M(T)}function S(T){return T===62?(e.consume(T),ce):T===45&&i===2?(e.consume(T),S):M(T)}function ce(T){return T===null||fe(T)?(e.exit("htmlFlowData"),ue(T)):(e.consume(T),ce)}function ue(T){return e.exit("htmlFlow"),n(T)}}function wj(e,n,t){const r=this;return i;function i(a){return fe(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):t(a)}function o(a){return r.parser.lazy[r.now().line]?t(a):n(a)}}function Cj(e,n,t){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Tc,n,t)}}const Sj={name:"htmlText",tokenize:Ej};function Ej(e,n,t){const r=this;let i,o,a;return s;function s(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),l}function l(S){return S===33?(e.consume(S),u):S===47?(e.consume(S),E):S===63?(e.consume(S),v):Ht(S)?(e.consume(S),R):t(S)}function u(S){return S===45?(e.consume(S),c):S===91?(e.consume(S),o=0,g):Ht(S)?(e.consume(S),m):t(S)}function c(S){return S===45?(e.consume(S),p):t(S)}function d(S){return S===null?t(S):S===45?(e.consume(S),f):fe(S)?(a=d,B(S)):(e.consume(S),d)}function f(S){return S===45?(e.consume(S),p):d(S)}function p(S){return S===62?U(S):S===45?f(S):d(S)}function g(S){const ce="CDATA[";return S===ce.charCodeAt(o++)?(e.consume(S),o===ce.length?y:g):t(S)}function y(S){return S===null?t(S):S===93?(e.consume(S),w):fe(S)?(a=y,B(S)):(e.consume(S),y)}function w(S){return S===93?(e.consume(S),h):y(S)}function h(S){return S===62?U(S):S===93?(e.consume(S),h):y(S)}function m(S){return S===null||S===62?U(S):fe(S)?(a=m,B(S)):(e.consume(S),m)}function v(S){return S===null?t(S):S===63?(e.consume(S),b):fe(S)?(a=v,B(S)):(e.consume(S),v)}function b(S){return S===62?U(S):v(S)}function E(S){return Ht(S)?(e.consume(S),C):t(S)}function C(S){return S===45||lt(S)?(e.consume(S),C):_(S)}function _(S){return fe(S)?(a=_,B(S)):Ne(S)?(e.consume(S),_):U(S)}function R(S){return S===45||lt(S)?(e.consume(S),R):S===47||S===62||et(S)?I(S):t(S)}function I(S){return S===47?(e.consume(S),U):S===58||S===95||Ht(S)?(e.consume(S),O):fe(S)?(a=I,B(S)):Ne(S)?(e.consume(S),I):U(S)}function O(S){return S===45||S===46||S===58||S===95||lt(S)?(e.consume(S),O):L(S)}function L(S){return S===61?(e.consume(S),M):fe(S)?(a=L,B(S)):Ne(S)?(e.consume(S),L):I(S)}function M(S){return S===null||S===60||S===61||S===62||S===96?t(S):S===34||S===39?(e.consume(S),i=S,D):fe(S)?(a=M,B(S)):Ne(S)?(e.consume(S),M):(e.consume(S),F)}function D(S){return S===i?(e.consume(S),i=void 0,j):S===null?t(S):fe(S)?(a=D,B(S)):(e.consume(S),D)}function F(S){return S===null||S===34||S===39||S===60||S===61||S===96?t(S):S===47||S===62||et(S)?I(S):(e.consume(S),F)}function j(S){return S===47||S===62||et(S)?I(S):t(S)}function U(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),n):t(S)}function B(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),A}function A(S){return Ne(S)?He(e,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):N(S)}function N(S){return e.enter("htmlTextData"),a(S)}}const im={name:"labelEnd",tokenize:Rj,resolveTo:Ij,resolveAll:Oj},_j={tokenize:Aj},Pj={tokenize:Lj},Tj={tokenize:Mj};function Oj(e){let n=-1;for(;++n=3&&(u===null||fe(u))?(e.exit("thematicBreak"),n(u)):t(u)}function l(u){return u===i?(e.consume(u),r++,l):(e.exit("thematicBreakSequence"),Ne(u)?He(e,s,"whitespace")(u):s(u))}}const Kn={name:"list",tokenize:Wj,continuation:{tokenize:Hj},exit:Kj},Bj={tokenize:Gj,partial:!0},Uj={tokenize:Vj,partial:!0};function Wj(e,n,t){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return s;function s(p){const g=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Xf(p)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(xl,t,u)(p):u(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return t(p)}function l(p){return Xf(p)&&++a<10?(e.consume(p),l):(!r.interrupt||a<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):t(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Tc,r.interrupt?t:c,e.attempt(Bj,f,d))}function c(p){return r.containerState.initialBlankLine=!0,o++,f(p)}function d(p){return Ne(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),f):t(p)}function f(p){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(p)}}function Hj(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(Tc,i,o);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,He(e,n,"listItemIndent",r.containerState.size+1)(s)}function o(s){return r.containerState.furtherBlankLines||!Ne(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Uj,n,a)(s))}function a(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,He(e,e.attempt(Kn,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Vj(e,n,t){const r=this;return He(e,i,"listItemIndent",r.containerState.size+1);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?n(o):t(o)}}function Kj(e){e.exit(this.containerState.type)}function Gj(e,n,t){const r=this;return He(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const a=r.events[r.events.length-1];return!Ne(o)&&a&&a[1].type==="listItemPrefixWhitespace"?n(o):t(o)}}const dy={name:"setextUnderline",tokenize:qj,resolveTo:Yj};function Yj(e,n){let t=e.length,r,i,o;for(;t--;)if(e[t][0]==="enter"){if(e[t][1].type==="content"){r=t;break}e[t][1].type==="paragraph"&&(i=t)}else e[t][1].type==="content"&&e.splice(t,1),!o&&e[t][1].type==="definition"&&(o=t);const a={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",a,n]),e.splice(o+1,0,["exit",e[r][1],n]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=a,e.push(["exit",a,n]),e}function qj(e,n,t){const r=this;let i;return o;function o(u){let c=r.events.length,d;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){d=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=u,a(u)):t(u)}function a(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===i?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),Ne(u)?He(e,l,"lineSuffix")(u):l(u))}function l(u){return u===null||fe(u)?(e.exit("setextHeadingLine"),n(u)):t(u)}}const Xj={tokenize:Qj};function Qj(e){const n=this,t=e.attempt(Tc,r,e.attempt(this.parser.constructs.flowInitial,i,He(e,e.attempt(this.parser.constructs.flow,i,e.attempt(tj,i)),"linePrefix")));return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n.currentConstruct=void 0,t}}const Jj={resolveAll:T2()},Zj=P2("string"),e6=P2("text");function P2(e){return{tokenize:n,resolveAll:T2(e==="text"?n6:void 0)};function n(t){const r=this,i=this.parser.constructs[e],o=t.attempt(i,a,s);return a;function a(c){return u(c)?o(c):s(c)}function s(c){if(c===null){t.consume(c);return}return t.enter("data"),t.consume(c),l}function l(c){return u(c)?(t.exit("data"),o(c)):(t.consume(c),l)}function u(c){if(c===null)return!0;const d=i[c];let f=-1;if(d)for(;++f-1){const s=a[0];typeof s=="string"?a[0]=s.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}function i6(e,n){let t=-1;const r=[];let i;for(;++tn)&&l!==0)ae(e,"bad indentation of a sequence entry");else if(e.lineIndentn)&&(w&&(a=e.line,s=e.lineStart,l=e.position),Io(e,n,uu,!0,i)&&(w?g=e.result:y=e.result),w||(no(e,d,f,p,g,y,a,s,l),p=g=y=null),dn(e,!0,-1),m=e.input.charCodeAt(e.position)),(e.line===o||e.lineIndent>n)&&m!==0)ae(e,"bad indentation of a mapping entry");else if(e.lineIndentn?l=1:e.lineIndent===n?l=0:e.lineIndentn?l=1:e.lineIndent===n?l=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),d=0,f=e.implicitTypes.length;d"),e.result!==null&&g.kind!==e.kind&&ae(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+g.kind+'", not "'+e.kind+'"'),g.resolve(e.result,e.tag)?(e.result=g.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):ae(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||c}function LM(e){var n=e.position,t,r,i,o=!1,a;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(a=e.input.charCodeAt(e.position))!==0&&(dn(e,!0,-1),a=e.input.charCodeAt(e.position),!(e.lineIndent>0||a!==37));){for(o=!0,a=e.input.charCodeAt(++e.position),t=e.position;a!==0&&!Yn(a);)a=e.input.charCodeAt(++e.position);for(r=e.input.slice(t,e.position),i=[],r.length<1&&ae(e,"directive name must not be less than one character in length");a!==0;){for(;hi(a);)a=e.input.charCodeAt(++e.position);if(a===35){do a=e.input.charCodeAt(++e.position);while(a!==0&&!Yt(a));break}if(Yt(a))break;for(t=e.position;a!==0&&!Yn(a);)a=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}a!==0&&qh(e),Dr.call(U0,r)?U0[r](e,r,i):cu(e,'unknown document directive "'+r+'"')}if(dn(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,dn(e,!0,-1)):o&&ae(e,"directives end mark is expected"),Io(e,e.lineIndent-1,uu,!1,!0),dn(e,!0,-1),e.checkLineBreaks&&yM.test(e.input.slice(n,e.position))&&cu(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Pc(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,dn(e,!0,-1));return}if(e.position"u"&&(t=n,n=null);var r=n2(e,t);if(typeof n!="function")return r;for(var i=0,o=r.length;i{const n=DM[e.toLowerCase()];return n||e.substring(0,1).toUpperCase()+e.substring(1)},UM=Object.assign({"../projects/0x2fa/description.yaml":cR,"../projects/authzn/description.yaml":dR,"../projects/b-hook/description.yaml":pR,"../projects/blacksea/description.yaml":fR,"../projects/bot/description.yaml":hR,"../projects/cypher-zer0x/description.yaml":mR,"../projects/dapp-wrose/description.yaml":gR,"../projects/demo-authzn/description.yaml":yR,"../projects/demo-e2eproxy/description.yaml":vR,"../projects/demo-oasisriddle/description.yaml":xR,"../projects/demo-oasisswag/description.yaml":bR,"../projects/demo-opl-secret-ballot/description.yaml":kR,"../projects/demo-quiz/description.yaml":wR,"../projects/demo-starter-go/description.yaml":SR,"../projects/demo-starter-py/description.yaml":CR,"../projects/demo-starter/description.yaml":_R,"../projects/demo-voting/description.yaml":ER,"../projects/dsearch/description.yaml":PR,"../projects/empyreal-exchange/description.yaml":TR,"../projects/example-cipher-c10l-hello-world/description.yaml":OR,"../projects/example-cipher-hello-world/description.yaml":IR,"../projects/example-sapphire-hardhat/description.yaml":RR,"../projects/example-sapphire-onchain-signer/description.yaml":AR,"../projects/fastlane/description.yaml":LR,"../projects/lending-sapphire/description.yaml":jR,"../projects/nyx/description.yaml":MR,"../projects/oasisguard/description.yaml":NR,"../projects/privads/description.yaml":$R,"../projects/rip-protocol/description.yaml":zR,"../projects/rose-derby/description.yaml":FR,"../projects/sapphire-confidential/description.yaml":DR,"../projects/secret-bids/description.yaml":BR,"../projects/secret-sponsor/description.yaml":UR,"../projects/spacetar/description.yaml":WR,"../projects/squidl/description.yaml":HR,"../projects/texas-hideem/description.yaml":VR,"../projects/treasure-hunt/description.yaml":KR,"../projects/zeo-kuessr/description.yaml":GR}),WM=Object.assign({"../projects/0x2fa/screenshots/01-landing.jpeg":qR,"../projects/0x2fa/screenshots/02-balance.jpeg":YR,"../projects/0x2fa/screenshots/03-activate-2fa.jpeg":XR,"../projects/0x2fa/screenshots/04-create-multisig.jpeg":QR,"../projects/0x2fa/screenshots/04-scan-invite-code.jpeg":JR,"../projects/0x2fa/screenshots/05-banner.png":ZR,"../projects/authzn/screenshots/01-register.png":eA,"../projects/authzn/screenshots/02-sign-in.png":nA,"../projects/b-hook/screenshots/01-landing.png":tA,"../projects/b-hook/screenshots/02-newbook.png":rA,"../projects/b-hook/screenshots/03-view-book.png":iA,"../projects/b-hook/screenshots/04-create-community.png":oA,"../projects/b-hook/screenshots/04-manage-book.png":aA,"../projects/b-hook/screenshots/05-overview-book.png":sA,"../projects/b-hook/screenshots/06-overview-book2.jpg":lA,"../projects/blacksea/screenshots/01-architecture.png":uA,"../projects/bot/screenshots/01-architecture.png":cA,"../projects/cypher-zer0x/screenshots/01-landing.jpeg":dA,"../projects/cypher-zer0x/screenshots/02-block-details.jpeg":pA,"../projects/cypher-zer0x/screenshots/03-statistics.jpeg":fA,"../projects/cypher-zer0x/screenshots/04-metamask-snap.jpeg":hA,"../projects/cypher-zer0x/screenshots/05-kyc.jpeg":mA,"../projects/dapp-wrose/screenshots/01-landing-page.png":gA,"../projects/demo-authzn/screenshots/01-landing-page.png":yA,"../projects/demo-e2eproxy/screenshots/01-test.png":vA,"../projects/demo-e2eproxy/screenshots/02-encrypted-proxy.png":xA,"../projects/demo-oasisriddle/screenshots/1_query.png":bA,"../projects/demo-oasisswag/screenshots/01-landing-page.png":kA,"../projects/demo-oasisswag/screenshots/02-spin-wheel.png":wA,"../projects/demo-oasisswag/screenshots/03-nft.png":SA,"../projects/demo-opl-secret-ballot/screenshots/1_new_ballot.png":CA,"../projects/demo-quiz/screenshots/01-landing.png":_A,"../projects/demo-quiz/screenshots/02-quiz.png":EA,"../projects/demo-quiz/screenshots/03-payout.png":PA,"../projects/demo-quiz/screenshots/04-claimed.png":TA,"../projects/demo-starter-go/screenshots/01-usage.png":OA,"../projects/demo-starter-py/screenshots/01-usage.png":IA,"../projects/demo-starter/screenshots/01-landing-page.png":RA,"../projects/demo-starter/screenshots/02-hello-world.png":AA,"../projects/demo-starter/screenshots/03-manage-deploy.png":LA,"../projects/demo-voting/screenshots/01-active-polls.png":jA,"../projects/demo-voting/screenshots/02-vote.png":MA,"../projects/demo-voting/screenshots/03-voting-closed.png":NA,"../projects/dsearch/screenshots/01-landing.png":$A,"../projects/dsearch/screenshots/02-search-metamask.png":zA,"../projects/dsearch/screenshots/03-search-results.png":FA,"../projects/dsearch/screenshots/04-image-results.png":DA,"../projects/dsearch/screenshots/05-related-results.png":BA,"../projects/empyreal-exchange/screenshots/01-landing.png":UA,"../projects/empyreal-exchange/screenshots/02-deposit.png":WA,"../projects/empyreal-exchange/screenshots/03-withdraw.png":HA,"../projects/example-cipher-c10l-hello-world/screenshots/01-upload1.png":VA,"../projects/example-cipher-c10l-hello-world/screenshots/02-upload2.png":KA,"../projects/example-cipher-c10l-hello-world/screenshots/03-instantiate.png":GA,"../projects/example-cipher-c10l-hello-world/screenshots/04-call.png":qA,"../projects/example-cipher-hello-world/screenshots/01-upload1.png":YA,"../projects/example-cipher-hello-world/screenshots/02-upload2.png":XA,"../projects/example-cipher-hello-world/screenshots/03-instantiate.png":QA,"../projects/example-cipher-hello-world/screenshots/04-call.png":JA,"../projects/example-sapphire-hardhat/screenshots/01-run-vigil.png":ZA,"../projects/example-sapphire-onchain-signer/screenshots/01-comment-box-tests.png":eL,"../projects/fastlane/screenshots/01-landing.png":nL,"../projects/fastlane/screenshots/02-game.png":tL,"../projects/fastlane/screenshots/03-obstacle.png":rL,"../projects/lending-sapphire/screenshots/01-landing-page.jpg":iL,"../projects/lending-sapphire/screenshots/02-orderbook.jpg":oL,"../projects/lending-sapphire/screenshots/03-loan.jpg":aL,"../projects/lending-sapphire/screenshots/04-lend.jpg":sL,"../projects/nyx/screenshots/01-default.jpg":lL,"../projects/nyx/screenshots/02-chat.jpg":uL,"../projects/nyx/screenshots/03-chat2.jpg":cL,"../projects/nyx/screenshots/04-howitworks.jpg":dL,"../projects/oasisguard/screenshots/01-screenshots.png":pL,"../projects/oasisguard/screenshots/02-banner.png":fL,"../projects/privads/screenshots/01-user.png":hL,"../projects/privads/screenshots/02-advertiser.png":mL,"../projects/privads/screenshots/03-banner.png":gL,"../projects/rip-protocol/screenshots/01-slide1.jpg":yL,"../projects/rip-protocol/screenshots/02-slide2.jpg":vL,"../projects/rip-protocol/screenshots/03-slide3.jpg":xL,"../projects/rip-protocol/screenshots/04-slide4.jpg":bL,"../projects/rip-protocol/screenshots/05-slide5.jpg":kL,"../projects/rip-protocol/screenshots/06-slide6.jpg":wL,"../projects/rose-derby/screenshots/01-race-list.png":SL,"../projects/rose-derby/screenshots/02-create-a-race.png":CL,"../projects/rose-derby/screenshots/03-bet.png":_L,"../projects/rose-derby/screenshots/04-results.png":EL,"../projects/sapphire-confidential/screenshots/01-transaction-in-progress.png":PL,"../projects/secret-bids/screenshots/01-auctions.png":TL,"../projects/secret-bids/screenshots/02-create-auction.png":OL,"../projects/secret-bids/screenshots/03-view-auction.png":IL,"../projects/secret-bids/screenshots/04-view-auction2.png":RL,"../projects/secret-sponsor/screenshots/01-home.png":AL,"../projects/secret-sponsor/screenshots/02-tx.png":LL,"../projects/secret-sponsor/screenshots/03-diagram.png":jL,"../projects/secret-sponsor/screenshots/04-explorer.png":ML,"../projects/secret-sponsor/screenshots/05-tx-details.png":NL,"../projects/spacetar/screenshots/01-landing.png":$L,"../projects/spacetar/screenshots/02-home.png":zL,"../projects/spacetar/screenshots/03-chat.png":FL,"../projects/squidl/screenshots/01-landingpage.jpg":DL,"../projects/squidl/screenshots/02-balance.jpg":BL,"../projects/squidl/screenshots/03-transactions.jpg":UL,"../projects/squidl/screenshots/04-send.jpg":WL,"../projects/texas-hideem/screenshots/01-join-game.jpeg":HL,"../projects/texas-hideem/screenshots/02-join-game2.jpeg":VL,"../projects/texas-hideem/screenshots/03-start.jpeg":KL,"../projects/texas-hideem/screenshots/04-gameplay.jpeg":GL,"../projects/treasure-hunt/screenshots/01-game.png":qL,"../projects/zeo-kuessr/screenshots/01-gameplay.jpg":YL,"../projects/zeo-kuessr/screenshots/02-new-game.jpg":XL}),ta=Object.entries(UM).map(([e,n])=>{const t=FM(n),r=e.replace(/\/[^/]*?\.yaml$/,"/screenshots");t.screenshots=Object.entries(WM).filter(([o])=>o.startsWith(r)).map(([o,a])=>a),t.languages=t.languages.map(BM);const i=e.split("/").slice(-2,-1)[0];return t.slug=i,t});var ni=(e=>(e.TITLE="Order by",e.NAME="Name",e.LAST_UPDATED="Last Updated",e.CREATED_DATE="Created",e))(ni||{});const HM=48,VM=8,KM={PaperProps:{style:{maxHeight:HM*4.5+VM,width:186,marginTop:"12px",borderRadius:"10px",border:"2px solid #000000"}}},GM=e=>e.charAt(0).toUpperCase()+e.slice(1),qM=({langs:e,tags:n,selectedTags:t,selectedLangs:r,handleTagClick:i,handleLanguageClick:o,licenses:a,selectedLicenses:s,handleLicenseChange:l,selectedSources:u,handleSourcesChange:c,selectedParatimes:d,handleParatimesChange:f,maintainedByOasis:p,handleMaintainedByOasisToggle:g,handleClearTags:y,tagCounts:w,langCounts:h,licenseCounts:m,sourceCounts:v,paratimeCounts:b,maintainedByOasisCount:_})=>{const S=I=>{const{target:{value:O}}=I;i(typeof O=="string"?O.split(","):O)},E=[...n].sort(),R=[...a].sort((I,O)=>I===""?1:O===""?-1:I.localeCompare(O));return k.jsxs(Ee,{container:!0,spacing:2,sx:{borderBottom:"2px solid #CBC8EC",paddingBottom:"32px",paddingTop:"24px",justifyContent:"space-between"},children:[k.jsx(Ee,{item:!0,children:k.jsxs($e,{children:[k.jsx(fe,{variant:"h6",gutterBottom:!0,children:"Tags"}),k.jsxs(Ob,{sx:{marginTop:"8px",width:"186px",border:"2px solid #000000",borderRadius:"30px"},children:[!t.length&&k.jsx(Mb,{id:"multiple-checkbox-label",shrink:!1,sx:{height:"30px",top:"auto",bottom:"14px",color:"#D2CCCC","&.Mui-focused":{borderColor:"none",color:"#D2CCCC"}},children:"Select Tags"}),k.jsx(Kh,{labelId:"multiple-checkbox-label",id:"multiple-checkbox",multiple:!0,value:t,onChange:S,input:k.jsx(Hh,{label:"Tags"}),renderValue:I=>I.join(", "),MenuProps:KM,sx:{height:"32px","& .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"}},children:E.map(I=>k.jsxs(Fb,{value:I,sx:{padding:"0"},children:[k.jsx($i,{checked:t.indexOf(I)>-1,sx:{padding:"6px 9px"}}),k.jsx(qO,{primary:`${I} (${w[I]||0})`})]},I))})]}),t.length>0&&k.jsx(Ja,{onClick:y,sx:{textDecoration:"underline",textTransform:"none",display:"block",paddingTop:"6px",paddingLeft:"0",color:"#0500E1"},children:"Clear tags"})]})}),k.jsx(Ee,{item:!0,children:k.jsxs($e,{children:[k.jsx(fe,{variant:"h6",gutterBottom:!0,children:"Languages"}),e.map(I=>k.jsx($e,{sx:{marginBottom:"-7px"},children:k.jsx(Qo,{control:k.jsx($i,{checked:r.includes(I),onChange:()=>o(I),color:"primary"}),label:`${I} (${h[I]||0})`})},I))]})}),k.jsx(Ee,{item:!0,children:k.jsxs($e,{children:[k.jsx(fe,{variant:"h6",gutterBottom:!0,sx:{paddingLeft:"-12px"},children:"Licenses"}),R.map(I=>k.jsx($e,{sx:{marginBottom:"-7px"},children:k.jsx(Qo,{control:k.jsx($i,{checked:s.includes(I),onChange:()=>l(I),color:"primary"}),label:`${I||"Unspecified"} (${m[I]||0})`})},I||"unspecified"))]})}),k.jsx(Ee,{item:!0,children:k.jsxs($e,{children:[k.jsx(fe,{variant:"h6",gutterBottom:!0,sx:{paddingLeft:"-12px"},children:"Sources"}),["Demo","Code","Tutorial"].map(I=>k.jsx($e,{sx:{marginBottom:"-7px"},children:k.jsx(Qo,{control:k.jsx($i,{checked:u.includes(I),onChange:()=>c(I),color:"primary"}),label:`${I} (${v[I]||0})`})},I))]})}),k.jsx(Ee,{item:!0,children:k.jsxs($e,{children:[k.jsx(fe,{variant:"h6",gutterBottom:!0,sx:{paddingLeft:"-12px"},children:"ParaTimes"}),["sapphire","emerald","cipher"].map(I=>k.jsx($e,{sx:{marginBottom:"-7px"},children:k.jsx(Qo,{control:k.jsx($i,{checked:d.includes(I),onChange:()=>f(I),color:"primary"}),label:`${GM(I)} (${b[I]||0})`})},I))]})}),k.jsx(Ee,{item:!0,children:k.jsxs($e,{children:[k.jsx(fe,{variant:"h6",gutterBottom:!0,children:"Approved by"}),k.jsx(Qo,{control:k.jsx($i,{checked:p,onChange:g}),label:`OPF (${_})`})]})})]})},YM=fr(k.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear"),XM=fr(k.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),QM=fr(k.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDown");function t2(e){const n=x.useRef(e);return x.useEffect(()=>{n.current=e},[e]),n}function Vp(e){const n=t2(e);return x.useCallback(function(...t){return n.current&&n.current(...t)},[n])}function JM(e,n){const t=x.useRef(!0);x.useEffect(()=>{if(t.current){t.current=!1;return}return e()},n)}function ZM(){const e=x.useRef(!0),n=x.useRef(()=>e.current);return x.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),n.current}function eN(e){const n=x.useRef(e);return n.current=e,n}function nN(e){const n=eN(e);x.useEffect(()=>()=>n.current(),[])}const Kp=2**31-1;function r2(e,n,t){const r=t-Date.now();e.current=r<=Kp?setTimeout(n,r):setTimeout(()=>r2(e,n,t),Kp)}function tN(){const e=ZM(),n=x.useRef();return nN(()=>clearTimeout(n.current)),x.useMemo(()=>{const t=()=>clearTimeout(n.current);function r(i,o=0){e()&&(t(),o<=Kp?n.current=setTimeout(i,o):r2(n,i,Date.now()+o))}return{set:r,clear:t}},[])}const rN=["as","disabled"];function iN(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o=0)&&(t[i]=e[i]);return t}function oN(e){return!e||e.trim()==="#"}function i2({tagName:e,disabled:n,href:t,target:r,rel:i,role:o,onClick:a,tabIndex:s=0,type:l}){e||(t!=null||r!=null||i!=null?e="a":e="button");const u={tagName:e};if(e==="button")return[{type:l||"button",disabled:n},u];const c=f=>{if((n||e==="a"&&oN(t))&&f.preventDefault(),n){f.stopPropagation();return}a==null||a(f)},d=f=>{f.key===" "&&(f.preventDefault(),c(f))};return e==="a"&&(t||(t="#"),n&&(t=void 0)),[{role:o??"button",disabled:void 0,tabIndex:n?void 0:s,href:t,target:e==="a"?r:void 0,"aria-disabled":n||void 0,rel:e==="a"?i:void 0,onClick:c,onKeyDown:d},u]}const aN=x.forwardRef((e,n)=>{let{as:t,disabled:r}=e,i=iN(e,rN);const[o,{tagName:a}]=i2(Object.assign({tagName:t,disabled:r},i));return k.jsx(a,Object.assign({},i,o,{ref:n}))});aN.displayName="Button";const sN=["onKeyDown"];function lN(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o=0)&&(t[i]=e[i]);return t}function uN(e){return!e||e.trim()==="#"}const o2=x.forwardRef((e,n)=>{let{onKeyDown:t}=e,r=lN(e,sN);const[i]=i2(Object.assign({tagName:"a"},r)),o=Vp(a=>{i.onKeyDown(a),t==null||t(a)});return uN(r.href)||r.role==="button"?k.jsx("a",Object.assign({ref:n},r,i,{onKeyDown:o})):k.jsx("a",Object.assign({ref:n},r,{onKeyDown:t}))});o2.displayName="Anchor";const V0=o2;var a2={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r=[],i=0;i=0)&&(t[i]=e[i]);return t}function K0(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function pN(e){var n=fN(e,"string");return typeof n=="symbol"?n:String(n)}function fN(e,n){if(typeof e!="object"||e===null)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,n||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function hN(e,n,t){var r=x.useRef(e!==void 0),i=x.useState(n),o=i[0],a=i[1],s=e!==void 0,l=r.current;return r.current=s,!s&&l&&o!==n&&a(n),[s?e:o,x.useCallback(function(u){for(var c=arguments.length,d=new Array(c>1?c-1:0),f=1;f(n=Xh(n,"carousel-caption"),k.jsx(t,{ref:i,className:_a(e,n),...r})));l2.displayName="CarouselCaption";const xN=l2,u2=x.forwardRef(({as:e="div",bsPrefix:n,className:t,...r},i)=>{const o=_a(t,Xh(n,"carousel-item"));return k.jsx(e,{ref:i,...r,className:o})});u2.displayName="CarouselItem";const bN=u2;function G0(e,n){let t=0;return x.Children.map(e,r=>x.isValidElement(r)?n(r,t++):r)}function kN(e,n){let t=0;x.Children.forEach(e,r=>{x.isValidElement(r)&&n(r,t++)})}function wN(e){return e&&e.ownerDocument||document}function SN(e){var n=wN(e);return n&&n.defaultView||window}function CN(e,n){return SN(e).getComputedStyle(e,n)}var _N=/([A-Z])/g;function EN(e){return e.replace(_N,"-$1").toLowerCase()}var PN=/^ms-/;function Ws(e){return EN(e).replace(PN,"-ms-")}var TN=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function ON(e){return!!(e&&TN.test(e))}function c2(e,n){var t="",r="";if(typeof n=="string")return e.style.getPropertyValue(Ws(n))||CN(e).getPropertyValue(Ws(n));Object.keys(n).forEach(function(i){var o=n[i];!o&&o!==0?e.style.removeProperty(Ws(i)):ON(i)?r+=i+"("+o+") ":t+=Ws(i)+": "+o+";"}),r&&(t+="transform: "+r+";"),e.style.cssText+=";"+t}const IN=!!(typeof window<"u"&&window.document&&window.document.createElement);var qp=!1,Yp=!1;try{var bd={get passive(){return qp=!0},get once(){return Yp=qp=!0}};IN&&(window.addEventListener("test",bd,bd),window.removeEventListener("test",bd,!0))}catch{}function RN(e,n,t,r){if(r&&typeof r!="boolean"&&!Yp){var i=r.once,o=r.capture,a=t;!Yp&&i&&(a=t.__once||function s(l){this.removeEventListener(n,s,o),t.call(this,l)},t.__once=a),e.addEventListener(n,a,qp?r:o)}e.addEventListener(n,t,r)}function AN(e,n,t,r){var i=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(n,t,i),t.__once&&e.removeEventListener(n,t.__once,i)}function d2(e,n,t,r){return RN(e,n,t,r),function(){AN(e,n,t,r)}}function LN(e,n,t,r){if(t===void 0&&(t=!1),r===void 0&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(n,t,r),e.dispatchEvent(i)}}function jN(e){var n=c2(e,"transitionDuration")||"",t=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*t}function MN(e,n,t){t===void 0&&(t=5);var r=!1,i=setTimeout(function(){r||LN(e,"transitionend",!0)},n+t),o=d2(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function NN(e,n,t,r){t==null&&(t=jN(e)||0);var i=MN(e,t,r),o=d2(e,"transitionend",n);return function(){i(),o()}}function q0(e,n){const t=c2(e,n)||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function $N(e,n){const t=q0(e,"transitionDuration"),r=q0(e,"transitionDelay"),i=NN(e,o=>{o.target===e&&(i(),n(o))},t+r)}function zN(e){e.offsetHeight}const Y0=e=>!e||typeof e=="function"?e:n=>{e.current=n};function FN(e,n){const t=Y0(e),r=Y0(n);return i=>{t&&t(i),r&&r(i)}}function DN(e,n){return x.useMemo(()=>FN(e,n),[e,n])}function BN(e){return e&&"setState"in e?la.findDOMNode(e):e??null}const UN=Un.forwardRef(({onEnter:e,onEntering:n,onEntered:t,onExit:r,onExiting:i,onExited:o,addEndListener:a,children:s,childRef:l,...u},c)=>{const d=x.useRef(null),f=DN(d,l),p=S=>{f(BN(S))},g=S=>E=>{S&&d.current&&S(d.current,E)},y=x.useCallback(g(e),[e]),w=x.useCallback(g(n),[n]),h=x.useCallback(g(t),[t]),m=x.useCallback(g(r),[r]),v=x.useCallback(g(i),[i]),b=x.useCallback(g(o),[o]),_=x.useCallback(g(a),[a]);return k.jsx(zh,{ref:c,...u,onEnter:y,onEntered:h,onEntering:w,onExit:m,onExited:b,onExiting:v,addEndListener:_,nodeRef:d,children:typeof s=="function"?(S,E)=>s(S,{...E,ref:p}):Un.cloneElement(s,{ref:p})})}),WN=UN,HN=40;function VN(e){if(!e||!e.style||!e.parentNode||!e.parentNode.style)return!1;const n=getComputedStyle(e);return n.display!=="none"&&n.visibility!=="hidden"&&getComputedStyle(e.parentNode).display!=="none"}const p2=x.forwardRef(({defaultActiveIndex:e=0,...n},t)=>{const{as:r="div",bsPrefix:i,slide:o=!0,fade:a=!1,controls:s=!0,indicators:l=!0,indicatorLabels:u=[],activeIndex:c,onSelect:d,onSlide:f,onSlid:p,interval:g=5e3,keyboard:y=!0,onKeyDown:w,pause:h="hover",onMouseOver:m,onMouseOut:v,wrap:b=!0,touch:_=!0,onTouchStart:S,onTouchMove:E,onTouchEnd:R,prevIcon:I=k.jsx("span",{"aria-hidden":"true",className:"carousel-control-prev-icon"}),prevLabel:O="Previous",nextIcon:L=k.jsx("span",{"aria-hidden":"true",className:"carousel-control-next-icon"}),nextLabel:j="Next",variant:D,className:F,children:$,...U}=mN({defaultActiveIndex:e,...n},{activeIndex:"onSelect"}),B=Xh(i,"carousel"),A=vN(),M=x.useRef(null),[C,ce]=x.useState("next"),[ue,T]=x.useState(!1),[Z,ge]=x.useState(!1),[Y,Re]=x.useState(c||0);x.useEffect(()=>{!Z&&c!==Y&&(M.current?ce(M.current):ce((c||0)>Y?"next":"prev"),o&&ge(!0),Re(c||0))},[c,Z,Y,o]),x.useEffect(()=>{M.current&&(M.current=null)});let we=0,_e;kN($,(ie,G)=>{++we,G===c&&(_e=ie.props.interval)});const Be=t2(_e),de=x.useCallback(ie=>{if(Z)return;let G=Y-1;if(G<0){if(!b)return;G=we-1}M.current="prev",d==null||d(G,ie)},[Z,Y,d,b,we]),ve=Vp(ie=>{if(Z)return;let G=Y+1;if(G>=we){if(!b)return;G=0}M.current="next",d==null||d(G,ie)}),z=x.useRef();x.useImperativeHandle(t,()=>({element:z.current,prev:de,next:ve}));const X=Vp(()=>{!document.hidden&&VN(z.current)&&(A?de():ve())}),ne=C==="next"?"start":"end";JM(()=>{o||(f==null||f(Y,ne),p==null||p(Y,ne))},[Y]);const yn=`${B}-item-${C}`,vn=`${B}-item-${ne}`,pn=x.useCallback(ie=>{zN(ie),f==null||f(Y,ne)},[f,Y,ne]),xn=x.useCallback(()=>{ge(!1),p==null||p(Y,ne)},[p,Y,ne]),bn=x.useCallback(ie=>{if(y&&!/input|textarea/i.test(ie.target.tagName))switch(ie.key){case"ArrowLeft":ie.preventDefault(),A?ve(ie):de(ie);return;case"ArrowRight":ie.preventDefault(),A?de(ie):ve(ie);return}w==null||w(ie)},[y,w,de,ve,A]),he=x.useCallback(ie=>{h==="hover"&&T(!0),m==null||m(ie)},[h,m]),On=x.useCallback(ie=>{T(!1),v==null||v(ie)},[v]),fn=x.useRef(0),Ae=x.useRef(0),N=tN(),V=x.useCallback(ie=>{fn.current=ie.touches[0].clientX,Ae.current=0,h==="hover"&&T(!0),S==null||S(ie)},[h,S]),le=x.useCallback(ie=>{ie.touches&&ie.touches.length>1?Ae.current=0:Ae.current=ie.touches[0].clientX-fn.current,E==null||E(ie)},[E]),ee=x.useCallback(ie=>{if(_){const G=Ae.current;Math.abs(G)>HN&&(G>0?de(ie):ve(ie))}h==="hover"&&N.set(()=>{T(!1)},g||void 0),R==null||R(ie)},[_,h,de,ve,N,g,R]),q=g!=null&&!ue&&!Z,Ve=x.useRef();x.useEffect(()=>{var ie,G;if(!q)return;const ye=A?de:ve;return Ve.current=window.setInterval(document.visibilityState?X:ye,(ie=(G=Be.current)!=null?G:g)!=null?ie:void 0),()=>{Ve.current!==null&&clearInterval(Ve.current)}},[q,de,ve,Be,g,X,A]);const In=x.useMemo(()=>l&&Array.from({length:we},(ie,G)=>ye=>{d==null||d(G,ye)}),[l,we,d]);return k.jsxs(r,{ref:z,...U,onKeyDown:bn,onMouseOver:he,onMouseOut:On,onTouchStart:V,onTouchMove:le,onTouchEnd:ee,className:_a(F,B,o&&"slide",a&&`${B}-fade`,D&&`${B}-${D}`),children:[l&&k.jsx("div",{className:`${B}-indicators`,children:G0($,(ie,G)=>k.jsx("button",{type:"button","data-bs-target":"","aria-label":u!=null&&u.length?u[G]:`Slide ${G+1}`,className:G===Y?"active":void 0,onClick:In?In[G]:void 0,"aria-current":G===Y},G))}),k.jsx("div",{className:`${B}-inner`,children:G0($,(ie,G)=>{const ye=G===Y;return o?k.jsx(WN,{in:ye,onEnter:ye?pn:void 0,onEntered:ye?xn:void 0,addEndListener:$N,children:(xe,Fn)=>x.cloneElement(ie,{...Fn,className:_a(ie.props.className,ye&&xe!=="entered"&&yn,(xe==="entered"||xe==="exiting")&&"active",(xe==="entering"||xe==="exiting")&&vn)})}):x.cloneElement(ie,{className:_a(ie.props.className,ye&&"active")})})}),s&&k.jsxs(k.Fragment,{children:[(b||c!==0)&&k.jsxs(V0,{className:`${B}-control-prev`,onClick:de,children:[I,O&&k.jsx("span",{className:"visually-hidden",children:O})]}),(b||c!==we-1)&&k.jsxs(V0,{className:`${B}-control-next`,onClick:ve,children:[L,j&&k.jsx("span",{className:"visually-hidden",children:j})]})]})]})});p2.displayName="Carousel";const X0=Object.assign(p2,{Caption:xN,Item:bN});function KN(e,n){const t=n||{};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const GN=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,qN=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,YN={};function Q0(e,n){return((n||YN).jsx?qN:GN).test(e)}const XN=/[ \t\n\f\r]/g;function QN(e){return typeof e=="object"?e.type==="text"?J0(e.value):!1:J0(e)}function J0(e){return e.replace(XN,"")===""}class ys{constructor(n,t,r){this.property=n,this.normal=t,r&&(this.space=r)}}ys.prototype.property={};ys.prototype.normal={};ys.prototype.space=null;function f2(e,n){const t={},r={};let i=-1;for(;++i4&&t.slice(0,4)==="data"&&t$.test(n)){if(n.charAt(4)==="-"){const o=n.slice(5).replace(ey,a$);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=n.slice(4);if(!ey.test(o)){let a=o.replace(r$,o$);a.charAt(0)!=="-"&&(a="-"+a),n="data"+a}}i=Qh}return new i(r,n)}function o$(e){return"-"+e.toLowerCase()}function a$(e){return e.charAt(1).toUpperCase()}const s$={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},l$=f2([g2,m2,x2,b2,e$],"html"),Jh=f2([g2,m2,x2,b2,n$],"svg");function u$(e){return e.join(" ").trim()}var k2={},ny=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,c$=/\n/g,d$=/^\s*/,p$=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,f$=/^:\s*/,h$=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,m$=/^[;\s]*/,g$=/^\s+|\s+$/g,y$=` +`,ty="/",ry="*",ti="",v$="comment",x$="declaration",b$=function(e,n){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];n=n||{};var t=1,r=1;function i(g){var y=g.match(c$);y&&(t+=y.length);var w=g.lastIndexOf(y$);r=~w?g.length-w:r+g.length}function o(){var g={line:t,column:r};return function(y){return y.position=new a(g),u(),y}}function a(g){this.start=g,this.end={line:t,column:r},this.source=n.source}a.prototype.content=e;function s(g){var y=new Error(n.source+":"+t+":"+r+": "+g);if(y.reason=g,y.filename=n.source,y.line=t,y.column=r,y.source=e,!n.silent)throw y}function l(g){var y=g.exec(e);if(y){var w=y[0];return i(w),e=e.slice(w.length),y}}function u(){l(d$)}function c(g){var y;for(g=g||[];y=d();)y!==!1&&g.push(y);return g}function d(){var g=o();if(!(ty!=e.charAt(0)||ry!=e.charAt(1))){for(var y=2;ti!=e.charAt(y)&&(ry!=e.charAt(y)||ty!=e.charAt(y+1));)++y;if(y+=2,ti===e.charAt(y-1))return s("End of comment missing");var w=e.slice(2,y-2);return r+=2,i(w),e=e.slice(y),r+=2,g({type:v$,comment:w})}}function f(){var g=o(),y=l(p$);if(y){if(d(),!l(f$))return s("property missing ':'");var w=l(h$),h=g({type:x$,property:iy(y[0].replace(ny,ti)),value:w?iy(w[0].replace(ny,ti)):ti});return l(m$),h}}function p(){var g=[];c(g);for(var y;y=f();)y!==!1&&(g.push(y),c(g));return g}return u(),p()};function iy(e){return e?e.replace(g$,ti):ti}var k$=_m&&_m.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(k2,"__esModule",{value:!0});var w$=k$(b$);function S$(e,n){var t=null;if(!e||typeof e!="string")return t;var r=(0,w$.default)(e),i=typeof n=="function";return r.forEach(function(o){if(o.type==="declaration"){var a=o.property,s=o.value;i?n(a,s,o):s&&(t=t||{},t[a]=s)}}),t}var oy=k2.default=S$;const C$=oy.default||oy,w2=S2("end"),Zh=S2("start");function S2(e){return n;function n(t){const r=t&&t.position&&t.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function _$(e){const n=Zh(e),t=w2(e);if(n&&t)return{start:n,end:t}}function Ea(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ay(e.position):"start"in e||"end"in e?ay(e):"line"in e||"column"in e?Jp(e):""}function Jp(e){return sy(e&&e.line)+":"+sy(e&&e.column)}function ay(e){return Jp(e&&e.start)+"-"+Jp(e&&e.end)}function sy(e){return e&&typeof e=="number"?e:1}class zn extends Error{constructor(n,t,r){super(),typeof t=="string"&&(r=t,t=void 0);let i="",o={},a=!1;if(t&&("line"in t&&"column"in t?o={place:t}:"start"in t&&"end"in t?o={place:t}:"type"in t?o={ancestors:[t],place:t.position}:o={...t}),typeof n=="string"?i=n:!o.cause&&n&&(a=!0,i=n.message,o.cause=n),!o.ruleId&&!o.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?o.ruleId=r:(o.source=r.slice(0,l),o.ruleId=r.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){const l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}const s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=Ea(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}zn.prototype.file="";zn.prototype.name="";zn.prototype.reason="";zn.prototype.message="";zn.prototype.stack="";zn.prototype.column=void 0;zn.prototype.line=void 0;zn.prototype.ancestors=void 0;zn.prototype.cause=void 0;zn.prototype.fatal=void 0;zn.prototype.place=void 0;zn.prototype.ruleId=void 0;zn.prototype.source=void 0;const em={}.hasOwnProperty,E$=new Map,P$=/[A-Z]/g,T$=/-([a-z])/g,O$=new Set(["table","tbody","thead","tfoot","tr"]),I$=new Set(["td","th"]),C2="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function R$(e,n){if(!n||n.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=n.filePath||void 0;let r;if(n.development){if(typeof n.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=F$(t,n.jsxDEV)}else{if(typeof n.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof n.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=z$(t,n.jsx,n.jsxs)}const i={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:r,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:n.passKeys!==!1,passNode:n.passNode||!1,schema:n.space==="svg"?Jh:l$,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},o=_2(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function _2(e,n,t){if(n.type==="element")return A$(e,n,t);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return L$(e,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return M$(e,n,t);if(n.type==="mdxjsEsm")return j$(e,n);if(n.type==="root")return N$(e,n,t);if(n.type==="text")return $$(e,n)}function A$(e,n,t){const r=e.schema;let i=r;n.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Jh,e.schema=i),e.ancestors.push(n);const o=P2(e,n.tagName,!1),a=D$(e,n);let s=tm(e,n);return O$.has(n.tagName)&&(s=s.filter(function(l){return typeof l=="string"?!QN(l):!0})),E2(e,a,o,n),nm(a,s),e.ancestors.pop(),e.schema=r,e.create(n,o,a,t)}function L$(e,n){if(n.data&&n.data.estree&&e.evaluater){const r=n.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}ns(e,n.position)}function j$(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);ns(e,n.position)}function M$(e,n,t){const r=e.schema;let i=r;n.name==="svg"&&r.space==="html"&&(i=Jh,e.schema=i),e.ancestors.push(n);const o=n.name===null?e.Fragment:P2(e,n.name,!0),a=B$(e,n),s=tm(e,n);return E2(e,a,o,n),nm(a,s),e.ancestors.pop(),e.schema=r,e.create(n,o,a,t)}function N$(e,n,t){const r={};return nm(r,tm(e,n)),e.create(n,e.Fragment,r,t)}function $$(e,n){return n.value}function E2(e,n,t,r){typeof t!="string"&&t!==e.Fragment&&e.passNode&&(n.node=r)}function nm(e,n){if(n.length>0){const t=n.length>1?n:n[0];t&&(e.children=t)}}function z$(e,n,t){return r;function r(i,o,a,s){const u=Array.isArray(a.children)?t:n;return s?u(o,a,s):u(o,a)}}function F$(e,n){return t;function t(r,i,o,a){const s=Array.isArray(o.children),l=Zh(r);return n(i,o,a,s,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function D$(e,n){const t={};let r,i;for(i in n.properties)if(i!=="children"&&em.call(n.properties,i)){const o=U$(e,i,n.properties[i]);if(o){const[a,s]=o;e.tableCellAlignToStyle&&a==="align"&&typeof s=="string"&&I$.has(n.tagName)?r=s:t[a]=s}}if(r){const o=t.style||(t.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return t}function B$(e,n){const t={};for(const r of n.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const a=o.expression;a.type;const s=a.properties[0];s.type,Object.assign(t,e.evaluater.evaluateExpression(s.argument))}else ns(e,n.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,o=e.evaluater.evaluateExpression(s.expression)}else ns(e,n.position);else o=r.value===null?!0:r.value;t[i]=o}return t}function tm(e,n){const t=[];let r=-1;const i=e.passKeys?new Map:E$;for(;++ri?0:i+n:n=n>i?i:n,t=t>0?t:0,r.length<1e4)a=Array.from(r),a.unshift(n,t),e.splice(...a);else for(t&&e.splice(n,t);o0?(Qt(e,e.length,0,n),e):n}const cy={}.hasOwnProperty;function Q$(e){const n={};let t=-1;for(;++t13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function go(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const e6=qr(new RegExp("\\p{P}","u")),Ht=qr(/[A-Za-z]/),lt=qr(/[\dA-Za-z]/),n6=qr(/[#-'*+\--9=?A-Z^-~]/);function Zp(e){return e!==null&&(e<32||e===127)}const ef=qr(/\d/),t6=qr(/[\dA-Fa-f]/),I2=qr(/[!-/:-@[-`{-~]/);function pe(e){return e!==null&&e<-2}function et(e){return e!==null&&(e<0||e===32)}function Me(e){return e===-2||e===-1||e===32}function r6(e){return I2(e)||e6(e)}const i6=qr(/\s/);function qr(e){return n;function n(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function zo(e){const n=[];let t=-1,r=0,i=0;for(;++t55295&&o<57344){const s=e.charCodeAt(t+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),i=1):a="�"}else a=String.fromCharCode(o);a&&(n.push(e.slice(r,t),encodeURIComponent(a)),r=t+i+1,a=""),i&&(t+=i,i=0)}return n.join("")+e.slice(r)}function He(e,n,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return a;function a(l){return Me(l)?(e.enter(t),s(l)):n(l)}function s(l){return Me(l)&&o++a))return;const E=n.events.length;let R=E,I,O;for(;R--;)if(n.events[R][0]==="exit"&&n.events[R][1].type==="chunkFlow"){if(I){O=n.events[R][1].end;break}I=!0}for(h(r),S=E;Sv;){const _=t[b];n.containerState=_[1],_[0].exit.call(n,e)}t.length=v}function m(){i.write([null]),o=void 0,i=void 0,n.containerState._closeFlow=void 0}}function u6(e,n,t){return He(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function py(e){if(e===null||et(e)||i6(e))return 1;if(r6(e))return 2}function im(e,n,t){const r=[];let i=-1;for(;++i1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),f=Object.assign({},e[t][1].start);fy(d,-l),fy(f,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[t][1].start),end:f},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[t][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},a.start),e[t][1].start=Object.assign({},s.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=bt(u,[["enter",e[r][1],n],["exit",e[r][1],n]])),u=bt(u,[["enter",i,n],["enter",a,n],["exit",a,n],["enter",o,n]]),u=bt(u,im(n.parser.constructs.insideSpan.null,e.slice(r+1,t),n)),u=bt(u,[["exit",o,n],["enter",s,n],["exit",s,n],["exit",i,n]]),e[t][1].end.offset-e[t][1].start.offset?(c=2,u=bt(u,[["enter",e[t][1],n],["exit",e[t][1],n]])):c=0,Qt(e,r-1,t-r+3,u),t=r+u.length-c-2;break}}for(t=-1;++t0&&Me(S)?He(e,m,"linePrefix",o+1)(S):m(S)}function m(S){return S===null||pe(S)?e.check(hy,y,b)(S):(e.enter("codeFlowValue"),v(S))}function v(S){return S===null||pe(S)?(e.exit("codeFlowValue"),m(S)):(e.consume(S),v)}function b(S){return e.exit("codeFenced"),n(S)}function _(S,E,R){let I=0;return O;function O($){return S.enter("lineEnding"),S.consume($),S.exit("lineEnding"),L}function L($){return S.enter("codeFencedFence"),Me($)?He(S,j,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):j($)}function j($){return $===s?(S.enter("codeFencedFenceSequence"),D($)):R($)}function D($){return $===s?(I++,S.consume($),D):I>=a?(S.exit("codeFencedFenceSequence"),Me($)?He(S,F,"whitespace")($):F($)):R($)}function F($){return $===null||pe($)?(S.exit("codeFencedFence"),E($)):R($)}}}function k6(e,n,t){const r=this;return i;function i(a){return a===null?t(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?t(a):n(a)}}const Sd={name:"codeIndented",tokenize:S6},w6={tokenize:C6,partial:!0};function S6(e,n,t){const r=this;return i;function i(u){return e.enter("codeIndented"),He(e,o,"linePrefix",5)(u)}function o(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?a(u):t(u)}function a(u){return u===null?l(u):pe(u)?e.attempt(w6,a,l)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||pe(u)?(e.exit("codeFlowValue"),a(u)):(e.consume(u),s)}function l(u){return e.exit("codeIndented"),n(u)}}function C6(e,n,t){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?t(a):pe(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):He(e,o,"linePrefix",5)(a)}function o(a){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?n(a):pe(a)?i(a):t(a)}}const _6={name:"codeText",tokenize:T6,resolve:E6,previous:P6};function E6(e){let n=e.length-4,t=3,r,i;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(r=t;++r=4?n(a):e.interrupt(r.parser.constructs.flow,t,n)(a)}}function M2(e,n,t,r,i,o,a,s,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return d;function d(h){return h===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(h),e.exit(o),f):h===null||h===32||h===41||Zp(h)?t(h):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),y(h))}function f(h){return h===62?(e.enter(o),e.consume(h),e.exit(o),e.exit(i),e.exit(r),n):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(h))}function p(h){return h===62?(e.exit("chunkString"),e.exit(s),f(h)):h===null||h===60||pe(h)?t(h):(e.consume(h),h===92?g:p)}function g(h){return h===60||h===62||h===92?(e.consume(h),p):p(h)}function y(h){return!c&&(h===null||h===41||et(h))?(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),n(h)):c999||p===null||p===91||p===93&&!l||p===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?t(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),n):pe(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||pe(p)||s++>999?(e.exit("chunkString"),c(p)):(e.consume(p),l||(l=!Me(p)),p===92?f:d)}function f(p){return p===91||p===92||p===93?(e.consume(p),s++,d):d(p)}}function $2(e,n,t,r,i,o){let a;return s;function s(f){return f===34||f===39||f===40?(e.enter(r),e.enter(i),e.consume(f),e.exit(i),a=f===40?41:f,l):t(f)}function l(f){return f===a?(e.enter(i),e.consume(f),e.exit(i),e.exit(r),n):(e.enter(o),u(f))}function u(f){return f===a?(e.exit(o),l(a)):f===null?t(f):pe(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),He(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===a||f===null||pe(f)?(e.exit("chunkString"),u(f)):(e.consume(f),f===92?d:c)}function d(f){return f===a||f===92?(e.consume(f),c):c(f)}}function Pa(e,n){let t;return r;function r(i){return pe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):Me(i)?He(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}const M6={name:"definition",tokenize:$6},N6={tokenize:z6,partial:!0};function $6(e,n,t){const r=this;let i;return o;function o(p){return e.enter("definition"),a(p)}function a(p){return N2.call(r,e,s,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return i=go(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):t(p)}function l(p){return et(p)?Pa(e,u)(p):u(p)}function u(p){return M2(e,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(N6,d,d)(p)}function d(p){return Me(p)?He(e,f,"whitespace")(p):f(p)}function f(p){return p===null||pe(p)?(e.exit("definition"),r.parser.defined.push(i),n(p)):t(p)}}function z6(e,n,t){return r;function r(s){return et(s)?Pa(e,i)(s):t(s)}function i(s){return $2(e,o,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return Me(s)?He(e,a,"whitespace")(s):a(s)}function a(s){return s===null||pe(s)?n(s):t(s)}}const F6={name:"hardBreakEscape",tokenize:D6};function D6(e,n,t){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return pe(o)?(e.exit("hardBreakEscape"),n(o)):t(o)}}const B6={name:"headingAtx",tokenize:W6,resolve:U6};function U6(e,n){let t=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),t-2>r&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&e[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[t][1].end},o={type:"chunkText",start:e[r][1].start,end:e[t][1].end,contentType:"text"},Qt(e,r,t-r+1,[["enter",i,n],["enter",o,n],["exit",o,n],["exit",i,n]])),e}function W6(e,n,t){let r=0;return i;function i(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),a(c)}function a(c){return c===35&&r++<6?(e.consume(c),a):c===null||et(c)?(e.exit("atxHeadingSequence"),s(c)):t(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),l(c)):c===null||pe(c)?(e.exit("atxHeading"),n(c)):Me(c)?He(e,s,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function l(c){return c===35?(e.consume(c),l):(e.exit("atxHeadingSequence"),s(c))}function u(c){return c===null||c===35||et(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),u)}}const H6=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],gy=["pre","script","style","textarea"],V6={name:"htmlFlow",tokenize:Y6,resolveTo:q6,concrete:!0},K6={tokenize:Q6,partial:!0},G6={tokenize:X6,partial:!0};function q6(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function Y6(e,n,t){const r=this;let i,o,a,s,l;return u;function u(T){return c(T)}function c(T){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(T),d}function d(T){return T===33?(e.consume(T),f):T===47?(e.consume(T),o=!0,y):T===63?(e.consume(T),i=3,r.interrupt?n:C):Ht(T)?(e.consume(T),a=String.fromCharCode(T),w):t(T)}function f(T){return T===45?(e.consume(T),i=2,p):T===91?(e.consume(T),i=5,s=0,g):Ht(T)?(e.consume(T),i=4,r.interrupt?n:C):t(T)}function p(T){return T===45?(e.consume(T),r.interrupt?n:C):t(T)}function g(T){const Z="CDATA[";return T===Z.charCodeAt(s++)?(e.consume(T),s===Z.length?r.interrupt?n:j:g):t(T)}function y(T){return Ht(T)?(e.consume(T),a=String.fromCharCode(T),w):t(T)}function w(T){if(T===null||T===47||T===62||et(T)){const Z=T===47,ge=a.toLowerCase();return!Z&&!o&&gy.includes(ge)?(i=1,r.interrupt?n(T):j(T)):H6.includes(a.toLowerCase())?(i=6,Z?(e.consume(T),h):r.interrupt?n(T):j(T)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(T):o?m(T):v(T))}return T===45||lt(T)?(e.consume(T),a+=String.fromCharCode(T),w):t(T)}function h(T){return T===62?(e.consume(T),r.interrupt?n:j):t(T)}function m(T){return Me(T)?(e.consume(T),m):O(T)}function v(T){return T===47?(e.consume(T),O):T===58||T===95||Ht(T)?(e.consume(T),b):Me(T)?(e.consume(T),v):O(T)}function b(T){return T===45||T===46||T===58||T===95||lt(T)?(e.consume(T),b):_(T)}function _(T){return T===61?(e.consume(T),S):Me(T)?(e.consume(T),_):v(T)}function S(T){return T===null||T===60||T===61||T===62||T===96?t(T):T===34||T===39?(e.consume(T),l=T,E):Me(T)?(e.consume(T),S):R(T)}function E(T){return T===l?(e.consume(T),l=null,I):T===null||pe(T)?t(T):(e.consume(T),E)}function R(T){return T===null||T===34||T===39||T===47||T===60||T===61||T===62||T===96||et(T)?_(T):(e.consume(T),R)}function I(T){return T===47||T===62||Me(T)?v(T):t(T)}function O(T){return T===62?(e.consume(T),L):t(T)}function L(T){return T===null||pe(T)?j(T):Me(T)?(e.consume(T),L):t(T)}function j(T){return T===45&&i===2?(e.consume(T),U):T===60&&i===1?(e.consume(T),B):T===62&&i===4?(e.consume(T),ce):T===63&&i===3?(e.consume(T),C):T===93&&i===5?(e.consume(T),M):pe(T)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(K6,ue,D)(T)):T===null||pe(T)?(e.exit("htmlFlowData"),D(T)):(e.consume(T),j)}function D(T){return e.check(G6,F,ue)(T)}function F(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),$}function $(T){return T===null||pe(T)?D(T):(e.enter("htmlFlowData"),j(T))}function U(T){return T===45?(e.consume(T),C):j(T)}function B(T){return T===47?(e.consume(T),a="",A):j(T)}function A(T){if(T===62){const Z=a.toLowerCase();return gy.includes(Z)?(e.consume(T),ce):j(T)}return Ht(T)&&a.length<8?(e.consume(T),a+=String.fromCharCode(T),A):j(T)}function M(T){return T===93?(e.consume(T),C):j(T)}function C(T){return T===62?(e.consume(T),ce):T===45&&i===2?(e.consume(T),C):j(T)}function ce(T){return T===null||pe(T)?(e.exit("htmlFlowData"),ue(T)):(e.consume(T),ce)}function ue(T){return e.exit("htmlFlow"),n(T)}}function X6(e,n,t){const r=this;return i;function i(a){return pe(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):t(a)}function o(a){return r.parser.lazy[r.now().line]?t(a):n(a)}}function Q6(e,n,t){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Tc,n,t)}}const J6={name:"htmlText",tokenize:Z6};function Z6(e,n,t){const r=this;let i,o,a;return s;function s(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),l}function l(C){return C===33?(e.consume(C),u):C===47?(e.consume(C),_):C===63?(e.consume(C),v):Ht(C)?(e.consume(C),R):t(C)}function u(C){return C===45?(e.consume(C),c):C===91?(e.consume(C),o=0,g):Ht(C)?(e.consume(C),m):t(C)}function c(C){return C===45?(e.consume(C),p):t(C)}function d(C){return C===null?t(C):C===45?(e.consume(C),f):pe(C)?(a=d,B(C)):(e.consume(C),d)}function f(C){return C===45?(e.consume(C),p):d(C)}function p(C){return C===62?U(C):C===45?f(C):d(C)}function g(C){const ce="CDATA[";return C===ce.charCodeAt(o++)?(e.consume(C),o===ce.length?y:g):t(C)}function y(C){return C===null?t(C):C===93?(e.consume(C),w):pe(C)?(a=y,B(C)):(e.consume(C),y)}function w(C){return C===93?(e.consume(C),h):y(C)}function h(C){return C===62?U(C):C===93?(e.consume(C),h):y(C)}function m(C){return C===null||C===62?U(C):pe(C)?(a=m,B(C)):(e.consume(C),m)}function v(C){return C===null?t(C):C===63?(e.consume(C),b):pe(C)?(a=v,B(C)):(e.consume(C),v)}function b(C){return C===62?U(C):v(C)}function _(C){return Ht(C)?(e.consume(C),S):t(C)}function S(C){return C===45||lt(C)?(e.consume(C),S):E(C)}function E(C){return pe(C)?(a=E,B(C)):Me(C)?(e.consume(C),E):U(C)}function R(C){return C===45||lt(C)?(e.consume(C),R):C===47||C===62||et(C)?I(C):t(C)}function I(C){return C===47?(e.consume(C),U):C===58||C===95||Ht(C)?(e.consume(C),O):pe(C)?(a=I,B(C)):Me(C)?(e.consume(C),I):U(C)}function O(C){return C===45||C===46||C===58||C===95||lt(C)?(e.consume(C),O):L(C)}function L(C){return C===61?(e.consume(C),j):pe(C)?(a=L,B(C)):Me(C)?(e.consume(C),L):I(C)}function j(C){return C===null||C===60||C===61||C===62||C===96?t(C):C===34||C===39?(e.consume(C),i=C,D):pe(C)?(a=j,B(C)):Me(C)?(e.consume(C),j):(e.consume(C),F)}function D(C){return C===i?(e.consume(C),i=void 0,$):C===null?t(C):pe(C)?(a=D,B(C)):(e.consume(C),D)}function F(C){return C===null||C===34||C===39||C===60||C===61||C===96?t(C):C===47||C===62||et(C)?I(C):(e.consume(C),F)}function $(C){return C===47||C===62||et(C)?I(C):t(C)}function U(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),n):t(C)}function B(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),A}function A(C){return Me(C)?He(e,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):M(C)}function M(C){return e.enter("htmlTextData"),a(C)}}const om={name:"labelEnd",tokenize:oz,resolveTo:iz,resolveAll:rz},ez={tokenize:az},nz={tokenize:sz},tz={tokenize:lz};function rz(e){let n=-1;for(;++n=3&&(u===null||pe(u))?(e.exit("thematicBreak"),n(u)):t(u)}function l(u){return u===i?(e.consume(u),r++,l):(e.exit("thematicBreakSequence"),Me(u)?He(e,s,"whitespace")(u):s(u))}}const Kn={name:"list",tokenize:yz,continuation:{tokenize:vz},exit:bz},mz={tokenize:kz,partial:!0},gz={tokenize:xz,partial:!0};function yz(e,n,t){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return s;function s(p){const g=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:ef(p)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(xl,t,u)(p):u(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return t(p)}function l(p){return ef(p)&&++a<10?(e.consume(p),l):(!r.interrupt||a<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):t(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Tc,r.interrupt?t:c,e.attempt(mz,f,d))}function c(p){return r.containerState.initialBlankLine=!0,o++,f(p)}function d(p){return Me(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),f):t(p)}function f(p){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(p)}}function vz(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(Tc,i,o);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,He(e,n,"listItemIndent",r.containerState.size+1)(s)}function o(s){return r.containerState.furtherBlankLines||!Me(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(gz,n,a)(s))}function a(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,He(e,e.attempt(Kn,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function xz(e,n,t){const r=this;return He(e,i,"listItemIndent",r.containerState.size+1);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?n(o):t(o)}}function bz(e){e.exit(this.containerState.type)}function kz(e,n,t){const r=this;return He(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const a=r.events[r.events.length-1];return!Me(o)&&a&&a[1].type==="listItemPrefixWhitespace"?n(o):t(o)}}const yy={name:"setextUnderline",tokenize:Sz,resolveTo:wz};function wz(e,n){let t=e.length,r,i,o;for(;t--;)if(e[t][0]==="enter"){if(e[t][1].type==="content"){r=t;break}e[t][1].type==="paragraph"&&(i=t)}else e[t][1].type==="content"&&e.splice(t,1),!o&&e[t][1].type==="definition"&&(o=t);const a={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",a,n]),e.splice(o+1,0,["exit",e[r][1],n]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=a,e.push(["exit",a,n]),e}function Sz(e,n,t){const r=this;let i;return o;function o(u){let c=r.events.length,d;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){d=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=u,a(u)):t(u)}function a(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===i?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),Me(u)?He(e,l,"lineSuffix")(u):l(u))}function l(u){return u===null||pe(u)?(e.exit("setextHeadingLine"),n(u)):t(u)}}const Cz={tokenize:_z};function _z(e){const n=this,t=e.attempt(Tc,r,e.attempt(this.parser.constructs.flowInitial,i,He(e,e.attempt(this.parser.constructs.flow,i,e.attempt(I6,i)),"linePrefix")));return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n.currentConstruct=void 0,t}}const Ez={resolveAll:F2()},Pz=z2("string"),Tz=z2("text");function z2(e){return{tokenize:n,resolveAll:F2(e==="text"?Oz:void 0)};function n(t){const r=this,i=this.parser.constructs[e],o=t.attempt(i,a,s);return a;function a(c){return u(c)?o(c):s(c)}function s(c){if(c===null){t.consume(c);return}return t.enter("data"),t.consume(c),l}function l(c){return u(c)?(t.exit("data"),o(c)):(t.consume(c),l)}function u(c){if(c===null)return!0;const d=i[c];let f=-1;if(d)for(;++f-1){const s=a[0];typeof s=="string"?a[0]=s.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}function Az(e,n){let t=-1;const r=[];let i;for(;++t0){const Ve=le.tokenStack[le.tokenStack.length-1];(Ve[1]||py).call(le,void 0,Ve[0])}for(V.position={start:vr($.length>0?$[0][1].start:{line:1,column:1,offset:0}),end:vr($.length>0?$[$.length-2][1].end:{line:1,column:1,offset:0})},Y=-1;++Y1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(n,l);const u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(n,u),e.applyData(n,u)}function R6(e,n){const t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function A6(e,n){if(e.options.allowDangerousHtml){const t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}}function R2(e,n){const t=n.referenceType;let r="]";if(t==="collapsed"?r+="[]":t==="full"&&(r+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return[{type:"text",value:"!["+n.alt+r}];const i=e.all(n),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function L6(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return R2(e,n);const i={src:zo(r.url||""),alt:n.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(n,o),e.applyData(n,o)}function M6(e,n){const t={src:zo(n.url)};n.alt!==null&&n.alt!==void 0&&(t.alt=n.alt),n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,r),e.applyData(n,r)}function N6(e,n){const t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);const r={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,r),e.applyData(n,r)}function $6(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return R2(e,n);const i={href:zo(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(n)};return e.patch(n,o),e.applyData(n,o)}function j6(e,n){const t={href:zo(n.url)};n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function z6(e,n,t){const r=e.all(n),i=t?F6(t):A2(n),o={},a=[];if(typeof n.checked=="boolean"){const c=r[0];let d;c&&c.type==="element"&&c.tagName==="p"?d=c:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s0){const Ve=le.tokenStack[le.tokenStack.length-1];(Ve[1]||xy).call(le,void 0,Ve[0])}for(V.position={start:vr(N.length>0?N[0][1].start:{line:1,column:1,offset:0}),end:vr(N.length>0?N[N.length-2][1].end:{line:1,column:1,offset:0})},q=-1;++q1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(n,l);const u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(n,u),e.applyData(n,u)}function oF(e,n){const t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function aF(e,n){if(e.options.allowDangerousHtml){const t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}}function U2(e,n){const t=n.referenceType;let r="]";if(t==="collapsed"?r+="[]":t==="full"&&(r+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return[{type:"text",value:"!["+n.alt+r}];const i=e.all(n),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function sF(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return U2(e,n);const i={src:zo(r.url||""),alt:n.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(n,o),e.applyData(n,o)}function lF(e,n){const t={src:zo(n.url)};n.alt!==null&&n.alt!==void 0&&(t.alt=n.alt),n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,r),e.applyData(n,r)}function uF(e,n){const t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);const r={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,r),e.applyData(n,r)}function cF(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return U2(e,n);const i={href:zo(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(n)};return e.patch(n,o),e.applyData(n,o)}function dF(e,n){const t={href:zo(n.url)};n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function pF(e,n,t){const r=e.all(n),i=t?fF(t):W2(n),o={},a=[];if(typeof n.checked=="boolean"){const c=r[0];let d;c&&c.type==="element"&&c.tagName==="p"?d=c:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s1}function D6(e,n){const t={},r=e.all(n);let i=-1;for(typeof n.start=="number"&&n.start!==1&&(t.start=n.start);++i0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},s=Jh(n.children[1]),l=d2(n.children[n.children.length-1]);s&&l&&(a.position={start:s,end:l}),i.push(a)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(n,o),e.applyData(n,o)}function V6(e,n,t){const r=t?t.children:void 0,o=(r?r.indexOf(n):1)===0?"th":"td",a=t&&t.type==="table"?t.align:void 0,s=a?a.length:n.children.length;let l=-1;const u=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=t.exec(n);return o.push(gy(n.slice(i),i>0,!1)),o.join("")}function gy(e,n,t){let r=0,i=e.length;if(n){let o=e.codePointAt(r);for(;o===hy||o===my;)r++,o=e.codePointAt(r)}if(t){let o=e.codePointAt(i-1);for(;o===hy||o===my;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Y6(e,n){const t={type:"text",value:G6(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function q6(e,n){const t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}const X6={blockquote:E6,break:_6,code:P6,delete:T6,emphasis:O6,footnoteReference:I6,heading:R6,html:A6,imageReference:L6,image:M6,inlineCode:N6,linkReference:$6,link:j6,listItem:z6,list:D6,paragraph:B6,root:U6,strong:W6,table:H6,tableCell:K6,tableRow:V6,text:Y6,thematicBreak:q6,toml:Ws,yaml:Ws,definition:Ws,footnoteDefinition:Ws};function Ws(){}const L2=-1,Oc=0,du=1,fu=2,om=3,am=4,sm=5,lm=6,M2=7,N2=8,yy=typeof self=="object"?self:globalThis,Q6=(e,n)=>{const t=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,a]=n[i];switch(o){case Oc:case L2:return t(a,i);case du:{const s=t([],i);for(const l of a)s.push(r(l));return s}case fu:{const s=t({},i);for(const[l,u]of a)s[r(l)]=r(u);return s}case om:return t(new Date(a),i);case am:{const{source:s,flags:l}=a;return t(new RegExp(s,l),i)}case sm:{const s=t(new Map,i);for(const[l,u]of a)s.set(r(l),r(u));return s}case lm:{const s=t(new Set,i);for(const l of a)s.add(r(l));return s}case M2:{const{name:s,message:l}=a;return t(new yy[s](l),i)}case N2:return t(BigInt(a),i);case"BigInt":return t(Object(BigInt(a)),i)}return t(new yy[o](a),i)};return r},vy=e=>Q6(new Map,e)(0),zi="",{toString:J6}={},{keys:Z6}=Object,ra=e=>{const n=typeof e;if(n!=="object"||!e)return[Oc,n];const t=J6.call(e).slice(8,-1);switch(t){case"Array":return[du,zi];case"Object":return[fu,zi];case"Date":return[om,zi];case"RegExp":return[am,zi];case"Map":return[sm,zi];case"Set":return[lm,zi]}return t.includes("Array")?[du,t]:t.includes("Error")?[M2,t]:[fu,t]},Hs=([e,n])=>e===Oc&&(n==="function"||n==="symbol"),ez=(e,n,t,r)=>{const i=(a,s)=>{const l=r.push(a)-1;return t.set(s,l),l},o=a=>{if(t.has(a))return t.get(a);let[s,l]=ra(a);switch(s){case Oc:{let c=a;switch(l){case"bigint":s=N2,c=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);c=null;break;case"undefined":return i([L2],a)}return i([s,c],a)}case du:{if(l)return i([l,[...a]],a);const c=[],d=i([s,c],a);for(const f of a)c.push(o(f));return d}case fu:{if(l)switch(l){case"BigInt":return i([l,a.toString()],a);case"Boolean":case"Number":case"String":return i([l,a.valueOf()],a)}if(n&&"toJSON"in a)return o(a.toJSON());const c=[],d=i([s,c],a);for(const f of Z6(a))(e||!Hs(ra(a[f])))&&c.push([o(f),o(a[f])]);return d}case om:return i([s,a.toISOString()],a);case am:{const{source:c,flags:d}=a;return i([s,{source:c,flags:d}],a)}case sm:{const c=[],d=i([s,c],a);for(const[f,p]of a)(e||!(Hs(ra(f))||Hs(ra(p))))&&c.push([o(f),o(p)]);return d}case lm:{const c=[],d=i([s,c],a);for(const f of a)(e||!Hs(ra(f)))&&c.push(o(f));return d}}const{message:u}=a;return i([s,{name:l,message:u}],a)};return o},xy=(e,{json:n,lossy:t}={})=>{const r=[];return ez(!(n||t),!!n,new Map,r)(e),r},pu=typeof structuredClone=="function"?(e,n)=>n&&("json"in n||"lossy"in n)?vy(xy(e,n)):structuredClone(e):(e,n)=>vy(xy(e,n));function nz(e,n){const t=[{type:"text",value:"↩"}];return n>1&&t.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(n)}]}),t}function tz(e,n){return"Back to reference "+(e+1)+(n>1?"-"+n:"")}function rz(e){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",t=e.options.footnoteBackContent||nz,r=e.options.footnoteBackLabel||tz,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l0&&g.push({type:"text",value:" "});let m=typeof t=="string"?t:t(l,p);typeof m=="string"&&(m={type:"text",value:m}),g.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+f+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,p),className:["data-footnote-backref"]},children:Array.isArray(m)?m:[m]})}const w=c[c.length-1];if(w&&w.type==="element"&&w.tagName==="p"){const m=w.children[w.children.length-1];m&&m.type==="text"?m.value+=" ":w.children.push({type:"text",value:" "}),w.children.push(...g)}else c.push(...g);const h={type:"element",tagName:"li",properties:{id:n+"fn-"+f},children:e.wrap(c,!0)};e.patch(u,h),s.push(h)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...pu(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` +`});const u={type:"element",tagName:"li",properties:o,children:a};return e.patch(n,u),e.applyData(n,u)}function fF(e){let n=!1;if(e.type==="list"){n=e.spread||!1;const t=e.children;let r=-1;for(;!n&&++r1}function hF(e,n){const t={},r=e.all(n);let i=-1;for(typeof n.start=="number"&&n.start!==1&&(t.start=n.start);++i0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},s=Zh(n.children[1]),l=w2(n.children[n.children.length-1]);s&&l&&(a.position={start:s,end:l}),i.push(a)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(n,o),e.applyData(n,o)}function xF(e,n,t){const r=t?t.children:void 0,o=(r?r.indexOf(n):1)===0?"th":"td",a=t&&t.type==="table"?t.align:void 0,s=a?a.length:n.children.length;let l=-1;const u=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=t.exec(n);return o.push(wy(n.slice(i),i>0,!1)),o.join("")}function wy(e,n,t){let r=0,i=e.length;if(n){let o=e.codePointAt(r);for(;o===by||o===ky;)r++,o=e.codePointAt(r)}if(t){let o=e.codePointAt(i-1);for(;o===by||o===ky;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function wF(e,n){const t={type:"text",value:kF(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function SF(e,n){const t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}const CF={blockquote:Zz,break:eF,code:nF,delete:tF,emphasis:rF,footnoteReference:iF,heading:oF,html:aF,imageReference:sF,image:lF,inlineCode:uF,linkReference:cF,link:dF,listItem:pF,list:hF,paragraph:mF,root:gF,strong:yF,table:vF,tableCell:bF,tableRow:xF,text:wF,thematicBreak:SF,toml:Hs,yaml:Hs,definition:Hs,footnoteDefinition:Hs};function Hs(){}const H2=-1,Oc=0,du=1,pu=2,am=3,sm=4,lm=5,um=6,V2=7,K2=8,Sy=typeof self=="object"?self:globalThis,_F=(e,n)=>{const t=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,a]=n[i];switch(o){case Oc:case H2:return t(a,i);case du:{const s=t([],i);for(const l of a)s.push(r(l));return s}case pu:{const s=t({},i);for(const[l,u]of a)s[r(l)]=r(u);return s}case am:return t(new Date(a),i);case sm:{const{source:s,flags:l}=a;return t(new RegExp(s,l),i)}case lm:{const s=t(new Map,i);for(const[l,u]of a)s.set(r(l),r(u));return s}case um:{const s=t(new Set,i);for(const l of a)s.add(r(l));return s}case V2:{const{name:s,message:l}=a;return t(new Sy[s](l),i)}case K2:return t(BigInt(a),i);case"BigInt":return t(Object(BigInt(a)),i)}return t(new Sy[o](a),i)};return r},Cy=e=>_F(new Map,e)(0),Fi="",{toString:EF}={},{keys:PF}=Object,ra=e=>{const n=typeof e;if(n!=="object"||!e)return[Oc,n];const t=EF.call(e).slice(8,-1);switch(t){case"Array":return[du,Fi];case"Object":return[pu,Fi];case"Date":return[am,Fi];case"RegExp":return[sm,Fi];case"Map":return[lm,Fi];case"Set":return[um,Fi]}return t.includes("Array")?[du,t]:t.includes("Error")?[V2,t]:[pu,t]},Vs=([e,n])=>e===Oc&&(n==="function"||n==="symbol"),TF=(e,n,t,r)=>{const i=(a,s)=>{const l=r.push(a)-1;return t.set(s,l),l},o=a=>{if(t.has(a))return t.get(a);let[s,l]=ra(a);switch(s){case Oc:{let c=a;switch(l){case"bigint":s=K2,c=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);c=null;break;case"undefined":return i([H2],a)}return i([s,c],a)}case du:{if(l)return i([l,[...a]],a);const c=[],d=i([s,c],a);for(const f of a)c.push(o(f));return d}case pu:{if(l)switch(l){case"BigInt":return i([l,a.toString()],a);case"Boolean":case"Number":case"String":return i([l,a.valueOf()],a)}if(n&&"toJSON"in a)return o(a.toJSON());const c=[],d=i([s,c],a);for(const f of PF(a))(e||!Vs(ra(a[f])))&&c.push([o(f),o(a[f])]);return d}case am:return i([s,a.toISOString()],a);case sm:{const{source:c,flags:d}=a;return i([s,{source:c,flags:d}],a)}case lm:{const c=[],d=i([s,c],a);for(const[f,p]of a)(e||!(Vs(ra(f))||Vs(ra(p))))&&c.push([o(f),o(p)]);return d}case um:{const c=[],d=i([s,c],a);for(const f of a)(e||!Vs(ra(f)))&&c.push(o(f));return d}}const{message:u}=a;return i([s,{name:l,message:u}],a)};return o},_y=(e,{json:n,lossy:t}={})=>{const r=[];return TF(!(n||t),!!n,new Map,r)(e),r},fu=typeof structuredClone=="function"?(e,n)=>n&&("json"in n||"lossy"in n)?Cy(_y(e,n)):structuredClone(e):(e,n)=>Cy(_y(e,n));function OF(e,n){const t=[{type:"text",value:"↩"}];return n>1&&t.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(n)}]}),t}function IF(e,n){return"Back to reference "+(e+1)+(n>1?"-"+n:"")}function RF(e){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",t=e.options.footnoteBackContent||OF,r=e.options.footnoteBackLabel||IF,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l0&&g.push({type:"text",value:" "});let m=typeof t=="string"?t:t(l,p);typeof m=="string"&&(m={type:"text",value:m}),g.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+f+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,p),className:["data-footnote-backref"]},children:Array.isArray(m)?m:[m]})}const w=c[c.length-1];if(w&&w.type==="element"&&w.tagName==="p"){const m=w.children[w.children.length-1];m&&m.type==="text"?m.value+=" ":w.children.push({type:"text",value:" "}),w.children.push(...g)}else c.push(...g);const h={type:"element",tagName:"li",properties:{id:n+"fn-"+f},children:e.wrap(c,!0)};e.patch(u,h),s.push(h)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...fu(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:` -`}]}}const $2=function(e){if(e==null)return sz;if(typeof e=="function")return Ic(e);if(typeof e=="object")return Array.isArray(e)?iz(e):oz(e);if(typeof e=="string")return az(e);throw new Error("Expected function, string, or object as test")};function iz(e){const n=[];let t=-1;for(;++t":""))+")"})}return f;function f(){let p=j2,g,y,w;if((!n||o(l,u,c[c.length-1]||void 0))&&(p=fz(t(l,c)),p[0]===by))return p;if("children"in l&&l.children){const h=l;if(h.children&&p[0]!==cz)for(y=(r?h.children.length:-1)+a,w=c.concat(h);y>-1&&y":""))+")"})}return f;function f(){let p=q2,g,y,w;if((!n||o(l,u,c[c.length-1]||void 0))&&(p=DF(t(l,c)),p[0]===Ey))return p;if("children"in l&&l.children){const h=l;if(h.children&&p[0]!==zF)for(y=(r?h.children.length:-1)+a,w=c.concat(h);y>-1&&y0&&t.push({type:"text",value:` -`}),t}function ky(e){let n=0,t=e.charCodeAt(n);for(;t===9||t===32;)n++,t=e.charCodeAt(n);return e.slice(n)}function wy(e,n){const t=hz(e,n),r=t.one(e,void 0),i=rz(t),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:` -`},i),o}function xz(e,n){return e&&"run"in e?async function(t,r){const i=wy(t,{file:r,...n});await e.run(i,r)}:function(t,r){return wy(t,{file:r,...n||e})}}function Cy(e){if(e)throw e}var bl=Object.prototype.hasOwnProperty,F2=Object.prototype.toString,Sy=Object.defineProperty,Ey=Object.getOwnPropertyDescriptor,_y=function(n){return typeof Array.isArray=="function"?Array.isArray(n):F2.call(n)==="[object Array]"},Py=function(n){if(!n||F2.call(n)!=="[object Object]")return!1;var t=bl.call(n,"constructor"),r=n.constructor&&n.constructor.prototype&&bl.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!r)return!1;var i;for(i in n);return typeof i>"u"||bl.call(n,i)},Ty=function(n,t){Sy&&t.name==="__proto__"?Sy(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},Oy=function(n,t){if(t==="__proto__")if(bl.call(n,t)){if(Ey)return Ey(n,t).value}else return;return n[t]},bz=function e(){var n,t,r,i,o,a,s=arguments[0],l=1,u=arguments.length,c=!1;for(typeof s=="boolean"&&(c=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});la.length;let l;s&&a.push(i);try{l=e.apply(this,a)}catch(u){const c=u;if(s&&t)throw c;return i(c)}s||(l instanceof Promise?l.then(o,i):l instanceof Error?i(l):o(l))}function i(a,...s){t||(t=!0,n(a,...s))}function o(a){i(null,a)}}const Ft={basename:Cz,dirname:Sz,extname:Ez,join:_z,sep:"/"};function Cz(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');vs(e);let t=0,r=-1,i=e.length,o;if(n===void 0||n.length===0||n.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){t=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(t,r)}if(n===e)return"";let a=-1,s=n.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){t=i+1;break}}else a<0&&(o=!0,a=i+1),s>-1&&(e.codePointAt(i)===n.codePointAt(s--)?s<0&&(r=i):(s=-1,r=a));return t===r?r=a:r<0&&(r=e.length),e.slice(t,r)}function Sz(e){if(vs(e),e.length===0)return".";let n=-1,t=e.length,r;for(;--t;)if(e.codePointAt(t)===47){if(r){n=t;break}}else r||(r=!0);return n<0?e.codePointAt(0)===47?"/":".":n===1&&e.codePointAt(0)===47?"//":e.slice(0,n)}function Ez(e){vs(e);let n=e.length,t=-1,r=0,i=-1,o=0,a;for(;n--;){const s=e.codePointAt(n);if(s===47){if(a){r=n+1;break}continue}t<0&&(a=!0,t=n+1),s===46?i<0?i=n:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||t<0||o===0||o===1&&i===t-1&&i===r+1?"":e.slice(i,t)}function _z(...e){let n=-1,t;for(;++n0&&e.codePointAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function Tz(e,n){let t="",r=0,i=-1,o=0,a=-1,s,l;for(;++a<=e.length;){if(a2){if(l=t.lastIndexOf("/"),l!==t.length-1){l<0?(t="",r=0):(t=t.slice(0,l),r=t.length-1-t.lastIndexOf("/")),i=a,o=0;continue}}else if(t.length>0){t="",r=0,i=a,o=0;continue}}n&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+e.slice(i+1,a):t=e.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o>-1?o++:o=-1}return t}function vs(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Oz={cwd:Iz};function Iz(){return"/"}function ep(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Rz(e){if(typeof e=="string")e=new URL(e);else if(!ep(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){const n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return Az(e)}function Az(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const n=e.pathname;let t=-1;for(;++t0){let[p,...g]=c;const y=r[f][1];Zf(y)&&Zf(p)&&(p=Sd(!0,y,p)),r[f]=[u,p,...g]}}}}const $z=new um().freeze();function Td(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Od(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Id(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ry(e){if(!Zf(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Ay(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function Vs(e){return jz(e)?e:new D2(e)}function jz(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function zz(e){return typeof e=="string"||Fz(e)}function Fz(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Dz="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Ly=[],My={allowDangerousHtml:!0},Bz=/^(https?|ircs?|mailto|xmpp)$/i,Uz=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function B2(e){const n=e.allowedElements,t=e.allowElement,r=e.children||"",i=e.className,o=e.components,a=e.disallowedElements,s=e.rehypePlugins||Ly,l=e.remarkPlugins||Ly,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...My}:My,c=e.skipHtml,d=e.unwrapDisallowed,f=e.urlTransform||Wz,p=$z().use(S6).use(l).use(xz,u).use(s),g=new D2;typeof r=="string"&&(g.value=r);for(const m of Uz)Object.hasOwn(e,m.from)&&(""+m.from+(m.to?"use `"+m.to+"` instead":"remove it")+Dz+m.id,void 0);const y=p.parse(g);let w=p.runSync(y,g);return i&&(w={type:"element",tagName:"div",properties:{className:i},children:w.type==="root"?w.children:[w]}),z2(w,h),r$(w,{Fragment:k.Fragment,components:o,ignoreInvalidStyle:!0,jsx:k.jsx,jsxs:k.jsxs,passKeys:!0,passNode:!0});function h(m,v,b){if(m.type==="raw"&&b&&typeof v=="number")return c?b.children.splice(v,1):b.children[v]={type:"text",value:m.value},v;if(m.type==="element"){let E;for(E in kd)if(Object.hasOwn(kd,E)&&Object.hasOwn(m.properties,E)){const C=m.properties[E],_=kd[E];(_===null||_.includes(m.tagName))&&(m.properties[E]=f(String(C||""),E,m))}}if(m.type==="element"){let E=n?!n.includes(m.tagName):a?a.includes(m.tagName):!1;if(!E&&t&&typeof v=="number"&&(E=!t(m,v,b)),E&&b&&typeof v=="number")return d&&m.children?b.children.splice(v,1,...m.children):b.children.splice(v,1),v}}}function Wz(e){const n=e.indexOf(":"),t=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return n<0||i>-1&&n>i||t>-1&&n>t||r>-1&&n>r||Bz.test(e.slice(0,n))?e:""}const Hz=pr(k.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear"),Vz=pr(k.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Kz=pr(k.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDown"),U2=({tags:e,selectedTags:n,isLarge:t,handleTagClick:r})=>k.jsx("div",{children:e.map(i=>k.jsx(G3,{label:i,color:n.includes(i)?"primary":"default",onClick:()=>{r(i)},sx:{marginRight:"4px",height:"auto",fontSize:"14px","& .MuiChip-label":{padding:"4px 14px",fontWeight:"400"},...t&&{height:"27px",padding:"0 6px"}}},i))});function W2(e){const n=x.useRef(e);return x.useEffect(()=>{n.current=e},[e]),n}function np(e){const n=W2(e);return x.useCallback(function(...t){return n.current&&n.current(...t)},[n])}function Gz(e,n){const t=x.useRef(!0);x.useEffect(()=>{if(t.current){t.current=!1;return}return e()},n)}function Yz(){const e=x.useRef(!0),n=x.useRef(()=>e.current);return x.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),n.current}function qz(e){const n=x.useRef(e);return n.current=e,n}function Xz(e){const n=qz(e);x.useEffect(()=>()=>n.current(),[])}const tp=2**31-1;function H2(e,n,t){const r=t-Date.now();e.current=r<=tp?setTimeout(n,r):setTimeout(()=>H2(e,n,t),tp)}function Qz(){const e=Yz(),n=x.useRef();return Xz(()=>clearTimeout(n.current)),x.useMemo(()=>{const t=()=>clearTimeout(n.current);function r(i,o=0){e()&&(t(),o<=tp?n.current=setTimeout(i,o):H2(n,i,Date.now()+o))}return{set:r,clear:t}},[])}const Jz=["as","disabled"];function Zz(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o=0)&&(t[i]=e[i]);return t}function eF(e){return!e||e.trim()==="#"}function V2({tagName:e,disabled:n,href:t,target:r,rel:i,role:o,onClick:a,tabIndex:s=0,type:l}){e||(t!=null||r!=null||i!=null?e="a":e="button");const u={tagName:e};if(e==="button")return[{type:l||"button",disabled:n},u];const c=f=>{if((n||e==="a"&&eF(t))&&f.preventDefault(),n){f.stopPropagation();return}a==null||a(f)},d=f=>{f.key===" "&&(f.preventDefault(),c(f))};return e==="a"&&(t||(t="#"),n&&(t=void 0)),[{role:o??"button",disabled:void 0,tabIndex:n?void 0:s,href:t,target:e==="a"?r:void 0,"aria-disabled":n||void 0,rel:e==="a"?i:void 0,onClick:c,onKeyDown:d},u]}const nF=x.forwardRef((e,n)=>{let{as:t,disabled:r}=e,i=Zz(e,Jz);const[o,{tagName:a}]=V2(Object.assign({tagName:t,disabled:r},i));return k.jsx(a,Object.assign({},i,o,{ref:n}))});nF.displayName="Button";const tF=["onKeyDown"];function rF(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o=0)&&(t[i]=e[i]);return t}function iF(e){return!e||e.trim()==="#"}const K2=x.forwardRef((e,n)=>{let{onKeyDown:t}=e,r=rF(e,tF);const[i]=V2(Object.assign({tagName:"a"},r)),o=np(a=>{i.onKeyDown(a),t==null||t(a)});return iF(r.href)||r.role==="button"?k.jsx("a",Object.assign({ref:n},r,i,{onKeyDown:o})):k.jsx("a",Object.assign({ref:n},r,{onKeyDown:t}))});K2.displayName="Anchor";const Ny=K2;var G2={exports:{}};/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var r=[],i=0;i=0)&&(t[i]=e[i]);return t}function $y(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function sF(e){var n=lF(e,"string");return typeof n=="symbol"?n:String(n)}function lF(e,n){if(typeof e!="object"||e===null)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,n||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function uF(e,n,t){var r=x.useRef(e!==void 0),i=x.useState(n),o=i[0],a=i[1],s=e!==void 0,l=r.current;return r.current=s,!s&&l&&o!==n&&a(n),[s?e:o,x.useCallback(function(u){for(var c=arguments.length,d=new Array(c>1?c-1:0),f=1;f(n=cm(n,"carousel-caption"),k.jsx(t,{ref:i,className:Pa(e,n),...r})));q2.displayName="CarouselCaption";const hF=q2,X2=x.forwardRef(({as:e="div",bsPrefix:n,className:t,...r},i)=>{const o=Pa(t,cm(n,"carousel-item"));return k.jsx(e,{ref:i,...r,className:o})});X2.displayName="CarouselItem";const mF=X2;function jy(e,n){let t=0;return x.Children.map(e,r=>x.isValidElement(r)?n(r,t++):r)}function gF(e,n){let t=0;x.Children.forEach(e,r=>{x.isValidElement(r)&&n(r,t++)})}function yF(e){return e&&e.ownerDocument||document}function vF(e){var n=yF(e);return n&&n.defaultView||window}function xF(e,n){return vF(e).getComputedStyle(e,n)}var bF=/([A-Z])/g;function kF(e){return e.replace(bF,"-$1").toLowerCase()}var wF=/^ms-/;function Ks(e){return kF(e).replace(wF,"-ms-")}var CF=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function SF(e){return!!(e&&CF.test(e))}function Q2(e,n){var t="",r="";if(typeof n=="string")return e.style.getPropertyValue(Ks(n))||xF(e).getPropertyValue(Ks(n));Object.keys(n).forEach(function(i){var o=n[i];!o&&o!==0?e.style.removeProperty(Ks(i)):SF(i)?r+=i+"("+o+") ":t+=Ks(i)+": "+o+";"}),r&&(t+="transform: "+r+";"),e.style.cssText+=";"+t}const EF=!!(typeof window<"u"&&window.document&&window.document.createElement);var ip=!1,op=!1;try{var Rd={get passive(){return ip=!0},get once(){return op=ip=!0}};EF&&(window.addEventListener("test",Rd,Rd),window.removeEventListener("test",Rd,!0))}catch{}function _F(e,n,t,r){if(r&&typeof r!="boolean"&&!op){var i=r.once,o=r.capture,a=t;!op&&i&&(a=t.__once||function s(l){this.removeEventListener(n,s,o),t.call(this,l)},t.__once=a),e.addEventListener(n,a,ip?r:o)}e.addEventListener(n,t,r)}function PF(e,n,t,r){var i=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(n,t,i),t.__once&&e.removeEventListener(n,t.__once,i)}function J2(e,n,t,r){return _F(e,n,t,r),function(){PF(e,n,t,r)}}function TF(e,n,t,r){if(t===void 0&&(t=!1),r===void 0&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(n,t,r),e.dispatchEvent(i)}}function OF(e){var n=Q2(e,"transitionDuration")||"",t=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*t}function IF(e,n,t){t===void 0&&(t=5);var r=!1,i=setTimeout(function(){r||TF(e,"transitionend",!0)},n+t),o=J2(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function RF(e,n,t,r){t==null&&(t=OF(e)||0);var i=IF(e,t,r),o=J2(e,"transitionend",n);return function(){i(),o()}}function zy(e,n){const t=Q2(e,n)||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function AF(e,n){const t=zy(e,"transitionDuration"),r=zy(e,"transitionDelay"),i=RF(e,o=>{o.target===e&&(i(),n(o))},t+r)}function LF(e){e.offsetHeight}const Fy=e=>!e||typeof e=="function"?e:n=>{e.current=n};function MF(e,n){const t=Fy(e),r=Fy(n);return i=>{t&&t(i),r&&r(i)}}function NF(e,n){return x.useMemo(()=>MF(e,n),[e,n])}function $F(e){return e&&"setState"in e?la.findDOMNode(e):e??null}const jF=Un.forwardRef(({onEnter:e,onEntering:n,onEntered:t,onExit:r,onExiting:i,onExited:o,addEndListener:a,children:s,childRef:l,...u},c)=>{const d=x.useRef(null),f=NF(d,l),p=C=>{f($F(C))},g=C=>_=>{C&&d.current&&C(d.current,_)},y=x.useCallback(g(e),[e]),w=x.useCallback(g(n),[n]),h=x.useCallback(g(t),[t]),m=x.useCallback(g(r),[r]),v=x.useCallback(g(i),[i]),b=x.useCallback(g(o),[o]),E=x.useCallback(g(a),[a]);return k.jsx(zh,{ref:c,...u,onEnter:y,onEntered:h,onEntering:w,onExit:m,onExited:b,onExiting:v,addEndListener:E,nodeRef:d,children:typeof s=="function"?(C,_)=>s(C,{..._,ref:p}):Un.cloneElement(s,{ref:p})})}),zF=jF,FF=40;function DF(e){if(!e||!e.style||!e.parentNode||!e.parentNode.style)return!1;const n=getComputedStyle(e);return n.display!=="none"&&n.visibility!=="hidden"&&getComputedStyle(e.parentNode).display!=="none"}const Z2=x.forwardRef(({defaultActiveIndex:e=0,...n},t)=>{const{as:r="div",bsPrefix:i,slide:o=!0,fade:a=!1,controls:s=!0,indicators:l=!0,indicatorLabels:u=[],activeIndex:c,onSelect:d,onSlide:f,onSlid:p,interval:g=5e3,keyboard:y=!0,onKeyDown:w,pause:h="hover",onMouseOver:m,onMouseOut:v,wrap:b=!0,touch:E=!0,onTouchStart:C,onTouchMove:_,onTouchEnd:R,prevIcon:I=k.jsx("span",{"aria-hidden":"true",className:"carousel-control-prev-icon"}),prevLabel:O="Previous",nextIcon:L=k.jsx("span",{"aria-hidden":"true",className:"carousel-control-next-icon"}),nextLabel:M="Next",variant:D,className:F,children:j,...U}=cF({defaultActiveIndex:e,...n},{activeIndex:"onSelect"}),B=cm(i,"carousel"),A=pF(),N=x.useRef(null),[S,ce]=x.useState("next"),[ue,T]=x.useState(!1),[Z,ge]=x.useState(!1),[q,Re]=x.useState(c||0);x.useEffect(()=>{!Z&&c!==q&&(N.current?ce(N.current):ce((c||0)>q?"next":"prev"),o&&ge(!0),Re(c||0))},[c,Z,q,o]),x.useEffect(()=>{N.current&&(N.current=null)});let we=0,Ee;gF(j,(ie,G)=>{++we,G===c&&(Ee=ie.props.interval)});const Be=W2(Ee),de=x.useCallback(ie=>{if(Z)return;let G=q-1;if(G<0){if(!b)return;G=we-1}N.current="prev",d==null||d(G,ie)},[Z,q,d,b,we]),ve=np(ie=>{if(Z)return;let G=q+1;if(G>=we){if(!b)return;G=0}N.current="next",d==null||d(G,ie)}),z=x.useRef();x.useImperativeHandle(t,()=>({element:z.current,prev:de,next:ve}));const X=np(()=>{!document.hidden&&DF(z.current)&&(A?de():ve())}),ne=S==="next"?"start":"end";Gz(()=>{o||(f==null||f(q,ne),p==null||p(q,ne))},[q]);const yn=`${B}-item-${S}`,vn=`${B}-item-${ne}`,fn=x.useCallback(ie=>{LF(ie),f==null||f(q,ne)},[f,q,ne]),xn=x.useCallback(()=>{ge(!1),p==null||p(q,ne)},[p,q,ne]),bn=x.useCallback(ie=>{if(y&&!/input|textarea/i.test(ie.target.tagName))switch(ie.key){case"ArrowLeft":ie.preventDefault(),A?ve(ie):de(ie);return;case"ArrowRight":ie.preventDefault(),A?de(ie):ve(ie);return}w==null||w(ie)},[y,w,de,ve,A]),he=x.useCallback(ie=>{h==="hover"&&T(!0),m==null||m(ie)},[h,m]),On=x.useCallback(ie=>{T(!1),v==null||v(ie)},[v]),pn=x.useRef(0),Ae=x.useRef(0),$=Qz(),V=x.useCallback(ie=>{pn.current=ie.touches[0].clientX,Ae.current=0,h==="hover"&&T(!0),C==null||C(ie)},[h,C]),le=x.useCallback(ie=>{ie.touches&&ie.touches.length>1?Ae.current=0:Ae.current=ie.touches[0].clientX-pn.current,_==null||_(ie)},[_]),ee=x.useCallback(ie=>{if(E){const G=Ae.current;Math.abs(G)>FF&&(G>0?de(ie):ve(ie))}h==="hover"&&$.set(()=>{T(!1)},g||void 0),R==null||R(ie)},[E,h,de,ve,$,g,R]),Y=g!=null&&!ue&&!Z,Ve=x.useRef();x.useEffect(()=>{var ie,G;if(!Y)return;const ye=A?de:ve;return Ve.current=window.setInterval(document.visibilityState?X:ye,(ie=(G=Be.current)!=null?G:g)!=null?ie:void 0),()=>{Ve.current!==null&&clearInterval(Ve.current)}},[Y,de,ve,Be,g,X,A]);const In=x.useMemo(()=>l&&Array.from({length:we},(ie,G)=>ye=>{d==null||d(G,ye)}),[l,we,d]);return k.jsxs(r,{ref:z,...U,onKeyDown:bn,onMouseOver:he,onMouseOut:On,onTouchStart:V,onTouchMove:le,onTouchEnd:ee,className:Pa(F,B,o&&"slide",a&&`${B}-fade`,D&&`${B}-${D}`),children:[l&&k.jsx("div",{className:`${B}-indicators`,children:jy(j,(ie,G)=>k.jsx("button",{type:"button","data-bs-target":"","aria-label":u!=null&&u.length?u[G]:`Slide ${G+1}`,className:G===q?"active":void 0,onClick:In?In[G]:void 0,"aria-current":G===q},G))}),k.jsx("div",{className:`${B}-inner`,children:jy(j,(ie,G)=>{const ye=G===q;return o?k.jsx(zF,{in:ye,onEnter:ye?fn:void 0,onEntered:ye?xn:void 0,addEndListener:AF,children:(xe,Fn)=>x.cloneElement(ie,{...Fn,className:Pa(ie.props.className,ye&&xe!=="entered"&&yn,(xe==="entered"||xe==="exiting")&&"active",(xe==="entering"||xe==="exiting")&&vn)})}):x.cloneElement(ie,{className:Pa(ie.props.className,ye&&"active")})})}),s&&k.jsxs(k.Fragment,{children:[(b||c!==0)&&k.jsxs(Ny,{className:`${B}-control-prev`,onClick:de,children:[I,O&&k.jsx("span",{className:"visually-hidden",children:O})]}),(b||c!==we-1)&&k.jsxs(Ny,{className:`${B}-control-next`,onClick:ve,children:[L,M&&k.jsx("span",{className:"visually-hidden",children:M})]})]})]})});Z2.displayName="Carousel";const Dy=Object.assign(Z2,{Caption:hF,Item:mF}),ek="data:image/svg+xml,%3csvg%20width='146'%20height='150'%20viewBox='0%200%20146%20150'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_10_798)'%3e%3cpath%20d='M110.87%2026.09C105.54%2020.65%2099.22%2016.18%2092.24%2012.92C91.96%2012.77%2091.67%2012.64%2091.37%2012.52C90%2011.91%2088.61%2011.32%2087.19%2010.81C83.21%209.36%2079.05%208.31%2074.74%207.68C71.73%207.24%2068.66%207%2065.53%207C30.5%207%202%2035.5%202%2070.53C2%2097.82%2019.3%20121.14%2043.51%20130.12C46.36%20131.18%2049.3%20132.03%2052.32%20132.67C56.58%20133.58%2061%20134.06%2065.53%20134.06C89.66%20134.06%20110.69%20120.53%20121.44%20100.67C126.3%2091.7%20129.06%2081.43%20129.06%2070.53C129.06%2053.25%20122.11%2037.56%20110.87%2026.09ZM20.95%20104.52C13.44%2094.62%209.48%2082.81%209.48%2070.36C9.48%2049.11%2021.26%2030.56%2038.64%2020.89C39.1%2020.63%2039.55%2021.24%2039.17%2021.6C37.58%2023.09%2036.06%2024.69%2034.6%2026.39C24.53%2038.17%2018.73%2054.19%2018.68%2070.35C18.68%2091.33%2032.72%20113.98%2055.39%20113.98C75.63%20113.98%2092.09%2094.41%2092.09%2070.35C92.09%2059.05%2088.3%2048.19%2081.83%2040.14C81.6%2039.86%2081.87%2039.45%2082.22%2039.56C93.16%2042.79%20101.34%2055.38%20101.34%2070.36C101.34%2083.59%2096.54%2096.76%2088.17%20106.49C79.5%20116.58%2067.85%20122.14%2055.39%20122.14C42.26%20122.14%2029.7%20115.7%2020.95%20104.52ZM111.11%2036.23C118.61%2046.11%20122.57%2057.9%20122.56%2070.35C122.56%2091.6%20110.78%20110.16%2093.4%20119.82C92.94%20120.08%2092.49%20119.47%2092.87%20119.11C94.46%20117.62%2095.98%20116.02%2097.44%20114.32C107.51%20102.54%20113.31%2086.53%20113.36%2070.36C113.36%2049.38%2099.32%2026.73%2076.65%2026.73C56.41%2026.73%2039.95%2046.3%2039.95%2070.36C39.95%2081.66%2043.74%2092.52%2050.21%20100.58C50.44%20100.86%2050.17%20101.27%2049.82%20101.16C38.88%2097.93%2030.7%2085.35%2030.7%2070.37C30.7%2057.15%2035.5%2043.98%2043.87%2034.25C52.55%2024.16%2064.19%2018.6%2076.67%2018.6C89.79%2018.6%20102.35%2025.03%20111.13%2036.25L111.11%2036.23ZM85.45%2070.36C85.45%2085.35%2078.17%2098.28%2067.74%20104.09C66.45%20104.81%2064.85%20104.72%2063.66%20103.85L61.43%20102.22C52.28%2095.54%2046.59%2083.33%2046.59%2070.35C46.59%2055.36%2053.87%2042.43%2064.3%2036.63C65.59%2035.91%2067.19%2036%2068.38%2036.87L70.61%2038.5C79.76%2045.18%2085.45%2057.39%2085.45%2070.37V70.36Z'%20fill='%230500E0'/%3e%3cpath%20d='M141.89%2096.73C141.89%2072.4184%20122.182%2052.71%2097.8701%2052.71C73.5585%2052.71%2053.8501%2072.4184%2053.8501%2096.73C53.8501%20121.042%2073.5585%20140.75%2097.8701%20140.75C122.182%20140.75%20141.89%20121.042%20141.89%2096.73Z'%20fill='%2300FFFF'%20stroke='%230500E0'%20stroke-width='4'%20stroke-miterlimit='10'/%3e%3cpath%20d='M119.74%2075.95C122.66%2078.84%20125.51%2081.66%20128.33%2084.45C116.22%2096.56%20104.11%20108.66%2092.07%20120.71C85.23%20113.87%2078.36%20107%2071.5%20100.14C74.25%2097.42%2077.09%2094.61%2079.95%2091.77C83.89%2095.71%2087.92%2099.74%2091.94%20103.76C101.26%2094.44%20110.51%2085.19%20119.75%2075.96L119.74%2075.95Z'%20fill='%230500E0'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_10_798'%3e%3crect%20width='141.89'%20height='135.75'%20fill='white'%20transform='translate(2%207)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",nk=({langs:e,selectedLangs:n,isLarge:t,isInListItem:r,handleLangClick:i})=>{const o=Et(),a=Pi(o.breakpoints.down("sm"));return k.jsx(je,{sx:{borderBottom:r?"1px solid #000000":"none",paddingBottom:"2px",paddingTop:a?"12px":"0"},children:e.map((s,l)=>k.jsxs(pe,{component:"span",onClick:()=>{i(s)},sx:{height:t?"27px":"20px",fontSize:r?"14px":"16px",cursor:"pointer",color:"#000000",fontWeight:n.includes(s)?"700":"normal",letterSpacing:"-0.03em"},children:[s,l{const[s,l]=x.useState(0),u=Et(),c=Pi(u.breakpoints.down("sm"));x.useEffect(()=>{l(0)},[t]);const d=p=>{l(p)},f=(p,g,y)=>{const w=p&&p.startsWith("http")?"_blank":void 0,h=typeof y=="string"?y:"";return k.jsx(Di,{href:p,target:w,title:g,sx:Xr,children:h})};return k.jsxs(m5,{open:e,onClose:n,maxWidth:"lg",children:[k.jsx(a3,{edge:"end",color:"inherit",onClick:n,style:{position:"absolute",top:"32px",right:"32px"},children:k.jsx(Vz,{})}),t&&k.jsxs("div",{style:{padding:c?"32px 20px":"32px"},children:[k.jsx(pe,{variant:"h2",sx:{fontSize:"34px",letterSpacing:"-1.5px",paddingRight:"24px"},children:t.name}),k.jsx(Dy,{activeIndex:s,onSelect:d,controls:t.screenshots.length>1,style:{backgroundColor:"#000000",marginTop:"24px",borderRadius:"8px",color:"#0D09E3",border:"1px solid blue"},children:t.screenshots.map(p=>k.jsx(Dy.Item,{children:k.jsx("img",{src:p,alt:t.name,width:"100%",style:{width:"100%",objectFit:"contain",marginBottom:"0",borderRadius:"8px",height:c?"263px":"464px",padding:"0"}})},p))}),k.jsxs(_e,{container:!0,spacing:3,sx:{marginBottom:"32px",marginTop:"32px"},children:[k.jsxs(_e,{item:!0,xs:12,md:6,children:[k.jsx(je,{sx:{color:"#000000",letterSpacing:"-0.5px",marginBottom:"24px",fontFamily:"'Roboto Flex Variable',sans-serif"},children:k.jsx(B2,{components:{a:p=>f(p.href,p.title,p.children)},children:t.description})}),k.jsxs(_e,{container:!0,spacing:3,children:[k.jsxs(_e,{item:!0,xs:6,children:[k.jsx(pe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px"},children:"Last Updated:"}),k.jsx(pe,{sx:{color:"#0500E1",letterSpacing:"-0.5px",marginBottom:"16px"},children:k.jsx(pe,{component:"span",sx:Xr,children:new Date(t.lastUpdated).toLocaleDateString()})})]}),k.jsxs(_e,{item:!0,xs:6,children:[k.jsx(pe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px"},children:"Created:"}),k.jsx(pe,{sx:{color:"#0500E1",letterSpacing:"-0.5px",marginBottom:"24px"},children:k.jsx(pe,{component:"span",sx:Xr,children:new Date(t.created).toLocaleDateString()})})]})]}),k.jsxs(_e,{container:!0,spacing:3,children:[k.jsxs(_e,{item:!0,xs:6,children:[k.jsx(pe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px",marginTop:"16px"},children:"Languages:"}),k.jsx(je,{sx:{color:"#0500E1",marginBottom:"24px"},children:k.jsx(nk,{langs:t.languages,selectedLangs:i,isLarge:!1,handleLangClick:a})})]}),k.jsxs(_e,{item:!0,xs:6,children:[k.jsx(pe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px",marginTop:"16px"},children:"ParaTimes:"}),k.jsx(je,{sx:{color:"#0500E1",marginBottom:"24px"},children:k.jsx(pe,{component:"span",children:t.paratimes.map((p,g)=>k.jsxs(pe,{component:"span",sx:{letterSpacing:"-0.03em"},children:[p.charAt(0).toUpperCase()+p.slice(1),g{var h;const y=Object.keys(p)[0],w=Object.values(p)[0];return k.jsx(pe,{sx:{color:"#0500E1",letterSpacing:"-0.5px"},children:k.jsxs(Di,{href:w,target:"_blank",underline:"always",sx:Xr,children:[y,g<(((h=t.authors)==null?void 0:h.length)??0)-1&&", "]})},y)})]}),k.jsx(pe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px"},children:"Code:"}),k.jsx(pe,{sx:{color:"#0500E1",letterSpacing:"-0.5px",marginBottom:"16px"},children:k.jsx(Di,{href:t.codeUrl,target:"_blank",underline:"always",sx:Xr,children:"Link to GitHub"})}),t.demoUrl&&k.jsxs(k.Fragment,{children:[k.jsx(pe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px"},children:"Demo:"}),k.jsx(pe,{sx:{color:"#0500E1",letterSpacing:"-0.5px",marginBottom:"16px"},children:k.jsx(Di,{href:t.demoUrl,target:"_blank",underline:"always",sx:Xr,children:t.name})})]}),t.tutorials&&k.jsxs(je,{sx:{marginBottom:"16px"},children:[k.jsx(pe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px"},children:"Tutorials:"}),t.tutorials.map((p,g)=>{var h;const y=Object.keys(p)[0],w=Object.values(p)[0];return k.jsx(pe,{sx:{color:"#0500E1",letterSpacing:"-0.5px"},children:k.jsxs(Di,{href:w,target:"_blank",underline:"always",sx:Xr,children:[y,g<(((h=t.tutorials)==null?void 0:h.length)??0)-1&&", "]})},y)})]}),k.jsx(pe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px"},children:"Licence:"}),k.jsx(pe,{sx:{color:"#0500E1",letterSpacing:"-0.5px",marginBottom:"16px"},children:t.license?t.license:"Unspecified"}),t.maintainedByOasis&&k.jsxs(je,{sx:{display:"flex",alignItems:"center",marginTop:"24px"},children:[k.jsx("img",{src:ek,alt:"Maintained by Oasis Badge",width:"48px"}),k.jsx(pe,{sx:{color:"#000000",letterSpacing:"-0.5px",paddingLeft:"16px",maxWidth:"210px",lineHeight:"1.3"},children:"Maintained by the Oasis Protocol Foundation"})]})]})]})]})]})};var dm={},tk={exports:{}};(function(e){function n(t){return t&&t.__esModule?t:{default:t}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(tk);var UF=tk.exports,Ad={};const WF=Nk(wT);var By;function HF(){return By||(By=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=WF}(Ad)),Ad}var VF=UF;Object.defineProperty(dm,"__esModule",{value:!0});var rk=dm.default=void 0,KF=VF(HF()),GF=k,YF=(0,KF.default)((0,GF.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");rk=dm.default=YF;const qF=({search:e,setSearch:n})=>{const t=Et(),r=Pi(t.breakpoints.down("sm"));return k.jsxs(je,{sx:{position:"relative",width:"fill-available",paddingRight:r?"0":"30px"},children:[k.jsx(lR,{placeholder:"Search",variant:"outlined",fullWidth:!0,value:e,onChange:i=>n(i.target.value),sx:{backgroundColor:"white",borderRadius:"40px",border:"2px solid #0500E1",outline:"none",height:"47px"}}),e.length>0?k.jsx(Ja,{startIcon:k.jsx(Hz,{}),onClick:()=>n(""),sx:{position:"absolute",right:r?"12px":"40px",top:"12px",padding:"0",minWidth:"auto"}}):k.jsx(rk,{sx:{position:"absolute",right:r?"19px":"49px",top:"12px",padding:"0"}})]})},XF=48,QF=8,JF={PaperProps:{style:{maxHeight:XF*4.5+QF,width:186,marginTop:"12px",borderRadius:"10px",border:"2px solid #000000"}}},ZF=e=>e.charAt(0).toUpperCase()+e.slice(1),eD=({langs:e,tags:n,selectedTags:t,selectedLangs:r,handleTagClick:i,handleLanguageClick:o,licenses:a,selectedLicenses:s,handleLicenseChange:l,selectedSources:u,handleSourcesChange:c,selectedParatimes:d,handleParatimesChange:f,maintainedByOasis:p,handleMaintainedByOasisToggle:g,handleClearTags:y,tagCounts:w,langCounts:h,licenseCounts:m,sourceCounts:v,paratimeCounts:b,maintainedByOasisCount:E})=>{const C=I=>{const{target:{value:O}}=I;i(typeof O=="string"?O.split(","):O)},_=[...n].sort(),R=[...a].sort((I,O)=>I===""?1:O===""?-1:I.localeCompare(O));return k.jsxs(_e,{container:!0,spacing:2,sx:{borderBottom:"2px solid #CBC8EC",paddingBottom:"32px",paddingTop:"24px",justifyContent:"space-between"},children:[k.jsx(_e,{item:!0,children:k.jsxs(je,{children:[k.jsx(pe,{variant:"h6",gutterBottom:!0,children:"Tags"}),k.jsxs(Ob,{sx:{marginTop:"8px",width:"186px",border:"2px solid #000000",borderRadius:"30px"},children:[!t.length&&k.jsx(Nb,{id:"multiple-checkbox-label",shrink:!1,sx:{height:"30px",top:"auto",bottom:"14px",color:"#D2CCCC","&.Mui-focused":{borderColor:"none",color:"#D2CCCC"}},children:"Select Tags"}),k.jsx(Kh,{labelId:"multiple-checkbox-label",id:"multiple-checkbox",multiple:!0,value:t,onChange:C,input:k.jsx(Hh,{label:"Tags"}),renderValue:I=>I.join(", "),MenuProps:JF,sx:{height:"32px","& .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"}},children:_.map(I=>k.jsxs(Fb,{value:I,sx:{padding:"0"},children:[k.jsx($i,{checked:t.indexOf(I)>-1,sx:{padding:"6px 9px"}}),k.jsx(YO,{primary:`${I} (${w[I]||0})`})]},I))})]}),t.length>0&&k.jsx(Ja,{onClick:y,sx:{textDecoration:"underline",textTransform:"none",display:"block",paddingTop:"6px",paddingLeft:"0",color:"#0500E1"},children:"Clear tags"})]})}),k.jsx(_e,{item:!0,children:k.jsxs(je,{children:[k.jsx(pe,{variant:"h6",gutterBottom:!0,children:"Languages"}),e.map(I=>k.jsx(je,{sx:{marginBottom:"-7px"},children:k.jsx(Qo,{control:k.jsx($i,{checked:r.includes(I),onChange:()=>o(I),color:"primary"}),label:`${I} (${h[I]||0})`})},I))]})}),k.jsx(_e,{item:!0,children:k.jsxs(je,{children:[k.jsx(pe,{variant:"h6",gutterBottom:!0,sx:{paddingLeft:"-12px"},children:"Licenses"}),R.map(I=>k.jsx(je,{sx:{marginBottom:"-7px"},children:k.jsx(Qo,{control:k.jsx($i,{checked:s.includes(I),onChange:()=>l(I),color:"primary"}),label:`${I||"Unspecified"} (${m[I]||0})`})},I||"unspecified"))]})}),k.jsx(_e,{item:!0,children:k.jsxs(je,{children:[k.jsx(pe,{variant:"h6",gutterBottom:!0,sx:{paddingLeft:"-12px"},children:"Sources"}),["Demo","Code","Tutorial"].map(I=>k.jsx(je,{sx:{marginBottom:"-7px"},children:k.jsx(Qo,{control:k.jsx($i,{checked:u.includes(I),onChange:()=>c(I),color:"primary"}),label:`${I} (${v[I]||0})`})},I))]})}),k.jsx(_e,{item:!0,children:k.jsxs(je,{children:[k.jsx(pe,{variant:"h6",gutterBottom:!0,sx:{paddingLeft:"-12px"},children:"ParaTimes"}),["sapphire","emerald","cipher"].map(I=>k.jsx(je,{sx:{marginBottom:"-7px"},children:k.jsx(Qo,{control:k.jsx($i,{checked:d.includes(I),onChange:()=>f(I),color:"primary"}),label:`${ZF(I)} (${b[I]||0})`})},I))]})}),k.jsx(_e,{item:!0,children:k.jsxs(je,{children:[k.jsx(pe,{variant:"h6",gutterBottom:!0,children:"Approved by"}),k.jsx(Qo,{control:k.jsx($i,{checked:p,onChange:g}),label:`OPF (${E})`})]})})]})};var no=(e=>(e.TITLE="Order by",e.NAME="Name",e.LAST_UPDATED="Last Updated",e.CREATED_DATE="Created",e))(no||{});const nD=({filteredAndSortedProjectsLength:e,sortOption:n,handleSortChange:t})=>{const r=Et(),i=Pi(r.breakpoints.down("sm"));return k.jsxs(_e,{container:!0,spacing:2,justifyContent:"space-between",alignItems:"center",sx:{marginTop:"0",marginBottom:"10px"},children:[k.jsx(_e,{item:!0,xs:6,md:3,children:e?k.jsxs(pe,{gutterBottom:!0,color:"#000000",align:"left",children:[i?null:"Showing ",e," ",e===1?"result":"results"]}):k.jsxs(pe,{gutterBottom:!0,color:"#000000",align:"left",children:["No Results ",i?null:"found"]})}),e>0&&k.jsx(_e,{item:!0,xs:6,md:3,children:k.jsx(_e,{container:!0,spacing:1,justifyContent:"end",alignItems:"center",children:k.jsx(_e,{item:!0,xs:12,md:8,children:k.jsx(Kh,{fullWidth:!0,value:n,onChange:t,variant:"outlined",IconComponent:Kz,sx:{borderRadius:"20px",paddingLeft:"0",paddingRight:"0",textAlign:"right",borderColor:"transparent",border:"none",outline:"none",paddingTop:"0",flexBasis:"0",marginLeft:"auto",display:"flex","& .MuiSelect-root":{color:"#0500E1",border:"none",outline:"none",borderColor:"transparent","&[aria-expended=true]":{border:"none",borderColor:"transparent"},"&:focus":{outline:"none",border:"none",borderColor:"transparent"}},"& .MuiSelect-icon":{right:"7px",color:"#000000"}},MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},PaperProps:{style:{marginTop:"8px",borderRadius:"20px"}}},inputProps:{style:{color:"#0500E1",border:"none"}},children:Object.values(no).map((o,a)=>k.jsx(Fb,{value:o,style:{color:"#0500E1"},disabled:a===0,children:o},o))})})})})]})},tD=({project:e,getProjectLink:n,selectedTags:t,selectedLangs:r,selectedParatimes:i,tags:o,langs:a,handleTagClick:s,handleLangClick:l,handleParatimesChange:u})=>{const c=Et(),d=Pi(c.breakpoints.down("sm"));return k.jsx(_e,{container:!0,xs:12,sm:6,md:4,children:k.jsx(je,{sx:{display:"flex",marginBottom:d?"20px":"0"},children:k.jsxs(kc,{elevation:3,sx:{margin:d?"16px 0":"16px",borderRadius:"16px",border:"2px #0500E1 solid",boxShadow:"none",height:d?"100%":"auto",overflow:"hidden"},children:[k.jsx(zg,{to:n(e),style:{textDecoration:"none",width:"100%",borderTopLeftRadius:"14px",borderTopRightRadius:"14px"},children:k.jsx(je,{sx:{overflow:"hidden",height:"33%",borderBottom:"2px #0500E1 solid"},children:k.jsx(je,{sx:{transition:"all .2s ease-in-out","&:hover":{transform:"scale(1.1)"}},children:k.jsx("img",{src:e.screenshots[0],alt:e.name,style:{width:"100%",height:"100%",objectFit:"cover",marginBottom:"8px"}})})})}),k.jsxs(_e,{container:!0,flexDirection:"column",justifyContent:"space-between",wrap:"nowrap",height:"66%",sx:{padding:"24px",paddingTop:"12px"},children:[k.jsxs(_e,{item:!0,children:[k.jsx(zg,{to:n(e),style:{textDecoration:"none"},children:k.jsx(pe,{variant:"h2",gutterBottom:!0,sx:{transition:"all .1s ease-in-out","&:hover":{fontWeight:"600"}},children:e.name})}),k.jsx(je,{sx:{color:"#000000",lineHeight:"130%",minHeight:"60px",fontFamily:"'Roboto Flex Variable',sans-serif"},children:k.jsx(B2,{className:"markdown-line-clamp",disallowedElements:["a"],children:e.description})}),k.jsx(je,{sx:{minHeight:d?"50px":"80px",marginTop:"24px"},children:k.jsx(U2,{tags:o,selectedTags:t,isLarge:!1,handleTagClick:s})})]}),k.jsxs(_e,{item:!0,container:!0,spacing:2,justifyContent:"space-between",sx:{marginBottom:d?"4px":"0",marginTop:"0"},children:[k.jsxs(_e,{item:!0,xs:e.maintainedByOasis?10:12,sx:{minHeight:d?"50px":"80px",paddingRight:"8px",paddingTop:"0"},children:[k.jsx(je,{sx:{display:"block",width:"100%"},children:k.jsx(nk,{langs:a,selectedLangs:r,isLarge:!1,isInListItem:!0,handleLangClick:l})}),k.jsx(je,{sx:{display:"block",width:"100%",paddingTop:"2px"},children:k.jsx(pe,{sx:{color:"#000000",fontSize:"14px"},children:e.paratimes.map((f,p)=>k.jsxs(pe,{component:"span",onClick:()=>u(f),sx:{letterSpacing:"-0.03em",color:"#000000",fontSize:"14px",cursor:"pointer",fontWeight:i.includes(f)?"700":"normal"},children:[f.charAt(0).toUpperCase()+f.slice(1),pe.length)&&(n=e.length);for(var t=0,r=new Array(n);t-1;i--){var o=t[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}return qe.head.insertBefore(n,r),e}}var PD="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function as(){for(var e=12,n="";e-- >0;)n+=PD[Math.random()*62|0];return n}function Fo(e){for(var n=[],t=(e||[]).length>>>0;t--;)n[t]=e[t];return n}function ym(e){return e.classList?Fo(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(n){return n})}function mk(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function TD(e){return Object.keys(e||{}).reduce(function(n,t){return n+"".concat(t,'="').concat(mk(e[t]),'" ')},"").trim()}function Rc(e){return Object.keys(e||{}).reduce(function(n,t){return n+"".concat(t,": ").concat(e[t].trim(),";")},"")}function vm(e){return e.size!==Vt.size||e.x!==Vt.x||e.y!==Vt.y||e.rotate!==Vt.rotate||e.flipX||e.flipY}function OD(e){var n=e.transform,t=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(t/2," 256)")},o="translate(".concat(n.x*32,", ").concat(n.y*32,") "),a="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)"),l={transform:"".concat(o," ").concat(a," ").concat(s)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:u}}function ID(e){var n=e.transform,t=e.width,r=t===void 0?sp:t,i=e.height,o=i===void 0?sp:i,a=e.startCentered,s=a===void 0?!1:a,l="";return s&&lk?l+="translate(".concat(n.x/xr-r/2,"em, ").concat(n.y/xr-o/2,"em) "):s?l+="translate(calc(-50% + ".concat(n.x/xr,"em), calc(-50% + ").concat(n.y/xr,"em)) "):l+="translate(".concat(n.x/xr,"em, ").concat(n.y/xr,"em) "),l+="scale(".concat(n.size/xr*(n.flipX?-1:1),", ").concat(n.size/xr*(n.flipY?-1:1),") "),l+="rotate(".concat(n.rotate,"deg) "),l}var RD=`:root, :host { +`}),t}function Py(e){let n=0,t=e.charCodeAt(n);for(;t===9||t===32;)n++,t=e.charCodeAt(n);return e.slice(n)}function Ty(e,n){const t=UF(e,n),r=t.one(e,void 0),i=RF(t),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:` +`},i),o}function GF(e,n){return e&&"run"in e?async function(t,r){const i=Ty(t,{file:r,...n});await e.run(i,r)}:function(t,r){return Ty(t,{file:r,...n||e})}}function Oy(e){if(e)throw e}var bl=Object.prototype.hasOwnProperty,X2=Object.prototype.toString,Iy=Object.defineProperty,Ry=Object.getOwnPropertyDescriptor,Ay=function(n){return typeof Array.isArray=="function"?Array.isArray(n):X2.call(n)==="[object Array]"},Ly=function(n){if(!n||X2.call(n)!=="[object Object]")return!1;var t=bl.call(n,"constructor"),r=n.constructor&&n.constructor.prototype&&bl.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!r)return!1;var i;for(i in n);return typeof i>"u"||bl.call(n,i)},jy=function(n,t){Iy&&t.name==="__proto__"?Iy(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},My=function(n,t){if(t==="__proto__")if(bl.call(n,t)){if(Ry)return Ry(n,t).value}else return;return n[t]},qF=function e(){var n,t,r,i,o,a,s=arguments[0],l=1,u=arguments.length,c=!1;for(typeof s=="boolean"&&(c=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});la.length;let l;s&&a.push(i);try{l=e.apply(this,a)}catch(u){const c=u;if(s&&t)throw c;return i(c)}s||(l instanceof Promise?l.then(o,i):l instanceof Error?i(l):o(l))}function i(a,...s){t||(t=!0,n(a,...s))}function o(a){i(null,a)}}const Ft={basename:QF,dirname:JF,extname:ZF,join:eD,sep:"/"};function QF(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');vs(e);let t=0,r=-1,i=e.length,o;if(n===void 0||n.length===0||n.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){t=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(t,r)}if(n===e)return"";let a=-1,s=n.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){t=i+1;break}}else a<0&&(o=!0,a=i+1),s>-1&&(e.codePointAt(i)===n.codePointAt(s--)?s<0&&(r=i):(s=-1,r=a));return t===r?r=a:r<0&&(r=e.length),e.slice(t,r)}function JF(e){if(vs(e),e.length===0)return".";let n=-1,t=e.length,r;for(;--t;)if(e.codePointAt(t)===47){if(r){n=t;break}}else r||(r=!0);return n<0?e.codePointAt(0)===47?"/":".":n===1&&e.codePointAt(0)===47?"//":e.slice(0,n)}function ZF(e){vs(e);let n=e.length,t=-1,r=0,i=-1,o=0,a;for(;n--;){const s=e.codePointAt(n);if(s===47){if(a){r=n+1;break}continue}t<0&&(a=!0,t=n+1),s===46?i<0?i=n:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||t<0||o===0||o===1&&i===t-1&&i===r+1?"":e.slice(i,t)}function eD(...e){let n=-1,t;for(;++n0&&e.codePointAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function tD(e,n){let t="",r=0,i=-1,o=0,a=-1,s,l;for(;++a<=e.length;){if(a2){if(l=t.lastIndexOf("/"),l!==t.length-1){l<0?(t="",r=0):(t=t.slice(0,l),r=t.length-1-t.lastIndexOf("/")),i=a,o=0;continue}}else if(t.length>0){t="",r=0,i=a,o=0;continue}}n&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+e.slice(i+1,a):t=e.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o>-1?o++:o=-1}return t}function vs(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const rD={cwd:iD};function iD(){return"/"}function of(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function oD(e){if(typeof e=="string")e=new URL(e);else if(!of(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){const n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return aD(e)}function aD(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const n=e.pathname;let t=-1;for(;++t0){let[p,...g]=c;const y=r[f][1];rf(y)&&rf(p)&&(p=_d(!0,y,p)),r[f]=[u,p,...g]}}}}const cD=new cm().freeze();function Od(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Id(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Rd(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function $y(e){if(!rf(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function zy(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function Ks(e){return dD(e)?e:new Q2(e)}function dD(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function pD(e){return typeof e=="string"||fD(e)}function fD(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const hD="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Fy=[],Dy={allowDangerousHtml:!0},mD=/^(https?|ircs?|mailto|xmpp)$/i,gD=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function J2(e){const n=e.allowedElements,t=e.allowElement,r=e.children||"",i=e.className,o=e.components,a=e.disallowedElements,s=e.rehypePlugins||Fy,l=e.remarkPlugins||Fy,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Dy}:Dy,c=e.skipHtml,d=e.unwrapDisallowed,f=e.urlTransform||yD,p=cD().use(Jz).use(l).use(GF,u).use(s),g=new Q2;typeof r=="string"&&(g.value=r);for(const m of gD)Object.hasOwn(e,m.from)&&(""+m.from+(m.to?"use `"+m.to+"` instead":"remove it")+hD+m.id,void 0);const y=p.parse(g);let w=p.runSync(y,g);return i&&(w={type:"element",tagName:"div",properties:{className:i},children:w.type==="root"?w.children:[w]}),Y2(w,h),R$(w,{Fragment:k.Fragment,components:o,ignoreInvalidStyle:!0,jsx:k.jsx,jsxs:k.jsxs,passKeys:!0,passNode:!0});function h(m,v,b){if(m.type==="raw"&&b&&typeof v=="number")return c?b.children.splice(v,1):b.children[v]={type:"text",value:m.value},v;if(m.type==="element"){let _;for(_ in wd)if(Object.hasOwn(wd,_)&&Object.hasOwn(m.properties,_)){const S=m.properties[_],E=wd[_];(E===null||E.includes(m.tagName))&&(m.properties[_]=f(String(S||""),_,m))}}if(m.type==="element"){let _=n?!n.includes(m.tagName):a?a.includes(m.tagName):!1;if(!_&&t&&typeof v=="number"&&(_=!t(m,v,b)),_&&b&&typeof v=="number")return d&&m.children?b.children.splice(v,1,...m.children):b.children.splice(v,1),v}}}function yD(e){const n=e.indexOf(":"),t=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return n<0||i>-1&&n>i||t>-1&&n>t||r>-1&&n>r||mD.test(e.slice(0,n))?e:""}const Z2="data:image/svg+xml,%3csvg%20width='146'%20height='150'%20viewBox='0%200%20146%20150'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_10_798)'%3e%3cpath%20d='M110.87%2026.09C105.54%2020.65%2099.22%2016.18%2092.24%2012.92C91.96%2012.77%2091.67%2012.64%2091.37%2012.52C90%2011.91%2088.61%2011.32%2087.19%2010.81C83.21%209.36%2079.05%208.31%2074.74%207.68C71.73%207.24%2068.66%207%2065.53%207C30.5%207%202%2035.5%202%2070.53C2%2097.82%2019.3%20121.14%2043.51%20130.12C46.36%20131.18%2049.3%20132.03%2052.32%20132.67C56.58%20133.58%2061%20134.06%2065.53%20134.06C89.66%20134.06%20110.69%20120.53%20121.44%20100.67C126.3%2091.7%20129.06%2081.43%20129.06%2070.53C129.06%2053.25%20122.11%2037.56%20110.87%2026.09ZM20.95%20104.52C13.44%2094.62%209.48%2082.81%209.48%2070.36C9.48%2049.11%2021.26%2030.56%2038.64%2020.89C39.1%2020.63%2039.55%2021.24%2039.17%2021.6C37.58%2023.09%2036.06%2024.69%2034.6%2026.39C24.53%2038.17%2018.73%2054.19%2018.68%2070.35C18.68%2091.33%2032.72%20113.98%2055.39%20113.98C75.63%20113.98%2092.09%2094.41%2092.09%2070.35C92.09%2059.05%2088.3%2048.19%2081.83%2040.14C81.6%2039.86%2081.87%2039.45%2082.22%2039.56C93.16%2042.79%20101.34%2055.38%20101.34%2070.36C101.34%2083.59%2096.54%2096.76%2088.17%20106.49C79.5%20116.58%2067.85%20122.14%2055.39%20122.14C42.26%20122.14%2029.7%20115.7%2020.95%20104.52ZM111.11%2036.23C118.61%2046.11%20122.57%2057.9%20122.56%2070.35C122.56%2091.6%20110.78%20110.16%2093.4%20119.82C92.94%20120.08%2092.49%20119.47%2092.87%20119.11C94.46%20117.62%2095.98%20116.02%2097.44%20114.32C107.51%20102.54%20113.31%2086.53%20113.36%2070.36C113.36%2049.38%2099.32%2026.73%2076.65%2026.73C56.41%2026.73%2039.95%2046.3%2039.95%2070.36C39.95%2081.66%2043.74%2092.52%2050.21%20100.58C50.44%20100.86%2050.17%20101.27%2049.82%20101.16C38.88%2097.93%2030.7%2085.35%2030.7%2070.37C30.7%2057.15%2035.5%2043.98%2043.87%2034.25C52.55%2024.16%2064.19%2018.6%2076.67%2018.6C89.79%2018.6%20102.35%2025.03%20111.13%2036.25L111.11%2036.23ZM85.45%2070.36C85.45%2085.35%2078.17%2098.28%2067.74%20104.09C66.45%20104.81%2064.85%20104.72%2063.66%20103.85L61.43%20102.22C52.28%2095.54%2046.59%2083.33%2046.59%2070.35C46.59%2055.36%2053.87%2042.43%2064.3%2036.63C65.59%2035.91%2067.19%2036%2068.38%2036.87L70.61%2038.5C79.76%2045.18%2085.45%2057.39%2085.45%2070.37V70.36Z'%20fill='%230500E0'/%3e%3cpath%20d='M141.89%2096.73C141.89%2072.4184%20122.182%2052.71%2097.8701%2052.71C73.5585%2052.71%2053.8501%2072.4184%2053.8501%2096.73C53.8501%20121.042%2073.5585%20140.75%2097.8701%20140.75C122.182%20140.75%20141.89%20121.042%20141.89%2096.73Z'%20fill='%2300FFFF'%20stroke='%230500E0'%20stroke-width='4'%20stroke-miterlimit='10'/%3e%3cpath%20d='M119.74%2075.95C122.66%2078.84%20125.51%2081.66%20128.33%2084.45C116.22%2096.56%20104.11%20108.66%2092.07%20120.71C85.23%20113.87%2078.36%20107%2071.5%20100.14C74.25%2097.42%2077.09%2094.61%2079.95%2091.77C83.89%2095.71%2087.92%2099.74%2091.94%20103.76C101.26%2094.44%20110.51%2085.19%20119.75%2075.96L119.74%2075.95Z'%20fill='%230500E0'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_10_798'%3e%3crect%20width='141.89'%20height='135.75'%20fill='white'%20transform='translate(2%207)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ek=({tags:e,selectedTags:n,isLarge:t,handleTagClick:r})=>k.jsx("div",{children:e.map(i=>k.jsx(G3,{label:i,color:n.includes(i)?"primary":"default",onClick:()=>{r(i)},sx:{marginRight:"4px",height:"auto",fontSize:"14px","& .MuiChip-label":{padding:"4px 14px",fontWeight:"400"},...t&&{height:"27px",padding:"0 6px"}}},i))}),nk=({langs:e,selectedLangs:n,isLarge:t,isInListItem:r,handleLangClick:i})=>{const o=_t(),a=Ti(o.breakpoints.down("sm"));return k.jsx($e,{sx:{borderBottom:r?"1px solid #000000":"none",paddingBottom:"2px",paddingTop:a?"12px":"0"},children:e.map((s,l)=>k.jsxs(fe,{component:"span",onClick:()=>{i(s)},sx:{height:t?"27px":"20px",fontSize:r?"14px":"16px",cursor:"pointer",color:"#000000",fontWeight:n.includes(s)?"700":"normal",letterSpacing:"-0.03em"},children:[s,l{const[s,l]=x.useState(0),u=_t(),c=Ti(u.breakpoints.down("sm"));x.useEffect(()=>{l(0)},[t]);const d=p=>{l(p)},f=(p,g,y)=>{const w=p!=null&&p.startsWith("http")?"_blank":void 0,h=typeof y=="string"?y:"";return k.jsx(Bi,{href:p,target:w,title:g,sx:Xr,children:h})};return k.jsxs(m5,{open:e,onClose:n,maxWidth:"lg",children:[k.jsx(a3,{edge:"end",color:"inherit",onClick:n,style:{position:"absolute",top:"32px",right:"32px"},children:k.jsx(XM,{})}),t&&k.jsxs("div",{style:{padding:c?"32px 20px":"32px"},children:[k.jsx(fe,{variant:"h2",sx:{fontSize:"34px",letterSpacing:"-1.5px",paddingRight:"24px"},children:t.name}),k.jsx(X0,{activeIndex:s,onSelect:d,controls:t.screenshots.length>1,style:{backgroundColor:"#000000",marginTop:"24px",borderRadius:"8px",color:"#0D09E3",border:"1px solid blue"},children:t.screenshots.map(p=>k.jsx(X0.Item,{children:k.jsx("img",{src:p,alt:t.name,width:"100%",style:{width:"100%",objectFit:"contain",marginBottom:"0",borderRadius:"8px",height:c?"263px":"464px",padding:"0"}})},p))}),k.jsxs(Ee,{container:!0,spacing:3,sx:{marginBottom:"32px",marginTop:"32px"},children:[k.jsxs(Ee,{item:!0,xs:12,md:6,children:[k.jsx($e,{sx:{color:"#000000",letterSpacing:"-0.5px",marginBottom:"24px",fontFamily:"'Roboto Flex Variable',sans-serif"},children:k.jsx(J2,{components:{a:p=>f(p.href,p.title,p.children)},children:t.description})}),k.jsxs(Ee,{container:!0,spacing:3,children:[k.jsxs(Ee,{item:!0,xs:6,children:[k.jsx(fe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px"},children:"Last Updated:"}),k.jsx(fe,{sx:{color:"#0500E1",letterSpacing:"-0.5px",marginBottom:"16px"},children:k.jsx(fe,{component:"span",sx:Xr,children:new Date(t.lastUpdated).toLocaleDateString()})})]}),k.jsxs(Ee,{item:!0,xs:6,children:[k.jsx(fe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px"},children:"Created:"}),k.jsx(fe,{sx:{color:"#0500E1",letterSpacing:"-0.5px",marginBottom:"24px"},children:k.jsx(fe,{component:"span",sx:Xr,children:new Date(t.created).toLocaleDateString()})})]})]}),k.jsxs(Ee,{container:!0,spacing:3,children:[k.jsxs(Ee,{item:!0,xs:6,children:[k.jsx(fe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px",marginTop:"16px"},children:"Languages:"}),k.jsx($e,{sx:{color:"#0500E1",marginBottom:"24px"},children:k.jsx(nk,{langs:t.languages,selectedLangs:i,isLarge:!1,handleLangClick:a})})]}),k.jsxs(Ee,{item:!0,xs:6,children:[k.jsx(fe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px",marginTop:"16px"},children:"ParaTimes:"}),k.jsx($e,{sx:{color:"#0500E1",marginBottom:"24px"},children:k.jsx(fe,{component:"span",children:t.paratimes.map((p,g)=>k.jsxs(fe,{component:"span",sx:{letterSpacing:"-0.03em"},children:[p.charAt(0).toUpperCase()+p.slice(1),g{var h;const y=Object.keys(p)[0],w=Object.values(p)[0];return k.jsx(fe,{sx:{color:"#0500E1",letterSpacing:"-0.5px"},children:k.jsxs(Bi,{href:w,target:"_blank",underline:"always",sx:Xr,children:[y,g<(((h=t.authors)==null?void 0:h.length)??0)-1&&", "]})},y)})]}),k.jsx(fe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px"},children:"Code:"}),k.jsx(fe,{sx:{color:"#0500E1",letterSpacing:"-0.5px",marginBottom:"16px"},children:k.jsx(Bi,{href:t.codeUrl,target:"_blank",underline:"always",sx:Xr,children:"Link to GitHub"})}),t.demoUrl&&k.jsxs(k.Fragment,{children:[k.jsx(fe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px"},children:"Demo:"}),k.jsx(fe,{sx:{color:"#0500E1",letterSpacing:"-0.5px",marginBottom:"16px"},children:k.jsx(Bi,{href:t.demoUrl,target:"_blank",underline:"always",sx:Xr,children:t.name})})]}),t.tutorials&&k.jsxs($e,{sx:{marginBottom:"16px"},children:[k.jsx(fe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px"},children:"Tutorials:"}),t.tutorials.map((p,g)=>{var h;const y=Object.keys(p)[0],w=Object.values(p)[0];return k.jsx(fe,{sx:{color:"#0500E1",letterSpacing:"-0.5px"},children:k.jsxs(Bi,{href:w,target:"_blank",underline:"always",sx:Xr,children:[y,g<(((h=t.tutorials)==null?void 0:h.length)??0)-1&&", "]})},y)})]}),k.jsx(fe,{sx:{color:"#000000",letterSpacing:"-0.5px",fontSize:"14px"},children:"Licence:"}),k.jsx(fe,{sx:{color:"#0500E1",letterSpacing:"-0.5px",marginBottom:"16px"},children:t.license?t.license:"Unspecified"}),t.maintainedByOasis&&k.jsxs($e,{sx:{display:"flex",alignItems:"center",marginTop:"24px"},children:[k.jsx("img",{src:Z2,alt:"Maintained by Oasis Badge",width:"48px"}),k.jsx(fe,{sx:{color:"#000000",letterSpacing:"-0.5px",paddingLeft:"16px",maxWidth:"210px",lineHeight:"1.3"},children:"Maintained by the Oasis Protocol Foundation"})]})]})]})]})]})},xD=({project:e,getProjectLink:n,selectedTags:t,selectedLangs:r,selectedParatimes:i,tags:o,langs:a,handleTagClick:s,handleLangClick:l,handleParatimesChange:u})=>{const c=_t(),d=Ti(c.breakpoints.down("sm"));return k.jsx(Ee,{container:!0,xs:12,sm:6,md:4,children:k.jsx($e,{sx:{display:"flex",marginBottom:d?"20px":"0"},children:k.jsxs(kc,{elevation:3,sx:{margin:d?"16px 0":"16px",borderRadius:"16px",border:"2px #0500E1 solid",boxShadow:"none",height:d?"100%":"auto",overflow:"hidden"},children:[k.jsx(Fg,{to:n(e),style:{textDecoration:"none",width:"100%",borderTopLeftRadius:"14px",borderTopRightRadius:"14px"},children:k.jsx($e,{sx:{overflow:"hidden",height:"33%",borderBottom:"2px #0500E1 solid"},children:k.jsx($e,{sx:{transition:"all .2s ease-in-out","&:hover":{transform:"scale(1.1)"}},children:k.jsx("img",{src:e.screenshots[0],alt:e.name,style:{width:"100%",height:"100%",objectFit:"cover",marginBottom:"8px"}})})})}),k.jsxs(Ee,{container:!0,flexDirection:"column",justifyContent:"space-between",wrap:"nowrap",height:"66%",sx:{padding:"24px",paddingTop:"12px"},children:[k.jsxs(Ee,{item:!0,children:[k.jsx(Fg,{to:n(e),style:{textDecoration:"none"},children:k.jsx(fe,{variant:"h2",gutterBottom:!0,sx:{transition:"all .1s ease-in-out","&:hover":{fontWeight:"600"}},children:e.name})}),k.jsx($e,{sx:{color:"#000000",lineHeight:"130%",minHeight:"60px",fontFamily:"'Roboto Flex Variable',sans-serif"},children:k.jsx(J2,{className:"markdown-line-clamp",disallowedElements:["a"],children:e.description})}),k.jsx($e,{sx:{minHeight:d?"50px":"80px",marginTop:"24px"},children:k.jsx(ek,{tags:o,selectedTags:t,isLarge:!1,handleTagClick:s})})]}),k.jsxs(Ee,{item:!0,container:!0,spacing:2,justifyContent:"space-between",sx:{marginBottom:d?"4px":"0",marginTop:"0"},children:[k.jsxs(Ee,{item:!0,xs:e.maintainedByOasis?10:12,sx:{minHeight:d?"50px":"80px",paddingRight:"8px",paddingTop:"0"},children:[k.jsx($e,{sx:{display:"block",width:"100%"},children:k.jsx(nk,{langs:a,selectedLangs:r,isLarge:!1,isInListItem:!0,handleLangClick:l})}),k.jsx($e,{sx:{display:"block",width:"100%",paddingTop:"2px"},children:k.jsx(fe,{sx:{color:"#000000",fontSize:"14px"},children:e.paratimes.map((f,p)=>k.jsxs(fe,{component:"span",onClick:()=>u(f),sx:{letterSpacing:"-0.03em",color:"#000000",fontSize:"14px",cursor:"pointer",fontWeight:i.includes(f)?"700":"normal"},children:[f.charAt(0).toUpperCase()+f.slice(1),p{const t=_t(),r=Ti(t.breakpoints.down("sm"));return k.jsxs($e,{sx:{position:"relative",width:"fill-available",paddingRight:r?"0":"30px"},children:[k.jsx(lR,{placeholder:"Search",variant:"outlined",fullWidth:!0,value:e,onChange:i=>n(i.target.value),sx:{backgroundColor:"white",borderRadius:"40px",border:"2px solid #0500E1",outline:"none",height:"47px"}}),e.length>0?k.jsx(Ja,{startIcon:k.jsx(YM,{}),onClick:()=>n(""),sx:{position:"absolute",right:r?"12px":"40px",top:"12px",padding:"0",minWidth:"auto"}}):k.jsx(rk,{sx:{position:"absolute",right:r?"19px":"49px",top:"12px",padding:"0"}})]})},TD=({filteredAndSortedProjectsLength:e,sortOption:n,handleSortChange:t})=>{const r=_t(),i=Ti(r.breakpoints.down("sm"));return k.jsxs(Ee,{container:!0,spacing:2,justifyContent:"space-between",alignItems:"center",sx:{marginTop:"0",marginBottom:"10px"},children:[k.jsx(Ee,{item:!0,xs:6,md:3,children:e?k.jsxs(fe,{gutterBottom:!0,color:"#000000",align:"left",children:[i?null:"Showing ",e," ",e===1?"result":"results"]}):k.jsxs(fe,{gutterBottom:!0,color:"#000000",align:"left",children:["No Results ",i?null:"found"]})}),e>0&&k.jsx(Ee,{item:!0,xs:6,md:3,children:k.jsx(Ee,{container:!0,spacing:1,justifyContent:"end",alignItems:"center",children:k.jsx(Ee,{item:!0,xs:12,md:8,children:k.jsx(Kh,{fullWidth:!0,value:n,onChange:t,variant:"outlined",IconComponent:QM,sx:{borderRadius:"20px",paddingLeft:"0",paddingRight:"0",textAlign:"right",borderColor:"transparent",border:"none",outline:"none",paddingTop:"0",flexBasis:"0",marginLeft:"auto",display:"flex","& .MuiSelect-root":{color:"#0500E1",border:"none",outline:"none",borderColor:"transparent","&[aria-expended=true]":{border:"none",borderColor:"transparent"},"&:focus":{outline:"none",border:"none",borderColor:"transparent"}},"& .MuiSelect-icon":{right:"7px",color:"#000000"}},MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},PaperProps:{style:{marginTop:"8px",borderRadius:"20px"}}},inputProps:{style:{color:"#0500E1",border:"none"}},children:Object.values(ni).map((o,a)=>k.jsx(Fb,{value:o,style:{color:"#0500E1"},disabled:a===0,children:o},o))})})})})]})};var OD={prefix:"fas",iconName:"sliders",icon:[512,512,["sliders-h"],"f1de","M0 416c0 17.7 14.3 32 32 32l54.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 448c17.7 0 32-14.3 32-32s-14.3-32-32-32l-246.7 0c-12.3-28.3-40.5-48-73.3-48s-61 19.7-73.3 48L32 384c-17.7 0-32 14.3-32 32zm128 0a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM320 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm32-80c-32.8 0-61 19.7-73.3 48L32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l246.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48l54.7 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-54.7 0c-12.3-28.3-40.5-48-73.3-48zM192 128a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm73.3-64C253 35.7 224.8 16 192 16s-61 19.7-73.3 48L32 64C14.3 64 0 78.3 0 96s14.3 32 32 32l86.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 128c17.7 0 32-14.3 32-32s-14.3-32-32-32L265.3 64z"]};function Uy(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function Q(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=new Array(n);t-1;i--){var o=t[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}return Ye.head.insertBefore(n,r),e}}var e9="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function as(){for(var e=12,n="";e-- >0;)n+=e9[Math.random()*62|0];return n}function Fo(e){for(var n=[],t=(e||[]).length>>>0;t--;)n[t]=e[t];return n}function ym(e){return e.classList?Fo(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(n){return n})}function mk(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function n9(e){return Object.keys(e||{}).reduce(function(n,t){return n+"".concat(t,'="').concat(mk(e[t]),'" ')},"").trim()}function Rc(e){return Object.keys(e||{}).reduce(function(n,t){return n+"".concat(t,": ").concat(e[t].trim(),";")},"")}function vm(e){return e.size!==Vt.size||e.x!==Vt.x||e.y!==Vt.y||e.rotate!==Vt.rotate||e.flipX||e.flipY}function t9(e){var n=e.transform,t=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(t/2," 256)")},o="translate(".concat(n.x*32,", ").concat(n.y*32,") "),a="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)"),l={transform:"".concat(o," ").concat(a," ").concat(s)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:u}}function r9(e){var n=e.transform,t=e.width,r=t===void 0?sf:t,i=e.height,o=i===void 0?sf:i,a=e.startCentered,s=a===void 0?!1:a,l="";return s&&lk?l+="translate(".concat(n.x/xr-r/2,"em, ").concat(n.y/xr-o/2,"em) "):s?l+="translate(calc(-50% + ".concat(n.x/xr,"em), calc(-50% + ").concat(n.y/xr,"em)) "):l+="translate(".concat(n.x/xr,"em, ").concat(n.y/xr,"em) "),l+="scale(".concat(n.size/xr*(n.flipX?-1:1),", ").concat(n.size/xr*(n.flipY?-1:1),") "),l+="rotate(".concat(n.rotate,"deg) "),l}var i9=`:root, :host { --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; @@ -2083,7 +2295,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { .fad.fa-inverse, .fa-duotone.fa-inverse { color: var(--fa-inverse, #fff); -}`;function gk(){var e=uk,n=ck,t=re.cssPrefix,r=re.replacementClass,i=RD;if(t!==e||r!==n){var o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(n),"g");i=i.replace(o,".".concat(t,"-")).replace(a,"--".concat(t,"-")).replace(s,".".concat(r))}return i}var qy=!1;function Ld(){re.autoAddCss&&!qy&&(_D(gk()),qy=!0)}var AD={mixout:function(){return{dom:{css:gk,insertCss:Ld}}},hooks:function(){return{beforeDOMElementCreation:function(){Ld()},beforeI2svg:function(){Ld()}}}},cr=Br||{};cr[ur]||(cr[ur]={});cr[ur].styles||(cr[ur].styles={});cr[ur].hooks||(cr[ur].hooks={});cr[ur].shims||(cr[ur].shims=[]);var At=cr[ur],yk=[],LD=function e(){qe.removeEventListener("DOMContentLoaded",e),mu=1,yk.map(function(n){return n()})},mu=!1;mr&&(mu=(qe.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(qe.readyState),mu||qe.addEventListener("DOMContentLoaded",LD));function MD(e){mr&&(mu?setTimeout(e,0):yk.push(e))}function ks(e){var n=e.tag,t=e.attributes,r=t===void 0?{}:t,i=e.children,o=i===void 0?[]:i;return typeof e=="string"?mk(e):"<".concat(n," ").concat(TD(r),">").concat(o.map(ks).join(""),"")}function Xy(e,n,t){if(e&&e[n]&&e[n][t])return{prefix:n,iconName:t,icon:e[n][t]}}var ND=function(n,t){return function(r,i,o,a){return n.call(t,r,i,o,a)}},Md=function(n,t,r,i){var o=Object.keys(n),a=o.length,s=i!==void 0?ND(t,i):t,l,u,c;for(r===void 0?(l=1,c=n[o[0]]):(l=0,c=r);l=55296&&i<=56319&&t=55296&&r<=56319&&t>n+1&&(i=e.charCodeAt(n+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function Qy(e){return Object.keys(e).reduce(function(n,t){var r=e[t],i=!!r.icon;return i?n[r.iconName]=r.icon:n[t]=r,n},{})}function cp(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=t.skipHooks,i=r===void 0?!1:r,o=Qy(n);typeof At.hooks.addPack=="function"&&!i?At.hooks.addPack(e,Qy(n)):At.styles[e]=Q(Q({},At.styles[e]||{}),o),e==="fas"&&cp("fa",n)}var Zs,el,nl,to=At.styles,zD=At.shims,FD=(Zs={},gn(Zs,Ge,Object.values(is[Ge])),gn(Zs,an,Object.values(is[an])),Zs),xm=null,vk={},xk={},bk={},kk={},wk={},DD=(el={},gn(el,Ge,Object.keys(ts[Ge])),gn(el,an,Object.keys(ts[an])),el);function BD(e){return~kD.indexOf(e)}function UD(e,n){var t=n.split("-"),r=t[0],i=t.slice(1).join("-");return r===e&&i!==""&&!BD(i)?i:null}var Ck=function(){var n=function(o){return Md(to,function(a,s,l){return a[l]=Md(s,o,{}),a},{})};vk=n(function(i,o,a){if(o[3]&&(i[o[3]]=a),o[2]){var s=o[2].filter(function(l){return typeof l=="number"});s.forEach(function(l){i[l.toString(16)]=a})}return i}),xk=n(function(i,o,a){if(i[a]=a,o[2]){var s=o[2].filter(function(l){return typeof l=="string"});s.forEach(function(l){i[l]=a})}return i}),wk=n(function(i,o,a){var s=o[2];return i[a]=a,s.forEach(function(l){i[l]=a}),i});var t="far"in to||re.autoFetchSvg,r=Md(zD,function(i,o){var a=o[0],s=o[1],l=o[2];return s==="far"&&!t&&(s="fas"),typeof a=="string"&&(i.names[a]={prefix:s,iconName:l}),typeof a=="number"&&(i.unicodes[a.toString(16)]={prefix:s,iconName:l}),i},{names:{},unicodes:{}});bk=r.names,kk=r.unicodes,xm=Ac(re.styleDefault,{family:re.familyDefault})};ED(function(e){xm=Ac(e.styleDefault,{family:re.familyDefault})});Ck();function bm(e,n){return(vk[e]||{})[n]}function WD(e,n){return(xk[e]||{})[n]}function ui(e,n){return(wk[e]||{})[n]}function Sk(e){return bk[e]||{prefix:null,iconName:null}}function HD(e){var n=kk[e],t=bm("fas",e);return n||(t?{prefix:"fas",iconName:t}:null)||{prefix:null,iconName:null}}function Ur(){return xm}var km=function(){return{prefix:null,iconName:null,rest:[]}};function Ac(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=n.family,r=t===void 0?Ge:t,i=ts[r][e],o=rs[r][e]||rs[r][i],a=e in At.styles?e:null;return o||a||null}var Jy=(nl={},gn(nl,Ge,Object.keys(is[Ge])),gn(nl,an,Object.keys(is[an])),nl);function Lc(e){var n,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipLookups,i=r===void 0?!1:r,o=(n={},gn(n,Ge,"".concat(re.cssPrefix,"-").concat(Ge)),gn(n,an,"".concat(re.cssPrefix,"-").concat(an)),n),a=null,s=Ge;(e.includes(o[Ge])||e.some(function(u){return Jy[Ge].includes(u)}))&&(s=Ge),(e.includes(o[an])||e.some(function(u){return Jy[an].includes(u)}))&&(s=an);var l=e.reduce(function(u,c){var d=UD(re.cssPrefix,c);if(to[c]?(c=FD[s].includes(c)?mD[s][c]:c,a=c,u.prefix=c):DD[s].indexOf(c)>-1?(a=c,u.prefix=Ac(c,{family:s})):d?u.iconName=d:c!==re.replacementClass&&c!==o[Ge]&&c!==o[an]&&u.rest.push(c),!i&&u.prefix&&u.iconName){var f=a==="fa"?Sk(u.iconName):{},p=ui(u.prefix,u.iconName);f.prefix&&(a=null),u.iconName=f.iconName||p||u.iconName,u.prefix=f.prefix||u.prefix,u.prefix==="far"&&!to.far&&to.fas&&!re.autoFetchSvg&&(u.prefix="fas")}return u},km());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&s===an&&(to.fass||re.autoFetchSvg)&&(l.prefix="fass",l.iconName=ui(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||a==="fa")&&(l.prefix=Ur()||"fas"),l}var VD=function(){function e(){rD(this,e),this.definitions={}}return iD(e,[{key:"add",value:function(){for(var t=this,r=arguments.length,i=new Array(r),o=0;o0&&c.forEach(function(d){typeof d=="string"&&(t[s][d]=u)}),t[s][l]=u}),t}}]),e}(),Zy=[],ro={},yo={},KD=Object.keys(yo);function GD(e,n){var t=n.mixoutsTo;return Zy=e,ro={},Object.keys(yo).forEach(function(r){KD.indexOf(r)===-1&&delete yo[r]}),Zy.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(a){typeof i[a]=="function"&&(t[a]=i[a]),hu(i[a])==="object"&&Object.keys(i[a]).forEach(function(s){t[a]||(t[a]={}),t[a][s]=i[a][s]})}),r.hooks){var o=r.hooks();Object.keys(o).forEach(function(a){ro[a]||(ro[a]=[]),ro[a].push(o[a])})}r.provides&&r.provides(yo)}),t}function dp(e,n){for(var t=arguments.length,r=new Array(t>2?t-2:0),i=2;i1?n-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return mr?(Ci("beforeI2svg",n),dr("pseudoElements2svg",n),dr("i2svg",n)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=n.autoReplaceSvgRoot;re.autoReplaceSvg===!1&&(re.autoReplaceSvg=!0),re.observeMutations=!0,MD(function(){QD({autoReplaceSvgRoot:t}),Ci("watch",n)})}},XD={icon:function(n){if(n===null)return null;if(hu(n)==="object"&&n.prefix&&n.iconName)return{prefix:n.prefix,iconName:ui(n.prefix,n.iconName)||n.iconName};if(Array.isArray(n)&&n.length===2){var t=n[1].indexOf("fa-")===0?n[1].slice(3):n[1],r=Ac(n[0]);return{prefix:r,iconName:ui(r,t)||t}}if(typeof n=="string"&&(n.indexOf("".concat(re.cssPrefix,"-"))>-1||n.match(gD))){var i=Lc(n.split(" "),{skipLookups:!0});return{prefix:i.prefix||Ur(),iconName:ui(i.prefix,i.iconName)||i.iconName}}if(typeof n=="string"){var o=Ur();return{prefix:o,iconName:ui(o,n)||n}}}},mt={noAuto:YD,config:re,dom:qD,parse:XD,library:Ek,findIconDefinition:fp,toHtml:ks},QD=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=n.autoReplaceSvgRoot,r=t===void 0?qe:t;(Object.keys(At.styles).length>0||re.autoFetchSvg)&&mr&&re.autoReplaceSvg&&mt.dom.i2svg({node:r})};function Mc(e,n){return Object.defineProperty(e,"abstract",{get:n}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return ks(r)})}}),Object.defineProperty(e,"node",{get:function(){if(mr){var r=qe.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function JD(e){var n=e.children,t=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(vm(a)&&t.found&&!r.found){var s=t.width,l=t.height,u={x:s/l/2,y:.5};i.style=Rc(Q(Q({},o),{},{"transform-origin":"".concat(u.x+a.x/16,"em ").concat(u.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:n}]}function ZD(e){var n=e.prefix,t=e.iconName,r=e.children,i=e.attributes,o=e.symbol,a=o===!0?"".concat(n,"-").concat(re.cssPrefix,"-").concat(t):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Q(Q({},i),{},{id:a}),children:r}]}]}function wm(e){var n=e.icons,t=n.main,r=n.mask,i=e.prefix,o=e.iconName,a=e.transform,s=e.symbol,l=e.title,u=e.maskId,c=e.titleId,d=e.extra,f=e.watchable,p=f===void 0?!1:f,g=r.found?r:t,y=g.width,w=g.height,h=i==="fak",m=[re.replacementClass,o?"".concat(re.cssPrefix,"-").concat(o):""].filter(function(I){return d.classes.indexOf(I)===-1}).filter(function(I){return I!==""||!!I}).concat(d.classes).join(" "),v={children:[],attributes:Q(Q({},d.attributes),{},{"data-prefix":i,"data-icon":o,class:m,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(y," ").concat(w)})},b=h&&!~d.classes.indexOf("fa-fw")?{width:"".concat(y/w*16*.0625,"em")}:{};p&&(v.attributes[wi]=""),l&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(c||as())},children:[l]}),delete v.attributes.title);var E=Q(Q({},v),{},{prefix:i,iconName:o,main:t,mask:r,maskId:u,transform:a,symbol:s,styles:Q(Q({},b),d.styles)}),C=r.found&&t.found?dr("generateAbstractMask",E)||{children:[],attributes:{}}:dr("generateAbstractIcon",E)||{children:[],attributes:{}},_=C.children,R=C.attributes;return E.children=_,E.attributes=R,s?ZD(E):JD(E)}function ev(e){var n=e.content,t=e.width,r=e.height,i=e.transform,o=e.title,a=e.extra,s=e.watchable,l=s===void 0?!1:s,u=Q(Q(Q({},a.attributes),o?{title:o}:{}),{},{class:a.classes.join(" ")});l&&(u[wi]="");var c=Q({},a.styles);vm(i)&&(c.transform=ID({transform:i,startCentered:!0,width:t,height:r}),c["-webkit-transform"]=c.transform);var d=Rc(c);d.length>0&&(u.style=d);var f=[];return f.push({tag:"span",attributes:u,children:[n]}),o&&f.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),f}function e9(e){var n=e.content,t=e.title,r=e.extra,i=Q(Q(Q({},r.attributes),t?{title:t}:{}),{},{class:r.classes.join(" ")}),o=Rc(r.styles);o.length>0&&(i.style=o);var a=[];return a.push({tag:"span",attributes:i,children:[n]}),t&&a.push({tag:"span",attributes:{class:"sr-only"},children:[t]}),a}var Nd=At.styles;function pp(e){var n=e[0],t=e[1],r=e.slice(4),i=fm(r,1),o=i[0],a=null;return Array.isArray(o)?a={tag:"g",attributes:{class:"".concat(re.cssPrefix,"-").concat(li.GROUP)},children:[{tag:"path",attributes:{class:"".concat(re.cssPrefix,"-").concat(li.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(re.cssPrefix,"-").concat(li.PRIMARY),fill:"currentColor",d:o[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:n,height:t,icon:a}}var n9={found:!1,width:512,height:512};function t9(e,n){!dk&&!re.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(n,'" is missing.'))}function hp(e,n){var t=n;return n==="fa"&&re.styleDefault!==null&&(n=Ur()),new Promise(function(r,i){if(dr("missingIconAbstract"),t==="fa"){var o=Sk(e)||{};e=o.iconName||e,n=o.prefix||n}if(e&&n&&Nd[n]&&Nd[n][e]){var a=Nd[n][e];return r(pp(a))}t9(e,n),r(Q(Q({},n9),{},{icon:re.showMissingIcons&&e?dr("missingIconAbstract")||{}:{}}))})}var nv=function(){},mp=re.measurePerformance&&Gs&&Gs.mark&&Gs.measure?Gs:{mark:nv,measure:nv},da='FA "6.5.1"',r9=function(n){return mp.mark("".concat(da," ").concat(n," begins")),function(){return _k(n)}},_k=function(n){mp.mark("".concat(da," ").concat(n," ends")),mp.measure("".concat(da," ").concat(n),"".concat(da," ").concat(n," begins"),"".concat(da," ").concat(n," ends"))},Cm={begin:r9,end:_k},kl=function(){};function tv(e){var n=e.getAttribute?e.getAttribute(wi):null;return typeof n=="string"}function i9(e){var n=e.getAttribute?e.getAttribute(hm):null,t=e.getAttribute?e.getAttribute(mm):null;return n&&t}function o9(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(re.replacementClass)}function a9(){if(re.autoReplaceSvg===!0)return wl.replace;var e=wl[re.autoReplaceSvg];return e||wl.replace}function s9(e){return qe.createElementNS("http://www.w3.org/2000/svg",e)}function l9(e){return qe.createElement(e)}function Pk(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=n.ceFn,r=t===void 0?e.tag==="svg"?s9:l9:t;if(typeof e=="string")return qe.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(a){i.setAttribute(a,e.attributes[a])});var o=e.children||[];return o.forEach(function(a){i.appendChild(Pk(a,{ceFn:r}))}),i}function u9(e){var n=" ".concat(e.outerHTML," ");return n="".concat(n,"Font Awesome fontawesome.com "),n}var wl={replace:function(n){var t=n[0];if(t.parentNode)if(n[1].forEach(function(i){t.parentNode.insertBefore(Pk(i),t)}),t.getAttribute(wi)===null&&re.keepOriginalSource){var r=qe.createComment(u9(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(n){var t=n[0],r=n[1];if(~ym(t).indexOf(re.replacementClass))return wl.replace(n);var i=new RegExp("".concat(re.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var o=r[0].attributes.class.split(" ").reduce(function(s,l){return l===re.replacementClass||l.match(i)?s.toSvg.push(l):s.toNode.push(l),s},{toNode:[],toSvg:[]});r[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var a=r.map(function(s){return ks(s)}).join(` -`);t.setAttribute(wi,""),t.innerHTML=a}};function rv(e){e()}function Tk(e,n){var t=typeof n=="function"?n:kl;if(e.length===0)t();else{var r=rv;re.mutateApproach===pD&&(r=Br.requestAnimationFrame||rv),r(function(){var i=a9(),o=Cm.begin("mutate");e.map(i),o(),t()})}}var Sm=!1;function Ok(){Sm=!0}function gp(){Sm=!1}var gu=null;function iv(e){if(Gy&&re.observeMutations){var n=e.treeCallback,t=n===void 0?kl:n,r=e.nodeCallback,i=r===void 0?kl:r,o=e.pseudoElementsCallback,a=o===void 0?kl:o,s=e.observeMutationsRoot,l=s===void 0?qe:s;gu=new Gy(function(u){if(!Sm){var c=Ur();Fo(u).forEach(function(d){if(d.type==="childList"&&d.addedNodes.length>0&&!tv(d.addedNodes[0])&&(re.searchPseudoElements&&a(d.target),t(d.target)),d.type==="attributes"&&d.target.parentNode&&re.searchPseudoElements&&a(d.target.parentNode),d.type==="attributes"&&tv(d.target)&&~bD.indexOf(d.attributeName))if(d.attributeName==="class"&&i9(d.target)){var f=Lc(ym(d.target)),p=f.prefix,g=f.iconName;d.target.setAttribute(hm,p||c),g&&d.target.setAttribute(mm,g)}else o9(d.target)&&i(d.target)})}}),mr&&gu.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function c9(){gu&&gu.disconnect()}function d9(e){var n=e.getAttribute("style"),t=[];return n&&(t=n.split(";").reduce(function(r,i){var o=i.split(":"),a=o[0],s=o.slice(1);return a&&s.length>0&&(r[a]=s.join(":").trim()),r},{})),t}function f9(e){var n=e.getAttribute("data-prefix"),t=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Lc(ym(e));return i.prefix||(i.prefix=Ur()),n&&t&&(i.prefix=n,i.iconName=t),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=WD(i.prefix,e.innerText)||bm(i.prefix,up(e.innerText))),!i.iconName&&re.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function p9(e){var n=Fo(e.attributes).reduce(function(i,o){return i.name!=="class"&&i.name!=="style"&&(i[o.name]=o.value),i},{}),t=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return re.autoA11y&&(t?n["aria-labelledby"]="".concat(re.replacementClass,"-title-").concat(r||as()):(n["aria-hidden"]="true",n.focusable="false")),n}function h9(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Vt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function ov(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},t=f9(e),r=t.iconName,i=t.prefix,o=t.rest,a=p9(e),s=dp("parseNodeAttributes",{},e),l=n.styleParser?d9(e):[];return Q({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Vt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:a}},s)}var m9=At.styles;function Ik(e){var n=re.autoReplaceSvg==="nest"?ov(e,{styleParser:!1}):ov(e);return~n.extra.classes.indexOf(fk)?dr("generateLayersText",e,n):dr("generateSvgReplacementMutation",e,n)}var Wr=new Set;gm.map(function(e){Wr.add("fa-".concat(e))});Object.keys(ts[Ge]).map(Wr.add.bind(Wr));Object.keys(ts[an]).map(Wr.add.bind(Wr));Wr=xs(Wr);function av(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!mr)return Promise.resolve();var t=qe.documentElement.classList,r=function(d){return t.add("".concat(Yy,"-").concat(d))},i=function(d){return t.remove("".concat(Yy,"-").concat(d))},o=re.autoFetchSvg?Wr:gm.map(function(c){return"fa-".concat(c)}).concat(Object.keys(m9));o.includes("fa")||o.push("fa");var a=[".".concat(fk,":not([").concat(wi,"])")].concat(o.map(function(c){return".".concat(c,":not([").concat(wi,"])")})).join(", ");if(a.length===0)return Promise.resolve();var s=[];try{s=Fo(e.querySelectorAll(a))}catch{}if(s.length>0)r("pending"),i("complete");else return Promise.resolve();var l=Cm.begin("onTree"),u=s.reduce(function(c,d){try{var f=Ik(d);f&&c.push(f)}catch(p){dk||p.name==="MissingIcon"&&console.error(p)}return c},[]);return new Promise(function(c,d){Promise.all(u).then(function(f){Tk(f,function(){r("active"),r("complete"),i("pending"),typeof n=="function"&&n(),l(),c()})}).catch(function(f){l(),d(f)})})}function g9(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Ik(e).then(function(t){t&&Tk([t],n)})}function y9(e){return function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(n||{}).icon?n:fp(n||{}),i=t.mask;return i&&(i=(i||{}).icon?i:fp(i||{})),e(r,Q(Q({},t),{},{mask:i}))}}var v9=function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.transform,i=r===void 0?Vt:r,o=t.symbol,a=o===void 0?!1:o,s=t.mask,l=s===void 0?null:s,u=t.maskId,c=u===void 0?null:u,d=t.title,f=d===void 0?null:d,p=t.titleId,g=p===void 0?null:p,y=t.classes,w=y===void 0?[]:y,h=t.attributes,m=h===void 0?{}:h,v=t.styles,b=v===void 0?{}:v;if(n){var E=n.prefix,C=n.iconName,_=n.icon;return Mc(Q({type:"icon"},n),function(){return Ci("beforeDOMElementCreation",{iconDefinition:n,params:t}),re.autoA11y&&(f?m["aria-labelledby"]="".concat(re.replacementClass,"-title-").concat(g||as()):(m["aria-hidden"]="true",m.focusable="false")),wm({icons:{main:pp(_),mask:l?pp(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:C,transform:Q(Q({},Vt),i),symbol:a,title:f,maskId:c,titleId:g,extra:{attributes:m,styles:b,classes:w}})})}},x9={mixout:function(){return{icon:y9(v9)}},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=av,t.nodeCallback=g9,t}}},provides:function(n){n.i2svg=function(t){var r=t.node,i=r===void 0?qe:r,o=t.callback,a=o===void 0?function(){}:o;return av(i,a)},n.generateSvgReplacementMutation=function(t,r){var i=r.iconName,o=r.title,a=r.titleId,s=r.prefix,l=r.transform,u=r.symbol,c=r.mask,d=r.maskId,f=r.extra;return new Promise(function(p,g){Promise.all([hp(i,s),c.iconName?hp(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(y){var w=fm(y,2),h=w[0],m=w[1];p([t,wm({icons:{main:h,mask:m},prefix:s,iconName:i,transform:l,symbol:u,maskId:d,title:o,titleId:a,extra:f,watchable:!0})])}).catch(g)})},n.generateAbstractIcon=function(t){var r=t.children,i=t.attributes,o=t.main,a=t.transform,s=t.styles,l=Rc(s);l.length>0&&(i.style=l);var u;return vm(a)&&(u=dr("generateAbstractTransformGrouping",{main:o,transform:a,containerWidth:o.width,iconWidth:o.width})),r.push(u||o.icon),{children:r,attributes:i}}}},b9={mixout:function(){return{layer:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,o=i===void 0?[]:i;return Mc({type:"layer"},function(){Ci("beforeDOMElementCreation",{assembler:t,params:r});var a=[];return t(function(s){Array.isArray(s)?s.map(function(l){a=a.concat(l.abstract)}):a=a.concat(s.abstract)}),[{tag:"span",attributes:{class:["".concat(re.cssPrefix,"-layers")].concat(xs(o)).join(" ")},children:a}]})}}}},k9={mixout:function(){return{counter:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,o=i===void 0?null:i,a=r.classes,s=a===void 0?[]:a,l=r.attributes,u=l===void 0?{}:l,c=r.styles,d=c===void 0?{}:c;return Mc({type:"counter",content:t},function(){return Ci("beforeDOMElementCreation",{content:t,params:r}),e9({content:t.toString(),title:o,extra:{attributes:u,styles:d,classes:["".concat(re.cssPrefix,"-layers-counter")].concat(xs(s))}})})}}}},w9={mixout:function(){return{text:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,o=i===void 0?Vt:i,a=r.title,s=a===void 0?null:a,l=r.classes,u=l===void 0?[]:l,c=r.attributes,d=c===void 0?{}:c,f=r.styles,p=f===void 0?{}:f;return Mc({type:"text",content:t},function(){return Ci("beforeDOMElementCreation",{content:t,params:r}),ev({content:t,transform:Q(Q({},Vt),o),title:s,extra:{attributes:d,styles:p,classes:["".concat(re.cssPrefix,"-layers-text")].concat(xs(u))}})})}}},provides:function(n){n.generateLayersText=function(t,r){var i=r.title,o=r.transform,a=r.extra,s=null,l=null;if(lk){var u=parseInt(getComputedStyle(t).fontSize,10),c=t.getBoundingClientRect();s=c.width/u,l=c.height/u}return re.autoA11y&&!i&&(a.attributes["aria-hidden"]="true"),Promise.resolve([t,ev({content:t.innerHTML,width:s,height:l,transform:o,title:i,extra:a,watchable:!0})])}}},C9=new RegExp('"',"ug"),sv=[1105920,1112319];function S9(e){var n=e.replace(C9,""),t=jD(n,0),r=t>=sv[0]&&t<=sv[1],i=n.length===2?n[0]===n[1]:!1;return{value:up(i?n[0]:n),isSecondary:r||i}}function lv(e,n){var t="".concat(fD).concat(n.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(t)!==null)return r();var o=Fo(e.children),a=o.filter(function(_){return _.getAttribute(lp)===n})[0],s=Br.getComputedStyle(e,n),l=s.getPropertyValue("font-family").match(yD),u=s.getPropertyValue("font-weight"),c=s.getPropertyValue("content");if(a&&!l)return e.removeChild(a),r();if(l&&c!=="none"&&c!==""){var d=s.getPropertyValue("content"),f=~["Sharp"].indexOf(l[2])?an:Ge,p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?rs[f][l[2].toLowerCase()]:vD[f][u],g=S9(d),y=g.value,w=g.isSecondary,h=l[0].startsWith("FontAwesome"),m=bm(p,y),v=m;if(h){var b=HD(y);b.iconName&&b.prefix&&(m=b.iconName,p=b.prefix)}if(m&&!w&&(!a||a.getAttribute(hm)!==p||a.getAttribute(mm)!==v)){e.setAttribute(t,v),a&&e.removeChild(a);var E=h9(),C=E.extra;C.attributes[lp]=n,hp(m,p).then(function(_){var R=wm(Q(Q({},E),{},{icons:{main:_,mask:km()},prefix:p,iconName:v,extra:C,watchable:!0})),I=qe.createElementNS("http://www.w3.org/2000/svg","svg");n==="::before"?e.insertBefore(I,e.firstChild):e.appendChild(I),I.outerHTML=R.map(function(O){return ks(O)}).join(` -`),e.removeAttribute(t),r()}).catch(i)}else r()}else r()})}function E9(e){return Promise.all([lv(e,"::before"),lv(e,"::after")])}function _9(e){return e.parentNode!==document.head&&!~hD.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(lp)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function uv(e){if(mr)return new Promise(function(n,t){var r=Fo(e.querySelectorAll("*")).filter(_9).map(E9),i=Cm.begin("searchPseudoElements");Ok(),Promise.all(r).then(function(){i(),gp(),n()}).catch(function(){i(),gp(),t()})})}var P9={hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=uv,t}}},provides:function(n){n.pseudoElements2svg=function(t){var r=t.node,i=r===void 0?qe:r;re.searchPseudoElements&&uv(i)}}},cv=!1,T9={mixout:function(){return{dom:{unwatch:function(){Ok(),cv=!0}}}},hooks:function(){return{bootstrap:function(){iv(dp("mutationObserverCallbacks",{}))},noAuto:function(){c9()},watch:function(t){var r=t.observeMutationsRoot;cv?gp():iv(dp("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},dv=function(n){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return n.toLowerCase().split(" ").reduce(function(r,i){var o=i.toLowerCase().split("-"),a=o[0],s=o.slice(1).join("-");if(a&&s==="h")return r.flipX=!0,r;if(a&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(a){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},t)},O9={mixout:function(){return{parse:{transform:function(t){return dv(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,r){var i=r.getAttribute("data-fa-transform");return i&&(t.transform=dv(i)),t}}},provides:function(n){n.generateAbstractTransformGrouping=function(t){var r=t.main,i=t.transform,o=t.containerWidth,a=t.iconWidth,s={transform:"translate(".concat(o/2," 256)")},l="translate(".concat(i.x*32,", ").concat(i.y*32,") "),u="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),c="rotate(".concat(i.rotate," 0 0)"),d={transform:"".concat(l," ").concat(u," ").concat(c)},f={transform:"translate(".concat(a/2*-1," -256)")},p={outer:s,inner:d,path:f};return{tag:"g",attributes:Q({},p.outer),children:[{tag:"g",attributes:Q({},p.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Q(Q({},r.icon.attributes),p.path)}]}]}}}},$d={x:0,y:0,width:"100%",height:"100%"};function fv(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||n)&&(e.attributes.fill="black"),e}function I9(e){return e.tag==="g"?e.children:[e]}var R9={hooks:function(){return{parseNodeAttributes:function(t,r){var i=r.getAttribute("data-fa-mask"),o=i?Lc(i.split(" ").map(function(a){return a.trim()})):km();return o.prefix||(o.prefix=Ur()),t.mask=o,t.maskId=r.getAttribute("data-fa-mask-id"),t}}},provides:function(n){n.generateAbstractMask=function(t){var r=t.children,i=t.attributes,o=t.main,a=t.mask,s=t.maskId,l=t.transform,u=o.width,c=o.icon,d=a.width,f=a.icon,p=OD({transform:l,containerWidth:d,iconWidth:u}),g={tag:"rect",attributes:Q(Q({},$d),{},{fill:"white"})},y=c.children?{children:c.children.map(fv)}:{},w={tag:"g",attributes:Q({},p.inner),children:[fv(Q({tag:c.tag,attributes:Q(Q({},c.attributes),p.path)},y))]},h={tag:"g",attributes:Q({},p.outer),children:[w]},m="mask-".concat(s||as()),v="clip-".concat(s||as()),b={tag:"mask",attributes:Q(Q({},$d),{},{id:m,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[g,h]},E={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:I9(f)},b]};return r.push(E,{tag:"rect",attributes:Q({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(m,")")},$d)}),{children:r,attributes:i}}}},A9={provides:function(n){var t=!1;Br.matchMedia&&(t=Br.matchMedia("(prefers-reduced-motion: reduce)").matches),n.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:Q(Q({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=Q(Q({},o),{},{attributeName:"opacity"}),s={tag:"circle",attributes:Q(Q({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:Q(Q({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Q(Q({},a),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:Q(Q({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Q(Q({},a),{},{values:"1;0;0;0;0;1;"})}]}),t||r.push({tag:"path",attributes:Q(Q({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Q(Q({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},L9={hooks:function(){return{parseNodeAttributes:function(t,r){var i=r.getAttribute("data-fa-symbol"),o=i===null?!1:i===""?!0:i;return t.symbol=o,t}}}},M9=[AD,x9,b9,k9,w9,P9,T9,O9,R9,A9,L9];GD(M9,{mixoutsTo:mt});mt.noAuto;mt.config;mt.library;mt.dom;var yp=mt.parse;mt.findIconDefinition;mt.toHtml;var N9=mt.icon;mt.layer;mt.text;mt.counter;function pv(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function _r(e){for(var n=1;n=0)&&(t[i]=e[i]);return t}function j9(e,n){if(e==null)return{};var t=$9(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function vp(e){return z9(e)||F9(e)||D9(e)||B9()}function z9(e){if(Array.isArray(e))return xp(e)}function F9(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function D9(e,n){if(e){if(typeof e=="string")return xp(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return xp(e,n)}}function xp(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t2&&arguments[2]!==void 0?arguments[2]:{};if(typeof n=="string")return n;var r=(n.children||[]).map(function(l){return Ak(e,l)}),i=Object.keys(n.attributes||{}).reduce(function(l,u){var c=n.attributes[u];switch(u){case"class":l.attrs.className=c,delete n.attributes.class;break;case"style":l.attrs.style=K9(c);break;default:u.indexOf("aria-")===0||u.indexOf("data-")===0?l.attrs[u.toLowerCase()]=c:l.attrs[Rk(u)]=c}return l},{attrs:{}}),o=t.style,a=o===void 0?{}:o,s=j9(t,H9);return i.attrs.style=_r(_r({},i.attrs.style),a),e.apply(void 0,[n.tag,_r(_r({},i.attrs),s)].concat(vp(r)))}var Lk=!1;try{Lk=!0}catch{}function G9(){if(!Lk&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function hv(e){if(e&&yu(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(yp.icon)return yp.icon(e);if(e===null)return null;if(e&&yu(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function jd(e,n){return Array.isArray(n)&&n.length>0||!Array.isArray(n)&&n?io({},e,n):{}}var ws=Un.forwardRef(function(e,n){var t=e.icon,r=e.mask,i=e.symbol,o=e.className,a=e.title,s=e.titleId,l=e.maskId,u=hv(t),c=jd("classes",[].concat(vp(U9(e)),vp(o.split(" ")))),d=jd("transform",typeof e.transform=="string"?yp.transform(e.transform):e.transform),f=jd("mask",hv(r)),p=N9(u,_r(_r(_r(_r({},c),d),f),{},{symbol:i,title:a,titleId:s,maskId:l}));if(!p)return G9("Could not find icon",u),null;var g=p.abstract,y={ref:n};return Object.keys(e).forEach(function(w){ws.defaultProps.hasOwnProperty(w)||(y[w]=e[w])}),Y9(g[0],y)});ws.displayName="FontAwesomeIcon";ws.propTypes={beat:be.bool,border:be.bool,beatFade:be.bool,bounce:be.bool,className:be.string,fade:be.bool,flash:be.bool,mask:be.oneOfType([be.object,be.array,be.string]),maskId:be.string,fixedWidth:be.bool,inverse:be.bool,flip:be.oneOf([!0,!1,"horizontal","vertical","both"]),icon:be.oneOfType([be.object,be.array,be.string]),listItem:be.bool,pull:be.oneOf(["right","left"]),pulse:be.bool,rotation:be.oneOf([0,90,180,270]),shake:be.bool,size:be.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:be.bool,spinPulse:be.bool,spinReverse:be.bool,symbol:be.oneOfType([be.bool,be.string]),title:be.string,titleId:be.string,transform:be.oneOfType([be.string,be.object]),swapOpacity:be.bool};ws.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Y9=Ak.bind(null,Un.createElement),q9={prefix:"fas",iconName:"sliders",icon:[512,512,["sliders-h"],"f1de","M0 416c0 17.7 14.3 32 32 32l54.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 448c17.7 0 32-14.3 32-32s-14.3-32-32-32l-246.7 0c-12.3-28.3-40.5-48-73.3-48s-61 19.7-73.3 48L32 384c-17.7 0-32 14.3-32 32zm128 0a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM320 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm32-80c-32.8 0-61 19.7-73.3 48L32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l246.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48l54.7 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-54.7 0c-12.3-28.3-40.5-48-73.3-48zM192 128a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm73.3-64C253 35.7 224.8 16 192 16s-61 19.7-73.3 48L32 64C14.3 64 0 78.3 0 96s14.3 32 32 32l86.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 128c17.7 0 32-14.3 32-32s-14.3-32-32-32L265.3 64z"]};const X9=()=>{const e=Et(),n=Pi(e.breakpoints.down("sm")),t=Nx(),r=zu(),i=ta.find(z=>z.slug===r.hash.substring(1))??null,[o,a]=x.useState(""),[s,l]=x.useState([]),[u,c]=x.useState([]),[d,f]=x.useState(!1),[p,g]=x.useState([]),[y,w]=x.useState([]),[h,m]=x.useState(!1),v=Array.from(new Set(ta.map(z=>z.license))),[b,E]=x.useState([]),C=n?"24px":"34px 46px",_=()=>{l([]),c([]),E([]),g([]),w([]),f(!1),a("")},R=()=>{l([]),a("")},I=()=>{c([]),a("")},O=()=>{f(z=>!z)},L=z=>`/#${z.slug}`,M=()=>{t(".",{replace:!0})},D=z=>{const X=b.includes(z)?b.filter(ne=>ne!==z):[...b,z];E(X)},F=z=>{const X=p.includes(z)?p.filter(ne=>ne!==z):[...p,z];g(X)},j=z=>{const X=y.includes(z)?y.filter(ne=>ne!==z):[...y,z];w(X)},U=()=>{m(!h)},B=Array.from(new Set(ta.flatMap(z=>z.tags))),A=Array.from(new Set(ta.flatMap(z=>z.languages))),N=ta.filter(z=>{const X=z.name.toLowerCase().includes(o.toLowerCase())||z.description.toLowerCase().includes(o.toLowerCase())||z.tags.some(he=>he.toLowerCase().includes(o.toLowerCase()))||z.languages.some(he=>he.toLowerCase().includes(o.toLowerCase()))||z.paratimes.some(he=>he.toLowerCase().includes(o.toLowerCase())),ne=s.length===0||s.every(he=>z.tags.includes(he)),yn=u.length===0||u.every(he=>z.languages.includes(he)),vn=!d||z.maintainedByOasis,fn=b.length===0||b.includes(z.license),xn=p.length===0||p.every(he=>!!(he==="Demo"&&z.demoUrl||he==="Code"&&z.codeUrl||he==="Tutorial"&&Array.isArray(z.tutorials)&&z.tutorials.length>0)),bn=y.length===0||y.every(he=>{var On;return(On=z.paratimes)==null?void 0:On.includes(he)});return X&&ne&&yn&&bn&&vn&&fn&&xn}),S=B.reduce((z,X)=>(z[X]=N.filter(ne=>ne.tags.includes(X)).length,z),{}),ce=A.reduce((z,X)=>(z[X]=N.filter(ne=>ne.languages.includes(X)).length,z),{}),ue=v.reduce((z,X)=>(z[X]=N.filter(ne=>ne.license===X).length,z),{}),T=["Demo","Code","Tutorial"].reduce((z,X)=>(z[X]=N.filter(ne=>X==="Demo"?!!ne.demoUrl:X==="Code"?!!ne.codeUrl:X==="Tutorial"?Array.isArray(ne.tutorials)&&ne.tutorials.length>0:!1).length,z),{}),Z=["sapphire","emerald","cipher"].reduce((z,X)=>(z[X]=N.filter(ne=>{var yn;return(yn=ne.paratimes)==null?void 0:yn.includes(X)}).length,z),{}),ge=N.filter(z=>z.maintainedByOasis).length,q=z=>{l(s.includes(z)?s.filter(X=>X!==z):[...s,z])},Re=z=>{u.includes(z)?c(u.filter(X=>X!==z)):c([...u,z])},[we,Ee]=x.useState(no.TITLE),Be=z=>{switch(we){case no.LAST_UPDATED:return z.slice().sort((X,ne)=>new Date(ne.lastUpdated).getTime()-new Date(X.lastUpdated).getTime());case no.CREATED_DATE:return z.slice().sort((X,ne)=>new Date(ne.created).getTime()-new Date(X.created).getTime());case no.NAME:default:return z.slice().sort((X,ne)=>X.name.localeCompare(ne.name))}},de=z=>{"target"in z&&Ee(z.target.value)},ve=Be(N);return k.jsx("div",{children:k.jsxs(Wf,{sx:{backgroundColor:"white",border:"2px solid black",padding:C,borderRadius:"19px",position:"relative"},children:[k.jsxs(Wf,{sx:{padding:"0",paddingTop:"20px"},children:[k.jsxs("div",{style:{position:"relative",overflow:"hidden",transition:"max-height 0.5s ease"},children:[k.jsxs(je,{sx:{display:"flex",justifyContent:"space-between",flexWrap:n?"wrap":"nowrap"},children:[k.jsx(qF,{search:o,setSearch:a}),k.jsx(je,{sx:{borderLeft:n?"none":"2px solid #0500E1",paddingLeft:n?"0":"30px",width:n?"100%":"auto"},children:k.jsx(Ja,{onClick:U,startIcon:k.jsx(ws,{icon:q9}),variant:"outlined",sx:{borderRadius:"50px",height:"43px",textTransform:"capitalize",padding:"0 25px",fontWeight:"500",maxWidth:n?"100%":"116px",marginLeft:"auto",border:"2px solid #0500E1",width:n?"100%":"auto",backgroundColor:h?"#0500E1":"transparent",color:h?"white":"#0500E1",marginTop:n?"16px":"0","&:hover":{backgroundColor:h?"#000062":"transparent",color:h?"white":"#0500E1",border:h?"2px solid #000062":"2px solid #0500E1"}},children:"Filters"})})]}),k.jsxs("div",{style:{position:"relative",overflow:"hidden",transition:"all 0.7s cubic-bezier(.17,.67,.83,.67)",maxHeight:h?"1000px":"0px"},children:[k.jsx(eD,{tags:B,langs:A,selectedTags:s,selectedLangs:u,handleTagClick:l,handleLanguageClick:Re,licenses:v,selectedLicenses:b,handleLicenseChange:D,selectedSources:p,handleSourcesChange:F,selectedParatimes:y,handleParatimesChange:j,maintainedByOasis:d,handleMaintainedByOasisToggle:O,handleClearTags:R,handleClearLangs:I,tagCounts:S,langCounts:ce,licenseCounts:ue,sourceCounts:T,paratimeCounts:Z,maintainedByOasisCount:ge}),k.jsx(Ja,{onClick:_,sx:{textDecoration:"underline",textTransform:"none",display:"block",marginTop:"16px",color:"#0500E1"},children:"Clear all filters"})]})]}),k.jsx(nD,{filteredAndSortedProjectsLength:ve.length,sortOption:we,handleSortChange:de})]}),k.jsx(_e,{container:!0,spacing:1,justifyContent:"start",children:ve.map(z=>k.jsx(tD,{project:z,getProjectLink:L,selectedTags:s,selectedLangs:u,selectedParatimes:y,handleTagClick:q,handleLangClick:Re,handleParatimesChange:j,langs:z.languages,tags:z.tags},z.name))}),k.jsx(BF,{open:!!i,onClose:M,project:i,selectedTags:s,selectedLangs:u,handleTagClick:q,handleLangClick:Re})]})})},Q9="/assets/PlaygroundBgGraphic-DT3ON6Jo.webp",J9=Nh({palette:{primary:{main:"#0500E1"}},typography:{fontFamily:"'Roboto Flex Variable', sans-serif",h1:{fontSize:"56px",fontWeight:500,color:"white",letterSpacing:"-2.84px","@media (max-width:600px)":{fontSize:"40px"}},h2:{fontSize:"24px",color:"#0500E1",fontWeight:500,letterSpacing:"-1px"},h6:{fontSize:"18px",color:"#0500E1",letterSpacing:"-0.5px"}},components:{MuiInputBase:{styleOverrides:{root:{color:"#000000"}}},MuiOutlinedInput:{styleOverrides:{root:{outline:0,height:"46px",borderRadius:"40px","& .MuiOutlinedInput-notchedOutline":{borderColor:"transparent",borderRadius:"40px"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"&:focus-within .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"}}}},MuiSelect:{styleOverrides:{select:{borderColor:"transparent",backgroundColor:"transparent",outline:"none",border:"none","&.MuiSelect-outlined":{paddingTop:"6px",paddingBottom:"6px"},"&:focus":{outline:"none",border:"none",borderColor:"transparent",backgroundColor:"transparent"},"&:hover":{outline:"none",border:"none",borderColor:"transparent"},"&:focus-within":{outline:"none",border:"none",borderColor:"transparent","& .MuiSelect-root":{outline:"none",border:"none",borderColor:"transparent"}}}}},MuiDialog:{styleOverrides:{paper:{padding:"24px",maxWidth:"878px",margin:"auto"}}},MuiCheckbox:{styleOverrides:{root:{"&.Mui-checked":{color:"#0500E1"}}}},MuiChip:{styleOverrides:{root:{"&.MuiChip-root":{backgroundColor:"transparent",border:"1px solid #0500E1",fontWeight:"300",color:"#0500E1",marginBottom:"5px"},"&.MuiChip-colorPrimary":{backgroundColor:"#0500E1",color:"#FFFFFF"}}}}}}),Z9="/assets/Playground Logo White-CWFbCTXP.svg",eB=te("img")({maxWidth:"360px",maxHeight:"60px",marginBottom:"50px"});function nB(){const e=Et(),n=Pi(e.breakpoints.down("md")),t=n?"42px":"80px";return k.jsx(gT,{theme:J9,children:k.jsx(je,{component:"div",sx:{width:"100vw",height:"100%",minHeight:"100vh",backgroundImage:`url(${Q9})`,backgroundSize:"100vw auto",backgroundRepeat:"no-repeat",backgroundColor:"#0500E1",backgroundPosition:"50% 230px"},children:k.jsxs(Wf,{maxWidth:"lg",sx:{paddingTop:t,paddingBottom:t},children:[k.jsx(eB,{src:Z9,alt:"Oasis Playground"}),k.jsxs(_e,{container:!0,spacing:2,justifyContent:"space-between",alignItems:"flex-start",marginBottom:n?"36px":"0",children:[k.jsx(_e,{item:!0,xs:12,md:9,children:k.jsxs(pe,{gutterBottom:!0,sx:{color:"white",fontSize:"20px",width:"100%",maxWidth:"750px",marginBottom:n?"16px":"24px"},children:["Discover the frontier of Web3 privacy through the projects and applications that are powered by the Oasis Network’s cutting-edge production-ready confidentiality technology. Become a contributor by adding your dApp to the Playground "," ",k.jsx(Di,{href:"https://github.com/oasisprotocol/playground/blob/main/CONTRIBUTING.md",sx:{color:"white",textDecorationColor:"white","&:hover":{color:"white"}},target:"_blank",underline:"always",children:"here"}),"."]})}),k.jsx(_e,{item:!0,children:k.jsx(Ja,{href:"https://github.com/oasisprotocol/playground/blob/main/CONTRIBUTING.md",target:"_blank",color:"inherit",variant:"outlined",sx:{borderRadius:"30px",color:"white",borderColor:"white",textTransform:"none",fontSize:"16px",fontWeight:"600","&:hover":{backgroundColor:"white",color:"#0500E1",borderColor:"white"}},children:"Add your dApp"})})]}),k.jsx(je,{children:k.jsx(X9,{})}),k.jsx(pe,{gutterBottom:!0,sx:{color:"white",textAlign:"center",fontSize:"14px",width:"100%",marginBottom:"24px",marginTop:"20px"},children:"Copyright © 2024 Oasis Protocol Foundation. All rights reserved."})]})})})}Lf.createRoot(document.getElementById("root")).render(k.jsx(Un.StrictMode,{children:k.jsx(PS,{children:k.jsx(nB,{})})})); +}`;function gk(){var e=uk,n=ck,t=re.cssPrefix,r=re.replacementClass,i=i9;if(t!==e||r!==n){var o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(n),"g");i=i.replace(o,".".concat(t,"-")).replace(a,"--".concat(t,"-")).replace(s,".".concat(r))}return i}var Yy=!1;function Ld(){re.autoAddCss&&!Yy&&(ZD(gk()),Yy=!0)}var o9={mixout:function(){return{dom:{css:gk,insertCss:Ld}}},hooks:function(){return{beforeDOMElementCreation:function(){Ld()},beforeI2svg:function(){Ld()}}}},cr=Br||{};cr[ur]||(cr[ur]={});cr[ur].styles||(cr[ur].styles={});cr[ur].hooks||(cr[ur].hooks={});cr[ur].shims||(cr[ur].shims=[]);var At=cr[ur],yk=[],a9=function e(){Ye.removeEventListener("DOMContentLoaded",e),mu=1,yk.map(function(n){return n()})},mu=!1;mr&&(mu=(Ye.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Ye.readyState),mu||Ye.addEventListener("DOMContentLoaded",a9));function s9(e){mr&&(mu?setTimeout(e,0):yk.push(e))}function ks(e){var n=e.tag,t=e.attributes,r=t===void 0?{}:t,i=e.children,o=i===void 0?[]:i;return typeof e=="string"?mk(e):"<".concat(n," ").concat(n9(r),">").concat(o.map(ks).join(""),"")}function Xy(e,n,t){if(e&&e[n]&&e[n][t])return{prefix:n,iconName:t,icon:e[n][t]}}var l9=function(n,t){return function(r,i,o,a){return n.call(t,r,i,o,a)}},jd=function(n,t,r,i){var o=Object.keys(n),a=o.length,s=i!==void 0?l9(t,i):t,l,u,c;for(r===void 0?(l=1,c=n[o[0]]):(l=0,c=r);l=55296&&i<=56319&&t=55296&&r<=56319&&t>n+1&&(i=e.charCodeAt(n+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function Qy(e){return Object.keys(e).reduce(function(n,t){var r=e[t],i=!!r.icon;return i?n[r.iconName]=r.icon:n[t]=r,n},{})}function cf(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=t.skipHooks,i=r===void 0?!1:r,o=Qy(n);typeof At.hooks.addPack=="function"&&!i?At.hooks.addPack(e,Qy(n)):At.styles[e]=Q(Q({},At.styles[e]||{}),o),e==="fas"&&cf("fa",n)}var Zs,el,nl,to=At.styles,d9=At.shims,p9=(Zs={},gn(Zs,Ge,Object.values(is[Ge])),gn(Zs,an,Object.values(is[an])),Zs),xm=null,vk={},xk={},bk={},kk={},wk={},f9=(el={},gn(el,Ge,Object.keys(ts[Ge])),gn(el,an,Object.keys(ts[an])),el);function h9(e){return~qD.indexOf(e)}function m9(e,n){var t=n.split("-"),r=t[0],i=t.slice(1).join("-");return r===e&&i!==""&&!h9(i)?i:null}var Sk=function(){var n=function(o){return jd(to,function(a,s,l){return a[l]=jd(s,o,{}),a},{})};vk=n(function(i,o,a){if(o[3]&&(i[o[3]]=a),o[2]){var s=o[2].filter(function(l){return typeof l=="number"});s.forEach(function(l){i[l.toString(16)]=a})}return i}),xk=n(function(i,o,a){if(i[a]=a,o[2]){var s=o[2].filter(function(l){return typeof l=="string"});s.forEach(function(l){i[l]=a})}return i}),wk=n(function(i,o,a){var s=o[2];return i[a]=a,s.forEach(function(l){i[l]=a}),i});var t="far"in to||re.autoFetchSvg,r=jd(d9,function(i,o){var a=o[0],s=o[1],l=o[2];return s==="far"&&!t&&(s="fas"),typeof a=="string"&&(i.names[a]={prefix:s,iconName:l}),typeof a=="number"&&(i.unicodes[a.toString(16)]={prefix:s,iconName:l}),i},{names:{},unicodes:{}});bk=r.names,kk=r.unicodes,xm=Ac(re.styleDefault,{family:re.familyDefault})};JD(function(e){xm=Ac(e.styleDefault,{family:re.familyDefault})});Sk();function bm(e,n){return(vk[e]||{})[n]}function g9(e,n){return(xk[e]||{})[n]}function ci(e,n){return(wk[e]||{})[n]}function Ck(e){return bk[e]||{prefix:null,iconName:null}}function y9(e){var n=kk[e],t=bm("fas",e);return n||(t?{prefix:"fas",iconName:t}:null)||{prefix:null,iconName:null}}function Ur(){return xm}var km=function(){return{prefix:null,iconName:null,rest:[]}};function Ac(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=n.family,r=t===void 0?Ge:t,i=ts[r][e],o=rs[r][e]||rs[r][i],a=e in At.styles?e:null;return o||a||null}var Jy=(nl={},gn(nl,Ge,Object.keys(is[Ge])),gn(nl,an,Object.keys(is[an])),nl);function Lc(e){var n,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipLookups,i=r===void 0?!1:r,o=(n={},gn(n,Ge,"".concat(re.cssPrefix,"-").concat(Ge)),gn(n,an,"".concat(re.cssPrefix,"-").concat(an)),n),a=null,s=Ge;(e.includes(o[Ge])||e.some(function(u){return Jy[Ge].includes(u)}))&&(s=Ge),(e.includes(o[an])||e.some(function(u){return Jy[an].includes(u)}))&&(s=an);var l=e.reduce(function(u,c){var d=m9(re.cssPrefix,c);if(to[c]?(c=p9[s].includes(c)?UD[s][c]:c,a=c,u.prefix=c):f9[s].indexOf(c)>-1?(a=c,u.prefix=Ac(c,{family:s})):d?u.iconName=d:c!==re.replacementClass&&c!==o[Ge]&&c!==o[an]&&u.rest.push(c),!i&&u.prefix&&u.iconName){var f=a==="fa"?Ck(u.iconName):{},p=ci(u.prefix,u.iconName);f.prefix&&(a=null),u.iconName=f.iconName||p||u.iconName,u.prefix=f.prefix||u.prefix,u.prefix==="far"&&!to.far&&to.fas&&!re.autoFetchSvg&&(u.prefix="fas")}return u},km());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&s===an&&(to.fass||re.autoFetchSvg)&&(l.prefix="fass",l.iconName=ci(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||a==="fa")&&(l.prefix=Ur()||"fas"),l}var v9=function(){function e(){ID(this,e),this.definitions={}}return RD(e,[{key:"add",value:function(){for(var t=this,r=arguments.length,i=new Array(r),o=0;o0&&c.forEach(function(d){typeof d=="string"&&(t[s][d]=u)}),t[s][l]=u}),t}}]),e}(),Zy=[],ro={},yo={},x9=Object.keys(yo);function b9(e,n){var t=n.mixoutsTo;return Zy=e,ro={},Object.keys(yo).forEach(function(r){x9.indexOf(r)===-1&&delete yo[r]}),Zy.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(a){typeof i[a]=="function"&&(t[a]=i[a]),hu(i[a])==="object"&&Object.keys(i[a]).forEach(function(s){t[a]||(t[a]={}),t[a][s]=i[a][s]})}),r.hooks){var o=r.hooks();Object.keys(o).forEach(function(a){ro[a]||(ro[a]=[]),ro[a].push(o[a])})}r.provides&&r.provides(yo)}),t}function df(e,n){for(var t=arguments.length,r=new Array(t>2?t-2:0),i=2;i1?n-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return mr?(Ci("beforeI2svg",n),dr("pseudoElements2svg",n),dr("i2svg",n)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=n.autoReplaceSvgRoot;re.autoReplaceSvg===!1&&(re.autoReplaceSvg=!0),re.observeMutations=!0,s9(function(){C9({autoReplaceSvgRoot:t}),Ci("watch",n)})}},S9={icon:function(n){if(n===null)return null;if(hu(n)==="object"&&n.prefix&&n.iconName)return{prefix:n.prefix,iconName:ci(n.prefix,n.iconName)||n.iconName};if(Array.isArray(n)&&n.length===2){var t=n[1].indexOf("fa-")===0?n[1].slice(3):n[1],r=Ac(n[0]);return{prefix:r,iconName:ci(r,t)||t}}if(typeof n=="string"&&(n.indexOf("".concat(re.cssPrefix,"-"))>-1||n.match(WD))){var i=Lc(n.split(" "),{skipLookups:!0});return{prefix:i.prefix||Ur(),iconName:ci(i.prefix,i.iconName)||i.iconName}}if(typeof n=="string"){var o=Ur();return{prefix:o,iconName:ci(o,n)||n}}}},mt={noAuto:k9,config:re,dom:w9,parse:S9,library:_k,findIconDefinition:pf,toHtml:ks},C9=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=n.autoReplaceSvgRoot,r=t===void 0?Ye:t;(Object.keys(At.styles).length>0||re.autoFetchSvg)&&mr&&re.autoReplaceSvg&&mt.dom.i2svg({node:r})};function jc(e,n){return Object.defineProperty(e,"abstract",{get:n}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return ks(r)})}}),Object.defineProperty(e,"node",{get:function(){if(mr){var r=Ye.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function _9(e){var n=e.children,t=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(vm(a)&&t.found&&!r.found){var s=t.width,l=t.height,u={x:s/l/2,y:.5};i.style=Rc(Q(Q({},o),{},{"transform-origin":"".concat(u.x+a.x/16,"em ").concat(u.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:n}]}function E9(e){var n=e.prefix,t=e.iconName,r=e.children,i=e.attributes,o=e.symbol,a=o===!0?"".concat(n,"-").concat(re.cssPrefix,"-").concat(t):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Q(Q({},i),{},{id:a}),children:r}]}]}function wm(e){var n=e.icons,t=n.main,r=n.mask,i=e.prefix,o=e.iconName,a=e.transform,s=e.symbol,l=e.title,u=e.maskId,c=e.titleId,d=e.extra,f=e.watchable,p=f===void 0?!1:f,g=r.found?r:t,y=g.width,w=g.height,h=i==="fak",m=[re.replacementClass,o?"".concat(re.cssPrefix,"-").concat(o):""].filter(function(I){return d.classes.indexOf(I)===-1}).filter(function(I){return I!==""||!!I}).concat(d.classes).join(" "),v={children:[],attributes:Q(Q({},d.attributes),{},{"data-prefix":i,"data-icon":o,class:m,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(y," ").concat(w)})},b=h&&!~d.classes.indexOf("fa-fw")?{width:"".concat(y/w*16*.0625,"em")}:{};p&&(v.attributes[Si]=""),l&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(c||as())},children:[l]}),delete v.attributes.title);var _=Q(Q({},v),{},{prefix:i,iconName:o,main:t,mask:r,maskId:u,transform:a,symbol:s,styles:Q(Q({},b),d.styles)}),S=r.found&&t.found?dr("generateAbstractMask",_)||{children:[],attributes:{}}:dr("generateAbstractIcon",_)||{children:[],attributes:{}},E=S.children,R=S.attributes;return _.children=E,_.attributes=R,s?E9(_):_9(_)}function ev(e){var n=e.content,t=e.width,r=e.height,i=e.transform,o=e.title,a=e.extra,s=e.watchable,l=s===void 0?!1:s,u=Q(Q(Q({},a.attributes),o?{title:o}:{}),{},{class:a.classes.join(" ")});l&&(u[Si]="");var c=Q({},a.styles);vm(i)&&(c.transform=r9({transform:i,startCentered:!0,width:t,height:r}),c["-webkit-transform"]=c.transform);var d=Rc(c);d.length>0&&(u.style=d);var f=[];return f.push({tag:"span",attributes:u,children:[n]}),o&&f.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),f}function P9(e){var n=e.content,t=e.title,r=e.extra,i=Q(Q(Q({},r.attributes),t?{title:t}:{}),{},{class:r.classes.join(" ")}),o=Rc(r.styles);o.length>0&&(i.style=o);var a=[];return a.push({tag:"span",attributes:i,children:[n]}),t&&a.push({tag:"span",attributes:{class:"sr-only"},children:[t]}),a}var Md=At.styles;function ff(e){var n=e[0],t=e[1],r=e.slice(4),i=pm(r,1),o=i[0],a=null;return Array.isArray(o)?a={tag:"g",attributes:{class:"".concat(re.cssPrefix,"-").concat(ui.GROUP)},children:[{tag:"path",attributes:{class:"".concat(re.cssPrefix,"-").concat(ui.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(re.cssPrefix,"-").concat(ui.PRIMARY),fill:"currentColor",d:o[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:n,height:t,icon:a}}var T9={found:!1,width:512,height:512};function O9(e,n){!dk&&!re.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(n,'" is missing.'))}function hf(e,n){var t=n;return n==="fa"&&re.styleDefault!==null&&(n=Ur()),new Promise(function(r,i){if(dr("missingIconAbstract"),t==="fa"){var o=Ck(e)||{};e=o.iconName||e,n=o.prefix||n}if(e&&n&&Md[n]&&Md[n][e]){var a=Md[n][e];return r(ff(a))}O9(e,n),r(Q(Q({},T9),{},{icon:re.showMissingIcons&&e?dr("missingIconAbstract")||{}:{}}))})}var nv=function(){},mf=re.measurePerformance&&Gs&&Gs.mark&&Gs.measure?Gs:{mark:nv,measure:nv},da='FA "6.5.1"',I9=function(n){return mf.mark("".concat(da," ").concat(n," begins")),function(){return Ek(n)}},Ek=function(n){mf.mark("".concat(da," ").concat(n," ends")),mf.measure("".concat(da," ").concat(n),"".concat(da," ").concat(n," begins"),"".concat(da," ").concat(n," ends"))},Sm={begin:I9,end:Ek},kl=function(){};function tv(e){var n=e.getAttribute?e.getAttribute(Si):null;return typeof n=="string"}function R9(e){var n=e.getAttribute?e.getAttribute(hm):null,t=e.getAttribute?e.getAttribute(mm):null;return n&&t}function A9(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(re.replacementClass)}function L9(){if(re.autoReplaceSvg===!0)return wl.replace;var e=wl[re.autoReplaceSvg];return e||wl.replace}function j9(e){return Ye.createElementNS("http://www.w3.org/2000/svg",e)}function M9(e){return Ye.createElement(e)}function Pk(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=n.ceFn,r=t===void 0?e.tag==="svg"?j9:M9:t;if(typeof e=="string")return Ye.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(a){i.setAttribute(a,e.attributes[a])});var o=e.children||[];return o.forEach(function(a){i.appendChild(Pk(a,{ceFn:r}))}),i}function N9(e){var n=" ".concat(e.outerHTML," ");return n="".concat(n,"Font Awesome fontawesome.com "),n}var wl={replace:function(n){var t=n[0];if(t.parentNode)if(n[1].forEach(function(i){t.parentNode.insertBefore(Pk(i),t)}),t.getAttribute(Si)===null&&re.keepOriginalSource){var r=Ye.createComment(N9(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(n){var t=n[0],r=n[1];if(~ym(t).indexOf(re.replacementClass))return wl.replace(n);var i=new RegExp("".concat(re.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var o=r[0].attributes.class.split(" ").reduce(function(s,l){return l===re.replacementClass||l.match(i)?s.toSvg.push(l):s.toNode.push(l),s},{toNode:[],toSvg:[]});r[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var a=r.map(function(s){return ks(s)}).join(` +`);t.setAttribute(Si,""),t.innerHTML=a}};function rv(e){e()}function Tk(e,n){var t=typeof n=="function"?n:kl;if(e.length===0)t();else{var r=rv;re.mutateApproach===DD&&(r=Br.requestAnimationFrame||rv),r(function(){var i=L9(),o=Sm.begin("mutate");e.map(i),o(),t()})}}var Cm=!1;function Ok(){Cm=!0}function gf(){Cm=!1}var gu=null;function iv(e){if(Gy&&re.observeMutations){var n=e.treeCallback,t=n===void 0?kl:n,r=e.nodeCallback,i=r===void 0?kl:r,o=e.pseudoElementsCallback,a=o===void 0?kl:o,s=e.observeMutationsRoot,l=s===void 0?Ye:s;gu=new Gy(function(u){if(!Cm){var c=Ur();Fo(u).forEach(function(d){if(d.type==="childList"&&d.addedNodes.length>0&&!tv(d.addedNodes[0])&&(re.searchPseudoElements&&a(d.target),t(d.target)),d.type==="attributes"&&d.target.parentNode&&re.searchPseudoElements&&a(d.target.parentNode),d.type==="attributes"&&tv(d.target)&&~GD.indexOf(d.attributeName))if(d.attributeName==="class"&&R9(d.target)){var f=Lc(ym(d.target)),p=f.prefix,g=f.iconName;d.target.setAttribute(hm,p||c),g&&d.target.setAttribute(mm,g)}else A9(d.target)&&i(d.target)})}}),mr&&gu.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function $9(){gu&&gu.disconnect()}function z9(e){var n=e.getAttribute("style"),t=[];return n&&(t=n.split(";").reduce(function(r,i){var o=i.split(":"),a=o[0],s=o.slice(1);return a&&s.length>0&&(r[a]=s.join(":").trim()),r},{})),t}function F9(e){var n=e.getAttribute("data-prefix"),t=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Lc(ym(e));return i.prefix||(i.prefix=Ur()),n&&t&&(i.prefix=n,i.iconName=t),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=g9(i.prefix,e.innerText)||bm(i.prefix,uf(e.innerText))),!i.iconName&&re.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function D9(e){var n=Fo(e.attributes).reduce(function(i,o){return i.name!=="class"&&i.name!=="style"&&(i[o.name]=o.value),i},{}),t=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return re.autoA11y&&(t?n["aria-labelledby"]="".concat(re.replacementClass,"-title-").concat(r||as()):(n["aria-hidden"]="true",n.focusable="false")),n}function B9(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Vt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function ov(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},t=F9(e),r=t.iconName,i=t.prefix,o=t.rest,a=D9(e),s=df("parseNodeAttributes",{},e),l=n.styleParser?z9(e):[];return Q({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Vt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:a}},s)}var U9=At.styles;function Ik(e){var n=re.autoReplaceSvg==="nest"?ov(e,{styleParser:!1}):ov(e);return~n.extra.classes.indexOf(pk)?dr("generateLayersText",e,n):dr("generateSvgReplacementMutation",e,n)}var Wr=new Set;gm.map(function(e){Wr.add("fa-".concat(e))});Object.keys(ts[Ge]).map(Wr.add.bind(Wr));Object.keys(ts[an]).map(Wr.add.bind(Wr));Wr=xs(Wr);function av(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!mr)return Promise.resolve();var t=Ye.documentElement.classList,r=function(d){return t.add("".concat(qy,"-").concat(d))},i=function(d){return t.remove("".concat(qy,"-").concat(d))},o=re.autoFetchSvg?Wr:gm.map(function(c){return"fa-".concat(c)}).concat(Object.keys(U9));o.includes("fa")||o.push("fa");var a=[".".concat(pk,":not([").concat(Si,"])")].concat(o.map(function(c){return".".concat(c,":not([").concat(Si,"])")})).join(", ");if(a.length===0)return Promise.resolve();var s=[];try{s=Fo(e.querySelectorAll(a))}catch{}if(s.length>0)r("pending"),i("complete");else return Promise.resolve();var l=Sm.begin("onTree"),u=s.reduce(function(c,d){try{var f=Ik(d);f&&c.push(f)}catch(p){dk||p.name==="MissingIcon"&&console.error(p)}return c},[]);return new Promise(function(c,d){Promise.all(u).then(function(f){Tk(f,function(){r("active"),r("complete"),i("pending"),typeof n=="function"&&n(),l(),c()})}).catch(function(f){l(),d(f)})})}function W9(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Ik(e).then(function(t){t&&Tk([t],n)})}function H9(e){return function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(n||{}).icon?n:pf(n||{}),i=t.mask;return i&&(i=(i||{}).icon?i:pf(i||{})),e(r,Q(Q({},t),{},{mask:i}))}}var V9=function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.transform,i=r===void 0?Vt:r,o=t.symbol,a=o===void 0?!1:o,s=t.mask,l=s===void 0?null:s,u=t.maskId,c=u===void 0?null:u,d=t.title,f=d===void 0?null:d,p=t.titleId,g=p===void 0?null:p,y=t.classes,w=y===void 0?[]:y,h=t.attributes,m=h===void 0?{}:h,v=t.styles,b=v===void 0?{}:v;if(n){var _=n.prefix,S=n.iconName,E=n.icon;return jc(Q({type:"icon"},n),function(){return Ci("beforeDOMElementCreation",{iconDefinition:n,params:t}),re.autoA11y&&(f?m["aria-labelledby"]="".concat(re.replacementClass,"-title-").concat(g||as()):(m["aria-hidden"]="true",m.focusable="false")),wm({icons:{main:ff(E),mask:l?ff(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:_,iconName:S,transform:Q(Q({},Vt),i),symbol:a,title:f,maskId:c,titleId:g,extra:{attributes:m,styles:b,classes:w}})})}},K9={mixout:function(){return{icon:H9(V9)}},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=av,t.nodeCallback=W9,t}}},provides:function(n){n.i2svg=function(t){var r=t.node,i=r===void 0?Ye:r,o=t.callback,a=o===void 0?function(){}:o;return av(i,a)},n.generateSvgReplacementMutation=function(t,r){var i=r.iconName,o=r.title,a=r.titleId,s=r.prefix,l=r.transform,u=r.symbol,c=r.mask,d=r.maskId,f=r.extra;return new Promise(function(p,g){Promise.all([hf(i,s),c.iconName?hf(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(y){var w=pm(y,2),h=w[0],m=w[1];p([t,wm({icons:{main:h,mask:m},prefix:s,iconName:i,transform:l,symbol:u,maskId:d,title:o,titleId:a,extra:f,watchable:!0})])}).catch(g)})},n.generateAbstractIcon=function(t){var r=t.children,i=t.attributes,o=t.main,a=t.transform,s=t.styles,l=Rc(s);l.length>0&&(i.style=l);var u;return vm(a)&&(u=dr("generateAbstractTransformGrouping",{main:o,transform:a,containerWidth:o.width,iconWidth:o.width})),r.push(u||o.icon),{children:r,attributes:i}}}},G9={mixout:function(){return{layer:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,o=i===void 0?[]:i;return jc({type:"layer"},function(){Ci("beforeDOMElementCreation",{assembler:t,params:r});var a=[];return t(function(s){Array.isArray(s)?s.map(function(l){a=a.concat(l.abstract)}):a=a.concat(s.abstract)}),[{tag:"span",attributes:{class:["".concat(re.cssPrefix,"-layers")].concat(xs(o)).join(" ")},children:a}]})}}}},q9={mixout:function(){return{counter:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,o=i===void 0?null:i,a=r.classes,s=a===void 0?[]:a,l=r.attributes,u=l===void 0?{}:l,c=r.styles,d=c===void 0?{}:c;return jc({type:"counter",content:t},function(){return Ci("beforeDOMElementCreation",{content:t,params:r}),P9({content:t.toString(),title:o,extra:{attributes:u,styles:d,classes:["".concat(re.cssPrefix,"-layers-counter")].concat(xs(s))}})})}}}},Y9={mixout:function(){return{text:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,o=i===void 0?Vt:i,a=r.title,s=a===void 0?null:a,l=r.classes,u=l===void 0?[]:l,c=r.attributes,d=c===void 0?{}:c,f=r.styles,p=f===void 0?{}:f;return jc({type:"text",content:t},function(){return Ci("beforeDOMElementCreation",{content:t,params:r}),ev({content:t,transform:Q(Q({},Vt),o),title:s,extra:{attributes:d,styles:p,classes:["".concat(re.cssPrefix,"-layers-text")].concat(xs(u))}})})}}},provides:function(n){n.generateLayersText=function(t,r){var i=r.title,o=r.transform,a=r.extra,s=null,l=null;if(lk){var u=parseInt(getComputedStyle(t).fontSize,10),c=t.getBoundingClientRect();s=c.width/u,l=c.height/u}return re.autoA11y&&!i&&(a.attributes["aria-hidden"]="true"),Promise.resolve([t,ev({content:t.innerHTML,width:s,height:l,transform:o,title:i,extra:a,watchable:!0})])}}},X9=new RegExp('"',"ug"),sv=[1105920,1112319];function Q9(e){var n=e.replace(X9,""),t=c9(n,0),r=t>=sv[0]&&t<=sv[1],i=n.length===2?n[0]===n[1]:!1;return{value:uf(i?n[0]:n),isSecondary:r||i}}function lv(e,n){var t="".concat(FD).concat(n.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(t)!==null)return r();var o=Fo(e.children),a=o.filter(function(E){return E.getAttribute(lf)===n})[0],s=Br.getComputedStyle(e,n),l=s.getPropertyValue("font-family").match(HD),u=s.getPropertyValue("font-weight"),c=s.getPropertyValue("content");if(a&&!l)return e.removeChild(a),r();if(l&&c!=="none"&&c!==""){var d=s.getPropertyValue("content"),f=~["Sharp"].indexOf(l[2])?an:Ge,p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?rs[f][l[2].toLowerCase()]:VD[f][u],g=Q9(d),y=g.value,w=g.isSecondary,h=l[0].startsWith("FontAwesome"),m=bm(p,y),v=m;if(h){var b=y9(y);b.iconName&&b.prefix&&(m=b.iconName,p=b.prefix)}if(m&&!w&&(!a||a.getAttribute(hm)!==p||a.getAttribute(mm)!==v)){e.setAttribute(t,v),a&&e.removeChild(a);var _=B9(),S=_.extra;S.attributes[lf]=n,hf(m,p).then(function(E){var R=wm(Q(Q({},_),{},{icons:{main:E,mask:km()},prefix:p,iconName:v,extra:S,watchable:!0})),I=Ye.createElementNS("http://www.w3.org/2000/svg","svg");n==="::before"?e.insertBefore(I,e.firstChild):e.appendChild(I),I.outerHTML=R.map(function(O){return ks(O)}).join(` +`),e.removeAttribute(t),r()}).catch(i)}else r()}else r()})}function J9(e){return Promise.all([lv(e,"::before"),lv(e,"::after")])}function Z9(e){return e.parentNode!==document.head&&!~BD.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(lf)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function uv(e){if(mr)return new Promise(function(n,t){var r=Fo(e.querySelectorAll("*")).filter(Z9).map(J9),i=Sm.begin("searchPseudoElements");Ok(),Promise.all(r).then(function(){i(),gf(),n()}).catch(function(){i(),gf(),t()})})}var eB={hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=uv,t}}},provides:function(n){n.pseudoElements2svg=function(t){var r=t.node,i=r===void 0?Ye:r;re.searchPseudoElements&&uv(i)}}},cv=!1,nB={mixout:function(){return{dom:{unwatch:function(){Ok(),cv=!0}}}},hooks:function(){return{bootstrap:function(){iv(df("mutationObserverCallbacks",{}))},noAuto:function(){$9()},watch:function(t){var r=t.observeMutationsRoot;cv?gf():iv(df("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},dv=function(n){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return n.toLowerCase().split(" ").reduce(function(r,i){var o=i.toLowerCase().split("-"),a=o[0],s=o.slice(1).join("-");if(a&&s==="h")return r.flipX=!0,r;if(a&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(a){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},t)},tB={mixout:function(){return{parse:{transform:function(t){return dv(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,r){var i=r.getAttribute("data-fa-transform");return i&&(t.transform=dv(i)),t}}},provides:function(n){n.generateAbstractTransformGrouping=function(t){var r=t.main,i=t.transform,o=t.containerWidth,a=t.iconWidth,s={transform:"translate(".concat(o/2," 256)")},l="translate(".concat(i.x*32,", ").concat(i.y*32,") "),u="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),c="rotate(".concat(i.rotate," 0 0)"),d={transform:"".concat(l," ").concat(u," ").concat(c)},f={transform:"translate(".concat(a/2*-1," -256)")},p={outer:s,inner:d,path:f};return{tag:"g",attributes:Q({},p.outer),children:[{tag:"g",attributes:Q({},p.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Q(Q({},r.icon.attributes),p.path)}]}]}}}},Nd={x:0,y:0,width:"100%",height:"100%"};function pv(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||n)&&(e.attributes.fill="black"),e}function rB(e){return e.tag==="g"?e.children:[e]}var iB={hooks:function(){return{parseNodeAttributes:function(t,r){var i=r.getAttribute("data-fa-mask"),o=i?Lc(i.split(" ").map(function(a){return a.trim()})):km();return o.prefix||(o.prefix=Ur()),t.mask=o,t.maskId=r.getAttribute("data-fa-mask-id"),t}}},provides:function(n){n.generateAbstractMask=function(t){var r=t.children,i=t.attributes,o=t.main,a=t.mask,s=t.maskId,l=t.transform,u=o.width,c=o.icon,d=a.width,f=a.icon,p=t9({transform:l,containerWidth:d,iconWidth:u}),g={tag:"rect",attributes:Q(Q({},Nd),{},{fill:"white"})},y=c.children?{children:c.children.map(pv)}:{},w={tag:"g",attributes:Q({},p.inner),children:[pv(Q({tag:c.tag,attributes:Q(Q({},c.attributes),p.path)},y))]},h={tag:"g",attributes:Q({},p.outer),children:[w]},m="mask-".concat(s||as()),v="clip-".concat(s||as()),b={tag:"mask",attributes:Q(Q({},Nd),{},{id:m,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[g,h]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:rB(f)},b]};return r.push(_,{tag:"rect",attributes:Q({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(m,")")},Nd)}),{children:r,attributes:i}}}},oB={provides:function(n){var t=!1;Br.matchMedia&&(t=Br.matchMedia("(prefers-reduced-motion: reduce)").matches),n.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:Q(Q({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=Q(Q({},o),{},{attributeName:"opacity"}),s={tag:"circle",attributes:Q(Q({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:Q(Q({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Q(Q({},a),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:Q(Q({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Q(Q({},a),{},{values:"1;0;0;0;0;1;"})}]}),t||r.push({tag:"path",attributes:Q(Q({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Q(Q({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},aB={hooks:function(){return{parseNodeAttributes:function(t,r){var i=r.getAttribute("data-fa-symbol"),o=i===null?!1:i===""?!0:i;return t.symbol=o,t}}}},sB=[o9,K9,G9,q9,Y9,eB,nB,tB,iB,oB,aB];b9(sB,{mixoutsTo:mt});mt.noAuto;mt.config;mt.library;mt.dom;var yf=mt.parse;mt.findIconDefinition;mt.toHtml;var lB=mt.icon;mt.layer;mt.text;mt.counter;function fv(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function Er(e){for(var n=1;n=0)&&(t[i]=e[i]);return t}function cB(e,n){if(e==null)return{};var t=uB(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function vf(e){return dB(e)||pB(e)||fB(e)||hB()}function dB(e){if(Array.isArray(e))return xf(e)}function pB(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fB(e,n){if(e){if(typeof e=="string")return xf(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return xf(e,n)}}function xf(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t2&&arguments[2]!==void 0?arguments[2]:{};if(typeof n=="string")return n;var r=(n.children||[]).map(function(l){return Ak(e,l)}),i=Object.keys(n.attributes||{}).reduce(function(l,u){var c=n.attributes[u];switch(u){case"class":l.attrs.className=c,delete n.attributes.class;break;case"style":l.attrs.style=xB(c);break;default:u.indexOf("aria-")===0||u.indexOf("data-")===0?l.attrs[u.toLowerCase()]=c:l.attrs[Rk(u)]=c}return l},{attrs:{}}),o=t.style,a=o===void 0?{}:o,s=cB(t,yB);return i.attrs.style=Er(Er({},i.attrs.style),a),e.apply(void 0,[n.tag,Er(Er({},i.attrs),s)].concat(vf(r)))}var Lk=!1;try{Lk=!0}catch{}function bB(){if(!Lk&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function hv(e){if(e&&yu(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(yf.icon)return yf.icon(e);if(e===null)return null;if(e&&yu(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function $d(e,n){return Array.isArray(n)&&n.length>0||!Array.isArray(n)&&n?io({},e,n):{}}var ws=Un.forwardRef(function(e,n){var t=e.icon,r=e.mask,i=e.symbol,o=e.className,a=e.title,s=e.titleId,l=e.maskId,u=hv(t),c=$d("classes",[].concat(vf(mB(e)),vf(o.split(" ")))),d=$d("transform",typeof e.transform=="string"?yf.transform(e.transform):e.transform),f=$d("mask",hv(r)),p=lB(u,Er(Er(Er(Er({},c),d),f),{},{symbol:i,title:a,titleId:s,maskId:l}));if(!p)return bB("Could not find icon",u),null;var g=p.abstract,y={ref:n};return Object.keys(e).forEach(function(w){ws.defaultProps.hasOwnProperty(w)||(y[w]=e[w])}),kB(g[0],y)});ws.displayName="FontAwesomeIcon";ws.propTypes={beat:be.bool,border:be.bool,beatFade:be.bool,bounce:be.bool,className:be.string,fade:be.bool,flash:be.bool,mask:be.oneOfType([be.object,be.array,be.string]),maskId:be.string,fixedWidth:be.bool,inverse:be.bool,flip:be.oneOf([!0,!1,"horizontal","vertical","both"]),icon:be.oneOfType([be.object,be.array,be.string]),listItem:be.bool,pull:be.oneOf(["right","left"]),pulse:be.bool,rotation:be.oneOf([0,90,180,270]),shake:be.bool,size:be.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:be.bool,spinPulse:be.bool,spinReverse:be.bool,symbol:be.oneOfType([be.bool,be.string]),title:be.string,titleId:be.string,transform:be.oneOfType([be.string,be.object]),swapOpacity:be.bool};ws.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var kB=Ak.bind(null,Un.createElement);const wB=()=>{const e=_t(),n=Ti(e.breakpoints.down("sm")),t=Mx(),r=zu(),i=ta.find(z=>z.slug===r.hash.substring(1))??null,[o,a]=x.useState(""),[s,l]=x.useState([]),[u,c]=x.useState([]),[d,f]=x.useState(!1),[p,g]=x.useState([]),[y,w]=x.useState([]),[h,m]=x.useState(!1),v=Array.from(new Set(ta.map(z=>z.license))),[b,_]=x.useState([]),S=n?"24px":"34px 46px",E=()=>{l([]),c([]),_([]),g([]),w([]),f(!1),a("")},R=()=>{l([]),a("")},I=()=>{c([]),a("")},O=()=>{f(z=>!z)},L=z=>`/#${z.slug}`,j=()=>{t(".",{replace:!0})},D=z=>{const X=b.includes(z)?b.filter(ne=>ne!==z):[...b,z];_(X)},F=z=>{const X=p.includes(z)?p.filter(ne=>ne!==z):[...p,z];g(X)},$=z=>{const X=y.includes(z)?y.filter(ne=>ne!==z):[...y,z];w(X)},U=()=>{m(!h)},B=Array.from(new Set(ta.flatMap(z=>z.tags))),A=Array.from(new Set(ta.flatMap(z=>z.languages))),M=ta.filter(z=>{const X=z.name.toLowerCase().includes(o.toLowerCase())||z.description.toLowerCase().includes(o.toLowerCase())||z.slug.toLowerCase().replace("#","").replace(/-/g," ").includes(o.toLowerCase().replace(/-/g," "))||z.tags.some(he=>he.toLowerCase().includes(o.toLowerCase()))||z.languages.some(he=>he.toLowerCase().includes(o.toLowerCase()))||z.paratimes.some(he=>he.toLowerCase().includes(o.toLowerCase())),ne=s.length===0||s.every(he=>z.tags.includes(he)),yn=u.length===0||u.every(he=>z.languages.includes(he)),vn=!d||z.maintainedByOasis,pn=b.length===0||b.includes(z.license),xn=p.length===0||p.every(he=>!!(he==="Demo"&&z.demoUrl||he==="Code"&&z.codeUrl||he==="Tutorial"&&Array.isArray(z.tutorials)&&z.tutorials.length>0)),bn=y.length===0||y.every(he=>{var On;return(On=z.paratimes)==null?void 0:On.includes(he)});return X&&ne&&yn&&bn&&vn&&pn&&xn}),C=B.reduce((z,X)=>(z[X]=M.filter(ne=>ne.tags.includes(X)).length,z),{}),ce=A.reduce((z,X)=>(z[X]=M.filter(ne=>ne.languages.includes(X)).length,z),{}),ue=v.reduce((z,X)=>(z[X]=M.filter(ne=>ne.license===X).length,z),{}),T=["Demo","Code","Tutorial"].reduce((z,X)=>(z[X]=M.filter(ne=>X==="Demo"?!!ne.demoUrl:X==="Code"?!!ne.codeUrl:X==="Tutorial"?Array.isArray(ne.tutorials)&&ne.tutorials.length>0:!1).length,z),{}),Z=["sapphire","emerald","cipher"].reduce((z,X)=>(z[X]=M.filter(ne=>{var yn;return(yn=ne.paratimes)==null?void 0:yn.includes(X)}).length,z),{}),ge=M.filter(z=>z.maintainedByOasis).length,Y=z=>{l(s.includes(z)?s.filter(X=>X!==z):[...s,z])},Re=z=>{u.includes(z)?c(u.filter(X=>X!==z)):c([...u,z])},[we,_e]=x.useState(ni.TITLE),Be=z=>{switch(we){case ni.LAST_UPDATED:return z.slice().sort((X,ne)=>new Date(ne.lastUpdated).getTime()-new Date(X.lastUpdated).getTime());case ni.CREATED_DATE:return z.slice().sort((X,ne)=>new Date(ne.created).getTime()-new Date(X.created).getTime());case ni.NAME:case ni.TITLE:return z.slice().sort((X,ne)=>X.name.localeCompare(ne.name))}},de=z=>{"target"in z&&_e(z.target.value)},ve=Be(M);return k.jsx("div",{children:k.jsxs(Up,{sx:{backgroundColor:"white",border:"2px solid black",padding:S,borderRadius:"19px",position:"relative"},children:[k.jsxs(Up,{sx:{padding:"0",paddingTop:"20px"},children:[k.jsxs("div",{style:{position:"relative",overflow:"hidden",transition:"max-height 0.5s ease"},children:[k.jsxs($e,{sx:{display:"flex",justifyContent:"space-between",flexWrap:n?"wrap":"nowrap"},children:[k.jsx(PD,{search:o,setSearch:a}),k.jsx($e,{sx:{borderLeft:n?"none":"2px solid #0500E1",paddingLeft:n?"0":"30px",width:n?"100%":"auto"},children:k.jsx(Ja,{onClick:U,startIcon:k.jsx(ws,{icon:OD}),variant:"outlined",sx:{borderRadius:"50px",height:"43px",textTransform:"capitalize",padding:"0 25px",fontWeight:"500",maxWidth:n?"100%":"116px",marginLeft:"auto",border:"2px solid #0500E1",width:n?"100%":"auto",backgroundColor:h?"#0500E1":"transparent",color:h?"white":"#0500E1",marginTop:n?"16px":"0","&:hover":{backgroundColor:h?"#000062":"transparent",color:h?"white":"#0500E1",border:h?"2px solid #000062":"2px solid #0500E1"}},children:"Filters"})})]}),k.jsxs("div",{style:{position:"relative",overflow:"hidden",transition:"all 0.7s cubic-bezier(.17,.67,.83,.67)",maxHeight:h?"1000px":"0px"},children:[k.jsx(qM,{tags:B,langs:A,selectedTags:s,selectedLangs:u,handleTagClick:l,handleLanguageClick:Re,licenses:v,selectedLicenses:b,handleLicenseChange:D,selectedSources:p,handleSourcesChange:F,selectedParatimes:y,handleParatimesChange:$,maintainedByOasis:d,handleMaintainedByOasisToggle:O,handleClearTags:R,handleClearLangs:I,tagCounts:C,langCounts:ce,licenseCounts:ue,sourceCounts:T,paratimeCounts:Z,maintainedByOasisCount:ge}),k.jsx(Ja,{onClick:E,sx:{textDecoration:"underline",textTransform:"none",display:"block",marginTop:"16px",color:"#0500E1"},children:"Clear all filters"})]})]}),k.jsx(TD,{filteredAndSortedProjectsLength:ve.length,sortOption:we,handleSortChange:de})]}),k.jsx(Ee,{container:!0,spacing:1,justifyContent:"start",children:ve.map(z=>k.jsx(xD,{project:z,getProjectLink:L,selectedTags:s,selectedLangs:u,selectedParatimes:y,handleTagClick:Y,handleLangClick:Re,handleParatimesChange:$,langs:z.languages,tags:z.tags},z.name))}),k.jsx(vD,{open:!!i,onClose:j,project:i,selectedTags:s,selectedLangs:u,handleTagClick:Y,handleLangClick:Re})]})})},SB=Mh({palette:{primary:{main:"#0500E1"}},typography:{fontFamily:"'Roboto Flex Variable', sans-serif",h1:{fontSize:"56px",fontWeight:500,color:"white",letterSpacing:"-2.84px","@media (max-width:600px)":{fontSize:"40px"}},h2:{fontSize:"24px",color:"#0500E1",fontWeight:500,letterSpacing:"-1px"},h6:{fontSize:"18px",color:"#0500E1",letterSpacing:"-0.5px"}},components:{MuiInputBase:{styleOverrides:{root:{color:"#000000"}}},MuiOutlinedInput:{styleOverrides:{root:{outline:0,height:"46px",borderRadius:"40px","& .MuiOutlinedInput-notchedOutline":{borderColor:"transparent",borderRadius:"40px"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"&:focus-within .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"}}}},MuiSelect:{styleOverrides:{select:{borderColor:"transparent",backgroundColor:"transparent",outline:"none",border:"none","&.MuiSelect-outlined":{paddingTop:"6px",paddingBottom:"6px"},"&:focus":{outline:"none",border:"none",borderColor:"transparent",backgroundColor:"transparent"},"&:hover":{outline:"none",border:"none",borderColor:"transparent"},"&:focus-within":{outline:"none",border:"none",borderColor:"transparent","& .MuiSelect-root":{outline:"none",border:"none",borderColor:"transparent"}}}}},MuiDialog:{styleOverrides:{paper:{padding:"24px",maxWidth:"878px",margin:"auto"}}},MuiCheckbox:{styleOverrides:{root:{"&.Mui-checked":{color:"#0500E1"}}}},MuiChip:{styleOverrides:{root:{"&.MuiChip-root":{backgroundColor:"transparent",border:"1px solid #0500E1",fontWeight:"300",color:"#0500E1",marginBottom:"5px"},"&.MuiChip-colorPrimary":{backgroundColor:"#0500E1",color:"#FFFFFF"}}}}}}),CB="/assets/Playground Logo White-CWFbCTXP.svg",_B=te("img")({maxWidth:"360px",maxHeight:"60px",marginBottom:"50px"});function EB(){const e=_t(),n=Ti(e.breakpoints.down("md")),t=n?"42px":"80px";return k.jsx(gT,{theme:SB,children:k.jsx($e,{component:"div",sx:{width:"100vw",height:"100%",minHeight:"100vh",backgroundImage:`url(${uR})`,backgroundSize:"100vw auto",backgroundRepeat:"no-repeat",backgroundColor:"#0500E1",backgroundPosition:"50% 230px"},children:k.jsxs(Up,{maxWidth:"lg",sx:{paddingTop:t,paddingBottom:t},children:[k.jsx(_B,{src:CB,alt:"Oasis Playground"}),k.jsxs(Ee,{container:!0,spacing:2,justifyContent:"space-between",alignItems:"flex-start",marginBottom:n?"36px":"0",children:[k.jsx(Ee,{item:!0,xs:12,md:9,children:k.jsxs(fe,{gutterBottom:!0,sx:{color:"white",fontSize:"20px",width:"100%",maxWidth:"750px",marginBottom:n?"16px":"24px"},children:["Discover the frontier of Web3 privacy through the projects and applications that are powered by the Oasis Network’s cutting-edge production-ready confidentiality technology. Become a contributor by adding your dApp to the Playground"," ",k.jsx(Bi,{href:"https://github.com/oasisprotocol/playground/blob/main/CONTRIBUTING.md",sx:{color:"white",textDecorationColor:"white","&:hover":{color:"white"}},target:"_blank",underline:"always",children:"here"}),"."]})}),k.jsx(Ee,{item:!0,children:k.jsx(Ja,{href:"https://github.com/oasisprotocol/playground/blob/main/CONTRIBUTING.md",target:"_blank",color:"inherit",variant:"outlined",sx:{borderRadius:"30px",color:"white",borderColor:"white",textTransform:"none",fontSize:"16px",fontWeight:"600","&:hover":{backgroundColor:"white",color:"#0500E1",borderColor:"white"}},children:"Add your dApp"})})]}),k.jsx($e,{children:k.jsx(wB,{})}),k.jsx(fe,{gutterBottom:!0,sx:{color:"white",textAlign:"center",fontSize:"14px",width:"100%",marginBottom:"24px",marginTop:"20px"},children:"Copyright © 2024 Oasis Protocol Foundation. All rights reserved."})]})})})}zd.createRoot(document.getElementById("root")).render(k.jsx(Un.StrictMode,{children:k.jsx(PC,{children:k.jsx(EB,{})})})); diff --git a/index.html b/index.html index 44832f1..627809a 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Oasis Playground - +