From 259cce6435a87d8a5643b51c6b5b2a0b4c971706 Mon Sep 17 00:00:00 2001 From: p32929 Date: Fri, 8 Mar 2024 07:26:19 -0800 Subject: [PATCH] Updates --- .../{index-IRlp35zs.js => index-vvRxR7kE.js} | 28 +++++++++---------- index.html | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) rename assets/{index-IRlp35zs.js => index-vvRxR7kE.js} (81%) diff --git a/assets/index-IRlp35zs.js b/assets/index-vvRxR7kE.js similarity index 81% rename from assets/index-IRlp35zs.js rename to assets/index-vvRxR7kE.js index 1e6a039..e936a24 100644 --- a/assets/index-IRlp35zs.js +++ b/assets/index-vvRxR7kE.js @@ -1,4 +1,4 @@ -var Fm=Object.defineProperty;var jm=(e,t,n)=>t in e?Fm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var an=(e,t,n)=>(jm(e,typeof t!="symbol"?t+"":t,n),n);function Um(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Mu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Au={exports:{}},Di={},Ou={exports:{}},U={};/** +var Fm=Object.defineProperty;var jm=(e,t,n)=>t in e?Fm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var an=(e,t,n)=>(jm(e,typeof t!="symbol"?t+"":t,n),n);function Um(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Mu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Au={exports:{}},Ii={},Ou={exports:{}},U={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var Fm=Object.defineProperty;var jm=(e,t,n)=>t in e?Fm(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var lo=Symbol.for("react.element"),Bm=Symbol.for("react.portal"),Vm=Symbol.for("react.fragment"),Wm=Symbol.for("react.strict_mode"),Hm=Symbol.for("react.profiler"),Gm=Symbol.for("react.provider"),Km=Symbol.for("react.context"),Qm=Symbol.for("react.forward_ref"),Ym=Symbol.for("react.suspense"),Xm=Symbol.for("react.memo"),Jm=Symbol.for("react.lazy"),Ja=Symbol.iterator;function Zm(e){return e===null||typeof e!="object"?null:(e=Ja&&e[Ja]||e["@@iterator"],typeof e=="function"?e:null)}var Du={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Iu=Object.assign,Lu={};function sr(e,t,n){this.props=e,this.context=t,this.refs=Lu,this.updater=n||Du}sr.prototype.isReactComponent={};sr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};sr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function zu(){}zu.prototype=sr.prototype;function Bs(e,t,n){this.props=e,this.context=t,this.refs=Lu,this.updater=n||Du}var Vs=Bs.prototype=new zu;Vs.constructor=Bs;Iu(Vs,sr.prototype);Vs.isPureReactComponent=!0;var Za=Array.isArray,Fu=Object.prototype.hasOwnProperty,Ws={current:null},ju={key:!0,ref:!0,__self:!0,__source:!0};function Uu(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)Fu.call(t,r)&&!ju.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1t in e?Fm(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var og=u,ig=Symbol.for("react.element"),lg=Symbol.for("react.fragment"),sg=Object.prototype.hasOwnProperty,ag=og.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,cg={key:!0,ref:!0,__self:!0,__source:!0};function Bu(e,t,n){var r,o={},i=null,l=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)sg.call(t,r)&&!cg.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:ig,type:e,key:i,ref:l,props:o,_owner:ag.current}}Di.Fragment=lg;Di.jsx=Bu;Di.jsxs=Bu;Au.exports=Di;var $=Au.exports,Ll={},Vu={exports:{}},Ue={},Wu={exports:{}},Hu={};/** + */var og=u,ig=Symbol.for("react.element"),lg=Symbol.for("react.fragment"),sg=Object.prototype.hasOwnProperty,ag=og.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,cg={key:!0,ref:!0,__self:!0,__source:!0};function Bu(e,t,n){var r,o={},i=null,l=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)sg.call(t,r)&&!cg.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:ig,type:e,key:i,ref:l,props:o,_owner:ag.current}}Ii.Fragment=lg;Ii.jsx=Bu;Ii.jsxs=Bu;Au.exports=Ii;var $=Au.exports,zl={},Vu={exports:{}},Ue={},Wu={exports:{}},Hu={};/** * @license React * scheduler.production.min.js * @@ -30,14 +30,14 @@ var Fm=Object.defineProperty;var jm=(e,t,n)=>t in e?Fm(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Gu=u,je=ug;function P(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zl=Object.prototype.hasOwnProperty,dg=/^[: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]*$/,ec={},tc={};function fg(e){return zl.call(tc,e)?!0:zl.call(ec,e)?!1:dg.test(e)?tc[e]=!0:(ec[e]=!0,!1)}function pg(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function mg(e,t,n,r){if(t===null||typeof t>"u"||pg(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function $e(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){me[e]=new $e(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];me[t]=new $e(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){me[e]=new $e(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){me[e]=new $e(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){me[e]=new $e(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){me[e]=new $e(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){me[e]=new $e(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){me[e]=new $e(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){me[e]=new $e(e,5,!1,e.toLowerCase(),null,!1,!1)});var Gs=/[\-:]([a-z])/g;function Ks(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Gs,Ks);me[t]=new $e(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Gs,Ks);me[t]=new $e(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Gs,Ks);me[t]=new $e(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){me[e]=new $e(e,1,!1,e.toLowerCase(),null,!1,!1)});me.xlinkHref=new $e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){me[e]=new $e(e,1,!1,e.toLowerCase(),null,!0,!0)});function Qs(e,t,n,r){var o=me.hasOwnProperty(t)?me[t]:null;(o!==null?o.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fl=Object.prototype.hasOwnProperty,dg=/^[: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]*$/,tc={},nc={};function fg(e){return Fl.call(nc,e)?!0:Fl.call(tc,e)?!1:dg.test(e)?nc[e]=!0:(tc[e]=!0,!1)}function pg(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function mg(e,t,n,r){if(t===null||typeof t>"u"||pg(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function $e(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){me[e]=new $e(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];me[t]=new $e(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){me[e]=new $e(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){me[e]=new $e(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){me[e]=new $e(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){me[e]=new $e(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){me[e]=new $e(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){me[e]=new $e(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){me[e]=new $e(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ks=/[\-:]([a-z])/g;function Qs(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ks,Qs);me[t]=new $e(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ks,Qs);me[t]=new $e(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ks,Qs);me[t]=new $e(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){me[e]=new $e(e,1,!1,e.toLowerCase(),null,!1,!1)});me.xlinkHref=new $e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){me[e]=new $e(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ys(e,t,n,r){var o=me.hasOwnProperty(t)?me[t]:null;(o!==null?o.type!==0:r||!(2s||o[l]!==i[s]){var a=` -`+o[l].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{il=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Er(e):""}function gg(e){switch(e.tag){case 5:return Er(e.type);case 16:return Er("Lazy");case 13:return Er("Suspense");case 19:return Er("SuspenseList");case 0:case 2:case 15:return e=ll(e.type,!1),e;case 11:return e=ll(e.type.render,!1),e;case 1:return e=ll(e.type,!0),e;default:return""}}function Bl(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 An:return"Fragment";case Mn:return"Portal";case Fl:return"Profiler";case Ys:return"StrictMode";case jl:return"Suspense";case Ul:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Yu:return(e.displayName||"Context")+".Consumer";case Qu:return(e._context.displayName||"Context")+".Provider";case Xs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Js:return t=e.displayName||null,t!==null?t:Bl(e.type)||"Memo";case zt:t=e._payload,e=e._init;try{return Bl(e(t))}catch{}}return null}function hg(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Bl(t);case 8:return t===Ys?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Zt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ju(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vg(e){var t=Ju(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ko(e){e._valueTracker||(e._valueTracker=vg(e))}function Zu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ju(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ii(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 Vl(e,t){var n=t.checked;return ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function rc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Zt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function qu(e,t){t=t.checked,t!=null&&Qs(e,"checked",t,!1)}function Wl(e,t){qu(e,t);var n=Zt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Hl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Hl(e,t.type,Zt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function oc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Hl(e,t,n){(t!=="number"||ii(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Cr=Array.isArray;function Wn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=So.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Rr={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},yg=["Webkit","ms","Moz","O"];Object.keys(Rr).forEach(function(e){yg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Rr[t]=Rr[e]})});function rd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Rr.hasOwnProperty(e)&&Rr[e]?(""+t).trim():t+"px"}function od(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=rd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var wg=ne({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 Ql(e,t){if(t){if(wg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(P(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(P(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(P(61))}if(t.style!=null&&typeof t.style!="object")throw Error(P(62))}}function Yl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xl=null;function Zs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Jl=null,Hn=null,Gn=null;function sc(e){if(e=co(e)){if(typeof Jl!="function")throw Error(P(280));var t=e.stateNode;t&&(t=ji(t),Jl(e.stateNode,e.type,t))}}function id(e){Hn?Gn?Gn.push(e):Gn=[e]:Hn=e}function ld(){if(Hn){var e=Hn,t=Gn;if(Gn=Hn=null,sc(e),t)for(e=0;e>>=0,e===0?32:31-(Ng(e)/Tg|0)|0}var bo=64,$o=4194304;function _r(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 ci(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~o;s!==0?r=_r(s):(i&=l,i!==0&&(r=_r(i)))}else l=n&~o,l!==0?r=_r(l):i!==0&&(r=_r(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function so(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ot(t),e[t]=n}function Dg(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Tr),hc=" ",vc=!1;function Cd(e,t){switch(e){case"keyup":return ch.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _d(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var On=!1;function dh(e,t){switch(e){case"compositionend":return _d(t);case"keypress":return t.which!==32?null:(vc=!0,hc);case"textInput":return e=t.data,e===hc&&vc?null:e;default:return null}}function fh(e,t){if(On)return e==="compositionend"||!la&&Cd(e,t)?(e=$d(),Ko=ra=Bt=null,On=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=kc(n)}}function Td(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Td(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Md(){for(var e=window,t=ii();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ii(e.document)}return t}function sa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function kh(e){var t=Md(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Td(n.ownerDocument.documentElement,n)){if(r!==null&&sa(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Sc(n,i);var l=Sc(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Dn=null,rs=null,Ar=null,os=!1;function bc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;os||Dn==null||Dn!==ii(r)||(r=Dn,"selectionStart"in r&&sa(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}),Ar&&Hr(Ar,r)||(Ar=r,r=fi(rs,"onSelect"),0zn||(e.current=us[zn],us[zn]=null,zn--)}function Q(e,t){zn++,us[zn]=e.current,e.current=t}var qt={},we=on(qt),Pe=on(!1),vn=qt;function qn(e,t){var n=e.type.contextTypes;if(!n)return qt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Re(e){return e=e.childContextTypes,e!=null}function mi(){J(Pe),J(we)}function Nc(e,t,n){if(we.current!==qt)throw Error(P(168));Q(we,t),Q(Pe,n)}function Ud(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(P(108,hg(e)||"Unknown",o));return ne({},n,r)}function gi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||qt,vn=we.current,Q(we,e),Q(Pe,Pe.current),!0}function Tc(e,t,n){var r=e.stateNode;if(!r)throw Error(P(169));n?(e=Ud(e,t,vn),r.__reactInternalMemoizedMergedChildContext=e,J(Pe),J(we),Q(we,e)):J(Pe),Q(Pe,n)}var xt=null,Ui=!1,xl=!1;function Bd(e){xt===null?xt=[e]:xt.push(e)}function Ah(e){Ui=!0,Bd(e)}function ln(){if(!xl&&xt!==null){xl=!0;var e=0,t=G;try{var n=xt;for(G=1;e>=l,o-=l,kt=1<<32-ot(t)+o|n<C?(O=b,b=null):O=b.sibling;var T=g(m,b,h[C],x);if(T===null){b===null&&(b=O);break}e&&b&&T.alternate===null&&t(m,b),f=i(T,f,C),E===null?S=T:E.sibling=T,E=T,b=O}if(C===h.length)return n(m,b),q&&cn(m,C),S;if(b===null){for(;CC?(O=b,b=null):O=b.sibling;var B=g(m,b,T.value,x);if(B===null){b===null&&(b=O);break}e&&b&&B.alternate===null&&t(m,b),f=i(B,f,C),E===null?S=B:E.sibling=B,E=B,b=O}if(T.done)return n(m,b),q&&cn(m,C),S;if(b===null){for(;!T.done;C++,T=h.next())T=d(m,T.value,x),T!==null&&(f=i(T,f,C),E===null?S=T:E.sibling=T,E=T);return q&&cn(m,C),S}for(b=r(m,b);!T.done;C++,T=h.next())T=v(b,m,C,T.value,x),T!==null&&(e&&T.alternate!==null&&b.delete(T.key===null?C:T.key),f=i(T,f,C),E===null?S=T:E.sibling=T,E=T);return e&&b.forEach(function(A){return t(m,A)}),q&&cn(m,C),S}function k(m,f,h,x){if(typeof h=="object"&&h!==null&&h.type===An&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case xo:e:{for(var S=h.key,E=f;E!==null;){if(E.key===S){if(S=h.type,S===An){if(E.tag===7){n(m,E.sibling),f=o(E,h.props.children),f.return=m,m=f;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===zt&&zc(S)===E.type){n(m,E.sibling),f=o(E,h.props),f.ref=xr(m,E,h),f.return=m,m=f;break e}n(m,E);break}else t(m,E);E=E.sibling}h.type===An?(f=hn(h.props.children,m.mode,x,h.key),f.return=m,m=f):(x=ti(h.type,h.key,h.props,null,m.mode,x),x.ref=xr(m,f,h),x.return=m,m=x)}return l(m);case Mn:e:{for(E=h.key;f!==null;){if(f.key===E)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){n(m,f.sibling),f=o(f,h.children||[]),f.return=m,m=f;break e}else{n(m,f);break}else t(m,f);f=f.sibling}f=Pl(h,m.mode,x),f.return=m,m=f}return l(m);case zt:return E=h._init,k(m,f,E(h._payload),x)}if(Cr(h))return w(m,f,h,x);if(gr(h))return y(m,f,h,x);To(m,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,f!==null&&f.tag===6?(n(m,f.sibling),f=o(f,h),f.return=m,m=f):(n(m,f),f=_l(h,m.mode,x),f.return=m,m=f),l(m)):n(m,f)}return k}var tr=Xd(!0),Jd=Xd(!1),uo={},mt=on(uo),Yr=on(uo),Xr=on(uo);function pn(e){if(e===uo)throw Error(P(174));return e}function ha(e,t){switch(Q(Xr,t),Q(Yr,e),Q(mt,uo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Kl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Kl(t,e)}J(mt),Q(mt,t)}function nr(){J(mt),J(Yr),J(Xr)}function Zd(e){pn(Xr.current);var t=pn(mt.current),n=Kl(t,e.type);t!==n&&(Q(Yr,e),Q(mt,n))}function va(e){Yr.current===e&&(J(mt),J(Yr))}var ee=on(0);function ki(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var kl=[];function ya(){for(var e=0;en?n:4,e(!0);var r=Sl.transition;Sl.transition={};try{e(!1),t()}finally{G=n,Sl.transition=r}}function gf(){return Xe().memoizedState}function Lh(e,t,n){var r=Xt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},hf(e))vf(t,n);else if(n=Gd(e,t,n,r),n!==null){var o=ke();it(n,e,r,o),yf(n,t,r)}}function zh(e,t,n){var r=Xt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(hf(e))vf(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,s=i(l,n);if(o.hasEagerState=!0,o.eagerState=s,st(s,l)){var a=t.interleaved;a===null?(o.next=o,ma(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Gd(e,t,o,r),n!==null&&(o=ke(),it(n,e,r,o),yf(n,t,r))}}function hf(e){var t=e.alternate;return e===te||t!==null&&t===te}function vf(e,t){Or=Si=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ea(e,n)}}var bi={readContext:Ye,useCallback:he,useContext:he,useEffect:he,useImperativeHandle:he,useInsertionEffect:he,useLayoutEffect:he,useMemo:he,useReducer:he,useRef:he,useState:he,useDebugValue:he,useDeferredValue:he,useTransition:he,useMutableSource:he,useSyncExternalStore:he,useId:he,unstable_isNewReconciler:!1},Fh={readContext:Ye,useCallback:function(e,t){return ct().memoizedState=[e,t===void 0?null:t],e},useContext:Ye,useEffect:jc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Jo(4194308,4,uf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Jo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Jo(4,2,e,t)},useMemo:function(e,t){var n=ct();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ct();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Lh.bind(null,te,e),[r.memoizedState,e]},useRef:function(e){var t=ct();return e={current:e},t.memoizedState=e},useState:Fc,useDebugValue:ba,useDeferredValue:function(e){return ct().memoizedState=e},useTransition:function(){var e=Fc(!1),t=e[0];return e=Ih.bind(null,e[1]),ct().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=te,o=ct();if(q){if(n===void 0)throw Error(P(407));n=n()}else{if(n=t(),de===null)throw Error(P(349));wn&30||tf(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,jc(rf.bind(null,r,i,e),[e]),r.flags|=2048,qr(9,nf.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=ct(),t=de.identifierPrefix;if(q){var n=St,r=kt;n=(r&~(1<<32-ot(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Jr++,0")&&(a=a.replace("",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{ll=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Er(e):""}function gg(e){switch(e.tag){case 5:return Er(e.type);case 16:return Er("Lazy");case 13:return Er("Suspense");case 19:return Er("SuspenseList");case 0:case 2:case 15:return e=sl(e.type,!1),e;case 11:return e=sl(e.type.render,!1),e;case 1:return e=sl(e.type,!0),e;default:return""}}function Vl(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 An:return"Fragment";case Mn:return"Portal";case jl:return"Profiler";case Xs:return"StrictMode";case Ul:return"Suspense";case Bl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Yu:return(e.displayName||"Context")+".Consumer";case Qu:return(e._context.displayName||"Context")+".Provider";case Js:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Zs:return t=e.displayName||null,t!==null?t:Vl(e.type)||"Memo";case zt:t=e._payload,e=e._init;try{return Vl(e(t))}catch{}}return null}function hg(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Vl(t);case 8:return t===Xs?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Zt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ju(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vg(e){var t=Ju(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ko(e){e._valueTracker||(e._valueTracker=vg(e))}function Zu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ju(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ii(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 Wl(e,t){var n=t.checked;return ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function oc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Zt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function qu(e,t){t=t.checked,t!=null&&Ys(e,"checked",t,!1)}function Hl(e,t){qu(e,t);var n=Zt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Gl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Gl(e,t.type,Zt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ic(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Gl(e,t,n){(t!=="number"||ii(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Cr=Array.isArray;function Wn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=So.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Rr={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},yg=["Webkit","ms","Moz","O"];Object.keys(Rr).forEach(function(e){yg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Rr[t]=Rr[e]})});function rd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Rr.hasOwnProperty(e)&&Rr[e]?(""+t).trim():t+"px"}function od(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=rd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var wg=ne({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 Yl(e,t){if(t){if(wg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(P(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(P(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(P(61))}if(t.style!=null&&typeof t.style!="object")throw Error(P(62))}}function Xl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Jl=null;function qs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zl=null,Hn=null,Gn=null;function ac(e){if(e=co(e)){if(typeof Zl!="function")throw Error(P(280));var t=e.stateNode;t&&(t=Ui(t),Zl(e.stateNode,e.type,t))}}function id(e){Hn?Gn?Gn.push(e):Gn=[e]:Hn=e}function ld(){if(Hn){var e=Hn,t=Gn;if(Gn=Hn=null,ac(e),t)for(e=0;e>>=0,e===0?32:31-(Ng(e)/Tg|0)|0}var bo=64,$o=4194304;function _r(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 ci(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~o;s!==0?r=_r(s):(i&=l,i!==0&&(r=_r(i)))}else l=n&~o,l!==0?r=_r(l):i!==0&&(r=_r(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function so(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ot(t),e[t]=n}function Dg(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Tr),vc=" ",yc=!1;function Cd(e,t){switch(e){case"keyup":return ch.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _d(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var On=!1;function dh(e,t){switch(e){case"compositionend":return _d(t);case"keypress":return t.which!==32?null:(yc=!0,vc);case"textInput":return e=t.data,e===vc&&yc?null:e;default:return null}}function fh(e,t){if(On)return e==="compositionend"||!sa&&Cd(e,t)?(e=$d(),Ko=oa=Bt=null,On=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Sc(n)}}function Td(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Td(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Md(){for(var e=window,t=ii();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ii(e.document)}return t}function aa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function kh(e){var t=Md(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Td(n.ownerDocument.documentElement,n)){if(r!==null&&aa(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=bc(n,i);var l=bc(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Dn=null,os=null,Ar=null,is=!1;function $c(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;is||Dn==null||Dn!==ii(r)||(r=Dn,"selectionStart"in r&&aa(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}),Ar&&Hr(Ar,r)||(Ar=r,r=fi(os,"onSelect"),0zn||(e.current=ds[zn],ds[zn]=null,zn--)}function Q(e,t){zn++,ds[zn]=e.current,e.current=t}var qt={},we=on(qt),Pe=on(!1),vn=qt;function qn(e,t){var n=e.type.contextTypes;if(!n)return qt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Re(e){return e=e.childContextTypes,e!=null}function mi(){J(Pe),J(we)}function Tc(e,t,n){if(we.current!==qt)throw Error(P(168));Q(we,t),Q(Pe,n)}function Ud(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(P(108,hg(e)||"Unknown",o));return ne({},n,r)}function gi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||qt,vn=we.current,Q(we,e),Q(Pe,Pe.current),!0}function Mc(e,t,n){var r=e.stateNode;if(!r)throw Error(P(169));n?(e=Ud(e,t,vn),r.__reactInternalMemoizedMergedChildContext=e,J(Pe),J(we),Q(we,e)):J(Pe),Q(Pe,n)}var kt=null,Bi=!1,kl=!1;function Bd(e){kt===null?kt=[e]:kt.push(e)}function Ah(e){Bi=!0,Bd(e)}function ln(){if(!kl&&kt!==null){kl=!0;var e=0,t=G;try{var n=kt;for(G=1;e>=l,o-=l,St=1<<32-ot(t)+o|n<C?(O=b,b=null):O=b.sibling;var T=g(m,b,h[C],x);if(T===null){b===null&&(b=O);break}e&&b&&T.alternate===null&&t(m,b),f=i(T,f,C),E===null?S=T:E.sibling=T,E=T,b=O}if(C===h.length)return n(m,b),q&&cn(m,C),S;if(b===null){for(;CC?(O=b,b=null):O=b.sibling;var B=g(m,b,T.value,x);if(B===null){b===null&&(b=O);break}e&&b&&B.alternate===null&&t(m,b),f=i(B,f,C),E===null?S=B:E.sibling=B,E=B,b=O}if(T.done)return n(m,b),q&&cn(m,C),S;if(b===null){for(;!T.done;C++,T=h.next())T=d(m,T.value,x),T!==null&&(f=i(T,f,C),E===null?S=T:E.sibling=T,E=T);return q&&cn(m,C),S}for(b=r(m,b);!T.done;C++,T=h.next())T=v(b,m,C,T.value,x),T!==null&&(e&&T.alternate!==null&&b.delete(T.key===null?C:T.key),f=i(T,f,C),E===null?S=T:E.sibling=T,E=T);return e&&b.forEach(function(A){return t(m,A)}),q&&cn(m,C),S}function k(m,f,h,x){if(typeof h=="object"&&h!==null&&h.type===An&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case xo:e:{for(var S=h.key,E=f;E!==null;){if(E.key===S){if(S=h.type,S===An){if(E.tag===7){n(m,E.sibling),f=o(E,h.props.children),f.return=m,m=f;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===zt&&Fc(S)===E.type){n(m,E.sibling),f=o(E,h.props),f.ref=xr(m,E,h),f.return=m,m=f;break e}n(m,E);break}else t(m,E);E=E.sibling}h.type===An?(f=hn(h.props.children,m.mode,x,h.key),f.return=m,m=f):(x=ti(h.type,h.key,h.props,null,m.mode,x),x.ref=xr(m,f,h),x.return=m,m=x)}return l(m);case Mn:e:{for(E=h.key;f!==null;){if(f.key===E)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){n(m,f.sibling),f=o(f,h.children||[]),f.return=m,m=f;break e}else{n(m,f);break}else t(m,f);f=f.sibling}f=Rl(h,m.mode,x),f.return=m,m=f}return l(m);case zt:return E=h._init,k(m,f,E(h._payload),x)}if(Cr(h))return w(m,f,h,x);if(gr(h))return y(m,f,h,x);To(m,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,f!==null&&f.tag===6?(n(m,f.sibling),f=o(f,h),f.return=m,m=f):(n(m,f),f=Pl(h,m.mode,x),f.return=m,m=f),l(m)):n(m,f)}return k}var tr=Xd(!0),Jd=Xd(!1),uo={},gt=on(uo),Yr=on(uo),Xr=on(uo);function pn(e){if(e===uo)throw Error(P(174));return e}function va(e,t){switch(Q(Xr,t),Q(Yr,e),Q(gt,uo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ql(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ql(t,e)}J(gt),Q(gt,t)}function nr(){J(gt),J(Yr),J(Xr)}function Zd(e){pn(Xr.current);var t=pn(gt.current),n=Ql(t,e.type);t!==n&&(Q(Yr,e),Q(gt,n))}function ya(e){Yr.current===e&&(J(gt),J(Yr))}var ee=on(0);function ki(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Sl=[];function wa(){for(var e=0;en?n:4,e(!0);var r=bl.transition;bl.transition={};try{e(!1),t()}finally{G=n,bl.transition=r}}function gf(){return Xe().memoizedState}function Lh(e,t,n){var r=Xt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},hf(e))vf(t,n);else if(n=Gd(e,t,n,r),n!==null){var o=ke();it(n,e,r,o),yf(n,t,r)}}function zh(e,t,n){var r=Xt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(hf(e))vf(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,s=i(l,n);if(o.hasEagerState=!0,o.eagerState=s,st(s,l)){var a=t.interleaved;a===null?(o.next=o,ga(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Gd(e,t,o,r),n!==null&&(o=ke(),it(n,e,r,o),yf(n,t,r))}}function hf(e){var t=e.alternate;return e===te||t!==null&&t===te}function vf(e,t){Or=Si=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ta(e,n)}}var bi={readContext:Ye,useCallback:he,useContext:he,useEffect:he,useImperativeHandle:he,useInsertionEffect:he,useLayoutEffect:he,useMemo:he,useReducer:he,useRef:he,useState:he,useDebugValue:he,useDeferredValue:he,useTransition:he,useMutableSource:he,useSyncExternalStore:he,useId:he,unstable_isNewReconciler:!1},Fh={readContext:Ye,useCallback:function(e,t){return ct().memoizedState=[e,t===void 0?null:t],e},useContext:Ye,useEffect:Uc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Jo(4194308,4,uf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Jo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Jo(4,2,e,t)},useMemo:function(e,t){var n=ct();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ct();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Lh.bind(null,te,e),[r.memoizedState,e]},useRef:function(e){var t=ct();return e={current:e},t.memoizedState=e},useState:jc,useDebugValue:$a,useDeferredValue:function(e){return ct().memoizedState=e},useTransition:function(){var e=jc(!1),t=e[0];return e=Ih.bind(null,e[1]),ct().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=te,o=ct();if(q){if(n===void 0)throw Error(P(407));n=n()}else{if(n=t(),de===null)throw Error(P(349));wn&30||tf(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Uc(rf.bind(null,r,i,e),[e]),r.flags|=2048,qr(9,nf.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=ct(),t=de.identifierPrefix;if(q){var n=bt,r=St;n=(r&~(1<<32-ot(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Jr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ut]=t,e[Qr]=r,_f(e,t,!1,!1),t.stateNode=e;e:{switch(l=Yl(n,r),n){case"dialog":X("cancel",e),X("close",e),o=r;break;case"iframe":case"object":case"embed":X("load",e),o=r;break;case"video":case"audio":for(o=0;oor&&(t.flags|=128,r=!0,kr(i,!1),t.lanes=4194304)}else{if(!r)if(e=ki(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),kr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!q)return ve(t),null}else 2*oe()-i.renderingStartTime>or&&n!==1073741824&&(t.flags|=128,r=!0,kr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=oe(),t.sibling=null,n=ee.current,Q(ee,r?n&1|2:n&1),t):(ve(t),null);case 22:case 23:return Ra(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?De&1073741824&&(ve(t),t.subtreeFlags&6&&(t.flags|=8192)):ve(t),null;case 24:return null;case 25:return null}throw Error(P(156,t.tag))}function Kh(e,t){switch(ca(t),t.tag){case 1:return Re(t.type)&&mi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nr(),J(Pe),J(we),ya(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return va(t),null;case 13:if(J(ee),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(P(340));er()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return J(ee),null;case 4:return nr(),null;case 10:return pa(t.type._context),null;case 22:case 23:return Ra(),null;case 24:return null;default:return null}}var Ao=!1,ye=!1,Qh=typeof WeakSet=="function"?WeakSet:Set,N=null;function Bn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){re(e,t,r)}else n.current=null}function Ss(e,t,n){try{n()}catch(r){re(e,t,r)}}var Yc=!1;function Yh(e,t){if(is=ui,e=Md(),sa(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,s=-1,a=-1,c=0,p=0,d=e,g=null;t:for(;;){for(var v;d!==n||o!==0&&d.nodeType!==3||(s=l+o),d!==i||r!==0&&d.nodeType!==3||(a=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(v=d.firstChild)!==null;)g=d,d=v;for(;;){if(d===e)break t;if(g===n&&++c===o&&(s=l),g===i&&++p===r&&(a=l),(v=d.nextSibling)!==null)break;d=g,g=d.parentNode}d=v}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(ls={focusedElem:e,selectionRange:n},ui=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,k=w.memoizedState,m=t.stateNode,f=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:tt(t.type,y),k);m.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(P(163))}}catch(x){re(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return w=Yc,Yc=!1,w}function Dr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Ss(t,n,i)}o=o.next}while(o!==r)}}function Wi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function bs(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Nf(e){var t=e.alternate;t!==null&&(e.alternate=null,Nf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ut],delete t[Qr],delete t[cs],delete t[Th],delete t[Mh])),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 Tf(e){return e.tag===5||e.tag===3||e.tag===4}function Xc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Tf(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 $s(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=pi));else if(r!==4&&(e=e.child,e!==null))for($s(e,t,n),e=e.sibling;e!==null;)$s(e,t,n),e=e.sibling}function Es(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Es(e,t,n),e=e.sibling;e!==null;)Es(e,t,n),e=e.sibling}var fe=null,nt=!1;function Ot(e,t,n){for(n=n.child;n!==null;)Mf(e,t,n),n=n.sibling}function Mf(e,t,n){if(pt&&typeof pt.onCommitFiberUnmount=="function")try{pt.onCommitFiberUnmount(Ii,n)}catch{}switch(n.tag){case 5:ye||Bn(n,t);case 6:var r=fe,o=nt;fe=null,Ot(e,t,n),fe=r,nt=o,fe!==null&&(nt?(e=fe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):fe.removeChild(n.stateNode));break;case 18:fe!==null&&(nt?(e=fe,n=n.stateNode,e.nodeType===8?wl(e.parentNode,n):e.nodeType===1&&wl(e,n),Vr(e)):wl(fe,n.stateNode));break;case 4:r=fe,o=nt,fe=n.stateNode.containerInfo,nt=!0,Ot(e,t,n),fe=r,nt=o;break;case 0:case 11:case 14:case 15:if(!ye&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Ss(n,t,l),o=o.next}while(o!==r)}Ot(e,t,n);break;case 1:if(!ye&&(Bn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){re(n,t,s)}Ot(e,t,n);break;case 21:Ot(e,t,n);break;case 22:n.mode&1?(ye=(r=ye)||n.memoizedState!==null,Ot(e,t,n),ye=r):Ot(e,t,n);break;default:Ot(e,t,n)}}function Jc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Qh),t.forEach(function(r){var o=ov.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function et(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=oe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Jh(r/1960))-r,10e?16:e,Vt===null)var r=!1;else{if(e=Vt,Vt=null,Ci=0,H&6)throw Error(P(331));var o=H;for(H|=4,N=e.current;N!==null;){var i=N,l=i.child;if(N.flags&16){var s=i.deletions;if(s!==null){for(var a=0;aoe()-_a?gn(e,0):Ca|=n),Ne(e,t)}function jf(e,t){t===0&&(e.mode&1?(t=$o,$o<<=1,!($o&130023424)&&($o=4194304)):t=1);var n=ke();e=_t(e,t),e!==null&&(so(e,t,n),Ne(e,n))}function rv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),jf(e,n)}function ov(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(P(314))}r!==null&&r.delete(t),jf(e,n)}var Uf;Uf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Pe.current)_e=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return _e=!1,Hh(e,t,n);_e=!!(e.flags&131072)}else _e=!1,q&&t.flags&1048576&&Vd(t,vi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Zo(e,t),e=t.pendingProps;var o=qn(t,we.current);Qn(t,n),o=xa(null,t,r,e,o,n);var i=ka();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Re(r)?(i=!0,gi(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,ga(t),o.updater=Bi,t.stateNode=o,o._reactInternals=t,gs(t,r,e,n),t=ys(null,t,r,!0,i,n)):(t.tag=0,q&&i&&aa(t),xe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Zo(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=lv(r),e=tt(r,e),o){case 0:t=vs(null,t,r,e,n);break e;case 1:t=Gc(null,t,r,e,n);break e;case 11:t=Wc(null,t,r,e,n);break e;case 14:t=Hc(null,t,r,tt(r.type,e),n);break e}throw Error(P(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:tt(r,o),vs(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:tt(r,o),Gc(e,t,r,o,n);case 3:e:{if($f(t),e===null)throw Error(P(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Kd(e,t),xi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=rr(Error(P(423)),t),t=Kc(e,t,r,n,o);break e}else if(r!==o){o=rr(Error(P(424)),t),t=Kc(e,t,r,n,o);break e}else for(Le=Kt(t.stateNode.containerInfo.firstChild),ze=t,q=!0,rt=null,n=Jd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(er(),r===o){t=Pt(e,t,n);break e}xe(e,t,r,n)}t=t.child}return t;case 5:return Zd(t),e===null&&fs(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,ss(r,o)?l=null:i!==null&&ss(r,i)&&(t.flags|=32),bf(e,t),xe(e,t,l,n),t.child;case 6:return e===null&&fs(t),null;case 13:return Ef(e,t,n);case 4:return ha(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tr(t,null,r,n):xe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:tt(r,o),Wc(e,t,r,o,n);case 7:return xe(e,t,t.pendingProps,n),t.child;case 8:return xe(e,t,t.pendingProps.children,n),t.child;case 12:return xe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,Q(yi,r._currentValue),r._currentValue=l,i!==null)if(st(i.value,l)){if(i.children===o.children&&!Pe.current){t=Pt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){l=i.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=$t(-1,n&-n),a.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var p=c.pending;p===null?a.next=a:(a.next=p.next,p.next=a),c.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),ps(i.return,n,t),s.lanes|=n;break}a=a.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(P(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),ps(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}xe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Qn(t,n),o=Ye(o),r=r(o),t.flags|=1,xe(e,t,r,n),t.child;case 14:return r=t.type,o=tt(r,t.pendingProps),o=tt(r.type,o),Hc(e,t,r,o,n);case 15:return kf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:tt(r,o),Zo(e,t),t.tag=1,Re(r)?(e=!0,gi(t)):e=!1,Qn(t,n),Yd(t,r,o),gs(t,r,o,n),ys(null,t,r,!0,e,n);case 19:return Cf(e,t,n);case 22:return Sf(e,t,n)}throw Error(P(156,t.tag))};function Bf(e,t){return pd(e,t)}function iv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ke(e,t,n,r){return new iv(e,t,n,r)}function Ta(e){return e=e.prototype,!(!e||!e.isReactComponent)}function lv(e){if(typeof e=="function")return Ta(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Xs)return 11;if(e===Js)return 14}return 2}function Jt(e,t){var n=e.alternate;return n===null?(n=Ke(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ti(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Ta(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case An:return hn(n.children,o,i,t);case Ys:l=8,o|=8;break;case Fl:return e=Ke(12,n,t,o|2),e.elementType=Fl,e.lanes=i,e;case jl:return e=Ke(13,n,t,o),e.elementType=jl,e.lanes=i,e;case Ul:return e=Ke(19,n,t,o),e.elementType=Ul,e.lanes=i,e;case Xu:return Gi(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Qu:l=10;break e;case Yu:l=9;break e;case Xs:l=11;break e;case Js:l=14;break e;case zt:l=16,r=null;break e}throw Error(P(130,e==null?e:typeof e,""))}return t=Ke(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function hn(e,t,n,r){return e=Ke(7,e,r,t),e.lanes=n,e}function Gi(e,t,n,r){return e=Ke(22,e,r,t),e.elementType=Xu,e.lanes=n,e.stateNode={isHidden:!1},e}function _l(e,t,n){return e=Ke(6,e,null,t),e.lanes=n,e}function Pl(e,t,n){return t=Ke(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function sv(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=al(0),this.expirationTimes=al(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=al(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ma(e,t,n,r,o,i,l,s,a){return e=new sv(e,t,n,s,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ke(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ga(i),e}function av(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Gf)}catch(e){console.error(e)}}Gf(),Vu.exports=Ue;var fo=Vu.exports;const pv=Mu(fo);var iu=fo;Ll.createRoot=iu.createRoot,Ll.hydrateRoot=iu.hydrateRoot;const mv={theme:"system",setTheme:()=>null},Kf=u.createContext(mv);function gv({children:e,defaultTheme:t="system",storageKey:n="vite-ui-theme",...r}){const[o,i]=u.useState(()=>localStorage.getItem(n)||t);u.useEffect(()=>{const s=window.document.documentElement;if(s.classList.remove("light","dark"),o==="system"){const a=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";s.classList.add(a);return}s.classList.add(o)},[o]);const l={theme:o,setTheme:s=>{localStorage.setItem(n,s),i(s)}};return $.jsx(Kf.Provider,{...r,value:l,children:e})}const hv=()=>{const e=u.useContext(Kf);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e};function Qf(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ts(i)))==null?void 0:l.classGroupId}const lu=/^\[(.+)\]$/;function wv(e){if(lu.test(e)){const t=lu.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function xv(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Sv(Object.entries(e.classGroups),n).forEach(([i,l])=>{Ns(l,r,i,t)}),r}function Ns(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:su(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(kv(o)){Ns(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,l])=>{Ns(l,su(t,i),n,r)})})}function su(e,t){let n=e;return t.split(Ia).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function kv(e){return e.isThemeGetter}function Sv(e,t){return t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,s])=>[t+l,s])):i);return[n,o]}):e}function bv(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(i,l){n.set(i,l),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let l=n.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return o(i,l),l},set(i,l){n.has(i)?n.set(i,l):o(i,l)}}}const Xf="!";function $v(e){const t=e.separator,n=t.length===1,r=t[0],o=t.length;return function(l){const s=[];let a=0,c=0,p;for(let y=0;yc?p-c:void 0;return{modifiers:s,hasImportantModifier:g,baseClassName:v,maybePostfixModifierPosition:w}}}function Ev(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function Cv(e){return{cache:bv(e.cacheSize),splitModifiers:$v(e),...yv(e)}}const _v=/\s+/;function Pv(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(_v).map(l=>{const{modifiers:s,hasImportantModifier:a,baseClassName:c,maybePostfixModifierPosition:p}=n(l);let d=r(p?c.substring(0,p):c),g=!!p;if(!d){if(!p)return{isTailwindClass:!1,originalClassName:l};if(d=r(c),!d)return{isTailwindClass:!1,originalClassName:l};g=!1}const v=Ev(s).join(":");return{isTailwindClass:!0,modifierId:a?v+Xf:v,classGroupId:d,originalClassName:l,hasPostfixModifier:g}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:s,classGroupId:a,hasPostfixModifier:c}=l,p=s+a;return i.has(p)?!1:(i.add(p),o(a,c).forEach(d=>i.add(s+d)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function Rv(){let e=0,t,n,r="";for(;ed(p),e());return n=Cv(c),r=n.cache.get,o=n.cache.set,i=s,s(a)}function s(a){const c=r(a);if(c)return c;const p=Pv(a,n);return o(a,p),p}return function(){return i(Rv.apply(null,arguments))}}function Y(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Zf=/^\[(?:([a-z-]+):)?(.+)\]$/i,Tv=/^\d+\/\d+$/,Mv=new Set(["px","full","screen"]),Av=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ov=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Dv=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Iv=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Lv=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function yt(e){return mn(e)||Mv.has(e)||Tv.test(e)}function Dt(e){return ur(e,"length",Hv)}function mn(e){return!!e&&!Number.isNaN(Number(e))}function Io(e){return ur(e,"number",mn)}function br(e){return!!e&&Number.isInteger(Number(e))}function zv(e){return e.endsWith("%")&&mn(e.slice(0,-1))}function L(e){return Zf.test(e)}function It(e){return Av.test(e)}const Fv=new Set(["length","size","percentage"]);function jv(e){return ur(e,Fv,qf)}function Uv(e){return ur(e,"position",qf)}const Bv=new Set(["image","url"]);function Vv(e){return ur(e,Bv,Kv)}function Wv(e){return ur(e,"",Gv)}function $r(){return!0}function ur(e,t,n){const r=Zf.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function Hv(e){return Ov.test(e)&&!Dv.test(e)}function qf(){return!1}function Gv(e){return Iv.test(e)}function Kv(e){return Lv.test(e)}function Qv(){const e=Y("colors"),t=Y("spacing"),n=Y("blur"),r=Y("brightness"),o=Y("borderColor"),i=Y("borderRadius"),l=Y("borderSpacing"),s=Y("borderWidth"),a=Y("contrast"),c=Y("grayscale"),p=Y("hueRotate"),d=Y("invert"),g=Y("gap"),v=Y("gradientColorStops"),w=Y("gradientColorStopPositions"),y=Y("inset"),k=Y("margin"),m=Y("opacity"),f=Y("padding"),h=Y("saturate"),x=Y("scale"),S=Y("sepia"),E=Y("skew"),b=Y("space"),C=Y("translate"),O=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",L,t],A=()=>[L,t],Z=()=>["",yt,Dt],F=()=>["auto",mn,L],V=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],j=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],R=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",L],M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[mn,Io],W=()=>[mn,L];return{cacheSize:500,separator:":",theme:{colors:[$r],spacing:[yt,Dt],blur:["none","",It,L],brightness:I(),borderColor:[e],borderRadius:["none","","full",It,L],borderSpacing:A(),borderWidth:Z(),contrast:I(),grayscale:_(),hueRotate:W(),invert:_(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[zv,Dt],inset:B(),margin:B(),opacity:I(),padding:A(),saturate:I(),scale:I(),sepia:_(),skew:W(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",L]}],container:["container"],columns:[{columns:[It]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...V(),L]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",br,L]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",L]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",br,L]}],"grid-cols":[{"grid-cols":[$r]}],"col-start-end":[{col:["auto",{span:["full",br,L]},L]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[$r]}],"row-start-end":[{row:["auto",{span:[br,L]},L]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",L]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",L]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...R()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...R(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...R(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[f]}],px:[{px:[f]}],py:[{py:[f]}],ps:[{ps:[f]}],pe:[{pe:[f]}],pt:[{pt:[f]}],pr:[{pr:[f]}],pb:[{pb:[f]}],pl:[{pl:[f]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[b]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[b]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",L,t]}],"min-w":[{"min-w":[L,t,"min","max","fit"]}],"max-w":[{"max-w":[L,t,"none","full","min","max","fit","prose",{screen:[It]},It]}],h:[{h:[L,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[L,t,"auto","min","max","fit"]}],"font-size":[{text:["base",It,Dt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Io]}],"font-family":[{font:[$r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",L]}],"line-clamp":[{"line-clamp":["none",mn,Io]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",yt,L]}],"list-image":[{"list-image":["none",L]}],"list-style-type":[{list:["none","disc","decimal",L]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",yt,Dt]}],"underline-offset":[{"underline-offset":["auto",yt,L]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",L]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...V(),Uv]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",jv]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Vv]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[yt,L]}],"outline-w":[{outline:[yt,Dt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[yt,Dt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",It,Wv]}],"shadow-color":[{shadow:[$r]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":j()}],"bg-blend":[{"bg-blend":j()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",It,L]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[d]}],saturate:[{saturate:[h]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[h]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",L]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",L]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",L]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[br,L]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",L]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",L]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",L]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[yt,Dt,Io]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const Yv=Nv(Qv);function ie(...e){return Yv(vv(e))}const au=(e,t)=>{const n=e.length;if(t<0&&(t+=n),t>=0&&t{var t;(t=document.getElementById(e))==null||t.scrollIntoView({behavior:"smooth"}),console.log("Scrolled")},po=u.forwardRef(({className:e,...t},n)=>$.jsx("div",{ref:n,className:ie("rounded-xl border bg-card text-card-foreground shadow",e),...t}));po.displayName="Card";const Xv=u.forwardRef(({className:e,...t},n)=>$.jsx("div",{ref:n,className:ie("flex flex-col space-y-1.5 p-6",e),...t}));Xv.displayName="CardHeader";const ep=u.forwardRef(({className:e,...t},n)=>$.jsx("h3",{ref:n,className:ie("font-semibold leading-none tracking-tight",e),...t}));ep.displayName="CardTitle";const tp=u.forwardRef(({className:e,...t},n)=>$.jsx("p",{ref:n,className:ie("text-sm text-muted-foreground",e),...t}));tp.displayName="CardDescription";const Ji=u.forwardRef(({className:e,...t},n)=>$.jsx("div",{ref:n,className:ie("p-6 pt-0",e),...t}));Ji.displayName="CardContent";const Jv=u.forwardRef(({className:e,...t},n)=>$.jsx("div",{ref:n,className:ie("flex items-center p-6 pt-0",e),...t}));Jv.displayName="CardFooter";function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>Zv(n,t))}function Se(...e){return u.useCallback(Zi(...e),e)}const Sn=u.forwardRef((e,t)=>{const{children:n,...r}=e,o=u.Children.toArray(n),i=o.find(e0);if(i){const l=i.props.children,s=o.map(a=>a===i?u.Children.count(l)>1?u.Children.only(null):u.isValidElement(l)?l.props.children:null:a);return u.createElement(Ms,D({},r,{ref:t}),u.isValidElement(l)?u.cloneElement(l,void 0,s):null)}return u.createElement(Ms,D({},r,{ref:t}),n)});Sn.displayName="Slot";const Ms=u.forwardRef((e,t)=>{const{children:n,...r}=e;return u.isValidElement(n)?u.cloneElement(n,{...t0(r,n.props),ref:t?Zi(t,n.ref):n.ref}):u.Children.count(n)>1?u.Children.only(null):null});Ms.displayName="SlotClone";const qv=({children:e})=>u.createElement(u.Fragment,null,e);function e0(e){return u.isValidElement(e)&&e.type===qv}function t0(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function np(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,uu=n0,r0=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return uu(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,l=Object.keys(o).map(c=>{const p=n==null?void 0:n[c],d=i==null?void 0:i[c];if(p===null)return null;const g=cu(p)||cu(d);return o[c][g]}),s=n&&Object.entries(n).reduce((c,p)=>{let[d,g]=p;return g===void 0||(c[d]=g),c},{}),a=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,p)=>{let{class:d,className:g,...v}=p;return Object.entries(v).every(w=>{let[y,k]=w;return Array.isArray(k)?k.includes({...i,...s}[y]):{...i,...s}[y]===k})?[...c,d,g]:c},[]);return uu(e,l,a,n==null?void 0:n.class,n==null?void 0:n.className)},o0=r0("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),ft=u.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const l=r?Sn:"button";return $.jsx(l,{className:ie(o0({variant:t,size:n,className:e})),ref:i,...o})});ft.displayName="Button";class Ge{}an(Ge,"initialInformation",{iconText:"Fa",name:"Fayaz Bin Salam",occupation:"Software Engineer"}),an(Ge,"directMessageItems",[{name:"WhatsApp",link:"https://api.whatsapp.com/send?phone=8801796306262"},{name:"Messenger",link:"https://m.me/p32929"},{name:"Telegram",link:"https://t.me/p32929"}]),an(Ge,"about",[{text:"Information",shouldNotSort:!0,arr:[{title:"Name",desc:"Fayaz Bin Salam",logo:"https://cdn-icons-png.flaticon.com/128/1077/1077012.png"},{title:"Work Experience",desc:"7+ years",logo:"https://cdn-icons-png.flaticon.com/128/3281/3281289.png"},{title:"Languages",desc:"Bengali, English, Hindi, Urdu, Chittagonian etc",logo:"https://cdn-icons-png.flaticon.com/128/3898/3898150.png"},{title:"Nationality",desc:"Bangladeshi",logo:"https://cdn-icons-png.flaticon.com/128/11701/11701027.png"},{title:"Resume",desc:"Click the link icon to view/download",link:"https://docs.google.com/document/d/1vRgTCQ-UvzjGXK7s-TR5VpmjHZ7OmSmOs5G69znPhqA/edit?usp=sharing",logo:"https://cdn-icons-png.flaticon.com/128/909/909212.png"}]},{text:"Experiences",arr:[{title:"Aqary International Group",desc:"Golang Developer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/92b039b2-9f42-4248-9803-b27e435d2d03"},{title:"Horizon Group of Companies",desc:"Front End Developer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/b385229a-3084-4952-84f3-134e627cc3e7"},{title:"6sense Bangladesh",desc:"Full Stack Developer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/80aebbb6-456a-4bba-8f32-eb48373cf76d"},{title:"Rich Information Technology",desc:"Lead Software Engineer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/6b35eee6-669c-42ee-934b-d9555176490b"},{title:"Fiverr",desc:"Freelance Software Engineer",logo:"https://cdn.worldvectorlogo.com/logos/fiverr-1.svg"},{title:"Upwork",desc:"Freelance Software Engineer",logo:"https://cdn.worldvectorlogo.com/logos/upwork-roundedsquare-1.svg"}]}]),an(Ge,"skills",[{text:"Programming / Markup Languages",arr:[{title:"C",logo:"https://seeklogo.com/images/C/c-logo-672525892C-seeklogo.com.png"},{title:"C++",logo:"https://seeklogo.com/images/C/c-logo-1B1817C041-seeklogo.com.png"},{title:"Java",logo:"https://www.vectorlogo.zone/logos/java/java-icon.svg"},{title:"Python",logo:"https://www.vectorlogo.zone/logos/python/python-icon.svg"},{title:"JavaScript",logo:"https://www.vectorlogo.zone/logos/javascript/javascript-icon.svg"},{title:"Rust",logo:"https://www.rustacean.net/assets/rustacean-flat-gesture.svg"},{title:"HTML",logo:"https://www.vectorlogo.zone/logos/w3_html5/w3_html5-icon.svg"},{title:"CSS",logo:"https://seeklogo.com/images/C/css3-logo-F1923C8D0E-seeklogo.com.png"},{title:"TypeScript",logo:"https://www.vectorlogo.zone/logos/typescriptlang/typescriptlang-icon.svg"},{title:"Kotlin",logo:"https://www.vectorlogo.zone/logos/kotlinlang/kotlinlang-icon.svg"},{title:"Dart",logo:"https://www.vectorlogo.zone/logos/dartlang/dartlang-icon.svg"},{title:"Go",logo:"https://go.dev/blog/go-brand/Go-Logo/SVG/Go-Logo_Blue.svg"}]},{text:"Databases",arr:[{title:"MongoDB",logo:"https://cdn.iconscout.com/icon/free/png-128/mongodb-3521676-2945120.png"},{title:"SQL",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/ffeb437f-0d63-40e5-9bc3-041d5715d67e"},{title:"DynamoDB",logo:"https://cdn.worldvectorlogo.com/logos/aws-dynamodb.svg"},{title:"PostgreSQL",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/b0b84cdf-ac60-4f7b-b665-99ea7e8854da"}]},{text:"UI Component Libraries",arr:[{title:"Ant Design",logo:"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"},{title:"Material-UI",logo:"https://mui.com/static/logo.png"},{title:"Shadcn",logo:"https://ui.shadcn.com/favicon.ico"},{title:"Tailwind CSS",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Tailwind_CSS_Logo.svg/512px-Tailwind_CSS_Logo.svg.png?20230715030042"},{title:"Bootstrap",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/b/b2/Bootstrap_logo.svg/512px-Bootstrap_logo.svg.png"}]},{text:"Libraries / Frameworks / Techs",arr:[{title:"Android App Development",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg"},{title:"NodeJS",logo:"https://www.vectorlogo.zone/logos/nodejs/nodejs-icon.svg"},{title:"ExpressJS",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f38ec9f9-a921-4c96-8fb3-f2a598c1d0b4"},{title:"ReactJS",logo:"https://www.vectorlogo.zone/logos/reactjs/reactjs-icon.svg"},{title:"Redux",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/77226ad4-1e3a-46ac-b287-e41ee5b5fec7"},{title:"React Native",logo:"https://d33wubrfki0l68.cloudfront.net/554c3b0e09cf167f0281fda839a5433f2040b349/ecfc9/img/header_logo.svg"},{title:"ElectronJS",logo:"https://www.vectorlogo.zone/logos/electronjs/electronjs-icon.svg"},{title:"Angular2+",logo:"https://angular.io/assets/images/logos/angular/angular.svg"},{title:"Mongoose",logo:"https://avatars.githubusercontent.com/u/7552965?s=200&v=4"},{title:"NextJS",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/1b988896-5ab2-42b4-a4f3-153d42c6488c"},{title:"OpenCV",logo:"https://www.vectorlogo.zone/logos/opencv/opencv-icon.svg"},{title:"Firebase",logo:"https://www.vectorlogo.zone/logos/firebase/firebase-icon.svg"},{title:"Flutter",logo:"https://www.vectorlogo.zone/logos/flutterio/flutterio-icon.svg"},{title:"Beautiful soup",logo:"https://github.com/3r4y/react-portfolio-template/assets/6418354/c9199eab-529b-4314-a990-c46deba899e9"},{title:"Numpy",logo:"https://numpy.org/images/logo.svg"},{title:"Tauri",logo:"https://raw.githubusercontent.com/tauri-apps/tauri/HEAD/app-icon.png"},{title:"VueJS",logo:"https://vuejs.org/images/logo.png"},{title:"Pandas",logo:"https://pandas.pydata.org/static/img/pandas_white.svg"},{title:"Matplotlib",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f5e59574-2fee-4ef3-86f6-31a331065f60"},{title:"Socket.io",logo:"https://socket.io/images/logo-dark.svg"},{title:"Flask",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/2183bb2b-7680-49f1-a626-b1f647e7d656"},{title:"Docker",logo:"https://cdn.iconscout.com/icon/free/png-128/docker-226091.png"},{title:"Git",logo:"https://www.vectorlogo.zone/logos/git-scm/git-scm-icon.svg"},{title:"Expo",logo:"https://www.vectorlogo.zone/logos/expoio/expoio-icon.svg"},{title:"NgInx",logo:"https://www.vectorlogo.zone/logos/nginx/nginx-icon.svg"},{title:"NestJS",logo:"https://d33wubrfki0l68.cloudfront.net/e937e774cbbe23635999615ad5d7732decad182a/26072/logo-small.ede75a6b.svg"}]},{text:"Others",arr:[{title:"Vim",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Vimlogo.svg/544px-Vimlogo.svg.png?20150726190850"},{title:"Android Studio",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Android_Studio_Icon_3.6.svg/512px-Android_Studio_Icon_3.6.svg.png?20210301045217"},{title:"VS Code",logo:"https://cdn.icon-icons.com/icons2/2107/PNG/512/file_type_vscode_icon_130084.png"},{title:"Jira",logo:"https://cdn.iconscout.com/icon/free/png-128/jira-3628861-3030001.png"},{title:"AWS",logo:"https://cdn.iconscout.com/icon/free/png-128/aws-1869025-1583149.png"},{title:"DigitalOcean",logo:"https://www.vectorlogo.zone/logos/digitalocean/digitalocean-icon.svg"},{title:"Figma",logo:"https://www.vectorlogo.zone/logos/figma/figma-icon.svg"},{title:"Heroku",logo:"https://www.vectorlogo.zone/logos/heroku/heroku-icon.svg"},{title:"Yarn",logo:"https://www.vectorlogo.zone/logos/yarnpkg/yarnpkg-icon.svg"},{title:"npm",logo:"https://www.vectorlogo.zone/logos/npmjs/npmjs-icon.svg"},{title:"Tampermonkey",logo:"https://www.tampermonkey.net/images/ricon48.png"},{title:"Greasemonkey",logo:"https://addons.mozilla.org/user-media/addon_icons/0/748-64.png?modified=1531822767"},{title:"Linux",logo:"https://www.freepnglogos.com/uploads/linux-png/file-icons-flat-linux-svg-wikimedia-commons-6.png"},{title:"Adobe Photoshop",logo:"https://www.adobe.com/content/dam/cc/icons/photoshop-mobile.svg"}]}]),an(Ge,"projects",[{text:"Web Apps",arr:[{title:"Duas",link:"https://p32929.github.io/duas/",logo:"https://p32929.github.io/duas/favicon.png",desc:"A collection of duas I try to regularly recite - created using flutter web"},{title:"dobd.xyz",link:"https://www.dobd.xyz/",logo:"https://www.dobd.xyz/android-chrome-512x512.png",desc:"Best online downloader for YouTube, Facebook, Instagram, Tiktok and more"},{title:"StartPage",logo:"https://cdn.iconscout.com/icon/premium/png-128-thumb/homepage-2580329-2151669.png",desc:"A minimalistic custom browser startpage that can be configured to your needs. ",link:"https://p32929.github.io/startpage/"},{title:"s3cr3tm3",link:"https://s3cr3tm3.netlify.app/",logo:"https://user-images.githubusercontent.com/6418354/173877444-59dbdd3d-1b5d-4b92-ad53-30fada9362d2.png",desc:"Share secret messages secretely"},{title:"OrderZesty",logo:"https://orderzesty.com/wp-content/uploads/2021/10/Zesty-icon@3x-300x300.png",desc:"Personal chef service delivering fresh signature meals.",link:"https://orderzesty.com/"},{title:"DramaDB",logo:"https://dramadb.vercel.app/apple-icon.png",desc:"A serverless hobby project that lets you filter Asian drama by country, genre, status, year and popularity",link:"https://dramadb.vercel.app/"},{title:"Sh0Sh0",logo:"https://github.com/3r4y/react-portfolio-template/assets/6418354/a159e1d8-fabc-4f58-9391-0c3be4d14d7e",desc:"A beautifully created Absolutely FREE URL shortener for everyone made using React Shadcn Firebase. ",link:"https://sh0sh0.netlify.app/"},{title:"TheRealWorldFree",logo:"https://framerusercontent.com/images/Tttp7tCHSlFL4GgIF783y9wn7vQ.webp",desc:"Enjoy the real world for free :)",link:"https://trwfree.vercel.app/"},{title:"BreakingMars",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/8b6c5a1c-fc31-44a8-822e-73814ff57ac3",desc:"#1 Leading & Effortless Prospect Perceiving Platform",link:"https://web.archive.org/web/20220413085335/https://www.breakingmars.com/"},{title:"Voomnow",desc:"Next generation audio recorder",logo:"https://user-images.githubusercontent.com/6418354/173876916-e27cb77f-49f1-4190-be54-4c1ddaa2973d.svg",link:"https://web.archive.org/web/20220326215025/https://www.voomnow.com/"},{title:"Shajao",logo:"https://sdn.signalhire.co/storage/company/1dfc/9704/f9d3/ff49/cdce/31bb/c4d7/0628.webp",desc:"Framing Happiness",link:"https://web.archive.org/web/20191222090655/https://shajao.com/"},{title:"ChargeOnSite",logo:"https://static.wixstatic.com/media/182a81_c4e4ee2bac6d4389a866239475519bdf~mv2.png/v1/fill/w_192%2Ch_192%2Clg_1%2Cusm_0.66_1.00_0.01/182a81_c4e4ee2bac6d4389a866239475519bdf~mv2.png",desc:"Charge OnSite",link:"https://www.chargeonsite.com/"},{title:"MathFinity",logo:"https://p32929.github.io/mathfinity/icons/Icon-192.png",desc:"Simple, infinite & fun math game for everyone",link:"https://p32929.github.io/mathfinity/"}]},{text:"iOS Apps",arr:[{title:"Adblock for YT",link:"https://apps.apple.com/au/app/adblock-for-youtube/id1592568016",logo:"https://is2-ssl.mzstatic.com/image/thumb/Purple126/v4/65/7e/a8/657ea8d9-c3aa-6951-38c8-948c05cd96c3/AppIcon-0-0-85-220-0-0-0-0-4-0-0-0-2x-sRGB-0-0-0-0-0.png/246x0w.webp",desc:"Removes ads from YT videos, embedded videos on third party websites and streams."},{title:"Al Quran by Quran Touch",link:"https://apps.apple.com/gb/app/al-quran-by-quran-touch/id585240351",logo:"https://is3-ssl.mzstatic.com/image/thumb/Purple112/v4/9d/7e/ed/9d7eedd6-e567-5251-bed6-dce7e868bb57/AppIcon-0-1x_U007emarketing-0-10-0-85-220.png/246x0w.webp",desc:"The most comprehensive Muslim App!"}]},{text:"Android Apps",arr:[{title:"Al Quran by Quran Touch",link:"https://www.apkmonk.com/app/com.qurantouch.qurantouchhd.app/",logo:"https://is3-ssl.mzstatic.com/image/thumb/Purple112/v4/9d/7e/ed/9d7eedd6-e567-5251-bed6-dce7e868bb57/AppIcon-0-1x_U007emarketing-0-10-0-85-220.png/246x0w.webp",desc:"The most comprehensive Muslim App!"},{title:"Thamao",logo:"https://cdn.apkmonk.com/logos/com.thamao_150x150.png",desc:"বাংলাদেশে স্মার্টফোনের চুরি এবার অসম্ভব",link:"https://www.apkmonk.com/app/com.thamao/"},{title:"Desplash",logo:"https://lh3.googleusercontent.com/ILrto9KguXlr-clbhYKUonpnHszgNp_N5Qvc8_u9QaM71oaqNKcYql2sV3sqZ7nqzsc=s180",desc:"Automatic Free High Quality Wallpapers powered by Unsplash.com",link:"https://www.xda-developers.com/desplash-wallpaper-app-unsplash/"},{title:"The Great Postman",logo:"https://lh3.googleusercontent.com/ni-lk3b2nTMZyC7r1wYBW6cm9eYqGAN-t6fXV-kD0lSyw1lO3kenC1We71fZjSryvFII=s180",desc:"Powerful, Lightweight REST API client for Android",link:"https://apkcombo.com/es/rest-api-client-the-great-postman/p32929.greatpostman/"},{title:"Sleepy - Addiction Remover",logo:"https://user-images.githubusercontent.com/6418354/192146268-29e1bac2-e477-4010-ae03-96adecbf07e6.png",desc:"The one and only EFFECTIVE addiction remover on Google Play store",link:"https://apkcombo.com/es/sleepy-phone-addiction-controller/p32929.lazyphone/"},{title:"Best CGPA Calculator",logo:"https://user-images.githubusercontent.com/6418354/192146303-6e04c9ac-ffb2-4931-bb10-ef54ff7af382.png",desc:"A simple yet effective CGPA Calculator for University students",link:"https://apkcombo.com/es/cgpa-calculator-for-update-see-the-description/p32929.cgpa_calculator/"},{title:"Buy Sell BD",logo:"https://image.winudf.com/v2/image1/cDMyOTI5LmJ1eXNlbGxiZF9pY29uXzE1NTkyOTQ5NjVfMDYz/icon.png?w=170&fakeurl=1",desc:"A better & more reliable alternative for Bikroy.com - A marketplace app for buying-selling new/used goods",link:"https://apkcombo.com/es/buy-sell-bd-buy-sell-everything-easily-in-bd/p32929.buysellbd/"},{title:"ExIn",logo:"https://lh3.googleusercontent.com/X8mRJd7JajvDXoW7NaluKt2IvC3osH6czkTPoWeSYJ96U2LWLKT4xiFgvNouwf-UvEk=s180",desc:"A Simple & user friendly income-expense tracker ",link:"https://apkcombo.com/es/exin-discontinued/p32929.exin/"},{title:"I am free",logo:"https://image.winudf.com/v2/image1/cDMyOTI5LmltZnJlZV9pY29uXzE1NzY4ODAwNzVfMDU3/icon.png?w=170&fakeurl=1",desc:"বেকার মুক্ত বাংলাদেশ গড়ার লক্ষ্যে - I am FREE",link:"https://apkcombo.com/es/i-am-free/p32929.imfree/"},{title:"Awesome NCTB",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5uY3RiX2ljb25fMTU3NjU3MjcwNF8wMjI/icon.png?fakeurl=1",desc:"Download NCTB Books easily and Free",link:"https://apkcombo.com/es/awesome-nctb/org.richit.nctb/"},{title:"বৃক্ষ ( Brikkho )",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5icmlra2hvX2ljb25fMTU3MDEyMTU0Ml8wODA/icon.png?fakeurl=1",desc:"Learn about trees in your fingertips",link:"https://apkcombo.com/es/%E0%A6%AC%E0%A7%83%E0%A6%95%E0%A7%8D%E0%A6%B7-brikkho/org.richit.brikkho/"},{title:"IQQuiz",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5pcXF1aXphcHBfaWNvbl8xNTcxMDE0NzcxXzA2Mg/icon.png?fakeurl=1",desc:"A simple IQ game",link:"https://apkcombo.com/es/iqquiz/org.richit.iqquizapp/"},{title:"BirdsLover",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5iaXJkc2xvdmVyX2ljb25fMTU3MjAwNDIxNl8wOTE/icon.png?fakeurl=1",desc:"Learn about birds in your fingertips",link:"https://apkcombo.com/es/birdslover/org.richit.birdslover/"},{title:"Animal Lover",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5hbmltYWxfaWNvbl8xNTc3MjkyMzIzXzAyMw/icon.png?fakeurl=1",desc:"Learn about birds in your fingertips",link:"https://apkcombo.com/es/animal-lover/org.richit.animal/"},{title:"Jibanananda Recitation (Abritti)",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5qaWJvbmFuZG9rb2JpdGFzb21vZ3JvX2ljb25fMTU3MDEwNDExNF8wNDc/icon.png?fakeurl=1",desc:"50+ poems of Jibanananda Das with audio recitation",link:"https://apkcombo.com/es/jibanananda-recitation-abritti/org.richit.jibonandokobitasomogro/"},{title:"MathLover (Simple, Infinite, Math game)",logo:"https://lh3.googleusercontent.com/GaisH_-MeK2c_ct4kp5qbqxbJPE-q4isTdZswR4CocgB8sLNCFk4beXdlmaaFuveKUwd",desc:"MathLover is a simple, infinite mathematical problem solving game for everyone.",link:"https://apkcombo.com/es/mathlover-simple-infinite-math-game/org.richit.mathblitz/"},{title:"Hospitals BD",logo:"https://lh3.googleusercontent.com/MMfY8vG1YfAFh1w6iHEp8NXCwl-NSCUDmfPkUAWmqhSGfO3JR7vBvw_XZzV8JxrDag",desc:"Get nearest Hospital Information in Bangladesh in your fingertips",link:"https://apkcombo.com/es/hospitals-bd/org.richit.contacthospitals/"},{title:"BirthdayBot",logo:"https://cdn.iconscout.com/icon/premium/png-256-thumb/gift-2990371-2484427.png",desc:"Birthday wishing apps, made for individual people...",link:"https://github.com/p32929/my_android_apps/releases/tag/all"}]},{text:"Desktop Apps",arr:[{title:"PotatoTimer",logo:"https://raw.githubusercontent.com/p32929/PotatoTimer/master/resources/icon.ico",desc:"A pomotodo app that forces you to take a break - created using ElectronJS",link:"https://github.com/p32929/Electron-Pomotodo"},{title:"Pomota",logo:"https://github.com/p32929/pomota/blob/master/src-tauri/icons/128x128.png?raw=true",desc:"A simple user-friendly cross-platform tauri based pomodoro timer app that forces you to take a break",link:"https://github.com/p32929/pomota"},{title:"google calender widget",logo:"https://duckduckgo.com/i/e2d8001c.png",desc:"An unofficial google calendar desktop widget for Windows, Mac and Linux ",link:"https://github.com/p32929/google-calender-widget"}]},{text:"Command Line Interfaces ( CLIs )",arr:[{title:"Shortcut Virus Remover",logo:"https://cdn-icons-png.flaticon.com/128/3223/3223766.png",desc:"Shortcut virus remover script for Windows",link:"https://github.com/p32929/Shortcut-Virus-Remover"},{title:"Fay",logo:"https://crates.io/assets/cargo.png",desc:"A simple cross platform CLI app written in Rust to automate multiple shell ( bash or cmd ) commands",link:"https://crates.io/crates/fay"},{title:"SIIN",logo:"https://crates.io/assets/cargo.png",desc:"A batch installer that downloads and installs a list of apps, written in Rust ( Kinda like Ninite )",link:"https://crates.io/crates/siin"}]},{text:"Automations",arr:[{title:"Dingtone Bot",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f24e64e7-ef7a-4d2d-a7d9-55f4797043cf",desc:"A bot made using Python and UIAutomator2 to automate watching ads on certain apps to get credits",link:"https://drive.google.com/file/d/159D_tco3qkpgh2a3CWz-f0ixPEpeUN8V/view?usp=sharing"},{title:"Indeed-Linkedin bot",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f24e64e7-ef7a-4d2d-a7d9-55f4797043cf",desc:"An automation bot created using playwright to automate applying jobs on Indeed and Linkedin",link:"https://drive.google.com/file/d/10Xc4Y0Z5KXxKhb9StF3bQfivYHHeNZsa/view?usp=sharing"}]},{text:"Libraries / Packages / Crates",arr:[{title:"AndroidEasySQL-Library",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"An Easier & Lazier approach to SQL database for Android",link:"https://github.com/p32929/AndroidEasySQL-Library"},{title:"AndroidAppLockscreen",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"An Easier & Lazier approach to getting runtime permission in Android ",link:"https://github.com/p32929/AndroidAppLockscreen"},{title:"Manufacturer Battery Optimization",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"Simple helper class for Android Battery Optimization ignoring in some devices",link:"https://gist.github.com/p32929/41e7af650f6a2c11e9306ab600fb9b03"},{title:"MyHouse Ads Android",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A library for cross promoting own apps within own apps - for Android",link:"https://github.com/p32929/MyHouseAdsAndroid"},{title:"House Ads 2",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A library ( V2 ) for cross promoting own apps within own apps - for Android",link:"https://github.com/p32929/HouseAds2"},{title:"Android App Updater",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A simple, Lightweight App Updater Library for Android",link:"https://github.com/p32929/AndroidAppUpdater"},{title:"Office About",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A simple about screen library for Android for a Team of people",link:"https://github.com/p32929/OfficeAbout"},{title:"Json Viewer Android",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A simple JSON Viewer for Android"},{title:"Android Receivers Library",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A library for simpler BroadcastReceiver implementations"},{title:"Fay",logo:"https://crates.io/assets/cargo.png",desc:"A simple cross platform CLI app written in Rust to automate multiple shell ( bash or cmd ) commands",link:"https://crates.io/crates/fay"},{title:"fayfetch",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:"A simple wrapper for Fetch",link:"https://www.npmjs.com/package/fayfetch"},{title:"fjsondb",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:"A fast and simple JSON database for NodeJS",link:"https://www.npmjs.com/package/fjsondb"},{title:"str_template",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:"A fast and simple string templating library, written in TypeScript ( Supports both Client side and Server side JavaScript / TypeScript )",link:"https://www.npmjs.com/package/str-template-ts"},{title:"EasiestDB",logo:"https://cdn.iconscout.com/icon/free/png-256/free-flutter-3521432-2944876.png",desc:"The Easiest and the Laziest approach to Flutter SQL Database.",link:"https://pub.dev/packages/easiestdb"},{title:"Simply Wifi",logo:"https://cdn.iconscout.com/icon/free/png-256/free-flutter-3521432-2944876.png",desc:"A simplified version of the wifi_iot package",link:"https://pub.dev/packages/simply_wifi"},{title:"audio_duration",logo:"https://cdn.iconscout.com/icon/free/png-256/free-flutter-3521432-2944876.png",desc:"Just a simple flutter package to get the duration of any audio file ( like: mp3 ) in milliseconds",link:"https://pub.dev/packages/audio_duration"}]},{text:"Extensions / Plugins / Addons",arr:[{title:"vscode nvim leave insertmode",logo:"https://code.visualstudio.com/assets/images/code-stable.png",desc:"This basic VSCode extension ensures that neovim is in normal mode switching between text editor panels.",link:"https://marketplace.visualstudio.com/items?itemName=p32929.vscode-nvim-leave-insertmode"},{title:"one console log",logo:"https://code.visualstudio.com/assets/images/code-stable.png",desc:"A modified version of the turbo-console-log that adds only one line of console instead of multiples.",link:"https://marketplace.visualstudio.com/items?itemName=p32929.one-console-log"}]}]),an(Ge,"contacts",[{text:"Contact me",arr:[{title:"WhatsApp ( Recommended )",logo:"https://user-images.githubusercontent.com/6418354/155842184-b064bf36-de8e-4317-8f8e-cb7755eed995.png",link:"https://api.whatsapp.com/send?phone=8801796306262",desc:"+8801796306262"},{title:"Email",logo:"https://cdn3d.iconscout.com/3d/premium/thumb/email-address-4437044-3684811.png",desc:"p32929.ceo@gmail.com",link:"mailto:p32929.ceo@gmail.com"},{title:"Telegram",logo:"https://cdn-icons-png.flaticon.com/128/2111/2111646.png",desc:"@p32929",link:"https://t.me/p32929"}]},{text:"Others",arr:[{title:"Anywhere on the internet",logo:"https://user-images.githubusercontent.com/6418354/155840900-91ac076a-8d2b-45dc-b346-66f72d376d4b.png",desc:"@p32929"},{title:"GitHub",logo:"https://cdn-icons-png.flaticon.com/128/1051/1051275.png",link:"https://github.com/p32929/"},{title:"LinkedIn",logo:"https://user-images.githubusercontent.com/6418354/155841027-8698cb12-7ddd-4604-a4ea-c618ddbc1cd8.png",link:"https://www.linkedin.com/in/p32929/"},{title:"Facebook",logo:"https://user-images.githubusercontent.com/6418354/155840898-9e2327aa-a280-45e3-8266-8268242abda4.png",link:"https://www.facebook.com/p32929"},{title:"Twitter",logo:"https://user-images.githubusercontent.com/6418354/155841031-532d5d6e-797a-4da1-8064-48d266b69ab2.png",link:"https://twitter.com/p32929"},{title:"Instagram",logo:"https://user-images.githubusercontent.com/6418354/155841023-0b842621-56a3-42ec-81f1-3944034b09c7.png",link:"https://www.instagram.com/p32929/"},{title:"Fiverr",logo:"https://cdn.worldvectorlogo.com/logos/fiverr-1.svg",link:"https://www.fiverr.com/users/fayazbinsalam/"},{title:"Upwork",logo:"https://cdn.worldvectorlogo.com/logos/upwork-roundedsquare-1.svg",link:"https://www.upwork.com/freelancers/~017dbf657b99b0c1c1"},{title:"Medium",logo:"https://seeklogo.com/images/M/medium-logo-93CDCF6451-seeklogo.com.png",link:"https://medium.com/@p32929_77176"},{title:"xda",logo:"https://www.svgrepo.com/show/331651/xda-developers.svg",link:"https://forum.xda-developers.com/m/p32929.5346826/"},{title:"Product Hunt",logo:"https://seeklogo.com/images/P/product-hunt-logo-A144953C4C-seeklogo.com.png?v=637846885100000000",link:"https://www.producthunt.com/@p32929"},{title:"UVA Online Judge",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/5e21914b-9dfd-4394-bfa3-d2e216e8ce39",link:"https://uhunt.onlinejudge.org/id/590978"},{title:"URI Online Judge",logo:"https://user-images.githubusercontent.com/26368939/110052090-be0a0b00-7d35-11eb-8827-993190a9568e.png",link:"https://www.beecrowd.com.br/judge/en/profile/76542"},{title:"Buy Me a Coffee",logo:"https://cdn.iconscout.com/icon/free/png-256/free-buymeacoffee-3628667-3029892.png",link:"https://www.buymeacoffee.com/p32929"},{title:"Skype",logo:"https://user-images.githubusercontent.com/6418354/155840899-62c1fe8e-66a6-4492-9acc-5bd504ac21ef.png",desc:"p32929",link:"skype:p32929?chat"}]},{text:"Thank you for visiting my portfolio",arr:[{title:"Click on the link button",desc:"To create your own portfolio. It will only take around 3 minutes",logo:"https://cdn.iconscout.com/icon/premium/png-256-thumb/gift-2990371-2484427.png",link:"https://github.com/p32929/p32929.github.io/"}]}]);const bt={initialInformation:Ge.initialInformation,directMessageItems:Ge.directMessageItems,routes:[{name:"About",items:Ge.about},{name:"Skills",items:Ge.skills},{name:"Projects",items:Ge.projects},{name:"Contact",items:Ge.contacts}]};/** +`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Cl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function vs(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Bh=typeof WeakMap=="function"?WeakMap:Map;function wf(e,t,n){n=$t(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ei||(Ei=!0,_s=r),vs(e,t)},n}function xf(e,t,n){n=$t(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){vs(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){vs(e,t),typeof r!="function"&&(Yt===null?Yt=new Set([this]):Yt.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function Bc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Bh;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=nv.bind(null,e,t,n),t.then(e,e))}function Vc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Wc(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=$t(-1,1),t.tag=2,Qt(n,t,1))),n.lanes|=1),e)}var Vh=Mt.ReactCurrentOwner,_e=!1;function xe(e,t,n,r){t.child=e===null?Jd(t,null,n,r):tr(t,e.child,n,r)}function Hc(e,t,n,r,o){n=n.render;var i=t.ref;return Qn(t,o),r=ka(e,t,n,r,i,o),n=Sa(),e!==null&&!_e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Pt(e,t,o)):(q&&n&&ca(t),t.flags|=1,xe(e,t,r,o),t.child)}function Gc(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Ma(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,kf(e,t,i,r,o)):(e=ti(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var l=i.memoizedProps;if(n=n.compare,n=n!==null?n:Hr,n(l,r)&&e.ref===t.ref)return Pt(e,t,o)}return t.flags|=1,e=Jt(i,r),e.ref=t.ref,e.return=t,t.child=e}function kf(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Hr(i,r)&&e.ref===t.ref)if(_e=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(_e=!0);else return t.lanes=e.lanes,Pt(e,t,o)}return ys(e,t,n,r,o)}function Sf(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Q(Vn,De),De|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Q(Vn,De),De|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Q(Vn,De),De|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Q(Vn,De),De|=r;return xe(e,t,o,n),t.child}function bf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ys(e,t,n,r,o){var i=Re(n)?vn:we.current;return i=qn(t,i),Qn(t,o),n=ka(e,t,n,r,i,o),r=Sa(),e!==null&&!_e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Pt(e,t,o)):(q&&r&&ca(t),t.flags|=1,xe(e,t,n,o),t.child)}function Kc(e,t,n,r,o){if(Re(n)){var i=!0;gi(t)}else i=!1;if(Qn(t,o),t.stateNode===null)Zo(e,t),Yd(t,n,r),hs(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var a=l.context,c=n.contextType;typeof c=="object"&&c!==null?c=Ye(c):(c=Re(n)?vn:we.current,c=qn(t,c));var p=n.getDerivedStateFromProps,d=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function";d||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==r||a!==c)&&zc(t,l,r,c),Ft=!1;var g=t.memoizedState;l.state=g,xi(t,r,l,o),a=t.memoizedState,s!==r||g!==a||Pe.current||Ft?(typeof p=="function"&&(gs(t,n,p,r),a=t.memoizedState),(s=Ft||Lc(t,n,s,r,g,a,c))?(d||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),l.props=r,l.state=a,l.context=c,r=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Kd(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:tt(t.type,s),l.props=c,d=t.pendingProps,g=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=Ye(a):(a=Re(n)?vn:we.current,a=qn(t,a));var v=n.getDerivedStateFromProps;(p=typeof v=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==d||g!==a)&&zc(t,l,r,a),Ft=!1,g=t.memoizedState,l.state=g,xi(t,r,l,o);var w=t.memoizedState;s!==d||g!==w||Pe.current||Ft?(typeof v=="function"&&(gs(t,n,v,r),w=t.memoizedState),(c=Ft||Lc(t,n,c,r,g,w,a)||!1)?(p||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,w,a),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,w,a)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),l.props=r,l.state=w,l.context=a,r=c):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),r=!1)}return ws(e,t,n,r,i,o)}function ws(e,t,n,r,o,i){bf(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return o&&Mc(t,n,!1),Pt(e,t,i);r=t.stateNode,Vh.current=t;var s=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=tr(t,e.child,null,i),t.child=tr(t,null,s,i)):xe(e,t,s,i),t.memoizedState=r.state,o&&Mc(t,n,!0),t.child}function $f(e){var t=e.stateNode;t.pendingContext?Tc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Tc(e,t.context,!1),va(e,t.containerInfo)}function Qc(e,t,n,r,o){return er(),da(o),t.flags|=256,xe(e,t,n,r),t.child}var xs={dehydrated:null,treeContext:null,retryLane:0};function ks(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ef(e,t,n){var r=t.pendingProps,o=ee.current,i=!1,l=(t.flags&128)!==0,s;if((s=l)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Q(ee,o&1),e===null)return ps(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=r.children,e=r.fallback,i?(r=t.mode,i=t.child,l={mode:"hidden",children:l},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=l):i=Ki(l,r,0,null),e=hn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ks(n),t.memoizedState=xs,e):Ea(t,l));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return Wh(e,t,l,r,s,o,n);if(i){i=r.fallback,l=t.mode,o=e.child,s=o.sibling;var a={mode:"hidden",children:r.children};return!(l&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Jt(o,a),r.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=Jt(s,i):(i=hn(i,l,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,l=e.child.memoizedState,l=l===null?ks(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=xs,r}return i=e.child,e=i.sibling,r=Jt(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ea(e,t){return t=Ki({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Mo(e,t,n,r){return r!==null&&da(r),tr(t,e.child,null,n),e=Ea(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Wh(e,t,n,r,o,i,l){if(n)return t.flags&256?(t.flags&=-257,r=Cl(Error(P(422))),Mo(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Ki({mode:"visible",children:r.children},o,0,null),i=hn(i,o,l,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&tr(t,e.child,null,l),t.child.memoizedState=ks(l),t.memoizedState=xs,i);if(!(t.mode&1))return Mo(e,t,l,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(P(419)),r=Cl(i,r,void 0),Mo(e,t,l,r)}if(s=(l&e.childLanes)!==0,_e||s){if(r=de,r!==null){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|l)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,_t(e,o),it(r,e,o,-1))}return Ta(),r=Cl(Error(P(421))),Mo(e,t,l,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=rv.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Le=Kt(o.nextSibling),ze=t,q=!0,rt=null,e!==null&&(We[He++]=St,We[He++]=bt,We[He++]=yn,St=e.id,bt=e.overflow,yn=t),t=Ea(t,r.children),t.flags|=4096,t)}function Yc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ms(e.return,t,n)}function _l(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Cf(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(xe(e,t,r.children,n),r=ee.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Yc(e,n,t);else if(e.tag===19)Yc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Q(ee,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&ki(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),_l(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&ki(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}_l(t,!0,n,null,i);break;case"together":_l(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zo(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Pt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),xn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(P(153));if(t.child!==null){for(e=t.child,n=Jt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Jt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Hh(e,t,n){switch(t.tag){case 3:$f(t),er();break;case 5:Zd(t);break;case 1:Re(t.type)&&gi(t);break;case 4:va(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Q(yi,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Q(ee,ee.current&1),t.flags|=128,null):n&t.child.childLanes?Ef(e,t,n):(Q(ee,ee.current&1),e=Pt(e,t,n),e!==null?e.sibling:null);Q(ee,ee.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Cf(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Q(ee,ee.current),r)break;return null;case 22:case 23:return t.lanes=0,Sf(e,t,n)}return Pt(e,t,n)}var _f,Ss,Pf,Rf;_f=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Ss=function(){};Pf=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,pn(gt.current);var i=null;switch(n){case"input":o=Wl(e,o),r=Wl(e,r),i=[];break;case"select":o=ne({},o,{value:void 0}),r=ne({},r,{value:void 0}),i=[];break;case"textarea":o=Kl(e,o),r=Kl(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=pi)}Yl(n,r);var l;n=null;for(c in o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var s=o[c];for(l in s)s.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(zr.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var a=r[c];if(s=o!=null?o[c]:void 0,r.hasOwnProperty(c)&&a!==s&&(a!=null||s!=null))if(c==="style")if(s){for(l in s)!s.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&s[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(i||(i=[]),i.push(c,n)),n=a;else c==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,s=s?s.__html:void 0,a!=null&&s!==a&&(i=i||[]).push(c,a)):c==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(c,""+a):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(zr.hasOwnProperty(c)?(a!=null&&c==="onScroll"&&X("scroll",e),i||s===a||(i=[])):(i=i||[]).push(c,a))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};Rf=function(e,t,n,r){n!==r&&(t.flags|=4)};function kr(e,t){if(!q)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ve(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gh(e,t,n){var r=t.pendingProps;switch(ua(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ve(t),null;case 1:return Re(t.type)&&mi(),ve(t),null;case 3:return r=t.stateNode,nr(),J(Pe),J(we),wa(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(No(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,rt!==null&&(Ns(rt),rt=null))),Ss(e,t),ve(t),null;case 5:ya(t);var o=pn(Xr.current);if(n=t.type,e!==null&&t.stateNode!=null)Pf(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(P(166));return ve(t),null}if(e=pn(gt.current),No(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ut]=t,r[Qr]=i,e=(t.mode&1)!==0,n){case"dialog":X("cancel",r),X("close",r);break;case"iframe":case"object":case"embed":X("load",r);break;case"video":case"audio":for(o=0;o<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ut]=t,e[Qr]=r,_f(e,t,!1,!1),t.stateNode=e;e:{switch(l=Xl(n,r),n){case"dialog":X("cancel",e),X("close",e),o=r;break;case"iframe":case"object":case"embed":X("load",e),o=r;break;case"video":case"audio":for(o=0;oor&&(t.flags|=128,r=!0,kr(i,!1),t.lanes=4194304)}else{if(!r)if(e=ki(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),kr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!q)return ve(t),null}else 2*oe()-i.renderingStartTime>or&&n!==1073741824&&(t.flags|=128,r=!0,kr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=oe(),t.sibling=null,n=ee.current,Q(ee,r?n&1|2:n&1),t):(ve(t),null);case 22:case 23:return Na(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?De&1073741824&&(ve(t),t.subtreeFlags&6&&(t.flags|=8192)):ve(t),null;case 24:return null;case 25:return null}throw Error(P(156,t.tag))}function Kh(e,t){switch(ua(t),t.tag){case 1:return Re(t.type)&&mi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nr(),J(Pe),J(we),wa(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ya(t),null;case 13:if(J(ee),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(P(340));er()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return J(ee),null;case 4:return nr(),null;case 10:return ma(t.type._context),null;case 22:case 23:return Na(),null;case 24:return null;default:return null}}var Ao=!1,ye=!1,Qh=typeof WeakSet=="function"?WeakSet:Set,N=null;function Bn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){re(e,t,r)}else n.current=null}function bs(e,t,n){try{n()}catch(r){re(e,t,r)}}var Xc=!1;function Yh(e,t){if(ls=ui,e=Md(),aa(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,s=-1,a=-1,c=0,p=0,d=e,g=null;t:for(;;){for(var v;d!==n||o!==0&&d.nodeType!==3||(s=l+o),d!==i||r!==0&&d.nodeType!==3||(a=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(v=d.firstChild)!==null;)g=d,d=v;for(;;){if(d===e)break t;if(g===n&&++c===o&&(s=l),g===i&&++p===r&&(a=l),(v=d.nextSibling)!==null)break;d=g,g=d.parentNode}d=v}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(ss={focusedElem:e,selectionRange:n},ui=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,k=w.memoizedState,m=t.stateNode,f=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:tt(t.type,y),k);m.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(P(163))}}catch(x){re(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return w=Xc,Xc=!1,w}function Dr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&bs(t,n,i)}o=o.next}while(o!==r)}}function Hi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function $s(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Nf(e){var t=e.alternate;t!==null&&(e.alternate=null,Nf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ut],delete t[Qr],delete t[us],delete t[Th],delete t[Mh])),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 Tf(e){return e.tag===5||e.tag===3||e.tag===4}function Jc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Tf(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 Es(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=pi));else if(r!==4&&(e=e.child,e!==null))for(Es(e,t,n),e=e.sibling;e!==null;)Es(e,t,n),e=e.sibling}function Cs(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Cs(e,t,n),e=e.sibling;e!==null;)Cs(e,t,n),e=e.sibling}var fe=null,nt=!1;function Ot(e,t,n){for(n=n.child;n!==null;)Mf(e,t,n),n=n.sibling}function Mf(e,t,n){if(mt&&typeof mt.onCommitFiberUnmount=="function")try{mt.onCommitFiberUnmount(Li,n)}catch{}switch(n.tag){case 5:ye||Bn(n,t);case 6:var r=fe,o=nt;fe=null,Ot(e,t,n),fe=r,nt=o,fe!==null&&(nt?(e=fe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):fe.removeChild(n.stateNode));break;case 18:fe!==null&&(nt?(e=fe,n=n.stateNode,e.nodeType===8?xl(e.parentNode,n):e.nodeType===1&&xl(e,n),Vr(e)):xl(fe,n.stateNode));break;case 4:r=fe,o=nt,fe=n.stateNode.containerInfo,nt=!0,Ot(e,t,n),fe=r,nt=o;break;case 0:case 11:case 14:case 15:if(!ye&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&bs(n,t,l),o=o.next}while(o!==r)}Ot(e,t,n);break;case 1:if(!ye&&(Bn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){re(n,t,s)}Ot(e,t,n);break;case 21:Ot(e,t,n);break;case 22:n.mode&1?(ye=(r=ye)||n.memoizedState!==null,Ot(e,t,n),ye=r):Ot(e,t,n);break;default:Ot(e,t,n)}}function Zc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Qh),t.forEach(function(r){var o=ov.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function et(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=oe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Jh(r/1960))-r,10e?16:e,Vt===null)var r=!1;else{if(e=Vt,Vt=null,Ci=0,H&6)throw Error(P(331));var o=H;for(H|=4,N=e.current;N!==null;){var i=N,l=i.child;if(N.flags&16){var s=i.deletions;if(s!==null){for(var a=0;aoe()-Pa?gn(e,0):_a|=n),Ne(e,t)}function jf(e,t){t===0&&(e.mode&1?(t=$o,$o<<=1,!($o&130023424)&&($o=4194304)):t=1);var n=ke();e=_t(e,t),e!==null&&(so(e,t,n),Ne(e,n))}function rv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),jf(e,n)}function ov(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(P(314))}r!==null&&r.delete(t),jf(e,n)}var Uf;Uf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Pe.current)_e=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return _e=!1,Hh(e,t,n);_e=!!(e.flags&131072)}else _e=!1,q&&t.flags&1048576&&Vd(t,vi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Zo(e,t),e=t.pendingProps;var o=qn(t,we.current);Qn(t,n),o=ka(null,t,r,e,o,n);var i=Sa();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Re(r)?(i=!0,gi(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,ha(t),o.updater=Vi,t.stateNode=o,o._reactInternals=t,hs(t,r,e,n),t=ws(null,t,r,!0,i,n)):(t.tag=0,q&&i&&ca(t),xe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Zo(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=lv(r),e=tt(r,e),o){case 0:t=ys(null,t,r,e,n);break e;case 1:t=Kc(null,t,r,e,n);break e;case 11:t=Hc(null,t,r,e,n);break e;case 14:t=Gc(null,t,r,tt(r.type,e),n);break e}throw Error(P(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:tt(r,o),ys(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:tt(r,o),Kc(e,t,r,o,n);case 3:e:{if($f(t),e===null)throw Error(P(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Kd(e,t),xi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=rr(Error(P(423)),t),t=Qc(e,t,r,n,o);break e}else if(r!==o){o=rr(Error(P(424)),t),t=Qc(e,t,r,n,o);break e}else for(Le=Kt(t.stateNode.containerInfo.firstChild),ze=t,q=!0,rt=null,n=Jd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(er(),r===o){t=Pt(e,t,n);break e}xe(e,t,r,n)}t=t.child}return t;case 5:return Zd(t),e===null&&ps(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,as(r,o)?l=null:i!==null&&as(r,i)&&(t.flags|=32),bf(e,t),xe(e,t,l,n),t.child;case 6:return e===null&&ps(t),null;case 13:return Ef(e,t,n);case 4:return va(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tr(t,null,r,n):xe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:tt(r,o),Hc(e,t,r,o,n);case 7:return xe(e,t,t.pendingProps,n),t.child;case 8:return xe(e,t,t.pendingProps.children,n),t.child;case 12:return xe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,Q(yi,r._currentValue),r._currentValue=l,i!==null)if(st(i.value,l)){if(i.children===o.children&&!Pe.current){t=Pt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){l=i.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=$t(-1,n&-n),a.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var p=c.pending;p===null?a.next=a:(a.next=p.next,p.next=a),c.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),ms(i.return,n,t),s.lanes|=n;break}a=a.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(P(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),ms(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}xe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Qn(t,n),o=Ye(o),r=r(o),t.flags|=1,xe(e,t,r,n),t.child;case 14:return r=t.type,o=tt(r,t.pendingProps),o=tt(r.type,o),Gc(e,t,r,o,n);case 15:return kf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:tt(r,o),Zo(e,t),t.tag=1,Re(r)?(e=!0,gi(t)):e=!1,Qn(t,n),Yd(t,r,o),hs(t,r,o,n),ws(null,t,r,!0,e,n);case 19:return Cf(e,t,n);case 22:return Sf(e,t,n)}throw Error(P(156,t.tag))};function Bf(e,t){return pd(e,t)}function iv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ke(e,t,n,r){return new iv(e,t,n,r)}function Ma(e){return e=e.prototype,!(!e||!e.isReactComponent)}function lv(e){if(typeof e=="function")return Ma(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Js)return 11;if(e===Zs)return 14}return 2}function Jt(e,t){var n=e.alternate;return n===null?(n=Ke(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ti(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Ma(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case An:return hn(n.children,o,i,t);case Xs:l=8,o|=8;break;case jl:return e=Ke(12,n,t,o|2),e.elementType=jl,e.lanes=i,e;case Ul:return e=Ke(13,n,t,o),e.elementType=Ul,e.lanes=i,e;case Bl:return e=Ke(19,n,t,o),e.elementType=Bl,e.lanes=i,e;case Xu:return Ki(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Qu:l=10;break e;case Yu:l=9;break e;case Js:l=11;break e;case Zs:l=14;break e;case zt:l=16,r=null;break e}throw Error(P(130,e==null?e:typeof e,""))}return t=Ke(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function hn(e,t,n,r){return e=Ke(7,e,r,t),e.lanes=n,e}function Ki(e,t,n,r){return e=Ke(22,e,r,t),e.elementType=Xu,e.lanes=n,e.stateNode={isHidden:!1},e}function Pl(e,t,n){return e=Ke(6,e,null,t),e.lanes=n,e}function Rl(e,t,n){return t=Ke(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function sv(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=cl(0),this.expirationTimes=cl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=cl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Aa(e,t,n,r,o,i,l,s,a){return e=new sv(e,t,n,s,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ke(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ha(i),e}function av(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Gf)}catch(e){console.error(e)}}Gf(),Vu.exports=Ue;var fo=Vu.exports;const pv=Mu(fo);var lu=fo;zl.createRoot=lu.createRoot,zl.hydrateRoot=lu.hydrateRoot;const mv={theme:"system",setTheme:()=>null},Kf=u.createContext(mv);function gv({children:e,defaultTheme:t="system",storageKey:n="vite-ui-theme",...r}){const[o,i]=u.useState(()=>localStorage.getItem(n)||t);u.useEffect(()=>{const s=window.document.documentElement;if(s.classList.remove("light","dark"),o==="system"){const a=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";s.classList.add(a);return}s.classList.add(o)},[o]);const l={theme:o,setTheme:s=>{localStorage.setItem(n,s),i(s)}};return $.jsx(Kf.Provider,{...r,value:l,children:e})}const hv=()=>{const e=u.useContext(Kf);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e};function Qf(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ts(i)))==null?void 0:l.classGroupId}const su=/^\[(.+)\]$/;function wv(e){if(su.test(e)){const t=su.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function xv(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Sv(Object.entries(e.classGroups),n).forEach(([i,l])=>{Ts(l,r,i,t)}),r}function Ts(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:au(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(kv(o)){Ts(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,l])=>{Ts(l,au(t,i),n,r)})})}function au(e,t){let n=e;return t.split(La).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function kv(e){return e.isThemeGetter}function Sv(e,t){return t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,s])=>[t+l,s])):i);return[n,o]}):e}function bv(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(i,l){n.set(i,l),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let l=n.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return o(i,l),l},set(i,l){n.has(i)?n.set(i,l):o(i,l)}}}const Xf="!";function $v(e){const t=e.separator,n=t.length===1,r=t[0],o=t.length;return function(l){const s=[];let a=0,c=0,p;for(let y=0;yc?p-c:void 0;return{modifiers:s,hasImportantModifier:g,baseClassName:v,maybePostfixModifierPosition:w}}}function Ev(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function Cv(e){return{cache:bv(e.cacheSize),splitModifiers:$v(e),...yv(e)}}const _v=/\s+/;function Pv(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(_v).map(l=>{const{modifiers:s,hasImportantModifier:a,baseClassName:c,maybePostfixModifierPosition:p}=n(l);let d=r(p?c.substring(0,p):c),g=!!p;if(!d){if(!p)return{isTailwindClass:!1,originalClassName:l};if(d=r(c),!d)return{isTailwindClass:!1,originalClassName:l};g=!1}const v=Ev(s).join(":");return{isTailwindClass:!0,modifierId:a?v+Xf:v,classGroupId:d,originalClassName:l,hasPostfixModifier:g}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:s,classGroupId:a,hasPostfixModifier:c}=l,p=s+a;return i.has(p)?!1:(i.add(p),o(a,c).forEach(d=>i.add(s+d)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function Rv(){let e=0,t,n,r="";for(;ed(p),e());return n=Cv(c),r=n.cache.get,o=n.cache.set,i=s,s(a)}function s(a){const c=r(a);if(c)return c;const p=Pv(a,n);return o(a,p),p}return function(){return i(Rv.apply(null,arguments))}}function Y(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Zf=/^\[(?:([a-z-]+):)?(.+)\]$/i,Tv=/^\d+\/\d+$/,Mv=new Set(["px","full","screen"]),Av=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ov=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Dv=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Iv=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Lv=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function wt(e){return mn(e)||Mv.has(e)||Tv.test(e)}function Dt(e){return ur(e,"length",Hv)}function mn(e){return!!e&&!Number.isNaN(Number(e))}function Io(e){return ur(e,"number",mn)}function br(e){return!!e&&Number.isInteger(Number(e))}function zv(e){return e.endsWith("%")&&mn(e.slice(0,-1))}function L(e){return Zf.test(e)}function It(e){return Av.test(e)}const Fv=new Set(["length","size","percentage"]);function jv(e){return ur(e,Fv,qf)}function Uv(e){return ur(e,"position",qf)}const Bv=new Set(["image","url"]);function Vv(e){return ur(e,Bv,Kv)}function Wv(e){return ur(e,"",Gv)}function $r(){return!0}function ur(e,t,n){const r=Zf.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function Hv(e){return Ov.test(e)&&!Dv.test(e)}function qf(){return!1}function Gv(e){return Iv.test(e)}function Kv(e){return Lv.test(e)}function Qv(){const e=Y("colors"),t=Y("spacing"),n=Y("blur"),r=Y("brightness"),o=Y("borderColor"),i=Y("borderRadius"),l=Y("borderSpacing"),s=Y("borderWidth"),a=Y("contrast"),c=Y("grayscale"),p=Y("hueRotate"),d=Y("invert"),g=Y("gap"),v=Y("gradientColorStops"),w=Y("gradientColorStopPositions"),y=Y("inset"),k=Y("margin"),m=Y("opacity"),f=Y("padding"),h=Y("saturate"),x=Y("scale"),S=Y("sepia"),E=Y("skew"),b=Y("space"),C=Y("translate"),O=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",L,t],A=()=>[L,t],Z=()=>["",wt,Dt],F=()=>["auto",mn,L],V=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],j=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],R=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",L],M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[mn,Io],W=()=>[mn,L];return{cacheSize:500,separator:":",theme:{colors:[$r],spacing:[wt,Dt],blur:["none","",It,L],brightness:I(),borderColor:[e],borderRadius:["none","","full",It,L],borderSpacing:A(),borderWidth:Z(),contrast:I(),grayscale:_(),hueRotate:W(),invert:_(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[zv,Dt],inset:B(),margin:B(),opacity:I(),padding:A(),saturate:I(),scale:I(),sepia:_(),skew:W(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",L]}],container:["container"],columns:[{columns:[It]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...V(),L]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",br,L]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",L]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",br,L]}],"grid-cols":[{"grid-cols":[$r]}],"col-start-end":[{col:["auto",{span:["full",br,L]},L]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[$r]}],"row-start-end":[{row:["auto",{span:[br,L]},L]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",L]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",L]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...R()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...R(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...R(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[f]}],px:[{px:[f]}],py:[{py:[f]}],ps:[{ps:[f]}],pe:[{pe:[f]}],pt:[{pt:[f]}],pr:[{pr:[f]}],pb:[{pb:[f]}],pl:[{pl:[f]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[b]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[b]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",L,t]}],"min-w":[{"min-w":[L,t,"min","max","fit"]}],"max-w":[{"max-w":[L,t,"none","full","min","max","fit","prose",{screen:[It]},It]}],h:[{h:[L,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[L,t,"auto","min","max","fit"]}],"font-size":[{text:["base",It,Dt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Io]}],"font-family":[{font:[$r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",L]}],"line-clamp":[{"line-clamp":["none",mn,Io]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",wt,L]}],"list-image":[{"list-image":["none",L]}],"list-style-type":[{list:["none","disc","decimal",L]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",wt,Dt]}],"underline-offset":[{"underline-offset":["auto",wt,L]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",L]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...V(),Uv]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",jv]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Vv]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[wt,L]}],"outline-w":[{outline:[wt,Dt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[wt,Dt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",It,Wv]}],"shadow-color":[{shadow:[$r]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":j()}],"bg-blend":[{"bg-blend":j()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",It,L]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[d]}],saturate:[{saturate:[h]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[h]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",L]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",L]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",L]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[br,L]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",L]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",L]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",L]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[wt,Dt,Io]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const Yv=Nv(Qv);function ie(...e){return Yv(vv(e))}const Ms=(e,t)=>{const n=e.length;if(t<0&&(t+=n),t>=0&&t{var t;(t=document.getElementById(e))==null||t.scrollIntoView({behavior:"smooth"}),console.log("Scrolled")},po=u.forwardRef(({className:e,...t},n)=>$.jsx("div",{ref:n,className:ie("rounded-xl border bg-card text-card-foreground shadow",e),...t}));po.displayName="Card";const Xv=u.forwardRef(({className:e,...t},n)=>$.jsx("div",{ref:n,className:ie("flex flex-col space-y-1.5 p-6",e),...t}));Xv.displayName="CardHeader";const ep=u.forwardRef(({className:e,...t},n)=>$.jsx("h3",{ref:n,className:ie("font-semibold leading-none tracking-tight",e),...t}));ep.displayName="CardTitle";const tp=u.forwardRef(({className:e,...t},n)=>$.jsx("p",{ref:n,className:ie("text-sm text-muted-foreground",e),...t}));tp.displayName="CardDescription";const Zi=u.forwardRef(({className:e,...t},n)=>$.jsx("div",{ref:n,className:ie("p-6 pt-0",e),...t}));Zi.displayName="CardContent";const Jv=u.forwardRef(({className:e,...t},n)=>$.jsx("div",{ref:n,className:ie("flex items-center p-6 pt-0",e),...t}));Jv.displayName="CardFooter";function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>Zv(n,t))}function Se(...e){return u.useCallback(qi(...e),e)}const Sn=u.forwardRef((e,t)=>{const{children:n,...r}=e,o=u.Children.toArray(n),i=o.find(e0);if(i){const l=i.props.children,s=o.map(a=>a===i?u.Children.count(l)>1?u.Children.only(null):u.isValidElement(l)?l.props.children:null:a);return u.createElement(As,D({},r,{ref:t}),u.isValidElement(l)?u.cloneElement(l,void 0,s):null)}return u.createElement(As,D({},r,{ref:t}),n)});Sn.displayName="Slot";const As=u.forwardRef((e,t)=>{const{children:n,...r}=e;return u.isValidElement(n)?u.cloneElement(n,{...t0(r,n.props),ref:t?qi(t,n.ref):n.ref}):u.Children.count(n)>1?u.Children.only(null):null});As.displayName="SlotClone";const qv=({children:e})=>u.createElement(u.Fragment,null,e);function e0(e){return u.isValidElement(e)&&e.type===qv}function t0(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function np(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,uu=n0,r0=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return uu(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,l=Object.keys(o).map(c=>{const p=n==null?void 0:n[c],d=i==null?void 0:i[c];if(p===null)return null;const g=cu(p)||cu(d);return o[c][g]}),s=n&&Object.entries(n).reduce((c,p)=>{let[d,g]=p;return g===void 0||(c[d]=g),c},{}),a=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,p)=>{let{class:d,className:g,...v}=p;return Object.entries(v).every(w=>{let[y,k]=w;return Array.isArray(k)?k.includes({...i,...s}[y]):{...i,...s}[y]===k})?[...c,d,g]:c},[]);return uu(e,l,a,n==null?void 0:n.class,n==null?void 0:n.className)},o0=r0("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),ft=u.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const l=r?Sn:"button";return $.jsx(l,{className:ie(o0({variant:t,size:n,className:e})),ref:i,...o})});ft.displayName="Button";class Ge{}an(Ge,"initialInformation",{iconText:"Fa",name:"Fayaz Bin Salam",occupation:"Software Engineer"}),an(Ge,"directMessageItems",[{name:"WhatsApp",link:"https://api.whatsapp.com/send?phone=8801796306262"},{name:"Messenger",link:"https://m.me/p32929"},{name:"Telegram",link:"https://t.me/p32929"}]),an(Ge,"about",[{text:"Information",shouldNotSort:!0,arr:[{title:"Name",desc:"Fayaz Bin Salam",logo:"https://cdn-icons-png.flaticon.com/128/1077/1077012.png"},{title:"Work Experience",desc:"7+ years",logo:"https://cdn-icons-png.flaticon.com/128/3281/3281289.png"},{title:"Languages",desc:"Bengali, English, Hindi, Urdu, Chittagonian etc",logo:"https://cdn-icons-png.flaticon.com/128/3898/3898150.png"},{title:"Nationality",desc:"Bangladeshi",logo:"https://cdn-icons-png.flaticon.com/128/11701/11701027.png"},{title:"Resume",desc:"Click the link icon to view/download",link:"https://docs.google.com/document/d/1vRgTCQ-UvzjGXK7s-TR5VpmjHZ7OmSmOs5G69znPhqA/edit?usp=sharing",logo:"https://cdn-icons-png.flaticon.com/128/909/909212.png"}]},{text:"Experiences",arr:[{title:"Aqary International Group",desc:"Golang Developer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/92b039b2-9f42-4248-9803-b27e435d2d03"},{title:"Horizon Group of Companies",desc:"Front End Developer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/b385229a-3084-4952-84f3-134e627cc3e7"},{title:"6sense Bangladesh",desc:"Full Stack Developer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/80aebbb6-456a-4bba-8f32-eb48373cf76d"},{title:"Rich Information Technology",desc:"Lead Software Engineer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/6b35eee6-669c-42ee-934b-d9555176490b"},{title:"Fiverr",desc:"Freelance Software Engineer",logo:"https://cdn.worldvectorlogo.com/logos/fiverr-1.svg"},{title:"Upwork",desc:"Freelance Software Engineer",logo:"https://cdn.worldvectorlogo.com/logos/upwork-roundedsquare-1.svg"}]}]),an(Ge,"skills",[{text:"Programming / Markup Languages",arr:[{title:"C",logo:"https://seeklogo.com/images/C/c-logo-672525892C-seeklogo.com.png"},{title:"C++",logo:"https://seeklogo.com/images/C/c-logo-1B1817C041-seeklogo.com.png"},{title:"Java",logo:"https://www.vectorlogo.zone/logos/java/java-icon.svg"},{title:"Python",logo:"https://www.vectorlogo.zone/logos/python/python-icon.svg"},{title:"JavaScript",logo:"https://www.vectorlogo.zone/logos/javascript/javascript-icon.svg"},{title:"Rust",logo:"https://www.rustacean.net/assets/rustacean-flat-gesture.svg"},{title:"HTML",logo:"https://www.vectorlogo.zone/logos/w3_html5/w3_html5-icon.svg"},{title:"CSS",logo:"https://seeklogo.com/images/C/css3-logo-F1923C8D0E-seeklogo.com.png"},{title:"TypeScript",logo:"https://www.vectorlogo.zone/logos/typescriptlang/typescriptlang-icon.svg"},{title:"Kotlin",logo:"https://www.vectorlogo.zone/logos/kotlinlang/kotlinlang-icon.svg"},{title:"Dart",logo:"https://www.vectorlogo.zone/logos/dartlang/dartlang-icon.svg"},{title:"Go",logo:"https://go.dev/blog/go-brand/Go-Logo/SVG/Go-Logo_Blue.svg"}]},{text:"Databases",arr:[{title:"MongoDB",logo:"https://cdn.iconscout.com/icon/free/png-128/mongodb-3521676-2945120.png"},{title:"SQL",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/ffeb437f-0d63-40e5-9bc3-041d5715d67e"},{title:"DynamoDB",logo:"https://cdn.worldvectorlogo.com/logos/aws-dynamodb.svg"},{title:"PostgreSQL",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/b0b84cdf-ac60-4f7b-b665-99ea7e8854da"}]},{text:"UI Component Libraries",arr:[{title:"Ant Design",logo:"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"},{title:"Material-UI",logo:"https://mui.com/static/logo.png"},{title:"Shadcn",logo:"https://ui.shadcn.com/favicon.ico"},{title:"Tailwind CSS",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Tailwind_CSS_Logo.svg/512px-Tailwind_CSS_Logo.svg.png?20230715030042"},{title:"Bootstrap",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/b/b2/Bootstrap_logo.svg/512px-Bootstrap_logo.svg.png"}]},{text:"Libraries / Frameworks / Techs",arr:[{title:"Android App Development",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg"},{title:"NodeJS",logo:"https://www.vectorlogo.zone/logos/nodejs/nodejs-icon.svg"},{title:"ExpressJS",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f38ec9f9-a921-4c96-8fb3-f2a598c1d0b4"},{title:"ReactJS",logo:"https://www.vectorlogo.zone/logos/reactjs/reactjs-icon.svg"},{title:"Redux",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/77226ad4-1e3a-46ac-b287-e41ee5b5fec7"},{title:"React Native",logo:"https://d33wubrfki0l68.cloudfront.net/554c3b0e09cf167f0281fda839a5433f2040b349/ecfc9/img/header_logo.svg"},{title:"ElectronJS",logo:"https://www.vectorlogo.zone/logos/electronjs/electronjs-icon.svg"},{title:"Angular2+",logo:"https://angular.io/assets/images/logos/angular/angular.svg"},{title:"Mongoose",logo:"https://avatars.githubusercontent.com/u/7552965?s=200&v=4"},{title:"NextJS",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/1b988896-5ab2-42b4-a4f3-153d42c6488c"},{title:"OpenCV",logo:"https://www.vectorlogo.zone/logos/opencv/opencv-icon.svg"},{title:"Firebase",logo:"https://www.vectorlogo.zone/logos/firebase/firebase-icon.svg"},{title:"Flutter",logo:"https://www.vectorlogo.zone/logos/flutterio/flutterio-icon.svg"},{title:"Beautiful soup",logo:"https://github.com/3r4y/react-portfolio-template/assets/6418354/c9199eab-529b-4314-a990-c46deba899e9"},{title:"Numpy",logo:"https://numpy.org/images/logo.svg"},{title:"Tauri",logo:"https://raw.githubusercontent.com/tauri-apps/tauri/HEAD/app-icon.png"},{title:"VueJS",logo:"https://vuejs.org/images/logo.png"},{title:"Pandas",logo:"https://pandas.pydata.org/static/img/pandas_white.svg"},{title:"Matplotlib",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f5e59574-2fee-4ef3-86f6-31a331065f60"},{title:"Socket.io",logo:"https://socket.io/images/logo-dark.svg"},{title:"Flask",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/2183bb2b-7680-49f1-a626-b1f647e7d656"},{title:"Docker",logo:"https://cdn.iconscout.com/icon/free/png-128/docker-226091.png"},{title:"Git",logo:"https://www.vectorlogo.zone/logos/git-scm/git-scm-icon.svg"},{title:"Expo",logo:"https://www.vectorlogo.zone/logos/expoio/expoio-icon.svg"},{title:"NgInx",logo:"https://www.vectorlogo.zone/logos/nginx/nginx-icon.svg"},{title:"NestJS",logo:"https://d33wubrfki0l68.cloudfront.net/e937e774cbbe23635999615ad5d7732decad182a/26072/logo-small.ede75a6b.svg"}]},{text:"Others",arr:[{title:"Vim",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Vimlogo.svg/544px-Vimlogo.svg.png?20150726190850"},{title:"Android Studio",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Android_Studio_Icon_3.6.svg/512px-Android_Studio_Icon_3.6.svg.png?20210301045217"},{title:"VS Code",logo:"https://cdn.icon-icons.com/icons2/2107/PNG/512/file_type_vscode_icon_130084.png"},{title:"Jira",logo:"https://cdn.iconscout.com/icon/free/png-128/jira-3628861-3030001.png"},{title:"AWS",logo:"https://cdn.iconscout.com/icon/free/png-128/aws-1869025-1583149.png"},{title:"DigitalOcean",logo:"https://www.vectorlogo.zone/logos/digitalocean/digitalocean-icon.svg"},{title:"Figma",logo:"https://www.vectorlogo.zone/logos/figma/figma-icon.svg"},{title:"Heroku",logo:"https://www.vectorlogo.zone/logos/heroku/heroku-icon.svg"},{title:"Yarn",logo:"https://www.vectorlogo.zone/logos/yarnpkg/yarnpkg-icon.svg"},{title:"npm",logo:"https://www.vectorlogo.zone/logos/npmjs/npmjs-icon.svg"},{title:"Tampermonkey",logo:"https://www.tampermonkey.net/images/ricon48.png"},{title:"Greasemonkey",logo:"https://addons.mozilla.org/user-media/addon_icons/0/748-64.png?modified=1531822767"},{title:"Linux",logo:"https://www.freepnglogos.com/uploads/linux-png/file-icons-flat-linux-svg-wikimedia-commons-6.png"},{title:"Adobe Photoshop",logo:"https://www.adobe.com/content/dam/cc/icons/photoshop-mobile.svg"}]}]),an(Ge,"projects",[{text:"Web Apps",arr:[{title:"Duas",link:"https://p32929.github.io/duas/",logo:"https://p32929.github.io/duas/favicon.png",desc:"A collection of duas I try to regularly recite - created using flutter web"},{title:"dobd.xyz",link:"https://www.dobd.xyz/",logo:"https://www.dobd.xyz/android-chrome-512x512.png",desc:"Best online downloader for YouTube, Facebook, Instagram, Tiktok and more"},{title:"StartPage",logo:"https://cdn.iconscout.com/icon/premium/png-128-thumb/homepage-2580329-2151669.png",desc:"A minimalistic custom browser startpage that can be configured to your needs. ",link:"https://p32929.github.io/startpage/"},{title:"s3cr3tm3",link:"https://s3cr3tm3.netlify.app/",logo:"https://user-images.githubusercontent.com/6418354/173877444-59dbdd3d-1b5d-4b92-ad53-30fada9362d2.png",desc:"Share secret messages secretely"},{title:"OrderZesty",logo:"https://orderzesty.com/wp-content/uploads/2021/10/Zesty-icon@3x-300x300.png",desc:"Personal chef service delivering fresh signature meals.",link:"https://orderzesty.com/"},{title:"DramaDB",logo:"https://dramadb.vercel.app/apple-icon.png",desc:"A serverless hobby project that lets you filter Asian drama by country, genre, status, year and popularity",link:"https://dramadb.vercel.app/"},{title:"Sh0Sh0",logo:"https://github.com/3r4y/react-portfolio-template/assets/6418354/a159e1d8-fabc-4f58-9391-0c3be4d14d7e",desc:"A beautifully created Absolutely FREE URL shortener for everyone made using React Shadcn Firebase. ",link:"https://sh0sh0.netlify.app/"},{title:"TheRealWorldFree",logo:"https://framerusercontent.com/images/Tttp7tCHSlFL4GgIF783y9wn7vQ.webp",desc:"Enjoy the real world for free :)",link:"https://trwfree.vercel.app/"},{title:"BreakingMars",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/8b6c5a1c-fc31-44a8-822e-73814ff57ac3",desc:"#1 Leading & Effortless Prospect Perceiving Platform",link:"https://web.archive.org/web/20220413085335/https://www.breakingmars.com/"},{title:"Voomnow",desc:"Next generation audio recorder",logo:"https://user-images.githubusercontent.com/6418354/173876916-e27cb77f-49f1-4190-be54-4c1ddaa2973d.svg",link:"https://web.archive.org/web/20220326215025/https://www.voomnow.com/"},{title:"Shajao",logo:"https://sdn.signalhire.co/storage/company/1dfc/9704/f9d3/ff49/cdce/31bb/c4d7/0628.webp",desc:"Framing Happiness",link:"https://web.archive.org/web/20191222090655/https://shajao.com/"},{title:"ChargeOnSite",logo:"https://static.wixstatic.com/media/182a81_c4e4ee2bac6d4389a866239475519bdf~mv2.png/v1/fill/w_192%2Ch_192%2Clg_1%2Cusm_0.66_1.00_0.01/182a81_c4e4ee2bac6d4389a866239475519bdf~mv2.png",desc:"Charge OnSite",link:"https://www.chargeonsite.com/"},{title:"MathFinity",logo:"https://p32929.github.io/mathfinity/icons/Icon-192.png",desc:"Simple, infinite & fun math game for everyone",link:"https://p32929.github.io/mathfinity/"}]},{text:"iOS Apps",arr:[{title:"Adblock for YT",link:"https://apps.apple.com/au/app/adblock-for-youtube/id1592568016",logo:"https://is2-ssl.mzstatic.com/image/thumb/Purple126/v4/65/7e/a8/657ea8d9-c3aa-6951-38c8-948c05cd96c3/AppIcon-0-0-85-220-0-0-0-0-4-0-0-0-2x-sRGB-0-0-0-0-0.png/246x0w.webp",desc:"Removes ads from YT videos, embedded videos on third party websites and streams."},{title:"Al Quran by Quran Touch",link:"https://apps.apple.com/gb/app/al-quran-by-quran-touch/id585240351",logo:"https://is3-ssl.mzstatic.com/image/thumb/Purple112/v4/9d/7e/ed/9d7eedd6-e567-5251-bed6-dce7e868bb57/AppIcon-0-1x_U007emarketing-0-10-0-85-220.png/246x0w.webp",desc:"The most comprehensive Muslim App!"}]},{text:"Android Apps",arr:[{title:"Al Quran by Quran Touch",link:"https://www.apkmonk.com/app/com.qurantouch.qurantouchhd.app/",logo:"https://is3-ssl.mzstatic.com/image/thumb/Purple112/v4/9d/7e/ed/9d7eedd6-e567-5251-bed6-dce7e868bb57/AppIcon-0-1x_U007emarketing-0-10-0-85-220.png/246x0w.webp",desc:"The most comprehensive Muslim App!"},{title:"Thamao",logo:"https://cdn.apkmonk.com/logos/com.thamao_150x150.png",desc:"বাংলাদেশে স্মার্টফোনের চুরি এবার অসম্ভব",link:"https://www.apkmonk.com/app/com.thamao/"},{title:"Desplash",logo:"https://lh3.googleusercontent.com/ILrto9KguXlr-clbhYKUonpnHszgNp_N5Qvc8_u9QaM71oaqNKcYql2sV3sqZ7nqzsc=s180",desc:"Automatic Free High Quality Wallpapers powered by Unsplash.com",link:"https://www.xda-developers.com/desplash-wallpaper-app-unsplash/"},{title:"The Great Postman",logo:"https://lh3.googleusercontent.com/ni-lk3b2nTMZyC7r1wYBW6cm9eYqGAN-t6fXV-kD0lSyw1lO3kenC1We71fZjSryvFII=s180",desc:"Powerful, Lightweight REST API client for Android",link:"https://apkcombo.com/es/rest-api-client-the-great-postman/p32929.greatpostman/"},{title:"Sleepy - Addiction Remover",logo:"https://user-images.githubusercontent.com/6418354/192146268-29e1bac2-e477-4010-ae03-96adecbf07e6.png",desc:"The one and only EFFECTIVE addiction remover on Google Play store",link:"https://apkcombo.com/es/sleepy-phone-addiction-controller/p32929.lazyphone/"},{title:"Best CGPA Calculator",logo:"https://user-images.githubusercontent.com/6418354/192146303-6e04c9ac-ffb2-4931-bb10-ef54ff7af382.png",desc:"A simple yet effective CGPA Calculator for University students",link:"https://apkcombo.com/es/cgpa-calculator-for-update-see-the-description/p32929.cgpa_calculator/"},{title:"Buy Sell BD",logo:"https://image.winudf.com/v2/image1/cDMyOTI5LmJ1eXNlbGxiZF9pY29uXzE1NTkyOTQ5NjVfMDYz/icon.png?w=170&fakeurl=1",desc:"A better & more reliable alternative for Bikroy.com - A marketplace app for buying-selling new/used goods",link:"https://apkcombo.com/es/buy-sell-bd-buy-sell-everything-easily-in-bd/p32929.buysellbd/"},{title:"ExIn",logo:"https://lh3.googleusercontent.com/X8mRJd7JajvDXoW7NaluKt2IvC3osH6czkTPoWeSYJ96U2LWLKT4xiFgvNouwf-UvEk=s180",desc:"A Simple & user friendly income-expense tracker ",link:"https://apkcombo.com/es/exin-discontinued/p32929.exin/"},{title:"I am free",logo:"https://image.winudf.com/v2/image1/cDMyOTI5LmltZnJlZV9pY29uXzE1NzY4ODAwNzVfMDU3/icon.png?w=170&fakeurl=1",desc:"বেকার মুক্ত বাংলাদেশ গড়ার লক্ষ্যে - I am FREE",link:"https://apkcombo.com/es/i-am-free/p32929.imfree/"},{title:"Awesome NCTB",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5uY3RiX2ljb25fMTU3NjU3MjcwNF8wMjI/icon.png?fakeurl=1",desc:"Download NCTB Books easily and Free",link:"https://apkcombo.com/es/awesome-nctb/org.richit.nctb/"},{title:"বৃক্ষ ( Brikkho )",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5icmlra2hvX2ljb25fMTU3MDEyMTU0Ml8wODA/icon.png?fakeurl=1",desc:"Learn about trees in your fingertips",link:"https://apkcombo.com/es/%E0%A6%AC%E0%A7%83%E0%A6%95%E0%A7%8D%E0%A6%B7-brikkho/org.richit.brikkho/"},{title:"IQQuiz",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5pcXF1aXphcHBfaWNvbl8xNTcxMDE0NzcxXzA2Mg/icon.png?fakeurl=1",desc:"A simple IQ game",link:"https://apkcombo.com/es/iqquiz/org.richit.iqquizapp/"},{title:"BirdsLover",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5iaXJkc2xvdmVyX2ljb25fMTU3MjAwNDIxNl8wOTE/icon.png?fakeurl=1",desc:"Learn about birds in your fingertips",link:"https://apkcombo.com/es/birdslover/org.richit.birdslover/"},{title:"Animal Lover",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5hbmltYWxfaWNvbl8xNTc3MjkyMzIzXzAyMw/icon.png?fakeurl=1",desc:"Learn about birds in your fingertips",link:"https://apkcombo.com/es/animal-lover/org.richit.animal/"},{title:"Jibanananda Recitation (Abritti)",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5qaWJvbmFuZG9rb2JpdGFzb21vZ3JvX2ljb25fMTU3MDEwNDExNF8wNDc/icon.png?fakeurl=1",desc:"50+ poems of Jibanananda Das with audio recitation",link:"https://apkcombo.com/es/jibanananda-recitation-abritti/org.richit.jibonandokobitasomogro/"},{title:"MathLover (Simple, Infinite, Math game)",logo:"https://lh3.googleusercontent.com/GaisH_-MeK2c_ct4kp5qbqxbJPE-q4isTdZswR4CocgB8sLNCFk4beXdlmaaFuveKUwd",desc:"MathLover is a simple, infinite mathematical problem solving game for everyone.",link:"https://apkcombo.com/es/mathlover-simple-infinite-math-game/org.richit.mathblitz/"},{title:"Hospitals BD",logo:"https://lh3.googleusercontent.com/MMfY8vG1YfAFh1w6iHEp8NXCwl-NSCUDmfPkUAWmqhSGfO3JR7vBvw_XZzV8JxrDag",desc:"Get nearest Hospital Information in Bangladesh in your fingertips",link:"https://apkcombo.com/es/hospitals-bd/org.richit.contacthospitals/"},{title:"BirthdayBot",logo:"https://cdn.iconscout.com/icon/premium/png-256-thumb/gift-2990371-2484427.png",desc:"Birthday wishing apps, made for individual people...",link:"https://github.com/p32929/my_android_apps/releases/tag/all"}]},{text:"Desktop Apps",arr:[{title:"PotatoTimer",logo:"https://raw.githubusercontent.com/p32929/PotatoTimer/master/resources/icon.ico",desc:"A pomotodo app that forces you to take a break - created using ElectronJS",link:"https://github.com/p32929/Electron-Pomotodo"},{title:"Pomota",logo:"https://github.com/p32929/pomota/blob/master/src-tauri/icons/128x128.png?raw=true",desc:"A simple user-friendly cross-platform tauri based pomodoro timer app that forces you to take a break",link:"https://github.com/p32929/pomota"},{title:"google calender widget",logo:"https://duckduckgo.com/i/e2d8001c.png",desc:"An unofficial google calendar desktop widget for Windows, Mac and Linux ",link:"https://github.com/p32929/google-calender-widget"}]},{text:"Command Line Interfaces ( CLIs )",arr:[{title:"Shortcut Virus Remover",logo:"https://cdn-icons-png.flaticon.com/128/3223/3223766.png",desc:"Shortcut virus remover script for Windows",link:"https://github.com/p32929/Shortcut-Virus-Remover"},{title:"Fay",logo:"https://crates.io/assets/cargo.png",desc:"A simple cross platform CLI app written in Rust to automate multiple shell ( bash or cmd ) commands",link:"https://crates.io/crates/fay"},{title:"SIIN",logo:"https://crates.io/assets/cargo.png",desc:"A batch installer that downloads and installs a list of apps, written in Rust ( Kinda like Ninite )",link:"https://crates.io/crates/siin"}]},{text:"Automations",arr:[{title:"Dingtone Bot",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f24e64e7-ef7a-4d2d-a7d9-55f4797043cf",desc:"A bot made using Python and UIAutomator2 to automate watching ads on certain apps to get credits",link:"https://drive.google.com/file/d/159D_tco3qkpgh2a3CWz-f0ixPEpeUN8V/view?usp=sharing"},{title:"Indeed-Linkedin bot",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f24e64e7-ef7a-4d2d-a7d9-55f4797043cf",desc:"An automation bot created using playwright to automate applying jobs on Indeed and Linkedin",link:"https://drive.google.com/file/d/10Xc4Y0Z5KXxKhb9StF3bQfivYHHeNZsa/view?usp=sharing"}]},{text:"Libraries / Packages / Crates",arr:[{title:"AndroidEasySQL-Library",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"An Easier & Lazier approach to SQL database for Android",link:"https://github.com/p32929/AndroidEasySQL-Library"},{title:"AndroidAppLockscreen",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"An Easier & Lazier approach to getting runtime permission in Android ",link:"https://github.com/p32929/AndroidAppLockscreen"},{title:"Manufacturer Battery Optimization",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"Simple helper class for Android Battery Optimization ignoring in some devices",link:"https://gist.github.com/p32929/41e7af650f6a2c11e9306ab600fb9b03"},{title:"MyHouse Ads Android",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A library for cross promoting own apps within own apps - for Android",link:"https://github.com/p32929/MyHouseAdsAndroid"},{title:"House Ads 2",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A library ( V2 ) for cross promoting own apps within own apps - for Android",link:"https://github.com/p32929/HouseAds2"},{title:"Android App Updater",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A simple, Lightweight App Updater Library for Android",link:"https://github.com/p32929/AndroidAppUpdater"},{title:"Office About",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A simple about screen library for Android for a Team of people",link:"https://github.com/p32929/OfficeAbout"},{title:"Json Viewer Android",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A simple JSON Viewer for Android"},{title:"Android Receivers Library",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A library for simpler BroadcastReceiver implementations"},{title:"Fay",logo:"https://crates.io/assets/cargo.png",desc:"A simple cross platform CLI app written in Rust to automate multiple shell ( bash or cmd ) commands",link:"https://crates.io/crates/fay"},{title:"fayfetch",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:"A simple wrapper for Fetch",link:"https://www.npmjs.com/package/fayfetch"},{title:"fjsondb",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:"A fast and simple JSON database for NodeJS",link:"https://www.npmjs.com/package/fjsondb"},{title:"str_template",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:"A fast and simple string templating library, written in TypeScript ( Supports both Client side and Server side JavaScript / TypeScript )",link:"https://www.npmjs.com/package/str-template-ts"},{title:"EasiestDB",logo:"https://cdn.iconscout.com/icon/free/png-256/free-flutter-3521432-2944876.png",desc:"The Easiest and the Laziest approach to Flutter SQL Database.",link:"https://pub.dev/packages/easiestdb"},{title:"Simply Wifi",logo:"https://cdn.iconscout.com/icon/free/png-256/free-flutter-3521432-2944876.png",desc:"A simplified version of the wifi_iot package",link:"https://pub.dev/packages/simply_wifi"},{title:"audio_duration",logo:"https://cdn.iconscout.com/icon/free/png-256/free-flutter-3521432-2944876.png",desc:"Just a simple flutter package to get the duration of any audio file ( like: mp3 ) in milliseconds",link:"https://pub.dev/packages/audio_duration"}]},{text:"Extensions / Plugins / Addons",arr:[{title:"vscode nvim leave insertmode",logo:"https://code.visualstudio.com/assets/images/code-stable.png",desc:"This basic VSCode extension ensures that neovim is in normal mode switching between text editor panels.",link:"https://marketplace.visualstudio.com/items?itemName=p32929.vscode-nvim-leave-insertmode"},{title:"one console log",logo:"https://code.visualstudio.com/assets/images/code-stable.png",desc:"A modified version of the turbo-console-log that adds only one line of console instead of multiples.",link:"https://marketplace.visualstudio.com/items?itemName=p32929.one-console-log"}]}]),an(Ge,"contacts",[{text:"Contact me",arr:[{title:"WhatsApp ( Recommended )",logo:"https://user-images.githubusercontent.com/6418354/155842184-b064bf36-de8e-4317-8f8e-cb7755eed995.png",link:"https://api.whatsapp.com/send?phone=8801796306262",desc:"+8801796306262"},{title:"Email",logo:"https://cdn3d.iconscout.com/3d/premium/thumb/email-address-4437044-3684811.png",desc:"p32929.ceo@gmail.com",link:"mailto:p32929.ceo@gmail.com"},{title:"Telegram",logo:"https://cdn-icons-png.flaticon.com/128/2111/2111646.png",desc:"@p32929",link:"https://t.me/p32929"}]},{text:"Others",arr:[{title:"Anywhere on the internet",logo:"https://user-images.githubusercontent.com/6418354/155840900-91ac076a-8d2b-45dc-b346-66f72d376d4b.png",desc:"@p32929"},{title:"GitHub",logo:"https://cdn-icons-png.flaticon.com/128/1051/1051275.png",link:"https://github.com/p32929/"},{title:"LinkedIn",logo:"https://user-images.githubusercontent.com/6418354/155841027-8698cb12-7ddd-4604-a4ea-c618ddbc1cd8.png",link:"https://www.linkedin.com/in/p32929/"},{title:"Facebook",logo:"https://user-images.githubusercontent.com/6418354/155840898-9e2327aa-a280-45e3-8266-8268242abda4.png",link:"https://www.facebook.com/p32929"},{title:"Twitter",logo:"https://user-images.githubusercontent.com/6418354/155841031-532d5d6e-797a-4da1-8064-48d266b69ab2.png",link:"https://twitter.com/p32929"},{title:"Instagram",logo:"https://user-images.githubusercontent.com/6418354/155841023-0b842621-56a3-42ec-81f1-3944034b09c7.png",link:"https://www.instagram.com/p32929/"},{title:"Fiverr",logo:"https://cdn.worldvectorlogo.com/logos/fiverr-1.svg",link:"https://www.fiverr.com/users/fayazbinsalam/"},{title:"Upwork",logo:"https://cdn.worldvectorlogo.com/logos/upwork-roundedsquare-1.svg",link:"https://www.upwork.com/freelancers/~017dbf657b99b0c1c1"},{title:"Medium",logo:"https://seeklogo.com/images/M/medium-logo-93CDCF6451-seeklogo.com.png",link:"https://medium.com/@p32929_77176"},{title:"xda",logo:"https://www.svgrepo.com/show/331651/xda-developers.svg",link:"https://forum.xda-developers.com/m/p32929.5346826/"},{title:"Product Hunt",logo:"https://seeklogo.com/images/P/product-hunt-logo-A144953C4C-seeklogo.com.png?v=637846885100000000",link:"https://www.producthunt.com/@p32929"},{title:"UVA Online Judge",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/5e21914b-9dfd-4394-bfa3-d2e216e8ce39",link:"https://uhunt.onlinejudge.org/id/590978"},{title:"URI Online Judge",logo:"https://user-images.githubusercontent.com/26368939/110052090-be0a0b00-7d35-11eb-8827-993190a9568e.png",link:"https://www.beecrowd.com.br/judge/en/profile/76542"},{title:"Buy Me a Coffee",logo:"https://cdn.iconscout.com/icon/free/png-256/free-buymeacoffee-3628667-3029892.png",link:"https://www.buymeacoffee.com/p32929"},{title:"Skype",logo:"https://user-images.githubusercontent.com/6418354/155840899-62c1fe8e-66a6-4492-9acc-5bd504ac21ef.png",desc:"p32929",link:"skype:p32929?chat"}]},{text:"Thank you for visiting my portfolio",arr:[{title:"Click on the link button",desc:"To create your own portfolio. It will only take around 3 minutes",logo:"https://cdn.iconscout.com/icon/premium/png-256-thumb/gift-2990371-2484427.png",link:"https://github.com/p32929/p32929.github.io/"}]}]);const pt={initialInformation:Ge.initialInformation,directMessageItems:Ge.directMessageItems,routes:[{name:"About",items:Ge.about},{name:"Skills",items:Ge.skills},{name:"Projects",items:Ge.projects},{name:"Contact",items:Ge.contacts}]};/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. @@ -117,16 +117,16 @@ Error generating stack: `+i.message+` * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const x0=Te("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),k0=e=>$.jsx(po,{className:"lg:w-1/3 xl:w-1/3 2xl:w-1/4 h-full p-0 m-0 lg:block hidden ",children:$.jsxs(Ji,{className:"p-0 m-0 flex flex-col h-full justify-between",children:[$.jsxs("div",{className:"flex flex-col w-full items-center p-10",children:[$.jsx(h0,{className:"w-28 h-28 border-2 rounded-md my-8 p-2"}),$.jsx("h1",{className:"text-xl font-extrabold tracking-normal ",children:bt.initialInformation.name}),$.jsx("h1",{className:"text-sm font-extrabold tracking-normal mt-0.5",children:bt.initialInformation.occupation})]}),$.jsx("div",{className:"flex flex-col w-full p-3 gap-y-2",children:bt.routes.map(t=>{const n=()=>{Ts(`section-${t.name.toLowerCase()}`)};return $.jsx(ft,{variant:"outline",onClick:n,children:t.name})})})]})}),S0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ge=S0.reduce((e,t)=>{const n=u.forwardRef((r,o)=>{const{asChild:i,...l}=r,s=i?Sn:t;return u.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),u.createElement(s,D({},l,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function rp(e,t){e&&fo.flushSync(()=>e.dispatchEvent(t))}const As="horizontal",b0=["horizontal","vertical"],op=u.forwardRef((e,t)=>{const{decorative:n,orientation:r=As,...o}=e,i=ip(r)?r:As,s=n?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return u.createElement(ge.div,D({"data-orientation":i},s,o,{ref:t}))});op.propTypes={orientation(e,t,n){const r=e[t],o=String(r);return r&&!ip(r)?new Error($0(o,n)):null}};function $0(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of: + */const x0=Te("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),k0=e=>$.jsx(po,{className:"lg:w-1/3 xl:w-1/3 2xl:w-1/4 h-full p-0 m-0 lg:block hidden ",children:$.jsxs(Zi,{className:"p-0 m-0 flex flex-col h-full justify-between",children:[$.jsxs("div",{className:"flex flex-col w-full items-center p-10",children:[$.jsx(h0,{className:"w-28 h-28 border-2 rounded-md my-8 p-2"}),$.jsx("h1",{className:"text-xl font-extrabold tracking-normal ",children:pt.initialInformation.name}),$.jsx("h1",{className:"text-sm font-extrabold tracking-normal mt-0.5",children:pt.initialInformation.occupation})]}),$.jsx("div",{className:"flex flex-col w-full p-3 gap-y-2",children:pt.routes.map(t=>{const n=()=>{Ri(`section-${t.name.toLowerCase()}`)};return $.jsx(ft,{variant:"outline",onClick:n,children:t.name})})})]})}),S0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ge=S0.reduce((e,t)=>{const n=u.forwardRef((r,o)=>{const{asChild:i,...l}=r,s=i?Sn:t;return u.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),u.createElement(s,D({},l,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function rp(e,t){e&&fo.flushSync(()=>e.dispatchEvent(t))}const Os="horizontal",b0=["horizontal","vertical"],op=u.forwardRef((e,t)=>{const{decorative:n,orientation:r=Os,...o}=e,i=ip(r)?r:Os,s=n?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return u.createElement(ge.div,D({"data-orientation":i},s,o,{ref:t}))});op.propTypes={orientation(e,t,n){const r=e[t],o=String(r);return r&&!ip(r)?new Error($0(o,n)):null}};function $0(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of: - horizontal - vertical -Defaulting to \`${As}\`.`}function ip(e){return b0.includes(e)}const lp=op,sp=u.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},o)=>$.jsx(lp,{ref:o,decorative:n,orientation:t,className:ie("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));sp.displayName=lp.displayName;const E0=e=>{const t=()=>{Ts(`section-${r().toLowerCase()}`)},n=()=>{Ts(`section-${o().toLowerCase()}`)},r=()=>au(bt.routes,(e.index-1)%bt.routes.length).name,o=()=>au(bt.routes,(e.index+1)%bt.routes.length).name;return $.jsxs("div",{className:"flex flex-col bg-gray-900 mb-2 sticky top-0 z-10 ",children:[$.jsxs("div",{className:"flex flex-row items-center px-4 py-2 justify-between",children:[$.jsxs("div",{className:"flex flex-row items-center",children:[$.jsx(y0,{className:"mr-2 h-4 w-4"}),$.jsx("h1",{className:"text-lg uppercase font-extrabold tracking-wider",children:e.name})]}),$.jsxs("div",{className:"flex flex-row items-center",children:[$.jsx(ft,{variant:"ghost",size:"icon",onClick:t,title:`Goto ${r()} Section`,children:$.jsx(d0,{className:"h-4 w-4"})}),$.jsx(ft,{variant:"ghost",size:"icon",onClick:n,title:`Goto ${o()} Section`,children:$.jsx(c0,{className:"h-4 w-4"})})]})]}),$.jsx(sp,{className:"w-full"})]})},C0=e=>{const{url:t}=e,n=()=>{const o=["http","skype:","mailto:"];for(var i=0;i{window.open(t,"_blank")};return t&&n()?$.jsx(ft,{variant:"ghost",size:"icon",onClick:r,children:$.jsx(m0,{className:"h-4 w-4"})}):$.jsx($.Fragment,{})},_0=e=>{const t=e.item;return $.jsx("div",{className:"w-full sm:w-full md:w-1/2 xl:w-1/2 2xl:w-1/3 p-1",children:$.jsxs(po,{className:"h-full flex flex-row w-full p-4 items-center",children:[$.jsx("div",{className:"w-8 h-8 flex min-w-8 min-h-8",children:$.jsx("img",{className:"mr-4 object-contain",src:t.logo})}),$.jsxs("div",{className:"flex flex-col ml-3 w-full gap-y-1",children:[$.jsx(ep,{children:t.title}),$.jsx(tp,{children:t.desc})]}),$.jsx(C0,{url:t.link})]})})},P0=e=>$.jsx("div",{className:"flex flex-col pb-4 w-full",children:e.items.map(t=>{const n=()=>t.shouldNotSort?t.arr:t.arr.sort((r,o)=>r.title.localeCompare(o.title));return $.jsxs("div",{className:"flex flex-col",children:[$.jsxs("div",{className:"flex flex-row items-center px-4 py-3",children:[$.jsx(s0,{className:"mr-2 h-4 w-4"}),$.jsx("h1",{className:"text-sm font-bold tracking-wider",children:t.text})]}),$.jsx("div",{className:"flex flex-row flex-wrap pl-2 pr-2 w-full",children:n().map(r=>$.jsx(_0,{item:r}))})]})})}),R0=({index:e,item:t})=>$.jsxs("div",{className:"flex flex-col w-full",id:`section-${t.name.toLowerCase()}`,children:[$.jsx(E0,{name:t.name,index:e}),$.jsx(P0,{items:t.items})]});function z(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function dr(e,t=[]){let n=[];function r(i,l){const s=u.createContext(l),a=n.length;n=[...n,l];function c(d){const{scope:g,children:v,...w}=d,y=(g==null?void 0:g[e][a])||s,k=u.useMemo(()=>w,Object.values(w));return u.createElement(y.Provider,{value:k},v)}function p(d,g){const v=(g==null?void 0:g[e][a])||s,w=u.useContext(v);if(w)return w;if(l!==void 0)return l;throw new Error(`\`${d}\` must be used within \`${i}\``)}return c.displayName=i+"Provider",[c,p]}const o=()=>{const i=n.map(l=>u.createContext(l));return function(s){const a=(s==null?void 0:s[e])||i;return u.useMemo(()=>({[`__scope${e}`]:{...s,[e]:a}}),[s,a])}};return o.scopeName=e,[r,N0(o,...t)]}function N0(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const l=r.reduce((s,{useScope:a,scopeName:c})=>{const d=a(i)[`__scope${c}`];return{...s,...d}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function gt(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function La({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=T0({defaultProp:t,onChange:n}),i=e!==void 0,l=i?e:r,s=gt(n),a=u.useCallback(c=>{if(i){const d=typeof c=="function"?c(e):c;d!==e&&s(d)}else o(c)},[i,e,o,s]);return[l,a]}function T0({defaultProp:e,onChange:t}){const n=u.useState(e),[r]=n,o=u.useRef(r),i=gt(t);return u.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}function ap(e){const t=e+"CollectionProvider",[n,r]=dr(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=v=>{const{scope:w,children:y}=v,k=Ve.useRef(null),m=Ve.useRef(new Map).current;return Ve.createElement(o,{scope:w,itemMap:m,collectionRef:k},y)},s=e+"CollectionSlot",a=Ve.forwardRef((v,w)=>{const{scope:y,children:k}=v,m=i(s,y),f=Se(w,m.collectionRef);return Ve.createElement(Sn,{ref:f},k)}),c=e+"CollectionItemSlot",p="data-radix-collection-item",d=Ve.forwardRef((v,w)=>{const{scope:y,children:k,...m}=v,f=Ve.useRef(null),h=Se(w,f),x=i(c,y);return Ve.useEffect(()=>(x.itemMap.set(f,{ref:f,...m}),()=>void x.itemMap.delete(f))),Ve.createElement(Sn,{[p]:"",ref:h},k)});function g(v){const w=i(e+"CollectionConsumer",v);return Ve.useCallback(()=>{const k=w.collectionRef.current;if(!k)return[];const m=Array.from(k.querySelectorAll(`[${p}]`));return Array.from(w.itemMap.values()).sort((x,S)=>m.indexOf(x.ref.current)-m.indexOf(S.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:l,Slot:a,ItemSlot:d},g,r]}const M0=u.createContext(void 0);function cp(e){const t=u.useContext(M0);return e||t||"ltr"}function A0(e,t=globalThis==null?void 0:globalThis.document){const n=gt(e);u.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Os="dismissableLayer.update",O0="dismissableLayer.pointerDownOutside",D0="dismissableLayer.focusOutside";let du;const I0=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),up=u.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:s,onDismiss:a,...c}=e,p=u.useContext(I0),[d,g]=u.useState(null),v=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,w]=u.useState({}),y=Se(t,C=>g(C)),k=Array.from(p.layers),[m]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),f=k.indexOf(m),h=d?k.indexOf(d):-1,x=p.layersWithOutsidePointerEventsDisabled.size>0,S=h>=f,E=L0(C=>{const O=C.target,T=[...p.branches].some(B=>B.contains(O));!S||T||(i==null||i(C),s==null||s(C),C.defaultPrevented||a==null||a())},v),b=z0(C=>{const O=C.target;[...p.branches].some(B=>B.contains(O))||(l==null||l(C),s==null||s(C),C.defaultPrevented||a==null||a())},v);return A0(C=>{h===p.layers.size-1&&(o==null||o(C),!C.defaultPrevented&&a&&(C.preventDefault(),a()))},v),u.useEffect(()=>{if(d)return r&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(du=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(d)),p.layers.add(d),fu(),()=>{r&&p.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=du)}},[d,v,r,p]),u.useEffect(()=>()=>{d&&(p.layers.delete(d),p.layersWithOutsidePointerEventsDisabled.delete(d),fu())},[d,p]),u.useEffect(()=>{const C=()=>w({});return document.addEventListener(Os,C),()=>document.removeEventListener(Os,C)},[]),u.createElement(ge.div,D({},c,{ref:y,style:{pointerEvents:x?S?"auto":"none":void 0,...e.style},onFocusCapture:z(e.onFocusCapture,b.onFocusCapture),onBlurCapture:z(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:z(e.onPointerDownCapture,E.onPointerDownCapture)}))});function L0(e,t=globalThis==null?void 0:globalThis.document){const n=gt(e),r=u.useRef(!1),o=u.useRef(()=>{});return u.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let p=function(){dp(O0,n,c,{discrete:!0})};var a=p;const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=p,t.addEventListener("click",o.current,{once:!0})):p()}else t.removeEventListener("click",o.current);r.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function z0(e,t=globalThis==null?void 0:globalThis.document){const n=gt(e),r=u.useRef(!1);return u.useEffect(()=>{const o=i=>{i.target&&!r.current&&dp(D0,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function fu(){const e=new CustomEvent(Os);document.dispatchEvent(e)}function dp(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?rp(o,i):o.dispatchEvent(i)}let Rl=0;function fp(){u.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:pu()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:pu()),Rl++,()=>{Rl===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Rl--}},[])}function pu(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Nl="focusScope.autoFocusOnMount",Tl="focusScope.autoFocusOnUnmount",mu={bubbles:!1,cancelable:!0},pp=u.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...l}=e,[s,a]=u.useState(null),c=gt(o),p=gt(i),d=u.useRef(null),g=Se(t,y=>a(y)),v=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(r){let f=function(E){if(v.paused||!s)return;const b=E.target;s.contains(b)?d.current=b:Lt(d.current,{select:!0})},h=function(E){if(v.paused||!s)return;const b=E.relatedTarget;b!==null&&(s.contains(b)||Lt(d.current,{select:!0}))},x=function(E){if(document.activeElement===document.body)for(const C of E)C.removedNodes.length>0&&Lt(s)};var y=f,k=h,m=x;document.addEventListener("focusin",f),document.addEventListener("focusout",h);const S=new MutationObserver(x);return s&&S.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",h),S.disconnect()}}},[r,s,v.paused]),u.useEffect(()=>{if(s){hu.add(v);const y=document.activeElement;if(!s.contains(y)){const m=new CustomEvent(Nl,mu);s.addEventListener(Nl,c),s.dispatchEvent(m),m.defaultPrevented||(F0(W0(mp(s)),{select:!0}),document.activeElement===y&&Lt(s))}return()=>{s.removeEventListener(Nl,c),setTimeout(()=>{const m=new CustomEvent(Tl,mu);s.addEventListener(Tl,p),s.dispatchEvent(m),m.defaultPrevented||Lt(y??document.body,{select:!0}),s.removeEventListener(Tl,p),hu.remove(v)},0)}}},[s,c,p,v]);const w=u.useCallback(y=>{if(!n&&!r||v.paused)return;const k=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,m=document.activeElement;if(k&&m){const f=y.currentTarget,[h,x]=j0(f);h&&x?!y.shiftKey&&m===x?(y.preventDefault(),n&&Lt(h,{select:!0})):y.shiftKey&&m===h&&(y.preventDefault(),n&&Lt(x,{select:!0})):m===f&&y.preventDefault()}},[n,r,v.paused]);return u.createElement(ge.div,D({tabIndex:-1},l,{ref:g,onKeyDown:w}))});function F0(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Lt(r,{select:t}),document.activeElement!==n)return}function j0(e){const t=mp(e),n=gu(t,e),r=gu(t.reverse(),e);return[n,r]}function mp(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function gu(e,t){for(const n of e)if(!U0(n,{upTo:t}))return n}function U0(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function B0(e){return e instanceof HTMLInputElement&&"select"in e}function Lt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&B0(e)&&t&&e.select()}}const hu=V0();function V0(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=vu(e,t),e.unshift(t)},remove(t){var n;e=vu(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function vu(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function W0(e){return e.filter(t=>t.tagName!=="A")}const ir=globalThis!=null&&globalThis.document?u.useLayoutEffect:()=>{},H0=rg.useId||(()=>{});let G0=0;function Xn(e){const[t,n]=u.useState(H0());return ir(()=>{e||n(r=>r??String(G0++))},[e]),e||(t?`radix-${t}`:"")}const K0=["top","right","bottom","left"],en=Math.min,Ie=Math.max,Ri=Math.round,Lo=Math.floor,tn=e=>({x:e,y:e}),Q0={left:"right",right:"left",bottom:"top",top:"bottom"},Y0={start:"end",end:"start"};function Ds(e,t,n){return Ie(e,en(t,n))}function Rt(e,t){return typeof e=="function"?e(t):e}function Nt(e){return e.split("-")[0]}function fr(e){return e.split("-")[1]}function za(e){return e==="x"?"y":"x"}function Fa(e){return e==="y"?"height":"width"}function pr(e){return["top","bottom"].includes(Nt(e))?"y":"x"}function ja(e){return za(pr(e))}function X0(e,t,n){n===void 0&&(n=!1);const r=fr(e),o=ja(e),i=Fa(o);let l=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Ni(l)),[l,Ni(l)]}function J0(e){const t=Ni(e);return[Is(e),t,Is(t)]}function Is(e){return e.replace(/start|end/g,t=>Y0[t])}function Z0(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:l;default:return[]}}function q0(e,t,n,r){const o=fr(e);let i=Z0(Nt(e),n==="start",r);return o&&(i=i.map(l=>l+"-"+o),t&&(i=i.concat(i.map(Is)))),i}function Ni(e){return e.replace(/left|right|bottom|top/g,t=>Q0[t])}function e1(e){return{top:0,right:0,bottom:0,left:0,...e}}function gp(e){return typeof e!="number"?e1(e):{top:e,right:e,bottom:e,left:e}}function Ti(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function yu(e,t,n){let{reference:r,floating:o}=e;const i=pr(t),l=ja(t),s=Fa(l),a=Nt(t),c=i==="y",p=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,g=r[s]/2-o[s]/2;let v;switch(a){case"top":v={x:p,y:r.y-o.height};break;case"bottom":v={x:p,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:d};break;case"left":v={x:r.x-o.width,y:d};break;default:v={x:r.x,y:r.y}}switch(fr(t)){case"start":v[l]-=g*(n&&c?-1:1);break;case"end":v[l]+=g*(n&&c?-1:1);break}return v}const t1=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),a=await(l.isRTL==null?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:d}=yu(c,r,a),g=r,v={},w=0;for(let y=0;y({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:l,elements:s,middlewareData:a}=t,{element:c,padding:p=0}=Rt(e,t)||{};if(c==null)return{};const d=gp(p),g={x:n,y:r},v=ja(o),w=Fa(v),y=await l.getDimensions(c),k=v==="y",m=k?"top":"left",f=k?"bottom":"right",h=k?"clientHeight":"clientWidth",x=i.reference[w]+i.reference[v]-g[v]-i.floating[w],S=g[v]-i.reference[v],E=await(l.getOffsetParent==null?void 0:l.getOffsetParent(c));let b=E?E[h]:0;(!b||!await(l.isElement==null?void 0:l.isElement(E)))&&(b=s.floating[h]||i.floating[w]);const C=x/2-S/2,O=b/2-y[w]/2-1,T=en(d[m],O),B=en(d[f],O),A=T,Z=b-y[w]-B,F=b/2-y[w]/2+C,V=Ds(A,F,Z),K=!a.arrow&&fr(o)!=null&&F!==V&&i.reference[w]/2-(FA<=0)){var O,T;const A=(((O=i.flip)==null?void 0:O.index)||0)+1,Z=S[A];if(Z)return{data:{index:A,overflows:C},reset:{placement:Z}};let F=(T=C.filter(V=>V.overflows[0]<=0).sort((V,K)=>V.overflows[1]-K.overflows[1])[0])==null?void 0:T.placement;if(!F)switch(v){case"bestFit":{var B;const V=(B=C.map(K=>[K.placement,K.overflows.filter(j=>j>0).reduce((j,R)=>j+R,0)]).sort((K,j)=>K[1]-j[1])[0])==null?void 0:B[0];V&&(F=V);break}case"initialPlacement":F=s;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function wu(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function xu(e){return K0.some(t=>e[t]>=0)}const o1=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Rt(e,t);switch(r){case"referenceHidden":{const i=await to(t,{...o,elementContext:"reference"}),l=wu(i,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:xu(l)}}}case"escaped":{const i=await to(t,{...o,altBoundary:!0}),l=wu(i,n.floating);return{data:{escapedOffsets:l,escaped:xu(l)}}}default:return{}}}}};async function i1(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),l=Nt(n),s=fr(n),a=pr(n)==="y",c=["left","top"].includes(l)?-1:1,p=i&&a?-1:1,d=Rt(t,e);let{mainAxis:g,crossAxis:v,alignmentAxis:w}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof w=="number"&&(v=s==="end"?w*-1:w),a?{x:v*p,y:g*c}:{x:g*c,y:v*p}}const l1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:l,middlewareData:s}=t,a=await i1(t,e);return l===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:l}}}}},s1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:k=>{let{x:m,y:f}=k;return{x:m,y:f}}},...a}=Rt(e,t),c={x:n,y:r},p=await to(t,a),d=pr(Nt(o)),g=za(d);let v=c[g],w=c[d];if(i){const k=g==="y"?"top":"left",m=g==="y"?"bottom":"right",f=v+p[k],h=v-p[m];v=Ds(f,v,h)}if(l){const k=d==="y"?"top":"left",m=d==="y"?"bottom":"right",f=w+p[k],h=w-p[m];w=Ds(f,w,h)}const y=s.fn({...t,[g]:v,[d]:w});return{...y,data:{x:y.x-n,y:y.y-r}}}}},a1=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:l}=t,{offset:s=0,mainAxis:a=!0,crossAxis:c=!0}=Rt(e,t),p={x:n,y:r},d=pr(o),g=za(d);let v=p[g],w=p[d];const y=Rt(s,t),k=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(a){const h=g==="y"?"height":"width",x=i.reference[g]-i.floating[h]+k.mainAxis,S=i.reference[g]+i.reference[h]-k.mainAxis;vS&&(v=S)}if(c){var m,f;const h=g==="y"?"width":"height",x=["top","left"].includes(Nt(o)),S=i.reference[d]-i.floating[h]+(x&&((m=l.offset)==null?void 0:m[d])||0)+(x?0:k.crossAxis),E=i.reference[d]+i.reference[h]+(x?0:((f=l.offset)==null?void 0:f[d])||0)-(x?k.crossAxis:0);wE&&(w=E)}return{[g]:v,[d]:w}}}},c1=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:l=()=>{},...s}=Rt(e,t),a=await to(t,s),c=Nt(n),p=fr(n),d=pr(n)==="y",{width:g,height:v}=r.floating;let w,y;c==="top"||c==="bottom"?(w=c,y=p===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(y=c,w=p==="end"?"top":"bottom");const k=v-a[w],m=g-a[y],f=!t.middlewareData.shift;let h=k,x=m;if(d){const E=g-a.left-a.right;x=p||f?en(m,E):E}else{const E=v-a.top-a.bottom;h=p||f?en(k,E):E}if(f&&!p){const E=Ie(a.left,0),b=Ie(a.right,0),C=Ie(a.top,0),O=Ie(a.bottom,0);d?x=g-2*(E!==0||b!==0?E+b:Ie(a.left,a.right)):h=v-2*(C!==0||O!==0?C+O:Ie(a.top,a.bottom))}await l({...t,availableWidth:x,availableHeight:h});const S=await o.getDimensions(i.floating);return g!==S.width||v!==S.height?{reset:{rects:!0}}:{}}}};function nn(e){return hp(e)?(e.nodeName||"").toLowerCase():"#document"}function Fe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function At(e){var t;return(t=(hp(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function hp(e){return e instanceof Node||e instanceof Fe(e).Node}function Tt(e){return e instanceof Element||e instanceof Fe(e).Element}function ht(e){return e instanceof HTMLElement||e instanceof Fe(e).HTMLElement}function ku(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Fe(e).ShadowRoot}function mo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Je(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function u1(e){return["table","td","th"].includes(nn(e))}function Ua(e){const t=Ba(),n=Je(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function d1(e){let t=lr(e);for(;ht(t)&&!qi(t);){if(Ua(t))return t;t=lr(t)}return null}function Ba(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function qi(e){return["html","body","#document"].includes(nn(e))}function Je(e){return Fe(e).getComputedStyle(e)}function el(e){return Tt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function lr(e){if(nn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ku(e)&&e.host||At(e);return ku(t)?t.host:t}function vp(e){const t=lr(e);return qi(t)?e.ownerDocument?e.ownerDocument.body:e.body:ht(t)&&mo(t)?t:vp(t)}function no(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=vp(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),l=Fe(o);return i?t.concat(l,l.visualViewport||[],mo(o)?o:[],l.frameElement&&n?no(l.frameElement):[]):t.concat(o,no(o,[],n))}function yp(e){const t=Je(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ht(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,s=Ri(n)!==i||Ri(r)!==l;return s&&(n=i,r=l),{width:n,height:r,$:s}}function Va(e){return Tt(e)?e:e.contextElement}function Jn(e){const t=Va(e);if(!ht(t))return tn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=yp(t);let l=(i?Ri(n.width):n.width)/r,s=(i?Ri(n.height):n.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const f1=tn(0);function wp(e){const t=Fe(e);return!Ba()||!t.visualViewport?f1:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function p1(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Fe(e)?!1:t}function bn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Va(e);let l=tn(1);t&&(r?Tt(r)&&(l=Jn(r)):l=Jn(e));const s=p1(i,n,r)?wp(i):tn(0);let a=(o.left+s.x)/l.x,c=(o.top+s.y)/l.y,p=o.width/l.x,d=o.height/l.y;if(i){const g=Fe(i),v=r&&Tt(r)?Fe(r):r;let w=g,y=w.frameElement;for(;y&&r&&v!==w;){const k=Jn(y),m=y.getBoundingClientRect(),f=Je(y),h=m.left+(y.clientLeft+parseFloat(f.paddingLeft))*k.x,x=m.top+(y.clientTop+parseFloat(f.paddingTop))*k.y;a*=k.x,c*=k.y,p*=k.x,d*=k.y,a+=h,c+=x,w=Fe(y),y=w.frameElement}}return Ti({width:p,height:d,x:a,y:c})}const m1=[":popover-open",":modal"];function xp(e){return m1.some(t=>{try{return e.matches(t)}catch{return!1}})}function g1(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",l=At(r),s=t?xp(t.floating):!1;if(r===l||s&&i)return n;let a={scrollLeft:0,scrollTop:0},c=tn(1);const p=tn(0),d=ht(r);if((d||!d&&!i)&&((nn(r)!=="body"||mo(l))&&(a=el(r)),ht(r))){const g=bn(r);c=Jn(r),p.x=g.x+r.clientLeft,p.y=g.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+p.x,y:n.y*c.y-a.scrollTop*c.y+p.y}}function h1(e){return Array.from(e.getClientRects())}function kp(e){return bn(At(e)).left+el(e).scrollLeft}function v1(e){const t=At(e),n=el(e),r=e.ownerDocument.body,o=Ie(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ie(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+kp(e);const s=-n.scrollTop;return Je(r).direction==="rtl"&&(l+=Ie(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:s}}function y1(e,t){const n=Fe(e),r=At(e),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,s=0,a=0;if(o){i=o.width,l=o.height;const c=Ba();(!c||c&&t==="fixed")&&(s=o.offsetLeft,a=o.offsetTop)}return{width:i,height:l,x:s,y:a}}function w1(e,t){const n=bn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ht(e)?Jn(e):tn(1),l=e.clientWidth*i.x,s=e.clientHeight*i.y,a=o*i.x,c=r*i.y;return{width:l,height:s,x:a,y:c}}function Su(e,t,n){let r;if(t==="viewport")r=y1(e,n);else if(t==="document")r=v1(At(e));else if(Tt(t))r=w1(t,n);else{const o=wp(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Ti(r)}function Sp(e,t){const n=lr(e);return n===t||!Tt(n)||qi(n)?!1:Je(n).position==="fixed"||Sp(n,t)}function x1(e,t){const n=t.get(e);if(n)return n;let r=no(e,[],!1).filter(s=>Tt(s)&&nn(s)!=="body"),o=null;const i=Je(e).position==="fixed";let l=i?lr(e):e;for(;Tt(l)&&!qi(l);){const s=Je(l),a=Ua(l);!a&&s.position==="fixed"&&(o=null),(i?!a&&!o:!a&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||mo(l)&&!a&&Sp(e,l))?r=r.filter(p=>p!==l):o=s,l=lr(l)}return t.set(e,r),r}function k1(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const l=[...n==="clippingAncestors"?x1(t,this._c):[].concat(n),r],s=l[0],a=l.reduce((c,p)=>{const d=Su(t,p,o);return c.top=Ie(d.top,c.top),c.right=en(d.right,c.right),c.bottom=en(d.bottom,c.bottom),c.left=Ie(d.left,c.left),c},Su(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function S1(e){const{width:t,height:n}=yp(e);return{width:t,height:n}}function b1(e,t,n){const r=ht(t),o=At(t),i=n==="fixed",l=bn(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const a=tn(0);if(r||!r&&!i)if((nn(t)!=="body"||mo(o))&&(s=el(t)),r){const d=bn(t,!0,i,t);a.x=d.x+t.clientLeft,a.y=d.y+t.clientTop}else o&&(a.x=kp(o));const c=l.left+s.scrollLeft-a.x,p=l.top+s.scrollTop-a.y;return{x:c,y:p,width:l.width,height:l.height}}function bu(e,t){return!ht(e)||Je(e).position==="fixed"?null:t?t(e):e.offsetParent}function bp(e,t){const n=Fe(e);if(!ht(e)||xp(e))return n;let r=bu(e,t);for(;r&&u1(r)&&Je(r).position==="static";)r=bu(r,t);return r&&(nn(r)==="html"||nn(r)==="body"&&Je(r).position==="static"&&!Ua(r))?n:r||d1(e)||n}const $1=async function(e){const t=this.getOffsetParent||bp,n=this.getDimensions;return{reference:b1(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}};function E1(e){return Je(e).direction==="rtl"}const C1={convertOffsetParentRelativeRectToViewportRelativeRect:g1,getDocumentElement:At,getClippingRect:k1,getOffsetParent:bp,getElementRects:$1,getClientRects:h1,getDimensions:S1,getScale:Jn,isElement:Tt,isRTL:E1};function _1(e,t){let n=null,r;const o=At(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function l(s,a){s===void 0&&(s=!1),a===void 0&&(a=1),i();const{left:c,top:p,width:d,height:g}=e.getBoundingClientRect();if(s||t(),!d||!g)return;const v=Lo(p),w=Lo(o.clientWidth-(c+d)),y=Lo(o.clientHeight-(p+g)),k=Lo(c),f={rootMargin:-v+"px "+-w+"px "+-y+"px "+-k+"px",threshold:Ie(0,en(1,a))||1};let h=!0;function x(S){const E=S[0].intersectionRatio;if(E!==a){if(!h)return l();E?l(!1,E):r=setTimeout(()=>{l(!1,1e-7)},100)}h=!1}try{n=new IntersectionObserver(x,{...f,root:o.ownerDocument})}catch{n=new IntersectionObserver(x,f)}n.observe(e)}return l(!0),i}function P1(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,c=Va(e),p=o||i?[...c?no(c):[],...no(t)]:[];p.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const d=c&&s?_1(c,n):null;let g=-1,v=null;l&&(v=new ResizeObserver(m=>{let[f]=m;f&&f.target===c&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var h;(h=v)==null||h.observe(t)})),n()}),c&&!a&&v.observe(c),v.observe(t));let w,y=a?bn(e):null;a&&k();function k(){const m=bn(e);y&&(m.x!==y.x||m.y!==y.y||m.width!==y.width||m.height!==y.height)&&n(),y=m,w=requestAnimationFrame(k)}return n(),()=>{var m;p.forEach(f=>{o&&f.removeEventListener("scroll",n),i&&f.removeEventListener("resize",n)}),d==null||d(),(m=v)==null||m.disconnect(),v=null,a&&cancelAnimationFrame(w)}}const R1=s1,N1=r1,T1=c1,M1=o1,$u=n1,A1=a1,O1=(e,t,n)=>{const r=new Map,o={platform:C1,...n},i={...o.platform,_c:r};return t1(e,t,{...o,platform:i})},D1=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?$u({element:r.current,padding:o}).fn(n):{}:r?$u({element:r,padding:o}).fn(n):{}}}};var ni=typeof document<"u"?u.useLayoutEffect:u.useEffect;function Mi(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Mi(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Mi(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function $p(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Eu(e,t){const n=$p(e);return Math.round(t*n)/n}function Cu(e){const t=u.useRef(e);return ni(()=>{t.current=e}),t}function I1(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:l}={},transform:s=!0,whileElementsMounted:a,open:c}=e,[p,d]=u.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,v]=u.useState(r);Mi(g,r)||v(r);const[w,y]=u.useState(null),[k,m]=u.useState(null),f=u.useCallback(j=>{j!==E.current&&(E.current=j,y(j))},[]),h=u.useCallback(j=>{j!==b.current&&(b.current=j,m(j))},[]),x=i||w,S=l||k,E=u.useRef(null),b=u.useRef(null),C=u.useRef(p),O=a!=null,T=Cu(a),B=Cu(o),A=u.useCallback(()=>{if(!E.current||!b.current)return;const j={placement:t,strategy:n,middleware:g};B.current&&(j.platform=B.current),O1(E.current,b.current,j).then(R=>{const _={...R,isPositioned:!0};Z.current&&!Mi(C.current,_)&&(C.current=_,fo.flushSync(()=>{d(_)}))})},[g,t,n,B]);ni(()=>{c===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,d(j=>({...j,isPositioned:!1})))},[c]);const Z=u.useRef(!1);ni(()=>(Z.current=!0,()=>{Z.current=!1}),[]),ni(()=>{if(x&&(E.current=x),S&&(b.current=S),x&&S){if(T.current)return T.current(x,S,A);A()}},[x,S,A,T,O]);const F=u.useMemo(()=>({reference:E,floating:b,setReference:f,setFloating:h}),[f,h]),V=u.useMemo(()=>({reference:x,floating:S}),[x,S]),K=u.useMemo(()=>{const j={position:n,left:0,top:0};if(!V.floating)return j;const R=Eu(V.floating,p.x),_=Eu(V.floating,p.y);return s?{...j,transform:"translate("+R+"px, "+_+"px)",...$p(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:_}},[n,s,V.floating,p.x,p.y]);return u.useMemo(()=>({...p,update:A,refs:F,elements:V,floatingStyles:K}),[p,A,F,V,K])}function L1(e){const[t,n]=u.useState(void 0);return ir(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let l,s;if("borderBoxSize"in i){const a=i.borderBoxSize,c=Array.isArray(a)?a[0]:a;l=c.inlineSize,s=c.blockSize}else l=e.offsetWidth,s=e.offsetHeight;n({width:l,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Ep="Popper",[Cp,_p]=dr(Ep),[z1,Pp]=Cp(Ep),F1=e=>{const{__scopePopper:t,children:n}=e,[r,o]=u.useState(null);return u.createElement(z1,{scope:t,anchor:r,onAnchorChange:o},n)},j1="PopperAnchor",U1=u.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Pp(j1,n),l=u.useRef(null),s=Se(t,l);return u.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||l.current)}),r?null:u.createElement(ge.div,D({},o,{ref:s}))}),Rp="PopperContent",[B1,L2]=Cp(Rp),V1=u.forwardRef((e,t)=>{var n,r,o,i,l,s,a,c;const{__scopePopper:p,side:d="bottom",sideOffset:g=0,align:v="center",alignOffset:w=0,arrowPadding:y=0,avoidCollisions:k=!0,collisionBoundary:m=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:x=!1,updatePositionStrategy:S="optimized",onPlaced:E,...b}=e,C=Pp(Rp,p),[O,T]=u.useState(null),B=Se(t,mr=>T(mr)),[A,Z]=u.useState(null),F=L1(A),V=(n=F==null?void 0:F.width)!==null&&n!==void 0?n:0,K=(r=F==null?void 0:F.height)!==null&&r!==void 0?r:0,j=d+(v!=="center"?"-"+v:""),R=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},_=Array.isArray(m)?m:[m],M=_.length>0,I={padding:R,boundary:_.filter(W1),altBoundary:M},{refs:W,floatingStyles:Me,placement:Ae,isPositioned:qe,middlewareData:se}=I1({strategy:"fixed",placement:j,whileElementsMounted:(...mr)=>P1(...mr,{animationFrame:S==="always"}),elements:{reference:C.anchor},middleware:[l1({mainAxis:g+K,alignmentAxis:w}),k&&R1({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?A1():void 0,...I}),k&&N1({...I}),T1({...I,apply:({elements:mr,rects:Xa,availableWidth:Dm,availableHeight:Im})=>{const{width:Lm,height:zm}=Xa.reference,yo=mr.floating.style;yo.setProperty("--radix-popper-available-width",`${Dm}px`),yo.setProperty("--radix-popper-available-height",`${Im}px`),yo.setProperty("--radix-popper-anchor-width",`${Lm}px`),yo.setProperty("--radix-popper-anchor-height",`${zm}px`)}}),A&&D1({element:A,padding:y}),H1({arrowWidth:V,arrowHeight:K}),x&&M1({strategy:"referenceHidden",...I})]}),[Oe,ho]=Np(Ae),Ee=gt(E);ir(()=>{qe&&(Ee==null||Ee())},[qe,Ee]);const vo=(o=se.arrow)===null||o===void 0?void 0:o.x,Tm=(i=se.arrow)===null||i===void 0?void 0:i.y,Mm=((l=se.arrow)===null||l===void 0?void 0:l.centerOffset)!==0,[Am,Om]=u.useState();return ir(()=>{O&&Om(window.getComputedStyle(O).zIndex)},[O]),u.createElement("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...Me,transform:qe?Me.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Am,"--radix-popper-transform-origin":[(s=se.transformOrigin)===null||s===void 0?void 0:s.x,(a=se.transformOrigin)===null||a===void 0?void 0:a.y].join(" ")},dir:e.dir},u.createElement(B1,{scope:p,placedSide:Oe,onArrowChange:Z,arrowX:vo,arrowY:Tm,shouldHideArrow:Mm},u.createElement(ge.div,D({"data-side":Oe,"data-align":ho},b,{ref:B,style:{...b.style,animation:qe?void 0:"none",opacity:(c=se.hide)!==null&&c!==void 0&&c.referenceHidden?0:void 0}}))))});function W1(e){return e!==null}const H1=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;const{placement:s,rects:a,middlewareData:c}=t,d=((n=c.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,g=d?0:e.arrowWidth,v=d?0:e.arrowHeight,[w,y]=Np(s),k={start:"0%",center:"50%",end:"100%"}[y],m=((r=(o=c.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+g/2,f=((i=(l=c.arrow)===null||l===void 0?void 0:l.y)!==null&&i!==void 0?i:0)+v/2;let h="",x="";return w==="bottom"?(h=d?k:`${m}px`,x=`${-v}px`):w==="top"?(h=d?k:`${m}px`,x=`${a.floating.height+v}px`):w==="right"?(h=`${-v}px`,x=d?k:`${f}px`):w==="left"&&(h=`${a.floating.width+v}px`,x=d?k:`${f}px`),{data:{x:h,y:x}}}});function Np(e){const[t,n="center"]=e.split("-");return[t,n]}const G1=F1,K1=U1,Q1=V1,Tp=u.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?pv.createPortal(u.createElement(ge.div,D({},o,{ref:t})),r):null});function Y1(e,t){return u.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const sn=e=>{const{present:t,children:n}=e,r=X1(t),o=typeof n=="function"?n({present:r.isPresent}):u.Children.only(n),i=Se(r.ref,o.ref);return typeof n=="function"||r.isPresent?u.cloneElement(o,{ref:i}):null};sn.displayName="Presence";function X1(e){const[t,n]=u.useState(),r=u.useRef({}),o=u.useRef(e),i=u.useRef("none"),l=e?"mounted":"unmounted",[s,a]=Y1(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{const c=zo(r.current);i.current=s==="mounted"?c:"none"},[s]),ir(()=>{const c=r.current,p=o.current;if(p!==e){const g=i.current,v=zo(c);e?a("MOUNT"):v==="none"||(c==null?void 0:c.display)==="none"?a("UNMOUNT"):a(p&&g!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),ir(()=>{if(t){const c=d=>{const v=zo(r.current).includes(d.animationName);d.target===t&&v&&fo.flushSync(()=>a("ANIMATION_END"))},p=d=>{d.target===t&&(i.current=zo(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:u.useCallback(c=>{c&&(r.current=getComputedStyle(c)),n(c)},[])}}function zo(e){return(e==null?void 0:e.animationName)||"none"}const Ml="rovingFocusGroup.onEntryFocus",J1={bubbles:!1,cancelable:!0},Wa="RovingFocusGroup",[Ls,Mp,Z1]=ap(Wa),[q1,Ap]=dr(Wa,[Z1]),[ey,ty]=q1(Wa),ny=u.forwardRef((e,t)=>u.createElement(Ls.Provider,{scope:e.__scopeRovingFocusGroup},u.createElement(Ls.Slot,{scope:e.__scopeRovingFocusGroup},u.createElement(ry,D({},e,{ref:t}))))),ry=u.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:l,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:a,onEntryFocus:c,...p}=e,d=u.useRef(null),g=Se(t,d),v=cp(i),[w=null,y]=La({prop:l,defaultProp:s,onChange:a}),[k,m]=u.useState(!1),f=gt(c),h=Mp(n),x=u.useRef(!1),[S,E]=u.useState(0);return u.useEffect(()=>{const b=d.current;if(b)return b.addEventListener(Ml,f),()=>b.removeEventListener(Ml,f)},[f]),u.createElement(ey,{scope:n,orientation:r,dir:v,loop:o,currentTabStopId:w,onItemFocus:u.useCallback(b=>y(b),[y]),onItemShiftTab:u.useCallback(()=>m(!0),[]),onFocusableItemAdd:u.useCallback(()=>E(b=>b+1),[]),onFocusableItemRemove:u.useCallback(()=>E(b=>b-1),[])},u.createElement(ge.div,D({tabIndex:k||S===0?-1:0,"data-orientation":r},p,{ref:g,style:{outline:"none",...e.style},onMouseDown:z(e.onMouseDown,()=>{x.current=!0}),onFocus:z(e.onFocus,b=>{const C=!x.current;if(b.target===b.currentTarget&&C&&!k){const O=new CustomEvent(Ml,J1);if(b.currentTarget.dispatchEvent(O),!O.defaultPrevented){const T=h().filter(V=>V.focusable),B=T.find(V=>V.active),A=T.find(V=>V.id===w),F=[B,A,...T].filter(Boolean).map(V=>V.ref.current);Op(F)}}x.current=!1}),onBlur:z(e.onBlur,()=>m(!1))})))}),oy="RovingFocusGroupItem",iy=u.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...l}=e,s=Xn(),a=i||s,c=ty(oy,n),p=c.currentTabStopId===a,d=Mp(n),{onFocusableItemAdd:g,onFocusableItemRemove:v}=c;return u.useEffect(()=>{if(r)return g(),()=>v()},[r,g,v]),u.createElement(Ls.ItemSlot,{scope:n,id:a,focusable:r,active:o},u.createElement(ge.span,D({tabIndex:p?0:-1,"data-orientation":c.orientation},l,{ref:t,onMouseDown:z(e.onMouseDown,w=>{r?c.onItemFocus(a):w.preventDefault()}),onFocus:z(e.onFocus,()=>c.onItemFocus(a)),onKeyDown:z(e.onKeyDown,w=>{if(w.key==="Tab"&&w.shiftKey){c.onItemShiftTab();return}if(w.target!==w.currentTarget)return;const y=ay(w,c.orientation,c.dir);if(y!==void 0){w.preventDefault();let m=d().filter(f=>f.focusable).map(f=>f.ref.current);if(y==="last")m.reverse();else if(y==="prev"||y==="next"){y==="prev"&&m.reverse();const f=m.indexOf(w.currentTarget);m=c.loop?cy(m,f+1):m.slice(f+1)}setTimeout(()=>Op(m))}})})))}),ly={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function sy(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ay(e,t,n){const r=sy(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return ly[r]}function Op(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function cy(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const uy=ny,dy=iy;var fy=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Rn=new WeakMap,Fo=new WeakMap,jo={},Al=0,Dp=function(e){return e&&(e.host||Dp(e.parentNode))},py=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Dp(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},my=function(e,t,n,r){var o=py(t,Array.isArray(e)?e:[e]);jo[n]||(jo[n]=new WeakMap);var i=jo[n],l=[],s=new Set,a=new Set(o),c=function(d){!d||s.has(d)||(s.add(d),c(d.parentNode))};o.forEach(c);var p=function(d){!d||a.has(d)||Array.prototype.forEach.call(d.children,function(g){if(s.has(g))p(g);else{var v=g.getAttribute(r),w=v!==null&&v!=="false",y=(Rn.get(g)||0)+1,k=(i.get(g)||0)+1;Rn.set(g,y),i.set(g,k),l.push(g),y===1&&w&&Fo.set(g,!0),k===1&&g.setAttribute(n,"true"),w||g.setAttribute(r,"true")}})};return p(t),s.clear(),Al++,function(){l.forEach(function(d){var g=Rn.get(d)-1,v=i.get(d)-1;Rn.set(d,g),i.set(d,v),g||(Fo.has(d)||d.removeAttribute(r),Fo.delete(d)),v||d.removeAttribute(n)}),Al--,Al||(Rn=new WeakMap,Rn=new WeakMap,Fo=new WeakMap,jo={})}},Ip=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||fy(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),my(r,o,n,"aria-hidden")):function(){return null}},dt=function(){return dt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return Ny;var t=Ty(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ay=jp(),Ai="data-scroll-locked",Oy=function(e,t,n,r){var o=e.left,i=e.top,l=e.right,s=e.gap;return n===void 0&&(n="margin"),` +Defaulting to \`${Os}\`.`}function ip(e){return b0.includes(e)}const lp=op,sp=u.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},o)=>$.jsx(lp,{ref:o,decorative:n,orientation:t,className:ie("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));sp.displayName=lp.displayName;const E0=e=>{const t=()=>{Ri(`section-${r().toLowerCase()}`)},n=()=>{Ri(`section-${o().toLowerCase()}`)},r=()=>Ms(pt.routes,(e.index-1)%pt.routes.length).name,o=()=>Ms(pt.routes,(e.index+1)%pt.routes.length).name;return $.jsxs("div",{className:"flex flex-col bg-gray-900 mb-2 sticky top-0 z-10 ",children:[$.jsxs("div",{className:"flex flex-row items-center px-4 py-2 justify-between",children:[$.jsxs("div",{className:"flex flex-row items-center",children:[$.jsx(y0,{className:"mr-2 h-4 w-4"}),$.jsx("h1",{className:"text-lg uppercase font-extrabold tracking-wider",children:e.name})]}),$.jsxs("div",{className:"flex flex-row items-center",children:[$.jsx(ft,{variant:"ghost",size:"icon",onClick:t,title:`Goto ${r()} Section`,children:$.jsx(d0,{className:"h-4 w-4"})}),$.jsx(ft,{variant:"ghost",size:"icon",onClick:n,title:`Goto ${o()} Section`,children:$.jsx(c0,{className:"h-4 w-4"})})]})]}),$.jsx(sp,{className:"w-full"})]})},C0=e=>{const{url:t}=e,n=()=>{const o=["http","skype:","mailto:"];for(var i=0;i{window.open(t,"_blank")};return t&&n()?$.jsx(ft,{variant:"ghost",size:"icon",onClick:r,children:$.jsx(m0,{className:"h-4 w-4"})}):$.jsx($.Fragment,{})},_0=e=>{const t=e.item;return $.jsx("div",{className:"w-full sm:w-full md:w-1/2 xl:w-1/2 2xl:w-1/3 p-1",children:$.jsxs(po,{className:"h-full flex flex-row w-full p-4 items-center",children:[$.jsx("div",{className:"w-8 h-8 flex min-w-8 min-h-8",children:$.jsx("img",{className:"mr-4 object-contain",src:t.logo})}),$.jsxs("div",{className:"flex flex-col ml-3 w-full gap-y-1",children:[$.jsx(ep,{children:t.title}),$.jsx(tp,{children:t.desc})]}),$.jsx(C0,{url:t.link})]})})},P0=e=>$.jsx("div",{className:"flex flex-col pb-4 w-full",children:e.items.map(t=>{const n=()=>t.shouldNotSort?t.arr:t.arr.sort((r,o)=>r.title.localeCompare(o.title));return $.jsxs("div",{className:"flex flex-col",children:[$.jsxs("div",{className:"flex flex-row items-center px-4 py-3",children:[$.jsx(s0,{className:"mr-2 h-4 w-4"}),$.jsx("h1",{className:"text-sm font-bold tracking-wider",children:t.text})]}),$.jsx("div",{className:"flex flex-row flex-wrap pl-2 pr-2 w-full",children:n().map(r=>$.jsx(_0,{item:r}))})]})})}),R0=({index:e,item:t})=>$.jsxs("div",{className:"flex flex-col w-full",id:`section-${t.name.toLowerCase()}`,children:[$.jsx(E0,{name:t.name,index:e}),$.jsx(P0,{items:t.items})]});function z(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function dr(e,t=[]){let n=[];function r(i,l){const s=u.createContext(l),a=n.length;n=[...n,l];function c(d){const{scope:g,children:v,...w}=d,y=(g==null?void 0:g[e][a])||s,k=u.useMemo(()=>w,Object.values(w));return u.createElement(y.Provider,{value:k},v)}function p(d,g){const v=(g==null?void 0:g[e][a])||s,w=u.useContext(v);if(w)return w;if(l!==void 0)return l;throw new Error(`\`${d}\` must be used within \`${i}\``)}return c.displayName=i+"Provider",[c,p]}const o=()=>{const i=n.map(l=>u.createContext(l));return function(s){const a=(s==null?void 0:s[e])||i;return u.useMemo(()=>({[`__scope${e}`]:{...s,[e]:a}}),[s,a])}};return o.scopeName=e,[r,N0(o,...t)]}function N0(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const l=r.reduce((s,{useScope:a,scopeName:c})=>{const d=a(i)[`__scope${c}`];return{...s,...d}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function ht(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function za({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=T0({defaultProp:t,onChange:n}),i=e!==void 0,l=i?e:r,s=ht(n),a=u.useCallback(c=>{if(i){const d=typeof c=="function"?c(e):c;d!==e&&s(d)}else o(c)},[i,e,o,s]);return[l,a]}function T0({defaultProp:e,onChange:t}){const n=u.useState(e),[r]=n,o=u.useRef(r),i=ht(t);return u.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}function ap(e){const t=e+"CollectionProvider",[n,r]=dr(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=v=>{const{scope:w,children:y}=v,k=Ve.useRef(null),m=Ve.useRef(new Map).current;return Ve.createElement(o,{scope:w,itemMap:m,collectionRef:k},y)},s=e+"CollectionSlot",a=Ve.forwardRef((v,w)=>{const{scope:y,children:k}=v,m=i(s,y),f=Se(w,m.collectionRef);return Ve.createElement(Sn,{ref:f},k)}),c=e+"CollectionItemSlot",p="data-radix-collection-item",d=Ve.forwardRef((v,w)=>{const{scope:y,children:k,...m}=v,f=Ve.useRef(null),h=Se(w,f),x=i(c,y);return Ve.useEffect(()=>(x.itemMap.set(f,{ref:f,...m}),()=>void x.itemMap.delete(f))),Ve.createElement(Sn,{[p]:"",ref:h},k)});function g(v){const w=i(e+"CollectionConsumer",v);return Ve.useCallback(()=>{const k=w.collectionRef.current;if(!k)return[];const m=Array.from(k.querySelectorAll(`[${p}]`));return Array.from(w.itemMap.values()).sort((x,S)=>m.indexOf(x.ref.current)-m.indexOf(S.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:l,Slot:a,ItemSlot:d},g,r]}const M0=u.createContext(void 0);function cp(e){const t=u.useContext(M0);return e||t||"ltr"}function A0(e,t=globalThis==null?void 0:globalThis.document){const n=ht(e);u.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Ds="dismissableLayer.update",O0="dismissableLayer.pointerDownOutside",D0="dismissableLayer.focusOutside";let du;const I0=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),up=u.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:s,onDismiss:a,...c}=e,p=u.useContext(I0),[d,g]=u.useState(null),v=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,w]=u.useState({}),y=Se(t,C=>g(C)),k=Array.from(p.layers),[m]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),f=k.indexOf(m),h=d?k.indexOf(d):-1,x=p.layersWithOutsidePointerEventsDisabled.size>0,S=h>=f,E=L0(C=>{const O=C.target,T=[...p.branches].some(B=>B.contains(O));!S||T||(i==null||i(C),s==null||s(C),C.defaultPrevented||a==null||a())},v),b=z0(C=>{const O=C.target;[...p.branches].some(B=>B.contains(O))||(l==null||l(C),s==null||s(C),C.defaultPrevented||a==null||a())},v);return A0(C=>{h===p.layers.size-1&&(o==null||o(C),!C.defaultPrevented&&a&&(C.preventDefault(),a()))},v),u.useEffect(()=>{if(d)return r&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(du=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(d)),p.layers.add(d),fu(),()=>{r&&p.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=du)}},[d,v,r,p]),u.useEffect(()=>()=>{d&&(p.layers.delete(d),p.layersWithOutsidePointerEventsDisabled.delete(d),fu())},[d,p]),u.useEffect(()=>{const C=()=>w({});return document.addEventListener(Ds,C),()=>document.removeEventListener(Ds,C)},[]),u.createElement(ge.div,D({},c,{ref:y,style:{pointerEvents:x?S?"auto":"none":void 0,...e.style},onFocusCapture:z(e.onFocusCapture,b.onFocusCapture),onBlurCapture:z(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:z(e.onPointerDownCapture,E.onPointerDownCapture)}))});function L0(e,t=globalThis==null?void 0:globalThis.document){const n=ht(e),r=u.useRef(!1),o=u.useRef(()=>{});return u.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let p=function(){dp(O0,n,c,{discrete:!0})};var a=p;const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=p,t.addEventListener("click",o.current,{once:!0})):p()}else t.removeEventListener("click",o.current);r.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function z0(e,t=globalThis==null?void 0:globalThis.document){const n=ht(e),r=u.useRef(!1);return u.useEffect(()=>{const o=i=>{i.target&&!r.current&&dp(D0,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function fu(){const e=new CustomEvent(Ds);document.dispatchEvent(e)}function dp(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?rp(o,i):o.dispatchEvent(i)}let Nl=0;function fp(){u.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:pu()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:pu()),Nl++,()=>{Nl===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Nl--}},[])}function pu(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Tl="focusScope.autoFocusOnMount",Ml="focusScope.autoFocusOnUnmount",mu={bubbles:!1,cancelable:!0},pp=u.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...l}=e,[s,a]=u.useState(null),c=ht(o),p=ht(i),d=u.useRef(null),g=Se(t,y=>a(y)),v=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(r){let f=function(E){if(v.paused||!s)return;const b=E.target;s.contains(b)?d.current=b:Lt(d.current,{select:!0})},h=function(E){if(v.paused||!s)return;const b=E.relatedTarget;b!==null&&(s.contains(b)||Lt(d.current,{select:!0}))},x=function(E){if(document.activeElement===document.body)for(const C of E)C.removedNodes.length>0&&Lt(s)};var y=f,k=h,m=x;document.addEventListener("focusin",f),document.addEventListener("focusout",h);const S=new MutationObserver(x);return s&&S.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",h),S.disconnect()}}},[r,s,v.paused]),u.useEffect(()=>{if(s){hu.add(v);const y=document.activeElement;if(!s.contains(y)){const m=new CustomEvent(Tl,mu);s.addEventListener(Tl,c),s.dispatchEvent(m),m.defaultPrevented||(F0(W0(mp(s)),{select:!0}),document.activeElement===y&&Lt(s))}return()=>{s.removeEventListener(Tl,c),setTimeout(()=>{const m=new CustomEvent(Ml,mu);s.addEventListener(Ml,p),s.dispatchEvent(m),m.defaultPrevented||Lt(y??document.body,{select:!0}),s.removeEventListener(Ml,p),hu.remove(v)},0)}}},[s,c,p,v]);const w=u.useCallback(y=>{if(!n&&!r||v.paused)return;const k=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,m=document.activeElement;if(k&&m){const f=y.currentTarget,[h,x]=j0(f);h&&x?!y.shiftKey&&m===x?(y.preventDefault(),n&&Lt(h,{select:!0})):y.shiftKey&&m===h&&(y.preventDefault(),n&&Lt(x,{select:!0})):m===f&&y.preventDefault()}},[n,r,v.paused]);return u.createElement(ge.div,D({tabIndex:-1},l,{ref:g,onKeyDown:w}))});function F0(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Lt(r,{select:t}),document.activeElement!==n)return}function j0(e){const t=mp(e),n=gu(t,e),r=gu(t.reverse(),e);return[n,r]}function mp(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function gu(e,t){for(const n of e)if(!U0(n,{upTo:t}))return n}function U0(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function B0(e){return e instanceof HTMLInputElement&&"select"in e}function Lt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&B0(e)&&t&&e.select()}}const hu=V0();function V0(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=vu(e,t),e.unshift(t)},remove(t){var n;e=vu(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function vu(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function W0(e){return e.filter(t=>t.tagName!=="A")}const ir=globalThis!=null&&globalThis.document?u.useLayoutEffect:()=>{},H0=rg.useId||(()=>{});let G0=0;function Xn(e){const[t,n]=u.useState(H0());return ir(()=>{e||n(r=>r??String(G0++))},[e]),e||(t?`radix-${t}`:"")}const K0=["top","right","bottom","left"],en=Math.min,Ie=Math.max,Ni=Math.round,Lo=Math.floor,tn=e=>({x:e,y:e}),Q0={left:"right",right:"left",bottom:"top",top:"bottom"},Y0={start:"end",end:"start"};function Is(e,t,n){return Ie(e,en(t,n))}function Rt(e,t){return typeof e=="function"?e(t):e}function Nt(e){return e.split("-")[0]}function fr(e){return e.split("-")[1]}function Fa(e){return e==="x"?"y":"x"}function ja(e){return e==="y"?"height":"width"}function pr(e){return["top","bottom"].includes(Nt(e))?"y":"x"}function Ua(e){return Fa(pr(e))}function X0(e,t,n){n===void 0&&(n=!1);const r=fr(e),o=Ua(e),i=ja(o);let l=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Ti(l)),[l,Ti(l)]}function J0(e){const t=Ti(e);return[Ls(e),t,Ls(t)]}function Ls(e){return e.replace(/start|end/g,t=>Y0[t])}function Z0(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:l;default:return[]}}function q0(e,t,n,r){const o=fr(e);let i=Z0(Nt(e),n==="start",r);return o&&(i=i.map(l=>l+"-"+o),t&&(i=i.concat(i.map(Ls)))),i}function Ti(e){return e.replace(/left|right|bottom|top/g,t=>Q0[t])}function e1(e){return{top:0,right:0,bottom:0,left:0,...e}}function gp(e){return typeof e!="number"?e1(e):{top:e,right:e,bottom:e,left:e}}function Mi(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function yu(e,t,n){let{reference:r,floating:o}=e;const i=pr(t),l=Ua(t),s=ja(l),a=Nt(t),c=i==="y",p=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,g=r[s]/2-o[s]/2;let v;switch(a){case"top":v={x:p,y:r.y-o.height};break;case"bottom":v={x:p,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:d};break;case"left":v={x:r.x-o.width,y:d};break;default:v={x:r.x,y:r.y}}switch(fr(t)){case"start":v[l]-=g*(n&&c?-1:1);break;case"end":v[l]+=g*(n&&c?-1:1);break}return v}const t1=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),a=await(l.isRTL==null?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:p,y:d}=yu(c,r,a),g=r,v={},w=0;for(let y=0;y({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:l,elements:s,middlewareData:a}=t,{element:c,padding:p=0}=Rt(e,t)||{};if(c==null)return{};const d=gp(p),g={x:n,y:r},v=Ua(o),w=ja(v),y=await l.getDimensions(c),k=v==="y",m=k?"top":"left",f=k?"bottom":"right",h=k?"clientHeight":"clientWidth",x=i.reference[w]+i.reference[v]-g[v]-i.floating[w],S=g[v]-i.reference[v],E=await(l.getOffsetParent==null?void 0:l.getOffsetParent(c));let b=E?E[h]:0;(!b||!await(l.isElement==null?void 0:l.isElement(E)))&&(b=s.floating[h]||i.floating[w]);const C=x/2-S/2,O=b/2-y[w]/2-1,T=en(d[m],O),B=en(d[f],O),A=T,Z=b-y[w]-B,F=b/2-y[w]/2+C,V=Is(A,F,Z),K=!a.arrow&&fr(o)!=null&&F!==V&&i.reference[w]/2-(FA<=0)){var O,T;const A=(((O=i.flip)==null?void 0:O.index)||0)+1,Z=S[A];if(Z)return{data:{index:A,overflows:C},reset:{placement:Z}};let F=(T=C.filter(V=>V.overflows[0]<=0).sort((V,K)=>V.overflows[1]-K.overflows[1])[0])==null?void 0:T.placement;if(!F)switch(v){case"bestFit":{var B;const V=(B=C.map(K=>[K.placement,K.overflows.filter(j=>j>0).reduce((j,R)=>j+R,0)]).sort((K,j)=>K[1]-j[1])[0])==null?void 0:B[0];V&&(F=V);break}case"initialPlacement":F=s;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function wu(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function xu(e){return K0.some(t=>e[t]>=0)}const o1=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Rt(e,t);switch(r){case"referenceHidden":{const i=await to(t,{...o,elementContext:"reference"}),l=wu(i,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:xu(l)}}}case"escaped":{const i=await to(t,{...o,altBoundary:!0}),l=wu(i,n.floating);return{data:{escapedOffsets:l,escaped:xu(l)}}}default:return{}}}}};async function i1(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),l=Nt(n),s=fr(n),a=pr(n)==="y",c=["left","top"].includes(l)?-1:1,p=i&&a?-1:1,d=Rt(t,e);let{mainAxis:g,crossAxis:v,alignmentAxis:w}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof w=="number"&&(v=s==="end"?w*-1:w),a?{x:v*p,y:g*c}:{x:g*c,y:v*p}}const l1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:l,middlewareData:s}=t,a=await i1(t,e);return l===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:l}}}}},s1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:k=>{let{x:m,y:f}=k;return{x:m,y:f}}},...a}=Rt(e,t),c={x:n,y:r},p=await to(t,a),d=pr(Nt(o)),g=Fa(d);let v=c[g],w=c[d];if(i){const k=g==="y"?"top":"left",m=g==="y"?"bottom":"right",f=v+p[k],h=v-p[m];v=Is(f,v,h)}if(l){const k=d==="y"?"top":"left",m=d==="y"?"bottom":"right",f=w+p[k],h=w-p[m];w=Is(f,w,h)}const y=s.fn({...t,[g]:v,[d]:w});return{...y,data:{x:y.x-n,y:y.y-r}}}}},a1=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:l}=t,{offset:s=0,mainAxis:a=!0,crossAxis:c=!0}=Rt(e,t),p={x:n,y:r},d=pr(o),g=Fa(d);let v=p[g],w=p[d];const y=Rt(s,t),k=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(a){const h=g==="y"?"height":"width",x=i.reference[g]-i.floating[h]+k.mainAxis,S=i.reference[g]+i.reference[h]-k.mainAxis;vS&&(v=S)}if(c){var m,f;const h=g==="y"?"width":"height",x=["top","left"].includes(Nt(o)),S=i.reference[d]-i.floating[h]+(x&&((m=l.offset)==null?void 0:m[d])||0)+(x?0:k.crossAxis),E=i.reference[d]+i.reference[h]+(x?0:((f=l.offset)==null?void 0:f[d])||0)-(x?k.crossAxis:0);wE&&(w=E)}return{[g]:v,[d]:w}}}},c1=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:l=()=>{},...s}=Rt(e,t),a=await to(t,s),c=Nt(n),p=fr(n),d=pr(n)==="y",{width:g,height:v}=r.floating;let w,y;c==="top"||c==="bottom"?(w=c,y=p===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(y=c,w=p==="end"?"top":"bottom");const k=v-a[w],m=g-a[y],f=!t.middlewareData.shift;let h=k,x=m;if(d){const E=g-a.left-a.right;x=p||f?en(m,E):E}else{const E=v-a.top-a.bottom;h=p||f?en(k,E):E}if(f&&!p){const E=Ie(a.left,0),b=Ie(a.right,0),C=Ie(a.top,0),O=Ie(a.bottom,0);d?x=g-2*(E!==0||b!==0?E+b:Ie(a.left,a.right)):h=v-2*(C!==0||O!==0?C+O:Ie(a.top,a.bottom))}await l({...t,availableWidth:x,availableHeight:h});const S=await o.getDimensions(i.floating);return g!==S.width||v!==S.height?{reset:{rects:!0}}:{}}}};function nn(e){return hp(e)?(e.nodeName||"").toLowerCase():"#document"}function Fe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function At(e){var t;return(t=(hp(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function hp(e){return e instanceof Node||e instanceof Fe(e).Node}function Tt(e){return e instanceof Element||e instanceof Fe(e).Element}function vt(e){return e instanceof HTMLElement||e instanceof Fe(e).HTMLElement}function ku(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Fe(e).ShadowRoot}function mo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Je(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function u1(e){return["table","td","th"].includes(nn(e))}function Ba(e){const t=Va(),n=Je(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function d1(e){let t=lr(e);for(;vt(t)&&!el(t);){if(Ba(t))return t;t=lr(t)}return null}function Va(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function el(e){return["html","body","#document"].includes(nn(e))}function Je(e){return Fe(e).getComputedStyle(e)}function tl(e){return Tt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function lr(e){if(nn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ku(e)&&e.host||At(e);return ku(t)?t.host:t}function vp(e){const t=lr(e);return el(t)?e.ownerDocument?e.ownerDocument.body:e.body:vt(t)&&mo(t)?t:vp(t)}function no(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=vp(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),l=Fe(o);return i?t.concat(l,l.visualViewport||[],mo(o)?o:[],l.frameElement&&n?no(l.frameElement):[]):t.concat(o,no(o,[],n))}function yp(e){const t=Je(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=vt(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,s=Ni(n)!==i||Ni(r)!==l;return s&&(n=i,r=l),{width:n,height:r,$:s}}function Wa(e){return Tt(e)?e:e.contextElement}function Jn(e){const t=Wa(e);if(!vt(t))return tn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=yp(t);let l=(i?Ni(n.width):n.width)/r,s=(i?Ni(n.height):n.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const f1=tn(0);function wp(e){const t=Fe(e);return!Va()||!t.visualViewport?f1:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function p1(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Fe(e)?!1:t}function bn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Wa(e);let l=tn(1);t&&(r?Tt(r)&&(l=Jn(r)):l=Jn(e));const s=p1(i,n,r)?wp(i):tn(0);let a=(o.left+s.x)/l.x,c=(o.top+s.y)/l.y,p=o.width/l.x,d=o.height/l.y;if(i){const g=Fe(i),v=r&&Tt(r)?Fe(r):r;let w=g,y=w.frameElement;for(;y&&r&&v!==w;){const k=Jn(y),m=y.getBoundingClientRect(),f=Je(y),h=m.left+(y.clientLeft+parseFloat(f.paddingLeft))*k.x,x=m.top+(y.clientTop+parseFloat(f.paddingTop))*k.y;a*=k.x,c*=k.y,p*=k.x,d*=k.y,a+=h,c+=x,w=Fe(y),y=w.frameElement}}return Mi({width:p,height:d,x:a,y:c})}const m1=[":popover-open",":modal"];function xp(e){return m1.some(t=>{try{return e.matches(t)}catch{return!1}})}function g1(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",l=At(r),s=t?xp(t.floating):!1;if(r===l||s&&i)return n;let a={scrollLeft:0,scrollTop:0},c=tn(1);const p=tn(0),d=vt(r);if((d||!d&&!i)&&((nn(r)!=="body"||mo(l))&&(a=tl(r)),vt(r))){const g=bn(r);c=Jn(r),p.x=g.x+r.clientLeft,p.y=g.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+p.x,y:n.y*c.y-a.scrollTop*c.y+p.y}}function h1(e){return Array.from(e.getClientRects())}function kp(e){return bn(At(e)).left+tl(e).scrollLeft}function v1(e){const t=At(e),n=tl(e),r=e.ownerDocument.body,o=Ie(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ie(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+kp(e);const s=-n.scrollTop;return Je(r).direction==="rtl"&&(l+=Ie(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:s}}function y1(e,t){const n=Fe(e),r=At(e),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,s=0,a=0;if(o){i=o.width,l=o.height;const c=Va();(!c||c&&t==="fixed")&&(s=o.offsetLeft,a=o.offsetTop)}return{width:i,height:l,x:s,y:a}}function w1(e,t){const n=bn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=vt(e)?Jn(e):tn(1),l=e.clientWidth*i.x,s=e.clientHeight*i.y,a=o*i.x,c=r*i.y;return{width:l,height:s,x:a,y:c}}function Su(e,t,n){let r;if(t==="viewport")r=y1(e,n);else if(t==="document")r=v1(At(e));else if(Tt(t))r=w1(t,n);else{const o=wp(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Mi(r)}function Sp(e,t){const n=lr(e);return n===t||!Tt(n)||el(n)?!1:Je(n).position==="fixed"||Sp(n,t)}function x1(e,t){const n=t.get(e);if(n)return n;let r=no(e,[],!1).filter(s=>Tt(s)&&nn(s)!=="body"),o=null;const i=Je(e).position==="fixed";let l=i?lr(e):e;for(;Tt(l)&&!el(l);){const s=Je(l),a=Ba(l);!a&&s.position==="fixed"&&(o=null),(i?!a&&!o:!a&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||mo(l)&&!a&&Sp(e,l))?r=r.filter(p=>p!==l):o=s,l=lr(l)}return t.set(e,r),r}function k1(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const l=[...n==="clippingAncestors"?x1(t,this._c):[].concat(n),r],s=l[0],a=l.reduce((c,p)=>{const d=Su(t,p,o);return c.top=Ie(d.top,c.top),c.right=en(d.right,c.right),c.bottom=en(d.bottom,c.bottom),c.left=Ie(d.left,c.left),c},Su(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function S1(e){const{width:t,height:n}=yp(e);return{width:t,height:n}}function b1(e,t,n){const r=vt(t),o=At(t),i=n==="fixed",l=bn(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const a=tn(0);if(r||!r&&!i)if((nn(t)!=="body"||mo(o))&&(s=tl(t)),r){const d=bn(t,!0,i,t);a.x=d.x+t.clientLeft,a.y=d.y+t.clientTop}else o&&(a.x=kp(o));const c=l.left+s.scrollLeft-a.x,p=l.top+s.scrollTop-a.y;return{x:c,y:p,width:l.width,height:l.height}}function bu(e,t){return!vt(e)||Je(e).position==="fixed"?null:t?t(e):e.offsetParent}function bp(e,t){const n=Fe(e);if(!vt(e)||xp(e))return n;let r=bu(e,t);for(;r&&u1(r)&&Je(r).position==="static";)r=bu(r,t);return r&&(nn(r)==="html"||nn(r)==="body"&&Je(r).position==="static"&&!Ba(r))?n:r||d1(e)||n}const $1=async function(e){const t=this.getOffsetParent||bp,n=this.getDimensions;return{reference:b1(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}};function E1(e){return Je(e).direction==="rtl"}const C1={convertOffsetParentRelativeRectToViewportRelativeRect:g1,getDocumentElement:At,getClippingRect:k1,getOffsetParent:bp,getElementRects:$1,getClientRects:h1,getDimensions:S1,getScale:Jn,isElement:Tt,isRTL:E1};function _1(e,t){let n=null,r;const o=At(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function l(s,a){s===void 0&&(s=!1),a===void 0&&(a=1),i();const{left:c,top:p,width:d,height:g}=e.getBoundingClientRect();if(s||t(),!d||!g)return;const v=Lo(p),w=Lo(o.clientWidth-(c+d)),y=Lo(o.clientHeight-(p+g)),k=Lo(c),f={rootMargin:-v+"px "+-w+"px "+-y+"px "+-k+"px",threshold:Ie(0,en(1,a))||1};let h=!0;function x(S){const E=S[0].intersectionRatio;if(E!==a){if(!h)return l();E?l(!1,E):r=setTimeout(()=>{l(!1,1e-7)},100)}h=!1}try{n=new IntersectionObserver(x,{...f,root:o.ownerDocument})}catch{n=new IntersectionObserver(x,f)}n.observe(e)}return l(!0),i}function P1(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,c=Wa(e),p=o||i?[...c?no(c):[],...no(t)]:[];p.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const d=c&&s?_1(c,n):null;let g=-1,v=null;l&&(v=new ResizeObserver(m=>{let[f]=m;f&&f.target===c&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var h;(h=v)==null||h.observe(t)})),n()}),c&&!a&&v.observe(c),v.observe(t));let w,y=a?bn(e):null;a&&k();function k(){const m=bn(e);y&&(m.x!==y.x||m.y!==y.y||m.width!==y.width||m.height!==y.height)&&n(),y=m,w=requestAnimationFrame(k)}return n(),()=>{var m;p.forEach(f=>{o&&f.removeEventListener("scroll",n),i&&f.removeEventListener("resize",n)}),d==null||d(),(m=v)==null||m.disconnect(),v=null,a&&cancelAnimationFrame(w)}}const R1=s1,N1=r1,T1=c1,M1=o1,$u=n1,A1=a1,O1=(e,t,n)=>{const r=new Map,o={platform:C1,...n},i={...o.platform,_c:r};return t1(e,t,{...o,platform:i})},D1=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?$u({element:r.current,padding:o}).fn(n):{}:r?$u({element:r,padding:o}).fn(n):{}}}};var ni=typeof document<"u"?u.useLayoutEffect:u.useEffect;function Ai(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ai(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Ai(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function $p(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Eu(e,t){const n=$p(e);return Math.round(t*n)/n}function Cu(e){const t=u.useRef(e);return ni(()=>{t.current=e}),t}function I1(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:l}={},transform:s=!0,whileElementsMounted:a,open:c}=e,[p,d]=u.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,v]=u.useState(r);Ai(g,r)||v(r);const[w,y]=u.useState(null),[k,m]=u.useState(null),f=u.useCallback(j=>{j!==E.current&&(E.current=j,y(j))},[]),h=u.useCallback(j=>{j!==b.current&&(b.current=j,m(j))},[]),x=i||w,S=l||k,E=u.useRef(null),b=u.useRef(null),C=u.useRef(p),O=a!=null,T=Cu(a),B=Cu(o),A=u.useCallback(()=>{if(!E.current||!b.current)return;const j={placement:t,strategy:n,middleware:g};B.current&&(j.platform=B.current),O1(E.current,b.current,j).then(R=>{const _={...R,isPositioned:!0};Z.current&&!Ai(C.current,_)&&(C.current=_,fo.flushSync(()=>{d(_)}))})},[g,t,n,B]);ni(()=>{c===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,d(j=>({...j,isPositioned:!1})))},[c]);const Z=u.useRef(!1);ni(()=>(Z.current=!0,()=>{Z.current=!1}),[]),ni(()=>{if(x&&(E.current=x),S&&(b.current=S),x&&S){if(T.current)return T.current(x,S,A);A()}},[x,S,A,T,O]);const F=u.useMemo(()=>({reference:E,floating:b,setReference:f,setFloating:h}),[f,h]),V=u.useMemo(()=>({reference:x,floating:S}),[x,S]),K=u.useMemo(()=>{const j={position:n,left:0,top:0};if(!V.floating)return j;const R=Eu(V.floating,p.x),_=Eu(V.floating,p.y);return s?{...j,transform:"translate("+R+"px, "+_+"px)",...$p(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:_}},[n,s,V.floating,p.x,p.y]);return u.useMemo(()=>({...p,update:A,refs:F,elements:V,floatingStyles:K}),[p,A,F,V,K])}function L1(e){const[t,n]=u.useState(void 0);return ir(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let l,s;if("borderBoxSize"in i){const a=i.borderBoxSize,c=Array.isArray(a)?a[0]:a;l=c.inlineSize,s=c.blockSize}else l=e.offsetWidth,s=e.offsetHeight;n({width:l,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Ep="Popper",[Cp,_p]=dr(Ep),[z1,Pp]=Cp(Ep),F1=e=>{const{__scopePopper:t,children:n}=e,[r,o]=u.useState(null);return u.createElement(z1,{scope:t,anchor:r,onAnchorChange:o},n)},j1="PopperAnchor",U1=u.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Pp(j1,n),l=u.useRef(null),s=Se(t,l);return u.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||l.current)}),r?null:u.createElement(ge.div,D({},o,{ref:s}))}),Rp="PopperContent",[B1,L2]=Cp(Rp),V1=u.forwardRef((e,t)=>{var n,r,o,i,l,s,a,c;const{__scopePopper:p,side:d="bottom",sideOffset:g=0,align:v="center",alignOffset:w=0,arrowPadding:y=0,avoidCollisions:k=!0,collisionBoundary:m=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:x=!1,updatePositionStrategy:S="optimized",onPlaced:E,...b}=e,C=Pp(Rp,p),[O,T]=u.useState(null),B=Se(t,mr=>T(mr)),[A,Z]=u.useState(null),F=L1(A),V=(n=F==null?void 0:F.width)!==null&&n!==void 0?n:0,K=(r=F==null?void 0:F.height)!==null&&r!==void 0?r:0,j=d+(v!=="center"?"-"+v:""),R=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},_=Array.isArray(m)?m:[m],M=_.length>0,I={padding:R,boundary:_.filter(W1),altBoundary:M},{refs:W,floatingStyles:Me,placement:Ae,isPositioned:qe,middlewareData:se}=I1({strategy:"fixed",placement:j,whileElementsMounted:(...mr)=>P1(...mr,{animationFrame:S==="always"}),elements:{reference:C.anchor},middleware:[l1({mainAxis:g+K,alignmentAxis:w}),k&&R1({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?A1():void 0,...I}),k&&N1({...I}),T1({...I,apply:({elements:mr,rects:Ja,availableWidth:Dm,availableHeight:Im})=>{const{width:Lm,height:zm}=Ja.reference,yo=mr.floating.style;yo.setProperty("--radix-popper-available-width",`${Dm}px`),yo.setProperty("--radix-popper-available-height",`${Im}px`),yo.setProperty("--radix-popper-anchor-width",`${Lm}px`),yo.setProperty("--radix-popper-anchor-height",`${zm}px`)}}),A&&D1({element:A,padding:y}),H1({arrowWidth:V,arrowHeight:K}),x&&M1({strategy:"referenceHidden",...I})]}),[Oe,ho]=Np(Ae),Ee=ht(E);ir(()=>{qe&&(Ee==null||Ee())},[qe,Ee]);const vo=(o=se.arrow)===null||o===void 0?void 0:o.x,Tm=(i=se.arrow)===null||i===void 0?void 0:i.y,Mm=((l=se.arrow)===null||l===void 0?void 0:l.centerOffset)!==0,[Am,Om]=u.useState();return ir(()=>{O&&Om(window.getComputedStyle(O).zIndex)},[O]),u.createElement("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...Me,transform:qe?Me.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Am,"--radix-popper-transform-origin":[(s=se.transformOrigin)===null||s===void 0?void 0:s.x,(a=se.transformOrigin)===null||a===void 0?void 0:a.y].join(" ")},dir:e.dir},u.createElement(B1,{scope:p,placedSide:Oe,onArrowChange:Z,arrowX:vo,arrowY:Tm,shouldHideArrow:Mm},u.createElement(ge.div,D({"data-side":Oe,"data-align":ho},b,{ref:B,style:{...b.style,animation:qe?void 0:"none",opacity:(c=se.hide)!==null&&c!==void 0&&c.referenceHidden?0:void 0}}))))});function W1(e){return e!==null}const H1=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;const{placement:s,rects:a,middlewareData:c}=t,d=((n=c.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,g=d?0:e.arrowWidth,v=d?0:e.arrowHeight,[w,y]=Np(s),k={start:"0%",center:"50%",end:"100%"}[y],m=((r=(o=c.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+g/2,f=((i=(l=c.arrow)===null||l===void 0?void 0:l.y)!==null&&i!==void 0?i:0)+v/2;let h="",x="";return w==="bottom"?(h=d?k:`${m}px`,x=`${-v}px`):w==="top"?(h=d?k:`${m}px`,x=`${a.floating.height+v}px`):w==="right"?(h=`${-v}px`,x=d?k:`${f}px`):w==="left"&&(h=`${a.floating.width+v}px`,x=d?k:`${f}px`),{data:{x:h,y:x}}}});function Np(e){const[t,n="center"]=e.split("-");return[t,n]}const G1=F1,K1=U1,Q1=V1,Tp=u.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?pv.createPortal(u.createElement(ge.div,D({},o,{ref:t})),r):null});function Y1(e,t){return u.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const sn=e=>{const{present:t,children:n}=e,r=X1(t),o=typeof n=="function"?n({present:r.isPresent}):u.Children.only(n),i=Se(r.ref,o.ref);return typeof n=="function"||r.isPresent?u.cloneElement(o,{ref:i}):null};sn.displayName="Presence";function X1(e){const[t,n]=u.useState(),r=u.useRef({}),o=u.useRef(e),i=u.useRef("none"),l=e?"mounted":"unmounted",[s,a]=Y1(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{const c=zo(r.current);i.current=s==="mounted"?c:"none"},[s]),ir(()=>{const c=r.current,p=o.current;if(p!==e){const g=i.current,v=zo(c);e?a("MOUNT"):v==="none"||(c==null?void 0:c.display)==="none"?a("UNMOUNT"):a(p&&g!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),ir(()=>{if(t){const c=d=>{const v=zo(r.current).includes(d.animationName);d.target===t&&v&&fo.flushSync(()=>a("ANIMATION_END"))},p=d=>{d.target===t&&(i.current=zo(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:u.useCallback(c=>{c&&(r.current=getComputedStyle(c)),n(c)},[])}}function zo(e){return(e==null?void 0:e.animationName)||"none"}const Al="rovingFocusGroup.onEntryFocus",J1={bubbles:!1,cancelable:!0},Ha="RovingFocusGroup",[zs,Mp,Z1]=ap(Ha),[q1,Ap]=dr(Ha,[Z1]),[ey,ty]=q1(Ha),ny=u.forwardRef((e,t)=>u.createElement(zs.Provider,{scope:e.__scopeRovingFocusGroup},u.createElement(zs.Slot,{scope:e.__scopeRovingFocusGroup},u.createElement(ry,D({},e,{ref:t}))))),ry=u.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:l,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:a,onEntryFocus:c,...p}=e,d=u.useRef(null),g=Se(t,d),v=cp(i),[w=null,y]=za({prop:l,defaultProp:s,onChange:a}),[k,m]=u.useState(!1),f=ht(c),h=Mp(n),x=u.useRef(!1),[S,E]=u.useState(0);return u.useEffect(()=>{const b=d.current;if(b)return b.addEventListener(Al,f),()=>b.removeEventListener(Al,f)},[f]),u.createElement(ey,{scope:n,orientation:r,dir:v,loop:o,currentTabStopId:w,onItemFocus:u.useCallback(b=>y(b),[y]),onItemShiftTab:u.useCallback(()=>m(!0),[]),onFocusableItemAdd:u.useCallback(()=>E(b=>b+1),[]),onFocusableItemRemove:u.useCallback(()=>E(b=>b-1),[])},u.createElement(ge.div,D({tabIndex:k||S===0?-1:0,"data-orientation":r},p,{ref:g,style:{outline:"none",...e.style},onMouseDown:z(e.onMouseDown,()=>{x.current=!0}),onFocus:z(e.onFocus,b=>{const C=!x.current;if(b.target===b.currentTarget&&C&&!k){const O=new CustomEvent(Al,J1);if(b.currentTarget.dispatchEvent(O),!O.defaultPrevented){const T=h().filter(V=>V.focusable),B=T.find(V=>V.active),A=T.find(V=>V.id===w),F=[B,A,...T].filter(Boolean).map(V=>V.ref.current);Op(F)}}x.current=!1}),onBlur:z(e.onBlur,()=>m(!1))})))}),oy="RovingFocusGroupItem",iy=u.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...l}=e,s=Xn(),a=i||s,c=ty(oy,n),p=c.currentTabStopId===a,d=Mp(n),{onFocusableItemAdd:g,onFocusableItemRemove:v}=c;return u.useEffect(()=>{if(r)return g(),()=>v()},[r,g,v]),u.createElement(zs.ItemSlot,{scope:n,id:a,focusable:r,active:o},u.createElement(ge.span,D({tabIndex:p?0:-1,"data-orientation":c.orientation},l,{ref:t,onMouseDown:z(e.onMouseDown,w=>{r?c.onItemFocus(a):w.preventDefault()}),onFocus:z(e.onFocus,()=>c.onItemFocus(a)),onKeyDown:z(e.onKeyDown,w=>{if(w.key==="Tab"&&w.shiftKey){c.onItemShiftTab();return}if(w.target!==w.currentTarget)return;const y=ay(w,c.orientation,c.dir);if(y!==void 0){w.preventDefault();let m=d().filter(f=>f.focusable).map(f=>f.ref.current);if(y==="last")m.reverse();else if(y==="prev"||y==="next"){y==="prev"&&m.reverse();const f=m.indexOf(w.currentTarget);m=c.loop?cy(m,f+1):m.slice(f+1)}setTimeout(()=>Op(m))}})})))}),ly={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function sy(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ay(e,t,n){const r=sy(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return ly[r]}function Op(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function cy(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const uy=ny,dy=iy;var fy=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Rn=new WeakMap,Fo=new WeakMap,jo={},Ol=0,Dp=function(e){return e&&(e.host||Dp(e.parentNode))},py=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Dp(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},my=function(e,t,n,r){var o=py(t,Array.isArray(e)?e:[e]);jo[n]||(jo[n]=new WeakMap);var i=jo[n],l=[],s=new Set,a=new Set(o),c=function(d){!d||s.has(d)||(s.add(d),c(d.parentNode))};o.forEach(c);var p=function(d){!d||a.has(d)||Array.prototype.forEach.call(d.children,function(g){if(s.has(g))p(g);else{var v=g.getAttribute(r),w=v!==null&&v!=="false",y=(Rn.get(g)||0)+1,k=(i.get(g)||0)+1;Rn.set(g,y),i.set(g,k),l.push(g),y===1&&w&&Fo.set(g,!0),k===1&&g.setAttribute(n,"true"),w||g.setAttribute(r,"true")}})};return p(t),s.clear(),Ol++,function(){l.forEach(function(d){var g=Rn.get(d)-1,v=i.get(d)-1;Rn.set(d,g),i.set(d,v),g||(Fo.has(d)||d.removeAttribute(r),Fo.delete(d)),v||d.removeAttribute(n)}),Ol--,Ol||(Rn=new WeakMap,Rn=new WeakMap,Fo=new WeakMap,jo={})}},Ip=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||fy(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),my(r,o,n,"aria-hidden")):function(){return null}},dt=function(){return dt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return Ny;var t=Ty(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ay=jp(),Oi="data-scroll-locked",Oy=function(e,t,n,r){var o=e.left,i=e.top,l=e.right,s=e.gap;return n===void 0&&(n="margin"),` .`.concat(hy,` { overflow: hidden `).concat(r,`; padding-right: `).concat(s,"px ").concat(r,`; } - body[`).concat(Ai,`] { + body[`).concat(Oi,`] { overflow: hidden `).concat(r,`; overscroll-behavior: contain; `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` @@ -155,10 +155,10 @@ Defaulting to \`${As}\`.`}function ip(e){return b0.includes(e)}const lp=op,sp=u. margin-right: 0 `).concat(r,`; } - body[`).concat(Ai,`] { + body[`).concat(Oi,`] { `).concat(vy,": ").concat(s,`px; } -`)},Dy=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=u.useMemo(function(){return My(o)},[o]);return u.useEffect(function(){return document.body.setAttribute(Ai,""),function(){document.body.removeAttribute(Ai)}},[]),u.createElement(Ay,{styles:Oy(i,!t,o,n?"":"!important")})},zs=!1;if(typeof window<"u")try{var Uo=Object.defineProperty({},"passive",{get:function(){return zs=!0,!0}});window.addEventListener("test",Uo,Uo),window.removeEventListener("test",Uo,Uo)}catch{zs=!1}var Nn=zs?{passive:!1}:!1,Iy=function(e){return e.tagName==="TEXTAREA"},Up=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Iy(e)&&n[t]==="visible")},Ly=function(e){return Up(e,"overflowY")},zy=function(e){return Up(e,"overflowX")},Pu=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Bp(e,n);if(r){var o=Vp(e,n),i=o[1],l=o[2];if(i>l)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Fy=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},jy=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Bp=function(e,t){return e==="v"?Ly(t):zy(t)},Vp=function(e,t){return e==="v"?Fy(t):jy(t)},Uy=function(e,t){return e==="h"&&t==="rtl"?-1:1},By=function(e,t,n,r,o){var i=Uy(e,window.getComputedStyle(t).direction),l=i*r,s=n.target,a=t.contains(s),c=!1,p=l>0,d=0,g=0;do{var v=Vp(e,s),w=v[0],y=v[1],k=v[2],m=y-k-i*w;(w||m)&&Bp(e,s)&&(d+=m,g+=w),s=s.parentNode}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return(p&&(o&&d===0||!o&&l>d)||!p&&(o&&g===0||!o&&-l>g))&&(c=!0),c},Bo=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ru=function(e){return[e.deltaX,e.deltaY]},Nu=function(e){return e&&"current"in e?e.current:e},Vy=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Wy=function(e){return` +`)},Dy=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=u.useMemo(function(){return My(o)},[o]);return u.useEffect(function(){return document.body.setAttribute(Oi,""),function(){document.body.removeAttribute(Oi)}},[]),u.createElement(Ay,{styles:Oy(i,!t,o,n?"":"!important")})},Fs=!1;if(typeof window<"u")try{var Uo=Object.defineProperty({},"passive",{get:function(){return Fs=!0,!0}});window.addEventListener("test",Uo,Uo),window.removeEventListener("test",Uo,Uo)}catch{Fs=!1}var Nn=Fs?{passive:!1}:!1,Iy=function(e){return e.tagName==="TEXTAREA"},Up=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Iy(e)&&n[t]==="visible")},Ly=function(e){return Up(e,"overflowY")},zy=function(e){return Up(e,"overflowX")},Pu=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Bp(e,n);if(r){var o=Vp(e,n),i=o[1],l=o[2];if(i>l)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Fy=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},jy=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Bp=function(e,t){return e==="v"?Ly(t):zy(t)},Vp=function(e,t){return e==="v"?Fy(t):jy(t)},Uy=function(e,t){return e==="h"&&t==="rtl"?-1:1},By=function(e,t,n,r,o){var i=Uy(e,window.getComputedStyle(t).direction),l=i*r,s=n.target,a=t.contains(s),c=!1,p=l>0,d=0,g=0;do{var v=Vp(e,s),w=v[0],y=v[1],k=v[2],m=y-k-i*w;(w||m)&&Bp(e,s)&&(d+=m,g+=w),s=s.parentNode}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return(p&&(o&&d===0||!o&&l>d)||!p&&(o&&g===0||!o&&-l>g))&&(c=!0),c},Bo=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ru=function(e){return[e.deltaX,e.deltaY]},Nu=function(e){return e&&"current"in e?e.current:e},Vy=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Wy=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},Hy=0,Tn=[];function Gy(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),o=u.useState(Hy++)[0],i=u.useState(function(){return jp()})[0],l=u.useRef(e);u.useEffect(function(){l.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var y=gy([e.lockRef.current],(e.shards||[]).map(Nu),!0).filter(Boolean);return y.forEach(function(k){return k.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),y.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=u.useCallback(function(y,k){if("touches"in y&&y.touches.length===2)return!l.current.allowPinchZoom;var m=Bo(y),f=n.current,h="deltaX"in y?y.deltaX:f[0]-m[0],x="deltaY"in y?y.deltaY:f[1]-m[1],S,E=y.target,b=Math.abs(h)>Math.abs(x)?"h":"v";if("touches"in y&&b==="h"&&E.type==="range")return!1;var C=Pu(b,E);if(!C)return!0;if(C?S=b:(S=b==="v"?"h":"v",C=Pu(b,E)),!C)return!1;if(!r.current&&"changedTouches"in y&&(h||x)&&(r.current=S),!S)return!0;var O=r.current||S;return By(O,k,y,O==="h"?h:x,!0)},[]),a=u.useCallback(function(y){var k=y;if(!(!Tn.length||Tn[Tn.length-1]!==i)){var m="deltaY"in k?Ru(k):Bo(k),f=t.current.filter(function(S){return S.name===k.type&&S.target===k.target&&Vy(S.delta,m)})[0];if(f&&f.should){k.cancelable&&k.preventDefault();return}if(!f){var h=(l.current.shards||[]).map(Nu).filter(Boolean).filter(function(S){return S.contains(k.target)}),x=h.length>0?s(k,h[0]):!l.current.noIsolation;x&&k.cancelable&&k.preventDefault()}}},[]),c=u.useCallback(function(y,k,m,f){var h={name:y,delta:k,target:m,should:f};t.current.push(h),setTimeout(function(){t.current=t.current.filter(function(x){return x!==h})},1)},[]),p=u.useCallback(function(y){n.current=Bo(y),r.current=void 0},[]),d=u.useCallback(function(y){c(y.type,Ru(y),y.target,s(y,e.lockRef.current))},[]),g=u.useCallback(function(y){c(y.type,Bo(y),y.target,s(y,e.lockRef.current))},[]);u.useEffect(function(){return Tn.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:g}),document.addEventListener("wheel",a,Nn),document.addEventListener("touchmove",a,Nn),document.addEventListener("touchstart",p,Nn),function(){Tn=Tn.filter(function(y){return y!==i}),document.removeEventListener("wheel",a,Nn),document.removeEventListener("touchmove",a,Nn),document.removeEventListener("touchstart",p,Nn)}},[]);var v=e.removeScrollBar,w=e.inert;return u.createElement(u.Fragment,null,w?u.createElement(i,{styles:Wy(o)}):null,v?u.createElement(Dy,{gapMode:"margin"}):null)}const Ky=by(Fp,Gy);var Wp=u.forwardRef(function(e,t){return u.createElement(tl,dt({},e,{ref:t,sideCar:Ky}))});Wp.classNames=tl.classNames;const Hp=Wp,Fs=["Enter"," "],Qy=["ArrowDown","PageUp","Home"],Gp=["ArrowUp","PageDown","End"],Yy=[...Qy,...Gp],Xy={ltr:[...Fs,"ArrowRight"],rtl:[...Fs,"ArrowLeft"]},Jy={ltr:["ArrowLeft"],rtl:["ArrowRight"]},nl="Menu",[ro,Zy,qy]=ap(nl),[Cn,Kp]=dr(nl,[qy,_p,Ap]),Ha=_p(),Qp=Ap(),[ew,_n]=Cn(nl),[tw,go]=Cn(nl),nw=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:l=!0}=e,s=Ha(t),[a,c]=u.useState(null),p=u.useRef(!1),d=gt(i),g=cp(o);return u.useEffect(()=>{const v=()=>{p.current=!0,document.addEventListener("pointerdown",w,{capture:!0,once:!0}),document.addEventListener("pointermove",w,{capture:!0,once:!0})},w=()=>p.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",w,{capture:!0}),document.removeEventListener("pointermove",w,{capture:!0})}},[]),u.createElement(G1,s,u.createElement(ew,{scope:t,open:n,onOpenChange:d,content:a,onContentChange:c},u.createElement(tw,{scope:t,onClose:u.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:p,dir:g,modal:l},r)))},Yp=u.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Ha(n);return u.createElement(K1,D({},o,r,{ref:t}))}),Xp="MenuPortal",[rw,Jp]=Cn(Xp,{forceMount:void 0}),ow=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=_n(Xp,t);return u.createElement(rw,{scope:t,forceMount:n},u.createElement(sn,{present:n||i.open},u.createElement(Tp,{asChild:!0,container:o},r)))},lt="MenuContent",[iw,Ga]=Cn(lt),lw=u.forwardRef((e,t)=>{const n=Jp(lt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=_n(lt,e.__scopeMenu),l=go(lt,e.__scopeMenu);return u.createElement(ro.Provider,{scope:e.__scopeMenu},u.createElement(sn,{present:r||i.open},u.createElement(ro.Slot,{scope:e.__scopeMenu},l.modal?u.createElement(sw,D({},o,{ref:t})):u.createElement(aw,D({},o,{ref:t})))))}),sw=u.forwardRef((e,t)=>{const n=_n(lt,e.__scopeMenu),r=u.useRef(null),o=Se(t,r);return u.useEffect(()=>{const i=r.current;if(i)return Ip(i)},[]),u.createElement(Ka,D({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:z(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),aw=u.forwardRef((e,t)=>{const n=_n(lt,e.__scopeMenu);return u.createElement(Ka,D({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),Ka=u.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:s,onEntryFocus:a,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:g,onDismiss:v,disableOutsideScroll:w,...y}=e,k=_n(lt,n),m=go(lt,n),f=Ha(n),h=Qp(n),x=Zy(n),[S,E]=u.useState(null),b=u.useRef(null),C=Se(t,b,k.onContentChange),O=u.useRef(0),T=u.useRef(""),B=u.useRef(0),A=u.useRef(null),Z=u.useRef("right"),F=u.useRef(0),V=w?Hp:u.Fragment,K=w?{as:Sn,allowPinchZoom:!0}:void 0,j=_=>{var M,I;const W=T.current+_,Me=x().filter(Ee=>!Ee.disabled),Ae=document.activeElement,qe=(M=Me.find(Ee=>Ee.ref.current===Ae))===null||M===void 0?void 0:M.textValue,se=Me.map(Ee=>Ee.textValue),Oe=$w(se,W,qe),ho=(I=Me.find(Ee=>Ee.textValue===Oe))===null||I===void 0?void 0:I.ref.current;(function Ee(vo){T.current=vo,window.clearTimeout(O.current),vo!==""&&(O.current=window.setTimeout(()=>Ee(""),1e3))})(W),ho&&setTimeout(()=>ho.focus())};u.useEffect(()=>()=>window.clearTimeout(O.current),[]),fp();const R=u.useCallback(_=>{var M,I;return Z.current===((M=A.current)===null||M===void 0?void 0:M.side)&&Cw(_,(I=A.current)===null||I===void 0?void 0:I.area)},[]);return u.createElement(iw,{scope:n,searchRef:T,onItemEnter:u.useCallback(_=>{R(_)&&_.preventDefault()},[R]),onItemLeave:u.useCallback(_=>{var M;R(_)||((M=b.current)===null||M===void 0||M.focus(),E(null))},[R]),onTriggerLeave:u.useCallback(_=>{R(_)&&_.preventDefault()},[R]),pointerGraceTimerRef:B,onPointerGraceIntentChange:u.useCallback(_=>{A.current=_},[])},u.createElement(V,K,u.createElement(pp,{asChild:!0,trapped:o,onMountAutoFocus:z(i,_=>{var M;_.preventDefault(),(M=b.current)===null||M===void 0||M.focus()}),onUnmountAutoFocus:l},u.createElement(up,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:g,onDismiss:v},u.createElement(uy,D({asChild:!0},h,{dir:m.dir,orientation:"vertical",loop:r,currentTabStopId:S,onCurrentTabStopIdChange:E,onEntryFocus:z(a,_=>{m.isUsingKeyboardRef.current||_.preventDefault()})}),u.createElement(Q1,D({role:"menu","aria-orientation":"vertical","data-state":nm(k.open),"data-radix-menu-content":"",dir:m.dir},f,y,{ref:C,style:{outline:"none",...y.style},onKeyDown:z(y.onKeyDown,_=>{const I=_.target.closest("[data-radix-menu-content]")===_.currentTarget,W=_.ctrlKey||_.altKey||_.metaKey,Me=_.key.length===1;I&&(_.key==="Tab"&&_.preventDefault(),!W&&Me&&j(_.key));const Ae=b.current;if(_.target!==Ae||!Yy.includes(_.key))return;_.preventDefault();const se=x().filter(Oe=>!Oe.disabled).map(Oe=>Oe.ref.current);Gp.includes(_.key)&&se.reverse(),Sw(se)}),onBlur:z(e.onBlur,_=>{_.currentTarget.contains(_.target)||(window.clearTimeout(O.current),T.current="")}),onPointerMove:z(e.onPointerMove,oo(_=>{const M=_.target,I=F.current!==_.clientX;if(_.currentTarget.contains(M)&&I){const W=_.clientX>F.current?"right":"left";Z.current=W,F.current=_.clientX}}))})))))))}),cw=u.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return u.createElement(ge.div,D({},r,{ref:t}))}),js="MenuItem",Tu="menu.itemSelect",Qa=u.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=u.useRef(null),l=go(js,e.__scopeMenu),s=Ga(js,e.__scopeMenu),a=Se(t,i),c=u.useRef(!1),p=()=>{const d=i.current;if(!n&&d){const g=new CustomEvent(Tu,{bubbles:!0,cancelable:!0});d.addEventListener(Tu,v=>r==null?void 0:r(v),{once:!0}),rp(d,g),g.defaultPrevented?c.current=!1:l.onClose()}};return u.createElement(Zp,D({},o,{ref:a,disabled:n,onClick:z(e.onClick,p),onPointerDown:d=>{var g;(g=e.onPointerDown)===null||g===void 0||g.call(e,d),c.current=!0},onPointerUp:z(e.onPointerUp,d=>{var g;c.current||(g=d.currentTarget)===null||g===void 0||g.click()}),onKeyDown:z(e.onKeyDown,d=>{const g=s.searchRef.current!=="";n||g&&d.key===" "||Fs.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})}))}),Zp=u.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,l=Ga(js,n),s=Qp(n),a=u.useRef(null),c=Se(t,a),[p,d]=u.useState(!1),[g,v]=u.useState("");return u.useEffect(()=>{const w=a.current;if(w){var y;v(((y=w.textContent)!==null&&y!==void 0?y:"").trim())}},[i.children]),u.createElement(ro.ItemSlot,{scope:n,disabled:r,textValue:o??g},u.createElement(dy,D({asChild:!0},s,{focusable:!r}),u.createElement(ge.div,D({role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},i,{ref:c,onPointerMove:z(e.onPointerMove,oo(w=>{r?l.onItemLeave(w):(l.onItemEnter(w),w.defaultPrevented||w.currentTarget.focus())})),onPointerLeave:z(e.onPointerLeave,oo(w=>l.onItemLeave(w))),onFocus:z(e.onFocus,()=>d(!0)),onBlur:z(e.onBlur,()=>d(!1))}))))}),uw=u.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return u.createElement(em,{scope:e.__scopeMenu,checked:n},u.createElement(Qa,D({role:"menuitemcheckbox","aria-checked":Oi(n)?"mixed":n},o,{ref:t,"data-state":Ya(n),onSelect:z(o.onSelect,()=>r==null?void 0:r(Oi(n)?!0:!n),{checkForDefaultPrevented:!1})})))}),dw="MenuRadioGroup",[z2,fw]=Cn(dw,{value:void 0,onValueChange:()=>{}}),pw="MenuRadioItem",mw=u.forwardRef((e,t)=>{const{value:n,...r}=e,o=fw(pw,e.__scopeMenu),i=n===o.value;return u.createElement(em,{scope:e.__scopeMenu,checked:i},u.createElement(Qa,D({role:"menuitemradio","aria-checked":i},r,{ref:t,"data-state":Ya(i),onSelect:z(r.onSelect,()=>{var l;return(l=o.onValueChange)===null||l===void 0?void 0:l.call(o,n)},{checkForDefaultPrevented:!1})})))}),qp="MenuItemIndicator",[em,gw]=Cn(qp,{checked:!1}),hw=u.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=gw(qp,n);return u.createElement(sn,{present:r||Oi(i.checked)||i.checked===!0},u.createElement(ge.span,D({},o,{ref:t,"data-state":Ya(i.checked)})))}),vw=u.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return u.createElement(ge.div,D({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))}),yw="MenuSub",[F2,tm]=Cn(yw),Vo="MenuSubTrigger",ww=u.forwardRef((e,t)=>{const n=_n(Vo,e.__scopeMenu),r=go(Vo,e.__scopeMenu),o=tm(Vo,e.__scopeMenu),i=Ga(Vo,e.__scopeMenu),l=u.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:a}=i,c={__scopeMenu:e.__scopeMenu},p=u.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return u.useEffect(()=>p,[p]),u.useEffect(()=>{const d=s.current;return()=>{window.clearTimeout(d),a(null)}},[s,a]),u.createElement(Yp,D({asChild:!0},c),u.createElement(Zp,D({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":nm(n.open)},e,{ref:Zi(t,o.onTriggerChange),onClick:d=>{var g;(g=e.onClick)===null||g===void 0||g.call(e,d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:z(e.onPointerMove,oo(d=>{i.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!n.open&&!l.current&&(i.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:z(e.onPointerLeave,oo(d=>{var g;p();const v=(g=n.content)===null||g===void 0?void 0:g.getBoundingClientRect();if(v){var w;const y=(w=n.content)===null||w===void 0?void 0:w.dataset.side,k=y==="right",m=k?-5:5,f=v[k?"left":"right"],h=v[k?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+m,y:d.clientY},{x:f,y:v.top},{x:h,y:v.top},{x:h,y:v.bottom},{x:f,y:v.bottom}],side:y}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d),d.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:z(e.onKeyDown,d=>{const g=i.searchRef.current!=="";if(!(e.disabled||g&&d.key===" ")&&Xy[r.dir].includes(d.key)){var v;n.onOpenChange(!0),(v=n.content)===null||v===void 0||v.focus(),d.preventDefault()}})})))}),xw="MenuSubContent",kw=u.forwardRef((e,t)=>{const n=Jp(lt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=_n(lt,e.__scopeMenu),l=go(lt,e.__scopeMenu),s=tm(xw,e.__scopeMenu),a=u.useRef(null),c=Se(t,a);return u.createElement(ro.Provider,{scope:e.__scopeMenu},u.createElement(sn,{present:r||i.open},u.createElement(ro.Slot,{scope:e.__scopeMenu},u.createElement(Ka,D({id:s.contentId,"aria-labelledby":s.triggerId},o,{ref:c,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{var d;l.isUsingKeyboardRef.current&&((d=a.current)===null||d===void 0||d.focus()),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:z(e.onFocusOutside,p=>{p.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:z(e.onEscapeKeyDown,p=>{l.onClose(),p.preventDefault()}),onKeyDown:z(e.onKeyDown,p=>{const d=p.currentTarget.contains(p.target),g=Jy[l.dir].includes(p.key);if(d&&g){var v;i.onOpenChange(!1),(v=s.trigger)===null||v===void 0||v.focus(),p.preventDefault()}})})))))});function nm(e){return e?"open":"closed"}function Oi(e){return e==="indeterminate"}function Ya(e){return Oi(e)?"indeterminate":e?"checked":"unchecked"}function Sw(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function bw(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function $w(e,t,n){const o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let l=bw(e,Math.max(i,0));o.length===1&&(l=l.filter(c=>c!==n));const a=l.find(c=>c.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}function Ew(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,l=t.length-1;ir!=p>r&&n<(c-s)*(r-a)/(p-a)+s&&(o=!o)}return o}function Cw(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return Ew(n,t)}function oo(e){return t=>t.pointerType==="mouse"?e(t):void 0}const _w=nw,Pw=Yp,Rw=ow,Nw=lw,Tw=cw,Mw=Qa,Aw=uw,Ow=mw,Dw=hw,Iw=vw,Lw=ww,zw=kw,rm="DropdownMenu",[Fw,j2]=dr(rm,[Kp]),Ze=Kp(),[jw,om]=Fw(rm),Uw=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:l,modal:s=!0}=e,a=Ze(t),c=u.useRef(null),[p=!1,d]=La({prop:o,defaultProp:i,onChange:l});return u.createElement(jw,{scope:t,triggerId:Xn(),triggerRef:c,contentId:Xn(),open:p,onOpenChange:d,onOpenToggle:u.useCallback(()=>d(g=>!g),[d]),modal:s},u.createElement(_w,D({},a,{open:p,onOpenChange:d,dir:r,modal:s}),n))},Bw="DropdownMenuTrigger",Vw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=om(Bw,n),l=Ze(n);return u.createElement(Pw,D({asChild:!0},l),u.createElement(ge.button,D({type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},o,{ref:Zi(t,i.triggerRef),onPointerDown:z(e.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(i.onOpenToggle(),i.open||s.preventDefault())}),onKeyDown:z(e.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&i.onOpenToggle(),s.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})))}),Ww=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Ze(t);return u.createElement(Rw,D({},r,n))},Hw="DropdownMenuContent",Gw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=om(Hw,n),i=Ze(n),l=u.useRef(!1);return u.createElement(Nw,D({id:o.contentId,"aria-labelledby":o.triggerId},i,r,{ref:t,onCloseAutoFocus:z(e.onCloseAutoFocus,s=>{var a;l.current||(a=o.triggerRef.current)===null||a===void 0||a.focus(),l.current=!1,s.preventDefault()}),onInteractOutside:z(e.onInteractOutside,s=>{const a=s.detail.originalEvent,c=a.button===0&&a.ctrlKey===!0,p=a.button===2||c;(!o.modal||p)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),Kw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Tw,D({},o,r,{ref:t}))}),Qw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Mw,D({},o,r,{ref:t}))}),Yw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Aw,D({},o,r,{ref:t}))}),Xw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Ow,D({},o,r,{ref:t}))}),Jw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Dw,D({},o,r,{ref:t}))}),Zw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Iw,D({},o,r,{ref:t}))}),qw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Lw,D({},o,r,{ref:t}))}),e2=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(zw,D({},o,r,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),t2=Uw,n2=Vw,r2=Ww,im=Gw,lm=Kw,sm=Qw,am=Yw,cm=Xw,um=Jw,dm=Zw,fm=qw,pm=e2,o2=t2,i2=n2,l2=u.forwardRef(({className:e,inset:t,children:n,...r},o)=>$.jsxs(fm,{ref:o,className:ie("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...r,children:[n,$.jsx(u0,{className:"ml-auto h-4 w-4"})]}));l2.displayName=fm.displayName;const s2=u.forwardRef(({className:e,...t},n)=>$.jsx(pm,{ref:n,className:ie("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));s2.displayName=pm.displayName;const mm=u.forwardRef(({className:e,sideOffset:t=4,...n},r)=>$.jsx(r2,{children:$.jsx(im,{ref:r,sideOffset:t,className:ie("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));mm.displayName=im.displayName;const gm=u.forwardRef(({className:e,inset:t,...n},r)=>$.jsx(sm,{ref:r,className:ie("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n}));gm.displayName=sm.displayName;const a2=u.forwardRef(({className:e,children:t,checked:n,...r},o)=>$.jsxs(am,{ref:o,className:ie("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[$.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:$.jsx(um,{children:$.jsx(a0,{className:"h-4 w-4"})})}),t]}));a2.displayName=am.displayName;const c2=u.forwardRef(({className:e,children:t,...n},r)=>$.jsxs(cm,{ref:r,className:ie("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[$.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:$.jsx(um,{children:$.jsx(f0,{className:"h-4 w-4 fill-current"})})}),t]}));c2.displayName=cm.displayName;const u2=u.forwardRef(({className:e,inset:t,...n},r)=>$.jsx(lm,{ref:r,className:ie("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));u2.displayName=lm.displayName;const d2=u.forwardRef(({className:e,...t},n)=>$.jsx(dm,{ref:n,className:ie("-mx-1 my-1 h-px bg-muted",e),...t}));d2.displayName=dm.displayName;const hm="Dialog",[vm,U2]=dr(hm),[f2,vt]=vm(hm),p2=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:l=!0}=e,s=u.useRef(null),a=u.useRef(null),[c=!1,p]=La({prop:r,defaultProp:o,onChange:i});return u.createElement(f2,{scope:t,triggerRef:s,contentRef:a,contentId:Xn(),titleId:Xn(),descriptionId:Xn(),open:c,onOpenChange:p,onOpenToggle:u.useCallback(()=>p(d=>!d),[p]),modal:l},n)},ym="DialogPortal",[m2,wm]=vm(ym,{forceMount:void 0}),g2=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=vt(ym,t);return u.createElement(m2,{scope:t,forceMount:n},u.Children.map(r,l=>u.createElement(sn,{present:n||i.open},u.createElement(Tp,{asChild:!0,container:o},l))))},Us="DialogOverlay",h2=u.forwardRef((e,t)=>{const n=wm(Us,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=vt(Us,e.__scopeDialog);return i.modal?u.createElement(sn,{present:r||i.open},u.createElement(v2,D({},o,{ref:t}))):null}),v2=u.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=vt(Us,n);return u.createElement(Hp,{as:Sn,allowPinchZoom:!0,shards:[o.contentRef]},u.createElement(ge.div,D({"data-state":km(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),io="DialogContent",y2=u.forwardRef((e,t)=>{const n=wm(io,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=vt(io,e.__scopeDialog);return u.createElement(sn,{present:r||i.open},i.modal?u.createElement(w2,D({},o,{ref:t})):u.createElement(x2,D({},o,{ref:t})))}),w2=u.forwardRef((e,t)=>{const n=vt(io,e.__scopeDialog),r=u.useRef(null),o=Se(t,n.contentRef,r);return u.useEffect(()=>{const i=r.current;if(i)return Ip(i)},[]),u.createElement(xm,D({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:z(e.onCloseAutoFocus,i=>{var l;i.preventDefault(),(l=n.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:z(e.onPointerDownOutside,i=>{const l=i.detail.originalEvent,s=l.button===0&&l.ctrlKey===!0;(l.button===2||s)&&i.preventDefault()}),onFocusOutside:z(e.onFocusOutside,i=>i.preventDefault())}))}),x2=u.forwardRef((e,t)=>{const n=vt(io,e.__scopeDialog),r=u.useRef(!1),o=u.useRef(!1);return u.createElement(xm,D({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var l;if((l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var l,s;(l=e.onInteractOutside)===null||l===void 0||l.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),xm=u.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...l}=e,s=vt(io,n),a=u.useRef(null),c=Se(t,a);return fp(),u.createElement(u.Fragment,null,u.createElement(pp,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},u.createElement(up,D({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":km(s.open)},l,{ref:c,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),k2="DialogTitle",S2=u.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=vt(k2,n);return u.createElement(ge.h2,D({id:o.titleId},r,{ref:t}))}),b2="DialogDescription",$2=u.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=vt(b2,n);return u.createElement(ge.p,D({id:o.descriptionId},r,{ref:t}))}),E2="DialogClose",C2=u.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=vt(E2,n);return u.createElement(ge.button,D({type:"button"},r,{ref:t,onClick:z(e.onClick,()=>o.onOpenChange(!1))}))});function km(e){return e?"open":"closed"}const _2=p2,P2=g2,Sm=h2,bm=y2,$m=S2,Em=$2,R2=C2,N2=_2,T2=P2,Cm=u.forwardRef(({className:e,...t},n)=>$.jsx(Sm,{ref:n,className:ie("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Cm.displayName=Sm.displayName;const _m=u.forwardRef(({className:e,children:t,...n},r)=>$.jsxs(T2,{children:[$.jsx(Cm,{}),$.jsxs(bm,{ref:r,className:ie("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,$.jsxs(R2,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[$.jsx(x0,{className:"h-4 w-4"}),$.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));_m.displayName=bm.displayName;const Pm=({className:e,...t})=>$.jsx("div",{className:ie("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Pm.displayName="DialogHeader";const Rm=u.forwardRef(({className:e,...t},n)=>$.jsx($m,{ref:n,className:ie("text-lg font-semibold leading-none tracking-tight",e),...t}));Rm.displayName=$m.displayName;const Nm=u.forwardRef(({className:e,...t},n)=>$.jsx(Em,{ref:n,className:ie("text-sm text-muted-foreground",e),...t}));Nm.displayName=Em.displayName;const M2=({open:e,setDialogOpen:t})=>{const n=[{title:"Facebook",link:"https://www.facebook.com/sharer/sharer.php?u=",color:"#0165E1"},{title:"WhatsApp",link:"https://api.whatsapp.com/send?text=",color:"#28D146"},{title:"Twitter",link:"https://twitter.com/intent/tweet?url=",color:"#1D9BF0"},{title:"LinkedIn",link:"https://www.linkedin.com/sharing/share-offsite/?url=",color:"#0A66C2"},{title:"Tumblr",link:"https://www.tumblr.com/widgets/share/tool?shareSource=legacy&canonicalUrl=&url=",color:"#35465C"},{title:"Pinterest",link:"https://www.pinterest.com/pin/create/button/?url=",color:"#BD081B"},{title:"Reddit",link:"https://www.reddit.com/submit?url=",color:"#FF4500"}],r=o=>{t(o)};return $.jsx(N2,{open:e,onOpenChange:r,children:$.jsxs(_m,{className:"w-full",children:[$.jsxs(Pm,{children:[$.jsx(Rm,{children:"Share"}),$.jsx(Nm,{children:"Share this portfolio with your friends. Its FREE!!!"})]}),$.jsx("div",{className:"flex flex-col gap-y-2",children:n.map(o=>{const i=()=>{window.open(`${o.link}${window.location.href}`,"_blank")};return $.jsx(ft,{variant:"outline",onClick:i,children:o.title})})})]})})},A2=e=>{hv();const[t,n]=u.useState(!1);return $.jsxs(po,{className:"w-full h-12",children:[$.jsx(M2,{open:t,setDialogOpen:n}),$.jsxs(Ji,{className:"p-1 flex flex-row h-full items-center justify-between",children:[$.jsxs("div",{className:"flex flex-row items-center",children:[$.jsx(ft,{disabled:!0,variant:"ghost",size:"icon",children:$.jsx(w0,{className:"h-4 w-4"})}),$.jsx("h1",{className:"text-sm font-bold tracking-wider",children:"Portfolio"})]}),$.jsxs("div",{children:[$.jsxs(o2,{children:[$.jsx(i2,{asChild:!0,children:$.jsx(ft,{variant:"ghost",size:"icon",title:"Send Direct Message",children:$.jsx(g0,{className:"h-4 w-4"})})}),$.jsx(mm,{align:"end",children:bt.directMessageItems.map(r=>{const o=()=>{window.open(r.link,"_blank")};return $.jsx(gm,{onClick:o,children:r.name})})})]}),$.jsx(ft,{variant:"ghost",size:"icon",title:"Source code",onClick:()=>window.open("https://github.com/p32929/p32929.github.io/","_blank"),children:$.jsx(p0,{className:"h-4 w-4"})}),$.jsx(ft,{variant:"ghost",size:"icon",title:"Share",onClick:()=>n(!0),children:$.jsx(v0,{className:"h-4 w-4"})})]})]})]})},O2=e=>$.jsxs("div",{className:"flex flex-col w-full h-full",children:[$.jsx(A2,{}),$.jsx("div",{className:"flex flex-col w-full h-full overflow-y-auto",children:bt.routes.map((t,n)=>$.jsx(R0,{item:t,index:n}))})]});function D2(){return $.jsx($.Fragment,{children:$.jsx("div",{className:"h-screen w-screen 2xl:p-13 xl:p-13 lg:p-13 md:p-8 p-8",children:$.jsx(po,{className:"m-0 h-full w-full p-0",children:$.jsxs(Ji,{className:"flex h-full w-full flex-row p-0",children:[$.jsx(k0,{}),$.jsx(O2,{})]})})})})}Ll.createRoot(document.getElementById("root")).render($.jsx(Ve.StrictMode,{children:$.jsx(gv,{defaultTheme:"dark",storageKey:"vite-ui-theme",children:$.jsx(D2,{})})})); +`)},Hy=0,Tn=[];function Gy(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),o=u.useState(Hy++)[0],i=u.useState(function(){return jp()})[0],l=u.useRef(e);u.useEffect(function(){l.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var y=gy([e.lockRef.current],(e.shards||[]).map(Nu),!0).filter(Boolean);return y.forEach(function(k){return k.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),y.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=u.useCallback(function(y,k){if("touches"in y&&y.touches.length===2)return!l.current.allowPinchZoom;var m=Bo(y),f=n.current,h="deltaX"in y?y.deltaX:f[0]-m[0],x="deltaY"in y?y.deltaY:f[1]-m[1],S,E=y.target,b=Math.abs(h)>Math.abs(x)?"h":"v";if("touches"in y&&b==="h"&&E.type==="range")return!1;var C=Pu(b,E);if(!C)return!0;if(C?S=b:(S=b==="v"?"h":"v",C=Pu(b,E)),!C)return!1;if(!r.current&&"changedTouches"in y&&(h||x)&&(r.current=S),!S)return!0;var O=r.current||S;return By(O,k,y,O==="h"?h:x,!0)},[]),a=u.useCallback(function(y){var k=y;if(!(!Tn.length||Tn[Tn.length-1]!==i)){var m="deltaY"in k?Ru(k):Bo(k),f=t.current.filter(function(S){return S.name===k.type&&S.target===k.target&&Vy(S.delta,m)})[0];if(f&&f.should){k.cancelable&&k.preventDefault();return}if(!f){var h=(l.current.shards||[]).map(Nu).filter(Boolean).filter(function(S){return S.contains(k.target)}),x=h.length>0?s(k,h[0]):!l.current.noIsolation;x&&k.cancelable&&k.preventDefault()}}},[]),c=u.useCallback(function(y,k,m,f){var h={name:y,delta:k,target:m,should:f};t.current.push(h),setTimeout(function(){t.current=t.current.filter(function(x){return x!==h})},1)},[]),p=u.useCallback(function(y){n.current=Bo(y),r.current=void 0},[]),d=u.useCallback(function(y){c(y.type,Ru(y),y.target,s(y,e.lockRef.current))},[]),g=u.useCallback(function(y){c(y.type,Bo(y),y.target,s(y,e.lockRef.current))},[]);u.useEffect(function(){return Tn.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:g}),document.addEventListener("wheel",a,Nn),document.addEventListener("touchmove",a,Nn),document.addEventListener("touchstart",p,Nn),function(){Tn=Tn.filter(function(y){return y!==i}),document.removeEventListener("wheel",a,Nn),document.removeEventListener("touchmove",a,Nn),document.removeEventListener("touchstart",p,Nn)}},[]);var v=e.removeScrollBar,w=e.inert;return u.createElement(u.Fragment,null,w?u.createElement(i,{styles:Wy(o)}):null,v?u.createElement(Dy,{gapMode:"margin"}):null)}const Ky=by(Fp,Gy);var Wp=u.forwardRef(function(e,t){return u.createElement(nl,dt({},e,{ref:t,sideCar:Ky}))});Wp.classNames=nl.classNames;const Hp=Wp,js=["Enter"," "],Qy=["ArrowDown","PageUp","Home"],Gp=["ArrowUp","PageDown","End"],Yy=[...Qy,...Gp],Xy={ltr:[...js,"ArrowRight"],rtl:[...js,"ArrowLeft"]},Jy={ltr:["ArrowLeft"],rtl:["ArrowRight"]},rl="Menu",[ro,Zy,qy]=ap(rl),[Cn,Kp]=dr(rl,[qy,_p,Ap]),Ga=_p(),Qp=Ap(),[ew,_n]=Cn(rl),[tw,go]=Cn(rl),nw=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:l=!0}=e,s=Ga(t),[a,c]=u.useState(null),p=u.useRef(!1),d=ht(i),g=cp(o);return u.useEffect(()=>{const v=()=>{p.current=!0,document.addEventListener("pointerdown",w,{capture:!0,once:!0}),document.addEventListener("pointermove",w,{capture:!0,once:!0})},w=()=>p.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",w,{capture:!0}),document.removeEventListener("pointermove",w,{capture:!0})}},[]),u.createElement(G1,s,u.createElement(ew,{scope:t,open:n,onOpenChange:d,content:a,onContentChange:c},u.createElement(tw,{scope:t,onClose:u.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:p,dir:g,modal:l},r)))},Yp=u.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Ga(n);return u.createElement(K1,D({},o,r,{ref:t}))}),Xp="MenuPortal",[rw,Jp]=Cn(Xp,{forceMount:void 0}),ow=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=_n(Xp,t);return u.createElement(rw,{scope:t,forceMount:n},u.createElement(sn,{present:n||i.open},u.createElement(Tp,{asChild:!0,container:o},r)))},lt="MenuContent",[iw,Ka]=Cn(lt),lw=u.forwardRef((e,t)=>{const n=Jp(lt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=_n(lt,e.__scopeMenu),l=go(lt,e.__scopeMenu);return u.createElement(ro.Provider,{scope:e.__scopeMenu},u.createElement(sn,{present:r||i.open},u.createElement(ro.Slot,{scope:e.__scopeMenu},l.modal?u.createElement(sw,D({},o,{ref:t})):u.createElement(aw,D({},o,{ref:t})))))}),sw=u.forwardRef((e,t)=>{const n=_n(lt,e.__scopeMenu),r=u.useRef(null),o=Se(t,r);return u.useEffect(()=>{const i=r.current;if(i)return Ip(i)},[]),u.createElement(Qa,D({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:z(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),aw=u.forwardRef((e,t)=>{const n=_n(lt,e.__scopeMenu);return u.createElement(Qa,D({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),Qa=u.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:s,onEntryFocus:a,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:g,onDismiss:v,disableOutsideScroll:w,...y}=e,k=_n(lt,n),m=go(lt,n),f=Ga(n),h=Qp(n),x=Zy(n),[S,E]=u.useState(null),b=u.useRef(null),C=Se(t,b,k.onContentChange),O=u.useRef(0),T=u.useRef(""),B=u.useRef(0),A=u.useRef(null),Z=u.useRef("right"),F=u.useRef(0),V=w?Hp:u.Fragment,K=w?{as:Sn,allowPinchZoom:!0}:void 0,j=_=>{var M,I;const W=T.current+_,Me=x().filter(Ee=>!Ee.disabled),Ae=document.activeElement,qe=(M=Me.find(Ee=>Ee.ref.current===Ae))===null||M===void 0?void 0:M.textValue,se=Me.map(Ee=>Ee.textValue),Oe=$w(se,W,qe),ho=(I=Me.find(Ee=>Ee.textValue===Oe))===null||I===void 0?void 0:I.ref.current;(function Ee(vo){T.current=vo,window.clearTimeout(O.current),vo!==""&&(O.current=window.setTimeout(()=>Ee(""),1e3))})(W),ho&&setTimeout(()=>ho.focus())};u.useEffect(()=>()=>window.clearTimeout(O.current),[]),fp();const R=u.useCallback(_=>{var M,I;return Z.current===((M=A.current)===null||M===void 0?void 0:M.side)&&Cw(_,(I=A.current)===null||I===void 0?void 0:I.area)},[]);return u.createElement(iw,{scope:n,searchRef:T,onItemEnter:u.useCallback(_=>{R(_)&&_.preventDefault()},[R]),onItemLeave:u.useCallback(_=>{var M;R(_)||((M=b.current)===null||M===void 0||M.focus(),E(null))},[R]),onTriggerLeave:u.useCallback(_=>{R(_)&&_.preventDefault()},[R]),pointerGraceTimerRef:B,onPointerGraceIntentChange:u.useCallback(_=>{A.current=_},[])},u.createElement(V,K,u.createElement(pp,{asChild:!0,trapped:o,onMountAutoFocus:z(i,_=>{var M;_.preventDefault(),(M=b.current)===null||M===void 0||M.focus()}),onUnmountAutoFocus:l},u.createElement(up,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:d,onInteractOutside:g,onDismiss:v},u.createElement(uy,D({asChild:!0},h,{dir:m.dir,orientation:"vertical",loop:r,currentTabStopId:S,onCurrentTabStopIdChange:E,onEntryFocus:z(a,_=>{m.isUsingKeyboardRef.current||_.preventDefault()})}),u.createElement(Q1,D({role:"menu","aria-orientation":"vertical","data-state":nm(k.open),"data-radix-menu-content":"",dir:m.dir},f,y,{ref:C,style:{outline:"none",...y.style},onKeyDown:z(y.onKeyDown,_=>{const I=_.target.closest("[data-radix-menu-content]")===_.currentTarget,W=_.ctrlKey||_.altKey||_.metaKey,Me=_.key.length===1;I&&(_.key==="Tab"&&_.preventDefault(),!W&&Me&&j(_.key));const Ae=b.current;if(_.target!==Ae||!Yy.includes(_.key))return;_.preventDefault();const se=x().filter(Oe=>!Oe.disabled).map(Oe=>Oe.ref.current);Gp.includes(_.key)&&se.reverse(),Sw(se)}),onBlur:z(e.onBlur,_=>{_.currentTarget.contains(_.target)||(window.clearTimeout(O.current),T.current="")}),onPointerMove:z(e.onPointerMove,oo(_=>{const M=_.target,I=F.current!==_.clientX;if(_.currentTarget.contains(M)&&I){const W=_.clientX>F.current?"right":"left";Z.current=W,F.current=_.clientX}}))})))))))}),cw=u.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return u.createElement(ge.div,D({},r,{ref:t}))}),Us="MenuItem",Tu="menu.itemSelect",Ya=u.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=u.useRef(null),l=go(Us,e.__scopeMenu),s=Ka(Us,e.__scopeMenu),a=Se(t,i),c=u.useRef(!1),p=()=>{const d=i.current;if(!n&&d){const g=new CustomEvent(Tu,{bubbles:!0,cancelable:!0});d.addEventListener(Tu,v=>r==null?void 0:r(v),{once:!0}),rp(d,g),g.defaultPrevented?c.current=!1:l.onClose()}};return u.createElement(Zp,D({},o,{ref:a,disabled:n,onClick:z(e.onClick,p),onPointerDown:d=>{var g;(g=e.onPointerDown)===null||g===void 0||g.call(e,d),c.current=!0},onPointerUp:z(e.onPointerUp,d=>{var g;c.current||(g=d.currentTarget)===null||g===void 0||g.click()}),onKeyDown:z(e.onKeyDown,d=>{const g=s.searchRef.current!=="";n||g&&d.key===" "||js.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})}))}),Zp=u.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,l=Ka(Us,n),s=Qp(n),a=u.useRef(null),c=Se(t,a),[p,d]=u.useState(!1),[g,v]=u.useState("");return u.useEffect(()=>{const w=a.current;if(w){var y;v(((y=w.textContent)!==null&&y!==void 0?y:"").trim())}},[i.children]),u.createElement(ro.ItemSlot,{scope:n,disabled:r,textValue:o??g},u.createElement(dy,D({asChild:!0},s,{focusable:!r}),u.createElement(ge.div,D({role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},i,{ref:c,onPointerMove:z(e.onPointerMove,oo(w=>{r?l.onItemLeave(w):(l.onItemEnter(w),w.defaultPrevented||w.currentTarget.focus())})),onPointerLeave:z(e.onPointerLeave,oo(w=>l.onItemLeave(w))),onFocus:z(e.onFocus,()=>d(!0)),onBlur:z(e.onBlur,()=>d(!1))}))))}),uw=u.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return u.createElement(em,{scope:e.__scopeMenu,checked:n},u.createElement(Ya,D({role:"menuitemcheckbox","aria-checked":Di(n)?"mixed":n},o,{ref:t,"data-state":Xa(n),onSelect:z(o.onSelect,()=>r==null?void 0:r(Di(n)?!0:!n),{checkForDefaultPrevented:!1})})))}),dw="MenuRadioGroup",[z2,fw]=Cn(dw,{value:void 0,onValueChange:()=>{}}),pw="MenuRadioItem",mw=u.forwardRef((e,t)=>{const{value:n,...r}=e,o=fw(pw,e.__scopeMenu),i=n===o.value;return u.createElement(em,{scope:e.__scopeMenu,checked:i},u.createElement(Ya,D({role:"menuitemradio","aria-checked":i},r,{ref:t,"data-state":Xa(i),onSelect:z(r.onSelect,()=>{var l;return(l=o.onValueChange)===null||l===void 0?void 0:l.call(o,n)},{checkForDefaultPrevented:!1})})))}),qp="MenuItemIndicator",[em,gw]=Cn(qp,{checked:!1}),hw=u.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=gw(qp,n);return u.createElement(sn,{present:r||Di(i.checked)||i.checked===!0},u.createElement(ge.span,D({},o,{ref:t,"data-state":Xa(i.checked)})))}),vw=u.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return u.createElement(ge.div,D({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))}),yw="MenuSub",[F2,tm]=Cn(yw),Vo="MenuSubTrigger",ww=u.forwardRef((e,t)=>{const n=_n(Vo,e.__scopeMenu),r=go(Vo,e.__scopeMenu),o=tm(Vo,e.__scopeMenu),i=Ka(Vo,e.__scopeMenu),l=u.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:a}=i,c={__scopeMenu:e.__scopeMenu},p=u.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return u.useEffect(()=>p,[p]),u.useEffect(()=>{const d=s.current;return()=>{window.clearTimeout(d),a(null)}},[s,a]),u.createElement(Yp,D({asChild:!0},c),u.createElement(Zp,D({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":nm(n.open)},e,{ref:qi(t,o.onTriggerChange),onClick:d=>{var g;(g=e.onClick)===null||g===void 0||g.call(e,d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:z(e.onPointerMove,oo(d=>{i.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!n.open&&!l.current&&(i.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:z(e.onPointerLeave,oo(d=>{var g;p();const v=(g=n.content)===null||g===void 0?void 0:g.getBoundingClientRect();if(v){var w;const y=(w=n.content)===null||w===void 0?void 0:w.dataset.side,k=y==="right",m=k?-5:5,f=v[k?"left":"right"],h=v[k?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+m,y:d.clientY},{x:f,y:v.top},{x:h,y:v.top},{x:h,y:v.bottom},{x:f,y:v.bottom}],side:y}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d),d.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:z(e.onKeyDown,d=>{const g=i.searchRef.current!=="";if(!(e.disabled||g&&d.key===" ")&&Xy[r.dir].includes(d.key)){var v;n.onOpenChange(!0),(v=n.content)===null||v===void 0||v.focus(),d.preventDefault()}})})))}),xw="MenuSubContent",kw=u.forwardRef((e,t)=>{const n=Jp(lt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=_n(lt,e.__scopeMenu),l=go(lt,e.__scopeMenu),s=tm(xw,e.__scopeMenu),a=u.useRef(null),c=Se(t,a);return u.createElement(ro.Provider,{scope:e.__scopeMenu},u.createElement(sn,{present:r||i.open},u.createElement(ro.Slot,{scope:e.__scopeMenu},u.createElement(Qa,D({id:s.contentId,"aria-labelledby":s.triggerId},o,{ref:c,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{var d;l.isUsingKeyboardRef.current&&((d=a.current)===null||d===void 0||d.focus()),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:z(e.onFocusOutside,p=>{p.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:z(e.onEscapeKeyDown,p=>{l.onClose(),p.preventDefault()}),onKeyDown:z(e.onKeyDown,p=>{const d=p.currentTarget.contains(p.target),g=Jy[l.dir].includes(p.key);if(d&&g){var v;i.onOpenChange(!1),(v=s.trigger)===null||v===void 0||v.focus(),p.preventDefault()}})})))))});function nm(e){return e?"open":"closed"}function Di(e){return e==="indeterminate"}function Xa(e){return Di(e)?"indeterminate":e?"checked":"unchecked"}function Sw(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function bw(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function $w(e,t,n){const o=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let l=bw(e,Math.max(i,0));o.length===1&&(l=l.filter(c=>c!==n));const a=l.find(c=>c.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}function Ew(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,l=t.length-1;ir!=p>r&&n<(c-s)*(r-a)/(p-a)+s&&(o=!o)}return o}function Cw(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return Ew(n,t)}function oo(e){return t=>t.pointerType==="mouse"?e(t):void 0}const _w=nw,Pw=Yp,Rw=ow,Nw=lw,Tw=cw,Mw=Ya,Aw=uw,Ow=mw,Dw=hw,Iw=vw,Lw=ww,zw=kw,rm="DropdownMenu",[Fw,j2]=dr(rm,[Kp]),Ze=Kp(),[jw,om]=Fw(rm),Uw=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:l,modal:s=!0}=e,a=Ze(t),c=u.useRef(null),[p=!1,d]=za({prop:o,defaultProp:i,onChange:l});return u.createElement(jw,{scope:t,triggerId:Xn(),triggerRef:c,contentId:Xn(),open:p,onOpenChange:d,onOpenToggle:u.useCallback(()=>d(g=>!g),[d]),modal:s},u.createElement(_w,D({},a,{open:p,onOpenChange:d,dir:r,modal:s}),n))},Bw="DropdownMenuTrigger",Vw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=om(Bw,n),l=Ze(n);return u.createElement(Pw,D({asChild:!0},l),u.createElement(ge.button,D({type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},o,{ref:qi(t,i.triggerRef),onPointerDown:z(e.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(i.onOpenToggle(),i.open||s.preventDefault())}),onKeyDown:z(e.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&i.onOpenToggle(),s.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})))}),Ww=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Ze(t);return u.createElement(Rw,D({},r,n))},Hw="DropdownMenuContent",Gw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=om(Hw,n),i=Ze(n),l=u.useRef(!1);return u.createElement(Nw,D({id:o.contentId,"aria-labelledby":o.triggerId},i,r,{ref:t,onCloseAutoFocus:z(e.onCloseAutoFocus,s=>{var a;l.current||(a=o.triggerRef.current)===null||a===void 0||a.focus(),l.current=!1,s.preventDefault()}),onInteractOutside:z(e.onInteractOutside,s=>{const a=s.detail.originalEvent,c=a.button===0&&a.ctrlKey===!0,p=a.button===2||c;(!o.modal||p)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),Kw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Tw,D({},o,r,{ref:t}))}),Qw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Mw,D({},o,r,{ref:t}))}),Yw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Aw,D({},o,r,{ref:t}))}),Xw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Ow,D({},o,r,{ref:t}))}),Jw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Dw,D({},o,r,{ref:t}))}),Zw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Iw,D({},o,r,{ref:t}))}),qw=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(Lw,D({},o,r,{ref:t}))}),e2=u.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ze(n);return u.createElement(zw,D({},o,r,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),t2=Uw,n2=Vw,r2=Ww,im=Gw,lm=Kw,sm=Qw,am=Yw,cm=Xw,um=Jw,dm=Zw,fm=qw,pm=e2,o2=t2,i2=n2,l2=u.forwardRef(({className:e,inset:t,children:n,...r},o)=>$.jsxs(fm,{ref:o,className:ie("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...r,children:[n,$.jsx(u0,{className:"ml-auto h-4 w-4"})]}));l2.displayName=fm.displayName;const s2=u.forwardRef(({className:e,...t},n)=>$.jsx(pm,{ref:n,className:ie("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));s2.displayName=pm.displayName;const mm=u.forwardRef(({className:e,sideOffset:t=4,...n},r)=>$.jsx(r2,{children:$.jsx(im,{ref:r,sideOffset:t,className:ie("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));mm.displayName=im.displayName;const gm=u.forwardRef(({className:e,inset:t,...n},r)=>$.jsx(sm,{ref:r,className:ie("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n}));gm.displayName=sm.displayName;const a2=u.forwardRef(({className:e,children:t,checked:n,...r},o)=>$.jsxs(am,{ref:o,className:ie("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[$.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:$.jsx(um,{children:$.jsx(a0,{className:"h-4 w-4"})})}),t]}));a2.displayName=am.displayName;const c2=u.forwardRef(({className:e,children:t,...n},r)=>$.jsxs(cm,{ref:r,className:ie("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[$.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:$.jsx(um,{children:$.jsx(f0,{className:"h-4 w-4 fill-current"})})}),t]}));c2.displayName=cm.displayName;const u2=u.forwardRef(({className:e,inset:t,...n},r)=>$.jsx(lm,{ref:r,className:ie("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));u2.displayName=lm.displayName;const d2=u.forwardRef(({className:e,...t},n)=>$.jsx(dm,{ref:n,className:ie("-mx-1 my-1 h-px bg-muted",e),...t}));d2.displayName=dm.displayName;const hm="Dialog",[vm,U2]=dr(hm),[f2,yt]=vm(hm),p2=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:l=!0}=e,s=u.useRef(null),a=u.useRef(null),[c=!1,p]=za({prop:r,defaultProp:o,onChange:i});return u.createElement(f2,{scope:t,triggerRef:s,contentRef:a,contentId:Xn(),titleId:Xn(),descriptionId:Xn(),open:c,onOpenChange:p,onOpenToggle:u.useCallback(()=>p(d=>!d),[p]),modal:l},n)},ym="DialogPortal",[m2,wm]=vm(ym,{forceMount:void 0}),g2=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=yt(ym,t);return u.createElement(m2,{scope:t,forceMount:n},u.Children.map(r,l=>u.createElement(sn,{present:n||i.open},u.createElement(Tp,{asChild:!0,container:o},l))))},Bs="DialogOverlay",h2=u.forwardRef((e,t)=>{const n=wm(Bs,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=yt(Bs,e.__scopeDialog);return i.modal?u.createElement(sn,{present:r||i.open},u.createElement(v2,D({},o,{ref:t}))):null}),v2=u.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=yt(Bs,n);return u.createElement(Hp,{as:Sn,allowPinchZoom:!0,shards:[o.contentRef]},u.createElement(ge.div,D({"data-state":km(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),io="DialogContent",y2=u.forwardRef((e,t)=>{const n=wm(io,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=yt(io,e.__scopeDialog);return u.createElement(sn,{present:r||i.open},i.modal?u.createElement(w2,D({},o,{ref:t})):u.createElement(x2,D({},o,{ref:t})))}),w2=u.forwardRef((e,t)=>{const n=yt(io,e.__scopeDialog),r=u.useRef(null),o=Se(t,n.contentRef,r);return u.useEffect(()=>{const i=r.current;if(i)return Ip(i)},[]),u.createElement(xm,D({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:z(e.onCloseAutoFocus,i=>{var l;i.preventDefault(),(l=n.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:z(e.onPointerDownOutside,i=>{const l=i.detail.originalEvent,s=l.button===0&&l.ctrlKey===!0;(l.button===2||s)&&i.preventDefault()}),onFocusOutside:z(e.onFocusOutside,i=>i.preventDefault())}))}),x2=u.forwardRef((e,t)=>{const n=yt(io,e.__scopeDialog),r=u.useRef(!1),o=u.useRef(!1);return u.createElement(xm,D({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var l;if((l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var l,s;(l=e.onInteractOutside)===null||l===void 0||l.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),xm=u.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...l}=e,s=yt(io,n),a=u.useRef(null),c=Se(t,a);return fp(),u.createElement(u.Fragment,null,u.createElement(pp,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},u.createElement(up,D({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":km(s.open)},l,{ref:c,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),k2="DialogTitle",S2=u.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=yt(k2,n);return u.createElement(ge.h2,D({id:o.titleId},r,{ref:t}))}),b2="DialogDescription",$2=u.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=yt(b2,n);return u.createElement(ge.p,D({id:o.descriptionId},r,{ref:t}))}),E2="DialogClose",C2=u.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=yt(E2,n);return u.createElement(ge.button,D({type:"button"},r,{ref:t,onClick:z(e.onClick,()=>o.onOpenChange(!1))}))});function km(e){return e?"open":"closed"}const _2=p2,P2=g2,Sm=h2,bm=y2,$m=S2,Em=$2,R2=C2,N2=_2,T2=P2,Cm=u.forwardRef(({className:e,...t},n)=>$.jsx(Sm,{ref:n,className:ie("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Cm.displayName=Sm.displayName;const _m=u.forwardRef(({className:e,children:t,...n},r)=>$.jsxs(T2,{children:[$.jsx(Cm,{}),$.jsxs(bm,{ref:r,className:ie("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,$.jsxs(R2,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[$.jsx(x0,{className:"h-4 w-4"}),$.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));_m.displayName=bm.displayName;const Pm=({className:e,...t})=>$.jsx("div",{className:ie("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Pm.displayName="DialogHeader";const Rm=u.forwardRef(({className:e,...t},n)=>$.jsx($m,{ref:n,className:ie("text-lg font-semibold leading-none tracking-tight",e),...t}));Rm.displayName=$m.displayName;const Nm=u.forwardRef(({className:e,...t},n)=>$.jsx(Em,{ref:n,className:ie("text-sm text-muted-foreground",e),...t}));Nm.displayName=Em.displayName;const M2=({open:e,setDialogOpen:t})=>{const n=[{title:"Facebook",link:"https://www.facebook.com/sharer/sharer.php?u=",color:"#0165E1"},{title:"WhatsApp",link:"https://api.whatsapp.com/send?text=",color:"#28D146"},{title:"Twitter",link:"https://twitter.com/intent/tweet?url=",color:"#1D9BF0"},{title:"LinkedIn",link:"https://www.linkedin.com/sharing/share-offsite/?url=",color:"#0A66C2"},{title:"Tumblr",link:"https://www.tumblr.com/widgets/share/tool?shareSource=legacy&canonicalUrl=&url=",color:"#35465C"},{title:"Pinterest",link:"https://www.pinterest.com/pin/create/button/?url=",color:"#BD081B"},{title:"Reddit",link:"https://www.reddit.com/submit?url=",color:"#FF4500"}],r=o=>{t(o)};return $.jsx(N2,{open:e,onOpenChange:r,children:$.jsxs(_m,{className:"w-full",children:[$.jsxs(Pm,{children:[$.jsx(Rm,{children:"Share"}),$.jsx(Nm,{children:"Share this portfolio with your friends. Its FREE!!!"})]}),$.jsx("div",{className:"flex flex-col gap-y-2",children:n.map(o=>{const i=()=>{window.open(`${o.link}${window.location.href}`,"_blank")};return $.jsx(ft,{variant:"outline",onClick:i,children:o.title})})})]})})},A2=e=>{hv();const[t,n]=u.useState(!1),r=()=>{const o=Ms(pt.routes,0);Ri(`section-${o.name.toLowerCase()}`)};return $.jsxs(po,{className:"w-full h-12",children:[$.jsx(M2,{open:t,setDialogOpen:n}),$.jsxs(Zi,{className:"p-1 flex flex-row h-full items-center justify-between",onClick:r,children:[$.jsxs("div",{className:"flex flex-row items-center",children:[$.jsx(ft,{disabled:!0,variant:"ghost",size:"icon",children:$.jsx(w0,{className:"h-4 w-4"})}),$.jsx("h1",{className:"text-sm font-bold tracking-wider",children:"Portfolio"})]}),$.jsxs("div",{children:[$.jsxs(o2,{children:[$.jsx(i2,{asChild:!0,children:$.jsx(ft,{variant:"ghost",size:"icon",title:"Send Direct Message",children:$.jsx(g0,{className:"h-4 w-4"})})}),$.jsx(mm,{align:"end",children:pt.directMessageItems.map(o=>{const i=()=>{window.open(o.link,"_blank")};return $.jsx(gm,{onClick:i,children:o.name})})})]}),$.jsx(ft,{variant:"ghost",size:"icon",title:"Source code",onClick:()=>window.open("https://github.com/p32929/p32929.github.io/","_blank"),children:$.jsx(p0,{className:"h-4 w-4"})}),$.jsx(ft,{variant:"ghost",size:"icon",title:"Share",onClick:()=>n(!0),children:$.jsx(v0,{className:"h-4 w-4"})})]})]})]})},O2=e=>$.jsxs("div",{className:"flex flex-col w-full h-full",children:[$.jsx(A2,{}),$.jsx("div",{className:"flex flex-col w-full h-full overflow-y-auto",children:pt.routes.map((t,n)=>$.jsx(R0,{item:t,index:n}))})]});function D2(){return $.jsx($.Fragment,{children:$.jsx("div",{className:"h-screen w-screen 2xl:p-13 xl:p-13 lg:p-13 md:p-8 p-8",children:$.jsx(po,{className:"m-0 h-full w-full p-0",children:$.jsxs(Zi,{className:"flex h-full w-full flex-row p-0",children:[$.jsx(k0,{}),$.jsx(O2,{})]})})})})}zl.createRoot(document.getElementById("root")).render($.jsx(Ve.StrictMode,{children:$.jsx(gv,{defaultTheme:"dark",storageKey:"vite-ui-theme",children:$.jsx(D2,{})})})); diff --git a/index.html b/index.html index b4c67fe..cbd9f3c 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Fayaz Bin Salam - +